- 06 Feb, 2012 10 commits
-
-
Rob Pike authored
- eliminate local Error type (a historical artifact) - fix documentation of CopyN - fix documentation of WriteString Fixes #2859. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5636046
-
Kyle Lemons authored
This fix makes the goFilesPackage helper function print the errors from package imports and exit similar to how the packagesForBuild function does. Without this change, when invoking "go build *.go" with, for example, an old import path, the following stack trace is generated: panic: runtime error: invalid memory address or nil pointer dereference goroutine 1 [running]: go/build.(*Tree).PkgDir(...) /opt/go/src/pkg/go/build/path.go:52 +0xfb main.(*builder).action(...) /opt/go/src/cmd/go/build.go:327 +0xb8 main.(*builder).action(...) /opt/go/src/cmd/go/build.go:335 +0x208 main.runBuild(...) /opt/go/src/cmd/go/build.go:129 +0x386 main.main() /opt/go/src/cmd/go/main.go:126 +0x2d8 Fixes #2865. R=rsc, dvyukov, r CC=golang-dev https://golang.org/cl/5624052
-
Rob Pike authored
The practice encourages people to think this is the way to create a bytes.Buffer when new(bytes.Buffer) or just var buf bytes.Buffer work fine. (html/token.go was missing the point altogether.) R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5637043
-
David Symonds authored
Fixes #2689. R=r CC=golang-dev https://golang.org/cl/5616063
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/5633044
-
Nigel Tao authored
Fixes #2857. R=r, adg CC=golang-dev https://golang.org/cl/5635046
-
Anthony Martin authored
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5631051
-
Rob Pike authored
R=golang-dev, ality CC=golang-dev https://golang.org/cl/5636044
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5634045
-
Nigel Tao authored
rewrite the doc comment for Repeated. Fixes #2858. R=r, rsc CC=golang-dev https://golang.org/cl/5626050
-
- 05 Feb, 2012 5 commits
-
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5624056
-
Alex Brainman authored
R=golang-dev, r, dsymonds, akumar CC=golang-dev https://golang.org/cl/5624054
-
David Symonds authored
R=rsc, balasanjay, rsc CC=golang-dev https://golang.org/cl/5630051
-
Gustavo Niemeyer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5627051
-
Gustavo Niemeyer authored
clean.bash depends on it being set. R=golang-dev, r CC=golang-dev https://golang.org/cl/5630056
-
- 04 Feb, 2012 17 commits
-
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/5608061
-
David Symonds authored
Fixes #2772. R=golang-dev, r CC=golang-dev https://golang.org/cl/5631047
-
Russ Cox authored
Thanks, Valgrind! TBR=golang-dev CC=golang-dev https://golang.org/cl/5630050
-
Russ Cox authored
5l does not use the whole set of ld files like the other linkers do. TBR=golang-dev CC=golang-dev https://golang.org/cl/5629052
-
Russ Cox authored
Flush stdout before writing to stderr, to avoid reordering output. Allow amd64 from uname -m (FreeBSD). TBR=golang-dev CC=golang-dev https://golang.org/cl/5629051
-
Russ Cox authored
Should fix FreeBSD build. TBR=golang-dev CC=golang-dev https://golang.org/cl/5629050
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/5625050
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/5630049
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5620059
-
Russ Cox authored
R=bradfitz, ality, r, r, iant, mikioh.mikioh CC=golang-dev https://golang.org/cl/5615058
-
Russ Cox authored
R=golang-dev, bradfitz, iant, alex.brainman, go.peter.90 CC=golang-dev https://golang.org/cl/5630047
-
Mikio Hara authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5608060
-
David Symonds authored
Nuke RemoveAll from the public API. Replace Iter functions with Do functions. Fixes #2852. R=rsc, r CC=golang-dev https://golang.org/cl/5622055
-
Ian Lance Taylor authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5631044
-
Ian Lance Taylor authored
The gccgo compiler was failing this test. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5631046
-
Robert Griesemer authored
Fixes #2855. R=r CC=golang-dev https://golang.org/cl/5608057
-
Ian Lance Taylor authored
The gccgo compiler had two different bugs triggered by this test case. R=golang-dev, r CC=golang-dev https://golang.org/cl/5606052
-
- 03 Feb, 2012 8 commits
-
-
Christopher Wedgwood authored
R=r CC=golang-dev https://golang.org/cl/5627048
-
Russ Cox authored
goc2c moves here. parallel builds like old makefiles (-j4). add clean command. add banner command. implement Go version check. real argument parsing (same as 6g etc) Windows changes will be a separate CL. R=golang-dev, bradfitz, iant CC=golang-dev https://golang.org/cl/5622058
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/5630045
-
Russ Cox authored
The letter is $A, not $O. ($O is set accidentally, but not for long.) R=golang-dev, r CC=golang-dev https://golang.org/cl/5629045
-
Russ Cox authored
Add // +build ignore to mkrunetype.c, rename runetypebody to be .h since it is #included, delete old runetypebody tables. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5627043
-
Adam Langley authored
This change addresses a subset of the issues raised in bug 2841. R=rsc CC=golang-dev https://golang.org/cl/5629044
-
Rob Pike authored
For instance, don't talk about gofix, talk about the fix tool or "go tool fix". R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5608053
-
Brad Fitzpatrick authored
Part of issue 2833, but works fine with current test runner. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5606056
-