1
0
mirror of https://github.com/golang/go synced 2024-11-14 23:40:35 -07:00
Commit Graph

12840 Commits

Author SHA1 Message Date
Andrew Gerrand
802ac98ffc [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
»»»
2012-04-20 10:04:13 -04:00
Shenghou Ma
554316495f [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
»»»
2012-04-20 00:41:10 +08:00
Brad Fitzpatrick
69a8369b87 [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
»»»
2012-04-19 09:23:48 -07:00
Brad Fitzpatrick
56612a5dc8 [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
»»»
2012-04-19 09:18:49 -07:00
Benny Siegert
78bf569018 [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

»»»
2012-04-19 11:04:42 +10:00
Adam Langley
5fe252d191 [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
»»»
2012-04-18 13:41:11 -04:00
David Symonds
dd58503eaf [release-branch.go1] flag: update style.
««« backport 059ba0d0dc6a
flag: update style.

R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/6051044
»»»
2012-04-17 16:37:35 +10:00
Brad Fitzpatrick
5c69520377 [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
»»»
2012-04-16 10:25:20 -07:00
Shenghou Ma
85a2bbe135 [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

»»»
2012-04-17 02:41:27 +10:00
Robert Hencke
65904a75bc [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

»»»
2012-04-16 11:56:37 +10:00
Adam Langley
ad0c81b124 [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
»»»
2012-04-12 12:35:21 -04:00
Andrew Gerrand
30f431fe2e [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
»»»
2012-04-14 13:27:11 +10:00
Jongmin Kim
e4806c2a18 [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

»»»
2012-04-13 15:22:40 +10:00
Gustavo Niemeyer
cd73d696d0 [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
»»»
2012-04-12 22:16:31 -03:00
Rob Pike
18a71beb07 [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
»»»
2012-04-13 09:28:37 +10:00
Adam Langley
bde649ca89 [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
»»»
2012-04-12 12:33:52 -04:00
Nigel Tao
ec0b7b7de4 [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
»»»
2012-04-12 09:35:43 +10:00
Dave Cheney
a200931cae [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

»»»
2012-04-11 10:59:03 +10:00
Alex Brainman
01479df5b6 [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
»»»
2012-04-10 10:07:29 +10:00
Rob Pike
610fc6598b [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
»»»
2012-04-10 09:47:57 +10:00
Shenghou Ma
8f72d82b63 [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
»»»
2012-04-10 01:55:51 +08:00
Shenghou Ma
4df8143754 [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
»»»
2012-04-10 01:50:46 +08:00
Stéphane Travostino
70e139f3bc [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

»»»
2012-04-05 13:23:08 -04:00
Russ Cox
9b1d0910e1 [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
»»»
2012-04-05 13:13:34 -04:00
Hong Ruiqi
54fc7ef5ad [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

»»»
2012-04-05 22:37:07 +10:00
Andrew Gerrand
41848f960c [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
»»»
2012-04-05 11:17:18 +10:00
Brad Fitzpatrick
c3882041a9 [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
»»»
2012-04-04 07:24:13 -07:00
Dmitry Chestnykh
d98b9dac03 [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

»»»
2012-04-04 09:52:42 -04:00
Michael Lewis
ca246227a8 [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

»»»
2012-04-03 15:36:48 -07:00
Rob Pike
02c38a83b9 [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
»»»
2012-04-04 06:54:39 +10:00
Brad Fitzpatrick
6b68716f85 [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
»»»
2012-04-03 13:38:57 -07:00
Dave Cheney
eacdcccb9e [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

»»»
2012-04-03 12:14:02 +10:00
Rob Pike
efcd0d5bd8 [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
»»»
2012-04-03 11:44:52 +10:00
Alex Brainman
7510885c4d [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
»»»
2012-04-03 11:39:38 +10:00
Peter Weinberger
b4f17bdf98 [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
»»»
2012-04-02 13:05:09 -04:00
Russ Cox
879f5d9007 [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
»»»
2012-04-02 12:59:02 -04:00
Shenghou Ma
c50da29f00 [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
»»»
2012-04-02 22:33:38 +08:00
Aaron Kemp
465aef6f86 [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

»»»
2012-03-30 17:51:24 -07:00
Robert Griesemer
d9b3c09097 [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
»»»
2012-03-30 17:51:07 -07:00
Shenghou Ma
931e05acde [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
»»»
2012-03-30 15:00:23 +08:00
Shenghou Ma
78b1980875 [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
»»»
2012-03-30 14:07:40 +08:00
Shenghou Ma
8af4ac6444 [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
»»»
2012-03-30 14:06:12 +08:00
Shenghou Ma
0c34a28d85 [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
»»»
2012-03-30 14:04:03 +08:00
Rob Pike
6d62c5c99a [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
»»»
2012-03-30 13:07:10 +11:00
Andrew Gerrand
6174b5e21e go1 2012-03-28 23:41:59 +11:00
Andrew Gerrand
4081aa1277 remove non-go1 commands and packages 2012-03-28 23:41:38 +11:00
Andrew Gerrand
3895b5051d weekly.2012-03-27 2012-03-28 23:41:03 +11:00
Francisco Souza
18f1a71dc2 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
2012-03-28 14:20:51 +11:00
Andrew Gerrand
81dbec12c8 misc/dist: it sucks hwhen you forget to fix typos
R=golang-dev
CC=golang-dev
https://golang.org/cl/5937049
2012-03-28 12:45:39 +11:00
Alex Brainman
48a2c50a18 path/filepath: correct comment in EvalSymlinks
R=golang-dev, r
CC=golang-dev, hcwfrichter
https://golang.org/cl/5934046
2012-03-28 12:27:36 +11:00