summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-11-13json: allow one to unmarshal a top-level JSON array.Adam Langley2-2/+43
Fixies issue 114. R=rsc CC=golang-dev http://codereview.appspot.com/154121
2009-11-13path.TestWalk: disable error case if rootRuss Cox1-23/+25
(chmod 0 doesn't cause errors for root) Fixes issue 22. R=gri http://codereview.appspot.com/152120
2009-11-13json: fix addressing of slice indexes that are multiples of 8.Adam Langley2-1/+32
Fixes issue 147. R=rsc CC=golang-dev http://codereview.appspot.com/152123
2009-11-13runtime: warn about SELinux based mmap failures on Linux.Adam Langley5-5/+32
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 http://codereview.appspot.com/152086
2009-11-12yet another attempt to avoid conflicts withRuss Cox10-10/+29
<stdio.h>, which we weren't even #including R=r http://codereview.appspot.com/154108
2009-11-12remove dead code from testRob Pike1-68/+8
R=rsc CC=golang-dev http://codereview.appspot.com/152118
2009-11-12sudo.bash tries to install acid and db, which don't exist any moreRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/152117
2009-11-12Remove -align flag from gofmt.Robert Griesemer2-6/+0
(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 issue 100. R=rsc http://codereview.appspot.com/154102
2009-11-12fix style nit ignored in previous clKai Backman1-1/+1
R=rsc http://codereview.appspot.com/152110
2009-11-12add support for pre arm v6 cas. set GOARM=5 to enable.Kai Backman3-1/+46
R=rsc http://codereview.appspot.com/154101
2009-11-12os.TestSeek: use a smaller but still 64-bit seek offset.Russ Cox1-3/+8
Might fix issue 91. R=r http://codereview.appspot.com/152108
2009-11-12produce helpful error when gotest doesn't find a MakefileRob Pike1-2/+7
Fixes issue 117. R=rsc, agl1 CC=golang-dev http://codereview.appspot.com/152107
2009-11-12exp/draw: correct Makefile.Adam Langley1-1/+1
Thanks to Allister Macleod Fixes issue 112. R=rsc CC=golang-dev http://codereview.appspot.com/152102
2009-11-12cc, ld: fix more gcc 4.3 -O2 compile bugsRuss Cox3-6/+5
same as http://codereview.appspot.com/152088 in more files. Fixes issue 83. R=r, r1 http://codereview.appspot.com/152091
2009-11-11 add cache flushing call after generating closure.Kai Backman2-0/+15
go/test: passes 88% (306/347) R=rsc http://codereview.appspot.com/152089
2009-11-11avoid seg fault when return type is unknownRuss Cox1-0/+5
Fixes issue 80. R=ken http://codereview.appspot.com/154079
2009-11-11gopack: work around gcc bug in hash functionRuss Cox1-3/+10
Fixes issue 48. (this time for sure!) R=r, r1 http://codereview.appspot.com/152088
2009-11-11Fix capitalisation of "Git".David Symonds4-20/+20
R=rsc http://codereview.appspot.com/154071 Committer: Russ Cox <rsc@golang.org>
2009-11-11vector: s/Element/interface{}/Robert Griesemer2-24/+19
Fixes issue 74. R=rsc http://codereview.appspot.com/154073
2009-11-11json: support \u escaping in stringsAdam Langley2-12/+28
Fixes issue 73. R=rsc CC=golang-dev http://codereview.appspot.com/154072
2009-11-11cgo: add more information about gcc output parsing failuresRuss Cox1-0/+4
R=r http://codereview.appspot.com/152084
2009-11-11fix BUFSIZ redeclaration warningsRuss Cox5-5/+5
R=r http://codereview.appspot.com/152085
2009-11-11fix TestRemoveAll again (tested as root this time).Russ Cox1-8/+7
Fixes issue 22. R=r http://codereview.appspot.com/154069
2009-11-11make.bash: detect and warn about SELinux policy that crashes us.Adam Langley1-0/+16
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-11os test: do not use symlink > 255 bytes.Russ Cox1-1/+2
Fixes issue 62. R=r http://codereview.appspot.com/152080
2009-11-11cc: correct handling of allocn(0, 1, d)Russ Cox1-2/+1
Fixes issue 29. R=r http://codereview.appspot.com/152076
2009-11-11gotest: add LC_ALL=CRuss Cox1-0/+1
R=r http://codereview.appspot.com/154067
2009-11-11getc/ungetc in assemblers; BUFSIZ everywhere.Russ Cox5-0/+14
Fixes issue 67. R=r http://codereview.appspot.com/154068
2009-11-11two gopack nits.Russ Cox2-13/+4
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 issue 48. (I hope.) R=r http://codereview.appspot.com/152077
2009-11-11Revert make.bash which slipped into the previous revision.Adam Langley1-13/+0
R=rsc http://codereview.prom.corp.google.com/1024051
2009-11-11Reland a112249da741, this time with missing file.Adam Langley10-166/+581
2009-11-11avoid clash with stdio's getc, ungetc.Russ Cox2-0/+8
Fixes issue 50. R=r http://codereview.appspot.com/154064
2009-11-11log test: don't assume a fixed set of letters for $GOROOTRuss Cox1-1/+1
Fixes issue 27. R=r http://codereview.appspot.com/152075
2009-11-11roll back 3985: build is brokenRuss Cox8-563/+162
TBR=agl1 CC=golang-dev http://codereview.appspot.com/154065
2009-11-11big:Adam Langley8-162/+563
Turn methods that don't store the result in their receiver into functions in order to preserve the convention. Re-jig Exp and Div by moving their guts into nat.go. Add ProbablyPrime to perform Miller-Rabin primality tests. crypto/rsa: reenable key generation since we now have ProbablyPrime. R=gri CC=go-dev http://codereview.prom.corp.google.com/1024038
2009-11-11work with GNU Make 3.80Russ Cox1-1/+5
Fixes issue 30. R=r1, r http://codereview.appspot.com/154061
2009-11-11gc: increase maximum path size in getwd from 100 to 1000.Russ Cox1-2/+2
Fixes issue 31. To try the fix before the next release: hg pull -u R=r1, r http://codereview.appspot.com/154058
2009-11-11os: do not test error case of TestRemoveAll when rootRuss Cox1-25/+28
Fixes issue 22. R=r1, r http://codereview.appspot.com/152073
2009-11-11use fully qualified names for hash interfacesRuss Cox4-5/+5
Fixes issue 38. R=r1, r http://codereview.appspot.com/152072
2009-11-11gopack: convert long to time_t before taking a pointer.Adam Langley1-1/+3
Fixes issue 40. R=rsc, r1 CC=golang-dev http://codereview.appspot.com/154057
2009-11-10lib9: rip out platform specific code that breaks on pclinuxosRuss Cox1-109/+7
R=r CC=golang-dev http://codereview.appspot.com/154049
2009-11-10update old comment: things are much better nowRuss Cox1-5/+6
R=r http://codereview.appspot.com/152057
2009-11-10gotest: avoid problems with grepping for ยทRuss Cox1-0/+5
Fixes issue 7. R=r CC=golang-dev http://codereview.appspot.com/154043
2009-11-10make.bash: check $PATH indirectly via which quietgccRuss Cox1-3/+8
R=agl1 CC=golang-dev http://codereview.appspot.com/152056
2009-11-10sanity check environment variables better.Russ Cox1-0/+17
Fixes issue 12. R=agl1 CC=golang-dev http://codereview.appspot.com/152055
2009-11-10net: fix error for connect to /etc/ on some systemsRuss Cox1-1/+1
R=agl1 CC=golang-dev http://codereview.appspot.com/152051
2009-11-10test for invalid $GOBIN setting before trying to buildRuss Cox1-0/+7
R=r CC=golang-dev http://codereview.appspot.com/153049
2009-11-10net: disable more ipv6 testsRuss Cox1-6/+10
R=agl, agl1 CC=golang-dev http://codereview.appspot.com/153050
2009-11-10net: disable ipv6 test if we know kernel won't take it.Russ Cox1-1/+5
R=agl, agl1 CC=golang-dev http://codereview.appspot.com/153048
2009-11-10net: disable dns error testRuss Cox1-0/+7
some dns resolvers (opendns, for example) are willing to make up results for any name. R=agl, agl1 CC=golang-dev http://codereview.appspot.com/152049