- 22 May, 2009 11 commits
-
-
Russ Cox authored
TBR=r OCL=29279 CL=29279
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=1 (1 added, 0 deleted, 0 changed) OCL=29275 CL=29278
-
Robert Griesemer authored
comment markers must only be stripped if they are at the very beginning otherwise comments that contain code with comments get screwed up (the ast delivers clean comments with no junk before or after) - fix indentation in google/net/rpc/rpc.go which screwed up godoc formatting R=rsc DELTA=3 (0 added, 0 deleted, 3 changed) OCL=29223 CL=29267
-
Robert Griesemer authored
R=rsc DELTA=106 (69 added, 9 deleted, 28 changed) OCL=29203 CL=29254
-
Robert Griesemer authored
R=rsc DELTA=184 (69 added, 73 deleted, 42 changed) OCL=29178 CL=29253
-
Russ Cox authored
R=r DELTA=21 (21 added, 0 deleted, 0 changed) OCL=29212 CL=29249
-
Russ Cox authored
(will submit with compiler fixes). R=r DELTA=44 (44 added, 0 deleted, 0 changed) OCL=29211 CL=29248
-
Robert Griesemer authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=29221 CL=29221
-
Robert Griesemer authored
R=r DELTA=41 (0 added, 21 deleted, 20 changed) OCL=29219 CL=29219
-
Russ Cox authored
R=ken OCL=29209 CL=29216
-
Russ Cox authored
R=dsymonds DELTA=2 (0 added, 0 deleted, 2 changed) OCL=29210 CL=29215
-
- 21 May, 2009 15 commits
-
-
Russ Cox authored
update tests. R=ken OCL=29207 CL=29207
-
Ken Thompson authored
renamed 6g/(gen|align|obj).c R=r OCL=29205 CL=29205
-
Russ Cox authored
R=r DELTA=79 (79 added, 0 deleted, 0 changed) OCL=29196 CL=29202
-
Russ Cox authored
so that callers cannot edit large values inside interfaces. R=r DELTA=52 (42 added, 1 deleted, 9 changed) OCL=29180 CL=29195
-
Russ Cox authored
when assigning a multifield object (structs or arrays of structs) they must not contain any fields that could not be assigned individually. R=ken OCL=29192 CL=29194
-
Russ Cox authored
move interface tests to subdirectory. R=r DELTA=1632 (827 added, 804 deleted, 1 changed) OCL=29181 CL=29191
-
Ken Thompson authored
structure and array literals R=r OCL=29190 CL=29190
-
Russ Cox authored
R=r DELTA=3 (0 added, 1 deleted, 2 changed) OCL=29151 CL=29176
-
Russ Cox authored
delete unnecessary reflect. throughout R=r DELTA=124 (18 added, 0 deleted, 106 changed) OCL=29173 CL=29175
-
Russ Cox authored
(this time i ran g4 nothave) TBR=r OCL=29156 CL=29156
-
Russ Cox authored
TBR=dsymonds OCL=29155 CL=29155
-
Russ Cox authored
must have non-nil i. R=ken OCL=29136 CL=29136
-
Russ Cox authored
* new package hash defining interfaces Hash and Hash32. * adler32 and crc32 return Hash32 instead of specific types. * adler32 and crc32 provide non-allocating methods for single slices. * sha1 and md5 move to crypto, return Hash. * sum.go, a simple test program, moves to /usr/rsc. * refresh Make.deps R=r DELTA=1908 (935 added, 923 deleted, 50 changed) OCL=29095 CL=29135
-
Russ Cox authored
in x.(T) x cannot be a nil (uninitialized) interface variable. remove TODO per discussion. DELTA=3 (1 added, 1 deleted, 1 changed) OCL=29123 CL=29134
-
Robert Griesemer authored
- format.go implementation complete - lots of documentation added (not quite complete) TBR=r OCL=29130 CL=29130
-
- 20 May, 2009 9 commits
-
-
Robert Griesemer authored
R=r DELTA=250 (250 added, 0 deleted, 0 changed) OCL=29120 CL=29127
-
Russ Cox authored
as far as I can tell there's no reason not to. the Nillable test was succeeding because NewZeroValue returned the nil interface value and the type guard was letting it through. the only change in the test is more detail in the print. R=r DELTA=8 (0 added, 7 deleted, 1 changed) OCL=29124 CL=29126
-
Russ Cox authored
that came from two different enums. spilt into ifacecvt and ifaceop depending on which enum the argument is. R=ken OCL=29122 CL=29122
-
Russ Cox authored
this is not a user-visible change. before, all interface values were struct Itype { Sigt *type; Sigi *inter; void *method[n]; } struct Iface { void *addr; Itype *itype; } the itype is basically a vtable, but it's unnecessary if the static type is interface{ }. for interface values with static type empty, the new representation is struct Eface { void *addr; Sigt *type; } this complicates the code somewhat, but it reduces the number of Itypes that have to be computed and cached, it opens up opportunities to avoid function calls in a few common cases, and it will make it possible to lay out interface{} values at compile time, which i think i'll need for the new reflection. R=ken OCL=28701 CL=29121
-
Russ Cox authored
do not update lineno from ONAME nodes, because they have declaration lineno not use. show actual name in top-level statement error. before runtime.a:7: x.go:5: walkstate: NAME not a top level statement after x.go:14: walkstate: runtime.Goexit not a top level statement R=ken OCL=29113 CL=29116
-
Russ Cox authored
rename place-holder to _place_holder_ so it can be avoided. R=r DELTA=5 (2 added, 2 deleted, 1 changed) OCL=29093 CL=29097
-
Robert Griesemer authored
(new rules on type compatibility cover this already) DELTA=2 (0 added, 2 deleted, 0 changed) OCL=29094 CL=29096
-
Robert Griesemer authored
DELTA=63 (27 added, 6 deleted, 30 changed) OCL=29065 CL=29091
-
Robert Griesemer authored
R=r DELTA=5 (4 added, 0 deleted, 1 changed) OCL=29088 CL=29090
-
- 19 May, 2009 5 commits
-
-
Russ Cox authored
deps.bash tweak. R=r DELTA=95 (95 added, 0 deleted, 0 changed) OCL=29046 CL=29059
-
Russ Cox authored
R=r DELTA=791 (779 added, 0 deleted, 12 changed) OCL=29045 CL=29058
-
Ian Lance Taylor authored
bug117.go:13:12: error: reference to undefined field or method import1.go:9:2: error: redefinition of '.main.bufio' import1.go:8:2: note: previous definition of '.main.bufio' was here import1.go:9:2: error: incompatible imported type 'bufio.Error' interface9.go:25:5: error: incompatible types in assignment (method P requires a pointer) interface9.go:30:5: error: incompatible types in assignment (method P requires a pointer) R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=29044 CL=29055
-
Russ Cox authored
R=dsymonds DELTA=1 (0 added, 0 deleted, 1 changed) OCL=29048 CL=29053
-
Russ Cox authored
R=r DELTA=643 (643 added, 0 deleted, 0 changed) OCL=29017 CL=29047
-