- 18 Jan, 2011 8 commits
-
-
Russ Cox authored
Have to set #defines correctly to get correct value. Otherwise get a mask for use in implementing WIFSTOPPED(status). Changed WSTOPPED definition in os because on OS X WSTOPPED and WUNTRACED have different values even though they seem to mean the same thing. Fixes #1374. R=r, r2 CC=golang-dev https://golang.org/cl/4063042
-
Rob Pike authored
R=brainman CC=golang-dev https://golang.org/cl/4042042
-
Robert Griesemer authored
A wrongly nested if prevented the message from appearing. Fixes #1420. R=r, r2 CC=golang-dev https://golang.org/cl/3987043
-
Anthony Martin authored
Fixes #1411. R=rsc, gri, ejsherry CC=golang-dev https://golang.org/cl/4035042
-
Jos Visser authored
R=r, rsc, dsymonds CC=golang-dev https://golang.org/cl/4044041
-
Russ Cox authored
R=josv, r CC=golang-dev https://golang.org/cl/4065041
-
Ian Lance Taylor authored
R=rsc, iant2 CC=golang-dev https://golang.org/cl/3974044
-
Ken Thompson authored
after call to deferproc R=r CC=golang-dev https://golang.org/cl/4059041
-
- 17 Jan, 2011 1 commit
-
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4004042
-
- 16 Jan, 2011 3 commits
-
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4047041
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/3969042
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4034042
-
- 15 Jan, 2011 1 commit
-
-
Rob Pike authored
R=ken2 CC=golang-dev https://golang.org/cl/4035041
-
- 14 Jan, 2011 11 commits
-
-
Russ Cox authored
The fault was lucky: when it wasn't faulting it was silently copying a word from some other block and later putting that same word back. If some other goroutine had changed that word of memory in the interim, too bad. The ARM code was inconsistent about whether the "argument frame" included the saved LR. Including it made some things more regular but mostly just caused confusion in the places where the regularity broke. Now the rule reflects reality: argp is always a pointer to arguments, never a saved link register. Renamed struct fields to make meaning clearer. Running ARM in QEMU, package time's gotest: * before: 27/58 failed * after: 0/50 R=r, r2 CC=golang-dev https://golang.org/cl/3993041
-
Ian Lance Taylor authored
This defines crosscall2 in a way that matches that real definition, and also defines _cgo_allocate and _cgo_panic to indicate that they are available to be called by code compiled with gcc. R=rsc CC=golang-dev https://golang.org/cl/4026041
-
Ian Lance Taylor authored
In this specific package crosscall2 is already defined in a .S file anyhow. This avoids a warning about mismatched alignment. R=rsc CC=golang-dev https://golang.org/cl/4000043
-
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 5 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
-