- 20 Feb, 2012 10 commits
-
-
Brad Fitzpatrick authored
-- add driver.Value type and documentation, convert from interface{} to Value where appropriate. -- don't say "subset" anywhere, -- SubsetValuer -> Valuer -- SubsetValue -> Value -- IsParameterSubsetType -> IsValue -- IsScanSubsetType -> IsScanValue Fixes #2842 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5674084
-
Rob Pike authored
While we're here, get rid of the old names for the escaping functions. Fixes #3073. R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5685049
-
Russ Cox authored
My theory is that the call to f() allocates, which triggers a garbage collection, which itself may do some allocation, which is being counted. Running a garbage collection before starting the test should avoid this problem. Fixes #2894 (I hope). R=golang-dev, bradfitz, nigeltao CC=golang-dev https://golang.org/cl/5685046
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5683046
-
Rob Pike authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5683045
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5685048
-
Scott Lawrence authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5676099
-
Fazlul Shahriar authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5689043
-
Alex Brainman authored
Fixes #2893. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5685047
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5684046
-
- 19 Feb, 2012 30 commits
-
-
Shenghou Ma authored
ARM doesn't have the concept of scale, so I renamed the field Addr.scale to Addr.flag to better reflect its true meaning. R=rsc CC=golang-dev https://golang.org/cl/5687044
-
Russ Cox authored
Fixes #2890. R=golang-dev, r, remyoudompheng CC=golang-dev https://golang.org/cl/5683044
-
Shenghou Ma authored
Fixes #1834. R=rsc, alex.brainman CC=golang-dev https://golang.org/cl/5673068
-
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
-