summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-11-04- add a blank before the opening { for multi-line compositesRobert Griesemer1-2/+15
(request by r) - feature temporarily disabled R=rsc CC=r http://go/go-review/1018052
2009-11-04gofmt-ify osRobert Griesemer1-1/+1
R=r http://go/go-review/1017034
2009-11-04speed up 6lKen Thompson5-46/+126
hopefully no change R=rsc http://go/go-review/1017035
2009-11-04package patchRuss Cox9-7/+1074
R=r http://go/go-review/1018043
2009-11-04gofmt-ify compressRobert Griesemer3-56/+61
R=rsc http://go/go-review/1016045
2009-11-04gofmt-ify ebnfRobert Griesemer2-29/+29
R=r http://go/go-review/1018050
2009-11-04gofmt-ify bufioRobert Griesemer1-57/+59
R=rsc http://go/go-review/1018049
2009-11-04gofmt-ify asn1Robert Griesemer2-23/+23
R=rsc http://go/go-review/1018047
2009-11-04gofmt-ify src/pkg/archiveRobert Griesemer1-15/+15
R=rsc http://go/go-review/1018046
2009-11-04gofmt-ify cryptoRobert Griesemer4-17/+23
R=agl CC=rsc http://go/go-review/1017032
2009-11-04gofmt-ify src/pkg/go (excluding printer directory due to pending CL,Robert Griesemer7-237/+285
and parser.go and scanner_test.go which have minor formatting issues) R=rsc http://go/go-review/1016042
2009-11-04rename testfiles from .go -> .orig so that they won't beRobert Griesemer7-8/+8
picked up by gofmt (they should not be modified) or godoc (testdata should not be considered a potential package directory) R=rsc http://go/go-review/1018045
2009-11-04gofmt-ify bytesRobert Griesemer2-3/+4
R=r http://go/go-review/1016044
2009-11-04better placement of /*-style comments interspersed with code on one lineRobert Griesemer4-10/+33
R=rsc http://go/go-review/1017030
2009-11-04bytes.SplitAfter and strings.SplitAfterRuss Cox4-10/+98
most common usage is: lines := strings.SplitAfter(text, "\n", 0) R=r http://go/go-review/1018042
2009-11-04doc doc docRuss Cox4-1/+168
R=r http://go/go-review/1016039
2009-11-04panic can't print interfaces well so use err.String()Rob Pike2-2/+2
R=rsc http://go/go-review/1016041
2009-11-04- always format blocks with closing } on a new line, even if emptyRobert Griesemer4-54/+95
- at the moment this also affects single-line function declarations because we have disabled them at the moment (but not single-line function literals) R=rsc http://go/go-review/1016040
2009-11-04stylistic issues in a couple of cmd docsRob Pike2-2/+2
R=rsc http://go/go-review/1017028
2009-11-04document godoc and gofmtRob Pike2-0/+84
R=rsc http://go/go-review/1018036
2009-11-04remove reference to /home/rRobert Griesemer1-1/+1
R=rsc http://go/go-review/1018039
2009-11-04- complete html-escaping also in printer.goRobert Griesemer1-7/+12
R=rsc http://go/go-review/1017027
2009-11-04- respect source line breaks in grouped declarationsRobert Griesemer4-17/+120
- made ast.Spec nodes implement Node interface - added extra test cases R=rsc http://go/go-review/1016038
2009-11-04fix bufio test caseRobert Griesemer1-1/+1
R=rsc http://go/go-review/1018038
2009-11-04two more regexp tweaksRuss Cox1-2/+2
TBR=r http://go/go-review/1016037
2009-11-04allow "no such host" and also "no answer from server";Russ Cox1-1/+1
seems to help on snow leopard. TBR=r http://go/go-review/1018035
2009-11-03document gotestRob Pike1-0/+49
R=rsc CC=go-dev http://go/go-review/1017026
2009-11-03add " and ' to list of html-escaped charsRobert Griesemer1-15/+24
R=rsc http://go/go-review/1017025
2009-11-03add goyacc to the buildRob Pike2-2/+2
R=rsc CC=go-dev http://go/go-review/1018034
2009-11-03make goyacc and units.y work again (minor tweaks).Rob Pike4-5/+24
document goyacc a little. R=rsc CC=go-dev http://go/go-review/1017024
2009-11-03document gopack.Rob Pike2-39/+60
change string in usage message. R=rsc http://go/go-review/1017023
2009-11-03document ebnflintRob Pike1-0/+22
R=gri http://go/go-review/1016034
2009-11-03document the gc go compilers.Rob Pike8-1/+96
fix the usage message. R=rsc CC=go-dev http://go/go-review/1016033
2009-11-03support for command documentation:Robert Griesemer2-43/+95
- made package tree handler generic so it can work on any fs tree - cleanups along the way R=rsc CC=r http://go/go-review/1017020
2009-11-03more command documentation, including nm and profRob Pike7-3/+86
R=rsc http://go/go-review/1017022
2009-11-03encoding/*: reverse the order of src, dst so that dst is first.Adam Langley10-39/+39
R=rsc CC=go-dev http://go/go-review/1017021
2009-11-03crypto/tls (part 2)Adam Langley5-0/+610
R=rsc CC=go-dev http://go/go-review/1018028
2009-11-03crypto/rsa: fix blinding when using a null random source.Adam Langley1-0/+4
For testing it can be useful to use a null random source (one which always returns zero) to remove non-determinism from the tests. However, when performing RSA blinding, the random blind ends up being zero and it's hard to reverse a multiplication by zero. R=rsc CC=go-dev http://go/go-review/1018033
2009-11-03document the assemblers.Rob Pike5-0/+53
add details about -d and -e flags in the loaders. R=rsc CC=go-dev http://go/go-review/1018031
2009-11-03First steps at command documentation: C compilers and linkers.Rob Pike6-0/+132
Each command gets a doc.go file for godoc to analyze. Its main element is a package comment. R=rsc CC=go-dev http://go/go-review/1018029
2009-11-036l -e: emit external ELF symbol table.Russ Cox4-16/+140
enough to make nm and oprofile work. R=r http://go/go-review/1017016
2009-11-03Note: This is an exact replica and replacement of CL 1018027Robert Griesemer1-0/+18
(which I uploaded at home and thus can't upload from here). CL 1018027 was reviewed. - added comments to scope.go - commented out some code that is not yet needed (and which showed up prominently in the documentation) R=rsc http://go/go-review/1017017
2009-11-03- don't loose extra line breaks in struct/interface declarationsRobert Griesemer4-11/+121
- start new sections if a field/method declaration spans multiple lines; this avoids tabs from the previous line affecting the next field/method R=rsc http://go/go-review/1017015
2009-11-03Add testing/script.Adam Langley5-5/+484
R=rsc, r CC=go-dev http://go/go-review/1016001
2009-11-03use default styler when there is no other givenRobert Griesemer1-2/+6
(No visual change yet since the comments for exported code snippets - as shown on the pkg page - are not yet formatted using the standard comment intersperse mechanism in the printer. This is a TODO in the printer.) R=rsc http://go/go-review/1016031
2009-11-02fix buildRob Pike1-1/+1
R=gri http://go/go-review/1017014
2009-11-02- show recursive package directory structure in package pagesRobert Griesemer2-85/+106
- removed some underbars in section headings for better looks - various minor tweaks R=rsc http://go/go-review/1018026
2009-11-02split printer.go into two files; it has become too large:Robert Griesemer3-1070/+1085
- nodes.go implements ast node formatting - printer.go implements the core printing functionality and public interface No code changes except for updating the import clauses and adding a top-level comment to nodes.go. R=rsc http://go/go-review/1016026
2009-11-02forgot to count newlines when scanning white space.Rob Pike2-3/+4
also fix a error-printing bug in godoc. R=gri http://go/go-review/1016030
2009-11-02package net cleanupRuss Cox17-502/+1254
added ReadFrom/WriteTo for packet protocols like UDP. simplified the net.Conn interface. added new net.PacketConn interface for packet protocols. implemented proper UDP listener. cleaned up LocalAddr/RemoteAddr methods - cache in netFD. threw away various unused methods. an interface change: introduced net.Addr as a network address interface, to avoid conversion of UDP host:port to string and back for every ReadFrom/WriteTo sequence. another interface change: since signature of Listener.Accept was changing anyway, dropped the middle return value, because it is available as c.RemoteAddr(). (the Accept signature predates the existence of that method.) Dial and Listen still accept strings, but the proto-specific versions DialTCP, ListenUDP, etc. take net.Addr instead. because the generic Dial didn't change and because no one calls Accept directly (only indirectly via the http server), very little code will be affected by these interface changes. design comments welcome. R=p CC=go-dev, r http://go/go-review/1018017