- 16 May, 2011 5 commits
-
-
Russ Cox authored
Add implementation for addr<->reg short moves. Align large data, for ARM. R=ken2 CC=golang-dev https://golang.org/cl/4545050
-
Adam Langley authored
R=agl CC=golang-dev https://golang.org/cl/4517072
-
Brad Fitzpatrick authored
It worked originally, until I renamed a variable. :/ dir_windows.go:11: undefined: e http://godashboard.appspot.com/log/092397f2ac7a1e6e812dc6bebc65b40b02368700a119343d5cee5e2e89e0fde5 R=golang-dev, r CC=golang-dev https://golang.org/cl/4535072
-
Nigel Tao authored
Also add an image package test that DecodeConfig returns the same ColorModel as what Decode would. R=r, r CC=golang-dev https://golang.org/cl/4529065
-
Brad Fitzpatrick authored
Fixes #678 R=rsc, r, alex.brainman, bsiegert, jdpoirier CC=golang-dev https://golang.org/cl/4536058
-
- 15 May, 2011 4 commits
-
-
Nigel Tao authored
of arguments copied". R=gri, r CC=golang-dev https://golang.org/cl/4550041
-
Nigel Tao authored
R=r, bradfitz, r CC=golang-dev https://golang.org/cl/4529064
-
Robert Hencke authored
bug340.go is a test case for a syntax error R=golang-dev, r CC=golang-dev https://golang.org/cl/4523069
-
Robert Hencke authored
Also, clarify some error messages R=golang-dev, r CC=golang-dev https://golang.org/cl/4548042
-
- 14 May, 2011 5 commits
-
-
Brad Fitzpatrick authored
Fixes #1825 R=golang-dev, r CC=golang-dev https://golang.org/cl/4535066
-
Adam Langley authored
Signature.Serialize already does this and they should be consistent. R=bradfitz CC=golang-dev https://golang.org/cl/4521064
-
David Symonds authored
It interferes with keys in composite literals, which are much more common. R=dchest, jnwhiteh, rlight2 CC=golang-dev https://golang.org/cl/4521065
-
Brad Fitzpatrick authored
Not sure why this only broke Windows. Make test is only run on windows for that directory? TBR=golang-dev R=golang-dev CC=golang-dev https://golang.org/cl/4545044
-
Robert Griesemer authored
The position (type) for which the "invalid cycle" error message is reported depends on which type in a cycle of types is first checked. Which one is first depends on the iteration order of maps which is different on different platforms. For now, disable this error message. R=rsc CC=golang-dev https://golang.org/cl/4527059
-
- 13 May, 2011 22 commits
-
-
Rob Pike authored
also make a couple of links more visible and fix an id= href. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4517063
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/4543050
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/4517057
-
Robert Griesemer authored
At the moment types.Check() only deals with global types and only partially so. But the framework is there to compute them and check for cycles. An initial type test is passing. First step of a series of CLs to come. R=rsc CC=golang-dev https://golang.org/cl/4425063
-
Robert Griesemer authored
Fix analoguous error in ebnf.go which already correctly accepted an empty production. Fixes #1821. R=r CC=golang-dev https://golang.org/cl/4526056
-
Rob Pike authored
After improved compilation of append, regexps improve and regex-dna is 35% faster. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4518062
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4543049
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4526052
-
David Symonds authored
This uses a fully custom function for indenting Go code in Vim. It provides a lot more flexibility than a cindent-based approach, so this version gets the := operator correct, as well as switch labels and jump labels. One outstanding TODO is to handle lines immediately after jump labels. R=adg, n13m3y3r, jnwhiteh, dchest, rsc, rlight2 CC=golang-dev, rivercheng https://golang.org/cl/4534047
-
Eivind Uggedal authored
HEAD requests should in my opinion have the ability to follow redirects like the implementation of GET requests does. My use case is polling several thousand severs to check if they respond with 200 status codes. Using GET requests is neither efficient in running time of the task nor for bandwidth consumption. This suggested patch changes the return signature of http.Head() to match that of http.Get(), providing the final URL in a redirect chain. `curl -IL http://google.com` follows redirects with HEAD requests just fine. Fixes #1806. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4517058
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4543046
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4519055
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4515077
-
Sameer Ajmani authored
Without this, Unicode characters are stripped out by M-x gofmt. R=rsc, amdragon CC=golang-dev https://golang.org/cl/4523065
-
Brad Fitzpatrick authored
This CL: -- removes Response.RequestMethod string -- adds Response.Request *Request -- removes the finalURL result parameter from client.Get() -- adds a gofix rule for callers of http.Get which assign the final url to the blank identifier; warning otherwise Caller who did: res, finalURL, err := http.Get(...) now need to do: res, err := http.Get(...) if err != nil { ... } finalURL := res.Request.URL.String() R=rsc CC=golang-dev https://golang.org/cl/4535056
-
Mikio Hara authored
Remove unused functions, getip() and sockaddrToString(). Remove unnecessary linebreaks. R=golang-dev CC=golang-dev https://golang.org/cl/4523062
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev, vcc.163 https://golang.org/cl/4517056
-
Robert Hencke authored
R=golang-dev CC=golang-dev https://golang.org/cl/4535057
-
Robert Hencke authored
R=golang-dev CC=golang-dev https://golang.org/cl/4543044
-
Robert Griesemer authored
parser: - resolve embedded interface type names ast: - clarify some comments - correctly unquote import paths R=rsc CC=golang-dev https://golang.org/cl/4528060
-
Russ Cox authored
TBR=gri CC=golang-dev https://golang.org/cl/4534052
-
Benny Siegert authored
The TIFF spec says that a baseline TIFF reader must gracefully terminate when the image has a SampleFormat tag which it does not support. For baseline compatibility, only SampleFormat=1 (the default) is needed. Images with other sample formats (e.g. floating-point color values) are very rare in practice. R=nigeltao CC=golang-dev https://golang.org/cl/4515073
-
- 12 May, 2011 4 commits
-
-
Brad Fitzpatrick authored
Fixes #1391 R=nigeltao CC=golang-dev https://golang.org/cl/4453054
-
Robert Griesemer authored
This CL proposes some subtle language changes in an attempt to clarify the semantics of range clauses and simplify uses of maps. - nil maps behave like empty maps; but attempting to set a value in a nil map causes a run-time panic - nil channels are never ready for communication; sending or reading from a nil channel blocks forever - if there is only one index iteration variable in a range clause and len(range expression) would be a constant, the range expression is not evaluated. (was discrepancy with len/cap before) - the notion of what is a constant expression len(x) for (pointer to) arrays x has been generalized and simplified (can still be syntactically decided) (before: more restrictive syntactic rule that was not consistently implemented) Fixes #1713. R=r, rsc, iant, ken2, r2, bradfitz, rog CC=golang-dev https://golang.org/cl/4444050
-
Robert Griesemer authored
A struct or interface type node is marked incomplete if fields or methods have been removed through any kind of filtering, not just because entries are not exported. The current message was misleading in some cases (for instance: "godoc -src reflect Implements"). This CL requires CL 4527050 . R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4529054
-
Robert Griesemer authored
Also: - fieldListExports: don't require internal pointer to StructType/InterfaceType node - filterFieldLists: make structure match fieldListExports R=rsc CC=golang-dev https://golang.org/cl/4527050
-