- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
- 15 Sep, 2011 1 commit
-
-
Russ Cox authored
The go/build package already recognizes system-specific file names like mycode_darwin.go mycode_darwin_386.go mycode_386.s However, it is also common to write files that apply to multiple architectures, so a recent CL added to go/build the ability to process comments listing a set of conditions for building. For example: // +build darwin freebsd openbsd/386 says that this file should be compiled only on OS X, FreeBSD, or 32-bit x86 OpenBSD systems. These conventions are not yet documented (hence this long CL description). This CL adds build comments to the multi-system files in the core library, a step toward making it possible to use go/build to build them. With this change go/build can handle crypto/rand, exec, net, path/filepath, os/user, and time. os and syscall need additional adjustments. R=golang-dev, r, gri, r, gustavo CC=golang-dev https://golang.org/cl/5011046
-
- 17 Aug, 2011 1 commit
-
-
Fazlul Shahriar authored
All tests enabled by default passes except those in timeout_test.go. For TestLookupPort, add an entry for "bootps" in /lib/ndb/common (Plan 9 calls it "bootp"). I've sent out a patch to fix this. R=paulzhol, rsc, mikioh.mikioh CC=ality, golang-dev https://golang.org/cl/4779041
-
- 16 Aug, 2011 1 commit
-
-
Aleksandar Dezelin authored
Fixes #2148. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4905042
-
- 19 Jan, 2011 1 commit
-
-
Albert Strasheim authored
R=golang-dev, rsc, rsc1 CC=golang-dev https://golang.org/cl/2309043
-
- 12 Jan, 2011 1 commit
-
-
Alex Brainman authored
thanks to piotrnar for the original CL. Fixes #1371. R=rsc CC=golang-dev https://golang.org/cl/3834042
-
- 07 Dec, 2010 1 commit
-
-
Albert Strasheim authored
Working on issue 1101. R=rsc CC=golang-dev https://golang.org/cl/2331044
-
- 05 Nov, 2010 1 commit
-
-
Keith Rarick authored
Fixes #918. R=rsc, rog, brainman CC=golang-dev https://golang.org/cl/2904041
-
- 05 May, 2010 1 commit
-
-
Conrad Meyer authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/1113041
-
- 27 Apr, 2010 1 commit
-
-
Russ Cox authored
Adds two more methods, Timeout and Temporary. Implemented by os.Errno too. The intent is to make the checks for os.EAGAIN a little less clunky. It should also let us clean up a bug that Mike Solomon pointed out: if a network server gets an "out of file descriptors" error from Accept, the listener should not stop. It will be able to check this because that error would have Temporary() == true. Also clean up some underscore names. Fixes #442. R=r CC=golang-dev, msolo https://golang.org/cl/957045
-
- 30 Mar, 2010 1 commit
-
-
Russ Cox authored
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev https://golang.org/cl/850041
-
- 25 Feb, 2010 1 commit
-
-
Stephen Weinberg authored
R=rsc CC=golang-dev https://golang.org/cl/224061
-
- 15 Dec, 2009 1 commit
-
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev https://golang.org/cl/180048
-
- 02 Dec, 2009 1 commit
-
-
Devon H. O'Dell authored
Fixes #271. Fixes #321. R=rsc, agl, cw CC=golang-dev https://golang.org/cl/163052
-
- 17 Nov, 2009 1 commit
-
-
Russ Cox authored
Fixes #153. R=r https://golang.org/cl/154177
-
- 09 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc, r http://go/go-review/1025029
-
- 06 Nov, 2009 1 commit
-
-
Robert Griesemer authored
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
-
- 05 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc http://go/go-review/1017045
-
- 03 Nov, 2009 1 commit
-
-
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
-
- 01 Nov, 2009 1 commit
-
-
Russ Cox authored
prior to cleanup. no changes, only moving. remove dependencies on strconv and strings R=r http://go/go-review/1017010
-