- 07 Mar, 2013 5 commits
-
-
Mikio Hara authored
R=golang-dev, akumar CC=golang-dev https://golang.org/cl/7564043
-
Tyler Bunnell authored
Fixes #4505. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/7468043
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7551043
-
Robert Griesemer authored
Fixes #4982. R=adonovan, r CC=golang-dev https://golang.org/cl/7537043
-
Robert Griesemer authored
Also: - cleaner handling of constants w/ unknown value - removed several TODOs R=adonovan CC=golang-dev https://golang.org/cl/7473043
-
- 06 Mar, 2013 22 commits
-
-
Albert Strasheim authored
Fixes #4974. R=rsc, bradfitz, r CC=golang-dev https://golang.org/cl/7545043
-
Rob Pike authored
It's a common mistake to build a recursive String method; explain it well and show how to avoid it. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/7486049
-
Rob Pike authored
See also https://golang.org/cl/7520044 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7533044
-
Brad Fitzpatrick authored
Before: BenchmarkHeaderWriteSubset 500000 2354 ns/op 197 B/op 2 allocs/op After: BenchmarkHeaderWriteSubset 1000000 2085 ns/op 0 B/op 0 allocs/op Fixes #3761 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7508043
-
Russ Cox authored
Also emit cgo_ldflag pragmas. R=golang-dev, remyoudompheng, iant CC=golang-dev https://golang.org/cl/7530043
-
Russ Cox authored
TBR=bradfitz CC=golang-dev https://golang.org/cl/7540043
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/7539043
-
Russ Cox authored
Some IDS somewhere thinks "Go http package" is a virus. Make it something else for Go 1.1. Dumb but easy. R=golang-dev, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/7532043
-
Rob Pike authored
This installs type checking into go vet. (To be removed before releasing Go 1.1) R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7528044
-
Rob Pike authored
We can enable/disable type checking with a build tag. Should simplify cutting the go1.1 distribution free of go/types. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7482045
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7523043
-
Rob Pike authored
Fixes #4522. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7502044
-
Ewan Chou authored
BenchmarkSplit1 77984460 24131380 -69.06% R=golang-dev, rsc, minux.ma, dave, extemporalgenome CC=golang-dev https://golang.org/cl/7458043
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7473047
-
Alex Brainman authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7486048
-
Alex Brainman authored
Fixes #4841. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7475046
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7529043
-
Russ Cox authored
Now the default startup is that the program begins at _rt0_amd64_$GOOS, which sets DI = argc, SI = argv and jumps to _rt0_amd64. This makes the _rt0_amd64 entry match the expected semantics for the standard C "main" function, which we can now provide for use when linking against a standard C library. R=golang-dev, devon.odell, minux.ma CC=golang-dev https://golang.org/cl/7525043
-
Dominik Honnef authored
This CL adds compatibility for GNU Emacs 23 (fixing fontification issues) and XEmacs >=21.5.32 (fixing a lot of issues). Earlier versions of XEmacs will not be supported because they do not support POSIX character classes. Because of that, we also make use of a lot of functions that were added in 21.5.32. A known and currently unfixable issue with XEmacs is that go-mode will not always fontify identifiers that use unicode correctly. All changes for XEmacs are annotated in the diff. Note: go--position-bytes is not currently used anywhere, but will be in a future CL. Fixes #4927. R=golang-dev, adonovan, cw, patrick.allen.higgins, sameer CC=golang-dev https://golang.org/cl/7456051
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7518044
-
Rob Pike authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7489044
-
Brad Fitzpatrick authored
Previously the HTTP client's (*Response).Body.Close would try to keep reading until EOF, hoping to reuse the keep-alive HTTP connection, but the EOF might never come, or it might take a long time. Now we immediately close the TCP connection if we haven't seen EOF. This shifts the burden onto clients to read their whole response bodies if they want the advantage of reusing TCP connections. In the future maybe we could decide on heuristics to read some number of bytes for some max amount of time before forcefully closing, but I'd rather not for now. Statistically, touching this code makes things regress, so I wouldn't be surprised if this introduces new bugs, but all the tests pass, and I think the code is simpler now too. Maybe. Please test your HTTP client code before Go 1.1. Fixes #3672 R=golang-dev, adg CC=golang-dev https://golang.org/cl/7419050
-
- 05 Mar, 2013 12 commits
-
-
Nigel Tao authored
necessarily contain all components. Fixes #4975. R=r, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7469043
-
David Symonds authored
The only check so far is for self-assignments of the form "expr = expr", but even that found one instance in the standard library. R=r, adg, mtj, rsc CC=golang-dev https://golang.org/cl/7455048
-
Rob Pike authored
Fixes #4980. R=golang-dev, rsc, dsymonds CC=golang-dev https://golang.org/cl/7479044
-
Rob Pike authored
Drop the phrase "reference types", which has caused confusion. Add a section about 2D arrays, a common newbie question. R=golang-dev, cespare, adg, rsc CC=golang-dev https://golang.org/cl/7423051
-
Russ Cox authored
broke arm garbage collector traceback_arm fails with a missing pc. It needs CL 7494043. But that only makes the build break later, this time with "invalid freelist". Roll back until it can be fixed correctly. ««« original CL description runtime: restrict stack root scan to locals and arguments R=rsc CC=golang-dev https://golang.org/cl/7301062 »»» R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7493044
-
Robert Griesemer authored
- run time is limited if -short is set - also added missing TODO to unrelated file return.go R=r CC=golang-dev https://golang.org/cl/7448052
-
Joel Sing authored
On OpenBSD 5.2, calling getsockname on an unbound Unix domain socket results in a successful syscall, however the AF is unset and the length is returned as zero. This has been changed to more portable behaviour, which will be included in the OpenBSD 5.3 release. For now, work around this by treating a successful getsockname() call that returns a family of AF_UNSPEC and length of zero as a AF_UNIX socket. Makes TestPassFD work on OpenBSD 5.2. Fixes #4956. R=golang-dev, minux.ma, rsc, mikioh.mikioh CC=golang-dev https://golang.org/cl/7449046
-
Dmitriy Vyukov authored
It will be handy for network poller. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7429048
-
Dmitriy Vyukov authored
Fixes #4893. Actually it's fixed by cl/7314062 (improved scheduler), just submitting the test. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7422054
-
Dmitriy Vyukov authored
In preparation for integrated network poller (https://golang.org/cl/7326051), this is required to handle deadlines. R=golang-dev, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/7446047
-
Carl Shapiro authored
R=rsc CC=golang-dev https://golang.org/cl/7301062
-
David Symonds authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7431054
-
- 04 Mar, 2013 1 commit
-
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7416050
-