reflect: make Index and Slice accept strings

Fixes issue 3284.

R=golang-dev, r, rsc
CC=golang-dev
http://codereview.appspot.com/6643043

Committer: Russ Cox <rsc@golang.org>
build: u.h for plan9 arm

R=golang-dev, minux.ma, ality
CC=golang-dev
http://codereview.appspot.com/6743052

Committer: Russ Cox <rsc@golang.org>
cmd/gc: rebuild builtin.c

Was not in sync with runtime.go, but the diffs
didn't really matter, so nothing broke.

R=ken2
CC=golang-dev
http://codereview.appspot.com/6733057
net: add test for Conn, PacketConn and Listener

I just realized that there is no good place for adding
exposed function or method tests because server, unicast
and multicast_test.go do test complicated multiple test
objects, platform behaviros, protocol behaviors and API,
at the same time. Perhaps splitting them into per test
object might be better, so this CL provides tests focused
on API.

R=rsc
CC=gobot, golang-dev
http://codereview.appspot.com/6501057

Committer: Russ Cox <rsc@golang.org>
runtime: store types of allocated objects

R=rsc
CC=golang-dev
http://codereview.appspot.com/6569057

Committer: Russ Cox <rsc@golang.org>
A+C: Richard Eric Gavaletz (individual CLA)

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6734055
go/build: document the behavior of multiple build constraints.

R=rsc, pkleiweg
CC=golang-dev
http://codereview.appspot.com/6725052
A+C: Jingcheng Zhang and Patrick Smith (individual CLA x2)

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/6749055
runtime: sizeclass in MSpan should be int32.

R=golang-dev, minux.ma, dave, rsc
CC=golang-dev
http://codereview.appspot.com/6643046

Committer: Russ Cox <rsc@golang.org>
encoding/xml: expand allowed entity names

Previously, multi-byte characters were not allowed. Also certain single-byte
characters, such as '-', were disallowed.
Fixes issue 3813.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6641052

Committer: Russ Cox <rsc@golang.org>
os: fix documentation typos: s/an array/a slice/.

R=dsymonds
CC=golang-dev
http://codereview.appspot.com/6736057
lib9, cmd/dist, cmd/5l: embed GOARM into cmd/5l and auto detect GOARM

R=rsc, dave
CC=golang-dev
http://codereview.appspot.com/6638043
cmd/gc: fix inlining bug for composite literals in if statements.

Fixes issue 4230.

R=golang-dev, rsc
CC=golang-dev, remy
http://codereview.appspot.com/6640056
cmd/go: add join template function.

It's common to use the go list command in shell scripts, but
currently it's awkward to print a string slice from the Package
type in a way that's easily parseable by the shell.  For example:

        go list -f '{{range .Deps}}{{.}}
        {{end}}'

(and even that prints an unwanted new line at the end|).

To make this easier, this CL adds a "join" function to the
format template.

        go list -f '{{join .Deps "\n"}}'

R=rsc, dsymonds, minux.ma, remyoudompheng, r
CC=golang-dev
http://codereview.appspot.com/6680044
cmd/gc: fix strict tree property for AST for OAS2RECV nodes.

in typecheck and walk, conversion from OAS2RECV to OAS2
and to OSELRECV2 duplicated the ->rlist->n to ->right
thereby destroying the strict tree-ness of the AST (up to
ONAMES) of course.  Several recursions in esc.c and inl.c
and probably elsewhere assume nodes of the tree aren't duplicated.
rather than defensively code around this, i'd rather assert
these cases away and fix their cause.

(this was tripped in 6741044)

R=rsc
CC=golang-dev
http://codereview.appspot.com/6750043
cmd/gc: track parameter flow, step 0: synthesize name nodes for anonymous PPARAMOUTs without breaking anything.

further work on parameter flow tracking for escape analysis depends on this.

R=rsc
CC=golang-dev
http://codereview.appspot.com/6600044
cmd/gc: escape analysis to track flow of in to out parameters.

includes step 0: synthesize outparams, from 6600044
step 1: give outparams loopdepth 0 and verify unchanged results
step 2: generate esc:$mask tags, but still tie to sink if a param has mask != 0
next step: use in esccall (and ORETURN with implicit OAS2FUNC) to avoid tying to sink

R=rsc
CC=golang-dev
http://codereview.appspot.com/6610054
cmd/5l, cmd/6l, cmd/8l: put floating point numbers in .rodata section

R=golang-dev, rsc
CC=0xe2.0x9a.0x9b, golang-dev
http://codereview.appspot.com/6742063
cmd/gc: Mark use of builtin functions as calls.

Fixes issue 4097.

R=rsc
CC=golang-dev, gri
http://codereview.appspot.com/6749059
exp/type/staging: implemented recent spec changes

Also:
- type-checking receivers
- get rid of some multiple errors at the same position

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