math: ARM assembly implementation for Abs

Obtained on 700MHz OMAP4460:
benchmark       old ns/op    new ns/op    delta
BenchmarkAbs           61           23  -61.63%

R=dave, remyoudompheng, mtj, rsc
CC=golang-dev
http://codereview.appspot.com/6094047
net/http: lex cleanup

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

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/gc: fix addresses escaping through closures called in-place.

Fixes issue 3545.

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

Committer: Russ Cox <rsc@golang.org>
misc/dist: require 10.6 or later for OS X .pkgs

This changes the misc/dist program to generate OS X
packages using pkgbuild and productbuild.

The productbuild utility makes it easy to generate
packages with a custom Distribution file.  This allows
us to add an installcheck script that presents a
friendly message to users who are running on an old
version of Mac OS X.

The change also fixes a few issues with the
postinstall script:

 - In-repo version of the script has been made
   executable. Installers generated using the new
   tools couldn't execute it otherwise.

 - It now uses -d for checking for the existence
   of the Xcode specs directory.

 - The call to sudo.bash has been dropped since cov
   and prof aren't bundled with the binary
   distributions.

Fixes issue 3455.

Tested on 10.5.8, 10.6.0, 10.6.8 and 10.7.3.

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

Committer: Andrew Gerrand <adg@golang.org>
time: change float expression to ensure it is an integer

When I increased the number of bits that gccgo uses for
untyped floats, the expression 0.52*1e9 was no longer
integral.  This patch fixes that.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6113043
test: test handling of negative float constants

This used to panic when compiled by gccgo.

Updates issue 2876.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6100055
net: fix typo in Listener.File() documentation

R=golang-dev, dave, rsc
CC=golang-dev, remy
http://codereview.appspot.com/6097044
net/http: allow clients to disable keep-alive

Fixes issue 3540.

R=golang-dev, bradfitz, gustavo
CC=golang-dev
http://codereview.appspot.com/5996044
text/template: improve the error reporting for unexported fields.
Changes suggested by rsc after last CL.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6117044
path: document that Clean deletes trailing slashes.

Fixes issue 3492.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6112044
mime/multipart: report io.EOF correctly on part ending without newlines

If a part ends with "--boundary--", without a final "\r\n",
that's also a graceful EOF, and we should return io.EOF instead
of the fmt-wrapped io.EOF from bufio.Reader.ReadSlice.

I found this bug parsing an image attachment from gmail.
Minimal test case stripped down from the original
gmail-generated attachment included.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6118043
exp/html: make inBodyIM match spec

This CL corrects the remaining differences that I could find between the
implementation of inBodyIM and the spec:

Handle <rp> and <rt>.

Adjust SVG and MathML attributes.

Reconstruct active formatting elements in the "any other start tag" case.

Pass 7 additional tests.

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

Committer: Nigel Tao <nigeltao@golang.org>