summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
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 Cox13-97/+97
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 Cox7-41/+14
R=r, iant CC=go-dev http://go/go-review/1025024
2009-11-08delete TODO now that compiler is better at %Rob Pike1-1/+1
adjust an inconsistency in reflect/type.go's package comment R=rsc http://go/go-review/1026029
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-08add top-level package comments for net, reflect, malloc.Rob Pike3-0/+17
reflect is a little more detailed than some because it affords an opportunity to explain how to approach the library. R=gri, rsc CC=go-dev http://go/go-review/1026026
2009-11-08added package documentationRobert Griesemer1-0/+1
R=r, rsc http://go/go-review/1025023
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
2009-11-07- avoid division-by-zero crash in tabwriterRobert Griesemer3-6/+14
- correct tabwidth argument for some tabwriter test cases - catch negative tabwidth flag in gofmt w/o crashing R=rsc http://go/go-review/1026022
2009-11-07- added link to sourcesRobert Griesemer1-5/+5
- renamed listing.html -> dirList.html (there is a dirs.html already, it should probably have a better name, too) R=rsc http://go/go-review/1025020
2009-11-07nice directory listingsRobert Griesemer1-9/+46
R=rsc http://go/go-review/1026020
2009-11-07Add flags of type float to the flag package.Vish Subramanian2-2/+71
R=r, rsc http://go/go-review/1026011 Committer: Rob Pike <r@golang.org>
2009-11-07- support to extract one-line package synopsis for package listingsRobert Griesemer1-2/+25
- formatting in dirs.html is crude, needs better html (open to suggestions), but shows the synopsis - many package comments should probably be adjusted such that the first sentence is more concise R=rsc, iant http://go/go-review/1025014
2009-11-07- blank before opening { for multi-line composite literals (as preferred by r)Robert Griesemer1-14/+37
- blank padding around composite literal contents for a less dense look (most if not all composite literals were written in that style before gofmt ran through them) - corresponding (internal) flag: compositeLitBlank - don't print a semi after a one-statement statement list (as preferred by r) - corresponding (internal flag): fewerSemis - the number of changes in nodes.go is huge because of the removed semis; hg mail requires that I gofmt the file before With both flags set to false, this CL causes no gofmt formatting change. We can turn them on if we like it (and then remove the flags). Will submit with flags disabled. R=rsc, r http://go/go-review/1025015
2009-11-06Typo fixes.David Symonds6-6/+6
R=rsc CC=go-dev http://go/go-review/1026014 Committer: Russ Cox <rsc@golang.org>
2009-11-068g optimizerKen Thompson9-14/+2499
R=rsc http://go/go-review/1025011
2009-11-06format composite literal types that are "short" struct type literalsRobert Griesemer4-21/+123
on one line for a more compact representation of some composite Literals R=rsc http://go/go-review/1025008
2009-11-06- application of gofmt with one-line composite literal structs enabledRobert Griesemer3-180/+46
- this CL is dependent on CL 1025008 R=r, rsc http://go/go-review/1025009
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer213-3670/+1297
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-06updated godoc documentationRobert Griesemer1-3/+17
R=r http://go/go-review/1026007
2009-11-06fix argument order bug for floatKai Backman1-2/+1
R=rsc http://go/go-review/1025006
2009-11-06with rsc: argsize rounding to 8 smashes stack data on 32bit machines.Kai Backman1-1/+5
R=rsc http://go/go-review/1024011
2009-11-06big: fix carry error, add test case.Adam Langley4-17/+31
crypto/x509: reenable tests. R=gri CC=go-dev http://go/go-review/1026004
2009-11-06minor fixups by gofmtRobert Griesemer2-3/+2
R=agl http://go/go-review/1024009
2009-11-06crypto/x509: build fix for 32-bitAdam Langley1-0/+14
TBR=rsc R=rsc CC=go-dev http://go/go-review/1024007
2009-11-06Fix add-back division test so that it triggers the add-back case onAdam Langley1-10/+13
both 64 and 32 bit platforms. Also, uncomment some tests that were still commented out from debugging. R=gri, rsc CC=go-dev http://go/go-review/1026003