- 10 Apr, 2009 1 commit
-
-
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 14 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
-
Robert Griesemer authored
- fixed printing of function literals (require separating ";") R=rsc OCL=27055 CL=27055
-
Robert Griesemer authored
- use /src and /doc prefix in URL to distinguish output type (per rsc) - fixed a bug in an internal string function - ignore files ending in _test.go (consider them test files) R=rsc OCL=27054 CL=27054
-
Russ Cox authored
; cat >http.go package main import "http" // intended the library, not this file ^D ; 6g http.go ; 6g http.go http.go:4: export/package mismatch: init ; new error: http.6:7 http.go:3: cannot import package main R=ken OCL=27053 CL=27053
-
Russ Cox authored
was copying a bit too much about t into n, like whether the signature was queued to be printed. (bug reported by anton) was also editing t, meaning you could do type T int; func (p int) Meth() { } both fixed. R=ken OCL=27052 CL=27052
-
Russ Cox authored
this avoids problems people have run into with multiple closures in the same package. when preparing filename, only cut off .go, not .anything. this fixes a bug tgs ran into with foo.pb.go and foo.go in the same package. also turn bad identifier chars from filename into underscores: a-b.pb.go => a_b_pb R=ken OCL=27050 CL=27050
-
Robert Griesemer authored
first round of cleanups: - removed extra .html templates (reduced to one) - removed dependencies on various local files - minor fixes throughout Basic docserver is now operational: Automatically finds all (multi-file) packages under a root and serves either file or package documentation. R=r OCL=27049 CL=27049
-
Ken Thompson authored
the assignment on a type switch R=r OCL=27048 CL=27048
-
Russ Cox authored
package main func main() { func(){}() + + } x.go:2: syntax error near _f001 becomes x.go:2: syntax error near func R=ken OCL=27047 CL=27047
-
Russ Cox authored
turned it off while debugging 8 runtime problem, checked in the change accidentally. R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=27040 CL=27046
-
- 02 Apr, 2009 1 commit
-
-
Russ Cox authored
package main func main() { println("hello,", 123); } R=ken OCL=27043 CL=27043
-