]>
Cypherpunks repositories - gostls13.git/log
Jan Ziak [Wed, 13 Jun 2012 20:23:53 +0000 (16:23 -0400)]
[release-branch.go1] runtime: fix counting of free objects
««« backport
393bec50494e
runtime: fix counting of free objects
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6206056
»»»
Brad Fitzpatrick [Wed, 13 Jun 2012 20:23:52 +0000 (16:23 -0400)]
[release-branch.go1] mime/multipart: fix handling of empty parts without CRLF before next part
««« backport
32a8b0e41031
mime/multipart: fix handling of empty parts without CRLF before next part
Empty parts can be either of the form:
a) "--separator\r\n", header (w/ trailing 2xCRLF), \r\n "--separator"...
or
b) "--separator\r\n", header (w/ trailing 2xCRLF), "--separator"...
We never handled case b). In fact the RFC seems kinda vague about
it, but browsers seem to do a), and App Engine's synthetic POST
bodies after blob uploads is of form b).
So handle them both, and add a bunch of tests.
(I can't promise these are the last fixes to multipart, especially
considering its history, but I'm growing increasingly confident at
least, and I've never submitted a multipart CL with known bugs
outstanding, including this time.)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
6212046
»»»
Jan Mercl [Wed, 13 Jun 2012 20:23:51 +0000 (16:23 -0400)]
[release-branch.go1] regexp/syntax: replace internal error on unexpected ) w/ ErrUnexpectedParen
««« backport
27d0a516b7eb
regexp/syntax: replace internal error on unexpected ) w/ ErrUnexpectedParen
Unbalanced extra right parenthesis produced an internal error instead of
a more descriptive one.
Fixes #3406.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
6201063
»»»
Michael Gehring [Wed, 13 Jun 2012 20:23:50 +0000 (16:23 -0400)]
[release-branch.go1] crypto/tls: fix decoding of certLen in certificateMsg.unmarshal
««« backport
bcfa9fc88361
crypto/tls: fix decoding of certLen in certificateMsg.unmarshal
certLen was decoded incorrectly if length > 2^16-1.
R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/
6197077
»»»
Adam Langley [Wed, 13 Jun 2012 20:23:49 +0000 (16:23 -0400)]
[release-branch.go1] A+C: add Michael Gehring (individual CLA)
««« backport
086b6525aea6
A+C: add Michael Gehring (individual CLA)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
6188076
»»»
David Symonds [Wed, 13 Jun 2012 20:23:48 +0000 (16:23 -0400)]
[release-branch.go1] A+C: Jan Ziak (individual CLA)
««« backport
c6edd5218579
A+C: Jan Ziak (individual CLA)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
6120047
»»»
Francisco Souza [Wed, 13 Jun 2012 20:23:48 +0000 (16:23 -0400)]
[release-branch.go1] cmd/go: fix remote help reference to "go help packages"
««« backport
adc987ffdd99
cmd/go: fix remote help reference to "go help packages"
go help remote used to reference "go help importpath", which has
changed to "go help packages".
Fixes #3598.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
6201065
»»»
Nigel Tao [Wed, 13 Jun 2012 20:23:47 +0000 (16:23 -0400)]
[release-branch.go1] go: fix the import path "./..." not matching ".".
««« backport
cdd1fa20bb08
go: fix the import path "./..." not matching ".".
Tested manually.
Fixes #3554.
Before:
$ cd $GOROOT/src/pkg
$ go list io
io
$ go list io/...
io
io/ioutil
$ cd $GOROOT/src/pkg/io
$ go list .
io
$ go list ./...
io/ioutil
After:
$ cd $GOROOT/src/pkg
$ go list io
io
$ go list io/...
io
io/ioutil
$ cd $GOROOT/src/pkg/io
$ go list .
io
$ go list ./...
io
io/ioutil
$ go list ././...
io
io/ioutil
$ go list ././.././io/...
io
io/ioutil
$ go list ../image
image
$ go list ../image/...
image
image/color
image/draw
image/gif
image/jpeg
image/png
$ go list ../.../template
html/template
text/template
$ cd $GOROOT/src/pkg
$ go list ./io
io
$ go list ./io/...
io
io/ioutil
$ go list ./.../pprof
net/http/pprof
runtime/pprof
$ go list ./compress
can't load package: package compress: no Go source files in /home/nigeltao/go/src/pkg/compress
$ go list ./compress/...
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
$ cd $GOROOT/src/pkg/code.google.com
$ go list ./p/leveldb-go/...
code.google.com/p/leveldb-go/leveldb
code.google.com/p/leveldb-go/leveldb/crc
code.google.com/p/leveldb-go/leveldb/db
code.google.com/p/leveldb-go/leveldb/memdb
code.google.com/p/leveldb-go/leveldb/memfs
code.google.com/p/leveldb-go/leveldb/record
code.google.com/p/leveldb-go/leveldb/table
code.google.com/p/leveldb-go/manualtest/filelock
$ go list ./p/.../truetype
code.google.com/p/freetype-go/example/truetype
code.google.com/p/freetype-go/freetype/truetype
$ go list ./p/.../example
warning: "./p/.../example" matched no packages
$ go list ./p/.../example/...
code.google.com/p/freetype-go/example/freetype
code.google.com/p/freetype-go/example/gamma
code.google.com/p/freetype-go/example/raster
code.google.com/p/freetype-go/example/round
code.google.com/p/freetype-go/example/truetype
code.google.com/p/x-go-binding/example/imgview
code.google.com/p/x-go-binding/example/xgb
R=rsc
CC=golang-dev
https://golang.org/cl/
6194056
»»»
Russ Cox [Wed, 13 Jun 2012 20:23:46 +0000 (16:23 -0400)]
[release-branch.go1] crypto/aes: fix comment
««« backport
d4f7f7438d1f
crypto/aes: fix comment
Fixes #3589.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/
6190044
»»»
Jean-Marc Eurin [Wed, 13 Jun 2012 20:23:45 +0000 (16:23 -0400)]
[release-branch.go1] misc/emacs: Restore the window position after a successful gofmt.
««« backport
9d6693456f93
misc/emacs: Restore the window position after a successful gofmt.
This adds restoring the window position so that the buffer doesn't jump around after the erase/copy.
R=sameer
CC=golang-dev
https://golang.org/cl/
5981055
»»»
Sameer Ajmani [Wed, 13 Jun 2012 20:23:44 +0000 (16:23 -0400)]
[release-branch.go1] C: correct entry: jmeurin, not jme.
««« backport
726c57a92c5d
C: correct entry: jmeurin, not jme.
R=golang-dev, rsc
CC=golang-dev, jme, jmeurin
https://golang.org/cl/
6192057
»»»
Sameer Ajmani [Wed, 13 Jun 2012 20:23:43 +0000 (16:23 -0400)]
[release-branch.go1] C: Jeremy Ellington (Google CLA)
««« backport
448f98d1af28
C: Jeremy Ellington (Google CLA)
R=golang-dev, rsc
CC=golang-dev, jme
https://golang.org/cl/
6197058
»»»
Shenghou Ma [Wed, 13 Jun 2012 20:23:43 +0000 (16:23 -0400)]
[release-branch.go1] runtime: fix c compiler warning
««« backport
e388ce51be75
runtime: fix c compiler warning
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6185047
»»»
Rémy Oudompheng [Wed, 13 Jun 2012 20:23:42 +0000 (16:23 -0400)]
[release-branch.go1] math/big: fix superpolynomial complexity in Karatsuba algorithm.
««« backport
7873186d5774
math/big: fix superpolynomial complexity in Karatsuba algorithm.
benchmark old ns/op new ns/op delta
BenchmarkExp3Power0x10 732 734 +0.27%
BenchmarkExp3Power0x40 834 836 +0.24%
BenchmarkExp3Power0x100 1600 1579 -1.31%
BenchmarkExp3Power0x400 3478 3417 -1.75%
BenchmarkExp3Power0x1000 19388 19229 -0.82%
BenchmarkExp3Power0x4000 160274 156881 -2.12%
BenchmarkExp3Power0x10000
1552050 1372058 -11.60%
BenchmarkExp3Power0x40000
27328710 15216920 -44.32%
BenchmarkExp3Power0x100000
612349000 131407100 -78.54%
BenchmarkExp3Power0x400000
44073524000 1122195000 -97.45%
R=golang-dev, mtj, gri, rsc
CC=golang-dev, remy
https://golang.org/cl/
6176043
»»»
Michael Chaten [Wed, 13 Jun 2012 20:23:41 +0000 (16:23 -0400)]
[release-branch.go1] encoding/json: Fix panic when trying to unmarshal the empty string into an integer
««« backport
7ee60b35f644
encoding/json: Fix panic when trying to unmarshal the empty string into an integer
Fixes #3450.
R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/
6035050
»»»
Adam Langley [Wed, 13 Jun 2012 20:23:40 +0000 (16:23 -0400)]
[release-branch.go1] crypto/x509: fix panic when using unavailable hash function.
««« backport
d8d358ddc6e0
crypto/x509: fix panic when using unavailable hash function.
crypto.Hash.New() changed to panicking when the hash function isn't
linked in, but crypto/x509 still expects it to return nil.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6175047
»»»
Shenghou Ma [Wed, 13 Jun 2012 20:23:39 +0000 (16:23 -0400)]
[release-branch.go1] cmd/dist: remove stray src/pkg/runtime/z* when cleaning
««« backport
26fc3f8aa53e
cmd/dist: remove stray src/pkg/runtime/z* when cleaning
R=golang-dev, bradfitz, dave, rsc, lstoakes, rsc
CC=golang-dev
https://golang.org/cl/
6180044
»»»
Ian Lance Taylor [Wed, 13 Jun 2012 20:23:38 +0000 (16:23 -0400)]
[release-branch.go1] cgo: rename C names for Go types to avoid conflicting with package
««« backport
d063a7844d48
cgo: rename C names for Go types to avoid conflicting with package
Fixes #3371.
R=rsc, bsiegert, r, mtj, iant
CC=golang-dev
https://golang.org/cl/
6131060
»»»
Robert Hencke [Wed, 13 Jun 2012 20:23:38 +0000 (16:23 -0400)]
[release-branch.go1] cmd/go: do not ignore DepsErrors in 'go run'
««« backport
1d4d8324085b
cmd/go: do not ignore DepsErrors in 'go run'
Fixes #3490.
R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/
6040046
»»»
Brad Fitzpatrick [Wed, 13 Jun 2012 20:23:37 +0000 (16:23 -0400)]
[release-branch.go1] encoding/base64: don't ignore underlying souce read error in decode
««« backport
69c9477136d3
encoding/base64: don't ignore underlying souce read error in decode
Fixes #3577
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
6137054
»»»
Brian Dellisanti [Wed, 13 Jun 2012 20:23:36 +0000 (16:23 -0400)]
[release-branch.go1] os/exec: close all internal descriptors when Cmd.Start() fails.
««« backport
9d046474e95a
os/exec: close all internal descriptors when Cmd.Start() fails.
This closes any internal descriptors (pipes, etc) that Cmd.Start() had
opened before it failed.
Fixes #3468.
R=golang-dev, iant, bradfitz
CC=golang-dev
https://golang.org/cl/
5986044
»»»
Ian Lance Taylor [Wed, 13 Jun 2012 20:23:35 +0000 (16:23 -0400)]
[release-branch.go1] A+C: add Brian Dellisanti (individual CLA)
««« backport
f63da4c9c6d7
A+C: add Brian Dellisanti (individual CLA)
R=golang-dev, bsiegert, r
CC=golang-dev
https://golang.org/cl/
6127056
»»»
Anthony Martin [Wed, 13 Jun 2012 20:23:33 +0000 (16:23 -0400)]
[release-branch.go1] path/filepath: fix typo
««« backport
6c742b3b04d1
path/filepath: fix typo
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
6117063
»»»
Dave Cheney [Wed, 13 Jun 2012 20:23:32 +0000 (16:23 -0400)]
[release-branch.go1] lib9: fix warning under clang 3.1
««« backport
73a10f76098b
lib9: fix warning under clang 3.1
Fixes #3534.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6035054
»»»
Shenghou Ma [Wed, 13 Jun 2012 20:23:31 +0000 (16:23 -0400)]
[release-branch.go1] syscall: support Getpid() on Windows
««« backport
6436d0889d29
syscall: support Getpid() on Windows
Fixes #3379.
R=golang-dev, alex.brainman, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/
5909043
»»»
Shenghou Ma [Wed, 13 Jun 2012 20:23:31 +0000 (16:23 -0400)]
[release-branch.go1] cmd/api: allow addition of API
««« backport
d7ef356b8c17
cmd/api: allow addition of API
R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/
5991081
»»»
Brad Fitzpatrick [Wed, 13 Jun 2012 20:23:29 +0000 (16:23 -0400)]
[release-branch.go1] debug/gosym: in test, use temp binary name in /tmp, and clean up.
««« backport
5e1544310d03
debug/gosym: in test, use temp binary name in /tmp, and clean up.
This fixes all.bash on shared machines.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5992078
»»»
Shenghou Ma [Wed, 13 Jun 2012 20:23:28 +0000 (16:23 -0400)]
[release-branch.go1] build: run.bash no longer accepts --no-banner
««« backport
bc79188b0281
build: run.bash no longer accepts --no-banner
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5986063
»»»
Shenghou Ma [Wed, 13 Jun 2012 20:23:28 +0000 (16:23 -0400)]
[release-branch.go1] build: unset GOROOT_FINAL before tests
««« backport
4ee28b87fb90
build: unset GOROOT_FINAL before tests
Fix the builders.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5976068
»»»
Sameer Ajmani [Wed, 13 Jun 2012 20:23:24 +0000 (16:23 -0400)]
[release-branch.go1] misc/emacs: fix go-mode syntax table and whitespace handling.
««« backport
d3896e6fb40e
misc/emacs: fix go-mode syntax table and whitespace handling.
- flag * and / as comment characters
- mark newline as a comment-ender
- include newline in go-mode-whitespace-p
Thanks Jonathan Amsterdam and Steve Yegge for the patch!
R=golang-dev, rsc
CC=golang-dev, jba, stevey
https://golang.org/cl/
5938056
»»»
Andrew Gerrand [Thu, 26 Apr 2012 20:32:05 +0000 (13:32 -0700)]
[release-branch.go1] undo CL
6118059 /
79503f11634a
Accidentally applied to release branch.
««« original CL description
misc/dist: drop repetition in filenames, default to release tag
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6118059
»»»
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6120056
Andrew Gerrand [Thu, 26 Apr 2012 20:05:10 +0000 (13:05 -0700)]
misc/dist: drop repetition in filenames, default to release tag
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6118059
Andrew Gerrand [Thu, 26 Apr 2012 19:50:14 +0000 (12:50 -0700)]
go1.0.1
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6121054
Andrew Gerrand [Thu, 26 Apr 2012 19:29:08 +0000 (12:29 -0700)]
[release-branch.go1] doc: go1.0.1 release notes
««« CL
6123055 /
fdfe4968b115
doc: go1.0.1 release notes
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6123055
»»»
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6109062
Shenghou Ma [Thu, 26 Apr 2012 19:13:15 +0000 (03:13 +0800)]
[release-branch.go1] cmd/godoc: update App Engine README and script for Go 1
««« CL
5849053 /
f68d1d478a97
cmd/godoc: update App Engine README and script for Go 1
R=adg, dsymonds
CC=golang-dev
https://golang.org/cl/
5849053
»»»
Also applied !appengine build constrain to main.go from CL
5969063
so that the godoc app at release-branch.go1 will build and work properly.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
6112063
Andrew Gerrand [Thu, 26 Apr 2012 18:45:54 +0000 (11:45 -0700)]
[release-branch.go1] time: doc fix.
««« CL
6127050 /
6d5417240a0c
time: doc fix.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
6127050
»»»
R=golang-dev
CC=golang-dev
https://golang.org/cl/
6118057
Andrew Gerrand [Thu, 26 Apr 2012 18:39:33 +0000 (11:39 -0700)]
[release-branch.go1] doc: simplify the image_draw article example for converting an image to
««« CL
6119054 /
a7183646b353
doc: simplify the image_draw article example for converting an image to
RGBA.
R=adg, r, bsiegert
CC=golang-dev
https://golang.org/cl/
6119054
»»»
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6119056
Andrew Gerrand [Thu, 26 Apr 2012 18:36:07 +0000 (11:36 -0700)]
[release-branch.go1] cmd/go: new tag selection logic
««« CL
6112060 /
bcd5635a53b0
cmd/go: new tag selection logic
The new logic is "use go1 if it's there, otherwise no tag."
Nothing needs to say "I require go1.0.1", and I want to
preserve some flexibility in defining what tags mean.
Right now (before go1.0.1) there is only one possible tag,
"go1", and I'd like to keep it that way.
R=golang-dev, bradfitz, r, adg
CC=golang-dev
https://golang.org/cl/
6112060
»»»
R=golang-dev
CC=golang-dev
https://golang.org/cl/
6116059
Andrew Gerrand [Thu, 26 Apr 2012 18:34:54 +0000 (11:34 -0700)]
[release-branch.go1] doc: update wiki article to use html/template properly.
««« CL
6116055 /
d282c379aad7
doc: update wiki article to use html/template properly.
Fixes #3569.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
6116055
»»»
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6119055
Russ Cox [Wed, 25 Apr 2012 19:44:30 +0000 (15:44 -0400)]
[release-branch.go1] mime: make ParseMediaType return zero results on error
««« CL
6119051 /
1384d7510575
mime: make ParseMediaType return zero results on error
Fixes #3562
R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/
6119051
»»»
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
6127045
Russ Cox [Tue, 10 Apr 2012 19:14:04 +0000 (15:14 -0400)]
[release-branch.go1] A+C: Akshat Kumar (individual CLA)
««« backport
ca2868ad4611
A+C: Akshat Kumar (individual CLA)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
6004043
»»»
Bobby Powers [Wed, 25 Apr 2012 04:33:33 +0000 (14:33 +1000)]
[release-branch.go1] encoding/json: allow punctuation in tag names
««« backport
233ff5d46b3d
encoding/json: allow punctuation in tag names
everything except backslash and the quote chars is fair game.
Fixes #3546.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
6048047
»»»
Brad Fitzpatrick [Tue, 24 Apr 2012 05:26:48 +0000 (22:26 -0700)]
[release-branch.go1] mime/multipart: report io.EOF correctly on part ending without newlines
««« backport
4ecca118488b
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
https://golang.org/cl/
6118043
»»»
Rob Pike [Tue, 24 Apr 2012 03:17:05 +0000 (13:17 +1000)]
[release-branch.go1] path: document that Clean deletes trailing slashes.
««« backport
ab273014412e
path: document that Clean deletes trailing slashes.
Fixes #3492.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
6112044
»»»
Rémy Oudompheng [Mon, 23 Apr 2012 23:27:19 +0000 (01:27 +0200)]
[release-branch.go1] net: fix typo in Listener.File() documentation
««« backport
0739e30d5df7
net: fix typo in Listener.File() documentation
R=golang-dev, dave, rsc
CC=golang-dev, remy
https://golang.org/cl/
6097044
»»»
Luuk van Dijk [Mon, 23 Apr 2012 19:39:01 +0000 (15:39 -0400)]
[release-branch.go1] cmd/gc: fix addresses escaping through closures called in-place.
««« backport
a890477d3dfb
cmd/gc: fix addresses escaping through closures called in-place.
Fixes #3545.
R=rsc
CC=golang-dev
https://golang.org/cl/
6061043
»»»
Andrew Gerrand [Mon, 2 Apr 2012 22:10:21 +0000 (08:10 +1000)]
[release-branch.go1] doc: sync playground.js
««« backport
953b30b83997
doc: sync playground.js
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5956043
»»»
Rob Pike [Mon, 23 Apr 2012 02:07:02 +0000 (12:07 +1000)]
[release-branch.go1] reflect: document and test TypeOf(nil)
««« backport
82aaf0925029
reflect: document and test TypeOf(nil)
Fixes #3549.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
6107047
»»»
Dave Cheney [Sat, 21 Apr 2012 00:01:32 +0000 (10:01 +1000)]
[release-branch.go1] net: fix race between Close and Read
««« backport
5f24ff99b5f1
net: fix race between Close and Read
Fixes #3507.
Applied the suggested fix from rsc. If the connection
is in closing state then errClosing will bubble up to
the caller.
The fix has been applied to udp, ip and unix as well as
their code path include nil'ing c.fd on close. Func
tests are available in the linked issue that verified
the bug existed there as well.
R=rsc, fullung, alex.brainman, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/
6002053
»»»
Andrew Gerrand [Fri, 20 Apr 2012 14:04:13 +0000 (10:04 -0400)]
[release-branch.go1] doc: don't wrap package names in directory listing
««« backport
f4f63fb397c6
doc: don't wrap package names in directory listing
Fixes #3522.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
6063054
»»»
Shenghou Ma [Thu, 19 Apr 2012 16:41:10 +0000 (00:41 +0800)]
[release-branch.go1] net/http: add example for FileServer to mention StripPrefix
««« backport
362b760ecfc7
net/http: add example for FileServer to mention StripPrefix
Fixes #3530.
R=golang-dev, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/
6032052
»»»
Brad Fitzpatrick [Thu, 19 Apr 2012 16:23:48 +0000 (09:23 -0700)]
[release-branch.go1] A+C: add Bjorn Tillenius (Individual CLA)
««« backport
b93d51d8ac36
A+C: add Bjorn Tillenius (Individual CLA)
R=golang-dev, kevlar
CC=golang-dev
https://golang.org/cl/
6075045
»»»
Brad Fitzpatrick [Thu, 19 Apr 2012 16:18:49 +0000 (09:18 -0700)]
[release-branch.go1] A+C: Add Michael Chaten (Individual CLA)
««« backport
a08a6e660bf0
A+C: Add Michael Chaten (Individual CLA)
R=golang-dev, kevlar
CC=golang-dev
https://golang.org/cl/
6075044
»»»
Benny Siegert [Thu, 19 Apr 2012 01:04:42 +0000 (11:04 +1000)]
[release-branch.go1] doc/articles/image_draw.html: Change ColorImage to Uniform
««« backport
a224d214002e
doc/articles/image_draw.html: Change ColorImage to Uniform
Fixes #3474.
R=nigeltao
CC=golang-dev
https://golang.org/cl/
6048050
»»»
Adam Langley [Wed, 18 Apr 2012 17:41:11 +0000 (13:41 -0400)]
[release-branch.go1] encoding/asn1: allow lengths up to the maximum int value.
««« backport
d088bc4e2e64
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
https://golang.org/cl/
6050050
»»»
David Symonds [Tue, 17 Apr 2012 06:37:35 +0000 (16:37 +1000)]
[release-branch.go1] flag: update style.
««« backport
059ba0d0dc6a
flag: update style.
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/
6051044
»»»
Brad Fitzpatrick [Mon, 16 Apr 2012 17:25:20 +0000 (10:25 -0700)]
[release-branch.go1] CONTRIBUTORS: add Colby Ranger (Google CLA)
««« backport
4875dfefc730
CONTRIBUTORS: add Colby Ranger (Google CLA)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
6037052
»»»
Shenghou Ma [Mon, 16 Apr 2012 16:41:27 +0000 (02:41 +1000)]
[release-branch.go1] doc/code: mention $GOBIN
««« backport
543047268d1a
doc/code: mention $GOBIN
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
5989045
»»»
Robert Hencke [Mon, 16 Apr 2012 01:56:37 +0000 (11:56 +1000)]
[release-branch.go1] time: parse fractional second with single digit
««« backport
99292bad0d6d
time: parse fractional second with single digit
Fixes #3487.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
6011050
»»»
Adam Langley [Thu, 12 Apr 2012 16:35:21 +0000 (12:35 -0400)]
[release-branch.go1] crypto/tls: don't always use the default private key.
««« backport
6a2ea47583df
crypto/tls: don't always use the default private key.
When SNI based certificate selection is enabled, we previously used
the default private key even if we selected a non-default certificate.
Fixes #3367.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5987058
»»»
Andrew Gerrand [Sat, 14 Apr 2012 03:27:11 +0000 (13:27 +1000)]
[release-branch.go1] doc: update Mercurial installation instructions
««« backport
f6e1ee2d8cd1
doc: update Mercurial installation instructions
R=r
CC=golang-dev
https://golang.org/cl/
6031046
»»»
Jongmin Kim [Fri, 13 Apr 2012 05:22:40 +0000 (15:22 +1000)]
[release-branch.go1] doc/effective_go.html: fixed the Request channel parameter
««« backport
29acc3fb59c3
doc/effective_go.html: fixed the Request channel parameter
R=golang-dev, r
CC=golang-dev, gri
https://golang.org/cl/
6010051
»»»
Gustavo Niemeyer [Fri, 13 Apr 2012 01:16:31 +0000 (22:16 -0300)]
[release-branch.go1] time: panic if UnixNano is out of range
««« backport
4ed98a6b6fe5
time: panic if UnixNano is out of range
R=golang-dev, remyoudompheng, dsymonds, gustavo, dchest, r, rsc
CC=golang-dev
https://golang.org/cl/
5985059
»»»
Rob Pike [Thu, 12 Apr 2012 23:28:37 +0000 (09:28 +1000)]
[release-branch.go1] fmt: fix crash of %b on huge negative int64
««« backport
344d5c33331a
fmt: fix crash of %b on huge negative int64
The buffer had 64 bytes but needs one more for the sign.
Fixes #3510.
R=golang-dev, dave, dsymonds
CC=golang-dev
https://golang.org/cl/
6011057
»»»
Adam Langley [Thu, 12 Apr 2012 16:33:52 +0000 (12:33 -0400)]
[release-branch.go1] encoding/pem: ignore spaces and tabs at the end of header lines.
««« backport
5eadbc72f1d2
encoding/pem: ignore spaces and tabs at the end of header lines.
Fixes #3502.
R=bradfitz
CC=golang-dev
https://golang.org/cl/
6011046
»»»
Nigel Tao [Wed, 11 Apr 2012 23:35:43 +0000 (09:35 +1000)]
[release-branch.go1] html, exp/html: escape ' and " as ' and ", since IE8 and
««« backport
a70135896879
html, exp/html: escape ' and " as ' and ", since IE8 and
below do not support '.
This makes package html consistent with package text/template's
HTMLEscape function.
Fixes #3489.
R=rsc, mikesamuel, dsymonds
CC=golang-dev
https://golang.org/cl/
5992071
»»»
Dave Cheney [Wed, 11 Apr 2012 00:59:03 +0000 (10:59 +1000)]
[release-branch.go1] doc: fix minor typo in Go 1 release notes
««« backport
75c94686a4d7
doc: fix minor typo in Go 1 release notes
Fixes #3478.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5986074
»»»
Alex Brainman [Tue, 10 Apr 2012 00:07:29 +0000 (10:07 +1000)]
[release-branch.go1] os: fix IsPermission on windows
««« backport
1b2b113a2d66
os: fix IsPermission on windows
Fixes #3482.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5987070
»»»
Rob Pike [Mon, 9 Apr 2012 23:47:57 +0000 (09:47 +1000)]
[release-branch.go1] runtime.Callers: make documentation match code
««« backport
a7db811befb8
runtime.Callers: make documentation match code
It is a bug that Caller and Callers disagree about the offset of the skip
parameter. Document the bug.
R=rsc, dsymonds, r, iant
CC=golang-dev
https://golang.org/cl/
5976064
»»»
Shenghou Ma [Mon, 9 Apr 2012 17:55:51 +0000 (01:55 +0800)]
[release-branch.go1] doc/code: update newmath.Sqrt test case to make sure test succeed
««« backport
aa9954952235
doc/code: update newmath.Sqrt test case to make sure test succeed
Fixes #3445.
R=golang-dev, rsc, mtj
CC=golang-dev
https://golang.org/cl/
5975061
»»»
Shenghou Ma [Mon, 9 Apr 2012 17:50:46 +0000 (01:50 +0800)]
[release-branch.go1] doc/go_spec: fix a typo
««« backport
1c42d454d4dd
doc/go_spec: fix a typo
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5989065
»»»
Stéphane Travostino [Thu, 5 Apr 2012 17:23:08 +0000 (13:23 -0400)]
[release-branch.go1] net/url: Correctly escape URL as per RFC 3986
««« backport
6b46fb967ca4
net/url: Correctly escape URL as per RFC 3986
The shouldEscape function did not correctly escape the reserved characters listed in RFC 3986 §2.2, breaking some strict web servers.
Fixes #3433.
R=rsc
CC=golang-dev
https://golang.org/cl/
5970050
»»»
Russ Cox [Thu, 5 Apr 2012 17:13:34 +0000 (13:13 -0400)]
[release-branch.go1] A+C: Stéphane Travostino (individual CLA)
««« backport
6c0fd8ec2c77
A+C: Stéphane Travostino (individual CLA)
R=golang-dev
CC=golang-dev
https://golang.org/cl/
5991048
»»»
Hong Ruiqi [Thu, 5 Apr 2012 12:37:07 +0000 (22:37 +1000)]
[release-branch.go1] doc/go_spec: fix typo
««« backport
d10b521f63d1
doc/go_spec: fix typo
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5990043
»»»
Andrew Gerrand [Thu, 5 Apr 2012 01:17:18 +0000 (11:17 +1000)]
[release-branch.go1] doc: shorten project dashboard link
««« backport
4e6ea52ad147
doc: shorten project dashboard link
Fixes #3420.
(which was already fixed)
R=golang-dev, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/
5987043
»»»
Brad Fitzpatrick [Wed, 4 Apr 2012 14:24:13 +0000 (07:24 -0700)]
[release-branch.go1] cmd/go: in go get, don't try to perform discovery on non-hosts
««« backport
2a52a9484c10
cmd/go: in go get, don't try to perform discovery on non-hosts
Before, "go get -v foo/bar" was assuming "foo" was a hostname
and trying to perform discovery on it. Now, require a dot in
the first path component (the hostname).
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5981057
»»»
Dmitry Chestnykh [Wed, 4 Apr 2012 13:52:42 +0000 (09:52 -0400)]
[release-branch.go1] encoding/ascii85: fix panic caused by special case
««« backport
b127df6df1ab
encoding/ascii85: fix panic caused by special case
Special case for encoding 4 zeros as 'z' didn't
update source slice, causing 'index out of bounds'
panic in destination slice.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5970078
»»»
Michael Lewis [Tue, 3 Apr 2012 22:36:48 +0000 (15:36 -0700)]
[release-branch.go1] sql: Propagate error from subsetTypeArgs in Exec
««« backport
dd8f13acda2e
sql: Propagate error from subsetTypeArgs in Exec
Fixes #3449
R=golang-dev
CC=bradfitz, golang-dev
https://golang.org/cl/
5970076
»»»
Rob Pike [Tue, 3 Apr 2012 20:54:39 +0000 (06:54 +1000)]
[release-branch.go1] time.RFC822: make the string standard-compliant
««« backport
fda7b4c9978d
time.RFC822: make the string standard-compliant
For mysterious reasons, the existing string was just wrong: it was missing a colon.
There is no apparent reason for this discrepancy.
This should be safe to fix because existing uses would not be RFC822-compliant;
people cannot be depending on it to generate correct mail headers.
Fixes #3444.
R=golang-dev, dsymonds, iant, rsc
CC=golang-dev
https://golang.org/cl/
5969072
»»»
Brad Fitzpatrick [Tue, 3 Apr 2012 20:38:57 +0000 (13:38 -0700)]
[release-branch.go1] A+C: add Michael Lewis (Individual CLA)
««« backport
3ee4c6bdf311
A+C: add Michael Lewis (Individual CLA)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5970077
»»»
Dave Cheney [Tue, 3 Apr 2012 02:14:02 +0000 (12:14 +1000)]
[release-branch.go1] encoding/base64: fix panic when input len is not a multiple of 4
««« backport
95e67cc5fa08
encoding/base64: fix panic when input len is not a multiple of 4
Fixes #3442.
R=for.go.yong, dsymonds, sougou, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/
5975052
»»»
Rob Pike [Tue, 3 Apr 2012 01:44:52 +0000 (11:44 +1000)]
[release-branch.go1] text/template: pipelined arg was not typechecked
««« backport
c007925a75c6
text/template: pipelined arg was not typechecked
Without this fix, an erroneous template causes a panic; should be caught safely.
The bug did not affect correct templates.
Fixes #3267.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/
5900065
»»»
Alex Brainman [Tue, 3 Apr 2012 01:39:38 +0000 (11:39 +1000)]
[release-branch.go1] time: fix handling of locations with no dst on windows
««« backport
701af83040ac
time: fix handling of locations with no dst on windows
Fixes #3437.
R=rsc
CC=golang-dev
https://golang.org/cl/
5967063
»»»
Peter Weinberger [Mon, 2 Apr 2012 17:05:09 +0000 (13:05 -0400)]
[release-branch.go1] doc/code.html: change 'affect' to 'effect'.
««« backport
0dc51d66e03d
doc/code.html: change 'affect' to 'effect'.
Fixes #3429.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5966047
»»»
Russ Cox [Mon, 2 Apr 2012 16:59:02 +0000 (12:59 -0400)]
[release-branch.go1] C: add Peter Weinberger (Google CLA)
««« backport
b9b0c8d8b5ff
C: add Peter Weinberger (Google CLA)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5976059
»»»
Shenghou Ma [Mon, 2 Apr 2012 14:33:38 +0000 (22:33 +0800)]
[release-branch.go1] cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present
««« backport
e757e2af45ec
cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present
Fixes #3422.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5967057
»»»
Aaron Kemp [Sat, 31 Mar 2012 00:51:24 +0000 (17:51 -0700)]
[release-branch.go1] doc/effective_go.html: Add missing '...' for fmt.Sprintf()
««« backport
8434de733c20
doc/effective_go.html: Add missing '...' for fmt.Sprintf()
The '...' was missing on a call to fmt.Sprintf() which would result in
the slice being printed instead of the correct result.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
5967051
»»»
Robert Griesemer [Sat, 31 Mar 2012 00:51:07 +0000 (17:51 -0700)]
[release-branch.go1] A+C: added Aaron Kemp (Corporate CLA)
««« backport
347d126983f7
A+C: added Aaron Kemp (Corporate CLA)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5966054
»»»
Shenghou Ma [Fri, 30 Mar 2012 07:00:23 +0000 (15:00 +0800)]
[release-branch.go1] doc/codewalk/markov: fix syntax and broken link
««« backport
fd037b466111
doc/codewalk/markov: fix syntax and broken link
Part of issue 3424.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5955050
»»»
Shenghou Ma [Fri, 30 Mar 2012 06:07:40 +0000 (14:07 +0800)]
[release-branch.go1] doc/code.html: fix broken dashboard link
««« backport
feb586ac4860
doc/code.html: fix broken dashboard link
Fixes #3420.
Part of issue 3424.
R=golang-dev, cldorian, adg, r
CC=golang-dev
https://golang.org/cl/
5958046
»»»
Shenghou Ma [Fri, 30 Mar 2012 06:06:12 +0000 (14:06 +0800)]
[release-branch.go1] doc/go1: minor fixes
««« backport
b8f8e3b892dc
doc/go1: minor fixes
Fixes #3427.
Part of issue 3424.
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/
5959045
»»»
Shenghou Ma [Fri, 30 Mar 2012 06:04:03 +0000 (14:04 +0800)]
[release-branch.go1] doc/go_spec: fix broken link
««« backport
719d3065511a
doc/go_spec: fix broken link
Part of issue 3424
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5955049
»»»
Rob Pike [Fri, 30 Mar 2012 02:07:10 +0000 (13:07 +1100)]
[release-branch.go1] cmd/go: update docs about tags for get command
««« backport
79e6b4602f26
cmd/go: update docs about tags for get command
"go1" dominates. Delete the text about weekly and release.
We can revisit this once the situation changes.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5969043
»»»
Andrew Gerrand [Wed, 28 Mar 2012 12:41:59 +0000 (23:41 +1100)]
go1
Andrew Gerrand [Wed, 28 Mar 2012 12:41:38 +0000 (23:41 +1100)]
remove non-go1 commands and packages
Andrew Gerrand [Wed, 28 Mar 2012 12:41:03 +0000 (23:41 +1100)]
weekly.2012-03-27
Francisco Souza [Wed, 28 Mar 2012 03:20:51 +0000 (14:20 +1100)]
doc: added The Go image package article
Orignally published on The Go Programming Language, September 21, 2011.
http://blog.golang.org/2011/09/go-image-package.html
Update #2547
R=adg, nigeltao
CC=golang-dev
https://golang.org/cl/
5933049
Andrew Gerrand [Wed, 28 Mar 2012 01:45:39 +0000 (12:45 +1100)]
misc/dist: it sucks hwhen you forget to fix typos
R=golang-dev
CC=golang-dev
https://golang.org/cl/
5937049
Alex Brainman [Wed, 28 Mar 2012 01:27:36 +0000 (12:27 +1100)]
path/filepath: correct comment in EvalSymlinks
R=golang-dev, r
CC=golang-dev, hcwfrichter
https://golang.org/cl/
5934046
Andrew Gerrand [Wed, 28 Mar 2012 01:24:43 +0000 (12:24 +1100)]
misc/dist: support upload only (no build)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5940050