- 12 Dec, 2012 4 commits
-
-
Dave Cheney authored
Fixes #4079. Some example output: % go install foo/bar can't load package: package foo/bar: cannot find package "foo/bar" in any of: /home/dfc/go/src/pkg/foo/bar (from $GOROOT) /home/dfc/src/foo/bar (from $GOPATH) /home/dfc/src2/src/foo/bar % GOPATH= go install foo/bar can't load package: package foo/bar: cannot find package "foo/bar" in any of: /home/dfc/go/src/pkg/foo/bar (from $GOROOT) ($GOPATH not set) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6899057
-
Dave Cheney authored
Saves one MOVW and one register during the fast div/mod introduced in CL 6819123. linux/arm (armv5) benchmark old ns/op new ns/op delta BenchmarkInt64Mod1 12 12 +7.50% BenchmarkUint16Mod2 7 7 +0.28% BenchmarkUint16Mod4 7 7 -0.28% BenchmarkUint64Mod1 15 11 -23.72% BenchmarkInt8Neg 8 7 -17.66% BenchmarkInt16Neg 8 7 -17.66% BenchmarkInt32Neg 5 5 -9.04% BenchmarkUint8Neg 7 6 -14.35% BenchmarkUint16Neg 8 7 -17.66% BenchmarkUint32Neg 5 5 -9.04% R=rsc CC=golang-dev https://golang.org/cl/6842045
-
Rémy Oudompheng authored
Implementation suggested by DMorsing. R=golang-dev, dave, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/6903059
-
Rémy Oudompheng authored
Change suggested by iant. The compiler generates special code for a/b when a is -0x80...0 and b = -1. A single instruction can cover the case where b is -1, so only one comparison is needed. Fixes #3551. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6922049
-
- 11 Dec, 2012 19 commits
-
-
Dave Cheney authored
Fixes #4384. Implments the suggestion by rsc in comment 15, http://code.google.com/p/go/issues/detail?id=4384#c15 An alternate suggestion would be to temporarily set GOMAXPROCS to 1 during this test. R=fullung, rsc CC=golang-dev https://golang.org/cl/6923046
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6924050
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6932053
-
Ryan Slade authored
Fixed issue 3931 R=bradfitz, rsc CC=golang-dev https://golang.org/cl/6923049
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/6924049
-
Robert Griesemer authored
- implemented built-in complex() - implemented missing expression switch checks R=rsc CC=golang-dev https://golang.org/cl/6920046
-
Miquel Sabaté Solà authored
The code inside the casee and casep labels can perfectly be merged since they essentially do the same. The character to be stored where cp points is just the character contained by the c variable. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6845112
-
Russ Cox authored
The code that was commented out was for the old regexp package. In the new one the errors and the space of valid regexps are different. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6873063
-
Luit van Drongelen authored
Implementation is mostly identical to passing a non-negative int64 to SetInt64, and calling Int64 with a non-negative value in the *Int. Fixes #4389. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6929048
-
Robin Eklind authored
Also, remove unnecessary whitespace. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6928045
-
Brad Fitzpatrick authored
Also, implement a global OPTIONS * handler, like Apache. Permit sending "*" requests to handlers, but not path-based (ServeMux) handlers. That means people can go out of their way to support SSDP or SIP or whatever, but most users will be unaffected. See RFC 2616 Section 5.1.2 (Request-URI) See RFC 2616 Section 9.2 (OPTIONS) Fixes #3692 R=rsc CC=golang-dev https://golang.org/cl/6868095
-
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 1 commit
-
-
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
-