]> Cypherpunks repositories - gostls13.git/commit
1) Change default gofmt default settings for
authorRobert Griesemer <gri@golang.org>
Tue, 15 Dec 2009 23:41:46 +0000 (15:41 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 15 Dec 2009 23:41:46 +0000 (15:41 -0800)
commit45ca9f7a9efdf5d191f1f23e08cb719edf3a8fe9
tree964f3469cb224b0ba7ac0c44ea6321e95b14a965
parentd65a5cce89596e0256280ab8318548d3fa5bb09b
1) Change default gofmt default settings for
   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
59 files changed:
src/pkg/syslog/syslog.go
src/pkg/syslog/syslog_test.go
src/pkg/tabwriter/tabwriter.go
src/pkg/tabwriter/tabwriter_test.go
src/pkg/template/format.go
src/pkg/template/template.go
src/pkg/template/template_test.go
src/pkg/testing/benchmark.go
src/pkg/testing/iotest/logger.go
src/pkg/testing/iotest/reader.go
src/pkg/testing/iotest/writer.go
src/pkg/testing/quick/quick.go
src/pkg/testing/quick/quick_test.go
src/pkg/testing/regexp.go
src/pkg/testing/regexp_test.go
src/pkg/testing/script/script.go
src/pkg/testing/script/script_test.go
src/pkg/testing/testing.go
src/pkg/time/sleep.go
src/pkg/time/tick.go
src/pkg/time/tick_test.go
src/pkg/time/time.go
src/pkg/time/time_test.go
src/pkg/time/zoneinfo.go
src/pkg/unicode/digit.go
src/pkg/unicode/digit_test.go
src/pkg/unicode/letter.go
src/pkg/unicode/letter_test.go
src/pkg/unicode/maketables.go
src/pkg/unicode/script_test.go
src/pkg/unicode/tables.go
src/pkg/utf8/utf8.go
src/pkg/utf8/utf8_test.go
src/pkg/websocket/client.go
src/pkg/websocket/server.go
src/pkg/websocket/websocket.go
src/pkg/websocket/websocket_test.go
src/pkg/xgb/example.go
src/pkg/xgb/xgb.go
src/pkg/xgb/xproto.go
src/pkg/xml/read.go
src/pkg/xml/read_test.go
src/pkg/xml/xml.go
src/pkg/xml/xml_test.go
test/bench/binary-tree-freelist.go
test/bench/binary-tree.go
test/bench/chameneosredux.go
test/bench/fannkuch.go
test/bench/fasta.go
test/bench/k-nucleotide.go
test/bench/mandelbrot.go
test/bench/meteor-contest.go
test/bench/nbody.go
test/bench/pidigits.go
test/bench/regex-dna.go
test/bench/reverse-complement.go
test/bench/spectral-norm-parallel.go
test/bench/spectral-norm.go
test/bench/threadring.go