- 19 Feb, 2012 29 commits
-
-
Bobby Powers authored
Fix all the local links, as contrib.html is served as /project/ R=golang-dev, adg CC=golang-dev https://golang.org/cl/5656105
-
Russ Cox authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5685043
-
Rob Pike authored
Fixes #3072. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5684044
-
Rob Pike authored
It's testing an old property of the language and is no longer relevant. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5676104
-
Rob Pike authored
which is trailing commas in literals. They were gofmted away at some point. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5673103
-
Rob Pike authored
It's in an odd style and it's unclear what true purpose it serves as a test other than to be another Go program. R=gri CC=golang-dev https://golang.org/cl/5674111
-
Russ Cox authored
* disallow embedding of C type (Fixes issue 2552) * detect 0-length array (Fixes issue 2806) * use typedefs when possible, to avoid attribute((unavailable)) (Fixes issue 2888) * print Go types constructed from C types using original C types (Fixes issue 2612) This fix changes _cgo_export.h to repeat the preamble from import "C". Otherwise the fix to issue 2612 is impossible, since it cannot refer to types that have not been defined. If people are using //export and putting non-header information in the preamble, they will need to refactor their code. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5672080
-
Marcel van Lohuizen authored
R=r, r, rsc CC=golang-dev https://golang.org/cl/5656108
-
Shenghou Ma authored
R=rsc CC=golang-dev https://golang.org/cl/5677095
-
Russ Cox authored
morebuf holds a pc/sp from the last stack split or reflect.call or panic/recover. If the pc is a closure, the reference will keep it from being collected. moreargp holds a pointer to the arguments from the last stack split or reflect.call or panic/recover. Normally it is a stack pointer and thus not of interest, but in the case of reflect.call it is an allocated argument list and holds up the arguments to the call. R=golang-dev, r CC=golang-dev https://golang.org/cl/5674109
-
Russ Cox authored
The garbage collector can avoid scanning this section, with reduces collection time as well as the number of false positives. Helps a little bit with issue 909, but certainly does not solve it. R=ken2 CC=golang-dev https://golang.org/cl/5671099
-
Russ Cox authored
Now in zoneinfo.zip. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5671098
-
Russ Cox authored
Removal of old zoneinfo files is a separate CL due to its size. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5676100
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5677094
-
Rob Pike authored
Most already had comments (yay); adjusted for consistency. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5676102
-
Russ Cox authored
We should, after Go 1, make them work the same as package xml, that is, make them appear in the outer struct. For now turn them off so that people do not depend on the old behavior. Fixing them is issue 3069. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656102
-
Russ Cox authored
The m->cret word holds the C return value when returning across a stack split boundary. It was not being cleared after use, which means that the return value (if a C function) or else the value of AX/R0 at the time of the last stack unsplit was being kept alive longer than necessary. Clear it. I think the effect here should be very small, but worth fixing anyway. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5677092
-
Brad Fitzpatrick authored
Fixes #3065 R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5675094
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5674108
-
Russ Cox authored
Delete Alloc, Free, Lookup, Semacquire, Semrelease Fixes #2955. R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/5675093
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656103
-
Rob Pike authored
I'm sure I wrote these before but they've disappeared. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5673100
-
Rob Pike authored
Very few of the compiler regression tests include a comment saying waht they do. Many are obvious, some are anything but. I've started with a-c in the top directory. More will follow once we agree on the approach, correctness, and thoroughness here. zerodivide.go sneaked in too. R=rsc, r CC=golang-dev https://golang.org/cl/5656100
-
Russ Cox authored
R=golang-dev, ken2 CC=golang-dev https://golang.org/cl/5674098
-
Russ Cox authored
Fixes #2964. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656101
-
Mikio Hara authored
Fixes #3067. R=golang-dev, rsc, rsc CC=golang-dev https://golang.org/cl/5656098
-
Russ Cox authored
Generated by lib/time/update.bash. R=bradfitz CC=golang-dev https://golang.org/cl/5676096
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5674104
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5674105
-
- 18 Feb, 2012 11 commits
-
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5675092
-
Rémy Oudompheng authored
Apply sed with: 1s,^// $G $D/$F.go && $L $F.$A && ./$A.out || echo.*,// run, 1s,^// $G $D/$F.go || echo.*,// compile, R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5656099
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5676094
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5677084
-
Ian Lance Taylor authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5673080
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5673090
-
David Symonds authored
R=golang-dev, bradfitz, r, r CC=golang-dev https://golang.org/cl/5676090
-
Shenghou Ma authored
R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/5649068
-
Rob Pike authored
Fixes #3053. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5656094
-
Ian Lance Taylor authored
Because bug040.go was ignoring all error messages, the fact that it got an error about fuction main was being ignored. R=golang-dev, r CC=golang-dev https://golang.org/cl/5675085
-
Ian Lance Taylor authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5673089
-