- 02 Nov, 2011 40 commits
-
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/5323071
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5319072
-
Russ Cox authored
Add ast.SortImports(fset, file) to go/ast, for use by both programs. Fixes #346. R=golang-dev, r CC=golang-dev https://golang.org/cl/5330069
-
Rob Pike authored
The recursive definitions are illegal Go, but godoc doesn't mind. R=bradfitz, r, n13m3y3r, rsc CC=golang-dev https://golang.org/cl/5322067
-
Brad Fitzpatrick authored
Fixes #2328 (float, bool) R=rsc, r CC=golang-dev https://golang.org/cl/5294067
-
Charles L. Dorian authored
R=rsc CC=golang-dev https://golang.org/cl/5298087
-
Luuk van Dijk authored
Fixes #2343. R=rsc CC=golang-dev https://golang.org/cl/5332048
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5316069
-
Luuk van Dijk authored
mark OADDR inserted by typecheck as implicit OCOPY takes ->left and ->right, not ->list OMAKE*'s can all have arguments precedence for OIND was initalized twice fixes #2414 R=rsc, dave CC=golang-dev https://golang.org/cl/5319065
-
Dmitriy Vyukov authored
The change introduces 2 generic mutex implementations (futex- and semaphore-based). Each OS chooses a suitable mutex implementation and implements few callbacks (e.g. futex wait/wake). The CL reduces code duplication, extends some optimizations available only on Linux/Windows to other OSes and provides ground for futher optimizations. Chan finalizers are finally eliminated. (Linux/amd64, 8 HT cores) benchmark old new BenchmarkChanContended 83.6 77.8 ns/op BenchmarkChanContended-2 341 328 ns/op BenchmarkChanContended-4 382 383 ns/op BenchmarkChanContended-8 390 374 ns/op BenchmarkChanContended-16 313 291 ns/op (Darwin/amd64, 2 cores) benchmark old new BenchmarkChanContended 159 172 ns/op BenchmarkChanContended-2 6735 263 ns/op BenchmarkChanContended-4 10384 255 ns/op BenchmarkChanCreation 1174 407 ns/op BenchmarkChanCreation-2 4007 254 ns/op BenchmarkChanCreation-4 4029 246 ns/op R=rsc, jsing, hectorchu CC=golang-dev https://golang.org/cl/5140043
-
Nigel Tao authored
R=dsymonds CC=golang-dev https://golang.org/cl/5303092
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/5318056
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5307080
-
David Symonds authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5323070
-
Rob Pike authored
A profound change to christen the new tag. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5327062
-
Russ Cox authored
I promised it wouldn't last very long. People who really need this can sync to 6a5647d82728. ««« original CL description gc: add GOEXPERIMENT=os.Error This won't last long, I promise. R=ken2 CC=golang-dev https://golang.org/cl/5330066 »»» R=ken2 CC=golang-dev https://golang.org/cl/5333053
-
Russ Cox authored
This won't last long, I promise. R=ken2 CC=golang-dev https://golang.org/cl/5330066
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5311083
-
Andrew Gerrand authored
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5308077
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/5328062
-
Russ Cox authored
The Plan 9 build stops in runtime, but might as well fix these anyway. R=adg CC=golang-dev https://golang.org/cl/5336045
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/5303091
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/5333052
-
Russ Cox authored
R=golang-dev, iant, r, r CC=golang-dev https://golang.org/cl/5307066
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
-
Rob Pike authored
R=adg, rsc CC=golang-dev https://golang.org/cl/5316068
-
Russ Cox authored
The existing code uses *os.Waitmsg as an os.Error, but *os.Waitmsg is really just a stringer. Introduce an explicit error type for the real error. Not to be submitted until just before error goes in; the gofix for error updates type assertions err.(*os.Waitmsg) to err.(*exec.ExitError) The seemingly redundant String method will become an Error method when error goes in, and will no longer be redundant. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5331044
-
Russ Cox authored
(The definition of ErrorList is in another file, so gofix has no hope of getting this right.) R=golang-dev, iant CC=golang-dev https://golang.org/cl/5330043
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5319057
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/5298073
-
Russ Cox authored
R=r, r CC=golang-dev https://golang.org/cl/5311068
-
Russ Cox authored
R=golang-dev, iant, r CC=golang-dev https://golang.org/cl/5306075
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5327051
-
David Symonds authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5331046
-
Russ Cox authored
The only function is errors.New, at least for now. R=r, gustavo, adg, r CC=golang-dev https://golang.org/cl/5321061
-
Russ Cox authored
R=ken CC=golang-dev https://golang.org/cl/5331043
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/5316070
-
Russ Cox authored
To make the error fix more useful, expand typecheck to gather more information about struct fields, typecheck range statements, typecheck indirect and index of named types, and collect information about assignment conversions. Also, change addImport to rename top-level uses of a to-be-imported identifier to avoid conflicts. This duplicated some of the code in the url fix, so that fix is now shorter. R=iant, r, r CC=golang-dev https://golang.org/cl/5305066
-
Russ Cox authored
R=golang-dev, dsymonds, r, r CC=golang-dev https://golang.org/cl/5308072
-