- 15 Apr, 2011 6 commits
-
-
Russ Cox authored
When prefix doesn't match, was deleting entire .6 file. R=dsymonds CC=golang-dev https://golang.org/cl/4427041
-
Dave Cheney authored
R=adg CC=golang-dev https://golang.org/cl/4426041
-
Andrew Gerrand authored
R=dfc CC=golang-dev https://golang.org/cl/4416044
-
Rob Pike authored
The previous code was just wrong. Let's not talk about it. Passes iant's new test. R=rsc, iant, iant2 CC=golang-dev https://golang.org/cl/4396053
-
Ian Lance Taylor authored
R=r CC=golang-dev https://golang.org/cl/4404048
-
Robert Griesemer authored
R=r, r2 CC=golang-dev https://golang.org/cl/4398048
-
- 14 Apr, 2011 24 commits
-
-
Robert Griesemer authored
Don't use the rewrite rule from a previous test for the next test if there is no rewrite rule provided. R=r, r2 CC=golang-dev https://golang.org/cl/4419045
-
Petar Maymounkov authored
Fixes #1659 R=rsc, bradfitzgo, bradfitzwork CC=bradfitz, golang-dev https://golang.org/cl/4368052
-
Robert Griesemer authored
The new reflection API makes it an error to call value.Set(x) if x is invalid. Guard for it. Added corresponding test case. Fixes #1696. R=rsc, r CC=golang-dev https://golang.org/cl/4398047
-
Brad Fitzpatrick authored
Ubuntu and/or GNOME have some bug that likes to set the "http_proxy" environment variable and forgets to unset it. This is annoying to debug. Be clear in the error message that a proxy was in use. R=rsc CC=golang-dev https://golang.org/cl/4409045
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4406048
-
Lucio De Re authored
. Missing declaration of runtime.brk_(); . Argument v in runtime.SysReserve() is not used; (I'd prefer a Plan 9-type solution...) R=golang-dev, r, r2 CC=golang-dev https://golang.org/cl/4368076
-
Brad Fitzpatrick authored
R=r CC=golang-dev https://golang.org/cl/4400047
-
Adam Langley authored
We already had support on the client side. I also changed the name of the flag in the ServerHello structure to match the name of the same flag in the ClientHello (ocspStapling). R=bradfitzgo CC=golang-dev https://golang.org/cl/4408044
-
Brad Fitzpatrick authored
This fixes our http behavior (even if Handlers forget to consume a request body, we do it for them before we send their response header), fixes the racy TestServerExpect, and adds TestServerConsumesRequestBody. With GOMAXPROCS>1, the http tests now seem race-free. R=rsc CC=golang-dev https://golang.org/cl/4419042
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/4414044
-
Russ Cox authored
R=r, r2 CC=golang-dev https://golang.org/cl/4370049
-
Russ Cox authored
Fixes #1698. Fixes #1699. R=ken2 CC=golang-dev https://golang.org/cl/4419041
-
Russ Cox authored
R=bradfitzwork CC=golang-dev https://golang.org/cl/4397043
-
Russ Cox authored
Fixes #1697. R=ken2 CC=golang-dev https://golang.org/cl/4395045
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/4418043
-
Dave Cheney authored
R=rsc CC=golang-dev https://golang.org/cl/4416042
-
Rob Pike authored
fixes build with GCC4.6 R=adg CC=golang-dev https://golang.org/cl/4396048
-
Andrew Gerrand authored
R=dsymonds CC=golang-dev https://golang.org/cl/4400044
-
Andrew Gerrand authored
R=dsymonds CC=golang-dev https://golang.org/cl/4396047
-
Russ Cox authored
The list elements are already being allocated out of a single memory buffer. We can drop the Link* pointer following and the memory it requires, replacing it with index operations. The change also keeps a channel from containing a pointer back into its own allocation block, which would create a cycle. Blocks involved in cycles are not guaranteed to be finalized properly, and channels depend on finalizers to free OS-level locks on some systems. The self-reference was keeping channels from being garbage collected. runtime-gdb.py will need to be updated in order to dump the content of buffered channels with the new data structure. Fixes #1676. R=ken2, r CC=golang-dev https://golang.org/cl/4411045
-
Russ Cox authored
R=golang-dev, niemeyer, r CC=golang-dev https://golang.org/cl/4372052
-
Russ Cox authored
Fixes #1685. R=ken2 CC=golang-dev https://golang.org/cl/4414042
-
Corey Thomasson authored
R=rog, adg, rsc CC=golang-dev https://golang.org/cl/4388048
-
Andrew Gerrand authored
Fixes #1689. R=rsc CC=golang-dev https://golang.org/cl/4404043
-
- 13 Apr, 2011 10 commits
-
-
Rob Pike authored
Update goyacc, cgo to be more canonical in their naming and silence the new warnings. R=rsc, gri CC=golang-dev https://golang.org/cl/4417042
-
Nigel Tao authored
R=r, nigeltao_gnome CC=golang-dev https://golang.org/cl/4404041
-
Robert Griesemer authored
R=r, bradfitzwork CC=golang-dev https://golang.org/cl/4406044
-
Rob Pike authored
Newly enabled compiler errors need workaround. R=rsc CC=golang-dev https://golang.org/cl/4397047
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4403045
-
Brad Fitzpatrick authored
This mostly adds Expect 100-continue tests (from the perspective of server correctness) that were missing before. It also fixes a few missing cases that will probably never come up in practice, but it's nice to have handled correctly. Proper 100-continue client support remains a TODO. R=rsc, bradfitzwork CC=golang-dev https://golang.org/cl/4399044
-
Robert Griesemer authored
- replaced existing testdata/test.sh with new gofmt_test - added initial test case for rewrite tests TODO: Need to add more tests. R=rsc CC=golang-dev https://golang.org/cl/4368063
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4397046
-
Russ Cox authored
This CL is only cut-and-paste, moving code around. Moving it in a separate CL should simplify the diffs in later CLs. There are three patterns here. 1. A function like func (v Value) M() (...) { return v.panicIfNot(K).(*kValue).M() } becomes func (v Value) M() (...) { vv := v.panicIfNot(K).(*kValue) // body of (*kValue).M, s/v./vv./g } 2. A function like func (v Value) M() (...) { return v.panicIfNots(kList).(mer).M() } becomes func (v Value) M() (...) { switch vv := v.panicIfNots(kList).(type) { case *k1Value: // body of (*k1Value).M, s/v./vv./g case *k2Value: // body of (*k2Value).M, s/v./vv./g ... } panic("not reached") } 3. The rewrite of Value.Set follows 2, but each case is built from the bodies of (*kValue).SetValue and (*kValue).Set. func (v *kValue) SetValue(x Value) { v.Set(x.panicIfNot(K).(*kValue) } func (v *kValue) Set(x *kValue) { ... body } becomes, in the switch from 2, case *kValue: xx := x.panicIfNot(K).(*kValue) ... body, s/v./vv./g; s/x./xx./g R=r CC=golang-dev https://golang.org/cl/4398044
-
Rob Pike authored
R=rsc, gri CC=golang-dev https://golang.org/cl/4411044
-