1
0
mirror of https://github.com/golang/go synced 2024-09-25 11:20:13 -06:00
Commit Graph

3900 Commits

Author SHA1 Message Date
Russ Cox
2a63f5df98 go for c++ programmers; fixes.
the most substantial are the wording around semicolons
and around the channel manager nits.  both were subtly
incorrect.

R=iant, r
CC=go-dev
http://go/go-review/1025018
2009-11-08 01:08:26 -08:00
Russ Cox
24ce19c71d effective go: tiny fixes
one real bug: *[]float -> *[3]float

R=r
http://go/go-review/1024016
2009-11-08 01:07:53 -08:00
Robert Griesemer
a011480ff3 TBR
1st step of renaming dirList.html -> dirlist.html
(OS X filenames are not capitalization-sensitive)

R=rsc
http://go/go-review/1024021
2009-11-08 00:51:08 -08:00
Robert Griesemer
5de21eb1e9 TBR
step 2: adding renamed dirlist.html again

R=rsc
http://go/go-review/1024022
2009-11-08 00:49:56 -08:00
Robert Griesemer
89d0e2dbe3 - better support for text files: show them nicely formatted
instead of serving them raw
- path-related cleanups

R=rsc
http://go/go-review/1026021
2009-11-08 00:40:43 -08:00
Rob Pike
7ee3f3ddd1 make the visited color darker instead of lighter
R=rsc
CC=go-dev
http://go/go-review/1025022
2009-11-08 00:18:15 -08:00
Russ Cox
63c572c6b0 scaled bumpers
R=r
http://go/go-review/1026023
2009-11-08 00:16:25 -08:00
Robert Griesemer
1a9805adcb - avoid division-by-zero crash in tabwriter
- correct tabwidth argument for some tabwriter test cases
- catch negative tabwidth flag in gofmt w/o crashing

R=rsc
http://go/go-review/1026022
2009-11-07 23:59:24 -08:00
Ian Lance Taylor
9bebe741d2 Adjust gccgo license references.
gccgo will be distributed under the same license as the rest
of the Go code.

R=r, rsc
http://go/go-review/1024019
2009-11-07 23:42:58 -08:00
Rob Pike
4fe4192ac9 fixes to spec. mostly minor but several of significance.
- carriage return is white space
- "" strings cannot span newlines
- f(g()) is ok if g is multivalue and matches f's args

R=rsc, gri
CC=go-dev
http://go/go-review/1024017
2009-11-07 22:00:59 -08:00
Robert Griesemer
642caacfa3 - added link to sources
- renamed listing.html -> dirList.html
  (there is a dirs.html already, it should probably have a better name, too)

R=rsc
http://go/go-review/1025020
2009-11-07 21:24:48 -08:00
Robert Griesemer
171ef39949 nice directory listings
R=rsc
http://go/go-review/1026020
2009-11-07 21:12:46 -08:00
Russ Cox
e67161ee3f fix authentication in parallel LoadAllCL
R=r
http://go/go-review/1024018
2009-11-07 18:56:29 -08:00
Russ Cox
696e802329 contribute.html fixes
R=r
http://go/go-review/1025019
2009-11-07 18:56:00 -08:00
Russ Cox
898714a92f tutorial fixes
R=r
CC=go-dev
http://go/go-review/1024014
2009-11-07 18:05:30 -08:00
Russ Cox
e434f1a763 FAQ edits
R=r
CC=go-dev
http://go/go-review/1024015
2009-11-07 17:31:22 -08:00
Russ Cox
72a59cecb9 require Mercurial 1.3 again (how did that get dropped?)
avoid deprecation warning about os.popen3

R=r
http://go/go-review/1026018
2009-11-07 17:30:40 -08:00
Russ Cox
cdcb0413b6 language design FAQ edits
R=r
http://go/go-review/1026019
2009-11-07 17:25:53 -08:00
Russ Cox
213bd39a3b fix a few style nits; arrange the doc list in
an order we want people to read the docs.

R=r
CC=go-dev
http://go/go-review/1025017
2009-11-07 16:46:49 -08:00
Vish Subramanian
379150c210 Add flags of type float to the flag package.
R=r, rsc
http://go/go-review/1026011
2009-11-07 15:52:27 -08:00
Robert Griesemer
1ac60ddd10 - support to extract one-line package synopsis for package listings
- formatting in dirs.html is crude, needs better html (open to suggestions),
  but shows the synopsis
- many package comments should probably be adjusted such that the first
  sentence is more concise

R=rsc, iant
http://go/go-review/1025014
2009-11-07 13:17:53 -08:00
Robert Griesemer
3317697df4 - blank before opening { for multi-line composite literals (as preferred by r)
- blank padding around composite literal contents for a less dense look
  (most if not all composite literals were written in that style before gofmt
  ran through them)
- corresponding (internal) flag: compositeLitBlank

- don't print a semi after a one-statement statement list (as preferred by r)
- corresponding (internal flag): fewerSemis

- the number of changes in nodes.go is huge because of the removed semis;
  hg mail requires that I gofmt the file before

With both flags set to false, this CL causes no gofmt formatting change. We
can turn them on if we like it (and then remove the flags). Will submit with
flags disabled.

R=rsc, r
http://go/go-review/1025015
2009-11-07 13:01:52 -08:00
Ian Lance Taylor
49d4e8cb80 Ignore more unimportant files.
- Emacs backup files.
- *.orig files left by hg merge conflicts.
- core files.
- generated enam.c files.
- runtime.acid now has an architecture.

R=rsc
http://go/go-review/1026017
2009-11-07 12:27:11 -08:00
Russ Cox
b94f8131ae new style; live at http://r45:3456/
R=r
CC=go-dev
http://go/go-review/1026015
2009-11-07 12:11:28 -08:00
Rob Pike
211a44cfcb change --enable-languages flag to include c, c++ in first mention
R=iant
http://go/go-review/1026016
2009-11-07 11:22:30 -08:00
Rob Pike
c765c09019 add an item about open source
R=rsc
CC=go-dev
http://go/go-review/1025013
2009-11-06 22:48:05 -08:00
David Symonds
6ea866c04b Typo fixes.
R=rsc
CC=go-dev
http://go/go-review/1026014
2009-11-06 18:43:57 -08:00
Russ Cox
f74beebb2f codereview: print gofmt message when aborting
R=r
CC=vish
http://go/go-review/1026013
2009-11-06 18:40:30 -08:00
Rob Pike
b2d3701cce 8g has an optimizer; update its description
R=rsc
CC=go-dev
http://go/go-review/1025010
2009-11-06 17:31:23 -08:00
Vish Subramanian
8910e427bd Contribute code instructions to use "hg codereview-login" did not work for me. I had to use
"hg code-login".

R=r, rsc
http://go/go-review/1024012
2009-11-06 17:08:47 -08:00
Vish Subramanian
05aab6f710 Add vish to contributors.
R=r, rsc
http://go/go-review/1026012
2009-11-06 17:05:42 -08:00
Russ Cox
88e365ce79 make temporary google.com -> golang.org hack more sophisticated
R=r
http://go/go-review/1024013
2009-11-06 17:02:47 -08:00
Ken Thompson
0eb2a79ff3 8g optimizer
R=rsc
http://go/go-review/1025011
2009-11-06 16:51:49 -08:00
Robert Griesemer
832ce7c1d2 format composite literal types that are "short" struct type literals
on one line for a more compact representation of some composite Literals

R=rsc
http://go/go-review/1025008
2009-11-06 16:34:19 -08:00
Robert Griesemer
a05a5465c8 - application of gofmt with one-line composite literal structs enabled
- this CL is dependent on CL 1025008

R=r, rsc
http://go/go-review/1025009
2009-11-06 16:33:53 -08:00
Kai Backman
32ea9f51f2 arm port description.
R=r
http://go/go-review/1026010
2009-11-06 15:58:23 -08:00
Ian Lance Taylor
5b387fb044 Rename go_gccgo_setup to gccgo_install.
R=rsc
CC=go-dev
http://go/go-review/1026009
2009-11-06 14:36:34 -08:00
Robert Griesemer
c1bbc4ae2b - one-line funcs in misc
gofmt -w misc

R=rsc
http://go/go-review/1025007
2009-11-06 14:27:41 -08:00
Robert Griesemer
368f8cbc75 - fine-tuning of one-line func heuristic (nodes.go)
- enabled for function declarations (not just function literals)
- applied gofmt -w $GOROOT/src
(look for instance at src/pkg/debug/elf/elf.go)

R=r, rsc
CC=go-dev
http://go/go-review/1026006
2009-11-06 14:24:38 -08:00
Ian Lance Taylor
8c40900fc2 Expand section on building gccgo.
R=r
http://go/go-review/1026008
2009-11-06 14:16:47 -08:00
Ian Lance Taylor
2528f33535 Add a document on contributing to gccgo.
R=r, rsc
CC=go-dev
http://go/go-review/1025005
2009-11-06 14:15:41 -08:00
Robert Griesemer
5873598a97 updated godoc documentation
R=r
http://go/go-review/1026007
2009-11-06 14:00:49 -08:00
Kai Backman
fd7d803535 fix argument order bug for float
R=rsc
http://go/go-review/1025006
2009-11-06 13:51:17 -08:00
Kai Backman
de663b2d6b with rsc: argsize rounding to 8 smashes stack data on 32bit machines.
R=rsc
http://go/go-review/1024011
2009-11-06 13:50:58 -08:00
Russ Cox
9bbbe7d3e1 Added tag release, release.2009-11-06 for changeset 1f0a01c93d30 2009-11-06 13:42:04 -08:00
Robert Griesemer
3a94e8c926 replaced "Expressive" with "expressive" for a cleaner look
R=r
http://go/go-review/1024010
2009-11-06 12:52:04 -08:00
Adam Langley
db4e48ece9 big: fix carry error, add test case.
crypto/x509: reenable tests.

R=gri
CC=go-dev
http://go/go-review/1026004
2009-11-06 11:36:21 -08:00
Robert Griesemer
56eca9daed minor fixups by gofmt
R=agl
http://go/go-review/1024009
2009-11-06 11:00:06 -08:00
Russ Cox
9ad14c94db expand "this is not just mercurial" section
R=r
CC=go-dev
http://go/go-review/1024008
2009-11-06 10:33:46 -08:00
Russ Cox
38a41eec67 contribute.html
R=r, iant
CC=go-dev
http://go/go-review/1022007
2009-11-06 10:04:22 -08:00