]> Cypherpunks repositories - gostls13.git/commit
1) Change default gofmt default settings for
authorRobert Griesemer <gri@golang.org>
Tue, 15 Dec 2009 23:35:38 +0000 (15:35 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 15 Dec 2009 23:35:38 +0000 (15:35 -0800)
commita3d1045fb7b34355c9859aea2781e0d77004cc82
treea24912cd4769ba851226128e42eebf00deabbf30
parent5a1d3323fe2032beb0b429f44b9356e8ca43fdf7
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

3rd set of files.

R=rsc
CC=golang-dev
https://golang.org/cl/180048
104 files changed:
src/pkg/go/ast/ast.go
src/pkg/go/ast/filter.go
src/pkg/go/ast/scope.go
src/pkg/go/ast/walk.go
src/pkg/go/doc/comment.go
src/pkg/go/doc/doc.go
src/pkg/go/parser/interface.go
src/pkg/go/parser/parser.go
src/pkg/go/parser/parser_test.go
src/pkg/go/printer/nodes.go
src/pkg/go/printer/printer.go
src/pkg/go/printer/printer_test.go
src/pkg/go/scanner/errors.go
src/pkg/go/scanner/scanner.go
src/pkg/go/scanner/scanner_test.go
src/pkg/go/token/token.go
src/pkg/gob/codec_test.go
src/pkg/gob/decode.go
src/pkg/gob/decoder.go
src/pkg/gob/encode.go
src/pkg/gob/encoder.go
src/pkg/gob/encoder_test.go
src/pkg/gob/type.go
src/pkg/gob/type_test.go
src/pkg/hash/adler32/adler32.go
src/pkg/hash/adler32/adler32_test.go
src/pkg/hash/crc32/crc32.go
src/pkg/hash/crc32/crc32_test.go
src/pkg/hash/hash.go
src/pkg/http/client.go
src/pkg/http/client_test.go
src/pkg/http/fs.go
src/pkg/http/request.go
src/pkg/http/request_test.go
src/pkg/http/server.go
src/pkg/http/status.go
src/pkg/http/triv.go
src/pkg/http/url.go
src/pkg/http/url_test.go
src/pkg/image/color.go
src/pkg/image/image.go
src/pkg/image/png/reader.go
src/pkg/image/png/reader_test.go
src/pkg/image/png/writer.go
src/pkg/image/png/writer_test.go
src/pkg/io/io.go
src/pkg/io/io_test.go
src/pkg/io/ioutil/ioutil.go
src/pkg/io/ioutil/ioutil_test.go
src/pkg/io/pipe.go
src/pkg/io/pipe_test.go
src/pkg/json/decode.go
src/pkg/json/decode_test.go
src/pkg/json/error.go
src/pkg/json/parse.go
src/pkg/json/struct.go
src/pkg/json/struct_test.go
src/pkg/log/log.go
src/pkg/log/log_test.go
src/pkg/malloc/malloc.go
src/pkg/math/all_test.go
src/pkg/math/asin.go
src/pkg/math/atan.go
src/pkg/math/atan2.go
src/pkg/math/bits.go
src/pkg/math/const.go
src/pkg/math/exp.go
src/pkg/math/fabs.go
src/pkg/math/floor.go
src/pkg/math/fmod.go
src/pkg/math/hypot.go
src/pkg/math/log.go
src/pkg/math/pow.go
src/pkg/math/pow10.go
src/pkg/math/sin.go
src/pkg/math/sinh.go
src/pkg/math/sqrt.go
src/pkg/math/tan.go
src/pkg/math/tanh.go
src/pkg/math/unsafe.go
src/pkg/net/dialgoogle_test.go
src/pkg/net/dnsclient.go
src/pkg/net/dnsconfig.go
src/pkg/net/dnsmsg.go
src/pkg/net/fd.go
src/pkg/net/fd_darwin.go
src/pkg/net/fd_freebsd.go
src/pkg/net/fd_linux.go
src/pkg/net/fd_nacl.go
src/pkg/net/ip.go
src/pkg/net/ip_test.go
src/pkg/net/ipsock.go
src/pkg/net/net.go
src/pkg/net/net_test.go
src/pkg/net/parse.go
src/pkg/net/parse_test.go
src/pkg/net/port.go
src/pkg/net/port_test.go
src/pkg/net/server_test.go
src/pkg/net/sock.go
src/pkg/net/tcpsock.go
src/pkg/net/timeout_test.go
src/pkg/net/udpsock.go
src/pkg/net/unixsock.go