- 16 Dec, 2009 10 commits
-
-
Robert Griesemer authored
Fixes #433. R=rsc CC=golang-dev https://golang.org/cl/179072
-
Russ Cox authored
Fixes #405. R=r CC=golang-dev, hoisie https://golang.org/cl/180056
-
Rob Pike authored
eliminate all tab characters while we're here. R=rsc CC=golang-dev https://golang.org/cl/180055
-
Russ Cox authored
use Int31n in Intn when possible. Fixes #390. (using 8g) Intn1000 50000000 38 ns/op Int31n1000 50000000 39 ns/op Int63n1000 20000000 114 ns/op R=r CC=golang-dev, skybrian https://golang.org/cl/180054
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/180046
-
Russ Cox authored
Fixes #401. R=ken2 https://golang.org/cl/180053
-
Russ Cox authored
Fixes #403. R=ken2 https://golang.org/cl/180052
-
Ivan Krasin authored
Fixes #407. R=rsc, ajstarks CC=ushakov https://golang.org/cl/176076
-
Russ Cox authored
* better error for lookup of unexported field * do not assign "ideal string" type to typed string literal * do not confuse methods and fields during interface check Fixes #410. Fixes #411. Fixes #426. R=ken2 https://golang.org/cl/179069
-
Russ Cox authored
R=ken2 https://golang.org/cl/179070
-
- 15 Dec, 2009 14 commits
-
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev https://golang.org/cl/180050
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev https://golang.org/cl/180049
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev https://golang.org/cl/180048
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r https://golang.org/cl/180047
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/179063
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 2nd set of files. R=rsc CC=golang-dev https://golang.org/cl/179067
-
Russ Cox authored
Fixes #423. R=ken2 https://golang.org/cl/180045
-
Russ Cox authored
Fixes #384. R=ken2 https://golang.org/cl/179061
-
Ian Lance Taylor authored
Pull the struct into a single line, since 6g reports the error on the last line of the struct definition and gccgo reports it on the first line. 6g: bug215.go:12: invalid recursive type A gccgo: bug215.go:12:6: error: invalid recursive type ‘A’ R=rsc https://golang.org/cl/180044
-
Russ Cox authored
automatically in "hg mail". also, avoid "empty list means all modified files in client" bug R=gri, cw CC=golang-dev https://golang.org/cl/174072
-
Robert Griesemer authored
that introduce the newline (important for correct placement of comments with gofmt when parsing new syntax) R=rsc https://golang.org/cl/179055
-
Arvindh Rajesh Tamilmani authored
mustgetc reports unexpected EOF as SyntaxError. using mustgetc seems to be a better approach than letting the caller handle unexpected EOF every time. name: the second if statement should explicitly return ok==false. R=rsc https://golang.org/cl/174083
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/178046
-
Robert Griesemer authored
multi-line expressions with comments Fixes #414. R=rsc https://golang.org/cl/179047
-
- 14 Dec, 2009 8 commits
-
-
Andy Davis authored
R=rsc CC=golang-dev https://golang.org/cl/176062
-
Rob Pike authored
R=rsc https://golang.org/cl/178044
-
Rob Pike authored
Fixes #425. R=rsc https://golang.org/cl/178043
-
Christopher Wedgwood authored
1. If all data is exhausted using Read then a following Next will fail as if it saw EOF. (Test case added.) 2. Seeking isn't always possible (i.e. sockets and pipes). Fallback to read. (Test case added.) 3. Fix to readHeader (cleaner fix pointed out by rsc). (TestReader modified.) 4. When Read has consumed all the data, don't try to read 0 bytes from reader. In cases where tr.nb is zero we attempt to read zero bytes and thus never see an EOF (this is most easily seen when the 'tar source' is something like bytes.Buffer{} as opposed to os.File). 5. If write is used to the point of ErrWriteTooLong, allow additional file entries. 6. Make close work as expected. That is any further Write or WriteHeader attempts will result in ErrWriteAfterClose. Fixes #419. R=rsc, dsymonds1 https://golang.org/cl/162062
-
Robert Griesemer authored
R=rsc https://golang.org/cl/174078
-
Russ Cox authored
Andy Davis (individual CLA) Arvindh Rajesh Tamilmani (individual CLA) R=r https://golang.org/cl/176067
-
Rob Pike authored
R=rsc CC=pwil3058 https://golang.org/cl/174087
-
Rob Pike authored
to avoid growing unnecessarily. R=rsc CC=golang-dev https://golang.org/cl/176071
-
- 13 Dec, 2009 6 commits
-
-
Christopher Wedgwood authored
R=dho, rsc CC=r https://golang.org/cl/176058
-
Hector Chu authored
R=rsc https://golang.org/cl/166080
-
Christopher Wedgwood authored
Doing rm -rf /pkg/.. blindly isn't nice. It could have unintended consequences. Secondly set bash to abort on (unexpected) errors. R=dho, rsc CC=golang-dev https://golang.org/cl/176056
-
Hector Chu authored
R=rsc https://golang.org/cl/164049
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/174077
-
Rob Pike authored
Update units.y too. Fixes #417. R=rsc CC=golang-dev https://golang.org/cl/176063
-
- 12 Dec, 2009 2 commits
-
-
Ken Thompson authored
trying to get alizses to optimize R=rsc https://golang.org/cl/176061
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/174082
-