summaryrefslogtreecommitdiff
path: root/src/pkg/go
AgeCommit message (Expand)AuthorFilesLines
2009-11-23gofmt -r: documentation and minor fixesRuss Cox1-13/+23
2009-11-20gofmt: add -r flag to rewrite source code according to patternRuss Cox1-3/+13
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox4-12/+12
2009-11-19Permit omission of hi bound in slices.Robert Griesemer7-16/+57
2009-11-09- minor cleanupsRobert Griesemer2-20/+19
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer16-216/+515
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer21-626/+626
2009-11-09- rename Context to exprContext to remove it from public interfaceRobert Griesemer1-4/+4
2009-11-09fix for nodeSize computation, used to determine ifRobert Griesemer1-1/+5
2009-11-08a nagging inconsistency: capitalization ofRuss Cox1-11/+11
2009-11-08assorted cleanupRuss Cox2-30/+12
2009-11-08added package documentationRobert Griesemer1-0/+1
2009-11-07- blank before opening { for multi-line composite literals (as preferred by r)Robert Griesemer1-14/+37
2009-11-06format composite literal types that are "short" struct type literalsRobert Griesemer4-21/+123
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer13-273/+153
2009-11-05gofmt the last outstanding files in src/pkgRobert Griesemer3-227/+255
2009-11-05fix a comment formatting bug:Robert Griesemer3-2/+22
2009-11-05gofmt'ed parts of goRobert Griesemer3-127/+137
2009-11-052nd attempt: no noIndent for string listsRobert Griesemer5-20/+133
2009-11-04more comment formatting:Robert Griesemer3-24/+160
2009-11-04- add a blank before the opening { for multi-line compositesRobert Griesemer1-2/+15
2009-11-04gofmt-ify src/pkg/go (excluding printer directory due to pending CL,Robert Griesemer7-237/+285
2009-11-04rename testfiles from .go -> .orig so that they won't beRobert Griesemer7-8/+8
2009-11-04better placement of /*-style comments interspersed with code on one lineRobert Griesemer4-10/+33
2009-11-04- always format blocks with closing } on a new line, even if emptyRobert Griesemer4-54/+95
2009-11-04- complete html-escaping also in printer.goRobert Griesemer1-7/+12
2009-11-04- respect source line breaks in grouped declarationsRobert Griesemer4-17/+120
2009-11-03Note: This is an exact replica and replacement of CL 1018027Robert Griesemer1-0/+18
2009-11-03- don't loose extra line breaks in struct/interface declarationsRobert Griesemer4-11/+121
2009-11-02split printer.go into two files; it has become too large:Robert Griesemer3-1070/+1085
2009-11-02use the new routine regexp.MustCompile to clean up some code that uses global...Rob Pike1-15/+2
2009-11-02- collect line comments for methods in interfacesRobert Griesemer2-12/+11
2009-11-01reverse the arguments to io.Copy so the destination is on theRob Pike1-1/+1
2009-10-30improved comment formatting:Robert Griesemer8-168/+637
2009-10-28fix for long label names impacting column width of previous linesRobert Griesemer3-1/+40
2009-10-27files that are okay from the last gofmt roundRuss Cox1-4/+4
2009-10-26- gofmt-ify walk.goRobert Griesemer1-44/+67
2009-10-22Fix printer_test.go to invoke Fprint as a method of cfg.Ian Lance Taylor1-1/+1
2009-10-22- make printer interface easily extensible w/o breaking clients (in the future)Robert Griesemer2-64/+73
2009-10-22minor changes to walkRobert Griesemer1-59/+52
2009-10-22simple AST walking supportRobert Griesemer2-0/+310
2009-10-22go/printer:Robert Griesemer2-57/+83
2009-10-19support one-line functionsRobert Griesemer6-43/+161
2009-10-15improved handling of expression listsRobert Griesemer7-70/+179
2009-10-15close file after useRobert Griesemer1-0/+1
2009-10-15- bug fix: must not insert indentation tabs into multi-line strings in RawFormatRobert Griesemer3-29/+221
2009-10-15bug fix: do not modify (string) literals in any way even if theyRobert Griesemer3-38/+45
2009-10-15Work-around for factory function heuristic failure:Robert Griesemer1-9/+27
2009-10-13reduce stutter: sort.SortInterface -> sort.Interface.Rob Pike1-1/+1
2009-10-12bug fix: convert \v's into \t's if there's no tabwriterRobert Griesemer1-3/+13