- 28 Jan, 2011 6 commits
-
-
Russ Cox authored
The sanity checking in pass 2 is wrong when a select is offering to communicate in either direction on a channel and neither case is immediately ready. R=ken2 CC=golang-dev https://golang.org/cl/3991047
-
Russ Cox authored
The old heap maps used a multilevel table, but that was overkill: there are only 1M entries on a 32-bit machine and we can arrange to use a dense address range on a 64-bit machine. The heap map is in bss. The assumption is that if we don't touch the pages they won't be mapped in. Also moved some duplicated memory allocation code out of the OS-specific files. R=r CC=golang-dev https://golang.org/cl/4118042
-
Rob Pike authored
delete reference to Debug function. R=rsc CC=golang-dev https://golang.org/cl/4063048
-
Rob Pike authored
Also clean up the code, make it more regular. Fixes #1416. R=rsc CC=golang-dev https://golang.org/cl/3985047
-
Rob Pike authored
- complex numbers now supported. - entirely independent of standard decode code. - parser has no read-ahead; that is, the scanning works simply by reading the values as they arrive, not by trying to count bytes for message boundaries, a proof of concept for the pending rewrite of the regular decoder. R=rsc, r2 CC=golang-dev https://golang.org/cl/4084044
-
Russ Cox authored
make test.sh runnable as a command. announce only on 127.0.0.1. rebuild final-test.bin when final-test.go changes. R=adg, r CC=golang-dev https://golang.org/cl/4030044
-
- 27 Jan, 2011 13 commits
-
-
Robert Griesemer authored
This bug prevented files such as READMEs etc. from being included in the index. For instance, now author names recorded in the AUTHORS file can be found with a godoc query. R=rsc, r2 CC=golang-dev https://golang.org/cl/4005047
-
Evan Shaw authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4000046
-
Russ Cox authored
Add intended changes for close + closed, commented out. R=golang-dev, niemeyer, r, gri1 CC=golang-dev https://golang.org/cl/4013045
-
Gustavo Niemeyer authored
The linker avoids a GOT indirection by turning a MOV into a LEA, but with x86-64 GCC has started emitting CMOV* instructions which break the existing logic. This will generate errors such as: unexpected GOT reloc for non-dynamic symbol luaO_nilobject_ The CMOV* instructions may be emitted with normal code like: if (o >= L->top) return cast(TValue *, luaO_nilobject); else return o; Which gets compiled into (relocation offset at 1b): 13: 48 3b 47 10 cmp 0x10(%rdi),%rax 17: 48 0f 43 05 00 00 00 cmovae 0x0(%rip),%rax 1e: 00 This change will allow the indirection through the GOT to avoid the problem in those cases. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4071044
-
Wei Guangjing authored
R=rsc, brainman, mattn CC=golang-dev https://golang.org/cl/4022043
-
Wei Guangjing authored
R=rsc CC=golang-dev https://golang.org/cl/4102043
-
Andrew Gerrand authored
R=bradfitz, dsymonds, r2, dangabrad, rsc CC=golang-dev https://golang.org/cl/4043043
-
Yasuhiro Matsumoto authored
R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4102044
-
Robert Griesemer authored
R=adg CC=golang-dev https://golang.org/cl/3990045
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4029046
-
Robert Griesemer authored
godoc uses this to provide full text index position information for non-Go files. R=rsc CC=golang-dev https://golang.org/cl/4041045
-
Robert Griesemer authored
Fixes #1446. R=rsc CC=golang-dev https://golang.org/cl/3981043
-
Andrew Gerrand authored
R=rsc, bradfitzgo CC=golang-dev https://golang.org/cl/4087043
-
- 26 Jan, 2011 12 commits
-
-
Ian Lance Taylor authored
Make sure we export the channels before we try to import them. R=r CC=golang-dev https://golang.org/cl/4077046
-
Russ Cox authored
Thanks to Mike Beller for identifying the problem. Fixes #1442. R=bradfitz, bradfitzgo CC=golang-dev https://golang.org/cl/4102042
-
Robert Griesemer authored
Fixes #1445. R=r, rsc, iant, ken2 CC=golang-dev https://golang.org/cl/4109041
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4061045
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4114041
-
Russ Cox authored
TBR=adg CC=golang-dev https://golang.org/cl/4092042
-
Russ Cox authored
TBR=adg CC=golang-dev https://golang.org/cl/4077045
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/3982051
-
Brad Fitzpatrick authored
R=agl1, bradfitzwork, rsc CC=golang-dev https://golang.org/cl/4066043
-
Russ Cox authored
It is unmaintained and untested, and I think it's broken too. It was a toy to show that Go can run on real hardware, and it served its purpose. The source code will of course remain in the repository history, so it could be brought back if needed later. R=r, r2, uriel CC=golang-dev https://golang.org/cl/3996047
-
Andrew Gerrand authored
R=mattn CC=golang-dev https://golang.org/cl/4034046
-
Andrew Gerrand authored
Fixes #1444. R=rsc, r CC=golang-dev https://golang.org/cl/3979045
-
- 25 Jan, 2011 9 commits
-
-
Alex Brainman authored
R=golang-dev CC=golang-dev https://golang.org/cl/4052046
-
Russ Cox authored
* move stack constants from proc.c to runtime.h * make memclr take uintptr length R=r CC=golang-dev https://golang.org/cl/3985046
-
Robert Griesemer authored
The implementation of the position computation was surprisingly broken. Implemented fixes and added extra test cases. There is a slight interface change: Calling Pos() returns the current position; but if called before Scan() that position may not be the position of the next token returned by Scan() (depending on the scan settings and the source text) - this in contrast to the original comment. However, after calling Scan(), the Scanner's Position field reports the position of the scanned token, as before. Fixes #1327. R=rsc CC=golang-dev https://golang.org/cl/3972047
-
Roger Peppe authored
Also simplify sleeper algorithm and poll occasionally so redundant sleeper goroutines will quit sooner. R=r, niemeyer, r2 CC=golang-dev https://golang.org/cl/4063043
-
Luuk van Dijk authored
R=rsc CC=golang-dev, golang-dev https://golang.org/cl/3992047
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/3987045
-
Adam Langley authored
R=bradfitzgo, r, bradfitzwork, nsz, rsc CC=golang-dev https://golang.org/cl/3990043
-
David Anderson authored
The docstring claims the function uses PSS message encoding, when the function actually implements PKCS1-v1_5 encoding. R=agl1, rsc CC=danderson, golang-dev https://golang.org/cl/4097042
-
Russ Cox authored
R=agl1, danderson CC=golang-dev https://golang.org/cl/4029044
-