math: update Gamma special cases
Match new C99 values for special cases.

Fixes issue 2977.

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

Committer: Russ Cox <rsc@golang.org>
encoding/ascii85: fix panic caused by special case

Special case for encoding 4 zeros as 'z' didn't
update source slice, causing 'index out of bounds'
panic in destination slice.

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

Committer: Russ Cox <rsc@golang.org>
cmd/go: in go get, don't try to perform discovery on non-hosts

Before, "go get -v foo/bar" was assuming "foo" was a hostname
and trying to perform discovery on it. Now, require a dot in
the first path component (the hostname).

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5981057
build: unset GOROOT_FINAL before tests
        Fix the builders.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5976068
crypto/rsa: only enforce that de ≡ 1 mod |(ℤ/nℤ)*| in order to load private keys generated by GnuTLS.

Previously we checked that de ≡ 1 mod φ(n). Since φ(n) is a multiple
of |(ℤ/nℤ)*|, this encompassed the new check, but it was too strict as
keys generated by GnuTLS would be rejected when gcd(p-1,q-1)≠1.

(Also updated the error strings in crypto/rsa to contain the package name, which some were missing.)

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5867043
syscall, net: use native endianness for Linux netlink messages

Tested using 6g and gccgo on x86_64 GNU/Linux and using gccgo
on PowerPC GNU/Linux (which is big-endian).

R=golang-dev, bradfitz, mikioh.mikioh, iant
CC=golang-dev
http://codereview.appspot.com/5975073
misc/dist: label 386 and amd64 as "32-bit x86" and "64-bit x86"

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5986043
doc: shorten project dashboard link

Fixes issue 3420.
(which was already fixed)

R=golang-dev, bradfitz, dsymonds
CC=golang-dev
http://codereview.appspot.com/5987043
misc/dist: include directories in distribution tar and zip files.

Fixes issue 3458.

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

Committer: Andrew Gerrand <adg@golang.org>
path/filepath: move out of temp directory before deleting it in TestAbs

Fixes issue 3476.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5986045
doc/go_spec: fix typo

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5990043

Committer: David Symonds <dsymonds@golang.org>
runtime: remove redundant code

R=rsc
CC=golang-dev
http://codereview.appspot.com/5987046
runtime: add 64-bit atomics
This is factored out part of:
http://codereview.appspot.com/5279048/
(Parallel GC)

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5985047
runtime: replace XOR AX, AX with MOV $0, AX

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5985048
test/bench/garbage: fix parser benchmark
+add standard bench output to tree2
+print GOMAXPROCS as go test does

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5992044
runtime: make GC stats per-M
This is factored out part of:
http://codereview.appspot.com/5279048/
(Parallel GC)

benchmark                             old ns/op    new ns/op    delta
garbage.BenchmarkParser              3999106750   3975026500   -0.60%
garbage.BenchmarkParser-2            3720553750   3719196500   -0.04%
garbage.BenchmarkParser-4            3502857000   3474980500   -0.80%
garbage.BenchmarkParser-8            3375448000   3341310500   -1.01%
garbage.BenchmarkParserLastPause      329401000    324097000   -1.61%
garbage.BenchmarkParserLastPause-2    208953000    214222000   +2.52%
garbage.BenchmarkParserLastPause-4    110933000    111656000   +0.65%
garbage.BenchmarkParserLastPause-8     71969000     78230000   +8.70%
garbage.BenchmarkParserPause          230808842    197237400  -14.55%
garbage.BenchmarkParserPause-2        123674365    125197595   +1.23%
garbage.BenchmarkParserPause-4         80518525     85710333   +6.45%
garbage.BenchmarkParserPause-8         58310243     56940512   -2.35%
garbage.BenchmarkTree2                 31471700     31289400   -0.58%
garbage.BenchmarkTree2-2               21536800     21086300   -2.09%
garbage.BenchmarkTree2-4               11074700     10880000   -1.76%
garbage.BenchmarkTree2-8                7568600      7351400   -2.87%
garbage.BenchmarkTree2LastPause       314664000    312840000   -0.58%
garbage.BenchmarkTree2LastPause-2     215319000    210815000   -2.09%
garbage.BenchmarkTree2LastPause-4     110698000    108751000   -1.76%
garbage.BenchmarkTree2LastPause-8      75635000     73463000   -2.87%
garbage.BenchmarkTree2Pause           174280857    173147571   -0.65%
garbage.BenchmarkTree2Pause-2         131332714    129665761   -1.27%
garbage.BenchmarkTree2Pause-4          93803095     93422904   -0.41%
garbage.BenchmarkTree2Pause-8          86242333     85146761   -1.27%

R=rsc
CC=golang-dev
http://codereview.appspot.com/5987045
runtime: minor refactoring in preparation for parallel GC
factor sweepspan() out of sweep(), no logical changes

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5991047
A+C: Stéphane Travostino (individual CLA)

R=golang-dev
CC=golang-dev
http://codereview.appspot.com/5991048
net/url: Correctly escape URL as per RFC 3986

The shouldEscape function did not correctly escape the reserved characters listed in RFC 3986 §2.2, breaking some strict web servers.
Fixes issue 3433.

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

Committer: Russ Cox <rsc@golang.org>
crypto/aes: add benchmarks for decryption and key expansion

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