- 16 Dec, 2009 1 commit
-
-
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 3 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
-
Robert Griesemer authored
- no need to replace comments for stand-alone blocks - always print string concatenations with interspersed "+" (remove option) - minor cleanups R=rsc https://golang.org/cl/174076
-
- 11 Dec, 2009 8 commits
-
-
Russ Cox authored
Fixes #89. Fixes #92. Fixes #118. Fixes #182. Fixes #328. Fixes #340. R=ken2, ken3 CC=golang-dev https://golang.org/cl/172049
-
Ken Thompson authored
8g still needs fixing R=rsc https://golang.org/cl/176057
-
Robert Griesemer authored
R=rsc https://golang.org/cl/175046
-
Robert Griesemer authored
R=rsc https://golang.org/cl/175048
-
Devon H. O'Dell authored
This change removes the necessity to have GOBIN in $PATH, and also doesn't assume that the build is being run from $GOROOT/src. This is a minimal set of necessary changes to get Go to build happily from the FreeBSD ports collection. R=rsc CC=golang-dev https://golang.org/cl/171044
-
Russ Cox authored
suggested by Alex Ray <ajray@ncsu.edu> R=gri CC=golang-dev https://golang.org/cl/174063
-
Maxim Ushakov authored
R=rsc CC=krasin https://golang.org/cl/167050
-
Devon H. O'Dell authored
this change. R=rsc CC=golang-dev https://golang.org/cl/171048
-