doc/articles: state that slices/arrays start at the 0th element

Fixes issue 5881.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/11892043
net: document sockaddr interface

This is in preparation for runtime-integrated network pollster for BSD
variants.

Update issue 5199

R=golang-dev, fvbommel, dave
CC=golang-dev
https://codereview.appspot.com/11984043
net: remove redundant comment on isWildcard

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/11985043
runtime: allow SetFinalizer with a func(interface{})

Fixes issue 5368.

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

Committer: Dmitriy Vyukov <dvyukov@google.com>
net: fix memory leaks on windows
Close netpoll descriptor along with socket.
Ensure that error paths close the descriptor as well.

R=golang-dev, mikioh.mikioh, alex.brainman
CC=golang-dev
https://codereview.appspot.com/11987043
runtime: do not split stacks in syscall status
Split stack checks (morestack) corrupt g->sched,
but g->sched must be preserved consistent for GC/traceback.
The change implements runtime.notetsleepg function,
which does entersyscall/exitsyscall and is carefully arranged
to not call any split functions in between.

R=rsc
CC=golang-dev
https://codereview.appspot.com/11575044
runtime: fix freebsd build
notetsleep: nosplit stack overflow
        120	assumed on entry to notetsleep
        80	after notetsleep uses 40
        72	on entry to runtime.futexsleep
        16	after runtime.futexsleep uses 56
        8	on entry to runtime.printf
        -16	after runtime.printf uses 24

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12047043
runtime: fix openbsd build
notetsleep: nosplit stack overflow
        120	assumed on entry to notetsleep
        96	after notetsleep uses 24
        88	on entry to runtime.semasleep
        32	after runtime.semasleep uses 56
        24	on entry to runtime.nanotime
        -8	after runtime.nanotime uses 32

Nanotime seems to be using only 24 bytes of stack space.
Unless I am missing something.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12041044
runtime: fix linux/arm build
notetsleep: nosplit stack overflow
        128	assumed on entry to notetsleep
        80	after notetsleep uses 48
        44	after runtime.futexsleep uses 36
        -12	after runtime.timediv uses 56

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12049043
runtime: fix arm build

The current failure is:
fatal error: runtime: stack split during syscall
goroutine 2 [stack split]:
_addv(0xb6fa0f28, 0xd0a5112e, 0x13156d6e, 0xf8475800, 0xd)
        /usr/local/go/src/pkg/runtime/vlrt_arm.c:66 fp=0xb6fa0ef8
notetsleep(0xb6fa0f9c, 0xf8475800, 0xd, 0x0, 0x0, ...)
        /usr/local/go/src/pkg/runtime/lock_futex.c:156 +0xd0 fp=0xb6fa0f18
runtime.notetsleepg(0xb6fa0f9c, 0xf8475800, 0xd)
        /usr/local/go/src/pkg/runtime/lock_futex.c:197 +0x74 fp=0xb6fa0f3c

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12052043
math/big: better documentation for Rat.Float64

R=adonovan, r
CC=golang-dev
https://codereview.appspot.com/11961043
runtime: fix arm build

The current failure is:
fatal error: runtime: stack split during syscall
goroutine 2 [stack split]:
_si2v(0xb6ebaebc, 0x3b9aca00)
        /usr/local/go/src/pkg/runtime/vlrt_arm.c:628 fp=0xb6ebae9c
runtime.timediv(0xf8475800, 0xd, 0x3b9aca00, 0xb6ebaef4)
        /usr/local/go/src/pkg/runtime/runtime.c:424 +0x1c fp=0xb6ebaed4

Just adding textflag 7 causes the following error:
notetsleep: nosplit stack overflow
        128	assumed on entry to notetsleep
        96	after notetsleep uses 32
        60	after runtime.futexsleep uses 36
        4	after runtime.timediv uses 56
        -4	after _si2v uses 8

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12001045
runtime: fix timediv calls on NetBSD, OpenBSD

Document endian-ness assumption.

R=dvyukov
CC=golang-dev
https://codereview.appspot.com/12056044
runtime: adjust timediv to avoid _vasop; mark _subv okay

R=dvyukov
CC=golang-dev
https://codereview.appspot.com/12028046
build: break builds

I want to see the timing information in build logs,
and we can't see the logs for "ok" builds.
So make the build fail everywhere.

Will roll back immediately.

TBR=dvyukov
CC=golang-dev
https://codereview.appspot.com/12058046
go/parser: selectors may be method expressions

R=adonovan
CC=golang-dev
https://codereview.appspot.com/12062043
build: fix build

As promised.

TBR=dvyukov
CC=golang-dev
https://codereview.appspot.com/12063043
go/parser: don't report name errors if DeclarationErrors is not set

R=adonovan
CC=golang-dev
https://codereview.appspot.com/12072043
doc/codewalk: test source code

Fixes issue 2648.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/11331043
cmd/gc: make bisonerrors compatible with GNU Bison 3.0

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