- 10 Feb, 2011 5 commits
-
-
Wei Guangjing authored
R=golang-dev, brainman, mattn, rsc CC=golang-dev https://golang.org/cl/4001058
-
Adam Langley authored
R=bradfitzgo CC=golang-dev https://golang.org/cl/4156044
-
Hector Chu authored
R=brainman, lxn, rsc CC=golang-dev https://golang.org/cl/4126056
-
Rob Pike authored
R=gri CC=golang-dev https://golang.org/cl/4169044
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4176042
-
- 09 Feb, 2011 25 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4169043
-
Robert Griesemer authored
- guard some calls to Write that frequently may have 0-length data - fix an invariant R=r CC=golang-dev https://golang.org/cl/4179041
-
Rob Pike authored
In line with other functions such as Fprintf, put the thing to be written first. Apologies for the breakages this is sure to cause. R=rsc, gri, adg, eds, r2, aam CC=golang-dev https://golang.org/cl/4169042
-
Robert Griesemer authored
This functionality was removed with CL 4169041. Minor simplifications. R=r, adg CC=golang-dev https://golang.org/cl/4171042
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4173041
-
Rob Pike authored
this will break the build, but it's already silently broken. R=rsc CC=golang-dev https://golang.org/cl/4168041
-
Rob Pike authored
R=gri, adg CC=golang-dev https://golang.org/cl/4169041
-
Russ Cox authored
BSD and Darwin require an extra page between end and the first mapping, and Windows has various memory in the way too. Fixes #1464. R=r, r2 CC=golang-dev https://golang.org/cl/4167041
-
Russ Cox authored
Do not reserve virtual address space. Instead, assume it will be there when we need it, and crash loudly if that assumption is violated. Reserving the address space gets charged to ulimit -v, which exceeds commonly set limits. http://groups.google.com/group/golang-dev/msg/7c477af5f5a8dd2c R=r, niemeyer CC=golang-dev https://golang.org/cl/4148045
-
Russ Cox authored
Avoids problems running Linux binaries under QEMU. R=r, gri CC=golang-dev https://golang.org/cl/4151043
-
Roger Peppe authored
Add Error type to enable clients to distinguish between local and remote errors. Also return "connection shut down error" after the first error return rather than returning the same error each time. R=r CC=golang-dev https://golang.org/cl/4080058
-
Robert Griesemer authored
Neither gofmt nor godoc are making use of a Styler (for token-specific formatting) anymore. Stylers interacted in complicated ways with HTML-escaping which was why the printer needed an HTML mode in the first place. godoc now uses a more powerful and general text formatting function that does HTML escaping, text selection, and can handle token-specific formatting if so desired (currently used only for comments). As a consequence, cleaned up uses of go/printer in godoc; simplified the various write utility functions, and also removed the need for the "html" template format (in favor of html-esc which now does the same and is used more pervasively). Applied gofmt -w src misc to verify no changes occured, and tested godoc manually. There should be no visible changes except that (type) code snippets presented for godoc package documentation now uses the same formatting as for general source code and thus comments get the comment-specific color here as well (not the case at the moment). (TODO: godoc needs a good automatic test suite). R=rsc CC=golang-dev https://golang.org/cl/4152042
-
Adam Langley authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/4130047
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4128061
-
Gustavo Niemeyer authored
Even if local, it requires communication with a daemon which may not be available. This is creating problems for getting an Ubuntu package going in Launchpad's PPA. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/3989062
-
Gustavo Niemeyer authored
Structs defined in C as containing a field with an enum type are currently translated to Go as a struct with an unsigned integer field, even if some of the values contained in the enum are negative. This modification takes in consideration the values defined in the enum, and conditionally defines the Go type as signed if necessary. The logic introduced was tested with gcc, which will increase the type size if it contains both negative numbers and values greater than 2^b/2-1, and refuses to compile values which would be problematic (2^64-1, but in fact the ISO C restricts the range to the size of int). R=rsc CC=golang-dev https://golang.org/cl/4119058
-
Brad Fitzpatrick authored
Fixes #716 This CL simply resumes the previous CL in-flight at https://golang.org/cl/906042/ R=rsc, petar-m, dsymonds CC=golang-dev https://golang.org/cl/4157042
-
Kyle Consalus authored
Faster in most cases, and not prone to memory leaks. Named "Do" to match with similarly named method on Vector. R=gri CC=golang-dev https://golang.org/cl/4134046
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4158043
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/4151042
-
Yasuhiro Matsumoto authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4145046
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/4138041
-
Alex Brainman authored
R=golang-dev, r2 CC=golang-dev https://golang.org/cl/4159041
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4154043
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4149044
-
- 08 Feb, 2011 7 commits
-
-
Anthony Martin authored
The spec can now be parsed with an xml.Parser using the HTML settings. R=gri CC=golang-dev https://golang.org/cl/4155042
-
Robert Griesemer authored
- added an example to Type declarations section clarifying the situation brought up with issue 1324 - slightly re-ordered paragraphs in Types section - added separate heading for method set section and refer to it from elsewhere in the spec - no language changes R=rsc, r, iant, ken2, r2 CC=golang-dev https://golang.org/cl/4145043
-
Joe Poirier authored
R=rsc, brainman CC=golang-dev https://golang.org/cl/4146041
-
Graham Miller authored
Currently, when an importer closes the connection, the exporter gives an error message 'netchan export: error decoding client header:EOF'. This change causes the exporter to look for an EOF during the parse of the header, and silences the log message in that case. R=r CC=golang-dev, rog https://golang.org/cl/4132044
-
Gustavo Niemeyer authored
The logic introduced to avoid running cgo when introducing _cgo_flags is faulty. My goal was to handle it with the following statement: -include _cgo_flags The dash tells make to ignore errors if it can't include the file. What I missed, though, was the fact that it *will* attempt to build the file if it knows how. This change will introduce the originally intended semantics of not attempting to build the file before necessary. R=rsc CC=golang-dev https://golang.org/cl/4023069
-
Adam Langley authored
This was split from CL 4124054 R=bradfitzgo CC=golang-dev https://golang.org/cl/4126057
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4105058
-
- 07 Feb, 2011 3 commits
-
-
Ken Thompson authored
reg: enable peep optimizer. cgen64: better int64 code. R=r CC=golang-dev https://golang.org/cl/3989065
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4105057
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4023071
-