- 13 Apr, 2009 1 commit
-
-
Rob Pike authored
add test for string range. test has minor failure: after loop the index == len(s); should be len(s)-1 in this case. according to spec, vars are left at position at last iteration. R=ken,rsc DELTA=259 (161 added, 96 deleted, 2 changed) OCL=27343 CL=27343
-
- 12 Apr, 2009 1 commit
-
-
Rob Pike authored
R=ken OCL=27342 CL=27342
-
- 11 Apr, 2009 2 commits
-
-
Ken Thompson authored
R=r OCL=27332 CL=27332
-
Rob Pike authored
R=rsc OCL=27331 CL=27331
-
- 10 Apr, 2009 7 commits
-
-
Kai Backman authored
for linux system calls). R=rsc APPROVED=rsc DELTA=3 (3 added, 0 deleted, 0 changed) OCL=27325 CL=27328
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=312 (312 added, 0 deleted, 0 changed) OCL=27133 CL=27326
-
Ken Thompson authored
extending segmented stack R=r OCL=27319 CL=27319
-
Russ Cox authored
TBR=r OCL=27306 CL=27306
-
Rob Pike authored
R=rsc OCL=27304 CL=27304
-
Ken Thompson authored
order of evaluation && and || R=r OCL=27294 CL=27294
-
Ken Thompson authored
R=r OCL=27293 CL=27293
-
- 09 Apr, 2009 9 commits
-
-
Rob Pike authored
The HTML one here is just a stub - should use an HTML library to do the right thing. R=rsc DELTA=54 (47 added, 2 deleted, 5 changed) OCL=27250 CL=27250
-
Rob Pike authored
R=rsc DELTA=1421 (736 added, 685 deleted, 0 changed) OCL=27249 CL=27249
-
Rob Pike authored
R=rsc OCL=27248 CL=27248
-
Rob Pike authored
R=rsc DELTA=134 (75 added, 41 deleted, 18 changed) OCL=27245 CL=27247
-
Russ Cox authored
store only the original import path string (+ .a) if 6g resolves it to an archive file. let 6l re-resolve the .a at link time. this lets libraries build against an archive in the current directory but get used against an installed archive. R=r OCL=27244 CL=27244
-
Rob Pike authored
R=rsc OCL=27243 CL=27243
-
Rob Pike authored
R=rsc OCL=27242 CL=27242
-
Rob Pike authored
R=rsc DELTA=663 (663 added, 0 deleted, 0 changed) OCL=27239 CL=27241
-
David Symonds authored
- Filter - Find - Partition R=rsc APPROVED=rsc DELTA=117 (92 added, 17 deleted, 8 changed) OCL=27135 CL=27240
-
- 08 Apr, 2009 3 commits
-
-
Russ Cox authored
R=ken OCL=27202 CL=27202
-
Russ Cox authored
x := f(); used to give fatal error: dowidth fn struct struct { int; int } now gives assignment count mismatch: 1 = 2 R=ken OCL=27198 CL=27201
-
Russ Cox authored
submitted CL without applying edits. make changes from CL 27142 review R=r DELTA=26 (17 added, 3 deleted, 6 changed) OCL=27155 CL=27199
-
- 07 Apr, 2009 10 commits
-
-
Russ Cox authored
R=r DELTA=13 (11 added, 0 deleted, 2 changed) OCL=27147 CL=27154
-
Russ Cox authored
R=r DELTA=17 (17 added, 0 deleted, 0 changed) OCL=27146 CL=27153
-
Russ Cox authored
use path.Clean in web server to sanitize URLs. http://triv/go/../../../etc/passwd no longer serves the password file. it redirects to http://triv/etc/passwd which then gets a 404. R=r DELTA=288 (286 added, 0 deleted, 2 changed) OCL=27142 CL=27152
-
Rob Pike authored
R=rsc DELTA=5 (1 added, 0 deleted, 4 changed) OCL=27148 CL=27151
-
Rob Pike authored
6g says: bug138.go:8: constant -1 overflows uint gccgo says: bug138.go:8:16: error: integer constant overflow R=rsc DELTA=19 (0 added, 19 deleted, 0 changed) OCL=27099 CL=27149
-
Russ Cox authored
R=ken OCL=27145 CL=27145
-
Rob Pike authored
R=rsc DELTA=63 (59 added, 0 deleted, 4 changed) OCL=27143 CL=27143
-
Russ Cox authored
use Value() in print to print underlying value from interface. before: package main import "fmt" func main() { x := []interface{} {1, "hello", 2.5}; fmt.Println(x[0], x[1], x[2], x); } 1 hello 2.5 [<non-nil interface> <non-nil interface> <non-nil interface>] after: 1 hello 2.5 [1 hello 2.5] R=r DELTA=44 (22 added, 16 deleted, 6 changed) OCL=27139 CL=27141
-
Russ Cox authored
string(b)[0:n] instead of the more direct string(b[0:n]). convert to the more direct form. R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=27082 CL=27140
-
Peter McKenzie authored
R=r APPROVED=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=27123 CL=27130
-
- 06 Apr, 2009 1 commit
-
-
David Symonds authored
Add a Data method to vector.Vector. R=r,rsc APPROVED=rsc DELTA=173 (170 added, 0 deleted, 3 changed) OCL=26980 CL=27098
-
- 04 Apr, 2009 1 commit
-
-
Russ Cox authored
* make([100]int) was being compiled to make([]int), kind of. * []this = [100]that was working for any this, that. turned up a typo in pipe_test.go R=ken OCL=27081 CL=27081
-
- 03 Apr, 2009 5 commits
-
-
Robert Griesemer authored
- godoc now supports the following url prefixes: /doc/ for package documentation /file/ for files (directories, html, and .go files) /spec for the spec /mem for the memory model - formatting of comments has been fixed - tons of minor cleanups (still more to do) Still missing: - pretty printing of source is not as pretty as it used to be (still a relict from the massive AST cleanup which has't quite made it's way everywhere) - documentation entries should be sorted - comments in code is not printed or not properly printed TBR=r DELTA=416 (182 added, 100 deleted, 134 changed) OCL=27078 CL=27078
-
Robert Griesemer authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=27061 CL=27061
-
Rob Pike authored
(i'd be happy to drop the paren one as well, reducing it to one case) DELTA=4 (0 added, 3 deleted, 1 changed) OCL=27058 CL=27060
-
Robert Griesemer authored
R=rsc DELTA=1 (1 added, 0 deleted, 0 changed) OCL=27057 CL=27059
-
Robert Griesemer authored
(even if the methods are exported) R=rsc OCL=27056 CL=27056
-