- 06 Feb, 2012 30 commits
-
-
Russ Cox authored
Specifically, remove simply where it is claiming that the code or the action to be carried out is simple, since the reader might disagree. R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/5637048
-
Russ Cox authored
As a convenience to people working on the tools, leave Makefiles that invoke the go dist tool appropriately. They are not used during the build. R=golang-dev, bradfitz, n13m3y3r, gustavo CC=golang-dev https://golang.org/cl/5636050
-
Russ Cox authored
This is the same heuristic that build.ScanDir uses. It avoids considering 'resource fork' files on OS X; the resource for x.go is ._x.go. R=gri CC=golang-dev https://golang.org/cl/5616073
-
Rémy Oudompheng authored
Unexports runtime.MemStats and rename MemStatsType to MemStats. The new accessor requires passing a pointer to a user-allocated MemStats structure. Fixes #2572. R=bradfitz, rsc, bradfitz, gustavo CC=golang-dev, remy https://golang.org/cl/5616072
-
Brad Fitzpatrick authored
See thread http://goo.gl/7zzzU for background. R=rsc CC=golang-dev https://golang.org/cl/5624051
-
Shenghou Ma authored
Also modify runtime/asm_386.s to use it. R=rsc CC=golang-dev https://golang.org/cl/5634043
-
Anthony Martin authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5629055
-
Sanjay Menakuru authored
also made generated scripts act more like running go clean itself R=golang-dev CC=golang-dev, rsc https://golang.org/cl/5624049
-
Russ Cox authored
Fixes #2827. R=ken2 CC=golang-dev https://golang.org/cl/5638045
-
Olivier Duperray authored
Fixes #2872 R=andybalholm, rsc CC=golang-dev https://golang.org/cl/5608056
-
Jeff Hodges authored
Passing the CGO_CFLAGS to cgo is required to make alternative include directories work when building a cgo project. R=rsc CC=golang-dev https://golang.org/cl/5635048
-
Russ Cox authored
Multiplying by the low 32 bits was a bad idea no matter what, but it was a particularly unfortunate choice because those bits are 0 for small integer values. Fixes #2883. R=ken2 CC=golang-dev https://golang.org/cl/5634047
-
Russ Cox authored
Right now, GOTRACEBACK=0 means do not show any stack traces. Unset means the default behavior (declutter by hiding runtime routines). This CL makes GOTRACEBACK=2 mean include the runtime routines. It avoids having to recompile the runtime when you want to see the runtime in the tracebacks. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5633050
-
Luuk van Dijk authored
Fixes #2877 R=rsc CC=golang-dev https://golang.org/cl/5637047
-
Luuk van Dijk authored
Fixes #2821. R=rsc CC=golang-dev https://golang.org/cl/5606061
-
Gustavo Niemeyer authored
Zip files may actually store symlinks, and that's represented as a file with unix flag S_IFLNK and with its data containing the symlink target name. The other flags are being supported too. Now that the os package has the full range of flags in a system agnostic manner, there's no reason to discard that information. R=golang-dev, adg, rogpeppe CC=golang-dev https://golang.org/cl/5624048
-
Luuk van Dijk authored
As pointed out in the discussion around 2678. R=rsc CC=golang-dev https://golang.org/cl/5534077
-
Patrick Mylund Nielsen authored
since the real type is not inferred. Fixes #2885. R=golang-dev, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/5633045
-
David Symonds authored
R=golang-dev TBR=adg CC=golang-dev, patrick https://golang.org/cl/5616070
-
Rob Pike authored
- fix documentation for NewBuffer and NewBufferString - document and implement behavior of Truncate on invalid lengths Fixes #2837. R=rsc, adg CC=golang-dev https://golang.org/cl/5637044
-
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 5 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
-