- 13 Aug, 2010 7 commits
-
-
Rob Pike authored
Fixes #1024. R=rsc CC=golang-dev https://golang.org/cl/1961042
-
Ken Thompson authored
(thanks to avp@mit.edu) R=rsc CC=golang-dev https://golang.org/cl/1998041
-
Robert Griesemer authored
- change ast.Ident back to contain the name and adjust all dependent code - identifier object information will be added again through an optional typechecker phase (in the works). - remove tracking of scopes in parser - it's easier to do this in a separate phase (in the works) - in godoc, generate popup info table directly instead of through a formatter for simpler data flow (at the expense of a little bit more code) Runs all tests. As a result of this change, the currently shown popup information (const, var, type, func, followed by identifier name) will not be shown anymore temporarily. R=rsc CC=golang-dev https://golang.org/cl/1994041
-
Rob Pike authored
Rearrange code to clarify handling of %T, Formatter, GoStringer, and Stringer. R=rsc CC=golang-dev https://golang.org/cl/1973043
-
Russ Cox authored
Makes godoc --http=:1234 not crash on linux/amd64. R=r CC=golang-dev https://golang.org/cl/1975044
-
Alex Brainman authored
Fixes #864. R=rsc CC=golang-dev https://golang.org/cl/1975043
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1995041
-
- 12 Aug, 2010 17 commits
-
-
Russ Cox authored
not been mailed out for review. R=r CC=golang-dev https://golang.org/cl/1962046
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/1987041
-
Rob Pike authored
R=golang-dev CC=golang-dev https://golang.org/cl/1956044
-
Ivan Krasin authored
R=imkrasin, rsc CC=golang-dev https://golang.org/cl/1943042
-
Mikio Hara authored
draft-ietf-6man-text-addr-representation-07 will introduce a canonical textual representation format for IPv6 address. R=rsc CC=golang-dev https://golang.org/cl/1856047
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1983043
-
Rob Pike authored
We can add them back using the new naming scheme should it become important. R=rsc CC=golang-dev https://golang.org/cl/1968042
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1983042
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1951043
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1954044
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1960042
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/1971042
-
Russ Cox authored
Also, if the header is bad, exit with a non-zero status. Other calls to Brdline in the tree, by category: Reading symbol name from object file: ./cmd/5l/obj.c:486: name = Brdline(f, '\0'); ./cmd/6l/obj.c:535: name = Brdline(f, '\0'); ./cmd/8l/obj.c:564: name = Brdline(f, '\0'); ./libmach/sym.c:292: cp = Brdline(bp, '\0'); Reading archive header line (fixed, short): ./cmd/gc/lex.c:287: if((a = Brdline(b, '\n')) == nil) ./cmd/gc/lex.c:303: if((p = Brdline(b, '\n')) == nil) Reading object file header line (fixed, short): ./cmd/ld/lib.c:421: line = Brdline(f, '\n'); Reading undefined symbol list (unused code): ./cmd/ld/lib.c:773: while((l = Brdline(b, '\n')) != nil){ Implementing Brdstr: ./libbio/brdstr.c:36: p = Brdline(bp, delim); The symbol names ones will cause a problem loudly if they fail: they'll error out with symbol name too long. This means that you can't define an enormous struct without giving the type a name and then stick it in an interface, because the type's symbol name will be too long for the object file. Since this will be a loud failure instead of a silent one, I'm willing to wait until it comes up in practice. R=r CC=golang-dev https://golang.org/cl/1982041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1983041
-
Rob Pike authored
The previous set was spotty, incomplete, and confusing. This CL proposes a regular, clean set with clearer names. It's also complete. Many existing methods will be deprecated, but not in this CL. Ditto for the tests. R=rsc, gri CC=golang-dev, rog https://golang.org/cl/1946041
-
Robert Griesemer authored
go/scanner: return information on semicolon (real or inserted) when found in source go/parser: better error message when a semicolon is found unexpectedly For instance, if an unexpected semicolon is found that was automatically inserted, the parser error message is now: "expected '}', found newline" Fixes #1006. R=rsc CC=golang-dev https://golang.org/cl/1936044
-
Rob Pike authored
documentation change only. R=rsc CC=golang-dev https://golang.org/cl/1964043
-
- 11 Aug, 2010 5 commits
-
-
Kyle Consalus authored
R=nigeltao_golang CC=golang-dev https://golang.org/cl/1941042
-
Scott Lawrence authored
Fixes #971. Parse/ParseFile methods of Template now match template.Parse and .ParseFile methods. Also made tests being run on Parse and ParseFile be run on Template.ParseFile as well. R=r CC=golang-dev https://golang.org/cl/1741059
-
Russ Cox authored
Fixed by http://code.google.com/p/go/source/detail?r=d1f41e20a90e This just adds a test and checks the return value of Bprint. R=ken2 CC=golang-dev https://golang.org/cl/1949042
-
Russ Cox authored
Make Bprint work even when the amount of output exceeds the available buffer space. R=r CC=golang-dev https://golang.org/cl/1968041
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/1940042
-
- 10 Aug, 2010 11 commits
-
-
Rob Pike authored
Fixes #1014. R=rsc CC=golang-dev https://golang.org/cl/1941041
-
Robert Griesemer authored
R=nigeltao CC=golang-dev https://golang.org/cl/1962041
-
Robert Griesemer authored
Fixes #1005. R=rsc, r CC=golang-dev https://golang.org/cl/1935041
-
Robert Griesemer authored
R=adg CC=golang-dev https://golang.org/cl/1743059
-
Nigel Tao authored
image: introduce Transparent and Opaque. R=r CC=golang-dev https://golang.org/cl/1947042
-
Scott Lawrence authored
(Removed extraneous "program".) R=golang-dev, r CC=golang-dev https://golang.org/cl/1950041
-
Nigel Tao authored
R=adg CC=golang-dev https://golang.org/cl/1952041
-
Nigel Tao authored
stride and rect. R=r CC=golang-dev, rog https://golang.org/cl/1849041
-
Nigel Tao authored
R=r, rsc, gri, rsc1 CC=golang-dev https://golang.org/cl/1814044
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/1951041
-
Mathieu Lonjaret authored
R=nigeltao_golang, r CC=golang-dev https://golang.org/cl/1897049
-