- 24 May, 2011 11 commits
-
-
Anthony Martin authored
The spec was adjusted in commit df410d6a4842 to allow the implicit assignment of strutures with unexported fields in method receivers. This change updates the compiler. Also moved bug322 into fixedbugs and updated golden.out to reflect the removal of the last known bug. Fixes #1402. R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/4526069
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4550077
-
Robert Griesemer authored
Fixes #1867. R=r CC=golang-dev https://golang.org/cl/4538092
-
Rob Pike authored
In our evolving style, prose should name a function "f" not "f()". R=gri, rsc CC=golang-dev https://golang.org/cl/4550075
-
Rob Pike authored
A real humdinger. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4538089
-
Brad Fitzpatrick authored
I had a report that this was broken. It seems fine. I think the reporter was just never flushing their response headers. If I omit the test server's initial Flush I get the same behavior as reported. (a hang at Client.Get) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4552062
-
Brad Fitzpatrick authored
Fixes #1855 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4527073
-
Rob Pike authored
Its functionality is now in bufio. Fixes #1869. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4553061
-
Andrew Gerrand authored
R=golang-dev, bradfitz, ality CC=golang-dev https://golang.org/cl/4526070
-
Eric Eisner authored
R=ajmani CC=golang-dev https://golang.org/cl/4553054
-
Rob Pike authored
Inverting the tests avoids recursion and simplifies the flow. R=nigeltao CC=golang-dev https://golang.org/cl/4551057
-
- 23 May, 2011 7 commits
-
-
Brad Fitzpatrick authored
... as "hg log" produces by default. And add a README. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4529080
-
Robert Griesemer authored
Note: This is not a spec change. The spec was not clear on the result type of constant shift expressions. Made it more explicit and added additional examples. Also: Remove paragraph on send expressions (they are statements, now). Fixes #1708. R=rsc, r, iant, r CC=golang-dev https://golang.org/cl/4517074
-
Brad Fitzpatrick authored
Contains common links & a smart text box that recognizes various identifiers and jumps to one of: * issue URL, * codereview URL, * commit URL, * package docs R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4553058
-
Kyle Consalus authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4528091
-
Andrew Gerrand authored
R=dsymonds CC=golang-dev https://golang.org/cl/4550070
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4523090
-
Brad Fitzpatrick authored
R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/4536075
-
- 22 May, 2011 5 commits
-
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4515124
-
Mikio Hara authored
Fixes #1854. R=bradfitz, golang-dev CC=golang-dev https://golang.org/cl/4550062
-
Dave Cheney authored
This tiny nit was driving me nuts R=rsc, ken, r CC=golang-dev https://golang.org/cl/4550069
-
Evan Shaw authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4532076
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4543064
-
- 21 May, 2011 4 commits
-
-
Robert Hencke authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4526073
-
Rob Pike authored
A FlagSet is an independent set of flags that may be used, for example, to provide flag processing for subcommands in a CLI. The standard, os.Args-derived set of flags is a global but non-exported FlagSet and the standard functions are wrappers for methods of that FlagSet. Allow the programmer to control whether the program exits if there is a parse error. For the default set, the behavior remains to exit on error. The handling of Usage is odd due to backward compatibility. R=golang-dev, bradfitz, r, bradfitz CC=golang-dev https://golang.org/cl/4517092
-
Dave Cheney authored
R=rsc, iant CC=golang-dev https://golang.org/cl/4538083
-
Brad Fitzpatrick authored
A user pointed out that Go didn't work with their corp proxy, always throwing 400 Bad Request errors. Looking at the RFC 2616, Host is always required, even with proxies. The old code assumed that writing an absolute URL in the first line of an HTTP request implied that the Host header was no longer necessary. Double-checked behavior with curl. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4539075
-
- 20 May, 2011 9 commits
-
-
Evan Shaw authored
R=r CC=golang-dev https://golang.org/cl/4539073
-
Brad Fitzpatrick authored
R=iant CC=golang-dev https://golang.org/cl/4553051
-
Alexander Orlov authored
Go keywords from Vim's syntax configuration file were used. Issue Tracker Reference: http://code.google.com/p/go/issues/detail?id=1850 Fixes #1850. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4547054
-
Adam Langley authored
Initially I wanted to minimise dependencies but it's become clear that big int support in ASN.1 is a common need and that it should be part of the core. R=bradfitz CC=golang-dev https://golang.org/cl/4550063
-
Adam Langley authored
This change adds a function for generating new Entities and inchoate support for reserialising Entities. R=bradfitz, r, bradfitz CC=golang-dev https://golang.org/cl/4551044
-
Brad Fitzpatrick authored
Fixes #1823 R=golang-dev, adg, robert.hencke CC=golang-dev https://golang.org/cl/4530054
-
Andrew Gerrand authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/4551051
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4547056
-
Robert Griesemer authored
This appears to have been a long-standing formatting bug. The test cases has misformatted golden files. Applied gofmt -w src misc . Fixes #1839. R=iant CC=golang-dev https://golang.org/cl/4515113
-
- 19 May, 2011 4 commits
-
-
Robert Griesemer authored
R=iant, iant2 CC=golang-dev https://golang.org/cl/4515114
-
Gustavo Niemeyer authored
This enables customizing the behavior of formatters with logic such as {"template"|import} or even {Field1 Field2 "%.2f 0x%X"|printf} Thanks to Roger Peppe for some debate on this. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/4536059
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4539067
-
Anthony Martin authored
This code is extracted from crypto/rsa with a few variables renamed and a comment fixed. R=agl, rsc, agl CC=golang-dev https://golang.org/cl/4446068
-