- 03 Apr, 2012 3 commits
-
-
Dave Cheney authored
««« backport 95e67cc5fa08 encoding/base64: fix panic when input len is not a multiple of 4 Fixes #3442. R=for.go.yong, dsymonds, sougou, minux.ma, rsc CC=golang-dev https://golang.org/cl/5975052 »»»
-
Rob Pike authored
««« backport c007925a75c6 text/template: pipelined arg was not typechecked Without this fix, an erroneous template causes a panic; should be caught safely. The bug did not affect correct templates. Fixes #3267. R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5900065 »»»
-
Alex Brainman authored
««« backport 701af83040ac time: fix handling of locations with no dst on windows Fixes #3437. R=rsc CC=golang-dev https://golang.org/cl/5967063 »»»
-
- 02 Apr, 2012 3 commits
-
-
Peter Weinberger authored
««« backport 0dc51d66e03d doc/code.html: change 'affect' to 'effect'. Fixes #3429. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5966047 »»»
-
Russ Cox authored
««« backport b9b0c8d8b5ff C: add Peter Weinberger (Google CLA) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5976059 »»»
-
Shenghou Ma authored
««« backport e757e2af45ec cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present Fixes #3422. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5967057 »»»
-
- 31 Mar, 2012 2 commits
-
-
Aaron Kemp authored
««« backport 8434de733c20 doc/effective_go.html: Add missing '...' for fmt.Sprintf() The '...' was missing on a call to fmt.Sprintf() which would result in the slice being printed instead of the correct result. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5967051 »»»
-
Robert Griesemer authored
««« backport 347d126983f7 A+C: added Aaron Kemp (Corporate CLA) R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5966054 »»»
-
- 30 Mar, 2012 5 commits
-
-
Shenghou Ma authored
««« backport fd037b466111 doc/codewalk/markov: fix syntax and broken link Part of issue 3424. R=golang-dev, r CC=golang-dev https://golang.org/cl/5955050 »»»
-
Shenghou Ma authored
««« backport feb586ac4860 doc/code.html: fix broken dashboard link Fixes #3420. Part of issue 3424. R=golang-dev, cldorian, adg, r CC=golang-dev https://golang.org/cl/5958046 »»»
-
Shenghou Ma authored
««« backport b8f8e3b892dc doc/go1: minor fixes Fixes #3427. Part of issue 3424. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5959045 »»»
-
Shenghou Ma authored
««« backport 719d3065511a doc/go_spec: fix broken link Part of issue 3424 R=golang-dev, r CC=golang-dev https://golang.org/cl/5955049 »»»
-
Rob Pike authored
««« backport 79e6b4602f26 cmd/go: update docs about tags for get command "go1" dominates. Delete the text about weekly and release. We can revisit this once the situation changes. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5969043 »»»
-
- 28 Mar, 2012 8 commits
-
-
Andrew Gerrand authored
-
Andrew Gerrand authored
-
Andrew Gerrand authored
-
Francisco Souza authored
Orignally published on The Go Programming Language, September 21, 2011. http://blog.golang.org/2011/09/go-image-package.html Update #2547 R=adg, nigeltao CC=golang-dev https://golang.org/cl/5933049
-
Andrew Gerrand authored
R=golang-dev CC=golang-dev https://golang.org/cl/5937049
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev, hcwfrichter https://golang.org/cl/5934046
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5940050
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5937048
-
- 27 Mar, 2012 19 commits
-
-
Andrew Gerrand authored
R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/5921045
-
Russ Cox authored
Not a complete fix for issue 3342, but fixes the trivial case. There may still be a race in the instants before and after a scavenger-induced garbage collection. Intended to be "obviously safe": a call to runtime·gosched before main.main is no different than a call to runtime.Gosched at the beginning of main.main, and it is (or had better be) safe to call runtime.Gosched at any point during main. Update #3342. R=iant CC=golang-dev https://golang.org/cl/5919052
-
Russ Cox authored
Another attempt at https://golang.org/cl/5754088. Before, we only consulted $GOBIN for source code found in $GOROOT, but that's confusing to explain and less useful. The new behavior lets users set GOBIN=$HOME/bin and have all go-compiled binaries installed there. Tested a few cases in test.bash. Ran all.bash with and without $GOBIN and it works. Even so, I expect it to break the builders, like it did last time, we can debug from there. Fixes #3269 (again). Fixes #3396. Fixes #3397. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5927051
-
Russ Cox authored
When we find a package in DIR/src/foo, we only let it be known as foo if there is no other foo in an earlier GOPATH directory or the GOROOT directory. The GOROOT check was looking in GOROOT/src/foo instead of GOROOT/src/pkg/foo, which meant that the import paths "lib9", "libbio", "libmach", and so on were unavailable, and the import paths "math", "errors", and so on were available. Correct this. Fixes #3390. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/5927050
-
Russ Cox authored
Issue 3207 was caused by setting GOPATH=GOROOT. This is a common mistake, so diagnose it at command start and also correct the bug that it caused in get (downloading to GOROOT/src/foo instead of GOROOT/src/pkg/foo). Issue 3268 was caused by recognizing 'packages' that had installed binaries but no source. This behavior is not documented and causes trouble, so remove it. We can revisit the concept of binary-only packages after Go 1. Fixes #3207. Fixes #3268. R=golang-dev, r CC=golang-dev https://golang.org/cl/5930044
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5924050
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5924051
-
Andrew Gerrand authored
Fixes #3384. R=golang-dev, r CC=golang-dev https://golang.org/cl/5915044
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5928043
-
Russ Cox authored
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5919048
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5924044
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5916046
-
Devon H. O'Dell authored
Fixes #3395. R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5905063
-
Mikio Hara authored
Breaks closure test when GOMAXPROCS=2 or more. ««« original CL description runtime: restore deadlock detection in the simplest case. Fixes #3342. R=iant, r, dave, rsc CC=golang-dev, remy https://golang.org/cl/5844051 »»» R=rsc CC=golang-dev https://golang.org/cl/5924045
-
Russ Cox authored
hg cat -r 11846 src/cmd/goinstall/tag_test.go >tag_test.go No changes. R=golang-dev, r CC=golang-dev https://golang.org/cl/5919047
-
Ben Fried authored
Fixes #3313 go-mode-backward-skip-comments is probably due for a more ambitious refactoring --- it repeats guard conditions after every nearly every movement of point. R=sameer, r CC=golang-dev https://golang.org/cl/5844063
-
Rob Pike authored
R=golang-dev, dsymonds CC=ben.fried, golang-dev https://golang.org/cl/5869043
-
Rémy Oudompheng authored
Fixes #3342. R=iant, r, dave, rsc CC=golang-dev, remy https://golang.org/cl/5844051
-
Francisco Souza authored
The Makefile target was broken due to the rename of the HTML file. R=golang-dev CC=golang-dev https://golang.org/cl/5918045
-