build: print go banner before restoring windows PATH

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6492117
ld: add .gcdata and .gcbss sections

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

Committer: Russ Cox <rsc@golang.org>
effective_go: use html/template instead of text/template
Should have done this a long time ago.
Fixes issue 3811.

R=golang-dev, adg, rsc
CC=golang-dev
http://codereview.appspot.com/6488120
cmd/yacc: allow utf-8 token values
Also clean up the code and allow \U.
Fixes issue 3007.

R=golang-dev, rsc, 0xjnml
CC=golang-dev
http://codereview.appspot.com/6492105
A+C: add Xing Xing (individual CLA)

R=golang-dev, nigeltao
CC=golang-dev
http://codereview.appspot.com/6493121
misc/dashboard/builder: use c:\ as default buildroot on windows

We have some tests (misc/cgo/test) that are disabled only because
they will fail to run on go builder - see issue 3358 for details.
This change will allow us to enable these tests.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6493118
exp/locale/collate: changed API to allow access to different locales through New(),
instead of variables. Several reasons:
- Encourage users of the API to minimize the number of creations and reuse Collate objects.
- Don't rule out the possibility of using initialization code for collators. For some locales
  it will be possible to have very compact representations that can be quickly expanded
  into a proper table on demand.
Other changes:
- Change name of root* vars to main*, as the tables are shared between locales.
- Added Locales() method to get a list of supported locales.

R=r
CC=golang-dev
http://codereview.appspot.com/6498107
cmd/go: treat all commands in exp/ as tools

Nothing in exp should get installed directly in bin,
at least not by default.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6497138
cmd/go: fix build

TBR=r

TBR=r
CC=golang-dev
http://codereview.appspot.com/6496124
go/build: use custom file readers to avoid I/O

When reading Go files, read through import block.
When reading non-Go files, read only leading comments.

R=nigeltao, adg, r
CC=golang-dev
http://codereview.appspot.com/6493068
spec: clarify section on string types

Strings happen to be represented similarly to
byte slices internally, but they don't quite
behave like them: While strings can be indexed,
sliced, and have their len() taken like byte
slices, string elements are not addressable,
make() and cap() is not supported, range loops
operate differently, and they are immutable (and
thus behave like values rather then references).

Fixes issue 4018.

R=r, rsc, iant, ken
CC=golang-dev
http://codereview.appspot.com/6503116
os/exec: don't crash when out of fds

Command.Start could crash before if no fds were available
because a nil *os.File of /dev/null was added to the cleanup
list, which crashed before returning the proper error.

R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/6514043
text/template: towards better errors
Give the right name for errors, and add a test to check we're
getting the errors we expect.
Also fix an ordering bug (calling add after stopParse) that
caused a nil indirection rather than a helpful error.
Fixes issue 3280.

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