gc: use quoted string format in import error

R=ken2
CC=golang-dev
http://codereview.appspot.com/5794077
go/build: fix match

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

Committer: Russ Cox <rsc@golang.org>
text/template: fix a couple of parse bugs around identifiers.
1) Poor error checking in variable declarations admitted
$x=2 or even $x%2.
2) Need white space or suitable termination character
after identifiers, so $x+2 doesn't parse, in case we want it
to mean something one day.
Number 2 in particular prevents mistakes that we will have
to honor later and so is necessary for Go 1.

Fixes issue 3270.
Fixes issue 3271.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5795073
fmt: remove dead code
     Also fix a typo in comment.

R=golang-dev, r, r
CC=golang-dev
http://codereview.appspot.com/5808043
go/printer, gofmt: fix multi-line logic

A node spans multiple lines if the line difference
between start and end point is > 0 (rather than > 1).
Fixes some odd cases introduced by CL 5706055;
pointed out by dsymonds.

Added corresponding test case. The other change
in the .golden file reverts to the status before
the CL mentioned above and is correct.

gofmt -w src misc changes godoc.go back to where
it was before the CL mentioned above.

Fixes issue 3304.

R=dsymonds, rsc
CC=golang-dev
http://codereview.appspot.com/5820044
text/template: variables do not take arguments

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5821044
html/template: fix panic on Clone

Fixes issue 3281

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5819044
doc: add Go image/draw package article and convert code snippets to Go1.

Originally published on The Go Programming Language Blog, September 29, 2011.

http://blog.golang.org/2011/09/go-imagedraw-package.html

Update issue 2547.

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

Committer: Andrew Gerrand <adg@golang.org>
all: various typos

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5820045
doc: add Go Concurrency Patterns: Timing out, moving on article

Originally published on The Go Programming Language Blog, September 23, 2010.

http://blog.golang.org/2010/09/go-concurrency-patterns-timing-out-and.html

Update issue 2547.

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

Committer: Andrew Gerrand <adg@golang.org>
godoc: fix vet warnings for untagged struct literals

src/cmd/godoc/filesystem.go:337:10: os.PathError struct literal uses untagged fields
src/cmd/godoc/filesystem.go:355:10: os.PathError struct literal uses untagged fields

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5820046
cmd/godoc: s/ignore/appengine/ in appinit.go +build constraint

R=golang-dev
CC=golang-dev
http://codereview.appspot.com/5784072
runtime/cgo: darwin signal masking

Fixes issue 3101 (again).

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5825043
runtime/cgo: linux signal masking

Fixes issue 3314.
Fixes issue 3101 (again).

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5820047
html/template: fix nil pointer bug
Fixes issue 3272.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5819046
misc/dist: force modes to 0755 or 0644 in tarballs

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5823045
misc/vim: restore fileencodings.
Currently, ftdetect/gofiletype.vim set fileencodings to open the file as
utf-8 encoding event if the file does not contain multibyte characters.
But fileencodings is global option.

$ vim foo.txt
:set fileencodings
utf-8,ucs-bom,cp932

$ vim foo.go
:set fileencodings
utf-8

This change restore fileencodings before opening the file.
Also added specify fileformats=unix.

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5718045

Committer: David Symonds <dsymonds@golang.org>
misc/dist: remove exp and old before building

Fixes issue 3317.

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5784074
misc/dist: don't lose mode bits when setting tar permissions

R=golang-dev, bsiegert, rsc
CC=golang-dev
http://codereview.appspot.com/5822046
os: IsNotExist() should also consider ERROR_PATH_NOT_FOUND on Windows
    Also update documentation about IsExist() and IsNotExist(), they are not
    about files only.

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