- 21 May, 2009 6 commits
-
-
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 10 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
-
Russ Cox authored
Not ready to link into build yet. Delta says 1272 lines but only 474 if you subtract the test files, which are mostly data. R=r DELTA=1252 (1249 added, 0 deleted, 3 changed) OCL=29013 CL=29037
-
Ken Thompson authored
R=r OCL=29036 CL=29036
-
Russ Cox authored
R=r DELTA=18 (10 added, 4 deleted, 4 changed) OCL=29000 CL=29034
-
Ken Thompson authored
R=r OCL=29016 CL=29016
-
David Symonds authored
It caught a few missing dependencies (bufio/fmt -> utf8, fmt -> os, http -> strconv, etc.). R=r,rsc APPROVED=r DELTA=126 (79 added, 45 deleted, 2 changed) OCL=28983 CL=29014
-
- 18 May, 2009 11 commits
-
-
Robert Griesemer authored
TBR=rsc OCL=29010 CL=29010
-
Robert Griesemer authored
R=rsc DELTA=11 (10 added, 0 deleted, 1 changed) OCL=29007 CL=29009
-
Brendan O'Dea authored
R=dsymonds,rsc APPROVED=rsc DELTA=88 (53 added, 17 deleted, 18 changed) OCL=28452 CL=29008
-
Russ Cox authored
The higher-level stream modes will be in crypto/block. R=r DELTA=205 (136 added, 7 deleted, 62 changed) OCL=29002 CL=29006
-
Robert Griesemer authored
- added IsValid predicate to token.Position - updated pretty, godoc, gobuild - updated/expanded test cases R=rsc DELTA=265 (97 added, 78 deleted, 90 changed) OCL=28961 CL=29005
-
Russ Cox authored
R=iant DELTA=3 (2 added, 0 deleted, 1 changed) OCL=28994 CL=29003
-
Russ Cox authored
add testing/iotest package. make bufio return error on short write. R=r DELTA=423 (208 added, 154 deleted, 61 changed) OCL=28997 CL=28999
-
Ken Thompson authored
fixed bug in seeding. top 11 bits were not changed by different seeds. R=r OCL=28998 CL=28998
-
Russ Cox authored
R=r DELTA=15 (7 added, 1 deleted, 7 changed) OCL=28996 CL=28996
-
Russ Cox authored
R=r DELTA=215 (186 added, 0 deleted, 29 changed) OCL=28968 CL=28995
-
Ken Thompson authored
structs and arrays are done slices and maps are yet to do R=r OCL=28977 CL=28977
-
- 17 May, 2009 1 commit
-
-
Ian Lance Taylor authored
os.Exit(0) at the end of main. R=rsc DELTA=6 (0 added, 6 deleted, 0 changed) OCL=28967 CL=28969
-
- 16 May, 2009 3 commits
-
-
Ken Thompson authored
structure set up - no change yet R=r OCL=28966 CL=28966
-
Robert Griesemer authored
(mimic behavior of slices) R=r DELTA=12 (12 added, 0 deleted, 0 changed) OCL=28960 CL=28962
-
Robert Griesemer authored
TBR=r DELTA=9270 (0 added, 9270 deleted, 0 changed) OCL=28958 CL=28958
-