summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2009-11-10net: fix dns bug reported on irc.Russ Cox2-1/+12
if suffixes don't work, check for name directly. also fixes short names like bit.ly when ndots>1. tested by tossing domain and search lines from /etc/resolv.conf Fixes issue 2. R=agl, agl1 CC=golang-dev http://codereview.appspot.com/152048
2009-11-10better code for a copy loopRobert Griesemer1-2/+2
R=rsc http://codereview.appspot.com/152046
2009-11-10spell it with an "e"Ken Thompson1-0/+1
R=rsc http://go/go-review/1025037
2009-11-10minor adjustments to package comments for better synopsis.Robert Griesemer4-7/+8
R=rsc CC=r http://go/go-review/1026038
2009-11-10make regexp comment not a package commentRuss Cox1-0/+1
R=r http://go/go-review/1025036
2009-11-10allow user agent to mention Go.Russ Cox1-2/+1
R=r http://go/go-review/1024046
2009-11-09drop output from nilptr tests;Russ Cox1-0/+3
too hard to make it the same everywhere. still checking for non-zero exit status though. disable core files while running tests R=r http://go/go-review/1026037
2009-11-09- minor cleanupsRobert Griesemer2-20/+19
- better debugging support - gofmt -l src misc | wc -l is 0 R=rsc http://go/go-review/1024042
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer121-750/+750
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer124-1060/+1357
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer32-363/+363
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1024040
2009-11-09error rewording suggested by robert.Russ Cox1-8/+3
update comment. R=ken http://go/go-review/1025031
2009-11-09TBR:Robert Griesemer1-1/+1
fix typo that prevented function bodies from being indexed (ouch!) R=rsc http://go/go-review/1024035
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer403-7840/+7840
R=rsc, r http://go/go-review/1025029
2009-11-09tweak documentation of commandsRuss Cox23-34/+33
so that first sentence is better for cmd page. live at http://r45:3456/cmd/ R=gri, r http://go/go-review/1024034
2009-11-09- rename Context to exprContext to remove it from public interfaceRobert Griesemer1-4/+4
(and to match the style of declContext) R=rsc http://go/go-review/1024033
2009-11-09fix for nodeSize computation, used to determine ifRobert Griesemer1-1/+5
a node fits on one line: - for purposes of measuring the node size in text, don't generate html or use a styler that could generate html as it will lead to overly large sizes A consequence of this bug is that source code displayed with godoc may show functions that fit on one line in the source on multiple lines. This change causes no difference to the gofmt formatting of any files in src or misc. R=rsc http://go/go-review/1026034
2009-11-08- exit godoc w/o crashing if negative tabwidth is providedRobert Griesemer1-10/+9
- minor related cleanups R=rsc http://go/go-review/1025026
2009-11-08Addressing issue brought up by dsymonds:Robert Griesemer2-17/+42
- When providing alternative spellings to a query, do not prefix it with a package qualifier as the suggestion may not have any results. Correctly filtering is quite a bit of work, and clicking the alternative spelling will always also show the qualified hits if they exist (but also others). Seems good enough for now. - Give user feedback when the query syntax was wrong. - Package names in search results are now links to the respective package documentation. - Experimented with excluding main packages and test files from index with inconclusive results. Code is present and can be enabled by changing a flag in the source. This needs some more work. R=rsc CC=r, dsymonds http://go/go-review/1026033
2009-11-08bug212, bug213.Russ Cox4-11/+27
R=ken http://go/go-review/1026032
2009-11-08delete a pointless todo in all_test.go.Rob Pike2-5/+9
address one in rpc/client.go R=rsc CC=go-dev http://go/go-review/1026030