runtime/pprof: disable testing under race detector
until we decide what to do with issues 5659/5736.
Profiling with race detector is not very useful in general,
and now it makes race builders red.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/10523043
misc/{bbedit|IntelliJIDEA|kate}: add missing delete predeclared identifier

In general the description should describe what is added or fixed,
not how it was done (the code does this), but in this case the cause
was delete was missing, so the fix is to add it.

Fixes  issue 5765.

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

Committer: Rob Pike <r@golang.org>
net/rpc: call client.Close() when test exit

Fixes issue 5768.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/10503043

Committer: Rob Pike <r@golang.org>
net/rpc: fix RegisterName rejects "." character.

Fixes issue 5617.

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

Committer: Rob Pike <r@golang.org>
net/http: Transport should return an error when response body ends early

If a server response contains a Content-Length and the body is short,
the Transport should end in io.ErrUnexpectedEOF, not io.EOF.

Fixes issue 5738

R=golang-dev, kevlar, r
CC=golang-dev
https://codereview.appspot.com/10237050
hash: tweak the package docs
No semantic change.
I found the wording distracting in a couple of instances and was moved to improve it.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/10478048
syscall: reduce duplication between *bsd and linux

Part 2 of several.

R=rsc, mikioh.mikioh, r
CC=golang-dev
https://codereview.appspot.com/10462043
crypto/sha1: mark block as non-escaping
The compiler still gets the escape analysis wrong, but the annotation here is correct.

R=golang-dev, dave, bradfitz
CC=golang-dev
https://codereview.appspot.com/10514046
libmach: trivial: resolve unused parameter warnings

Fix a bunch of warnings detected by https://codereview.appspot.com/8090044

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/10483044
runtime: change netpoll in preparation for windows implementation

- change runtime_pollWait so it does not return
  closed or timeout if IO is ready - windows must
  know if IO has completed or not even after
  interruption;
- add (*pollDesc).Prepare(mode int) that can be
  used for both read and write, same for Wait;
- introduce runtime_pollWaitCanceled and expose
  it in net as (*pollDesc).WaitCanceled(mode int);

Full windows netpoll changes are
here https://codereview.appspot.com/8670044/.

R=golang-dev, dvyukov
CC=golang-dev
https://codereview.appspot.com/10485043
libmach: trivial: resolve unused parameter warnings

Fix a bunch of warnings detected by https://codereview.appspot.com/8090044.

Same as CL 10483044, but for FreeBSD.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/10498044
test: add shift expression incorrectly rejected by gccgo.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/10483045
runtime: do not mark os memory as executable on windows

Resubmit 3c2cddfbdaec now that windows callbacks
are not generated during runtime.

Fixes issue 5494

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://codereview.appspot.com/10487043