- 03 Jul, 2009 5 commits
-
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=28 (28 added, 0 deleted, 0 changed) OCL=31128 CL=31130
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=31016 CL=31126
-
Russ Cox authored
R=ken OCL=31125 CL=31125
-
Rob Pike authored
R=rsc DELTA=59 (44 added, 13 deleted, 2 changed) OCL=31105 CL=31105
-
Rob Pike authored
R=rsc DELTA=57 (34 added, 10 deleted, 13 changed) OCL=31098 CL=31101
-
- 02 Jul, 2009 15 commits
-
-
Russ Cox authored
R=r DELTA=113 (89 added, 9 deleted, 15 changed) OCL=31087 CL=31096
-
Rob Pike authored
(actually slices encode but do not decode yet) R=rsc DELTA=221 (82 added, 65 deleted, 74 changed) OCL=31095 CL=31095
-
Rob Pike authored
R=rsc DELTA=18 (3 added, 0 deleted, 15 changed) OCL=31086 CL=31094
-
Russ Cox authored
R=r DELTA=28 (5 added, 0 deleted, 23 changed) OCL=31093 CL=31093
-
Ian Lance Taylor authored
bug022.go:8:13: error: attempt to index object which is not array, string, or map R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31082 CL=31089
-
Ian Lance Taylor authored
(Amusing side note: the GNU coding standards say: Please do not use the term "illegal" to refer to erroneous input to a computer program. Please use "invalid" for this, and reserve the term "illegal" for activities prohibited by law.) indirect1.go:35:3: error: argument must be string or array or slice or map indirect1.go:36:3: error: argument must be string or array or slice or map indirect1.go:38:3: error: argument must be string or array or slice or map indirect1.go:41:3: error: argument must be string or array or slice or map indirect1.go:42:3: error: argument must be string or array or slice or map indirect1.go:44:3: error: argument must be string or array or slice or map indirect1.go:55:3: error: argument must be string or array or slice or map indirect1.go:56:3: error: argument must be string or array or slice or map indirect1.go:58:3: error: argument must be string or array or slice or map indirect1.go:61:3: error: argument must be array or slice indirect1.go:62:3: error: argument must be array or slice indirect1.go:64:3: error: argument must be array or slice R=rsc DELTA=12 (0 added, 0 deleted, 12 changed) OCL=31081 CL=31088
-
Robert Griesemer authored
- remove a test case w/ syntax errors from test suite R=rsc DELTA=104 (44 added, 5 deleted, 55 changed) OCL=31078 CL=31085
-
Rob Pike authored
fix a bug in delta encoding: only update the delta-base if something is marshaled. R=rsc DELTA=154 (94 added, 56 deleted, 4 changed) OCL=31069 CL=31071
-
Rob Pike authored
R=rsc DELTA=165 (145 added, 6 deleted, 14 changed) OCL=31051 CL=31056
-
Rob Pike authored
R=gri OCL=31047 CL=31047
-
Rob Pike authored
R=rsc DELTA=562 (8 added, 424 deleted, 130 changed) OCL=31039 CL=31045
-
Rob Pike authored
if there is an error, we will write one more value into the struct but in return we do fewer tests in the decode. R=rsc DELTA=56 (0 added, 42 deleted, 14 changed) OCL=31041 CL=31044
-
Rob Pike authored
write indirection test. next step: cut down scalar tests since indirection is centralized. R=rsc DELTA=114 (83 added, 3 deleted, 28 changed) OCL=31020 CL=31037
-
Rob Pike authored
R=rsc DELTA=574 (40 added, 149 deleted, 385 changed) OCL=31017 CL=31019
-
Rob Pike authored
R=rsc DELTA=468 (292 added, 18 deleted, 158 changed) OCL=31008 CL=31012
-
- 01 Jul, 2009 8 commits
-
-
Russ Cox authored
first field were not being handled correctly because the visited map did not include the type. R=r OCL=31006 CL=31006
-
David Symonds authored
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=30967 CL=30990
-
Russ Cox authored
R=r DELTA=23 (1 added, 12 deleted, 10 changed) OCL=30957 CL=30980
-
Russ Cox authored
input parameters, move output parameters into their own struct. R=ken OCL=30954 CL=30966
-
Russ Cox authored
(because they return values in the input parameters). R=iant DELTA=12 (0 added, 11 deleted, 1 changed) OCL=30952 CL=30965
-
Russ Cox authored
now that cgo2c can handle it, merge x.c and x_go.cgo into a single x.cgo, for x=float,malloc,sema. R=r DELTA=1950 (954 added, 996 deleted, 0 changed) OCL=30951 CL=30964
-
Russ Cox authored
align the output args separately from the input args, change cgo2c to insert the necessary padding when the two arg lists are concatenated in the c translation. for example, there is a runtime func indexstring(s string, i int32) (b byte) right now in 6g those arguments are aligned in one struct with s at offset 0, i at 16, and b at 20. soon the b byte will be in its own struct and structs are 8 aligned, so it will be b at 24. right now cgo2c generates: void indexstring(string s, int32 i, byte b) this CL makes it generate, in --6g mode: void indexstring(string s, int32 i, uint32, byte b) this is valid 6c input, although not valid gcc input. (the code is being generated for 6c only anyway.) also, allow C code to be mixed in among the Go funcs. every instance of the token `func' is expected to start a new go func. R=iant DELTA=145 (118 added, 0 deleted, 27 changed) OCL=30949 CL=30963
-
Rob Pike authored
R=rsc DELTA=897 (728 added, 14 deleted, 155 changed) OCL=30955 CL=30955
-
- 30 Jun, 2009 5 commits
-
-
Rob Pike authored
R=rsc DELTA=172 (40 added, 6 deleted, 126 changed) OCL=30941 CL=30944
-
Rob Pike authored
R=rsc DELTA=610 (597 added, 5 deleted, 8 changed) OCL=30934 CL=30939
-
Russ Cox authored
R=r DELTA=25 (0 added, 15 deleted, 10 changed) OCL=30892 CL=30892
-
Russ Cox authored
R=ken OCL=30889 CL=30889
-
Russ Cox authored
can now forward declare across files R=r DELTA=15 (0 added, 15 deleted, 0 changed) OCL=30873 CL=30880
-
- 29 Jun, 2009 7 commits
-
-
Russ Cox authored
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
-
Rob Pike authored
R=rsc DELTA=185 (175 added, 10 deleted, 0 changed) OCL=30863 CL=30871
-
Russ Cox authored
R=r DELTA=11 (0 added, 6 deleted, 5 changed) OCL=30862 CL=30870
-
Russ Cox authored
(in the same package). allow forward method declaration to be satisfied by implementation in another file (in the same package). all methods must be declared in the same file as the receiver type. R=ken OCL=30864 CL=30869
-
Russ Cox authored
of structs/interfaces in other files in the package. R=r DELTA=12 (0 added, 12 deleted, 0 changed) OCL=30865 CL=30868
-
Russ Cox authored
R=r DELTA=188 (182 added, 3 deleted, 3 changed) OCL=30856 CL=30860
-
Ian Lance Taylor authored
identifiers. This is not one of the exceptions permitted by th spec. R=ken,rsc DELTA=11 (11 added, 0 deleted, 0 changed) OCL=30844 CL=30852
-