]>
Cypherpunks repositories - gostls13.git/log
Nigel Tao [Wed, 23 Feb 2011 09:52:43 +0000 (20:52 +1100)]
compress/lzw: implement a decoder.
R=rsc
CC=bsiegert, golang-dev, mpl
https://golang.org/cl/
4182081
Petar Maymounkov [Wed, 23 Feb 2011 05:39:25 +0000 (00:39 -0500)]
http: introduce Header type, implement with net/textproto
textproto: introduce Header type
websocket: use new interface to access Header
R=rsc, mattn
CC=golang-dev
https://golang.org/cl/
4185053
Kyle Consalus [Wed, 23 Feb 2011 04:23:21 +0000 (20:23 -0800)]
Make.pkg, doc: Replace references to "-benchmarks" and "-match" with "-test.bench" and "-test.run".
R=r
CC=golang-dev
https://golang.org/cl/
4197041
Robert Griesemer [Wed, 23 Feb 2011 04:10:09 +0000 (20:10 -0800)]
go/parser: if and switch statements still can have empty init statements
This is a fix for the overly aggressive CL
4173075 .
Ran all tests.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
4203041
Alex Brainman [Wed, 23 Feb 2011 03:40:24 +0000 (14:40 +1100)]
net: refactor windows code
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
4185054
Alex Brainman [Wed, 23 Feb 2011 03:30:40 +0000 (14:30 +1100)]
5l/6l/8l: use enums for header type and symbolic strings for -H option values
Thanks to rsc for the suggestion.
R=r
CC=golang-dev
https://golang.org/cl/
4174060
Robert Griesemer [Wed, 23 Feb 2011 02:17:03 +0000 (18:17 -0800)]
exp/eval, go/printer: fix build
There are some minor irregularities in the printer
output (some paren's are present that should be
removed), but these are unrelated issues.
Will review in a 2nd step.
R=rsc
CC=golang-dev
https://golang.org/cl/
4188068
Russ Cox [Wed, 23 Feb 2011 02:10:02 +0000 (21:10 -0500)]
arm: fix build
Changes on laptop were not sync'ed to machine
where I ran hg submit.
R=r
CC=golang-dev
https://golang.org/cl/
4195048
Robert Griesemer [Wed, 23 Feb 2011 01:25:10 +0000 (17:25 -0800)]
go/ast, parser: condition in if statement is mandatory
As a result, parsing a "control clause" is now sufficiently
different for if, switch, and for statements that the code
is not factored out anymore. The code is a bit longer but
clearer in each individual case.
Reflect the changes in AST.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173075
Robert Griesemer [Tue, 22 Feb 2011 23:31:57 +0000 (15:31 -0800)]
go spec: make condition mandatory in if statements
Plus a few minor HTML fixes.
Fixes #1535.
R=r, rsc, ken2, iant, r2
CC=golang-dev
https://golang.org/cl/
4185065
Russ Cox [Tue, 22 Feb 2011 23:23:29 +0000 (18:23 -0500)]
gc: require if condition
R=ken2, r2
CC=golang-dev
https://golang.org/cl/
4195045
Russ Cox [Tue, 22 Feb 2011 23:23:14 +0000 (18:23 -0500)]
test: do not depend on implicit if condition
Deleted test/ken/robif.go because test/if.go is
the same program modulo formatting.
R=golang-dev, gri, r2
CC=golang-dev
https://golang.org/cl/
4186068
Russ Cox [Tue, 22 Feb 2011 22:40:40 +0000 (17:40 -0500)]
ld: detect stack overflow due to NOSPLIT
Fix problems found.
On amd64, various library routines had bigger
stack frames than expected, because large function
calls had been added.
runtime.assertI2T: nosplit stack overflow
120 assumed on entry to runtime.assertI2T
8 after runtime.assertI2T uses 112
0 on entry to runtime.newTypeAssertionError
-8 on entry to runtime.morestack01
runtime.assertE2E: nosplit stack overflow
120 assumed on entry to runtime.assertE2E
16 after runtime.assertE2E uses 104
8 on entry to runtime.panic
0 on entry to runtime.morestack16
-8 after runtime.morestack16 uses 8
runtime.assertE2T: nosplit stack overflow
120 assumed on entry to runtime.assertE2T
16 after runtime.assertE2T uses 104
8 on entry to runtime.panic
0 on entry to runtime.morestack16
-8 after runtime.morestack16 uses 8
runtime.newselect: nosplit stack overflow
120 assumed on entry to runtime.newselect
56 after runtime.newselect uses 64
48 on entry to runtime.printf
8 after runtime.printf uses 40
0 on entry to vprintf
-8 on entry to runtime.morestack16
runtime.selectdefault: nosplit stack overflow
120 assumed on entry to runtime.selectdefault
56 after runtime.selectdefault uses 64
48 on entry to runtime.printf
8 after runtime.printf uses 40
0 on entry to vprintf
-8 on entry to runtime.morestack16
runtime.selectgo: nosplit stack overflow
120 assumed on entry to runtime.selectgo
0 after runtime.selectgo uses 120
-8 on entry to runtime.gosched
On arm, 5c was tagging functions NOSPLIT that should
not have been, like the recursive function printpanics:
printpanics: nosplit stack overflow
124 assumed on entry to printpanics
112 after printpanics uses 12
108 on entry to printpanics
96 after printpanics uses 12
92 on entry to printpanics
80 after printpanics uses 12
76 on entry to printpanics
64 after printpanics uses 12
60 on entry to printpanics
48 after printpanics uses 12
44 on entry to printpanics
32 after printpanics uses 12
28 on entry to printpanics
16 after printpanics uses 12
12 on entry to printpanics
0 after printpanics uses 12
-4 on entry to printpanics
R=r, r2
CC=golang-dev
https://golang.org/cl/
4188061
Andrew Gerrand [Tue, 22 Feb 2011 20:47:53 +0000 (07:47 +1100)]
misc/dashboard/builder: talk to hg with utf-8 encoding always.
Fixes #1465.
R=rsc
CC=golang-dev
https://golang.org/cl/
4172063
Gustavo Niemeyer [Tue, 22 Feb 2011 20:42:10 +0000 (15:42 -0500)]
.hgignore: add *.cgo*.{c,go}
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
4168059
Rob Pike [Tue, 22 Feb 2011 20:31:57 +0000 (12:31 -0800)]
gob: compute information about a user's type once.
Other than maybe cleaning the code up a bit, this has
little practical effect for now, but lays the foundation
for remembering the method set of a type, which can
be expensive.
R=rsc
CC=golang-dev
https://golang.org/cl/
4193041
Robert Griesemer [Tue, 22 Feb 2011 17:34:13 +0000 (09:34 -0800)]
go spec: fix local link
Fixes #1543.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
4169068
Rob Pike [Tue, 22 Feb 2011 17:21:50 +0000 (09:21 -0800)]
reflect: add a secret method to ArrayOrSliceType.
It was observed that the interface was generic enough
that several other types implemented it too.
Fixes #1530.
R=rsc
CC=golang-dev
https://golang.org/cl/
4169063
Andrew Gerrand [Tue, 22 Feb 2011 00:16:25 +0000 (11:16 +1100)]
http: add pointer from Handle[Func] to ServeMux docs
R=r
CC=golang-dev
https://golang.org/cl/
4169065
Padraig Kitterick [Mon, 21 Feb 2011 23:40:37 +0000 (10:40 +1100)]
http: cleaned up HEAD request method.
Removed a redefinition of the request URL which is never used and
redundant checking of the return value from send().
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4184061
Andrew Gerrand [Mon, 21 Feb 2011 23:40:22 +0000 (10:40 +1100)]
A+C: Padraig Kitterick
R=dsymonds
CC=golang-dev
https://golang.org/cl/
4186065
David Symonds [Mon, 21 Feb 2011 23:12:18 +0000 (10:12 +1100)]
testing: Fix typo on Logf doc comment.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
4167064
Mikael Tillenius [Mon, 21 Feb 2011 23:04:32 +0000 (10:04 +1100)]
image/png: support for more formats
Added support for reading images with grayscale + alpha and
for images with depth 1, 2 or 4.
R=nigeltao
CC=golang-dev
https://golang.org/cl/
4174053
Nigel Tao [Mon, 21 Feb 2011 04:04:13 +0000 (15:04 +1100)]
A+C: Mikael Tillenius (individual CLA)
R=dsymonds
CC=golang-dev
https://golang.org/cl/
4179063
Luuk van Dijk [Sun, 20 Feb 2011 17:53:23 +0000 (18:53 +0100)]
runtime-gdb.py: gdb pretty printer for go strings properly handles length.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
4183060
Rob Pike [Sat, 19 Feb 2011 23:04:56 +0000 (15:04 -0800)]
spec: delete incorrect obsolete mention of selector working on
pointer to interface type.
R=golang-dev, niemeyer, gri
CC=golang-dev
https://golang.org/cl/
4173067
Adam Langley [Sat, 19 Feb 2011 15:41:57 +0000 (10:41 -0500)]
crypto/openpgp/packet: comment typo fix.
R=rsc
CC=golang-dev
https://golang.org/cl/
4178065
Dave Cheney [Fri, 18 Feb 2011 23:49:46 +0000 (10:49 +1100)]
build: reduce the use of subshells in recursive make
Using make -C $* rather than (cd $* ; make) results in a small,
but measurable improvement in build times where compilation is
not the major component. eg.
before - ~/go/src/pkg$ time make
real 0m1.176s
user 0m0.639s
sys 0m0.399s
after - ~/go/src/pkg$ time make
real 0m0.916s
user 0m0.571s
sys 0m0.243s
There are other places in the distribution src/make.common for example
that could also benefit from this change.
R=adg
CC=golang-dev, rsc
https://golang.org/cl/
4174055
Andrew Gerrand [Fri, 18 Feb 2011 20:37:24 +0000 (07:37 +1100)]
misc/dashboard: tweak build fail notification email
R=rsc
CC=golang-dev
https://golang.org/cl/
4170063
Dave Cheney [Fri, 18 Feb 2011 18:48:13 +0000 (13:48 -0500)]
net: fix multicast tests
R=rsc, mikioh, rsc1, dho
CC=golang-dev
https://golang.org/cl/
4174056
Rob Pike [Fri, 18 Feb 2011 18:47:38 +0000 (10:47 -0800)]
crypto/openpgp/packet: fix testing print (missing arg)
R=agl
CC=golang-dev
https://golang.org/cl/
4173062
Andrew Gerrand [Fri, 18 Feb 2011 18:46:20 +0000 (05:46 +1100)]
godoc: serve robots.txt raw
R=gri, niemeyer, rsc, r2, r
CC=golang-dev
https://golang.org/cl/
4188063
Gustavo Niemeyer [Fri, 18 Feb 2011 18:44:53 +0000 (05:44 +1100)]
.hgignore: add doc/codelab/wiki/*.bin
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4173063
Russ Cox [Fri, 18 Feb 2011 18:30:29 +0000 (13:30 -0500)]
runtime: handle non-standard call sequences in arm traceback
R=r
CC=golang-dev
https://golang.org/cl/
4191048
Russ Cox [Fri, 18 Feb 2011 17:37:16 +0000 (12:37 -0500)]
fix build
pieces of an upcoming CL leaked into CL
4168056
TBR=r
CC=golang-dev
https://golang.org/cl/
4180057
Russ Cox [Fri, 18 Feb 2011 16:35:43 +0000 (11:35 -0500)]
runtime: record $GOROOT_FINAL for runtime.GOROOT
Update #1527.
R=adg, oerdnj
CC=golang-dev
https://golang.org/cl/
4171060
Russ Cox [Fri, 18 Feb 2011 16:35:36 +0000 (11:35 -0500)]
ld: drop rpath
Was required by old cgo but we don't
generate stub .so files anymore.
Update #1527.
R=iant
CC=golang-dev
https://golang.org/cl/
4168056
Adam Langley [Fri, 18 Feb 2011 16:31:10 +0000 (11:31 -0500)]
crypto/rsa: left-pad OAEP results when needed.
PKCS#1 v2.1 section 7.1.1 says that the result of an OAEP encryption
is "an octet string of length $k$". Since we didn't left-pad the
result it was previously possible for the result to be smaller when
the most-significant byte was zero.
Fixes #1519.
R=rsc
CC=golang-dev
https://golang.org/cl/
4175059
Robert Griesemer [Fri, 18 Feb 2011 01:22:16 +0000 (17:22 -0800)]
go/scanner: update comment
R=r, r2
CC=golang-dev
https://golang.org/cl/
4184053
Gustavo Niemeyer [Fri, 18 Feb 2011 00:17:33 +0000 (16:17 -0800)]
testing: rename cmdline flags to avoid conflicts
Flags defined in the testing package may conflict
with real flags defined in the main package, or in
any other imported package.
This change makes them less likely to be used for
other purposes.
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/
4167055
Wei Guangjing [Thu, 17 Feb 2011 23:58:47 +0000 (10:58 +1100)]
6l: pe fixes
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/
4182061
Nigel Tao [Thu, 17 Feb 2011 23:35:49 +0000 (10:35 +1100)]
html: small documentation fix.
R=rsc
CC=golang-dev
https://golang.org/cl/
4169058
Russ Cox [Thu, 17 Feb 2011 22:14:50 +0000 (17:14 -0500)]
http: send full URL in proxy requests
Fixes #53. (again)
R=agl1
CC=golang-dev
https://golang.org/cl/
4167054
Russ Cox [Thu, 17 Feb 2011 22:14:19 +0000 (17:14 -0500)]
json: only use alphanumeric tags
Almost the same definition as Go identifier names.
(Leading digits are allowed.)
Fixes #1520.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173061
Russ Cox [Thu, 17 Feb 2011 21:33:26 +0000 (16:33 -0500)]
gc: interface error message fixes
Fixes #1526.
R=ken2
CC=golang-dev
https://golang.org/cl/
4190051
Russ Cox [Thu, 17 Feb 2011 21:32:50 +0000 (16:32 -0500)]
net: remove comment fragments
I have no idea how I meant to complete that sentence.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4191046
Russ Cox [Thu, 17 Feb 2011 21:08:52 +0000 (16:08 -0500)]
runtime: descriptive panics for use of nil map
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173060
Albert Strasheim [Thu, 17 Feb 2011 20:14:41 +0000 (15:14 -0500)]
crypto/rand: Added read buffer to speed up requests for small amounts of bytes.
R=agl1, rsc
CC=golang-dev
https://golang.org/cl/
4170056
Andrew Gerrand [Thu, 17 Feb 2011 16:34:22 +0000 (03:34 +1100)]
misc/dashboard: notify golang-dev on build failure
Fixes #1229.
R=rsc
CC=golang-dev
https://golang.org/cl/
4178048
Rob Pike [Thu, 17 Feb 2011 06:35:31 +0000 (22:35 -0800)]
Effective Go: stress that comments are uninterpreted text
that should look in godoc.
R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/
4192041
Rob Pike [Thu, 17 Feb 2011 06:01:57 +0000 (22:01 -0800)]
arm runtime: attempt to fix build by adding casp (same as cas)
untested.
Fixes #1523.
R=rsc
CC=golang-dev
https://golang.org/cl/
4171057
Andrew Gerrand [Thu, 17 Feb 2011 02:20:50 +0000 (21:20 -0500)]
doc/devel/release: discuss StartProcess in release notes
R=rsc
CC=golang-dev
https://golang.org/cl/
4172051
Alex Brainman [Thu, 17 Feb 2011 01:09:12 +0000 (12:09 +1100)]
syscall: fix windows SetFileAttributes
R=golang-dev, rsc, hector
CC=golang-dev, mattn
https://golang.org/cl/
4180052
Alex Brainman [Thu, 17 Feb 2011 01:00:02 +0000 (12:00 +1100)]
net: fix windows build
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/
4184051
Nigel Tao [Wed, 16 Feb 2011 23:45:30 +0000 (10:45 +1100)]
html: tokenize HTML comments.
I'm not sure if it's 100% correct wrt the HTML5 specification,
but the test suite has plenty of HTML comment test cases, and
we'll shake out any tokenization bugs as the parser improves its
coverage.
R=gri
CC=golang-dev
https://golang.org/cl/
4186055
Jeff R. Allen [Wed, 16 Feb 2011 22:57:15 +0000 (17:57 -0500)]
gc: make string const comparison unsigned
Make compile-time string const comparison match semantics
of runtime.cmpstring.
Fixes #1515.
R=rsc
CC=golang-dev, rog
https://golang.org/cl/
4172049
Dave Cheney [Wed, 16 Feb 2011 20:07:13 +0000 (15:07 -0500)]
net: add IPv4 multicast to UDPConn
notes:
Darwin is very particular about joining a multicast group if the
listneing socket is not created in "udp4" mode, the other supported
OS's are more flexible.
A simple example sets up a socket to listen on the mdns/bonjour
group 224.0.0.251:5353
// ensure the sock is udp4, and the IP is a 4 byte IPv4
socket, err := net.ListenUDP("udp4", &net.UDPAddr {
IP: net.IPv4zero,
// currently darwin will not allow you to bind to
// a port if it is already bound to another process
Port: 5353,
})
if err != nil {
log.Exitf("listen %s", err)
}
defer socket.Close()
err = socket.JoinGroup(net.IPv4(224, 0, 0, 251))
if err != nil {
log.Exitf("join group %s", err)
}
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
4066044
Mikio Hara [Wed, 16 Feb 2011 20:05:48 +0000 (15:05 -0500)]
net: more accurate IPv4-in-IPv6 API test
R=rsc
CC=golang-dev
https://golang.org/cl/
4172045
Olivier Antoine [Wed, 16 Feb 2011 20:03:47 +0000 (15:03 -0500)]
net: reject invalid net:proto network names
R=rsc
CC=golang-dev
https://golang.org/cl/
4129042
Russ Cox [Wed, 16 Feb 2011 20:02:08 +0000 (15:02 -0500)]
A+C: Olivier Antoine (individual CLA)
Also sort name lists.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4191044
Gustavo Niemeyer [Wed, 16 Feb 2011 19:11:07 +0000 (14:11 -0500)]
sync: add Cond
R=rsc, rog, r
CC=golang-dev
https://golang.org/cl/
3775048
Russ Cox [Wed, 16 Feb 2011 19:10:52 +0000 (14:10 -0500)]
os: remove ENODATA (fixes freebsd build)
R=r, r2
CC=golang-dev
https://golang.org/cl/
4175053
Yasuhiro Matsumoto [Wed, 16 Feb 2011 19:06:50 +0000 (14:06 -0500)]
http: add proxy support
Fixes #53.
R=agl1, jacek.masiulaniec, adg, rsc, agl
CC=golang-dev
https://golang.org/cl/
3794041
Rob Pike [Wed, 16 Feb 2011 19:01:21 +0000 (11:01 -0800)]
reflect: add a couple of sentences explaining how Methods operate.
R=rsc, gri, rsc1, bsiegert
CC=golang-dev
https://golang.org/cl/
4183053
Rob Pike [Wed, 16 Feb 2011 18:46:29 +0000 (10:46 -0800)]
test/bench: update timings for new GC
Some significant improvements; e.g. pidigits goes from 8.33 to 6.37
Also add gccgo for regex-dna.
R=rsc
CC=golang-dev
https://golang.org/cl/
4160056
Russ Cox [Wed, 16 Feb 2011 18:21:20 +0000 (13:21 -0500)]
runtime: fix memory allocator for GOMAXPROCS > 1
Bitmaps were not being updated safely.
Depends on
4188053 .
Fixes #1504.
May fix issue 1479.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4184048
Russ Cox [Wed, 16 Feb 2011 18:21:13 +0000 (13:21 -0500)]
runtime: minor cleanup
implement runtime.casp on amd64.
keep simultaneous panic messages separate.
R=r
CC=golang-dev
https://golang.org/cl/
4188053
Albert Strasheim [Wed, 16 Feb 2011 18:19:31 +0000 (13:19 -0500)]
os: add ENODATA and ENOTCONN
syscall: add MCL_* flags for mlockall
R=rsc
CC=golang-dev
https://golang.org/cl/
4177044
Roger Peppe [Wed, 16 Feb 2011 16:14:41 +0000 (08:14 -0800)]
netchan: allow use of arbitrary connections.
R=r, r2, rsc
CC=golang-dev
https://golang.org/cl/
4119055
Yasuhiro Matsumoto [Wed, 16 Feb 2011 05:24:59 +0000 (16:24 +1100)]
syscall: implement chmod() for win32.
R=golang-dev, rsc, brainman
CC=golang-dev
https://golang.org/cl/
4175049
Alex Brainman [Wed, 16 Feb 2011 05:08:42 +0000 (16:08 +1100)]
8l,6l: allow for more os threads to be created on Windows
Program listed http://code.google.com/p/go/issues/detail?id=1495
(with nRequester set to 10000) will crash with
runtime: failed to create new OS thread (have 4526 already; errno=8)
instead of
runtime: failed to create new OS thread (have 618 already; errno=8).
R=golang-dev, rsc, vcc
CC=golang-dev
https://golang.org/cl/
4172046
Yasuhiro Matsumoto [Wed, 16 Feb 2011 05:07:04 +0000 (16:07 +1100)]
syscall: fix inverse checking of result code on windows.
R=golang-dev, brainman, rsc
CC=golang-dev
https://golang.org/cl/
4179049
Nigel Tao [Wed, 16 Feb 2011 00:41:29 +0000 (11:41 +1100)]
compress: move zlib/testdata to testdata so it can be shared by all
compression algorithms.
R=rsc, r2, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
4188054
Andrew Gerrand [Tue, 15 Feb 2011 22:41:34 +0000 (09:41 +1100)]
doc: fix release notes anchor tag
R=r, r2
CC=golang-dev
https://golang.org/cl/
4178055
Adam Langley [Tue, 15 Feb 2011 21:38:45 +0000 (16:38 -0500)]
crypto/tls: make protocol negotiation failure fatal
R=r, r2
CC=golang-dev
https://golang.org/cl/
4178054
Robert Griesemer [Tue, 15 Feb 2011 19:33:12 +0000 (11:33 -0800)]
go spec: minor clarification on channel types
No language change.
R=r, rsc, iant, ken2, r2
CC=golang-dev
https://golang.org/cl/
4168050
Andrew Gerrand [Tue, 15 Feb 2011 16:02:55 +0000 (03:02 +1100)]
tag release.2011-02-15
R=rsc
CC=golang-dev
https://golang.org/cl/
4184046
Andrew Gerrand [Tue, 15 Feb 2011 15:58:08 +0000 (02:58 +1100)]
release.2011-02-15
R=rsc
CC=golang-dev
https://golang.org/cl/
4191041
Adam Langley [Tue, 15 Feb 2011 14:52:20 +0000 (09:52 -0500)]
encoding/line: fix line returned after EOF
Fixes #1509.
R=r
CC=golang-dev
https://golang.org/cl/
4167045
Robert Griesemer [Tue, 15 Feb 2011 01:41:47 +0000 (17:41 -0800)]
godoc: don't hide package lookup error if there's no command with the same name
Fixes #1514.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173050
Roger Peppe [Mon, 14 Feb 2011 22:51:08 +0000 (14:51 -0800)]
rpc: properly discard values.
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/
4171050
Alex Brainman [Mon, 14 Feb 2011 22:42:25 +0000 (09:42 +1100)]
runtime: detect failed thread creation on Windows
Fixes #1495.
R=rsc
CC=golang-dev
https://golang.org/cl/
4182047
Rob Pike [Mon, 14 Feb 2011 19:47:19 +0000 (11:47 -0800)]
makehtml: use append
The program is old and missed its opportunity.
R=gri, adg
CC=golang-dev
https://golang.org/cl/
4178050
Rob Pike [Mon, 14 Feb 2011 19:25:00 +0000 (11:25 -0800)]
tutorial: rework the introduction to give "Effective Go"
prominence and downplay the course notes.
R=golang-dev, gri, rsc
CC=golang-dev
https://golang.org/cl/
4190041
Andrew Gerrand [Mon, 14 Feb 2011 18:42:16 +0000 (05:42 +1100)]
archive/zip: handle files with data descriptors
Fixes #1471.
R=rsc
CC=golang-dev
https://golang.org/cl/
4183048
Rob Pike [Mon, 14 Feb 2011 18:17:30 +0000 (10:17 -0800)]
gob: decode into nil, this time for sure.
Yesterday's change was too simple-minded and failed if an
interface value was being discarded. We need to parse the
data stream and remember any type information that arrives.
Also fix a minor bug when ignoring an interface: toss only what
we know about, not everything.
R=rsc
CC=golang-dev
https://golang.org/cl/
4179045
Hector Chu [Mon, 14 Feb 2011 17:15:13 +0000 (12:15 -0500)]
windows: runtime: implemented console ctrl handler (SIGINT).
R=rsc, brainman, iant2
CC=golang-dev
https://golang.org/cl/
4129049
Russ Cox [Mon, 14 Feb 2011 14:27:02 +0000 (09:27 -0500)]
build: run test/ directory first
R=adg, r
CC=golang-dev
https://golang.org/cl/
4183047
Robert Griesemer [Mon, 14 Feb 2011 03:27:02 +0000 (19:27 -0800)]
go/printer: line comments must always end in a newline
Fixes #1503.
R=rsc
CC=golang-dev
https://golang.org/cl/
4170045
Rob Pike [Sun, 13 Feb 2011 02:03:54 +0000 (18:03 -0800)]
gob: allow Decode(nil) and have it just discard the next value.
Fixes #1489.
R=rsc
CC=golang-dev
https://golang.org/cl/
4187046
Rob Pike [Sun, 13 Feb 2011 02:03:16 +0000 (18:03 -0800)]
code.html: update to reflect that package names need not be unique
Fixes #1507.
R=golang-dev, ehog.hedge, rsc
CC=golang-dev
https://golang.org/cl/
4160049
Ken Thompson [Sat, 12 Feb 2011 04:13:57 +0000 (20:13 -0800)]
5ld: part of 64bit eor - forgot to check in.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
4176046
Robert Griesemer [Sat, 12 Feb 2011 00:24:35 +0000 (16:24 -0800)]
gofmt: exclude testcase with incorrect syntax
R=r, r2
CC=golang-dev
https://golang.org/cl/
4160047
Rob Pike [Sat, 12 Feb 2011 00:06:04 +0000 (16:06 -0800)]
strconv/ftoa: avoid a double shift. (shifts by variables are expensive.)
R=rsc, gri, r2
CC=golang-dev
https://golang.org/cl/
4169048
Russ Cox [Fri, 11 Feb 2011 23:00:58 +0000 (18:00 -0500)]
testing: include elapsed time in output
R=r
CC=golang-dev
https://golang.org/cl/
4180045
Lorenzo Stoakes [Fri, 11 Feb 2011 22:47:58 +0000 (17:47 -0500)]
gc: correct receiver in method missing error
Fixes #1324.
R=rsc1, r, rsc
CC=golang-dev
https://golang.org/cl/
3435042
Russ Cox [Fri, 11 Feb 2011 22:47:17 +0000 (17:47 -0500)]
sync: check Unlock of unlocked Mutex
R=r, adg
CC=golang-dev
https://golang.org/cl/
4180044
Ken Thompson [Fri, 11 Feb 2011 21:22:35 +0000 (13:22 -0800)]
5ld: stoped generating 64-bit eor
R=rsc
CC=golang-dev
https://golang.org/cl/
4182049
Mikio Hara [Fri, 11 Feb 2011 21:20:31 +0000 (16:20 -0500)]
syscall: remove obsolete socket IO control
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
4183046
Petar Maymounkov [Fri, 11 Feb 2011 20:05:47 +0000 (15:05 -0500)]
http: add pipelining to ClientConn, ServerConn
R=rsc, bradfitzwork
CC=golang-dev
https://golang.org/cl/
4082044