runtime: fix deadlock detector false negative
The issue was that scvg is assigned *after* the scavenger goroutine is started,
so when the scavenger calls entersyscall() the g==scvg check can fail.
Fixes issue 5025.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7629045
A+C: Adrian Nos (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/7526046
net/rpc/jsonrpc: nil pointer deference on invalid reply.
Fixes issue 5006.

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

Committer: Russ Cox <rsc@golang.org>
encoding/xml: name space bug fixes

If two fields have the same name but different explicit name spaces,
treat as non-conflicting. This allows parsing common XML formats
that have ns1:tag and ns2:tag in the same XML element.
Fixes issue 4691.

Allow setting the default name space for unadorned tags, by
writing to Decoder.DefaultSpace. This allows turned the job of
parsing common XML formats that have tag and ns2:tag in the
same XML element into the first case by setting DefaultSpace="ns1".
Fixes issue 3703.

Use name space attributes when decoding.
Attach name space to attributes when encoding.
Could be done with fewer annotations, but semantically correct as is.
Fixes issue 3526.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7227056
runtime: add network polling support into scheduler
This is a part of the bigger change that moves network poller into runtime:
https://codereview.appspot.com/7326051/

R=golang-dev, bradfitz, mikioh.mikioh, rsc
CC=golang-dev
https://codereview.appspot.com/7448048
runtime: fix build

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7760043
runtime: faster & safer hash function

Uses AES hardware instructions on 386/amd64 to implement
a fast hash function.  Incorporates a random key to
thwart hash collision DOS attacks.
Depends on CL#7548043 for new assembly instructions.

Update issue 3885
Helps some by making hashing faster.  Go time drops from
0.65s to 0.51s.

R=rsc, r, bradfitz, remyoudompheng, khr, dsymonds, minux.ma, elias.naur
CC=golang-dev
https://codereview.appspot.com/7543043
effective_go.html: fix semaphore example
It didn't work properly according to the Go memory model.
Fixes issue 5023.

R=golang-dev, dvyukov, adg
CC=golang-dev
https://codereview.appspot.com/7698045
runtime: Fix plan9 aes hash initialization.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7593045
os/signal: windows is supported, update comment
Fixes issue 5035.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7519045
net: refactoring in preparation for integrated network poller
Introduce pollDesc struct, to split netFD struct into fd-related
and poller-related parts.

R=golang-dev, bradfitz, iant
CC=golang-dev
https://codereview.appspot.com/7762044
go/doc: set receiver type position for embedded methods

This was a bug that didn't manifest itself before CL 7674044;
but with that CL and without this fix, the go/doc tests fail.
(The bug fixed by 7674044 and the bug fixed here cancelled
each other out w/ respect to the go/doc tests).

R=rsc
CC=golang-dev
https://codereview.appspot.com/7628045
go/printer, gofmt: avoid extra final comma in multi-line signatures

The parameter list layout function was incorrectly computing the
end of the previous line in cases where a parameter type spanned
multiple lines. As a result, an extra (valid, but not needed)
comma was introduced before the paremeter list's closing parenthesis.

Fixes issue 4533.

R=rsc
CC=golang-dev
https://codereview.appspot.com/7674044
encoding/xml: reject > chain with non-element

Fixes issue 5033.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7764044
go/types: delete from main repo; part of move to go.exp
See also https://codereview.appspot.com/7656044

R=golang-dev, gri, rsc
CC=golang-dev
https://codereview.appspot.com/7625048
test/bench/garbage: fix parser benchmark

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7762046
spec: rewrite the description of panic and recover.
The old description was misleading and inaccurate.

Fixes issue 4774.

R=iant, rsc, gri
CC=golang-dev
https://codereview.appspot.com/7761044
misc/bbedit, misc/notepadplus: remove executable bits from files.

R=golang-dev, dave, iant
CC=golang-dev
https://codereview.appspot.com/7765043

Committer: Ian Lance Taylor <iant@golang.org>
html/template: Ensure release of namespace mutex in Template.Execute()

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

Committer: Rob Pike <r@golang.org>
api/next.txt: remove references to go/types, now in separate repo

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