Commits

Author Commit Message Labels Comments Date
Rob Pike
time: fix spacing in comment. No semantic change. R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/6475050
Carlos Castillo
time: add YearDay method for time.Time structs YearDay provides the day in the year represented by a given time.Time object. This value is normally computed as part of other date calculations, but not exported. Fixes issue 3932. R=golang-dev, r, remyoudompheng CC=golang-dev, rsc http://codereview.appspot.com/6460069 Committer: Rob Pike <r@golang.org>
Rob Pike
C+A: add Carlos Castillo cookieo9@gmail.com (individual CLA) R=golang-dev, iant CC=golang-dev http://codereview.appspot.com/6479045
Rob Pike
time: avoid data race in abs Fixes issue 3967. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/6460115
Dave Borowitz
net/http: Set TLSClientConfig.ServerName on every HTTP request. This makes SNI "just work" for callers using the standard http.Client. Since we now have a test that depends on the httptest.Server cert, change the cert to be a CA (keeping all other fields the same). R=bradfitz CC=agl, dsymonds, gobot, golang-dev http://codereview.appspot.com/6448154 Committer: Brad Fitzpatrick <bradfitz@golang.org>
Brad Fitzpatrick
CONTRIBUTORS: Add Dave Borowitz (Google CLA) R=golang-dev, r CC=golang-dev http://codereview.appspot.com/6484046
Joel Sing
cmd/go: fix cgo linking on netbsd NetBSD's built-in linker script for 'ld -r' does not provide a SEARCH_DIR. As a result libgcc.a is not found when -lgcc is used. Work around this by determining the path to libgcc (by invoking gcc with the -print-libgcc-file-name option) and explicitly referencing the resulting library. R=golang-dev, iant, aram, lucio.dere, minux.ma CC=golang-dev http://codereview.appspot.com/6470044
serbaut
archive/zip: zip64 support R=golang-dev, r, adg CC=golang-dev http://codereview.appspot.com/6463050 Committer: Andrew Gerrand <adg@golang.org>
Andrew Gerrand
A+C: add Joakim Sernbrant R=golang-dev, nigeltao CC=golang-dev http://codereview.appspot.com/6476043
Nigel Tao
exp/html: refactor the parser.read method. R=andybalholm CC=golang-dev http://codereview.appspot.com/6463070
Dave Cheney
net/http: fix misplaced defer and example Moves the defer (again). Also, correct the example documentation to match. R=r, robert.hencke, iant, dsymonds, bradfitz CC=golang-dev http://codereview.appspot.com/6458158
Dave Cheney
net/http: fix send on close channel error Fixes issue 3793. Tested using GOMAXPROCS=81 which was able to trigger a panic in TestStressSurpriseServerCloses continually on a Core i5. R=fullung, bradfitz CC=golang-dev http://codereview.appspot.com/6445069
Dave Cheney
os: fix data race on Process.done Fixes issue 3969. R=dvyukov, r, alex.brainman, minux.ma CC=golang-dev http://codereview.appspot.com/6462081
Dmitriy Vyukov
net: add TCP benchmarks Current results on linux_amd64, 8 HT cores @2.4GHz: BenchmarkTCPOneShot 10000 194037 ns/op BenchmarkTCPOneShot-2 20000 93641 ns/op BenchmarkTCPOneShot-4 20000 94039 ns/op BenchmarkTCPOneShot-8 20000 94667 ns/op BenchmarkTCPOneShot-16 10000 301924 ns/op BenchmarkTCPOneShotTimeout 10000 193264 ns/op BenchmarkTCPOneShotTimeout-2 20000 98247 ns/op BenchmarkTCPOneShotTimeout-4 20000 94442 ns/op BenchmarkTCPOneShotTimeout-8 20000 95297 ns/op BenchmarkTCPOneShotTimeout-16 10000 307970 ns/op BenchmarkTCPPersistent 50000 52050 ns/op BenchmarkTCPPersistent-2 100000 29452 ns/op BenchmarkTCPPersistent-4 100000 28823 ns/op BenchmarkTCPPersistent-8 50000 30473 ns/op Benchmark… R=golang-dev, alex.brainman, dave, mikioh.mikioh, r, iant, bradfitz, iant CC=golang-dev http://codereview.appspot.com/6458128
minux
cmd/ld: skip R_*_NONE relocations, fix Linux/386 build again The last fix was wrong w.r.t C's operator precedence, and it also failed to really skip the NONE relocation. The offending R_386_NONE relocation is a absolute relocation in section .eh_frame. TBR=golang-dev CC=golang-dev http://codereview.appspot.com/6463058
minux
doc/install: we only need command line tools for Xcode on OS X Fixes issue 3973. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/6464078
Volker Dobler
strconv: consistent parameter names for ParseUint If ParseUint is like ParseInt it should have the same parameter names, thus rename b to to base as in ParseInt's documentation. R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/6453152 Committer: Brad Fitzpatrick <bradfitz@golang.org>
Dmitriy Vyukov
net/http: reduce mutex contention benchmark old ns/op new ns/op delta BenchmarkClientServerParallel 155909 154454 -0.93% BenchmarkClientServerParallel-2 86012 82986 -3.52% BenchmarkClientServerParallel-4 70211 55168 -21.43% BenchmarkClientServerParallel-8 80755 47862 -40.73% BenchmarkClientServerParallel-12 77753 51478 -33.79% BenchmarkClientServerParallel-16 77920 50278 -35.47% The benchmark is http://codereview.appspot.com/6441134 The machine is 2 x 4 HT cores (16 HW threads total). Fixes issue 3946. Now contention moves to net.pollServer.AddFD(). R=bradfitz CC=bradfitz, dave, dsymonds, gobot, golang-dev, remyoudompheng http://codereview.appspot.com/6454142
Marcel van Lohuizen
exp/locale/collate/build: fixed bug that was exposed by experimenting with table changes. NOTE: there is no test for this, but 1) the code has now the same control flow as scan in exp/locale/collate/contract.go, which is tested and 2) Builder verifies the generated table so bugs in this code are quickly and easily found (which is how this bug was discovered). R=r CC=golang-dev http://codereview.appspot.com/6461082
Marcel van Lohuizen
exp/locale/collate: let regtest generate its own collation table. The main table will need to get a slightly different collation table as the one used by regtest, as the regtest is based on the standard UCA DUCET, while the locale-specific tables are all based on a CLDR root table. This change allows changing the table without affecting the regression test. R=r CC=golang-dev http://codereview.appspot.com/6453089
Marcel van Lohuizen
exp/locale/collate: changed default AlternateHandling to non-ignorable, the same default as ICU. R=r CC=golang-dev http://codereview.appspot.com/6445080
Marcel van Lohuizen
exp/locale/collate: Added test flag to maketables tool for comparing newly against previously generated tables. R=r CC=golang-dev http://codereview.appspot.com/6441098
Nigel Tao
exp/html: make the parser manipulate the tokenizer via exported methods instead of touching the tokenizer's internal state. R=andybalholm CC=golang-dev http://codereview.appspot.com/6446153
Mikkel Krautz
crypto/tls: explicitly require ExtKeyUsageClientAuth for client certs If we aren't explicit about the KeyUsages, the verifier will treat the certificate as a server certificate and require it to have a ExtKeyUsageServerAuth key usage. R=golang-dev CC=golang-dev http://codereview.appspot.com/6453148 Committer: Adam Langley <agl@golang.org>
brainman
pprof: make it work on windows again - pprof is a perl script, so go command should invoke perl instead of trying to run pprof directly; - pprof should use "go tool nm" unconditionally on windows, no one else can extract symbols from Go program; - pprof should use "go tool nm" instead of "6nm". Fixes issue 3879. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/6445082
Rob Pike
fmt: honor integer radix formats (%d etc.) for pointers Before, pointers always appeared as 0x1234ABCD. This CL keeps that as the default for %p and %v, but lets explicit numeric verbs override the default. Fixes issue 3936. R=golang-dev, iant CC=golang-dev http://codereview.appspot.com/6441152
Rob Pike
all: move defers to after error check to avoid nil indirection Only affects some tests and none seem likely to be problematic, but let's fix them. Fixes issue 3971. R=golang-dev, iant CC=golang-dev http://codereview.appspot.com/6463060
Robert Griesemer
go_spec: unary + and - are also defined for complex types R=r, rsc, iant, ken, iant CC=golang-dev http://codereview.appspot.com/6450150
Joel Sing
runtime: fix netbsd/386 stack pointer handling When manipulating the stack pointer use the UESP register instead of the ESP register, since the UESP register is the one that gets restored from the machine context. Fixes broken tests on netbsd/386. R=golang-dev, minux.ma, r, bsiegert CC=golang-dev http://codereview.appspot.com/6465054
brainman
misc/cgo/test: disable test on windows (attempt to fix windows build) see issus 3358 for similar problem R=golang-dev CC=golang-dev, minux.ma http://codereview.appspot.com/6464072
  1. Prev
  2. Next