1. 03 Apr, 2012 7 commits
  2. 02 Apr, 2012 12 commits
  3. 31 Mar, 2012 2 commits
  4. 30 Mar, 2012 8 commits
  5. 28 Mar, 2012 7 commits
  6. 27 Mar, 2012 4 commits
    • Andrew Gerrand's avatar
      cmd/godoc: use virtual filesystem to implement -templates flag · d71d11fa
      Andrew Gerrand authored
      R=golang-dev, gri, rsc
      CC=golang-dev
      https://golang.org/cl/5921045
      d71d11fa
    • Russ Cox's avatar
      runtime: work around false negative in deadlock detection · 5eb007de
      Russ Cox authored
      Not a complete fix for issue 3342, but fixes the trivial case.
      There may still be a race in the instants before and after
      a scavenger-induced garbage collection.
      
      Intended to be "obviously safe": a call to runtime·gosched
      before main.main is no different than a call to runtime.Gosched
      at the beginning of main.main, and it is (or had better be)
      safe to call runtime.Gosched at any point during main.
      
      Update #3342.
      
      R=iant
      CC=golang-dev
      https://golang.org/cl/5919052
      5eb007de
    • Russ Cox's avatar
      cmd/go: respect $GOBIN always · 9d7076b1
      Russ Cox authored
      Another attempt at https://golang.org/cl/5754088.
      
      Before, we only consulted $GOBIN for source code
      found in $GOROOT, but that's confusing to explain
      and less useful.  The new behavior lets users set
      GOBIN=$HOME/bin and have all go-compiled binaries
      installed there.
      
      Tested a few cases in test.bash.
      
      Ran all.bash with and without $GOBIN and it works.
      Even so, I expect it to break the builders,
      like it did last time, we can debug from there.
      
      Fixes #3269 (again).
      Fixes #3396.
      Fixes #3397.
      
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/5927051
      9d7076b1
    • Russ Cox's avatar
      go/build: fix import check · 67186274
      Russ Cox authored
      When we find a package in DIR/src/foo, we only let it
      be known as foo if there is no other foo in an earlier
      GOPATH directory or the GOROOT directory.
      The GOROOT check was looking in GOROOT/src/foo
      instead of GOROOT/src/pkg/foo, which meant that
      the import paths "lib9", "libbio", "libmach", and so
      on were unavailable, and the import paths "math",
      "errors", and so on were available.  Correct this.
      
      Fixes #3390.
      
      R=golang-dev, minux.ma
      CC=golang-dev
      https://golang.org/cl/5927050
      67186274