summaryrefslogtreecommitdiff
path: root/src/cmd
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17fix botchKen Thompson1-1270/+0
R=rsc http://codereview.appspot.com/157046
2009-11-17change a n^2 algorithm inKen Thompson1-2/+1385
data initialization to n*log(n) R=rsc http://codereview.appspot.com/158041
2009-11-17cmd/cc: Fix -I switch to handle a path with blankspaces correctlySergio Luis O. B. Correia1-10/+2
Currently, -I switch can't deal with a path containing spaces. This commit simplify setinclude(), by removing the special case of a string that had spaces. After this change, setinclude() will merely add the given directories to the include path, if it does not yet exist, and this approach works. Will be needed for solving issue 115. R=agl1, rsc, iant2, r http://codereview.appspot.com/155059 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell4-2/+23
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas http://codereview.appspot.com/152142 Committer: Russ Cox <rsc@golang.org>
2009-11-16gc: change "can we const evaluate this" from blacklist to whitelistRuss Cox1-6/+30
R=ken2 http://codereview.appspot.com/155074
2009-11-166l: fix divide by zero in glibc linker.Russ Cox1-5/+12
repeats 8l change http://code.google.com/p/go/source/detail?r=7594e16b5cf9 Fixes issue 179. R=iant http://codereview.appspot.com/154145
2009-11-16Don't emit line tags when source code is printed as part ofRobert Griesemer1-3/+10
package documentation using templates. The line tag interferes with the anchor tag introduces by the template. This fixes an an issue where some headers lost their ability to link to the respective source code. R=rsc http://codereview.appspot.com/154166
2009-11-16s/AJMP/AB/ to fix build breakage.Kai Backman1-3/+3
R=rsc http://codereview.appspot.com/155069
2009-11-15gc: fix up floating point NaN comparisonsRuss Cox5-34/+89
Fixes issue 167. R=ken2 http://codereview.appspot.com/155062
2009-11-15godefs: avoid gcc 4'isms in command line.Russ Cox1-2/+2
Fixes issue 97. R=r http://codereview.appspot.com/155054
2009-11-15cgo: arrange for English error messagesRuss Cox1-0/+5
Fixes issue 21. R=r http://codereview.appspot.com/155048
2009-11-15gc: five bug fixes, one better error.Russ Cox11-64/+144
* check for struct literal assignment to private fields. * record, fix crash involving parallel map assignment. * avoid infinite recursion in exportassignok. * make floating point bounds check precise. * avoid crash on invalid receiver. * add context to error about implicit assignment. Fixes issue 86. Fixes issue 88. Fixes issue 158. Fixes issue 174. Fixes issue 201. Fixes issue 204. R=ken2 http://codereview.appspot.com/154144
2009-11-15gotest: show the test file pattern in "no test files" errorRuss Cox1-1/+1
Fixes issue 190. R=r http://codereview.appspot.com/154142
2009-11-15cc: drop redundant strcpyRuss Cox1-2/+0
Fixes issue 192. R=ken2 http://codereview.appspot.com/155047
2009-11-14cc: eliminate two fixed-size buffersRuss Cox2-25/+25
Fixes bug 168. Alternative to http://codereview.appspot.com/152143. R=ken2 http://codereview.appspot.com/155042
2009-11-14Build changes to support work on the BSDs.Devon H. O'Dell4-10/+10
This does still contain some FreeBSD-specific bits, but it's a pain to do partial diffs. R=rsc http://codereview.appspot.com/152138 Committer: Russ Cox <rsc@golang.org>
2009-11-14gc: do not try to constant-evaluate (interface{})("bar")Russ Cox1-0/+1
Fixes issue 183. R=ken http://codereview.appspot.com/154139
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 -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-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-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-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 Symonds1-1/+1
R=rsc http://codereview.appspot.com/154071 Committer: Russ Cox <rsc@golang.org>
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-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 Cox1-0/+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-11avoid clash with stdio's getc, ungetc.Russ Cox2-0/+8
Fixes issue 50. R=r http://codereview.appspot.com/154064
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-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-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-09- replaced gofmt expression formatting algorithm withRobert Griesemer9-97/+97
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 Griesemer14-582/+582
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-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 Cox3-10/+26
R=ken http://go/go-review/1026032
2009-11-08improved sentence extraction:Robert Griesemer1-10/+28
- don't forget first periods - look at capitalization of last char before periods R=rsc http://go/go-review/1024027
2009-11-08a nagging inconsistency: capitalization ofRuss Cox3-49/+49
HTML vs Html, URL vs Url, HTTP vs Http, current source is 6:1 in favor of the former, so change instances of the latter. R=r CC=go-dev http://go/go-review/1024026
2009-11-08assorted cleanupRuss Cox1-1/+1
R=r, iant CC=go-dev http://go/go-review/1025024
2009-11-08use grouping instead of colors to show non-global search hits:Robert Griesemer2-70/+119
- introduced a new run per file containing all spots belonging to the same kind (e.g. var decl, const decl, etc.) - more comments, better index.go file organization R=rsc http://go/go-review/1026028
2009-11-08fix sentence extractionRobert Griesemer1-6/+13
R=rsc http://go/go-review/1026027
2009-11-08- properly align package synopsesRobert Griesemer1-31/+153
(this was surprisingly hard to get right in HTML) - show modification times in source directory listings - various tweaks R=rsc http://go/go-review/1024024
2009-11-08TBRRobert Griesemer1-1/+1
1st step of renaming dirList.html -> dirlist.html (OS X filenames are not capitalization-sensitive) R=rsc http://go/go-review/1024021
2009-11-08- better support for text files: show them nicely formattedRobert Griesemer1-21/+88
instead of serving them raw - path-related cleanups R=rsc http://go/go-review/1026021