- 16 Feb, 2012 25 commits
-
-
Bobby Powers authored
It depended on the old behavior of functions in structs. R=golang-dev, rsc CC=golang-dev, r https://golang.org/cl/5656076
-
David du Colombier authored
NewFile take uintptr make syscall.ProcAttr.Files be []uintptr R=rsc CC=golang-dev https://golang.org/cl/5656073
-
Bobby Powers authored
Clang 3.1 has more warnings enabled by default than GCC. Combined with -Werror, they cause the build to fail unnecessarily. if the name of our compiler ends in "clang", add the necessary extra -Wno options. Ideally we would add these flags unconditionally, as GCC is supposed to ignore unknown -Wno flags, but apple's llvm-gcc doesn't. Fixes #2878. R=rsc, dave CC=golang-dev https://golang.org/cl/5673055
-
Sébastien Paolacci authored
Periodically browse MHeap's freelists for long unused spans and release them if any. Current hardcoded settings: - GC is forced if none occured over the last 2 minutes. - spans are handed back after 5 minutes of uselessness. SysUnused (for Unix) is a wrapper on madvise MADV_DONTNEED on Linux and MADV_FREE on BSDs. R=rsc, dvyukov, remyoudompheng CC=golang-dev https://golang.org/cl/5451057
-
Nigel Tao authored
struct literals. R=gri CC=golang-dev https://golang.org/cl/5653073
-
Rob Pike authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/5674070
-
Rob Pike authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5676064
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5674069
-
David Symonds authored
The previous link worked, but was unnecessary and had a trailing "}". R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5674068
-
Rob Pike authored
Part of issue 2573. R=dsymonds, golang-dev CC=golang-dev https://golang.org/cl/5674064
-
Rob Pike authored
Fixes #2573. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5676063
-
Rob Pike authored
R=golang-dev TBR=dsymonds CC=golang-dev https://golang.org/cl/5673064
-
David Symonds authored
Updates #2946. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5671061
-
Rob Pike authored
Updates #2573. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5677063
-
David Symonds authored
Update #2946. R=golang-dev, bradfitz, bradfitz CC=golang-dev https://golang.org/cl/5674065
-
David Symonds authored
TBR=r CC=golang-dev https://golang.org/cl/5676062
-
Gustavo Niemeyer authored
An unindented XML example is hard to follow. MarshalIndent allows moving the example over to a test file (and fixing it). R=golang-dev, r, gustavo, r, rsc CC=golang-dev https://golang.org/cl/5674050
-
David Symonds authored
TBR=r CC=golang-dev https://golang.org/cl/5671060
-
David Symonds authored
Update #2573. R=r CC=golang-dev https://golang.org/cl/5656071
-
Andrew Gerrand authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5677060
-
Rob Pike authored
It depended on old behavior of functions in structs. Solved by adding a boolean method to check .Run != nil. R=golang-dev, adg, r, rsc CC=golang-dev https://golang.org/cl/5674062
-
Andrew Gerrand authored
R=bradfitz CC=golang-dev https://golang.org/cl/5673061
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/5677061
-
Andrew Gerrand authored
go/doc: move Examples to go/ast cmd/go: use go/doc to read examples src/pkg: update examples to use new convention This is to make whole file examples more readable. When presented as a complete function, preceding an Example with its output is confusing. The new convention is to put the expected output in the final comment of the example, preceded by the string "output:" (case insensitive). An idiomatic example looks like this: // This example demonstrates Foo by doing bar and quux. func ExampleFoo() { // example body that does bar and quux // Output: // example output } R=rsc, gri CC=golang-dev https://golang.org/cl/5673053
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5656070
-
- 15 Feb, 2012 15 commits
-
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672061
-
Alex Brainman authored
R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5673048
-
Rémy Oudompheng authored
Fixes #3019. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5674044
-
Brad Fitzpatrick authored
Fixes #3022 R=golang-dev, r CC=golang-dev https://golang.org/cl/5674060
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds, adg, rogpeppe, bradfitz CC=golang-dev https://golang.org/cl/5673052
-
Andrew Gerrand authored
Fixes #2896. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5677047
-
Brad Fitzpatrick authored
Whoops. Consume the body of the first request before making the subsequent /quit request. R=golang-dev, untheoretic CC=golang-dev https://golang.org/cl/5674054
-
Robert Griesemer authored
Also: Simplified handling of selector expressions. As a result, complicated multi-line expressions containing selectors and calls/indices with arguments broken accross lines don't get indented the same way as before, but the change is minimal (see tests) and there's no such code in the std library. It seems a worthwhile compromise given the much simpler code. Applied gofmt -w $GOROOT/src $GOROOT/misc . Fixes #1847. R=rsc CC=golang-dev https://golang.org/cl/5675062
-
David du Colombier authored
R=rsc CC=golang-dev https://golang.org/cl/5677053
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5672055
-
Shenghou Ma authored
Fixes #3023. R=rsc CC=golang-dev https://golang.org/cl/5674055
-
Shenghou Ma authored
Previous CL (5674043) omit the case where runtime/cgo itself is out-of-date. Fixes #2936 (again). R=rsc CC=golang-dev https://golang.org/cl/5674048
-
Russ Cox authored
Makes it possible to run GOARCH=amd64 make.bash GOARCH=386 make.bash --no-clean to avoid deleting some of the work done by the first one. R=golang-dev CC=golang-dev https://golang.org/cl/5673056
-
Ian Lance Taylor authored
Similar to bug190, but without recursive reference. Crashed gccgo. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672053
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672052
-