- 17 Jun, 2011 15 commits
-
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4635051
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4640045
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4627045
-
Russ Cox authored
Remove now-unnecessary zeroing of stack frames. R=ken2 CC=golang-dev https://golang.org/cl/4641044
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4646042
-
Russ Cox authored
R=gri, r, r CC=golang-dev https://golang.org/cl/4631045
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/4625044
-
Alex Brainman authored
R=adg CC=golang-dev https://golang.org/cl/4643045
-
Alex Brainman authored
R=lucio.dere, vcc.163, bradfitz CC=golang-dev https://golang.org/cl/4645044
-
Andrew Gerrand authored
R=dsymonds CC=golang-dev https://golang.org/cl/4648041
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4643044
-
Andrew Gerrand authored
Fixes #1962. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4636044
-
Nigel Tao authored
package name. R=r, rsc CC=golang-dev https://golang.org/cl/4630042
-
Nigel Tao authored
R=r, r CC=golang-dev https://golang.org/cl/4630041
-
Alex Brainman authored
R=golang-dev, mattn.jp, adg CC=golang-dev https://golang.org/cl/4634043
-
- 16 Jun, 2011 19 commits
-
-
Brad Fitzpatrick authored
Fixes #1961 R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/4633045
-
Russ Cox authored
R=r, r CC=golang-dev https://golang.org/cl/4571074
-
Brad Fitzpatrick authored
Previously Request and Response had redundant fields for Referer, UserAgent, and cookies which caused confusion and bugs. It also didn't allow us to expand the package over time, since the way to access fields would be in the Headers one day and promoted to a field the next day. That would be hard to gofix, especially with code ranging over Headers. After a discussion on the mail package's design with a similar problem, we've designed to make the Headers be the source of truth and add accessors instead. Request: change: Referer -> Referer() change: UserAgent -> UserAgent() change: Cookie -> Cookies() new: Cookie(name) *Cookie new: AddCookie(*Cookie) Response: change: Cookie -> Cookies() Cookie: new: String() string R=rsc CC=golang-dev https://golang.org/cl/4620049
-
Volker Dobler authored
Attributes without value are commen in html and the xml parser will accept them in non-strict mode and use the attribute name as value. Thus parsing <p nowrap> as <p norwar="nowrap">. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4601053
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4589055
-
Brad Fitzpatrick authored
It was always a weird interface but I didn't know what I was doing at the time. rsc questioned me about it then but didn't press on it during review. Then adg bugged me about it too recently. So clean it up. It parallels the Writer struct too. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/4602063
-
Russ Cox authored
Correct a few error messages (libcgo -> runtime/cgo) and delete old nacl_386.c file too. Fixes #1657. R=iant CC=golang-dev https://golang.org/cl/4603057
-
Rob Pike authored
I missed this before because I used the wrong regexp. What a moron. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4639041
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4638041
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4637042
-
Rob Pike authored
Communications op was listed as a binary; it isn't any more. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4637041
-
Russ Cox authored
R=adg, r CC=golang-dev https://golang.org/cl/4627042
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4632041
-
Robert Griesemer authored
No impact on existing sources under src, misc. Fixes #1959. R=r, rsc, r CC=golang-dev https://golang.org/cl/4589056
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4629042
-
Russ Cox authored
Avoids buggy version of egrep on some Macs. R=r, dsymonds CC=golang-dev https://golang.org/cl/4603056
-
Dave Cheney authored
See https://golang.org/cl/4572045/ R=adg, rsc CC=golang-dev https://golang.org/cl/4627041
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4622041
-
Yasuhiro Matsumoto authored
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4609047
-
- 15 Jun, 2011 6 commits
-
-
Russ Cox authored
I don't think we've discussed this API enough. ««« original CL description bike/shed: new package. It comes up often enough that it's time to provide the utility of a standard package. R=r, mirtchovski, adg, rsc, n13m3y3r, ality, go.peter.90, lstoakes, iant, jan.mercl, bsiegert, robert.hencke, rogpeppe, befelemepeseveze, kevlar CC=golang-dev https://golang.org/cl/4557047 »»» R=dsymonds, bradfitz, gri CC=golang-dev https://golang.org/cl/4576065
-
Robert Griesemer authored
of accesses via a FileSystem interface. Preparation for appengine version which gets its files via a snapshot or zip file and uses a corresponding FileSystem implementation. R=rsc, r CC=golang-dev https://golang.org/cl/4572065
-
Rob Pike authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4609042
-
Rob Pike authored
Test output now looks like this: 2011/06/15 21:10:41 http: panic serving 127.0.0.1:59729: intentional death for testing $GOROOT/src/pkg/http/server.go:495 (0x3f9f8) _func_004: buf.Write(debug.Stack()) $GOROOT/src/pkg/runtime/proc.c:1041 (0x12367) panic: reflect·call(d->fn, d->args, d->siz); $GOROOT/src/pkg/http/serve_test.go:775 (0x5831b) _func_029: panic("intentional death for testing") $GOROOT/src/pkg/http/server.go:575 (0x26366) HandlerFunc.ServeHTTP: f(w, r) $GOROOT/src/pkg/http/server.go:541 (0x261a9) *conn.serve: c.handler.ServeHTTP(w, w.req) $GOROOT/src/pkg/runtime/proc.c:178 (0x10a83) goexit: runtime·goexit(void) with $GOROOT expanded, of course. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/4607051
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4576063
-
Scott Lawrence authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4572066
-