- 26 Jan, 2011 4 commits
-
-
Brad Fitzpatrick authored
R=agl1, bradfitzwork, rsc CC=golang-dev https://golang.org/cl/4066043
-
Russ Cox authored
It is unmaintained and untested, and I think it's broken too. It was a toy to show that Go can run on real hardware, and it served its purpose. The source code will of course remain in the repository history, so it could be brought back if needed later. R=r, r2, uriel CC=golang-dev https://golang.org/cl/3996047
-
Andrew Gerrand authored
R=mattn CC=golang-dev https://golang.org/cl/4034046
-
Andrew Gerrand authored
Fixes #1444. R=rsc, r CC=golang-dev https://golang.org/cl/3979045
-
- 25 Jan, 2011 12 commits
-
-
Alex Brainman authored
R=golang-dev CC=golang-dev https://golang.org/cl/4052046
-
Russ Cox authored
* move stack constants from proc.c to runtime.h * make memclr take uintptr length R=r CC=golang-dev https://golang.org/cl/3985046
-
Robert Griesemer authored
The implementation of the position computation was surprisingly broken. Implemented fixes and added extra test cases. There is a slight interface change: Calling Pos() returns the current position; but if called before Scan() that position may not be the position of the next token returned by Scan() (depending on the scan settings and the source text) - this in contrast to the original comment. However, after calling Scan(), the Scanner's Position field reports the position of the scanned token, as before. Fixes #1327. R=rsc CC=golang-dev https://golang.org/cl/3972047
-
Roger Peppe authored
Also simplify sleeper algorithm and poll occasionally so redundant sleeper goroutines will quit sooner. R=r, niemeyer, r2 CC=golang-dev https://golang.org/cl/4063043
-
Luuk van Dijk authored
R=rsc CC=golang-dev, golang-dev https://golang.org/cl/3992047
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/3987045
-
Adam Langley authored
R=bradfitzgo, r, bradfitzwork, nsz, rsc CC=golang-dev https://golang.org/cl/3990043
-
David Anderson authored
The docstring claims the function uses PSS message encoding, when the function actually implements PKCS1-v1_5 encoding. R=agl1, rsc CC=danderson, golang-dev https://golang.org/cl/4097042
-
Russ Cox authored
R=agl1, danderson CC=golang-dev https://golang.org/cl/4029044
-
Russ Cox authored
SELinux can be installed but not turned on. Don't complain unless it is actually turned on. https://bugzilla.redhat.com/show_bug.cgi?id=652987#c20 R=agl CC=golang-dev https://golang.org/cl/3979044
-
Hector Chu authored
R=rsc, brainman, lxn CC=golang-dev https://golang.org/cl/4005045
-
Gustavo Niemeyer authored
New ftplugin adds Import and Drop commands for Go buffers in Vim. These commands ensure that the provided package is imported (or not imported) in the current Go buffer, using proper style and ordering, without moving the cursor. E.g. :Import strings :ImportAs . strings :Drop strings Two mappings are also introduced to help with the fmt package: \f => :Import fmt \F => :Drop fmt R=adg CC=golang-dev https://golang.org/cl/4009043
-
- 24 Jan, 2011 10 commits
-
-
Robert Griesemer authored
Init may report an error on the first character and thus one needs an ability to set the error handler for Init. Was a design bug. Added corresponding test cases and better documentation. Also: Fixed a subtle infinite loop exposed by one of the new test cases. Fixes #1380. R=rsc, gri CC=golang-dev https://golang.org/cl/4094041
-
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 2 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
-