runtime: unbreak netbsd builds

Fix signal handling so that Go builds on NetBSD.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7759048

Committer: Russ Cox <rsc@golang.org>
build: fix for 32-bit windows builds on 64-bit windows system

Thanks to jon.forums@ for the fix.

Fixes issue 5051.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7813045
runtime: remove struct BitTarget

R=golang-dev
CC=dvyukov, golang-dev, rsc
https://codereview.appspot.com/7845043

Committer: Russ Cox <rsc@golang.org>
build: skip benchmarks on OpenBSD

They are making the build die. I want to be able to see that everything else is okay.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7546049
runtime: use AES hash for compound objects.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7716047
net: fix build with CGO_ENABLED=0

R=golang-dev, rsc, mikioh.mikioh
CC=golang-dev
https://codereview.appspot.com/7857044
doc/go_faq.html: add entry about pointer to interface

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7546050
cmd/gc: ensure unique parameter and result names in function types

In addition to fixing the bug, the check is now linear instead of quadratic.

Fixes issue 4469.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7773047
net, runtime: enable runtime-integrated pollster on Linux/ARM.

Results from linux/arm on a Samsung Chromebook (from dfc):
localhost(~/go/src/pkg/net) % ~/go/misc/benchcmp {old,new}.txt
benchmark                           old ns/op    new ns/op    delta
BenchmarkTCP4OneShot                   568840       350526  -38.38%
BenchmarkTCP4OneShot-2                 359054       206708  -42.43%
BenchmarkTCP4OneShotTimeout            637464       363550  -42.97%
BenchmarkTCP4OneShotTimeout-2          374255       216695  -42.10%
BenchmarkTCP4Persistent                184974        64984  -64.87%
BenchmarkTCP4Persistent-2              109902        47195  -57.06%
BenchmarkTCP4PersistentTimeout         210039        64789  -69.15%
BenchmarkTCP4PersistentTimeout-2       124284        43374  -65.10%
BenchmarkTCP6OneShot                   672278       362116  -46.14%
BenchmarkTCP6OneShot-2                 383631       216400  -43.59%
BenchmarkTCP6OneShotTimeout            680740       378306  -44.43%
BenchmarkTCP6OneShotTimeout-2          397524       230152  -42.10%
BenchmarkTCP6Persistent                172346        65292  -62.12%
BenchmarkTCP6Persistent-2              106229        42096  -60.37%
BenchmarkTCP6PersistentTimeout         161149        65138  -59.58%
BenchmarkTCP6PersistentTimeout-2       152276        44548  -70.75%

R=golang-dev, dave, bradfitz, dvyukov, rsc
CC=golang-dev
https://codereview.appspot.com/7820045
runtime: scan the type of an interface value

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

Committer: Russ Cox <rsc@golang.org>
codereview: re-enable 15-second status prints

Also print all status changes when using hg -v.

The start_status_thread call was lost during the refactoring in
https://codereview.appspot.com/5395044/diff/6006/lib/codereview/codereview.py
Oops.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7834044
doc: explain why cmd/go uses https for repositories and how to work around it
Fixes issue 3418.

R=golang-dev, r
CC=adg, golang-dev
https://codereview.appspot.com/7712045

Committer: Rob Pike <r@golang.org>
A+C: Herbert Georg Fischer (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/7861044
spec: remove special int rule for shifts

The rule is not concistently followed by gc.
It appears that gccgo is ignoring it. go/types
does not implement this rule. However, both
gccgo and now go/types can compile/type-check
the entire std library (and thus all the shift
expressions occuring in it) w/o errors. For
more details see the discussion in issue 4883.

Fixes issue 4880.
Fixes issue 4881.
Fixes issue 4883.

R=rsc, r, iant, ken, ken, mtj, rogpeppe
CC=golang-dev
https://codereview.appspot.com/7707043
net/http: less flaky leaking goroutine test

Fixes issue 5005

R=golang-dev, adg, fullung
CC=golang-dev
https://codereview.appspot.com/7777043
go/doc: fix TODO

R=r
CC=golang-dev
https://codereview.appspot.com/7716049
net/http: fix test breakage on Windows

Treat the Windows net server as uninteresting for leak
purposes too.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7818048
cmd/gc: missing type inference for untyped complex() calls.

Fixes issue 5014.

R=golang-dev, r, rsc, daniel.morsing
CC=golang-dev
https://codereview.appspot.com/7664043
net/http: don't test for goroutine leaks in short mode

Too annoying and flaky to debug for now. Later. This
tangent has taken enough time.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7863043
bytes,string: move the BUG to the comment of the function it's about
Avoids printing it every time we ask a question about the package from
the command line.

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