- 10 Sep, 2016 1 commit
-
-
bogem authored
Change-Id: I1ec2fcf81a7a9e45a2fae8c02c8adabc7841b4fa Reviewed-on: https://go-review.googlesource.com/29013 Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by:
Ian Lance Taylor <iant@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 03 Apr, 2016 1 commit
-
-
Brad Fitzpatrick authored
And adds missing tests. Fixes #14970 Change-Id: I0dba02603bc245f555498cb5dd3e0a9d87c52353 Reviewed-on: https://go-review.googlesource.com/21467 Reviewed-by:
Ian Lance Taylor <iant@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 10 Oct, 2015 1 commit
-
-
Brad Fitzpatrick authored
Fixes #12674 Change-Id: I82f53026dd2fc27bd7999d43c27932d683d92af6 Reviewed-on: https://go-review.googlesource.com/15730 Reviewed-by:
Ian Lance Taylor <iant@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 08 Sep, 2014 1 commit
-
-
Russ Cox authored
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.
-
- 25 Feb, 2014 1 commit
-
-
Dave Cheney authored
See golang.org/s/go13nacl for design overview. This CL is the mostly mechanical changes from rsc's Go 1.2 based NaCl branch, specifically 39cb35750369 to 500771b477cf from https://code.google.com/r/rsc-go13nacl. This CL does not include working NaCl support, there are probably two or three more large merges to come. CL 15750044 is not included as it involves more invasive changes to the linker which will need to be merged separately. The exact change lists included are 15050047: syscall: support for Native Client 15360044: syscall: unzip implementation for Native Client 15370044: syscall: Native Client SRPC implementation 15400047: cmd/dist, cmd/go, go/build, test: support for Native Client 15410048: runtime: support for Native Client 15410049: syscall: file descriptor table for Native Client 15410050: syscall: in-memory file system for Native Client 15440048: all: update +build lines for Native Client port 15540045: cmd/6g, cmd/8g, cmd/gc: support for Native Client 15570045: os: support for Native Client 15680044: crypto/..., hash/crc32, reflect, sync/atomic: support for amd64p32 15690044: net: support for Native Client 15690048: runtime: support for fake time like on Go Playground 15690051: build: disable various tests on Native Client LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/68150047
-
- 09 Jan, 2014 1 commit
-
-
Aram Hăvărneanu authored
R=golang-codereviews, dave, minux.ma, gobot, jsing CC=golang-codereviews https://golang.org/cl/36020043
-
- 23 Aug, 2013 1 commit
-
-
Joel Sing authored
Make the os package build and work on dragonfly. R=bradfitz CC=golang-dev https://golang.org/cl/13183044
-
- 24 Jun, 2013 1 commit
-
-
Dave Cheney authored
The tradition is to use _posix when the platform extends beyond unix variants. As windows has its own file, rename to the more usual _unix. R=golang-dev, r CC=golang-dev https://golang.org/cl/10320043
-
- 03 Aug, 2012 1 commit
-
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6442080
-
- 13 Mar, 2012 2 commits
-
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5783092
-
Shenghou Ma authored
R=golang-dev, rsc, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/5754083
-
- 16 Feb, 2012 1 commit
-
-
Rob Pike authored
The set of errors forwarded by the os package varied with system and was therefore non-portable. Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission. One or two more may need to come, but let's keep the set very small to discourage thinking about errors that way. R=mikioh.mikioh, gustavo, r, rsc CC=golang-dev https://golang.org/cl/5672047
-
- 14 Feb, 2012 1 commit
-
-
Anthony Martin authored
This lets us get rid of the OS-dependent implementations of SyscallError. The name "Err" was chosen to match the PathError type. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5651084
-
- 10 Feb, 2012 1 commit
-
-
Brad Fitzpatrick authored
Delete O_NDELAY, O_NONBLOCK, O_NOCTTY, O_ASYNC. Clean up some docs. Rename ShellExpand -> ExpandEnv. Make NewFile take a uintptr; change File.Fd to return one. (for API compatibility between Unix and Windows) Fixes #2947 R=golang-dev, r CC=golang-dev https://golang.org/cl/5655045
-
- 18 Jan, 2012 1 commit
-
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5556044
-
- 17 Dec, 2011 1 commit
-
-
Christopher Nielsen authored
Add NetBSD to mksignals.sh and generate files. While we're here, also add netbsd to the +build list where appropriate. R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5492064
-
- 14 Nov, 2011 1 commit
-
-
Russ Cox authored
- syscall (not os) now defines the Errno type. - the low-level assembly functions Syscall, Syscall6, and so on return Errno, not uintptr - syscall wrappers all return error, not uintptr. R=golang-dev, mikioh.mikioh, r, alex.brainman CC=golang-dev https://golang.org/cl/5372080
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/5298073
-
- 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
-
- 03 Jun, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #1891 R=rsc CC=golang-dev https://golang.org/cl/4550112
-
- 02 Apr, 2011 1 commit
-
-
Yuval Pavel Zholkover authored
R=rsc, ality, r, r2 CC=golang-dev https://golang.org/cl/4149046
-
- 16 Feb, 2011 2 commits
-
-
Russ Cox authored
R=r, r2 CC=golang-dev https://golang.org/cl/4175053
-
Albert Strasheim authored
syscall: add MCL_* flags for mlockall R=rsc CC=golang-dev https://golang.org/cl/4177044
-
- 31 Jan, 2011 1 commit
-
-
Albert Strasheim authored
R=rsc CC=golang-dev https://golang.org/cl/4017045
-
- 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
-
- 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 4th set of files. R=rsc CC=golang-dev https://golang.org/cl/180049
-
- 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=r http://go/go-review/1017034
-
- 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
-
- 15 Oct, 2009 1 commit
-
-
Robert Griesemer authored
only associate a couple of functions as factories for os.Error. Replaces CL 35628 (abandoned). R=rsc DELTA=35 (26 added, 0 deleted, 9 changed) OCL=35754 CL=35768
-
- 07 Oct, 2009 1 commit
-
-
Russ Cox authored
R=gri DELTA=566 (4 added, 14 deleted, 548 changed) OCL=35410 CL=35419
-
- 22 Sep, 2009 1 commit
-
-
Russ Cox authored
similar tweaks to make debug/proc, net, os build. R=r DELTA=861 (855 added, 4 deleted, 2 changed) OCL=34877 CL=34890
-
- 11 Aug, 2009 1 commit
-
-
Russ Cox authored
R=r DELTA=95 (0 added, 0 deleted, 95 changed) OCL=33012 CL=33012
-
- 26 Jun, 2009 1 commit
-
-
Russ Cox authored
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
-
- 09 Jun, 2009 1 commit
-
-
Rob Pike authored
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
-
- 02 Jun, 2009 1 commit
-
-
Russ Cox authored
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
-
- 18 May, 2009 1 commit
-
-
Russ Cox authored
R=r DELTA=215 (186 added, 0 deleted, 29 changed) OCL=28968 CL=28995
-
- 14 May, 2009 1 commit
-
-
Russ Cox authored
R=r DELTA=534 (353 added, 99 deleted, 82 changed) OCL=28783 CL=28783
-
- 08 May, 2009 1 commit
-
-
Russ Cox authored
if both types are named, they must be the same type (arising from the same declaration). R=r,gri DELTA=44 (21 added, 4 deleted, 19 changed) OCL=28436 CL=28577
-