summaryrefslogtreecommitdiff
path: root/src/pkg/go/printer/printer.go
AgeCommit message (Expand)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-86/+155
2010-06-08go/printer: deleted dead codeRobert Griesemer1-2/+2
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox1-1/+1
2010-05-14go/printer (gofmt): don't lose mandatory semicolonsRobert Griesemer1-1/+3
2010-03-30go/printer: follow-up on CL 802043Robert Griesemer1-5/+5
2010-03-30single argument panicRuss Cox1-2/+2
2010-03-29go/printer: fix a commentRobert Griesemer1-1/+1
2010-03-25godoc: don't convert multi-line functions into one-liners by defaultRobert Griesemer1-18/+18
2010-03-23fix build - unused importRuss Cox1-1/+0
2010-03-23go/printer: avoid reflect in printRuss Cox1-7/+5
2010-03-23ast/printer: support for printing ast.Spec nodesAndrew Gerrand1-0/+3
2010-03-16gofmt: more consistent formatting of const/var declsRobert Griesemer1-3/+3
2010-03-12gofmt: make sure there is a newline afterRobert Griesemer1-17/+24
2010-03-12go/printer: fix a couple of hidden crashes that becomeRobert Griesemer1-0/+5
2010-03-11godoc: fix formatting of -src outputRobert Griesemer1-3/+23
2010-02-25go/printer, gofmt: align comments in multi-line expression listsRobert Griesemer1-5/+5
2010-02-25strings: delete Runes, BytesRuss Cox1-12/+11
2010-02-25go/printer, gofmt: correct indentation after certain /*-style commentsRobert Griesemer1-26/+33
2010-02-24go/printer: use general comment intersperse mechanism everywhereRobert Griesemer1-11/+11
2010-02-19go/ast: use a slice instead of a linked list for the list of commentsRobert Griesemer1-6/+7
2010-02-17gofmt: make sure certain 2-line comments are stableRobert Griesemer1-10/+21
2010-02-02Change type of Printf's args to ... interface{}Rob Pike1-1/+1
2010-01-15 Steps towards tracking scopes for identifiers.Robert Griesemer1-1/+1
2010-01-11Remove -oldprinter flag from gofmt; all code isRobert Griesemer1-1/+0
2010-01-11Partial work-around for gofmt bug.Robert Griesemer1-1/+1
2009-12-151) Change default gofmt default settings forRobert Griesemer1-236/+236
2009-12-11Various cleanups:Robert Griesemer1-1/+0
2009-12-10implement NoSemis and NoStringConcat mode for go/printerRobert Griesemer1-0/+2
2009-12-02Add flag -tabindent to gofmt: forces use ofRobert Griesemer1-2/+11
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-4/+4
2009-11-09- minor cleanupsRobert Griesemer1-4/+10
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer1-14/+14
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-70/+70
2009-11-08a nagging inconsistency: capitalization ofRuss Cox1-11/+11
2009-11-05fix a comment formatting bug:Robert Griesemer1-2/+16
2009-11-05gofmt'ed parts of goRobert Griesemer1-75/+80
2009-11-04more comment formatting:Robert Griesemer1-19/+37
2009-11-04better placement of /*-style comments interspersed with code on one lineRobert Griesemer1-9/+22
2009-11-04- complete html-escaping also in printer.goRobert Griesemer1-7/+12
2009-11-02split printer.go into two files; it has become too large:Robert Griesemer1-1070/+1
2009-10-30improved comment formatting:Robert Griesemer1-157/+364
2009-10-28fix for long label names impacting column width of previous linesRobert Griesemer1-1/+6
2009-10-22- make printer interface easily extensible w/o breaking clients (in the future)Robert Griesemer1-60/+69
2009-10-22go/printer:Robert Griesemer1-56/+82
2009-10-19support one-line functionsRobert Griesemer1-43/+97
2009-10-15improved handling of expression listsRobert Griesemer1-46/+64
2009-10-15- bug fix: must not insert indentation tabs into multi-line strings in RawFormatRobert Griesemer1-16/+13
2009-10-15bug fix: do not modify (string) literals in any way even if theyRobert Griesemer1-30/+33
2009-10-12bug fix: convert \v's into \t's if there's no tabwriterRobert Griesemer1-3/+13
2009-10-12- improved comment intersperse heuristic:Robert Griesemer1-171/+323