text/template: improve error reporting for executing an empty template
Fixes issue 4522.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7502044
lib9: add mktempdir, removeall, runprog

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7523043
cmd/vet: isolate the type checking code into a separate file
We can enable/disable type checking with a build tag.
Should simplify cutting the go1.1 distribution free of go/types.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7482045
make.bash,bat: add -tags gotypes to the build
This installs type checking into go vet.
(To be removed before releasing Go 1.1)

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7528044
net/http: change user agent string

Some IDS somewhere thinks "Go http package" is a virus.
Make it something else for Go 1.1. Dumb but easy.

R=golang-dev, bradfitz, minux.ma
CC=golang-dev
https://codereview.appspot.com/7532043
runtime: fix netbsd, windows build

TBR=golang-dev
CC=golang-dev
https://codereview.appspot.com/7539043
net/http/httputil: fix build

TBR=bradfitz
CC=golang-dev
https://codereview.appspot.com/7540043
cmd/cgo: split cgo_export into cgo_export_static and cgo_export_dynamic

Also emit cgo_ldflag pragmas.

R=golang-dev, remyoudompheng, iant
CC=golang-dev
https://codereview.appspot.com/7530043
net/http: remove allocations in HeaderWriteSubset

Before:
BenchmarkHeaderWriteSubset  500000  2354 ns/op  197 B/op  2 allocs/op
After:
BenchmarkHeaderWriteSubset 1000000  2085 ns/op    0 B/op  0 allocs/op

Fixes issue 3761

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7508043
exp/norm: delete, part of moving to go.text
See also https://codereview.appspot.com/7520044

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7533044
doc/effective_go.html: unify and expand the discussion of Sprintf and String
It's a common mistake to build a recursive String method; explain it well and
show how to avoid it.

R=golang-dev, bradfitz, adg
CC=golang-dev
https://codereview.appspot.com/7486049
all: Skip AllocsPerRun tests if GOMAXPROCS>1.

Fixes issue 4974.

R=rsc, bradfitz, r
CC=golang-dev
https://codereview.appspot.com/7545043

Committer: Rob Pike <r@golang.org>
go/types: cleanup of assignment checks

Also:
- cleaner handling of constants w/ unknown value
- removed several TODOs

R=adonovan
CC=golang-dev
https://codereview.appspot.com/7473043
go/types: implement constant string(x) conversions

Fixes issue 4982.

R=adonovan, r
CC=golang-dev
https://codereview.appspot.com/7537043
all: delete a couple of mentions of the exp and old trees

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/7551043
cmd/fix: remove redundant 0 port

Fixes issue 4505.

R=golang-dev, mikioh.mikioh
CC=golang-dev
https://codereview.appspot.com/7468043

Committer: Mikio Hara <mikioh.mikioh@gmail.com>
net: fix plan9 build

R=golang-dev, akumar
CC=golang-dev
https://codereview.appspot.com/7564043
net: fix typo in skip message

R=golang-dev, akumar
CC=golang-dev
https://codereview.appspot.com/7523044
net: fix accept/connect deadline handling
Ensure that accept/connect respect deadline,
even if the operation can be executed w/o blocking.
Note this changes external behavior, but it makes
it consistent with read/write.
Factor out deadline check into pollServer.PrepareRead/Write,
in preparation for edge triggered pollServer.
Ensure that pollServer.WaitRead/Write are not called concurrently
by adding rio/wio locks around connect/accept.

R=golang-dev, mikioh.mikioh, bradfitz, iant
CC=golang-dev
https://codereview.appspot.com/7436048
runtime: fix cgo callbacks on windows

Fixes issue 4955.

R=golang-dev, alex.brainman
CC=golang-dev
https://codereview.appspot.com/7563043