cmd/go: stop using $GOROOT and $GOBIN in script output

They were necessary to produce a canonical script
when we checked in build scripts, but now they're just
getting in the way.

Fixes issue 3279.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5796068
cmd/godoc: fix directory read

Undo CL 5783076 and apply correct fix.

The /doc hack is wrong.  The code to handle this case was
already there and just needs a simple fix:

 	// We didn't find any directories containing Go files.
 	// If some directory returned successfully, use that.
-	if len(all) == 0 && first != nil {
+	if !haveGo {
 		for _, d := range first {
 			haveName[d.Name()] = true
 			all = append(all, d)

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5783079
net/http: return appropriate errors from ReadRequest

Fixes issue 3298

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5783080
A+C: add Ingo Oeser (individual CLA)

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5794061
html/template: doc nit

Execute's data is untrusted regardless of package.

R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/5797062
codereview: fix for Mercurial 2.1

Mercurial: the Python of version control systems.
Python: the Mercurial of programming languages.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5777066
cmd/go: allow ssh tunnelled bzr, git and svn

This is often used in private hosting and collaborating environments.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5753063

Committer: Russ Cox <rsc@golang.org>
gc: correct comment in runtime.go

R=rsc, iant
CC=golang-dev
http://codereview.appspot.com/5777057
build: update Makefile to track source code dependencies better
      Also update .hgignore to ignore y.output.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5797061
build: build correct cmd/dist matching GOHOSTARCH
        Fix for issue 3210 comment #1.

R=adg, rsc
CC=golang-dev
http://codereview.appspot.com/5794057
runtime: print error on receipt of signal on non-Go thread

It's the best we can do before Go 1.

For issue 3250; not a fix but at least less mysterious.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5797068
os: document FileInfo.Size as system-dependent for irregular files

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/5795059
cmd/fix: add rules for net/http -> net/http/httputil renames

And merge the httputil fix into go1rename.

R=golang-dev, r, dsymonds, r, rsc
CC=golang-dev
http://codereview.appspot.com/5696084
log: fix doc comment for Ldate

Fixes issue 3303.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5795062
cmd/go: make net/... match net too

Otherwise there's no good way to get both, and it comes up often.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5794064
cmd/go: make go get new.code/... work

Fixes issue 2909.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5796072
runtime: fix windows/amd64

Maybe.

TBR=bradfitz
CC=golang-dev
http://codereview.appspot.com/5754091
cmd/go: respect $GOBIN always

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.

Fixes issue 3269.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5754088
undo CL 5754088 / cae9a7c0db06

broke builders

««« original CL description
cmd/go: respect $GOBIN always

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.

Fixes issue 3269.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5754088
»»»

TBR=bradfitz
CC=golang-dev
http://codereview.appspot.com/5794065
os/exec: fix typo in documentation

R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/5797073

Committer: Robert Griesemer <gri@golang.org>