- 24 Jan, 2011 9 commits
-
-
Eric Eisner authored
This prevents many unnecessary comparisons when n is large. R=gri, gri1, rsc CC=golang-dev https://golang.org/cl/4068043
-
Luuk van Dijk authored
R=rsc CC=golang-dev, golang-dev https://golang.org/cl/4106041
-
Hector Chu authored
Uploading go files on Windows aborts with gofmt: exceptions.ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr R=rsc, mattn, Joe Poirier CC=golang-dev https://golang.org/cl/4025046
-
Russ Cox authored
If a file pattern is given and matches files that look like they need to be hg added or hg removed, offer to do so. If a file pattern is given and matches files in another CL, warn. If a file pattern doesn't match anything, point that out. Vet first line of CL description. Fixes #972. R=adg, niemeyer CC=bradfitzgo, golang-dev https://golang.org/cl/4099042
-
Roger Peppe authored
R=adg, r, hoka, rsc CC=golang-dev https://golang.org/cl/4036045
-
Russ Cox authored
Fixes #1395. R=adg CC=golang-dev https://golang.org/cl/4036044
-
Rob Pike authored
R=anschelsc, agl1 CC=golang-dev https://golang.org/cl/3988045
-
Pieter Droogendijk authored
When parsing numbers with an exponent (like "12e-1"), the JSON scanner would only allow a lowercase 'e', while the RFC also allows the uppercase 'E'. R=adg CC=golang-dev, rsc https://golang.org/cl/3986042
-
Andrew Gerrand authored
R=nigeltao, r2 CC=golang-dev https://golang.org/cl/4061044
-
- 22 Jan, 2011 3 commits
-
-
Rob Pike authored
no public fields. Fix a couple of tests caught out by this change. R=rsc CC=golang-dev https://golang.org/cl/4044043
-
Alex Brainman authored
R=rsc, lxn, alex.brainman, dho CC=golang-dev https://golang.org/cl/1696051
-
Rob Pike authored
(or at least a correct encoder, still to come). Change the debug structure slightly to better represent the grammar. Minor tweaks for consistency in type.go. R=rsc CC=golang-dev https://golang.org/cl/4007044
-
- 21 Jan, 2011 9 commits
-
-
Russ Cox authored
cmp6.go:48: invalid operation: t3 == t3 (operator == not defined on struct) Fixes #1438. R=ken2 CC=golang-dev https://golang.org/cl/4003045
-
Ian Lance Taylor authored
The test code used to do this: for _, tc := range tests { ch <- &tc } Note that &tc is always the same value here. As the value is received from the channel, the sender can loop around and change the contents of tc. This means that the receiver's value is unstable and can change while it is in use. R=adg, r2, rsc CC=chris, golang-dev https://golang.org/cl/3978043
-
Russ Cox authored
Close of closed channel panics. Receive from closed channel never panics, even if done repeatedly. Fixes #1349. Fixes #1419. R=gri, iant, ken2, r, gri1, r2, iant2, rog, albert.strasheim, niemeyer, ejsherry CC=golang-dev https://golang.org/cl/3989042
-
Russ Cox authored
There were duplicate closes and missing closes, with the result that the program was rarely testing as much as it seemed to be. Now it finishes. R=r CC=golang-dev https://golang.org/cl/4008046
-
Rob Pike authored
Re-implement the debugging helper to be independent of the existing implementation. This is preparatory to a rewrite to clean up issue 1416. Include a definition of the grammar of the data stream. R=rsc CC=golang-dev https://golang.org/cl/3970045
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/4083043
-
Ian Lance Taylor authored
Otherwise gccgo gives an extra error message not matched by errchk. R=adg, rsc CC=golang-dev https://golang.org/cl/4053042
-
Anschel Schaffer-Cohen authored
R=agl1 CC=golang-dev https://golang.org/cl/3991045
-
Anschel Schaffer-Cohen authored
This was broken after the last update (2011-01-20). However, I'm not sure if the changed example is a sensible use of import(), so I'd appreciate comments. R=golang-dev, r CC=golang-dev https://golang.org/cl/4067043
-
- 20 Jan, 2011 19 commits
-
-
Robert Griesemer authored
Also: Give line numbers a style and make them less intrusive. R=rsc CC=golang-dev https://golang.org/cl/4060043
-
Russ Cox authored
The functionality we want (shared ppid) is implied by CLONE_THREAD already, and CLONE_PARENT causes problems if the Go program is pid 1 (init). See issue 1406 for more details. Fixes #1406. R=adg, iant CC=golang-dev https://golang.org/cl/3971044
-
Russ Cox authored
Fixes #1410. R=r CC=golang-dev https://golang.org/cl/4072043
-
Miek Gieben authored
R=rsc CC=Miek Gieben, golang-dev https://golang.org/cl/3926041
-
Russ Cox authored
Also remove second email address from AUTHORS file in a few cases. It only has a meaning in the CONTRIBUTORS file. R=r, gri CC=golang-dev https://golang.org/cl/4022042
-
Russ Cox authored
Fixes #1433. R=r, gri CC=golang-dev https://golang.org/cl/3999047
-
Russ Cox authored
Fixes #1417. R=ken2 CC=golang-dev https://golang.org/cl/4079042
-
Russ Cox authored
Fixes #1431. R=bradfitz, dangabrad CC=golang-dev https://golang.org/cl/4077042
-
Russ Cox authored
Fixes #1341. R=ken2, r CC=golang-dev https://golang.org/cl/4006045
-
Wei Guangjing authored
R=rsc, lvd, brainman, Joe Poirier CC=golang-dev https://golang.org/cl/2124041
-
Wei Guangjing authored
R=rsc, peterGo, brainman CC=golang-dev https://golang.org/cl/3733046
-
Wei Guangjing authored
R=rsc CC=golang-dev https://golang.org/cl/3746044
-
Hector Chu authored
R=rsc, brainman CC=golang-dev https://golang.org/cl/4030043
-
Russ Cox authored
The o+i*p approach to visiting select cases in random order stops being fair when there is some case that is never ready. If that happens, then the case that follows it in the order gets more chances than the others. In general the only way to ensure fairness is to make all permutations equally likely. I've done that by computing one explicitly. Makes the permutations correct for n >= 4 where previously they were broken. For n > 12, there's not enough randomness to do a perfect job but this should still be much better than before. Fixes #1425. R=r, ken2, ejsherry CC=golang-dev https://golang.org/cl/4037043
-
Adam Langley authored
s2k implements the string-to-key functions for OpenPGP R=rsc CC=golang-dev https://golang.org/cl/3937043
-
Alex Brainman authored
Otherwise syscall.Errstr() returns "" for some (EWOULDBLOCK) errors. R=rsc CC=golang-dev https://golang.org/cl/3941041
-
Alex Brainman authored
R=golang-dev CC=golang-dev https://golang.org/cl/4089041
-
Russ Cox authored
TBR=adg CC=golang-dev https://golang.org/cl/4083042
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4047044
-