- 03 Nov, 2009 3 commits
-
-
Russ Cox authored
added ReadFrom/WriteTo for packet protocols like UDP. simplified the net.Conn interface. added new net.PacketConn interface for packet protocols. implemented proper UDP listener. cleaned up LocalAddr/RemoteAddr methods - cache in netFD. threw away various unused methods. an interface change: introduced net.Addr as a network address interface, to avoid conversion of UDP host:port to string and back for every ReadFrom/WriteTo sequence. another interface change: since signature of Listener.Accept was changing anyway, dropped the middle return value, because it is available as c.RemoteAddr(). (the Accept signature predates the existence of that method.) Dial and Listen still accept strings, but the proto-specific versions DialTCP, ListenUDP, etc. take net.Addr instead. because the generic Dial didn't change and because no one calls Accept directly (only indirectly via the http server), very little code will be affected by these interface changes. design comments welcome. R=p CC=go-dev, r http://go/go-review/1018017
-
Adam Langley authored
Rather than drop everything into a single, huge review, I've included some simple bits of code here. R=rsc CC=go-dev http://go/go-review/1016029
-
Russ Cox authored
was 1153 kB now 247 kB R=r http://go/go-review/1018025
-
- 02 Nov, 2009 29 commits
-
-
Rob Pike authored
fix link in spec. R=rsc CC=go-dev http://go/go-review/1017013
-
Russ Cox authored
R=r CC=iant http://go/go-review/1018024
-
Ian Lance Taylor authored
tests are processed, and thus the run.out output. The default LANG on Fedora 10, en_US.utf8, causes the tests to be sorted differently--e.g., arrayindex1.go and arrayindex.go are sorted in the opposite order. R=r, rsc http://go/go-review/1018022
-
Rob Pike authored
fix up one usage to take advantage. R=rsc CC=go-dev http://go/go-review/1018023
-
Ian Lance Taylor authored
R=rsc, agl http://go/go-review/1016028
-
Adam Langley authored
Firstly, with -Werror, GCC switched to printing warnings starting with "error:". Widening the string matches solves this as the messages are otherwise unchanged. Secondly, GCC 4.4 outputs DWARF sections with with NUL bytes in all the offsets and requires the relocation section for .debug_info to be processed in order to result in valid DWARF data. Thus we add minimal handling for relocation sections, which is sufficient for our needs. BUG=1 Fixes #1. R=rsc, iant CC=go-dev http://go/go-review/1017003
-
Ian Lance Taylor authored
type. This is OK in a conversion but not in an assignment. R=rsc http://go/go-review/1016024
-
Rob Pike authored
R=rsc, gri CC=go-dev http://go/go-review/1016025
-
Russ Cox authored
rietveld does not like code reviews with subjects longer than 100 characters, so trim the line pulled out of the description to avoid the limit. R=r http://go/go-review/1016027
-
Rob Pike authored
R=rsc CC=go-dev http://go/go-review/1018021
-
Adam Langley authored
R=rsc CC=go-dev http://go/go-review/1018020
-
Russ Cox authored
R=ken@golang.org CC=r http://go/go-review/1018019
-
Ian Lance Taylor authored
runtime.go:19:10: error: reference to undefined identifier ‘runtime.printbool’ R=rsc http://go/go-review/1018018
-
Rob Pike authored
during initialization. R=rsc CC=go-dev http://go/go-review/1016023
-
Robert Griesemer authored
R=rsc http://go/go-review/1017012
-
Robert Griesemer authored
just a single directory - all pieces present but not well integrated - directory tree served at the moment under /tree R=rsc http://go/go-review/1018016
-
Robert Griesemer authored
(previously not shown in godoc) - simplify parsing of struct types (match code structure for parsing interface types) R=rsc, r http://go/go-review/1016019
-
Russ Cox authored
fix nil pointer check in 6g. was dereferencing after the ADD; dereference before instead. R=ken@golang.org CC=iant http://go/go-review/1016022
-
Rob Pike authored
left, like an assignment, like strcpy, etc. R=rsc CC=go-dev http://go/go-review/1016011
-
Rob Pike authored
R=rsc CC=go-dev http://go/go-review/1016018
-
Rob Pike authored
R=iant, rsc CC=go-dev http://go/go-review/1016015
-
Rob Pike authored
R=rsc CC=go-dev http://go/go-review/1016020
-
Rob Pike authored
R=rsc CC=go-dev http://go/go-review/1017007
-
Rob Pike authored
R=rsc CC=go-dev http://go/go-review/1017008
-
Rob Pike authored
R=rsc http://go/go-review/1018008
-
Rob Pike authored
also add a section about compiling programs because some found it surprising not to have one R=rsc CC=go-dev http://go/go-review/1018011
-
Russ Cox authored
R=r http://go/go-review/1016021
-
Ian Lance Taylor authored
(I should have tested the last change a bit more before submitting). R=rsc http://go/go-review/1017011
-
Ian Lance Taylor authored
to build 6g, 6l, etc. R=rsc CC=go-dev http://go/go-review/1018015
-
- 01 Nov, 2009 8 commits
-
-
Robert Griesemer authored
were excluded before because of incorrect comment formatting (comment formatting is mostly idempotent at this point) R=rsc http://go/go-review/1018014
-
Ian Lance Taylor authored
already removed from the Makefile. R=rsc http://go/go-review/1017006
-
Russ Cox authored
prior to cleanup. no changes, only moving. remove dependencies on strconv and strings R=r http://go/go-review/1017010
-
Russ Cox authored
* rename PORT.sh -> mkall.sh (hopefully more obvious), change behavior: run commands by default. * pull more constants out of #defines automatically, instead of editing large lists by hand. * add Recvfrom, Sendto add os.O_EXCL. R=r http://go/go-review/1017009
-
Robert Griesemer authored
(and thus avoid re-indexing after every sync attempt) R=rsc http://go/go-review/1016010
-
Russ Cox authored
dir_* and stat_* are just os specific, not os+arch-specific. R=r http://go/go-review/1018010
-
Russ Cox authored
R=r http://go/go-review/1016017
-
Russ Cox authored
* clean up error handling: show Exception info * white space fixes * clean up output when creating CL * simplify hg change command; add hg file * fix stale cookie bug (thanks iant) * in LoadAllCL, load each CL in a different thread, to parallelize the slow web fetches * throw away support for Mercurial before version 1.3 * add @CL-number file pattern for commands like diff * make hg sync show files being sync'ed R=r http://go/go-review/1016016
-