go/token: let FileSet.AddFile take a negative base

Negative base now means "automatic". Fixes a higher
level race.

Fixes issue 5418

R=gri
CC=golang-dev
https://codereview.appspot.com/9269043
cmd/api: don't print out except.txt removed features to stdout

It's just noise. They've already been acknowledged in except.txt.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/9392047
misc/vim: test.sh seems to only work on Mac OS X.

cmp(1) on FreeBSD requires two file arguments.  grep -P on Linux (at least
Ubuntu 12.04) is described in the man page as "This is highly
experimental" and doesn't seem to work. On FreeBSD the man page states
"This option  is not supported in FreeBSD."  Needed this to work while
debugging some funky behavior of 'Import' in my local vim setup.

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/7675043

Committer: David Symonds <dsymonds@golang.org>
doc/go_spec: fix typos
Fixes issue 5456.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/9400044
cmd/gc: improve syntax error for "import testing"
for this program:
package A
import testing

old diagnostics:
pkg.go:2: syntax error: unexpected semicolon or newline, expecting string literal

now:
pkg.go:2: syntax error: missing import path; require quoted string

Fixes issue 5332.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/9393043
image: minor update of comments.

R=golang-dev, iant, bradfitz, nigeltao
CC=golang-dev
https://codereview.appspot.com/9408044

Committer: Nigel Tao <nigeltao@golang.org>
archive/tar: skip NUL-filled unused octal fields
Fixes issue 5290.

R=golang-dev, dave, bradfitz, r
CC=golang-dev
https://codereview.appspot.com/8763044
A+C: Alberto Garc?a Hierro (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/9419045
net/http: Fix basic authentication with empty password

        The encoded string must include the : separating the username
        and the password, even when the latter is empty. See
        http://www.ietf.org/rfc/rfc2617.txt for more information.

R=golang-dev, bradfitz, adg
CC=golang-dev
https://codereview.appspot.com/8475043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/vet: fix for changes to go/types package
Need to use (or stub) exact.Value.

R=gri
CC=golang-dev
https://codereview.appspot.com/9126043
encoding/json: allocate less in NewEncoder

The *Encoder is almost always garbage. It doesn't need an
encodeState inside of it (and its bytes.Buffer), since it's
only needed locally inside of Encode.

benchmark                 old ns/op    new ns/op    delta
BenchmarkEncoderEncode         2562         2553   -0.35%

benchmark                 old bytes    new bytes    delta
BenchmarkEncoderEncode          283          102  -63.96%

R=r
CC=gobot, golang-dev
https://codereview.appspot.com/9365044
runtime/bytes: fast Compare for byte arrays and strings.

Uses SSE instructions to process 16 bytes at a time.

fixes issue 5354

R=bradfitz, google
CC=golang-dev
https://codereview.appspot.com/8853048
cmd/gc: fix race instrumentation of selectors T(v).Field

Fixes issue 5424.

R=golang-dev, daniel.morsing, dvyukov, r
CC=golang-dev
https://codereview.appspot.com/9033048
database/sql: use method values instead of generating closures

Reduces garbage.

R=adg, r
CC=dsymonds, gobot, golang-dev
https://codereview.appspot.com/9088045
runtime: enable stack scanning by frames

Update issue 5134

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/9406046
testing/quick: fix for aliased types, delete duplicate uint8 test, and fix randFloat64() to give random numbers from (-math.MaxFloat64, math.MaxFloat64).

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

Committer: Rob Pike <r@golang.org>
misc/emacs: Add support for methods with unnamed receiver

This fixes fontification, navigation and indentation for methods
of the form `func (Foo) Bar...`

R=adonovan
CC=gobot, golang-dev
https://codereview.appspot.com/8951043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
os/user: faster user lookup on Windows

Trying to lookup user's display name with directory services can
take several seconds when user's computer is not in a domain.
As a workaround, check if computer is joined in a domain first,
and don't use directory services if it is not.
Additionally, don't leak tokens in user.Current().
Fixes issue 5298.

R=golang-dev, bradfitz, alex.brainman, lucio.dere
CC=golang-dev
https://codereview.appspot.com/8541047

Committer: Alex Brainman <alex.brainman@gmail.com>
cmd/yacc: don't emit line comment when -l is given
Fixes issue 5447.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/9343045
cmd/godoc: don't warn about HEAD requests

Fixes issue 5451

R=gri
CC=dsymonds, gobot, golang-dev
https://codereview.appspot.com/9388043