net/http: shorten and clean up TestTransportConcurrency

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7817044
net/http: add StripPrefix example; simplify code

The example is the same as the FileServer one, but
it's relevant for both.

Also use strings.TrimPrefix while I'm here.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7598046
cmd/gc: steal escape analysis info when inlining

Usually, there is no esc info when inlining, but there will be when generating inlined wrapper functions.

If we don't use this information, we get invalid addresses on the stack.

Fixes issue 5056.

R=golang-dev, rsc
CC=golang-dev, remyoudompheng
https://codereview.appspot.com/7850045
doc/go1.1.html: document some of the library changes.
Still much to do, but this is a start.

R=golang-dev, adg, bradfitz, remyoudompheng
CC=golang-dev
https://codereview.appspot.com/7729046
database/sql: add DB.SetMaxIdleConns

Update issue 4805

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7634045
database/sql: doc cleanup on the DB type

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/7865044
doc/go1.1.html: document the surrogate and BOM changes

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/7853048
runtime: fix erroneous overflow protection on netbsd/openbsd semasleep.

On NetBSD tv_sec is already an int64 so no need for a test.

On OpenBSD, semasleep expects a Unix time as argument,
and 1<<30 is in 2004.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7810044
lib/godoc: convert indentation to tabs.

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

Committer: Russ Cox <rsc@golang.org>
misc/emacs: Add support for godef

godef[1][2] is a third party tool for printing information about
expressions, especially the location of their definition. This can be
used to implement a "jump to definition" function. Unlike
cross-language solutions like ctags, godef does not require an index,
operates on the Go AST instead of symbols and works across packages,
including the standard library.

This patch implements two new public functions: godef-describe (C-c
C-d) and godef-jump (C-d C-j). godef-describe describes the expression
at point, printing its type, and godef-jump jumps to its definition.

[1]: https://code.google.com/p/rog-go/source/browse/exp/cmd/godef/
[2]: go get code.google.com/p/rog-go/exp/cmd/godef

R=adonovan, cw, patrick.allen.higgins, sameer
CC=golang-dev
https://codereview.appspot.com/7781043

Committer: Alan Donovan <adonovan@google.com>
cmd/fix: revert IPv6 scoped address zone support of IPNet

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7554051
net: make use of reflect.DeepEqual in IP manipulation tests

Also applies camel style to test case holders.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7884043
runtime: add missing copyright

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7884045
unicode: remove an extra space

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

Committer: Russ Cox <rsc@golang.org>
go/doc, godoc: improved note reading

- A note doesn't have to be in the first
comment of a comment group anymore, and
several notes may appear in the same comment
group (e.g., it is fairly common to have a
TODO(uid) note immediately following another
comment).

- Define a doc.Note type which also contains
note uid and position info.

- Better formatting in godoc output. The position
information is not yet used, but could be used to
locate the note in the source text if desired.

Fixes issue 4843.

R=r, cnicolaou
CC=gobot, golang-dev
https://codereview.appspot.com/7496048
unicode: modify a comment to the convention format.

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

Committer: Russ Cox <rsc@golang.org>
cmd/gc: support channel types in the garbage collector

R=golang-dev, dvyukov, rsc
CC=golang-dev
https://codereview.appspot.com/7473044
runtime: optimize calls to addroot()

R=golang-dev, rsc
CC=dvyukov, golang-dev
https://codereview.appspot.com/7879043
cmd/ld: replace -hostobj with -linkmode

Still disabled. Need to fix TLS.

R=golang-dev, minux.ma, bradfitz
CC=golang-dev
https://codereview.appspot.com/7783044
misc/dashboard: show correct dir name in README

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