doc: update Mercurial installation instructions

R=r
CC=golang-dev
http://codereview.appspot.com/6031046
strconv: make malloc tests more reliable

Fixes issue 3495.

I adapted fmt.TestCountMallocs to fix the
existing tests. As the resulting tests did not
appear to belong to either itoa or ftoa I moved
them into their own file.

R=bradfitz, fullung
CC=golang-dev
http://codereview.appspot.com/5985072
text/template/parse: fix doc comment
    Fixes issue 3529.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6037046
time: parse fractional second with single digit

Fixes issue 3487.

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

Committer: Rob Pike <r@golang.org>
runtime: update defs for openbsd

Update runtime defs for openbsd. Add struct __tfork, which will be
needed by an upcoming change.

R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/6007050

Committer: Andrew Gerrand <adg@golang.org>
doc/code: mention $GOBIN

R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5989045

Committer: Andrew Gerrand <adg@golang.org>
CONTRIBUTORS: add Colby Ranger (Google CLA)

R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/6037052
syscall: fix duplicate fd bug for Plan 9

This change comes from CL 5536043,
created by Andrey Mirtchovski. His
description follows:

"The plan9 exec child handler does not manage
dup-ed fds from the parent correctly: when a
dup-ed file descriptor appears in the child's fd
list it is closed when first encountered and then
subsequent attempt to dup it later in Pass 2 fails,
resulting in 'fork/exec: fd out of range or not
open'."

R=golang-dev, rminnich, ality
CC=golang-dev, mirtchovski, rsc
http://codereview.appspot.com/6009046

Committer: Anthony Martin <ality@pbrane.org>
os: avoid panic when testing errors on Plan 9

R=golang-dev, bradfitz, akumar
CC=golang-dev
http://codereview.appspot.com/6017043
cmd/prof: don't build on Plan 9 for now.

R=golang-dev, bradfitz, akumar
CC=golang-dev
http://codereview.appspot.com/5629054
flag: update style.

R=golang-dev, r, r
CC=golang-dev
http://codereview.appspot.com/6051044
exp/html: more comprehensive tests

Currently, the html package only runs a limited subset of the tests
in the testdata directory. This tends to limit development of the
parser to fixing the bug that causes the first failing test.

This CL gives it the ability to run all the tests and produce a
log showing the status of each test. (It does it when tests are run with
'go test --update-logs') The status is listed as PASS, FAIL, or PARSE
(PARSE means that parsing produced the correct tree, but rendering and
re-parsing does not produce the same tree).

When 'go test' is run without --update-logs, it runs the tests marked
'PASS' in the logs (and the parsing portion of the tests marked 'PARSE').
Thus it will fail if there has been a regression since the last
time the logs were updated.

My goal for this CL is to allow develoment of the html package to
be less test-driven, while still having the advantages of regression
tests. In other words, one can work on any portion of the parser
and quickly see whether he is breaking things or improving them.

Current statistics of the tests:
$ grep ^PASS *.log|wc -l
        1017
$ grep ^PARSE *.log|wc -l
          46
$ grep ^FAIL *.log|wc -l
         181

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6031049

Committer: Nigel Tao <nigeltao@golang.org>
codereview: restore help messages

Docstrings were not being set for the wrapper
functions returned by the hgcommand decorator.

R=golang-dev, minux.ma, rsc
CC=golang-dev
http://codereview.appspot.com/6059043
lib9: fix warning under clang 3.1

Fixes issue 3534.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6035054
os/user: simplify test

Don't require the home directory to exist. Just check
that it returns something.

Fixes issue 3531

R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/6056045
exp/html: adjust beforeHTMLIM to match spec

Add case for doctype tokens (which are ignored).

This CL does not change the status of any tests.

R=golang-dev, nigeltao
CC=golang-dev
http://codereview.appspot.com/6061047

Committer: Nigel Tao <nigeltao@golang.org>
exp/html: improve beforeHeadIM

Add a case to ignore doctype tokens.

Clean up the flow of control to more clearly match the spec.

Pass one more test.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6062047

Committer: Nigel Tao <nigeltao@golang.org>
encoding/asn1: allow lengths up to the maximum int value.

Previously we capped lengths at 2**24 rather than 2**31.

R=golang-dev, r, r
CC=golang-dev
http://codereview.appspot.com/6050050
net/http/httputil: Clean up ReverseProxy maxLatencyWriter goroutines.

When FlushInterval is specified on ReverseProxy, the ResponseWriter is
wrapped with a maxLatencyWriter that periodically flushes in a
goroutine. That goroutine was not being cleaned up at the end of the
request. This resulted in a panic when Flush() was being called on a
ResponseWriter that was closed.

The code was updated to always send the done message to the flushLoop()
goroutine after copying the body. Futhermore, the code was refactored to
allow the test to verify the maxLatencyWriter behavior.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/6033043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
doc/articles/image_draw.html: Change ColorImage to Uniform

Fixes issue 3474.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6048050

Committer: Nigel Tao <nigeltao@golang.org>