aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-18go1.2rc2go1.2rc2Andrew Gerrand
2013-10-18api: add go1.2.txt, use in testsAndrew Gerrand
R=golang-dev, iant CC=golang-dev https://golang.org/cl/14860043
2013-10-18misc/dist: set default go.tools tagAndrew Gerrand
Fixes #6607. R=dsymonds CC=golang-dev https://golang.org/cl/14830043
2013-10-17net/url: fix regression when serializing relative URLsBrad Fitzpatrick
Only add a slash to path if it's a separator between a host and path. Fixes #6609 R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/14815043
2013-10-17runtime: correct test for when to poll networkIan Lance Taylor
Fixes #6610. R=golang-dev, khr CC=golang-dev https://golang.org/cl/14793043
2013-10-17runtime: correct parameter name in MCentral_AllocList commentIan Lance Taylor
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/14792043
2013-10-17encoding/xml: accept chains of interfaces and pointersRuss Cox
Fixes #6556. R=golang-dev, iant, adg CC=golang-dev https://golang.org/cl/14747043
2013-10-17database/sql: make tests repeatable with -cpu=n,nAlberto García Hierro
New test added in CL 14611045 causes a deadlock when running the tests with -cpu=n,n because the fakedb driver always waits when opening a new connection after running TestConnectionLeak. Reset its state after. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/14780043
2013-10-17A+C: add Jamie Turner (Dropbox corporate CLA).David Symonds
R=golang-dev, iant CC=golang-dev https://golang.org/cl/14765043
2013-10-16database/sql: fix some test fmt verbsBrad Fitzpatrick
Found by vet. R=golang-dev, r CC=golang-dev https://golang.org/cl/14762044
2013-10-16spec: clarify re-use of underlying arrays in slice operationsRobert Griesemer
Please note the slight rewording for append: The spec now requires that append reuses the underlying array if it is sufficiently large. Per majority sentiment. This is technically a language change but the current implementation always worked this way. Fixes #5818. Fixes #5180. R=rsc, iant, r, ken, minux.ma, dan.kortschak, rogpeppe, go.peter.90 CC=golang-dev https://golang.org/cl/14419054
2013-10-16database/sql: Fix connection leak and potential deadlockAlberto García Hierro
CL 10726044 introduced a race condition which causes connections to be leaked under certain circumstances. If SetMaxOpenConns is used, the application eventually deadlocks. Otherwise, the number of open connections just keep growing indefinitely. Fixes #6593 R=golang-dev, bradfitz, tad.glines, bketelsen CC=golang-dev https://golang.org/cl/14611045
2013-10-16database/sql: fix double decrement of numOpen count; test for connection leaksAlberto García Hierro
Add a check at the end of every test to make sure there are no leaked connections after running a test. Avoid incorrectly decrementing the number of open connections when the driver connection ends up it a bad state (numOpen was decremented twice). Prevent leaking a Rows struct (which ends up leaking a connection) in Row.Scan() when a *RawBytes destination is improperly used. Close the Rows struct in TestRowsColumns. Update #6593 R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/14642044
2013-10-15cmd/cgo: simpler fix for issue 6506.Shenghou Ma
Replaces CL 14682044. Fixes #6506. R=rsc, iant, dave CC=golang-dev https://golang.org/cl/14717043
2013-10-15doc/effective_go.html: fix code exampleShenghou Ma
Fixes #6595. R=golang-dev, adg CC=golang-dev https://golang.org/cl/14425062
2013-10-15cmd/cgo: print the builtin prolog after the per-file preambleRuss Cox
The preamble may want to #define some special symbols and then #include <sys/types.h> itself. The builtin prolog also #includes <sys/types.h>, which would break such a preamble (because the second #include will be a no-op). The use of sys/types.h in the builtin prolog is new since Go 1.1, so this should preserve the semantics of more existing cgo code than we would otherwise. It also fixes src/pkg/syscall/mkall.sh's use of go tool cgo -godefs on some Linux systems. Thanks to fullung@ for identifying the problem. Fixes #6558. R=golang-dev, iant CC=golang-dev https://golang.org/cl/14684044
2013-10-15undo CL 14231047 / 2f4c2dde2756Alex Brainman
undone because the change slows down profile collection significantly and unpredictable at times (see comments at https://golang.org/cl/14231047 for details) ««« original CL description runtime: collect profiles even while on g0 stack Fixes #6417 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14231047 »»» R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14535046
2013-10-15cmd/cgo: fix Xcode 5 incompatibility for #defined expressionsRuss Cox
Ensure that clang always exits with a non-zero status by giving it something that it always warns about (the statement "1;"). Fixes #6128. R=golang-dev, iant, minux.ma CC=golang-dev https://golang.org/cl/14702043
2013-10-15misc/cgo/test: cut out non-standard functionsRuss Cox
Otherwise the link fails. Fixes build. TBR=golang-dev CC=golang-dev https://golang.org/cl/14483050
2013-10-15misc/cgo/test: fix build (define prototype for alloca)Russ Cox
TBR=golang-dev CC=golang-dev https://golang.org/cl/14454063
2013-10-15cmd/cgo: work around bug in clang debug info for builtins like memsetRuss Cox
Fixes #6506. R=golang-dev, r CC=golang-dev https://golang.org/cl/14682044
2013-10-15doc/contrib.html: fix some tagsOling Cat
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/14516057
2013-10-15runtime/pprof: disable flaky TestGoroutineSwitch on windowsAlex Brainman
Update #6417 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14604043
2013-10-14cmd/gc: fix comment about performing indexing at compile time.Keith Randall
R=golang-dev, r CC=golang-dev https://golang.org/cl/14441070
2013-10-15net/http: skip content-type sniffing if the header is explicitly unset.Michael Piatek
Fixes #5953 R=dsymonds, bradfitz, rsc CC=golang-dev https://golang.org/cl/14434044
2013-10-15C: add Michael Piatek (Google CLA).David Symonds
R=golang-dev, r CC=golang-dev, piatek https://golang.org/cl/14681043
2013-10-14debug/dwarf: report the value of an unrecognized attribute formatIan Lance Taylor
R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/14669045
2013-10-14cmd/api: make it work even when cgo is disabledShenghou Ma
make use of $USER or %USERNAME% to determine the current user. Fixes #6578. R=golang-dev, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/14649043
2013-10-12doc: fix small HTML problemsShenghou Ma
R=golang-dev, dave CC=golang-dev https://golang.org/cl/14629043
2013-10-11doc/effective_go.html: fix unescaped less-than characterRob Pike
Why doesn't tidy complain about these? Found by manlio.perillo. Fixes #6571 R=golang-dev, adg CC=golang-dev https://golang.org/cl/14608044
2013-10-11go/build: add GOOS and GOARCH to name of gccgo pkg directoryIan Lance Taylor
This matches the behaviour of builder.includeArgs in cmd/go/build.go. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14535048
2013-10-11go/build: fix test if built with CGO_ENABLED=0Ian Lance Taylor
Fixes #6567. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14502060
2013-10-11misc/cgo/test: fix C panic test to work with gccgoIan Lance Taylor
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14611043
2013-10-11doc/progs: don't try building cgo tests if CGO_ENABLED=0Ian Lance Taylor
R=golang-dev, jsing, r CC=golang-dev https://golang.org/cl/14523056
2013-10-10cmd/gc: re-word some error messagesShenghou Ma
Fixes #6557. R=golang-dev, rsc, tracey.brendan CC=golang-dev https://golang.org/cl/14432053
2013-10-11go.tools/misc/dist: copy doc.go from go.tools to go rootAndrew Gerrand
This will allow "godoc godoc", "godoc vet", "godoc cover" to work. Fixes #6527. R=r, dsymonds CC=golang-dev https://golang.org/cl/14566049
2013-10-11misc/vim: complete packages in src directoryYasuhiro Matsumoto
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/14454059
2013-10-10doc/effective_go.html: fix a couple of cosmetic issuesRob Pike
At the moment, godoc expands the example in the link, but in the past it has not. Add a waffle word to allow either possibility. Also change the order of cases in the switch in Compare to be consistent with the other switch in the function. R=golang-dev, iant CC=golang-dev https://golang.org/cl/14439055
2013-10-10lib/codereview: return an empty list when CONTRIBUTORS is not found instead ↵Francesc Campoy
of None. R=adg, campoy, r CC=golang-dev https://golang.org/cl/14419059
2013-10-10codereview: fix hg sync closing of CLs for subrepositoriesDominik Honnef
The regexp for closing CLs that were sent by you but committed by someone else only matched messages for the main repository, because of the added &repo=... for subrepositories. R=golang-dev, r CC=golang-dev https://golang.org/cl/14512045
2013-10-10misc/emacs: send correct content-length to the playgroundDominik Honnef
R=adonovan CC=golang-dev https://golang.org/cl/14548049
2013-10-10misc/emacs: don't treat (foo)(bar) as a function call when preceded by a ↵Dominik Honnef
word character. Fixes #6531. R=adonovan CC=golang-dev https://golang.org/cl/14523043
2013-10-09net: fix TestDialFailPDLeak to work when GOMAXPROCS is largeIan Lance Taylor
Fixes #6553. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/14526048
2013-10-09runtime: markfreed's error reports should be prefixed with "markfreed", not ↵Keith Randall
"markallocated". R=golang-dev, iant CC=golang-dev https://golang.org/cl/14441055
2013-10-09cmd/go: add any .c/.cc files to the SWIG shared libraryIan Lance Taylor
Also add the action's object directory to the list of directories we use to find SWIG shared libraries. Fixes #6521. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14369043
2013-10-09runtime/cgo: mark callback functions as NOSPLITIan Lance Taylor
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14448044
2013-10-09debug/dwarf: handle surprising clang encodingRuss Cox
Fixes a bug in cgo on OS X using clang. See golang.org/issue/6472 for details. Fixes #6472. R=golang-dev, iant CC=golang-dev https://golang.org/cl/14575043
2013-10-09net: fix typo in failure message in testIan Lance Taylor
R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/14582043
2013-10-09compress/flate: fix infinite loop on malformed dataRuss Cox
Test using compress/gzip, because that's how the data arrived. Fixes #6550. R=golang-dev, r CC=golang-dev https://golang.org/cl/14441051
2013-10-08lib/time: update time zone files to version 2013gRob Pike
This dataset is current as of Sep 30, 2013. Fixes #6524 R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14570044