1. 10 Sep, 2016 1 commit
  2. 03 Apr, 2016 1 commit
  3. 10 Oct, 2015 1 commit
  4. 08 Sep, 2014 1 commit
  5. 25 Feb, 2014 1 commit
    • Dave Cheney's avatar
      all: merge NaCl branch (part 1) · 7c8280c9
      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
      7c8280c9
  6. 09 Jan, 2014 1 commit
  7. 23 Aug, 2013 1 commit
  8. 24 Jun, 2013 1 commit
  9. 03 Aug, 2012 1 commit
  10. 13 Mar, 2012 2 commits
  11. 16 Feb, 2012 1 commit
    • Rob Pike's avatar
      os: delete os.EINVAL and so on · 56069f03
      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
      56069f03
  12. 14 Feb, 2012 1 commit
  13. 10 Feb, 2012 1 commit
  14. 18 Jan, 2012 1 commit
  15. 17 Dec, 2011 1 commit
  16. 14 Nov, 2011 1 commit
    • Russ Cox's avatar
      syscall: use error · c017a829
      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
      c017a829
  17. 02 Nov, 2011 1 commit
  18. 15 Sep, 2011 1 commit
    • Russ Cox's avatar
      build: add build comments to core packages · 2715956f
      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
      2715956f
  19. 03 Jun, 2011 1 commit
  20. 02 Apr, 2011 1 commit
  21. 16 Feb, 2011 2 commits
  22. 31 Jan, 2011 1 commit
  23. 27 Apr, 2010 1 commit
    • Russ Cox's avatar
      net: introduce net.Error interface · 47a05334
      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
      47a05334
  24. 15 Dec, 2009 1 commit
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · d65a5cce
      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
      d65a5cce
  25. 09 Nov, 2009 1 commit
  26. 06 Nov, 2009 1 commit
  27. 05 Nov, 2009 1 commit
  28. 03 Nov, 2009 1 commit
    • Russ Cox's avatar
      package net cleanup · c83b8386
      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
      c83b8386
  29. 15 Oct, 2009 1 commit
  30. 07 Oct, 2009 1 commit
  31. 22 Sep, 2009 1 commit
    • Russ Cox's avatar
      nacl syscall package. · b428456d
      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
      b428456d
  32. 11 Aug, 2009 1 commit
  33. 26 Jun, 2009 1 commit
    • Russ Cox's avatar
      Change os.Error convention: · a0bcaf4c
      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
      a0bcaf4c
  34. 09 Jun, 2009 1 commit
    • Rob Pike's avatar
      mv src/lib to src/pkg · d90e7cba
      Rob Pike authored
      tests: all.bash passes, gobuild still works, godoc still works.
      
      R=rsc
      OCL=30096
      CL=30102
      d90e7cba
  35. 02 Jun, 2009 1 commit
  36. 18 May, 2009 1 commit
  37. 14 May, 2009 1 commit
  38. 08 May, 2009 1 commit
    • Russ Cox's avatar
      implications of stricter type equality: · 917aa35f
      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
      917aa35f