]> Cypherpunks.ru repositories - gostls13.git/log
gostls13.git
12 years agogo1.0.1 go1.0.1
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

12 years ago[release-branch.go1] doc: go1.0.1 release notes
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

12 years ago[release-branch.go1] cmd/godoc: update App Engine README and script for Go 1
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

12 years ago[release-branch.go1] time: doc fix.
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

12 years ago[release-branch.go1] doc: simplify the image_draw article example for converting...
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

12 years ago[release-branch.go1] cmd/go: new tag selection logic
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

12 years ago[release-branch.go1] doc: update wiki article to use html/template properly.
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

12 years ago[release-branch.go1] mime: make ParseMediaType return zero results on error
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

12 years ago[release-branch.go1] A+C: Akshat Kumar (individual CLA)
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
»»»

12 years ago[release-branch.go1] encoding/json: allow punctuation in tag names
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

»»»

12 years ago[release-branch.go1] mime/multipart: report io.EOF correctly on part ending without...
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
»»»

12 years ago[release-branch.go1] path: document that Clean deletes trailing slashes.
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
»»»

12 years ago[release-branch.go1] net: fix typo in Listener.File() documentation
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
»»»

12 years ago[release-branch.go1] cmd/gc: fix addresses escaping through closures called in-place.
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

»»»

12 years ago[release-branch.go1] doc: sync playground.js
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
»»»

12 years ago[release-branch.go1] reflect: document and test TypeOf(nil)
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
»»»

12 years ago[release-branch.go1] net: fix race between Close and Read
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
»»»

12 years ago[release-branch.go1] doc: don't wrap package names in directory listing
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
»»»

12 years ago[release-branch.go1] net/http: add example for FileServer to mention StripPrefix
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
»»»

12 years ago[release-branch.go1] A+C: add Bjorn Tillenius (Individual CLA)
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
»»»

12 years ago[release-branch.go1] A+C: Add Michael Chaten (Individual CLA)
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
»»»

12 years ago[release-branch.go1] doc/articles/image_draw.html: Change ColorImage to Uniform
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

»»»

12 years ago[release-branch.go1] encoding/asn1: allow lengths up to the maximum int value.
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
»»»

12 years ago[release-branch.go1] flag: update style.
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
»»»

12 years ago[release-branch.go1] CONTRIBUTORS: add Colby Ranger (Google CLA)
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
»»»

12 years ago[release-branch.go1] doc/code: mention $GOBIN
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

»»»

12 years ago[release-branch.go1] time: parse fractional second with single digit
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

»»»

12 years ago[release-branch.go1] crypto/tls: don't always use the default private key.
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
»»»

12 years ago[release-branch.go1] doc: update Mercurial installation instructions
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
»»»

12 years ago[release-branch.go1] doc/effective_go.html: fixed the Request channel parameter
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

»»»

12 years ago[release-branch.go1] time: panic if UnixNano is out of range
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
»»»

12 years ago[release-branch.go1] fmt: fix crash of %b on huge negative int64
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
»»»

12 years ago[release-branch.go1] encoding/pem: ignore spaces and tabs at the end of header lines.
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
»»»

12 years ago[release-branch.go1] html, exp/html: escape ' and " as ' and ", since IE8 and
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
»»»

12 years ago[release-branch.go1] doc: fix minor typo in Go 1 release notes
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

»»»

12 years ago[release-branch.go1] os: fix IsPermission on windows
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
»»»

12 years ago[release-branch.go1] runtime.Callers: make documentation match code
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
»»»

12 years ago[release-branch.go1] doc/code: update newmath.Sqrt test case to make sure test succeed
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
»»»

12 years ago[release-branch.go1] doc/go_spec: fix a typo
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
»»»

12 years ago[release-branch.go1] net/url: Correctly escape URL as per RFC 3986
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

»»»

12 years ago[release-branch.go1] A+C: Stéphane Travostino (individual CLA)
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
»»»

12 years ago[release-branch.go1] doc/go_spec: fix typo
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

»»»

12 years ago[release-branch.go1] doc: shorten project dashboard link
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
»»»

12 years ago[release-branch.go1] cmd/go: in go get, don't try to perform discovery on non-hosts
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
»»»

12 years ago[release-branch.go1] encoding/ascii85: fix panic caused by special case
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

»»»

12 years ago[release-branch.go1] sql: Propagate error from subsetTypeArgs in Exec
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

»»»

12 years ago[release-branch.go1] time.RFC822: make the string standard-compliant
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
»»»

12 years ago[release-branch.go1] A+C: add Michael Lewis (Individual CLA)
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
»»»

12 years ago[release-branch.go1] encoding/base64: fix panic when input len is not a multiple...
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

»»»

12 years ago[release-branch.go1] text/template: pipelined arg was not typechecked
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
»»»

12 years ago[release-branch.go1] time: fix handling of locations with no dst on windows
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
»»»

12 years ago[release-branch.go1] doc/code.html: change 'affect' to 'effect'.
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
»»»

12 years ago[release-branch.go1] C: add Peter Weinberger (Google CLA)
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
»»»

12 years ago[release-branch.go1] cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof...
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
»»»

12 years ago[release-branch.go1] doc/effective_go.html: Add missing '...' for fmt.Sprintf()
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

»»»

12 years ago[release-branch.go1] A+C: added Aaron Kemp (Corporate CLA)
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
»»»

12 years ago[release-branch.go1] doc/codewalk/markov: fix syntax and broken link
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
»»»

12 years ago[release-branch.go1] doc/code.html: fix broken dashboard link
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
»»»

12 years ago[release-branch.go1] doc/go1: minor fixes
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
»»»

12 years ago[release-branch.go1] doc/go_spec: fix broken link
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
»»»

12 years ago[release-branch.go1] cmd/go: update docs about tags for get command
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
»»»

12 years agogo1 go1
Andrew Gerrand [Wed, 28 Mar 2012 12:41:59 +0000 (23:41 +1100)]
go1

12 years agoremove non-go1 commands and packages
Andrew Gerrand [Wed, 28 Mar 2012 12:41:38 +0000 (23:41 +1100)]
remove non-go1 commands and packages

12 years agoweekly.2012-03-27 weekly weekly.2012-03-27
Andrew Gerrand [Wed, 28 Mar 2012 12:41:03 +0000 (23:41 +1100)]
weekly.2012-03-27

12 years agodoc: added The Go image package article
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

12 years agomisc/dist: it sucks hwhen you forget to fix typos
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

12 years agopath/filepath: correct comment in EvalSymlinks
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

12 years agomisc/dist: support upload only (no build)
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

12 years agodoc: link to Go Project Dashboard from package list
Andrew Gerrand [Wed, 28 Mar 2012 00:38:34 +0000 (11:38 +1100)]
doc: link to Go Project Dashboard from package list

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5937048

12 years agocmd/godoc: use virtual filesystem to implement -templates flag
Andrew Gerrand [Tue, 27 Mar 2012 22:13:48 +0000 (09:13 +1100)]
cmd/godoc: use virtual filesystem to implement -templates flag

R=golang-dev, gri, rsc
CC=golang-dev
https://golang.org/cl/5921045

12 years agoruntime: work around false negative in deadlock detection
Russ Cox [Tue, 27 Mar 2012 16:22:19 +0000 (12:22 -0400)]
runtime: work around false negative in deadlock detection

Not a complete fix for issue 3342, but fixes the trivial case.
There may still be a race in the instants before and after
a scavenger-induced garbage collection.

Intended to be "obviously safe": a call to runtime·gosched
before main.main is no different than a call to runtime.Gosched
at the beginning of main.main, and it is (or had better be)
safe to call runtime.Gosched at any point during main.

Update #3342.

R=iant
CC=golang-dev
https://golang.org/cl/5919052

12 years agocmd/go: respect $GOBIN always
Russ Cox [Tue, 27 Mar 2012 15:57:39 +0000 (11:57 -0400)]
cmd/go: respect $GOBIN always

Another attempt at https://golang.org/cl/5754088.

Before, we only consulted $GOBIN for source code
found in $GOROOT, but that's confusing to explain
and less useful.  The new behavior lets users set
GOBIN=$HOME/bin and have all go-compiled binaries
installed there.

Tested a few cases in test.bash.

Ran all.bash with and without $GOBIN and it works.
Even so, I expect it to break the builders,
like it did last time, we can debug from there.

Fixes #3269 (again).
Fixes #3396.
Fixes #3397.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5927051

12 years agogo/build: fix import check
Russ Cox [Tue, 27 Mar 2012 15:16:10 +0000 (11:16 -0400)]
go/build: fix import check

When we find a package in DIR/src/foo, we only let it
be known as foo if there is no other foo in an earlier
GOPATH directory or the GOROOT directory.
The GOROOT check was looking in GOROOT/src/foo
instead of GOROOT/src/pkg/foo, which meant that
the import paths "lib9", "libbio", "libmach", and so
on were unavailable, and the import paths "math",
"errors", and so on were available.  Correct this.

Fixes #3390.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/5927050

12 years agocmd/go: fix two bugs
Russ Cox [Tue, 27 Mar 2012 14:41:44 +0000 (10:41 -0400)]
cmd/go: fix two bugs

Issue 3207 was caused by setting GOPATH=GOROOT.
This is a common mistake, so diagnose it at command start
and also correct the bug that it caused in get (downloading
to GOROOT/src/foo instead of GOROOT/src/pkg/foo).

Issue 3268 was caused by recognizing 'packages' that
had installed binaries but no source.  This behavior is not
documented and causes trouble, so remove it.  We can
revisit the concept of binary-only packages after Go 1.

Fixes #3207.
Fixes #3268.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5930044

12 years agodoc: use relative links in Laws of Reflection article
Andrew Gerrand [Tue, 27 Mar 2012 09:53:16 +0000 (20:53 +1100)]
doc: use relative links in Laws of Reflection article

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5924050

12 years agodoc: use relative links in draw package article
Andrew Gerrand [Tue, 27 Mar 2012 09:52:48 +0000 (20:52 +1100)]
doc: use relative links in draw package article

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5924051

12 years agodoc: update wiki tutorial templates, and template discussion
Andrew Gerrand [Tue, 27 Mar 2012 05:07:46 +0000 (16:07 +1100)]
doc: update wiki tutorial templates, and template discussion

Fixes #3384.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5915044

12 years agopath/filepath: use windows GetShortPathName api to force GetLongPathName to do its...
Alex Brainman [Tue, 27 Mar 2012 04:53:08 +0000 (15:53 +1100)]
path/filepath: use windows GetShortPathName api to force GetLongPathName to do its work

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5928043

12 years agocmd/go: update for go1 tag format
Russ Cox [Tue, 27 Mar 2012 04:17:50 +0000 (00:17 -0400)]
cmd/go: update for go1 tag format

R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5919048

12 years agocmd/dist: fix detection of go1 version
Russ Cox [Tue, 27 Mar 2012 04:17:35 +0000 (00:17 -0400)]
cmd/dist: fix detection of go1 version

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5924044

12 years agodoc: update licensing text one more time
Andrew Gerrand [Tue, 27 Mar 2012 04:09:13 +0000 (15:09 +1100)]
doc: update licensing text one more time

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5916046

12 years agonet: ignore ECONNABORTED from syscall.Accept
Devon H. O'Dell [Tue, 27 Mar 2012 04:06:14 +0000 (00:06 -0400)]
net: ignore ECONNABORTED from syscall.Accept

Fixes #3395.

R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/5905063

12 years agoundo CL 5844051 / 5d0322034aa8
Mikio Hara [Tue, 27 Mar 2012 04:05:17 +0000 (13:05 +0900)]
undo CL 5844051 / 5d0322034aa8

Breaks closure test when GOMAXPROCS=2 or more.

««« original CL description
runtime: restore deadlock detection in the simplest case.

Fixes #3342.

R=iant, r, dave, rsc
CC=golang-dev, remy
https://golang.org/cl/5844051

»»»

R=rsc
CC=golang-dev
https://golang.org/cl/5924045

12 years agocmd/go: copy tag_test.go from goinstall
Russ Cox [Tue, 27 Mar 2012 03:44:30 +0000 (23:44 -0400)]
cmd/go: copy tag_test.go from goinstall

hg cat -r 11846 src/cmd/goinstall/tag_test.go >tag_test.go
No changes.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5919047

12 years agomisc/emacs: fix overindentation caused by mis-parsing lines ending with special chars
Ben Fried [Tue, 27 Mar 2012 03:26:39 +0000 (23:26 -0400)]
misc/emacs: fix overindentation caused by mis-parsing lines ending with special chars

Fixes #3313

go-mode-backward-skip-comments is probably due for a more ambitious refactoring --- it repeats guard conditions after every nearly every movement of point.

R=sameer, r
CC=golang-dev
https://golang.org/cl/5844063

12 years agoC: add Ben Fried, Googler
Rob Pike [Tue, 27 Mar 2012 03:26:28 +0000 (23:26 -0400)]
C: add Ben Fried, Googler

R=golang-dev, dsymonds
CC=ben.fried, golang-dev
https://golang.org/cl/5869043

12 years agoruntime: restore deadlock detection in the simplest case.
Rémy Oudompheng [Tue, 27 Mar 2012 03:06:20 +0000 (23:06 -0400)]
runtime: restore deadlock detection in the simplest case.

Fixes #3342.

R=iant, r, dave, rsc
CC=golang-dev, remy
https://golang.org/cl/5844051

12 years agodoc: fix concurrency patterns rawhtml generation
Francisco Souza [Tue, 27 Mar 2012 03:03:46 +0000 (14:03 +1100)]
doc: fix concurrency patterns rawhtml generation

The Makefile target was broken due to the rename of the HTML file.

R=golang-dev
CC=golang-dev
https://golang.org/cl/5918045

12 years agodoc: move /ref/cmd to /doc/cmd
Andrew Gerrand [Tue, 27 Mar 2012 02:46:16 +0000 (13:46 +1100)]
doc: move /ref/cmd to /doc/cmd

Fixes #3400.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5926043

12 years agodoc: add JSON-RPC: a tale of interfaces article
Francisco Souza [Tue, 27 Mar 2012 02:35:40 +0000 (13:35 +1100)]
doc: add JSON-RPC: a tale of interfaces article

Originally published on The Go Programming Language Blog, Abril 27, 2010.

http://blog.golang.org/2010/04/json-rpc-tale-of-interfaces.html

R=adg, r
CC=golang-dev
https://golang.org/cl/5920044

12 years agodoc: update footer text
Andrew Gerrand [Tue, 27 Mar 2012 02:35:01 +0000 (13:35 +1100)]
doc: update footer text

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5920043

12 years agopath/filepath: convert drive letter to upper case in windows EvalSymlinks
Alex Brainman [Tue, 27 Mar 2012 01:56:56 +0000 (12:56 +1100)]
path/filepath: convert drive letter to upper case in windows EvalSymlinks

Fixes #3347.

R=golang-dev, aram, r, rsc
CC=golang-dev
https://golang.org/cl/5918043

12 years agodoc: remove cov and prof from /ref/cmd
Andrew Gerrand [Tue, 27 Mar 2012 01:46:46 +0000 (12:46 +1100)]
doc: remove cov and prof from /ref/cmd

Update #3400

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5921044

12 years agocmd/godoc: canonicalize custom path redirects
Andrew Gerrand [Tue, 27 Mar 2012 01:44:17 +0000 (12:44 +1100)]
cmd/godoc: canonicalize custom path redirects

For example, /ref and /doc/reference.html now both redirect to /ref/.

Fixes #3401.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5916044

12 years agodoc: move gdb doc back to /doc/ and de-emphasize on references page
Andrew Gerrand [Tue, 27 Mar 2012 00:42:01 +0000 (11:42 +1100)]
doc: move gdb doc back to /doc/ and de-emphasize on references page

Fixes #3399.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5919044

12 years agodoc: add doc/articles/index.html
Andrew Gerrand [Tue, 27 Mar 2012 00:40:17 +0000 (11:40 +1100)]
doc: add doc/articles/index.html

Fixes #3402.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5923043

12 years agodoc: describe the Windows MSI installer as experimental
Andrew Gerrand [Tue, 27 Mar 2012 00:19:30 +0000 (11:19 +1100)]
doc: describe the Windows MSI installer as experimental

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5921043

12 years agomisc/goplay: fix error on IE8.
Yasuhiro Matsumoto [Tue, 27 Mar 2012 00:16:29 +0000 (11:16 +1100)]
misc/goplay: fix error on IE8.
        use cancelBubble=true instead of preventDefault().

R=golang-dev, rsc, adg
CC=golang-dev
https://golang.org/cl/5888043

12 years agomisc/dist: don't ship codereview either
Andrew Gerrand [Mon, 26 Mar 2012 23:38:10 +0000 (10:38 +1100)]
misc/dist: don't ship codereview either

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5917043

12 years agocmd/godoc: fix app engine version
Andrew Gerrand [Mon, 26 Mar 2012 23:10:25 +0000 (10:10 +1100)]
cmd/godoc: fix app engine version

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5902060