- 24 Mar, 2011 6 commits
-
-
Robert Griesemer authored
Correctly distinguish between lhs and rhs identifiers and resolve/declare them accordingly. Collect field and method names in respective scopes (will be available after some minor AST API changes). Also collect imports since it's useful to have that list directly w/o having to re-traverse the AST (will also be available after some minor AST API changes). No external API changes in this CL. R=rsc, rog CC=golang-dev https://golang.org/cl/4271061
-
Sameer Ajmani authored
Change M-x gofmt to display errors in a new buffer instead of clobbering the current buffer. Add gofmt-before-save, which runs gofmt when in go-mode. This can be used with before-save-hook. Add to your .emacs: (add-hook 'before-save-hook 'gofmt-before-save) R=rsc, aclements, amdragon CC=golang-dev https://golang.org/cl/4276059
-
Rob Pike authored
The top level bytes.Buffer is always there and can be re-used. Rpc goes from 83 to 79 mallocs per round trip. R=rsc CC=golang-dev https://golang.org/cl/4271062
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4285063
-
Alex Brainman authored
- StartProcess will work with relative (to attr.Dir, not current directory) executable filenames - StartProcess will only work if executable filename points to the real file, it will not search for executable in the $PATH list and others (see CreateProcess manual for details) - StartProcess argv strings can contain any characters R=golang-dev, r CC=golang-dev https://golang.org/cl/4306041
-
Andrew Gerrand authored
doc: refer to golang-dev instead of -nuts in contribute.html R=r, rsc CC=golang-dev https://golang.org/cl/4309043
-
- 23 Mar, 2011 18 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4272066
-
Luuk van Dijk authored
5l was already correct, clarified comment and added diags for unmaintained code. R=rsc CC=golang-dev https://golang.org/cl/4277070
-
Brad Fitzpatrick authored
rsc's earlier fix, plus tests. R=rsc CC=golang-dev https://golang.org/cl/4285062
-
Brad Fitzpatrick authored
R=rsc, r CC=golang-dev https://golang.org/cl/4287074
-
Albert Strasheim authored
R=rsc, iant CC=golang-dev https://golang.org/cl/4271060
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/4295062
-
Russ Cox authored
R=r, bradfitzgo, r2 CC=golang-dev https://golang.org/cl/4313041
-
Brad Fitzpatrick authored
This patch adds a connection cache and keep-alive support to Transport, which is used by the HTTP client. It's also structured such that it's easy to add HTTP pipelining in the future. R=rsc, petar-m, bradfitzwork, r CC=golang-dev https://golang.org/cl/4272045
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4274079
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4306043
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4280061
-
Russ Cox authored
R=iant CC=golang-dev https://golang.org/cl/4291063
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4273097
-
Russ Cox authored
Found by stkcheck after 6l, 8l bug fixes Luuk is about to submit. R=lvd CC=golang-dev https://golang.org/cl/4306047
-
Anthony Starks authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4284058
-
David Symonds authored
R=adg, r CC=golang-dev https://golang.org/cl/4285059
-
Andrew Gerrand authored
Fixes #1631. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4303046
-
Ken Thompson authored
malloc rather than nelements + 1. R=rob CC=golang-dev https://golang.org/cl/4291064
-
- 22 Mar, 2011 11 commits
-
-
Andrew Gerrand authored
R=gri, niemeyer, rsc1 CC=golang-dev https://golang.org/cl/4291059
-
Robert Griesemer authored
Revert changes to printer.Config. Pass in the nodeSizes map trough an internal helper function. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4309042
-
Ian Lance Taylor authored
Submitting TBR to fix Darwin build. TBR=rsc CC=golang-dev https://golang.org/cl/4273096
-
Ian Lance Taylor authored
The SWIG examples are not yet built or tested by default. R=r, rsc, iant2 CC=golang-dev https://golang.org/cl/4287056
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4281065
-
Rob Pike authored
and don't lead to a nil reflect.Type. Fixes #1626. R=rsc CC=golang-dev https://golang.org/cl/4289062
-
Robert Griesemer authored
Also: gofmt src misc Fixes #1627. R=rsc CC=golang-dev https://golang.org/cl/4303042
-
Robert Hencke authored
R=rsc, r CC=golang-dev https://golang.org/cl/4290059
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4273088
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4273092
-
Robert Griesemer authored
Use memoization to avoid repeated recomputation of nested node sizes. Speeds up testdata/slow.input by several orders of magnitude. - added respective test case - added timeout to test code - deleted some unrelated unused code Fixes #1628. R=rsc, r CC=golang-dev https://golang.org/cl/4274075
-
- 21 Mar, 2011 5 commits
-
-
Brad Fitzpatrick authored
Trying to track down why this fails on some people's machines. R=rsc, adg, dsymonds CC=golang-dev https://golang.org/cl/4304041
-
Rob Pike authored
Fixes #1625. R=bradfitzgo, bradfitzwork, r2 CC=golang-dev https://golang.org/cl/4295060
-
Rob Pike authored
Also delete references to nacl. R=rsc, r2 CC=golang-dev https://golang.org/cl/4275060
-
Gustavo Niemeyer authored
R=golang-dev, bradfitzwork, rsc1, peterGo CC=golang-dev https://golang.org/cl/4271056
-
Gustavo Niemeyer authored
This change had already been made in revision 7371, but was then undone with changes in revision 7606. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4239064
-