Jeremy Jackins
2dd0c03427
doc: fix typo in race_detector.html
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8625044
2013-04-23 13:11:58 -07:00
Shenghou Ma
ed19ab47c3
doc/effective_go.html: fix syntax error in code example
...
Fixes #5333 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/8698046
2013-04-24 03:51:31 +08:00
Mikio Hara
3828316b9f
net: fix protocol number for IPv6 test
...
The protocol number of ICMP for IPv6 is 58, not 1.
R=golang-dev, iant, r
CC=golang-dev
https://golang.org/cl/8663048
2013-04-23 20:30:42 +09:00
Christian Himpel
237cee7834
time: fix typo in comment
...
R=r
CC=golang-dev
https://golang.org/cl/8889045
2013-04-22 22:09:11 -07:00
Rob Pike
05e8db985a
lib/time: update to IANA 2013c
...
This should do it for the release.
There was a new data set pushed out a couple of days ago.
Fixes #4553 .
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8621044
2013-04-22 16:28:42 -07:00
Rob Pike
14234c23a8
time: fix typo in comment
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8915043
2013-04-22 15:41:06 -07:00
Shenghou Ma
8c72b81132
misc/cgo/testso: enable test on windows
...
Depends on CL 8715043 and CL 8676050.
Fixes #5273 .
R=alex.brainman, r
CC=gobot, golang-dev
https://golang.org/cl/8764043
2013-04-23 04:42:04 +08:00
Rob Pike
c285789059
time: improve the explanation of the working of Format and Parse
...
Change the term 'standard time', which already means something,
to 'reference time', and add a couple of sentences and clarifications.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8799047
2013-04-22 11:36:17 -07:00
Brad Fitzpatrick
61ed384a96
net/http: make CloseNotifier channel buffered to not leak goroutines
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8911044
2013-04-22 10:32:10 -07:00
Andrew Gerrand
994c486aa9
doc: fix typo in Effective Go
...
Fixes #5329 .
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8897044
2013-04-22 16:57:23 +02:00
Jonathan Rudenberg
b0cd458605
doc: add missing <code> to go1.1.html
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/8880043
2013-04-21 13:10:19 +02:00
Brad Fitzpatrick
c546e9d2c2
api: update next.txt; add io.ErrNoProgress
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8887043
2013-04-20 17:20:58 -07:00
Brad Fitzpatrick
4b091c533e
sort: don't depend on math
...
No reason to pull in math just for x != x.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8886043
2013-04-20 17:20:41 -07:00
Brad Fitzpatrick
8b29f158ad
net/http: fix a panic in Redirect
...
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/8721045
2013-04-20 17:20:14 -07:00
Alex Brainman
782a57811f
cmd/ld: do not relocate ignored PE sections
...
This should have been part of CL8715043.
Update #5106
R=golang-dev, r, iant
CC=golang-dev
https://golang.org/cl/8676050
2013-04-20 17:42:14 +10:00
Mikio Hara
41451dd92b
net: enable test for runtime.PollDesc leak
...
Update #5219 .
R=golang-dev, dvyukov, r
CC=golang-dev
https://golang.org/cl/8602047
2013-04-20 09:04:20 +09:00
Brad Fitzpatrick
10cdb92000
doc: fix another broken link
...
Fixes #5316
R=golang-dev, r, minux.ma
CC=golang-dev
https://golang.org/cl/8871043
2013-04-19 12:00:40 -07:00
Shenghou Ma
0c2b980c49
cmd/ld: don't show cursym in gcc invocation failure message
...
before:
fmt.statictmp_0731:/usr/local/go/pkg/tool/linux_amd64/6l: running gcc failed: unsuccessful exit status 0x100
now:
/usr/local/go/pkg/tool/linux_amd64/6l: running gcc failed: unsuccessful exit status 0x100
R=golang-dev, iant, r
CC=golang-dev
https://golang.org/cl/8827045
2013-04-20 02:44:16 +08:00
Rob Pike
591d4a47ae
bufio.Scan: don't stop after Read returns 0, nil
...
But stop eventually if the reader misbehaves.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8757045
2013-04-18 17:37:21 -07:00
Rob Pike
1f4055a0ec
doc/go1.1.html: document io.ErrNoProgress
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8833050
2013-04-18 17:37:09 -07:00
Rob Pike
5fbb54eaca
io: explain what (0,nil) means from Read
...
Also add a new variable ErrNoProgress that io.Readers can use to
report ineffectual Read calls.
Fixes #5310 .
R=golang-dev, dsymonds, bradfitz
CC=golang-dev
https://golang.org/cl/8845043
2013-04-18 17:36:25 -07:00
Brad Fitzpatrick
db6ddff842
doc: fix another broken link
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8763045
2013-04-18 14:48:54 -07:00
Robert Griesemer
8457afbe00
builtin: document true and false.
...
Fixes #5315 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8841048
2013-04-18 14:36:08 -07:00
Brad Fitzpatrick
12566a60d7
doc: misc tweaks, new links, fix broken links
...
I read docs and wrote a crawler + link checker on the plane,
which also checks for #fragments. I'll send that out later
when it's less gross.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8729050
2013-04-18 12:43:23 -07:00
Dave Cheney
de2fcae372
misc/dashboard/builder: always do a native build
...
https://golang.org/cl/8134043 disabled cgo when cross compiling, this means builders which compile for both amd64 and 386 will be compiling the latter with cgo disabled.
This proposal modifies the builder to mirror the dist tool by always doing a native build.
Tested on my darwin/amd64 builder and confirmed the result when building darwin/386 is a native 386 build with cgo enabled.
R=bradfitz, dsymonds, r, adg
CC=golang-dev
https://golang.org/cl/8842044
2013-04-18 16:42:56 +10:00
Rémy Oudompheng
b08a3164c0
crypto/rand: better panic message for invalid Int argument.
...
Also document the panic to be consistent with math/rand.
Fixes #5187 .
R=golang-dev, dave, bradfitz, r
CC=golang-dev
https://golang.org/cl/8303043
2013-04-17 23:21:15 -07:00
Brad Fitzpatrick
24555c7b8c
mime/multipart: don't strip leading space/tab in quoted-printable decoding
...
Late bug fix, but this is arguably a regression from Go 1.0,
since we added this transparent decoding since then. Without
this fix, Go 1.0 users could decode this correctly, but Go 1.1
users would not be able to.
The newly added test is from the RFC itself.
The updated tests had the wrong "want" values before. They
were there to test \r\n vs \n equivalence (which is
unchanged), not leading whitespace.
The skipWhite decoder struct field was added in the battles of
Issue 4771 in revision b3bb265bfecf. It was just a wrong
strategy, from an earlier round of attempts in
https://golang.org/cl/7300092/
Update #4771
Fixes #5295
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8536045
2013-04-17 20:04:58 -07:00
David Symonds
67e26fceb5
misc/dashboard/builder: include $USER in build environment.
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8821046
2013-04-18 11:04:20 +10:00
Brad Fitzpatrick
32f2fd15df
doc/go1.1.html, mime/multipart: document quoted-printable decoding
...
Fixes #5293
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8840043
2013-04-17 13:25:28 -07:00
Brad Fitzpatrick
b95c48918c
archive/zip: add docs on type of slashes in paths
...
Fixes #5307
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8676046
2013-04-17 13:25:12 -07:00
Alexei Sholik
d00a646e70
go/token: fix grammar for precedence consts
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8662045
2013-04-17 11:46:30 -07:00
Shenghou Ma
a4196bb6c8
misc/cgo/test: fix a gcc warning
...
See https://code.google.com/p/go/issues/detail?id=5227#c16 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8833044
2013-04-18 02:33:55 +08:00
Rob Pike
a9c695204d
doc: more doubled words
...
I wrote a tool.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8695047
2013-04-16 14:20:06 -07:00
Rob Pike
f29013d19b
doc/effective_go: another doubled word
...
It's clear that that should never happen.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8798045
2013-04-16 13:59:10 -07:00
Shenghou Ma
86cd1d9e15
doc/effective_go.html: fix typo
...
Fixes #5296 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8682044
2013-04-17 04:41:28 +08:00
Shenghou Ma
a5fe79ef78
cmd/dist, make.bash: pass -mmacosx-version-min=10.6 to gcc on Darwin
...
Fixes #5261 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8798044
2013-04-16 13:30:52 -07:00
Ian Lance Taylor
9ad236ab72
runtime: if span was scavenged, mark it as needing to be zeroed
...
Update #4979 .
R=dvyukov, r, bradfitz
CC=golang-dev
https://golang.org/cl/8697045
2013-04-16 09:08:06 -07:00
Brad Fitzpatrick
36d3bef8a3
database/sql: close driver Stmt before releasing Conn
...
From the issue, which describes it as well as I could:
database/sql assumes that driver.Stmt.Close does not need the
connection.
see database/sql/sql.go:1308:
This puts the Rows' connection back into the idle pool, and
then calls the driver.Stmt.Close method of the Stmt it belongs
to. In the postgresql driver implementation
(https://github.com/lib/pq ), Stmt.Close communicates with the
server (on the connection that was just put back into the idle
pool). Most of the time, this causes no problems, but if
another goroutine makes a query at the right (wrong?) time,
chaos results.
In any case, traffic is being sent on "free" connections
shortly after they are freed, leading to race conditions that
kill the driver code.
Fixes #5283
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8633044
2013-04-15 14:06:41 -07:00
Shenghou Ma
80de7ab190
doc/reference.html: update list of sub-repositories.
...
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/8766043
2013-04-16 04:31:25 +08:00
Shenghou Ma
83b7b0e24f
net/http/cookiejar: mention go.net/publicsuffix.
...
R=golang-dev, r, gary.burd, dr.volker.dobler
CC=golang-dev
https://golang.org/cl/8660046
2013-04-16 04:29:55 +08:00
Brad Fitzpatrick
b3809cae5e
test/stress: start of a runtime stress program
...
Runs forever, stressing the runtime in various ways.
It should never terminate.
R=golang-dev, r, minux.ma
CC=golang-dev
https://golang.org/cl/8583047
2013-04-15 11:50:14 -07:00
Ian Lance Taylor
9ca4a25f4b
cmd/ld: ignore PE sections that are not code or data
...
Update #5106
Update #5273
R=minux.ma, r
CC=golang-dev
https://golang.org/cl/8715043
2013-04-15 10:35:37 -07:00
Joel Sing
804ef381db
runtime: fix build on openbsd/386
...
R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/8569043
2013-04-15 10:20:24 -07:00
Brad Fitzpatrick
03640c58e3
crypto/ecdsa: doc cleanup
...
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/8592044
2013-04-13 23:09:08 -07:00
Stefan Nilsson
0009210b2e
doc: fix typo
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/8729045
2013-04-14 09:22:57 +10:00
Daniel Morsing
7b8e08617e
cmd/gc: disable inlining of method values
...
They caused internal compiler errors and they're expensive enough that inlining them doesn't make sense.
Fixes #5259 .
R=golang-dev, r, iant, remyoudompheng
CC=golang-dev
https://golang.org/cl/8636043
2013-04-13 08:22:16 +02:00
Robert Griesemer
968732b677
go/scanner: reject BOMs that are not at the beginning
...
For compliance with gc. See also issue 5265.
Not Go1.1 critical, but harmless.
R=r
CC=golang-dev
https://golang.org/cl/8736043
2013-04-12 21:28:38 -07:00
Alexei Sholik
d4d063580f
testing/iotest: rephrase DataErrReader's description
...
R=r
CC=golang-dev
https://golang.org/cl/8650044
2013-04-12 16:08:56 -07:00
Carl Shapiro
4925f8aa79
test: make goprint.go wait longer for go its routine to execute
...
Update #5281
R=golang-dev, r, bradfitz, cshapiro
CC=golang-dev
https://golang.org/cl/8631047
2013-04-12 16:04:19 -07:00
Carl Shapiro
14cb1a1da9
test: raise the allocation threshold for chan/select2.go failure
...
Updates #5282
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8718045
2013-04-12 15:58:34 -07:00