- 11 Dec, 2012 8 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6912063
-
Brian Ketelsen authored
Fixes #3712 R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6902069
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6923051
-
Russ Cox authored
Fixes #4525. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6929049
-
Shenghou Ma authored
Fixes #4394. R=iant, bradfitz, rsc, remigius.gieben CC=golang-dev https://golang.org/cl/6847125
-
Daniel Morsing authored
This check for BADWIDTH might happen while in defercheckwidth, making it raise errors for non-erroneous situations. Fixes #4495. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6927043
-
Rick Arnold authored
Fixes #3560. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6886047
-
Russ Cox authored
Putting it before the Index (where it is now) is wrong: we don't even know what's in the package yet. Fixes #4484. R=adg, dsymonds CC=golang-dev https://golang.org/cl/6868071
-
- 10 Dec, 2012 10 commits
-
-
Russ Cox authored
Suggested by Paul Borman. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/6930043
-
Russ Cox authored
* note end-of-line and EOF behavior for ReadLine * diagnose broken Readers Fixes #3825. Fixes #4276. R=golang-dev, dave CC=golang-dev https://golang.org/cl/6907060
-
Russ Cox authored
Fixes #3666. Fixes #3680. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6899054
-
Brad Fitzpatrick authored
Fixes #4490 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6924044
-
Robert Griesemer authored
We have been using all three terms "indices", "indexes", and "index expressions" indiscriminatly for index values. With this change, "index" refers to an index value, "indices" is the plural of "index", and "index expression" refers to an array, slice, or map indexed by an index: a[x]. R=r, rsc, iant, ken, mtj CC=golang-dev https://golang.org/cl/6912056
-
Adam Langley authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6912062
-
Brad Fitzpatrick authored
R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/6900050
-
Francisco Souza authored
Fixes #4512. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6917043
-
Russ Cox authored
Also fix spurious & in example. Fixes #4349. Fixes #4489. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6905058
-
Russ Cox authored
Can happen in both request and response. Also use it in one place that wasn't. Fixes #3997. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6903057
-
- 09 Dec, 2012 4 commits
-
-
Dave Cheney authored
Fixes #4492. % go version go version devel +6b602ab487d6 Sat Dec 08 14:43:00 2012 +0100 linux/amd64 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6906058
-
Rémy Oudompheng authored
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6904061
-
Rémy Oudompheng authored
The reported decrease in memory usage is about 5%. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6902064
-
Russ Cox authored
New in Go 1 will be nanosecond precision in the result of time.Now on Linux. This will break code that stores time in external formats at microsecond precision, reads it back, and expects to get exactly the same time. Code like that can be fixed by using time.Now().Round(time.Microsecond) instead of time.Now() in those contexts. R=golang-dev, bradfitz, iant, remyoudompheng CC=golang-dev https://golang.org/cl/6903050
-
- 08 Dec, 2012 2 commits
-
-
Rémy Oudompheng authored
Fixes #4252. R=rsc, golang-dev, mirtchovski, daniel.morsing, dave, lvd CC=golang-dev https://golang.org/cl/6856126
-
David Symonds authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6901056
-
- 07 Dec, 2012 2 commits
-
-
Russ Cox authored
This makes sure the outputs do not change for a fixed seed. See also https://golang.org/cl/6905049. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6907048
-
Russ Cox authored
This changes the output of rand.Seed(0) perm := rand.Perm(100) When giving the same seeds to Go 1.0 and Go 1.1 programs I would like them to generate the same random numbers. ««« original CL description math/rand: remove noop iteration in Perm The first iteration always do `m[0], m[0] = m[0], m[0]`, because `rand.Intn(1)` is 0. fun note: IIRC in TAOCP version of this algorithm, `i` goes backward (n-1->1), meaning that the "already" shuffled part of the array is never altered betweens iterations, while in the current implementation the "not-yet" shuffled part of the array is conserved between iterations. R=golang-dev CC=golang-dev https://golang.org/cl/6845121 »»» R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6905049
-
- 06 Dec, 2012 14 commits
-
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/6889052
-
Robert Griesemer authored
Fixes #4457. R=rsc, iant, r, ken CC=golang-dev https://golang.org/cl/6862046
-
Robert Griesemer authored
gotype can now handle much of the standard library. - marked packages which have type checker issues - this CL depends on CL 6846131 R=rsc CC=golang-dev https://golang.org/cl/6850130
-
Robert Griesemer authored
Also: - better handling of type assertions - implemented built-in error type - first cut at handling variadic function signatures - several bug fixes R=rsc, rogpeppe CC=golang-dev https://golang.org/cl/6846131
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/6867062
-
Robert Griesemer authored
The spec didn't preclude invalid type assertions and type switches, i.e., cases where a concrete type doesn't implement the interface type in the assertion in the first place. Both, the gc and gccgo compiler exclude these cases. This is documenting the status quo. Also: - minor clean up of respective examples - added sentence about default case in select statements Fixes #4472. R=rsc, iant, r, ken CC=golang-dev https://golang.org/cl/6869050
-
Rémy Oudompheng authored
Fixes #2615. R=dave, minux.ma, iant, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/6847078
-
Brad Fitzpatrick authored
Also fixes a necessary TODO in the process. Fixes #4126 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6869053
-
Rémy Oudompheng authored
R=rsc, golang-dev CC=golang-dev https://golang.org/cl/6884046
-
Rémy Oudompheng authored
The fixjmp step eliminates redundant chains of JMP instructions that are produced by the compiler during code generation. It is already implemented in gc, and can be adapted to 6c/8c with the exception that JMPs refer to destination by pc instead of by pointer. The algorithm is modified to operate on Regs instead of Progs for this reason. The pcs are already restored later by regopt. R=goalng-dev, rsc CC=golang-dev https://golang.org/cl/6865046
-
Dave Cheney authored
Add missing file that should have been included in CL 6854063 / 5eac1a2d6fc3 R=remyoudompheng, minux.ma, rsc CC=golang-dev https://golang.org/cl/6891049
-
Russ Cox authored
The 0-length part is fine, but some callers that write 0 bytes also pass nil as the data pointer, and the Plan 9 kernel kills the process with 'invalid address in sys call' in that case. R=ken2 CC=golang-dev https://golang.org/cl/6862051
-
Ian Lance Taylor authored
R=gri CC=golang-dev https://golang.org/cl/6890047
-
Rick Arnold authored
Fixes #2458. R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/6869054
-