aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-22[release-branch.go1] A+C: add Uriel Mangado (individual CLA)Russ Cox
««« backport 42966db90999 A+C: add Uriel Mangado (individual CLA) R=golang-dev, r CC=golang-dev https://golang.org/cl/6492070 »»»
2012-09-22[release-branch.go1] cmd/ld: support zero-filled section for Mach-O filesShenghou Ma
««« backport b4b475a9a3c8 cmd/ld: support zero-filled section for Mach-O files R=golang-dev, r, dave, rsc CC=golang-dev https://golang.org/cl/6492069 »»»
2012-09-22[release-branch.go1] cmd/gc: Suggest *T in error for x.(T) if it would work.Daniel Morsing
««« backport 33a62d86ca2f cmd/gc: Suggest *T in error for x.(T) if it would work. Accomplished by synchronizing the formatting of conversion errors between typecheck.c and subr.c Fixes #3984. R=golang-dev, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6500064 »»»
2012-09-22[release-branch.go1] cmd/go: be clear that import loops are badRuss Cox
««« backport f697709b5082 cmd/go: be clear that import loops are bad There was mail on golang-nuts a few weeks ago from someone who understood the message perfectly and knew he had a cyclic dependency but assumed that Go, like Python or Java, was supposed to handle it. R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/6488069 »»»
2012-09-22[release-branch.go1] A+C: 0/2 on spelling email addresses correctlyRuss Cox
««« backport 30d7ee9da51d A+C: 0/2 on spelling email addresses correctly TBR=r CC=golang-dev https://golang.org/cl/6497067 »»»
2012-09-22[release-branch.go1] A+C: Patrick Higgins, Shawn Smith (individual CLA)Russ Cox
««« backport f8b14fa18a7f A+C: Patrick Higgins, Shawn Smith (individual CLA) R=golang-dev, r CC=golang-dev https://golang.org/cl/6492067 »»»
2012-09-22[release-branch.go1] runtime: add vdso support for linux/amd64. Fixes issue ↵Ivan Krasin
1933. ««« backport 56ea40aac72b runtime: add vdso support for linux/amd64. Fixes issue 1933. R=iant, imkrasin, krasin, iant, minux.ma, rsc, nigeltao, r, fullung CC=golang-dev https://golang.org/cl/6454046 »»»
2012-09-22[release-branch.go1] cmd/gc: fix escape analysis bug with variable capture ↵Andrew Gerrand
in loops.
2012-09-22[release-branch.go1] runtime/pprof: restore articles in type doc commentsRuss Cox
««« backport b57b5be5a32c runtime/pprof: restore articles in type doc comments Reverts part of CL 6460082. If a doc comment describes a type by explaining the meaning of one instance of the type, a leading article is fine and makes the text less awkward. Compare: // A dog is a kind of animal. // Dog is a kind of animal. R=golang-dev, dsymonds, dvyukov, r CC=golang-dev https://golang.org/cl/6494066 »»»
2012-09-22[release-branch.go1] A+C: added Alan Donovan (Google corporate license)Robert Griesemer
««« backport e6da0262840c A+C: added Alan Donovan (Google corporate license) R=adg, bradfitz CC=golang-dev https://golang.org/cl/6490063 »»»
2012-09-22[release-branch.go1] go/scanner: don't print garbage if there's no errorRobert Griesemer
««« backport 9415be2ba652 go/scanner: don't print garbage if there's no error R=r CC=golang-dev https://golang.org/cl/6489059 »»»
2012-09-22[release-branch.go1] path: improve documentation for DirRob Pike
««« backport 735963d94dad path: improve documentation for Dir R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6495059 »»»
2012-09-22[release-branch.go1] net/rpc: protect serviceMap with RWMutexDmitriy Vyukov
««« backport fa3b2ef0129d net/rpc: protect serviceMap with RWMutex R=r, r CC=golang-dev https://golang.org/cl/6494044 »»»
2012-09-22[release-branch.go1] go_spec.html: clarify rune and string literalsRob Pike
««« backport 8afe25accb81 go_spec.html: clarify rune and string literals No changes to the meaning, just clearer language and more examples, including illegal rune and string literals. In particular, "character literal" and "character constant" are now called "rune literal" and "rune constant" and the word "character" always refers to the source text, not program values. R=golang-dev, gri CC=golang-dev https://golang.org/cl/6448137 »»»
2012-09-22[release-branch.go1] cmd/yacc/units.txt: fix exchange ratesAndrew Balholm
««« backport 008d345d81e0 cmd/yacc/units.txt: fix exchange rates In the example "units" program for goyacc, the exchange rates were reciprocals of the correct amounts. Turn them right-side-up and update them to current figures. R=golang-dev, r CC=golang-dev https://golang.org/cl/6495053 »»»
2012-09-22[release-branch.go1] cmd/ld: handle a special case of scattered relocation ↵Andrew Gerrand
2/1 on Darwin/386
2012-09-22[release-branch.go1] A+C: add Patrick Crosby (individual contributor)Andrew Gerrand
««« backport 3181682928c9 A+C: add Patrick Crosby (individual contributor) R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6489049 »»»
2012-09-22[release-branch.go1] net/http/httputil: fix race in DumpRequestOutDave Cheney
««« backport 3b78b41a4b50 net/http/httputil: fix race in DumpRequestOut Fixes #3892. Swapping the order of the writers inside the MultiWriter ensures the request will be written to buf before http.ReadRequest completes. The fencedBuffer is not required to make the test pass on any machine that I have access too, but as the buf is shared across goroutines, I think it is necessary for correctness. R=bradfitz, fullung, franciscossouza CC=golang-dev https://golang.org/cl/6483061 »»»
2012-09-22[release-branch.go1] net: delete unused socket-level option helpersMikio Hara
««« backport 66bdff5b0b29 net: delete unused socket-level option helpers R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6499043 »»»
2012-09-22[release-branch.go1] misc/vim: fix for autocompletionTobias Columbus
««« backport 7fb0e868dc39 misc/vim: fix for autocompletion Vim autocompletion respects the $GOPATH variable and does not ignore dashes ('-'), dots ('.') and underscores ('_') like found in many remote packages. Environment variable $GOROOT is determined by calling 'go env GOROOT' instead of relying on the user's environment variables. Fixes #3876 Fixes #3882 R=golang-dev, franciscossouza, dsymonds, minux.ma CC=golang-dev https://golang.org/cl/6443151 »»»
2012-09-22[release-branch.go1] C: add Tobias Columbus's email used in RietveldShenghou Ma
««« backport a95c69098e45 C: add Tobias Columbus's email used in Rietveld R=golang-dev, tobias.columbus, bradfitz CC=golang-dev https://golang.org/cl/6483058 »»»
2012-09-22[release-branch.go1] net/http: send an explicit zero Content-Length when ↵Andrew Gerrand
Handler never Writes
2012-09-22[release-branch.go1] database/sql: stop reuse of bad connectionsJulien Schmidt
««« backport b397807815a6 database/sql: stop reuse of bad connections The second parameter for sql.putConn() (err) is always nil. As a result bad connections are reused, even if the driver returns an driver.ErrBadConn. Unsing a pointer to err instead achievs the desired behavior. See http://code.google.com/p/go/issues/detail?id=3777 for more details. Fixes #3777. R=golang-dev, dave, bradfitz, jameshuachow, BlakeSGentry CC=golang-dev https://golang.org/cl/6348069 »»»
2012-09-22[release-branch.go1] A+C: Add Julien Schmidt (Individual CLA)Brad Fitzpatrick
««« backport d80f2c4b0445 A+C: Add Julien Schmidt (Individual CLA) R=golang-dev, iant CC=golang-dev https://golang.org/cl/6459050 »»»
2012-09-22[release-branch.go1] A+C: Tobias Columbus (individual CLA)David Symonds
««« backport 29671078c8aa A+C: Tobias Columbus (individual CLA) R=golang-dev, iant CC=golang-dev https://golang.org/cl/6480058 »»»
2012-09-22[release-branch.go1] crypto/tls: return better error message in the case of ↵Adam Langley
an SSLv2 handshake. ««« backport 8048fe8f6f4b crypto/tls: return better error message in the case of an SSLv2 handshake. Update #3930 Return a better error message in this situation. R=golang-dev, r CC=golang-dev https://golang.org/cl/6474055 »»»
2012-09-22[release-branch.go1] cmd/6g: fix float32/64->uint64 conversionShenghou Ma
««« backport 5972fe3f4418 cmd/6g: fix float32/64->uint64 conversion CVTSS2SQ's rounding mode is controlled by the RC field of MXCSR; as we specifically need truncate semantic, we should use CVTTSS2SQ. Fixes #3804. R=rsc, r CC=golang-dev https://golang.org/cl/6352079 »»»
2012-09-22[release-branch.go1] cmd/ld: set ELF header flags for our Linux/ARM binaryShenghou Ma
««« backport 1f9e023245d4 cmd/ld: set ELF header flags for our Linux/ARM binary To make it more compliant. This won't affect the behavior of running on OABI-only kernels. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6475044 »»»
2012-09-22[release-branch.go1] C+A: add Carlos Castillo cookieo9@gmail.com (individual ↵Rob Pike
CLA) ««« backport 341a5be3052f C+A: add Carlos Castillo cookieo9@gmail.com (individual CLA) R=golang-dev, iant CC=golang-dev https://golang.org/cl/6479045 »»»
2012-09-22[release-branch.go1] time: avoid data race in absRob Pike
««« backport b2855a1654b6 time: avoid data race in abs Fixes #3967. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6460115 »»»
2012-09-22[release-branch.go1] net/http: Set TLSClientConfig.ServerName on every HTTP ↵Dave Borowitz
request. ««« backport 8d39afcd18b1 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 https://golang.org/cl/6448154 »»»
2012-09-22[release-branch.go1] CONTRIBUTORS: Add Dave Borowitz (Google CLA)Brad Fitzpatrick
««« backport 52a0395d0e81 CONTRIBUTORS: Add Dave Borowitz (Google CLA) R=golang-dev, r CC=golang-dev https://golang.org/cl/6484046 »»»
2012-09-22[release-branch.go1] A+C: add Joakim SernbrantAndrew Gerrand
««« backport dd0a97869e4d A+C: add Joakim Sernbrant R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/6476043 »»»
2012-09-22[release-branch.go1] net/http: fix misplaced defer and exampleDave Cheney
««« backport 989f373141cc 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 https://golang.org/cl/6458158 »»»
2012-09-22[release-branch.go1] os: fix data race on Process.doneDave Cheney
««« backport 4fc1c61c3c2c os: fix data race on Process.done Fixes #3969. R=dvyukov, r, alex.brainman, minux.ma CC=golang-dev https://golang.org/cl/6462081 »»»
2012-09-22[release-branch.go1] doc/install: we only need command line tools for Xcode ↵Shenghou Ma
on OS X ««« backport 975bfb6bbac4 doc/install: we only need command line tools for Xcode on OS X Fixes #3973. R=golang-dev, r CC=golang-dev https://golang.org/cl/6464078 »»»
2012-09-22[release-branch.go1] strconv: consistent parameter names for ParseUintVolker Dobler
««« backport 52813bdd69bb 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 https://golang.org/cl/6453152 »»»
2012-09-22[release-branch.go1] net/http: reduce mutex contentionDmitriy Vyukov
««« backport 43568ec5cf55 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 https://golang.org/cl/6441134 The machine is 2 x 4 HT cores (16 HW threads total). Fixes #3946. Now contention moves to net.pollServer.AddFD(). R=bradfitz CC=bradfitz, dave, dsymonds, gobot, golang-dev, remyoudompheng https://golang.org/cl/6454142 »»»
2012-09-22[release-branch.go1] pprof: make it work on windows againAlex Brainman
««« backport 7c5f4dad8fae 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 #3879. R=golang-dev, r CC=golang-dev https://golang.org/cl/6445082 »»»
2012-09-22[release-branch.go1] all: move defers to after error check to avoid nil ↵Rob Pike
indirection ««« backport 8f0c8f604ee0 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 #3971. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6463060 »»»
2012-09-22[release-branch.go1] go_spec: unary + and - are also defined for complex typesRobert Griesemer
««« backport 1546a1ef0102 go_spec: unary + and - are also defined for complex types R=r, rsc, iant, ken, iant CC=golang-dev https://golang.org/cl/6450150 »»»
2012-09-22[release-branch.go1] test: change run.go to ignore \r in compiler output ↵Alex Brainman
(fixes windows build) ««« backport b86e4ec1dd66 test: change run.go to ignore \r in compiler output (fixes windows build) R=golang-dev, dave, minux.ma, remyoudompheng CC=golang-dev https://golang.org/cl/6460093 »»»
2012-09-22[release-branch.go1] cmd/gc: Don't claim type assertion would help when it wont.Daniel Morsing
««« backport b76339cc168a cmd/gc: Don't claim type assertion would help when it wont. Fixes #3465. R=golang-dev, rsc, remyoudompheng, iant CC=golang-dev https://golang.org/cl/6448097 »»»
2012-09-22[release-branch.go1] A+C: Andrew Lutomirski (individual CLA)Ian Lance Taylor
««« backport 8714f560df67 A+C: Andrew Lutomirski (individual CLA) Wrote code that was the basis for https://golang.org/cl/6454046/ R=golang-dev, r CC=golang-dev https://golang.org/cl/6450142 »»»
2012-09-22[release-branch.go1] runtime/pprof: fix commentsDmitriy Vyukov
««« backport e7e49c318134 runtime/pprof: fix comments R=golang-dev, iant CC=golang-dev https://golang.org/cl/6460082 »»»
2012-09-22[release-branch.go1] text/template/parse: fix bug handling /*/Andrew Gerrand
2012-09-22[release-branch.go1] runtime: use sched_getaffinity for runtime.NumCPU() on ↵Shenghou Ma
Linux ««« backport 3532ab6bf5be runtime: use sched_getaffinity for runtime.NumCPU() on Linux Fixes #3921. R=iant CC=golang-dev https://golang.org/cl/6448132 »»»
2012-09-22[release-branch.go1] go/build: correct shouldBuild bug reading whole ↵Rémy Oudompheng
contents of file. ««« backport 307fafbc2d6f go/build: correct shouldBuild bug reading whole contents of file. It was caused by bytes.TrimSpace being able to return a nil slice. Fixes #3914. R=golang-dev, r CC=golang-dev, remy https://golang.org/cl/6458091 »»»
2012-09-22[release-branch.go1] spec: clarify evaluation orderRobert Griesemer
««« backport 6beada1bf6c2 spec: clarify evaluation order Fixes #3852. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6441102 »»»
2012-09-22[release-branch.go1] math: update definition of NaN in assembly language filesCharles L. Dorian
««« backport f26c1758e269 math: update definition of NaN in assembly language files R=rsc, minux.ma, golang-dev, nigeltao CC=golang-dev https://golang.org/cl/6461047 »»»