- 12 May, 2011 9 commits
-
-
Russ Cox authored
In the new world, one builder runs gobuilder -commit which uploads information about commits to the dashboard, which then hands the work out to the builders by hash. There is no assumption anymore that the commit numbers are consistent across builders. New builders will need to be deployed. For now darwin-amd64 is running the new builder to test the code. The new JSON-based protocol for handing out work via /todo should be easy to extend if we want to add support for sending trial CLs to the builders. This code is already running on godashboard.appspot.com. R=adg, dave CC=golang-dev https://golang.org/cl/4519047
-
Johan Euphrosine authored
s/Sprintf/Fprintf/ R=golang-dev, rsc CC=adg, golang-dev https://golang.org/cl/4519053
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4515070
-
Russ Cox authored
Should have been added long ago. Thanks to Alex Brainman for noticing. R=ken2 CC=golang-dev https://golang.org/cl/4538046
-
Anthony Martin authored
This was causing a panic in the reflect package since type.* pointers with their low bits set are assumed to have certain flags set that disallow the use of reflection. Thanks to Pavel and Taru for help tracking down this bug. R=rsc, paulzhol, taruti CC=golang-dev https://golang.org/cl/4511041
-
Lorenzo Stoakes authored
Fixes #1606. R=rsc CC=golang-dev https://golang.org/cl/4532045
-
Russ Cox authored
Fixes hg clpatch. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/4524045
-
Anthony Martin authored
Also, clean *.out files for commands written in Go. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4535051
-
Brad Fitzpatrick authored
There were a couple issues: -- HEAD requests were attempting to be ungzipped, despite having no content. That was fixed in the previous patch version, but ultimately was fixed as a result of other refactoring: -- persist.go's ClientConn "lastbody" field was remembering the wrong body, since we were mucking with it later. Instead, ditch ClientConn's readRes func field and add a new method passing it in, so we can use a closure and do all our bodyEOFSignal + gunzip stuff in one place, simplifying a lot of code and not requiring messing with ClientConn's innards. -- closing the gzip reader didn't consume its contents. if the caller wasn't done reading all the response body and ClientConn closed it (thinking it'd move past those bytes in the TCP stream), it actually wouldn't. so introduce a new wrapper just for gzip reader to have its Close method do an ioutil.Discard on its body first, before the close. Fixes #1725 Fixes #1804 R=rsc, eivind CC=golang-dev https://golang.org/cl/4523058
-
- 11 May, 2011 10 commits
-
-
Adam Langley authored
R=rsc, bradfitz, bradfitzgoog CC=golang-dev https://golang.org/cl/4518056
-
Christian Himpel authored
RFC 6265 requires that user agents MUST NOT send more than one Cookie header in a request. Note, this change also fixes an issue when sending requests with more than one cookie header line to a php script served by an apache web server. Apache concatenates the cookies with ", ", but php tries to split them only at ";". E.g. two cookies: "a=b, c=d" are seen by php as one cookie "a" with the value "b, c=d". Fixes #1801 R=bradfitz CC=golang-dev https://golang.org/cl/4535048
-
Brad Fitzpatrick authored
An optimization in Transport which re-uses TCP connections early in the case where there is no response body interacted poorly with ErrBodyReadAfterClose. Upon recycling the TCP connection early we would Close the Response.Body (in case the user forgot to), but in the case of a zero-lengthed body, the user's handler might not have run yet. This CL makes sure the Transport doesn't try to Close requests when we're about to immediately re-use the TCP connection. This also includes additional tests I wrote while debugging. R=rsc, bradfitzgoog CC=golang-dev https://golang.org/cl/4529050
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4521054
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4523054
-
Rob Pike authored
Fixes #1796. R=rsc, r2, niemeyer CC=golang-dev https://golang.org/cl/4539049
-
Adam Langley authored
crl parses CRLs and exposes their details. In the future, Verify should be able to use this for revocation checking. R=bradfitz CC=golang-dev https://golang.org/cl/4485045
-
Luuk van Dijk authored
issue 1604 R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4313062
-
Brad Fitzpatrick authored
R=adg, rsc, kevlar, r CC=golang-dev https://golang.org/cl/4476045
-
Andrew Gerrand authored
R=rsc, dsymonds CC=golang-dev https://golang.org/cl/4528053
-
- 10 May, 2011 4 commits
-
-
Russ Cox authored
Fixes #1608. Fixes #1787. R=ken2 CC=golang-dev https://golang.org/cl/4530045
-
Robert Griesemer authored
So far, only top-level names where considered when trimming ASTs using a filter function. For instance, "godoc reflect Implements" didn't show the "Implements" method of the type Interface because the local method name was not considered (on the other hand, "top- level" declared methods associated with types were considered). With this CL, AST filter functions look also at struct fields and interface methods. R=rsc, r CC=golang-dev https://golang.org/cl/4518050
-
Albert Strasheim authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4523047
-
Nigel Tao authored
writing the idct result directly to the image buffer instead of storing it in an intermediate d.blocks field. Writing to d.blocks was necessary when decoding to an image.RGBA image, but now that we decode to a ycbcr.YCbCr we can write each component directly to the image buffer. Crude "time ./6.out" scores to decode a specific 2592x1944 JPEG 20 times show a 16% speed-up: BEFORE user 0m10.410s user 0m10.400s user 0m10.480s user 0m10.480s user 0m10.460s AFTER user 0m9.050s user 0m9.050s user 0m9.050s user 0m9.070s user 0m9.020s R=r CC=golang-dev https://golang.org/cl/4523052
-
- 09 May, 2011 4 commits
-
-
Robert Griesemer authored
gofmt -w src misc Fixes #1414. R=rsc, r CC=golang-dev https://golang.org/cl/4456054
-
Robert Griesemer authored
When traversing parameter lists (e.g. for type checking), we want the invariant that all identifers have associated objects (even _ idents), so that we can associate a type with each object. R=rsc CC=golang-dev https://golang.org/cl/4490042
-
Rob Pike authored
Had bit test wrong on transparency; no excuses. R=nigeltao CC=golang-dev https://golang.org/cl/4526044
-
Rob Pike authored
At least, as I understand it. The spec is unclear about what happens with a local color map. R=nigeltao, r2 CC=golang-dev https://golang.org/cl/4515045
-
- 08 May, 2011 6 commits
-
-
Rob Pike authored
Fixes #1786. R=gri, adg CC=golang-dev https://golang.org/cl/4517043
-
Rob Pike authored
Fixes #1788. R=rsc, adg CC=golang-dev https://golang.org/cl/4519042
-
Alex Brainman authored
R=golang-dev, r, r2 CC=golang-dev https://golang.org/cl/4471046
-
Alex Brainman authored
This change fixes generation of "shadow" variables for bool parameters. Before the change, it was naming all bool variables with the same name of _p0. Now it calls them _p0, _p1, ... So the code could compile. R=golang-dev, r CC=golang-dev https://golang.org/cl/4479047
-
Rob Pike authored
It's incomplete but sufficient to decode 8-bit GIFs without interlacing or transparency. More to come. I'll put in more tests as the feature set grows. R=nigeltao, r2 CC=golang-dev https://golang.org/cl/4522041
-
Nigel Tao authored
instead of returning an error. For example, http://www.w3.org/Graphics/GIF/spec-gif89a.txt explicitly says that GIF encoders can use a full table as is, without needing to send a clear code. R=r, dsymonds, nigeltao_gnome, r2 CC=golang-dev https://golang.org/cl/4518041
-
- 07 May, 2011 2 commits
-
-
Anschel Schaffer-Cohen authored
Fixes #1785. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4496042
-
Joe Poirier authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4492043
-
- 06 May, 2011 5 commits
-
-
Roger Peppe authored
This means that the -x flag can work, which could enable support for other languages (e.g. objective-C). R=iant, rsc CC=golang-dev https://golang.org/cl/4476049
-
Dmitry Chestnykh authored
R=adg, rsc1, rsc CC=golang-dev https://golang.org/cl/4491041
-
Albert Strasheim authored
R=rsc CC=golang-dev https://golang.org/cl/4396050
-
David Symonds authored
R=adg CC=golang-dev https://golang.org/cl/4485046
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4477046
-