- 03 Dec, 2009 2 commits
-
-
Russ Cox authored
drop check in range over array. drop check in [256]array indexed by byte. R=ken2 https://golang.org/cl/163088
-
Robert Griesemer authored
tabs for indentation even if -spaces is set. Changes to gofmt: - added -tabindent flag - don't recompute parser and printer mode repeatedly Changes to go/printer: - provide new printing mode TabIndent Changes to tabwriter: - implement new mode TabIndent to use tabs independent of the actual padding character for leading empty columns - distinguish between minimal cell width and tab width (tabwidth is only used if the output contains tabs, minwidth and padding are always considered) - fixed and added more comments - some additional factoring By default, -tabindent is disabled and the default gofmt behavior is unchanged. By setting -spaces and -tabindent, gofmt will use tabs for indentation but do any other alignment with spaces. This permits a user to change the visible indentation by simply changing the editor's tab width and the code will remain properly aligned without the need to rerun gofmt. R=rsc https://golang.org/cl/163068
-
- 02 Dec, 2009 24 commits
-
-
Russ Cox authored
Fixes #274. R=r CC=jonathan.r.hudson https://golang.org/cl/163072
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/164082
-
Ian Lance Taylor authored
R=gri https://golang.org/cl/164081
-
Fazlul Shahriar authored
How to reproduce: $ mkdir /tmp/foo $ cp /dev/null /tmp/foo/bar.go $ chmod -r /tmp/foo/bar.go $ gofmt /tmp/foo open /tmp/foo/bar.go: permission denied $ echo $? # should echo 2 0 $ Maybe you need to put a call to time.Sleep at the beginning of report(). R=gri CC=golang-dev https://golang.org/cl/164073
-
Robert Griesemer authored
R=rsc https://golang.org/cl/164071
-
Rob Pike authored
Fixes #338. R=rsc CC=golang-dev https://golang.org/cl/163083
-
Rob Pike authored
can't mix slices and arrays now; perhaps that should be a TODO R=rsc https://golang.org/cl/164079
-
Russ Cox authored
so that the issue stops showing up on the per-reviewer dashboard page. R=r https://golang.org/cl/164075
-
Russ Cox authored
added random test to look for more. Fixes #363. R=r, cw https://golang.org/cl/163071
-
Ian Lance Taylor authored
Submitting as a TBR to fix the build. R=dho, rsc https://golang.org/cl/164078
-
Devon H. O'Dell authored
on my linux machine this is the correct one. lxml.etree exists with an ElementTree class, but does not contain an .XML method. R=rsc https://golang.org/cl/163082
-
Devon H. O'Dell authored
R=rsc CC=golang-dev https://golang.org/cl/164053
-
Russ Cox authored
R=r CC=hurtonm https://golang.org/cl/164074
-
Devon H. O'Dell authored
Fixes #271. Fixes #321. R=rsc, agl, cw CC=golang-dev https://golang.org/cl/163052
-
Rob Pike authored
R=rsc https://golang.org/cl/163070
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/163069
-
Devon H. O'Dell authored
Necessary for 163052 R=rsc CC=golang-dev https://golang.org/cl/164068
-
Evan Shaw authored
R=rsc CC=golang-dev https://golang.org/cl/164069
-
Devon H. O'Dell authored
R=gri https://golang.org/cl/163067
-
Russ Cox authored
R=dho CC=golang-dev https://golang.org/cl/163061
-
David Symonds authored
R=rsc https://golang.org/cl/163049
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/163062
-
Russ Cox authored
TBR=r https://golang.org/cl/163064
-
Robert Griesemer authored
Easy stuff in this round, more to come. R=iant, rsc, r, ken2 https://golang.org/cl/163058
-
- 01 Dec, 2009 12 commits
-
-
Christopher Wedgwood authored
Bad returns noticed by "Devon H. O'Dell" <devon.odell@gmail.com>. Resolves Issue 360. R=rsc, dho, agl, agl1 CC=ukai https://golang.org/cl/163055
-
Charles L. Dorian authored
Also fixes issue 310 comment 5 error. Fixes #310. R=rsc https://golang.org/cl/163042
-
Rob Pike authored
1) need to send slice and array types (was only sending element types) 2) compatibleType needs to use decoder's type map R=rsc CC=golang-dev https://golang.org/cl/164062
-
Robert Griesemer authored
R=rsc https://golang.org/cl/164059
-
Russ Cox authored
R=r https://golang.org/cl/164060
-
Sven Almgren authored
R=rsc https://golang.org/cl/163053
-
Rob Pike authored
R=rsc https://golang.org/cl/161050
-
Fazlul Shahriar authored
Opening /dev/stdin can sometimes fail. For example, in the acme editor, executing "Edit ,|gofmt" fails with: open /dev/stdin: no such device or address Executing "Edit ,|ls -l /dev/stdin /proc/self/fd/0" gives: lrwxrwxrwx 1 root root 15 2009-09-07 02:17 /dev/stdin -> /proc/self/fd/0 lrwx------ 1 fhs users 64 2009-11-26 22:05 /proc/self/fd/0 -> socket:[5528230] (This is my first change, and I've signed the individual contributor license agreement.) R=rsc, gri CC=golang-dev https://golang.org/cl/162041
-
Robert Griesemer authored
- simplified dealing with parse errors: no need to intersperse them in the source - improve visibility of highlighted identifiers by showing them in bold R=rsc https://golang.org/cl/163051
-
Fazlul Shahriar authored
R=golang-dev, rsc https://golang.org/cl/164052
-
Anthony Starks authored
R=rsc CC=agl1 https://golang.org/cl/154123
-
- 30 Nov, 2009 2 commits
-
-
Roger Peppe authored
unnamed, not require -n, in line with other entries. R=rsc CC=r https://golang.org/cl/162061
-
Sergey 'SnakE' Gromov authored
R=rsc CC=golang-dev https://golang.org/cl/164047
-