- 14 Jan, 2011 8 commits
-
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/4025041
-
Robert Griesemer authored
Introduced a printer mode (pmode) type and corresponding pmode values which permit easy toggling of the current printer mode for fine-tuning of layout. Use the printer mode to disable potential introduction of line breaks before a closing '}' in composite literals. Added extra test case. Applied gofmt to src and misc. Fixes #1365. R=r2 CC=golang-dev https://golang.org/cl/4008041
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4009041
-
Robert Griesemer authored
Fixes #1321. R=r, r2 CC=golang-dev https://golang.org/cl/4003042
-
Robert Griesemer authored
R=r, r2 CC=golang-dev https://golang.org/cl/4006041
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4005041
-
Robert Griesemer authored
Until now, each scan of a file added a new file to the file set. With this change, a file can be re-scanned using the same *token.File w/o changing the file set. Eventually this will enable the re-use of cached source code in godoc (for the fulltext index). At the moment, source files are read over and over again from disk. This is the first step in that direction. R=r, rsc, r2 CC=golang-dev https://golang.org/cl/4001041
-
Rob Pike authored
R=ken CC=golang-dev https://golang.org/cl/4003041
-
- 13 Jan, 2011 11 commits
-
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4000041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/3999041
-
Andrew Gerrand authored
R=bradfitz, dangabrad CC=golang-dev https://golang.org/cl/3998041
-
Brad Fitzpatrick authored
Also adds some tests for Issue 900 which was the reason the current URL parsing is broken. (the previous fix was wrong) R=rsc, adg, dangabrad, bradfitzwork CC=golang-dev https://golang.org/cl/3910042
-
Robert Griesemer authored
Fixes #1412. R=rsc, r CC=golang-dev https://golang.org/cl/3994041
-
Russ Cox authored
R=r, r2 CC=golang-dev https://golang.org/cl/3939042
-
Robert Griesemer authored
R=r, rsc, iant, ken2 CC=golang-dev https://golang.org/cl/3992041
-
Robert Griesemer authored
When searching for regular expressions such as ".", there are many consecutive matches. In the generated HTML, combine them instead of generating a new <span> for each adjacent text segment highlighting a match. Massively reduces the size of the generated HTML in those cases. R=r, rsc CC=golang-dev https://golang.org/cl/3971041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/3973041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/3972041
-
Rob Pike authored
R=ken2, ken3 CC=golang-dev https://golang.org/cl/3970041
-
- 12 Jan, 2011 16 commits
-
-
Rob Pike authored
R=dsymonds CC=golang-dev https://golang.org/cl/3760049
-
Gustavo Niemeyer authored
It's currently broken due to f6d5bac536c5. R=r, r2 CC=golang-dev https://golang.org/cl/3967041
-
Rob Pike authored
R=agl1, rsc CC=golang-dev https://golang.org/cl/3861044
-
Rob Pike authored
R=adg, rsc CC=golang-dev https://golang.org/cl/3903043
-
Eric Eisner authored
This implements the algorithm qsufsort using the sort package as a sorting primitive. Its worst-case performance is O(N*log(N)), and it uses only an additional slice of N ints of memory during creation. Benchmarks (seconds): old new 10k nulls 149 0.044 1M English corpus 32.0 3.6 R=gri, gri1 CC=golang-dev https://golang.org/cl/3752044
-
Rob Pike authored
there is something funny in the database; trying to recreate the change. R=gri CC=golang-dev https://golang.org/cl/3900044
-
Robert Griesemer authored
Pending CL 3752044. R=r, r2 CC=golang-dev https://golang.org/cl/3949042
-
Nigel Tao authored
R=rsc, nigeltao_gnome CC=golang-dev https://golang.org/cl/3956042
-
Alex Brainman authored
thanks to piotrnar for the original CL. Fixes #1371. R=rsc CC=golang-dev https://golang.org/cl/3834042
-
Rob Pike authored
No functional (ha!) change. R=rsc CC=golang-dev https://golang.org/cl/3959041
-
Adam Langley authored
error is needed by all the OpenPGP packages as they return a shared family of error types. armor implements OpenPGP armoring. It's very like PEM except: a) it includes a CRC24 checksum b) PEM values are small (a few KB) and so encoding/pem assumes that they fit in memory. Armored data can be very large and so this package presents a streaming interface. R=r, nsz, rsc CC=golang-dev https://golang.org/cl/3786043
-
Berengar Lehr authored
The code was (as annotated in the source code) adopted from Tom's LibCrypt (public domain code, [1]). It was neither optimised for speed nor were any security features added. [1] http://libtom.org/?page=features&newsitems=5&whatfile=crypt R=rsc, berengarlehr, albert.strasheim, agl1 CC=golang-dev, schulze https://golang.org/cl/2687042
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/3919043
-
Andrew Gerrand authored
R=r, cw, niemeyer, rsc CC=golang-dev https://golang.org/cl/3952041
-
Alex Brainman authored
I missed that environment is used during runtime setup, well before go init() functions run. Implemented os-dependent runtime.goenvs functions to allow for different unix, plan9 and windows versions of environment discovery. R=rsc, paulzhol CC=golang-dev https://golang.org/cl/3787046
-
Andrew Gerrand authored
R=rsc, brainman, r, r2 CC=golang-dev https://golang.org/cl/3887042
-
- 11 Jan, 2011 5 commits
-
-
Rob Pike authored
R=rsc, gri CC=golang-dev https://golang.org/cl/3890042
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/3948043
-
Russ Cox authored
In the case where r.Method == "POST", was calling Printf with an argument but "" format string, causing a spurious %!EXTRA(...) message. Also escape string properly in HTML generation. R=r CC=golang-dev https://golang.org/cl/3923043
-
Ian Lance Taylor authored
* Avoid confusion between imported and exported symbols. * Record number of imported and exported symbols correctly. * Explictly relocate SMACHOSYM section, since it is not in datap. R=rsc CC=golang-dev https://golang.org/cl/3920042
-
Rob Pike authored
Such fields are simply ignored. R=rsc, r2 CC=golang-dev https://golang.org/cl/3889043
-