Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.
stop on error in doc/progs/run
R=r
CC=golang-dev
http://codereview.appspot.com/850041
|
|
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/224069
Committer: Rob Pike <r@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/179063
|
|
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
http://codereview.appspot.com/171044
Committer: Russ Cox <rsc@golang.org>
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
R=dho
CC=golang-dev
http://codereview.appspot.com/156067
|
|
fix a typo caught by kakugawa@gmail.com
Fixes issue 92.
R=rsc
CC=golang-dev
http://codereview.appspot.com/152105
|
|
R=r
CC=go-dev
http://go/go-review/1024014
|
|
also add a section about compiling programs because some found it surprising not to have one
R=rsc
CC=go-dev
http://go/go-review/1018011
|
|
R=r
DELTA=209 (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
|
|
fix a bug in makehtml - was deleting the output!
R=rsc
DELTA=11 (2 added, 0 deleted, 9 changed)
OCL=35672
CL=35674
|
|
*** Reason for rollback ***
roll back the changes to the tutorial programs (only) since they
break the automated processing used to create the tutorial.
*** Original change description ***
apply gofmt to the LGTM-marked files from 34501
that have not changed since I applied gofmt.
R=rsc
DELTA=139 (0 added, 44 deleted, 95 changed)
OCL=35670
CL=35670
|
|
R=gri
DELTA=900 (106 added, 31 deleted, 763 changed)
OCL=35384
CL=35396
|
|
that have not changed since I applied gofmt.
R=gri
DELTA=456 (77 added, 3 deleted, 376 changed)
OCL=35378
CL=35383
|
|
R=r
DELTA=127 (38 added, 3 deleted, 86 changed)
OCL=34640
CL=34650
|
|
R=r
DELTA=112 (6 added, 57 deleted, 49 changed)
OCL=34610
CL=34610
|
|
R=rsc
DELTA=30 (5 added, 0 deleted, 25 changed)
OCL=33138
CL=33170
|
|
echo back context of call in error if likely to be useful.
For example, if os.Open("/etc/passwd", os.O_RDONLY)
fails with syscall.EPERM, it returns as the os.Error
&PathError{
Op: "open",
Path: "/etc/passwd"
Error: os.EPERM
}
which formats as
open /etc/passwd: permission denied
Not converted:
datafmt
go/...
google/...
regexp
tabwriter
template
R=r
DELTA=1153 (561 added, 156 deleted, 436 changed)
OCL=30738
CL=30781
|
|
R=r
DELTA=51 (4 added, 4 deleted, 43 changed)
OCL=30759
CL=30778
|
|
remove a few hardcoded paths elsewhere too.
R=r,gri
DELTA=123 (44 added, 15 deleted, 64 changed)
OCL=29914
CL=29945
|
|
R=r
DELTA=713 (109 added, 386 deleted, 218 changed)
OCL=29707
CL=29722
|
|
R=r
OCL=28569
CL=28573
|
|
*os.Errors with os.Errors.
lib/template updated to use new setup; its clients also updated.
Step 2 will make os's error support internally much cleaner.
R=rsc
OCL=27586
CL=27586
|
|
as a reminder, the old conversion
was that you could write
var arr [10]byte;
var slice []byte;
slice = arr;
but now you have to write
slice = &arr;
the change eliminates an implicit &, so that
the only implicit &s left are in the . operator
and in string(arr).
also, removed utf8.EncodeRuneToString
in favor of string(rune).
R=r
DELTA=83 (1 added, 23 deleted, 59 changed)
OCL=27531
CL=27534
|
|
R=rsc,gri
DELTA=103 (36 added, 33 deleted, 34 changed)
OCL=26442
CL=26491
|
|
also make the default input for makehtml be go_tutorial.txt.
R=rsc
DELTA=176 (58 added, 58 deleted, 60 changed)
OCL=26374
CL=26374
|
|
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
|
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
|
|
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=23967
CL=23970
|
|
R=r
DELTA=367 (111 added, 59 deleted, 197 changed)
OCL=23957
CL=23960
|
|
R=rsc
DELTA=4 (0 added, 0 deleted, 4 changed)
OCL=23896
CL=23928
|
|
R=rsc
DELTA=15 (1 added, 0 deleted, 14 changed)
OCL=23889
CL=23889
|
|
R=ken,rsc
DELTA=101 (9 added, 0 deleted, 92 changed)
OCL=23174
CL=23188
|
|
TBR=r
OCL=23121
CL=23127
|
|
R=r
OCL=22978
CL=22984
|
|
R=rsc
DELTA=337 (0 added, 1 deleted, 336 changed)
OCL=22950
CL=22950
|
|
will bring document in line in a later CL, which may include revisiting some of the names
R=rsc
DELTA=58 (0 added, 0 deleted, 58 changed)
OCL=22906
CL=22908
|
|
the raw fmt routines will be another, smaller but subtler pass.
R=rsc
DELTA=157 (0 added, 0 deleted, 157 changed)
OCL=22851
CL=22851
|
|
R=presotto
OCL=22733
CL=22733
|
|
add a section on printing
add a section on allocation
R=rsc
DELTA=500 (278 added, 15 deleted, 207 changed)
OCL=22381
CL=22456
|
|
R=r
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=22452
CL=22455
|