- 20 May, 2009 6 commits
-
-
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 7 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
-
Robert Griesemer authored
literal type is not a type name R=rsc DELTA=41 (2 added, 7 deleted, 32 changed) OCL=28955 CL=28957
-
Robert Griesemer authored
format.go: - better error handling, indentation, support for defaults, environments for custom formatters, cleanups (more functionality, less code) pretty.go: - better comment printing using format.go made test script more robust TBR=r DELTA=622 (175 added, 305 deleted, 142 changed) OCL=28956 CL=28956
-
Russ Cox authored
R=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=28949 CL=28951
-
Rob Pike authored
R=rsc DELTA=7 (0 added, 0 deleted, 7 changed) OCL=28947 CL=28950
-
- 15 May, 2009 5 commits
-
-
Russ Cox authored
R=r DELTA=42 (0 added, 26 deleted, 16 changed) OCL=28940 CL=28942
-
Robert Griesemer authored
R=rsc DELTA=21 (19 added, 0 deleted, 2 changed) OCL=28938 CL=28941
-
Rob Pike authored
R=rsc OCL=28936 CL=28936
-
Russ Cox authored
Getuid, etc drop their errors -- they cannot error R=r DELTA=605 (547 added, 12 deleted, 46 changed) OCL=28919 CL=28929
-
Russ Cox authored
R=ken OCL=28918 CL=28918
-