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
cmd/ld: generate relocated DWARF in hostobj mode

While we're here, downgrade DWARF to version 2.
We're not using any version 3 features, and OS X gdb
only supports version 2.

Fixes issue 3436.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7891044
cmd/ld: fix typo

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7552045
debug/dwarf: support for DWARF 3

R=rsc
CC=golang-dev
https://codereview.appspot.com/7662045
runtime: prevent garbage collection during hashmap insertion

Inserting a key-value pair into a hashmap storing keys or values
indirectly can cause the garbage collector to find the hashmap in
an inconsistent	state.

Fixes issue 5074.

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://codereview.appspot.com/7913043
bytes,strings: remove user name from BUG in comment

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7856048
cmd/gc: implement revised rule for shifts in equality.

R=rsc, daniel.morsing
CC=golang-dev
https://codereview.appspot.com/7613046
doc/go1.1.html: add links to the text, write some new sections

R=golang-dev, rsc, dave
CC=golang-dev
https://codereview.appspot.com/7914043
cmd/5l: fix arm build

Fixes build. One part of ../misc/cgo/test appears to be unhappy but this does not cause the build to fail.

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