David Titarenco
1eef6b0dd4
Added self to AUTHORS and CONTRIBUTORS prior to first submission.
...
R=rsc
https://golang.org/cl/153057
2009-11-13 18:06:27 -08:00
Nigel Tao
75829b3c51
Remove unnecessary int(h) casts in image.go.
...
R=rsc
https://golang.org/cl/154125
2009-11-13 17:40:20 -08:00
Rob Pike
8f47890135
fix typo
...
R=rsc
https://golang.org/cl/152128
2009-11-13 16:00:55 -08:00
James Aguilar
95be81da4d
Correct indentation for go-mode where a close brace following a semi-
...
colon-less statement would be indented one stop too many.
R=rsc, aclements
CC=aclements
https://golang.org/cl/154096
2009-11-13 15:52:30 -08:00
James Aguilar
a01839fb82
Add myself to the contributors file.
...
R=rsc
https://golang.org/cl/152101
2009-11-13 15:52:24 -08:00
Adam Langley
a070722340
json: minor comment fix.
...
I screwed up and didn't write one of the code review changes to disk
before submitting.
TBR=rsc
R=rsc
https://golang.org/cl/154122
2009-11-13 14:59:04 -08:00
Rob Pike
f9919ba323
Explain why
...
-flag true
does not work although
-flag=true
does.
Fixes #139 .
R=iant
CC=golang-dev
https://golang.org/cl/154118
2009-11-13 13:15:18 -08:00
Russ Cox
662ee8704c
test/run: use bash, not sh.
...
use bash builtin time instead of
assuming /usr/bin/time exists.
R=r
https://golang.org/cl/152124
2009-11-13 13:10:53 -08:00
Adam Langley
bccc337084
json: allow one to unmarshal a top-level JSON array.
...
Fixies issue 114.
R=rsc
CC=golang-dev
https://golang.org/cl/154121
2009-11-13 13:00:45 -08:00
Russ Cox
e7b8f5faca
path.TestWalk: disable error case if root
...
(chmod 0 doesn't cause errors for root)
Fixes #22 .
R=gri
https://golang.org/cl/152120
2009-11-13 11:34:33 -08:00
Adam Langley
87bc9b53fd
json: fix addressing of slice indexes that are multiples of 8.
...
Fixes #147 .
R=rsc
CC=golang-dev
https://golang.org/cl/152123
2009-11-13 11:29:13 -08:00
Adam Langley
3f7a32405d
runtime: warn about SELinux based mmap failures on Linux.
...
SELinux will cause mmap to fail when we request w+x memory unless the
user has configured their policies. We have a warning in make.bash,
but it's quite likely that the policy will be reset at some point and
then all their binaries start failing.
This patch prints a warning on Linux when mmap fails with EACCES.
R=rsc
CC=golang-dev
https://golang.org/cl/152086
2009-11-13 10:08:51 -08:00
Russ Cox
593ccd1d44
yet another attempt to avoid conflicts with
...
<stdio.h>, which we weren't even #including
R=r
https://golang.org/cl/154108
2009-11-12 23:38:48 -08:00
Rob Pike
845276ae68
remove dead code from test
...
R=rsc
CC=golang-dev
https://golang.org/cl/152118
2009-11-12 23:35:45 -08:00
Rob Pike
00093011e6
sudo.bash tries to install acid and db, which don't exist any more
...
R=rsc
CC=golang-dev
https://golang.org/cl/152117
2009-11-12 23:19:12 -08:00
Kevin Ballard
6c2ae1a625
Teach emacs M-x gofmt to save region/restrictions
...
R=agl, agl1
https://golang.org/cl/152078
2009-11-12 18:40:42 -08:00
Russ Cox
780dbdc024
codereview: clpatch tweaks
...
R=agl1
https://golang.org/cl/152114
2009-11-12 18:37:39 -08:00
Robert Griesemer
511772c888
Remove -align flag from gofmt.
...
(Making it work correctly with -spaces is a bit of work and the output
won't make much sense as it is intended as input to tabwriter.)
Fixes #100 .
R=rsc
https://golang.org/cl/154102
2009-11-12 18:26:45 -08:00
Kai Backman
a23746ea65
fix style nit ignored in previous cl
...
R=rsc
https://golang.org/cl/152110
2009-11-12 16:12:28 -08:00
Kai Backman
6a48aab747
add support for pre arm v6 cas. set GOARM=5 to enable.
...
R=rsc
https://golang.org/cl/154101
2009-11-12 15:23:23 -08:00
Russ Cox
c403422525
tag new release at 4015/cb140bac9ab0
...
R=r
https://golang.org/cl/154100
2009-11-12 15:12:52 -08:00
Russ Cox
f3a97293b1
test/run: unset GREP_OPTIONS
...
Fixes #116 .
R=r
https://golang.org/cl/152106
2009-11-12 14:55:26 -08:00
Russ Cox
b0c7d68052
os.TestSeek: use a smaller but still 64-bit seek offset.
...
Might fix issue 91.
R=r
https://golang.org/cl/152108
2009-11-12 14:55:04 -08:00
Rob Pike
ce0a4bae41
produce helpful error when gotest doesn't find a Makefile
...
Fixes #117 .
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/152107
2009-11-12 14:28:45 -08:00
Rob Pike
9549eeecd1
add a paragraph about semicolons to the tutorial.
...
fix a typo caught by kakugawa@gmail.com
Fixes #92 .
R=rsc
CC=golang-dev
https://golang.org/cl/152105
2009-11-12 14:10:16 -08:00
Adam Langley
454c621d91
exp/draw: correct Makefile.
...
Thanks to Allister Macleod
Fixes #112 .
R=rsc
CC=golang-dev
https://golang.org/cl/152102
2009-11-12 13:55:20 -08:00
Rob Pike
cf16443c69
fix a couple of typos.
...
add a mention of range to the tutorial.
change tutorial's title.
R=rsc
CC=golang-dev
https://golang.org/cl/152098
2009-11-12 11:05:20 -08:00
Russ Cox
6634e3432d
cc, ld: fix more gcc 4.3 -O2 compile bugs
...
same as https://golang.org/cl/152088
in more files.
Fixes #83 .
R=r, r1
https://golang.org/cl/152091
2009-11-12 00:22:45 -08:00
Kai Backman
6dbd142951
add cache flushing call after generating closure.
...
go/test: passes 88% (306/347)
R=rsc
https://golang.org/cl/152089
2009-11-11 23:23:11 -08:00
Russ Cox
e5636d6e27
avoid seg fault when return type is unknown
...
Fixes #80 .
R=ken
https://golang.org/cl/154079
2009-11-11 22:20:05 -08:00
Russ Cox
8b95720918
gopack: work around gcc bug in hash function
...
Fixes #48 . (this time for sure!)
R=r, r1
https://golang.org/cl/152088
2009-11-11 22:19:58 -08:00
Rob Pike
0c83f23d44
fix typo in ByteSize example
...
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/154076
2009-11-11 19:39:57 -08:00
David Symonds
9e829c42d6
Fix capitalisation of "Git".
...
R=rsc
https://golang.org/cl/154071
2009-11-11 17:31:28 -08:00
Robert Griesemer
23843fa49e
vector: s/Element/interface{}/
...
Fixes #74 .
R=rsc
https://golang.org/cl/154073
2009-11-11 17:25:51 -08:00
Adam Langley
3b092fec36
json: support \u escaping in strings
...
Fixes #73 .
R=rsc
CC=golang-dev
https://golang.org/cl/154072
2009-11-11 17:13:14 -08:00
Russ Cox
ae3341476d
cgo: add more information about gcc output parsing failures
...
R=r
https://golang.org/cl/152084
2009-11-11 16:58:27 -08:00
Russ Cox
c3343ef62c
fix BUFSIZ redeclaration warnings
...
R=r
https://golang.org/cl/152085
2009-11-11 16:33:23 -08:00
Russ Cox
2cda46dc82
fix TestRemoveAll again (tested as root this time).
...
Fixes #22 .
R=r
https://golang.org/cl/154069
2009-11-11 15:48:38 -08:00
Adam Langley
2643f742a5
make.bash: detect and warn about SELinux policy that crashes us.
...
The default SELinux policy on Fedora 12 (at least) disallows stack
pages to be +x. This causes all binaries written by 6g/6l to segfault
immedately. The 'true' way to fix this issue is to mark binaries with
the correct type. However, that assumes that 6l is going to detect
SELinux, figure out the correct type for the current distribution and
set the type (without libselinux).
For now we'll warn users and point them towards the way to enable
execstack for the whole system.
http://code.google.com/p/go/issues/detail?id=47
R=rsc
CC=golang-dev
http://codereview.prom.corp.google.com/1026041
2009-11-11 15:02:15 -08:00
Russ Cox
ef7c370a20
typo
...
Fixes #69 .
R=r
https://golang.org/cl/152082
2009-11-11 14:52:38 -08:00
Russ Cox
f07a9e43e8
os test: do not use symlink > 255 bytes.
...
Fixes #62 .
R=r
https://golang.org/cl/152080
2009-11-11 14:52:29 -08:00
Russ Cox
ae39a1d8ec
cc: correct handling of allocn(0, 1, d)
...
Fixes #29 .
R=r
https://golang.org/cl/152076
2009-11-11 14:52:21 -08:00
Russ Cox
d38630fe3d
gotest: add LC_ALL=C
...
R=r
https://golang.org/cl/154067
2009-11-11 14:52:15 -08:00
Russ Cox
e9ac56fb99
getc/ungetc in assemblers; BUFSIZ everywhere.
...
Fixes #67 .
R=r
https://golang.org/cl/154068
2009-11-11 14:52:08 -08:00
Russ Cox
0343509915
point at how to get easy_install on Ubuntu.
...
Fixes #59 .
Add note about export.
R=r
https://golang.org/cl/152079
2009-11-11 14:51:53 -08:00
Russ Cox
a174987a7c
two gopack nits.
...
1. allocate an extra byte for use by write.
2. throw away the code trying to translate
uid and gid to names. i suspect it of causing
seg faults in some situations, and it is
not needed by the compilers.
Fixes #48 . (I hope.)
R=r
https://golang.org/cl/152077
2009-11-11 14:48:33 -08:00
Adam Langley
9188b1f000
Revert make.bash which slipped into the previous revision.
...
R=rsc
http://codereview.prom.corp.google.com/1024051
2009-11-11 13:30:47 -08:00
Adam Langley
1941855730
Reland a112249da741, this time with missing file.
2009-11-11 13:21:37 -08:00
Russ Cox
8c3d2f015b
avoid clash with stdio's getc, ungetc.
...
Fixes #50 .
R=r
https://golang.org/cl/154064
2009-11-11 13:08:35 -08:00
Russ Cox
8515a9f4e2
log test: don't assume a fixed set of letters for $GOROOT
...
Fixes #27 .
R=r
https://golang.org/cl/152075
2009-11-11 13:07:46 -08:00