]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Fri, 25 Mar 2011 16:30:49 +0000 (12:30 -0400)]
runtime: fix arm build
R=adg, dfc, r
CC=golang-dev
https://golang.org/cl/
4296042
Russ Cox [Fri, 25 Mar 2011 16:30:09 +0000 (12:30 -0400)]
A+C: Roger Pau Monné (individual CLA)
R=golang-dev
CC=golang-dev
https://golang.org/cl/
4276077
Devon H. O'Dell [Thu, 24 Mar 2011 23:18:04 +0000 (10:18 +1100)]
freebsd-386: update defs
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4273102
Robert Griesemer [Thu, 24 Mar 2011 18:45:52 +0000 (11:45 -0700)]
go/parser: resolve identifiers properly
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 [Thu, 24 Mar 2011 14:35:39 +0000 (10:35 -0400)]
misc/emacs: gofmt: don't clobber the current buffer on failure
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 [Thu, 24 Mar 2011 04:49:19 +0000 (21:49 -0700)]
gob: remove another allocation.
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 [Thu, 24 Mar 2011 00:45:12 +0000 (11:45 +1100)]
runtime: fix freebsd-amd64 (and part of 386)
R=rsc
CC=golang-dev
https://golang.org/cl/
4285063
Alex Brainman [Thu, 24 Mar 2011 00:20:28 +0000 (11:20 +1100)]
syscall: StartProcess fixes for windows
- 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 [Thu, 24 Mar 2011 00:06:02 +0000 (11:06 +1100)]
doc: update contrib.html to be more enticing
doc: refer to golang-dev instead of -nuts in contribute.html
R=r, rsc
CC=golang-dev
https://golang.org/cl/
4309043
Russ Cox [Wed, 23 Mar 2011 22:17:14 +0000 (18:17 -0400)]
testing: add -test.cpuprofile flag
R=r
CC=golang-dev
https://golang.org/cl/
4272066
Luuk van Dijk [Wed, 23 Mar 2011 22:11:29 +0000 (23:11 +0100)]
5l/6l/8l: undo spadj cleanup at ARET for following instructions in the same stackframe.
5l was already correct, clarified comment and added diags for unmaintained code.
R=rsc
CC=golang-dev
https://golang.org/cl/
4277070
Brad Fitzpatrick [Wed, 23 Mar 2011 21:29:26 +0000 (14:29 -0700)]
http: don't chunk 304 responses
rsc's earlier fix, plus tests.
R=rsc
CC=golang-dev
https://golang.org/cl/
4285062
Brad Fitzpatrick [Wed, 23 Mar 2011 21:23:05 +0000 (14:23 -0700)]
gotest: fix gofmt issue in generated _testmain.go
R=rsc, r
CC=golang-dev
https://golang.org/cl/
4287074
Albert Strasheim [Wed, 23 Mar 2011 18:33:48 +0000 (14:33 -0400)]
syscall: GetsockoptInt.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
4271060
Russ Cox [Wed, 23 Mar 2011 18:28:38 +0000 (14:28 -0400)]
gofmt: add profiling flag
R=gri
CC=golang-dev
https://golang.org/cl/
4295062
Russ Cox [Wed, 23 Mar 2011 17:54:31 +0000 (13:54 -0400)]
runtime/pprof: cpu profiling support
R=r, bradfitzgo, r2
CC=golang-dev
https://golang.org/cl/
4313041
Brad Fitzpatrick [Wed, 23 Mar 2011 17:38:18 +0000 (10:38 -0700)]
http: export Transport, add keep-alive support
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 [Wed, 23 Mar 2011 17:33:45 +0000 (13:33 -0400)]
CONTRIBUTORS: John DeNero, Sameer Ajmani (Google CLA)
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
4274079
Russ Cox [Wed, 23 Mar 2011 15:43:37 +0000 (11:43 -0400)]
runtime: cpu profiling support
R=r
CC=golang-dev
https://golang.org/cl/
4306043
Russ Cox [Wed, 23 Mar 2011 15:34:03 +0000 (11:34 -0400)]
runtime: fix print - no %v in C
R=r
CC=golang-dev
https://golang.org/cl/
4280061
Russ Cox [Wed, 23 Mar 2011 15:33:53 +0000 (11:33 -0400)]
godefs: handle volatile
R=iant
CC=golang-dev
https://golang.org/cl/
4291063
Russ Cox [Wed, 23 Mar 2011 15:31:42 +0000 (11:31 -0400)]
runtime: os-specific types and code for setitimer
R=r
CC=golang-dev
https://golang.org/cl/
4273097
Russ Cox [Wed, 23 Mar 2011 15:28:24 +0000 (11:28 -0400)]
runtime: more stack split fixes
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 [Wed, 23 Mar 2011 05:29:40 +0000 (16:29 +1100)]
misc/bbedit: remove closed keyword
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4284058
David Symonds [Wed, 23 Mar 2011 03:26:28 +0000 (14:26 +1100)]
misc/vim: remove 'closed' as a builtin function.
R=adg, r
CC=golang-dev
https://golang.org/cl/
4285059
Andrew Gerrand [Wed, 23 Mar 2011 03:24:30 +0000 (14:24 +1100)]
sync: fix example code
Fixes #1631.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
4303046
Ken Thompson [Wed, 23 Mar 2011 01:41:17 +0000 (18:41 -0700)]
chan: allocate a new chan with one
malloc rather than nelements + 1.
R=rob
CC=golang-dev
https://golang.org/cl/
4291064
Andrew Gerrand [Tue, 22 Mar 2011 22:44:23 +0000 (09:44 +1100)]
godoc: add -template flag to specify custom templates
R=gri, niemeyer, rsc1
CC=golang-dev
https://golang.org/cl/
4291059
Robert Griesemer [Tue, 22 Mar 2011 21:14:26 +0000 (14:14 -0700)]
go/printer: Revert API change of CL
4274075 .
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 [Tue, 22 Mar 2011 20:30:16 +0000 (13:30 -0700)]
Make.pkg: Always define _CGO_CFLAGS and friends.
Submitting TBR to fix Darwin build.
TBR=rsc
CC=golang-dev
https://golang.org/cl/
4273096
Ian Lance Taylor [Tue, 22 Mar 2011 20:05:51 +0000 (13:05 -0700)]
Make.pkg: add support for SWIG, and add two SWIG examples
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 [Tue, 22 Mar 2011 18:52:41 +0000 (11:52 -0700)]
gob: fix up ugly formatting introduced by buggy (now fixed) gofmt.
R=rsc
CC=golang-dev
https://golang.org/cl/
4281065
Rob Pike [Tue, 22 Mar 2011 18:43:00 +0000 (11:43 -0700)]
gob: use pointers in bootstrapType so interfaces behave properly
and don't lead to a nil reflect.Type.
Fixes #1626.
R=rsc
CC=golang-dev
https://golang.org/cl/
4289062
Robert Griesemer [Tue, 22 Mar 2011 18:05:26 +0000 (11:05 -0700)]
go/printer, gofmt: simplify struct formatting and respect line breaks
Also: gofmt src misc
Fixes #1627.
R=rsc
CC=golang-dev
https://golang.org/cl/
4303042
Robert Hencke [Tue, 22 Mar 2011 17:32:43 +0000 (10:32 -0700)]
test: enable tests using v, ok := <-ch syntax
R=rsc, r
CC=golang-dev
https://golang.org/cl/
4290059
Russ Cox [Tue, 22 Mar 2011 06:04:59 +0000 (02:04 -0400)]
gopprof: fix bug: do not rotate 180 degrees for large scrolls
R=r
CC=golang-dev
https://golang.org/cl/
4273088
Andrew Gerrand [Tue, 22 Mar 2011 04:00:21 +0000 (15:00 +1100)]
ld: return > 0 exit code on unsafe import
R=rsc
CC=golang-dev
https://golang.org/cl/
4273092
Robert Griesemer [Tue, 22 Mar 2011 00:15:59 +0000 (17:15 -0700)]
go/printer, gofmt: avoid exponential layout algorithm
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
Brad Fitzpatrick [Mon, 21 Mar 2011 21:43:38 +0000 (14:43 -0700)]
cgi: extra failure debugging in host_test
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 [Mon, 21 Mar 2011 20:48:31 +0000 (13:48 -0700)]
time: give a helpful message when we can't set the time zone for testing.
Fixes #1625.
R=bradfitzgo, bradfitzwork, r2
CC=golang-dev
https://golang.org/cl/
4295060
Rob Pike [Mon, 21 Mar 2011 20:02:10 +0000 (13:02 -0700)]
syscall: rename from .sh to .pl, because these files are in Perl.
Also delete references to nacl.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
4275060
Gustavo Niemeyer [Mon, 21 Mar 2011 14:25:00 +0000 (11:25 -0300)]
exec: document dir option for Run
R=golang-dev, bradfitzwork, rsc1, peterGo
CC=golang-dev
https://golang.org/cl/
4271056
Gustavo Niemeyer [Mon, 21 Mar 2011 03:27:50 +0000 (00:27 -0300)]
build: reenable clean.bash without gomake
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
Andrew Gerrand [Mon, 21 Mar 2011 03:18:12 +0000 (14:18 +1100)]
goinstall: add -clean flag to docs
Fixes #1629.
R=rsc
CC=golang-dev
https://golang.org/cl/
4291057
Gustavo Niemeyer [Mon, 21 Mar 2011 03:07:22 +0000 (00:07 -0300)]
rpc: increase server_test timeout
These timeouts are breaking tests in very slow
systems every once in a while. I've noticed
problems when compiling the Ubuntu packages for
arm, specifically.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4291058
Andrew Gerrand [Mon, 21 Mar 2011 00:24:48 +0000 (11:24 +1100)]
path/filepath: fix TestEvalSymlinks when run under symlinked GOROOT
Fixes #1622.
R=rsc, bradfitzgo
CC=golang-dev
https://golang.org/cl/
4287063
Fazlul Shahriar [Sun, 20 Mar 2011 18:45:43 +0000 (11:45 -0700)]
flag: document Nflag function
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
4279065
Russ Cox [Sat, 19 Mar 2011 00:55:21 +0000 (20:55 -0400)]
gopprof: update list of memory allocation functions
R=r, r2
CC=golang-dev
https://golang.org/cl/
4275057
Russ Cox [Fri, 18 Mar 2011 22:23:00 +0000 (18:23 -0400)]
build: diagnose Ubuntu's buggy copy of gold
R=iant, dsymonds
CC=golang-dev
https://golang.org/cl/
4300041
Ian Lance Taylor [Fri, 18 Mar 2011 19:48:12 +0000 (12:48 -0700)]
net: Use preallocated buffer for kqueue/kevent.
R=rsc
CC=golang-dev
https://golang.org/cl/
4293056
Robert Griesemer [Fri, 18 Mar 2011 19:38:38 +0000 (12:38 -0700)]
cgo: fix index-out-of-bounds bug
R=rsc
CC=golang-dev
https://golang.org/cl/
4284057
Rob Pike [Fri, 18 Mar 2011 18:54:36 +0000 (11:54 -0700)]
rpc: keep free lists of Request and Response structures.
Also in the common case avoid unnecessary buffering in
the channel.
Removes 13 allocations per round trip. Now at 86, down from
144 a week ago.
R=rsc, bradfitzgo, r2, rsc1
CC=golang-dev
https://golang.org/cl/
4277060
Ian Lance Taylor [Fri, 18 Mar 2011 18:50:19 +0000 (11:50 -0700)]
net: Use preallocated buffer for epoll.
Reduces rpc test "mallocs per rpc round trip" by 4.
Gains ~8% on a localhost client/server RPC test.
R=rsc
CC=golang-dev
https://golang.org/cl/
4284056
Yasuhiro Matsumoto [Fri, 18 Mar 2011 16:28:23 +0000 (09:28 -0700)]
godoc: No need to use filepath.IsAbs()
R=golang-dev, brainman, gri
CC=golang-dev
https://golang.org/cl/
4277062
Yasuhiro Matsumoto [Fri, 18 Mar 2011 05:27:30 +0000 (22:27 -0700)]
godoc: fix path problem for windows.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
4299044
Ken Thompson [Thu, 17 Mar 2011 23:47:00 +0000 (16:47 -0700)]
sinit.c: recursion in sinit
fixes #1617
R=rsc
CC=golang-dev
https://golang.org/cl/
4277059
Alex Brainman [Thu, 17 Mar 2011 23:19:19 +0000 (10:19 +1100)]
filepath: do not run TestEvalSymlinks on Windows
R=golang-dev, rsc1
CC=adg, golang-dev
https://golang.org/cl/
4274069
Robert Griesemer [Thu, 17 Mar 2011 22:32:29 +0000 (15:32 -0700)]
go/parser: fix memory leak by making a copy of token literals
The scanner returns slices into the original source
for token values. If those slices are making it into
the AST and from there into other long-living data
structures (e.g. godoc search), references to the
original source are kept around involuntarily.
For the current godoc and source tree, this change reduces
memory consumption after indexing and before GC by ~92MB
or almost 30%, and by ~10MB after GC (or about 6%).
R=rsc
CC=golang-dev
https://golang.org/cl/
4273072
Rob Pike [Thu, 17 Mar 2011 22:29:52 +0000 (15:29 -0700)]
flag: fix example in doc comment.
Fixes #1615.
R=dsymonds
CC=golang-dev
https://golang.org/cl/
4277058
Ian Lance Taylor [Thu, 17 Mar 2011 20:42:40 +0000 (13:42 -0700)]
net: Don't force epoll/kqueue to wake up in order to add new events.
In conjunction with the non-blocking system call CL, this
gives about an 8% performance improvement on a client/server
test running on my local machine.
R=rsc, iant2
CC=golang-dev
https://golang.org/cl/
4272057
Alex Brainman [Thu, 17 Mar 2011 18:49:56 +0000 (11:49 -0700)]
go/scanner: to interpret line comments with Windows filenames
Fixes #1614.
R=gri
CC=golang-dev
https://golang.org/cl/
4290054
Caine Tighe [Thu, 17 Mar 2011 17:57:36 +0000 (13:57 -0400)]
os: remove fstat TODO
R=rsc
CC=golang-dev
https://golang.org/cl/
3559041
Rob Pike [Thu, 17 Mar 2011 17:47:42 +0000 (10:47 -0700)]
gob: eliminate two more allocations in decode.
- just an oversight; we were reallocating a buffer.
- use unsafe to avoid allocating storage for a string twice.
R=rsc
CC=golang-dev
https://golang.org/cl/
4290056
Russ Cox [Thu, 17 Mar 2011 17:46:05 +0000 (13:46 -0400)]
time: isolate syscall reference in sys.go
R=dsymonds
CC=golang-dev
https://golang.org/cl/
4291052
Evan Shaw [Thu, 17 Mar 2011 05:45:05 +0000 (01:45 -0400)]
.hgignore: Ignore all goinstalled packages
R=golang-dev, niemeyer, rsc1, rog, rsc
CC=golang-dev
https://golang.org/cl/
4285047
Andrew Gerrand [Thu, 17 Mar 2011 05:37:34 +0000 (16:37 +1100)]
doc: mention godoc in "implements" FAQ
R=r
CC=golang-dev
https://golang.org/cl/
4248066
Andrew Gerrand [Thu, 17 Mar 2011 05:36:37 +0000 (16:36 +1100)]
path/filepath: add EvalSymlinks function
R=rsc, niemeyer, r2, rog, iant2, r
CC=golang-dev
https://golang.org/cl/
4235060
Andrew Gerrand [Thu, 17 Mar 2011 05:33:10 +0000 (16:33 +1100)]
doc: explain release and weekly tags in install.html
R=r
CC=golang-dev
https://golang.org/cl/
4272058
Ian Lance Taylor [Thu, 17 Mar 2011 02:03:01 +0000 (19:03 -0700)]
syscall: Permit non-blocking syscalls.
Permit system calls to be designated as non-blocking, meaning
that we simply call them without involving the scheduler.
This change by itself is mostly performance neutral. In
combination with a following change to the net package there
is a performance advantage.
R=rsc, dfc, r2, iant2, rsc1
CC=golang-dev
https://golang.org/cl/
4278055
Russ Cox [Thu, 17 Mar 2011 01:05:40 +0000 (21:05 -0400)]
gc: fix crash when using -u
R=ken2
CC=golang-dev
https://golang.org/cl/
4278056
Rob Pike [Thu, 17 Mar 2011 01:03:13 +0000 (18:03 -0700)]
gob: remove a few more allocations.
- use enc.err and dec.err instead of return values in deferred error catcher
- replace io.WriteString with buffer.WriteString
now at:
mallocs per encode of type Bench: 7
mallocs per decode of type Bench: 8
R=rsc
CC=golang-dev
https://golang.org/cl/
4277057
Yasuhiro Matsumoto [Wed, 16 Mar 2011 23:41:23 +0000 (10:41 +1100)]
path: work for windows.
R=brainman, rsc, rsc1
CC=golang-dev
https://golang.org/cl/
4249064
Andrew Gerrand [Wed, 16 Mar 2011 22:59:18 +0000 (09:59 +1100)]
gofix: httpserver - rewrite rw.SetHeader to rw.Header.Set
R=rsc
CC=golang-dev
https://golang.org/cl/
4271048
Andrew Gerrand [Wed, 16 Mar 2011 22:11:08 +0000 (09:11 +1100)]
codereview: permit CLs of the form weekly.DATE
gobuilder: recognize CLs of the form weekly.DATE
R=rsc, r
CC=golang-dev
https://golang.org/cl/
4282052
Brad Fitzpatrick [Wed, 16 Mar 2011 21:32:35 +0000 (14:32 -0700)]
http: add NewProxyClientConn
This just returns a ClientConn suitable for writing
proxy requests. To be used in Transport.
R=rsc, petar-m
CC=golang-dev
https://golang.org/cl/
4290052
Robert Griesemer [Wed, 16 Mar 2011 21:25:59 +0000 (14:25 -0700)]
go/ast: merge CaseClause and TypeCaseClause
(per rsc's suggestion)
R=rsc
CC=golang-dev
https://golang.org/cl/
4276057
Alex Brainman [Wed, 16 Mar 2011 17:38:03 +0000 (10:38 -0700)]
go/scanner: use filepath
R=gri
CC=golang-dev
https://golang.org/cl/
4280048
Rob Pike [Wed, 16 Mar 2011 17:32:21 +0000 (10:32 -0700)]
testing: compile regexp only once
The -test.run and -test.bench flags were compilng the regexp for ever test
function, which was mucking up memory profiles. Add a simple wrapper
to save the compiled state so that the regexp is compiled only once for
each flag.
R=rsc
CC=golang-dev
https://golang.org/cl/
4274063
Rob Pike [Wed, 16 Mar 2011 17:12:25 +0000 (10:12 -0700)]
testing: fix build
Dependency on bufio crept in during last CL; this breaks the cycle.
Also add a missing '-' to the documentation.
R=rsc
CC=golang-dev
https://golang.org/cl/
4274061
Rob Pike [Wed, 16 Mar 2011 16:53:58 +0000 (09:53 -0700)]
testing: add -test.memprofile and -test.memprofilerate flags.
These allow a test to generate memory profiles automatically.
R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/
4273064
Adam Langley [Wed, 16 Mar 2011 14:50:06 +0000 (10:50 -0400)]
crypto/openpgp: add DSA signature support.
R=bradfitzgo, nsz
CC=golang-dev
https://golang.org/cl/
4280041
Adam Langley [Wed, 16 Mar 2011 14:42:41 +0000 (10:42 -0400)]
crypto/ecdsa: truncate hash values.
There is some disagreement about how to deal with hash values larger
than the curve order size. We choose to follow OpenSSL's lead here.
R=bradfitzgo, r
CC=golang-dev
https://golang.org/cl/
4273059
Andrew Gerrand [Wed, 16 Mar 2011 05:36:18 +0000 (16:36 +1100)]
doc: fix line wrapping for release.html
R=r
CC=golang-dev
https://golang.org/cl/
4281052
Andrew Gerrand [Wed, 16 Mar 2011 05:26:46 +0000 (16:26 +1100)]
tag weekly.2011-03-15
R=r
CC=golang-dev
https://golang.org/cl/
4289048
Andrew Gerrand [Wed, 16 Mar 2011 05:24:08 +0000 (16:24 +1100)]
weekly.2011-03-15
R=r
CC=golang-dev
https://golang.org/cl/
4272052
Rob Pike [Wed, 16 Mar 2011 04:30:07 +0000 (21:30 -0700)]
gob: keep free lists of encoder and decoder states.
Avoids 3 mallocs in a round trip encoding/decoding a struct.
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/
4278052
Alex Brainman [Wed, 16 Mar 2011 04:20:46 +0000 (15:20 +1100)]
gofix: fix godoc doc
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4290049
Russ Cox [Wed, 16 Mar 2011 02:58:09 +0000 (13:58 +1100)]
gofix: fix procattr registration, tests
R=adg
CC=golang-dev
https://golang.org/cl/
4275054
Russ Cox [Wed, 16 Mar 2011 02:33:57 +0000 (22:33 -0400)]
gofix: procattr
R=adg
CC=golang-dev
https://golang.org/cl/
4274059
Robert Griesemer [Wed, 16 Mar 2011 00:45:16 +0000 (17:45 -0700)]
go/printer: output tuning for gofix
If braces don't have position information for a composite
literal, don't assume alignment of key:value pairs under
the (wrong) assumption that there may be multiple lines.
R=rsc
CC=golang-dev
https://golang.org/cl/
4297043
Rob Pike [Wed, 16 Mar 2011 00:14:02 +0000 (17:14 -0700)]
gob: move benchmarks to a new timing_test.go file.
Add malloc counts for encode and decode.
R=rsc
CC=golang-dev
https://golang.org/cl/
4290048
Russ Cox [Tue, 15 Mar 2011 23:39:50 +0000 (19:39 -0400)]
debug/proc: fix build
R=r
CC=golang-dev
https://golang.org/cl/
4273060
Rob Pike [Tue, 15 Mar 2011 21:20:30 +0000 (14:20 -0700)]
rpc: add the ability to write out a memory profile during testing.
R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/
4290047
Rob Pike [Tue, 15 Mar 2011 20:09:11 +0000 (13:09 -0700)]
rpc: add benchmarks
On my mac:
mallocs per rpc round trip: 144
rpc.BenchmarkEndToEnd 10000 228244 ns/op
Room for improvement.
R=rsc
CC=golang-dev
https://golang.org/cl/
4274058
Evan Shaw [Tue, 15 Mar 2011 18:42:18 +0000 (14:42 -0400)]
lib9, libmach: Change GOOS references to GOHOSTOS
This makes it possible to build Windows binaries on non-Windows OSes.
R=golang-dev, rsc1, rsc
CC=golang-dev
https://golang.org/cl/
4271046
Roger Peppe [Tue, 15 Mar 2011 18:41:19 +0000 (14:41 -0400)]
os, syscall: add ProcAttr type. Change StartProcess etc. to use it.
The Windows code is untested.
R=rsc, gri, brainman, rsc1
CC=golang-dev
https://golang.org/cl/
4253052
Russ Cox [Tue, 15 Mar 2011 18:15:41 +0000 (14:15 -0400)]
gofix: new command for updating code to new release
R=bradfitzgo, dsymonds, r, gri, adg
CC=golang-dev
https://golang.org/cl/
4282044
Russ Cox [Tue, 15 Mar 2011 18:05:37 +0000 (14:05 -0400)]
gc: diagnose unused labels
R=ken2
CC=golang-dev
https://golang.org/cl/
4287047
Russ Cox [Tue, 15 Mar 2011 18:05:07 +0000 (14:05 -0400)]
remove unused labels
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
4274052
Russ Cox [Tue, 15 Mar 2011 18:04:47 +0000 (14:04 -0400)]
gofmt: simpler walkDir
Swapping the goroutines lets them reuse the
communication completion on v instead of
needing a second channel (done).
R=gri
CC=golang-dev
https://golang.org/cl/
4287045