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

       1st set of files.

R=rsc
CC=agl, golang-dev, iant, ken2, r
https://golang.org/cl/180047
139 files changed:
misc/cgo/gmp/fib.go
misc/cgo/gmp/gmp.go
misc/cgo/gmp/pi.go
misc/cgo/stdio/chain.go
misc/cgo/stdio/fib.go
misc/cgo/stdio/file.go
src/cmd/cgo/ast.go
src/cmd/cgo/gcc.go
src/cmd/cgo/main.go
src/cmd/cgo/out.go
src/cmd/cgo/util.go
src/cmd/ebnflint/ebnflint.go
src/cmd/gc/runtime.go
src/cmd/godoc/godoc.go
src/cmd/godoc/index.go
src/cmd/godoc/main.go
src/cmd/godoc/snippet.go
src/cmd/godoc/spec.go
src/cmd/gofmt/gofmt.go
src/cmd/gofmt/rewrite.go
src/cmd/goyacc/goyacc.go
src/cmd/hgpatch/main.go
src/pkg/archive/tar/common.go
src/pkg/archive/tar/reader.go
src/pkg/archive/tar/reader_test.go
src/pkg/archive/tar/writer.go
src/pkg/archive/tar/writer_test.go
src/pkg/asn1/asn1.go
src/pkg/asn1/asn1_test.go
src/pkg/asn1/common.go
src/pkg/asn1/marshal.go
src/pkg/asn1/marshal_test.go
src/pkg/big/arith.go
src/pkg/big/arith_test.go
src/pkg/big/int.go
src/pkg/big/int_test.go
src/pkg/big/nat.go
src/pkg/big/nat_test.go
src/pkg/bignum/arith.go
src/pkg/bignum/bignum.go
src/pkg/bignum/bignum_test.go
src/pkg/bignum/integer.go
src/pkg/bignum/nrdiv_test.go
src/pkg/bignum/rational.go
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go
src/pkg/bytes/buffer.go
src/pkg/bytes/buffer_test.go
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go
src/pkg/compress/flate/deflate.go
src/pkg/compress/flate/deflate_test.go
src/pkg/compress/flate/flate_test.go
src/pkg/compress/flate/huffman_bit_writer.go
src/pkg/compress/flate/huffman_code.go
src/pkg/compress/flate/inflate.go
src/pkg/compress/flate/token.go
src/pkg/compress/flate/util.go
src/pkg/compress/gzip/gunzip.go
src/pkg/compress/gzip/gunzip_test.go
src/pkg/compress/zlib/reader.go
src/pkg/compress/zlib/reader_test.go
src/pkg/compress/zlib/writer.go
src/pkg/compress/zlib/writer_test.go
src/pkg/container/heap/heap.go
src/pkg/container/heap/heap_test.go
src/pkg/container/list/list.go
src/pkg/container/list/list_test.go
src/pkg/container/ring/ring.go
src/pkg/container/ring/ring_test.go
src/pkg/container/vector/intvector.go
src/pkg/container/vector/stringvector.go
src/pkg/container/vector/vector.go
src/pkg/container/vector/vector_test.go
src/pkg/crypto/aes/aes_test.go
src/pkg/crypto/aes/block.go
src/pkg/crypto/aes/cipher.go
src/pkg/crypto/aes/const.go
src/pkg/crypto/block/cbc.go
src/pkg/crypto/block/cbc_aes_test.go
src/pkg/crypto/block/cfb.go
src/pkg/crypto/block/cfb_aes_test.go
src/pkg/crypto/block/cipher.go
src/pkg/crypto/block/cmac.go
src/pkg/crypto/block/cmac_aes_test.go
src/pkg/crypto/block/ctr.go
src/pkg/crypto/block/ctr_aes_test.go
src/pkg/crypto/block/eax.go
src/pkg/crypto/block/eax_aes_test.go
src/pkg/crypto/block/ecb.go
src/pkg/crypto/block/ecb_aes_test.go
src/pkg/crypto/block/ecb_test.go
src/pkg/crypto/block/ofb.go
src/pkg/crypto/block/ofb_aes_test.go
src/pkg/crypto/block/xor.go
src/pkg/crypto/block/xor_test.go
src/pkg/crypto/hmac/hmac.go
src/pkg/crypto/hmac/hmac_test.go
src/pkg/crypto/md4/md4.go
src/pkg/crypto/md4/md4_test.go
src/pkg/crypto/md4/md4block.go
src/pkg/crypto/md5/md5.go
src/pkg/crypto/md5/md5_test.go
src/pkg/crypto/md5/md5block.go
src/pkg/crypto/rc4/rc4.go
src/pkg/crypto/rc4/rc4_test.go
src/pkg/crypto/rsa/pkcs1v15.go
src/pkg/crypto/rsa/pkcs1v15_test.go
src/pkg/crypto/rsa/rsa.go
src/pkg/crypto/rsa/rsa_test.go
src/pkg/crypto/sha1/sha1.go
src/pkg/crypto/sha1/sha1_test.go
src/pkg/crypto/sha1/sha1block.go
src/pkg/crypto/sha256/sha256.go
src/pkg/crypto/sha256/sha256_test.go
src/pkg/crypto/sha256/sha256block.go
src/pkg/crypto/subtle/constant_time.go
src/pkg/crypto/subtle/constant_time_test.go
src/pkg/crypto/tls/alert.go
src/pkg/crypto/tls/ca_set.go
src/pkg/crypto/tls/common.go
src/pkg/crypto/tls/handshake_client.go
src/pkg/crypto/tls/handshake_messages.go
src/pkg/crypto/tls/handshake_messages_test.go
src/pkg/crypto/tls/handshake_server.go
src/pkg/crypto/tls/handshake_server_test.go
src/pkg/crypto/tls/prf.go
src/pkg/crypto/tls/prf_test.go
src/pkg/crypto/tls/record_process.go
src/pkg/crypto/tls/record_process_test.go
src/pkg/crypto/tls/record_read.go
src/pkg/crypto/tls/record_read_test.go
src/pkg/crypto/tls/record_write.go
src/pkg/crypto/tls/tls.go
src/pkg/crypto/x509/x509.go
src/pkg/crypto/x509/x509_test.go
src/pkg/crypto/xtea/block.go
src/pkg/crypto/xtea/cipher.go
src/pkg/crypto/xtea/xtea_test.go