misc/dashboard: remove obsolete package builder code

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5790045
fmt: minor tweak of package doc to show headings in godoc

R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5781052

Committer: Andrew Gerrand <adg@golang.org>
undo CL 5699082 / 6223c9fe432b

We decided not to record installs, for now at least.

««« original CL description
misc/dashboard: record install counts for external packages

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

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5790044
doc: fix metadata in go_mem.html

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5781053
cmd/go: rebuild external test package dependencies

Was missing recompilation of packages imported only
by external test packages (package foo_test), primarily
because Root was not set, so those packages looked like
they were from a different Go tree, so they were not
recompiled if they already existed.

Also clean things up so that only one call to computeStale
is needed.

Fixes issue 3238.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5786048
time: mention receiver in Unix, UnixNano docs

Fixes issue 3248.

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5784052
net: document ReadMsgUnix, WriteMsgUnix

Fixes issue 3247.

R=golang-dev, jsing
CC=golang-dev
http://codereview.appspot.com/5784051
cmd/godoc: add support for serving templates
doc: convert to use godoc built-in templates

tmpltohtml is gone, to avoid having a second copy of the code.
Instead, godoc -url /doc/go1.html will print the actual HTML
served for that URL.  "make" will generate files named go1.rawhtml
etc, which can be fed through tidy.

It can be hard to tell from the codereview diffs, but all the
tmpl files have been renamed to be html files and then
have "Template": true added.

R=golang-dev, adg, r, gri
CC=golang-dev
http://codereview.appspot.com/5782046
cmd/gofmt: fix race in long test

Fixes issue 3249.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5792043
crypto/x509: allow server gated crypto in windows systemVerify

Also factors out some code into functions to make
systemVerify easier to read.

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

Committer: Adam Langley <agl@golang.org>
go/parser: use test harness for short tests

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5782044
cgo, runtime: diagnose callback on non-Go thread

Before:
$ go run x.go
signal 11 (core dumped)
$

After:
$ go run x.go
runtime: cgo callback on thread not created by Go.
signal 11 (core dumped)
$

For issue 3068.
Not a fix, but as much of a fix as we can do before Go 1.

R=golang-dev, rogpeppe, gri
CC=golang-dev
http://codereview.appspot.com/5781047
misc/cgo: re-enable testso

The test.bash file generates .so file using gcc, builds the executable
using the go tool and then run it with the $LD_LIBRARY_PATH variable
pointing to the directory where the .so file lives.

Fixes issue 2982.

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

Committer: Russ Cox <rsc@golang.org>
doc: various update to command documents
        1. consistent usage section (go tool xxx)
        2. reformat cmd/ld document with minor correction
           document which -H flags are valid on which ld
           document -d flag can't be used on Windows.
           document -Hwindowsgui

R=golang-dev, r, rsc
CC=golang-dev
http://codereview.appspot.com/5782043
hgignore: ignoring misc/cgo/testso/main instead of /misc/cgo/testso/testso

test.bash does not remove main if the test fails, so it is good to keep main in .hgignore.

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

Committer: Russ Cox <rsc@golang.org>
database/sql{,driver}: add ErrBadConn

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5785043
all: gofmt -w -s src misc

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5781058
test: skip . files in directory

Xcode generates ._foo.go files.

R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/5786055
runtime: inline calls to notok

When a very low-level system call that should never fail
does fail, we call notok, which crashes the program.
Often, we are then left with only the program counter as
information about the crash, and it is in notok.
Instead, inline calls to notok (it is just one instruction
on most systems) so that the program counter will
tell us which system call is unhappy.

R=golang-dev, gri, minux.ma, bradfitz
CC=golang-dev
http://codereview.appspot.com/5792048
cmd/go: add env command, use to fix misc/cgo/testso

Fixes 386 build on 64-bit machines.

R=golang-dev, bradfitz, minux.ma
CC=golang-dev
http://codereview.appspot.com/5785053