1. 19 Jun, 2009 5 commits
    • Russ Cox's avatar
      test non-trivial conversions and assignments, · 81be9155
      Russ Cox authored
      named and unnamed.
      
      R=r
      DELTA=21  (21 added, 0 deleted, 0 changed)
      OCL=30518
      CL=30533
      81be9155
    • Robert Griesemer's avatar
      fix for conversion rule · e2cb60b3
      Robert Griesemer authored
      R=rsc
      DELTA=25  (10 added, 7 deleted, 8 changed)
      OCL=30516
      CL=30531
      e2cb60b3
    • Steve Newman's avatar
      Add a ReplaceAll method to Regexp. · a6c7a80b
      Steve Newman authored
      APPROVED=r,rsc
      DELTA=189  (187 added, 0 deleted, 2 changed)
      OCL=30205
      CL=30517
      a6c7a80b
    • Robert Griesemer's avatar
      1) Fix a problem with tabwriter.Flush: any pending text not yet · 1b9734b9
      Robert Griesemer authored
         in a cell makes a final cell in that line
         (this showed up as occasionally missing single spaces in
         godoc-formatted declarations that fit on a single line)
      
      2) Cleaned up tabwriter implementation a bit:
         - replaced local unicodeLen() with utf8.RuneCount()
         - instead of having 2 parallel arrays for line widths and sizes,
           have a single array of cells containing a width and size
         - factored code a bit better
         - added more comments
         - added testnames to tabwriter tests
         - added more test cases and fixed a broken test case that
           now works correctly
      
      R=r
      DELTA=279  (133 added, 62 deleted, 84 changed)
      OCL=30509
      CL=30514
      1b9734b9
    • Robert Griesemer's avatar
      `` strings may span multiple lines · 5eb5d4d3
      Robert Griesemer authored
      R=rsc
      DELTA=3  (2 added, 0 deleted, 1 changed)
      OCL=30511
      CL=30513
      5eb5d4d3
  2. 18 Jun, 2009 6 commits
  3. 17 Jun, 2009 9 commits
  4. 16 Jun, 2009 16 commits
  5. 15 Jun, 2009 3 commits
    • Robert Griesemer's avatar
      gofmt (final resting place TBD): · a893db87
      Robert Griesemer authored
      - replacement for pretty; app to format a single .go file
      
      printer.go (pkg/go/printer):
      - replacement for astprinter.go; implements AST printing
      - also replaces pkg/go/ast/format.go for now
      
      cleanups:
      - removed/saved away old code
      
      R=r,rsc,iant
      DELTA=2833  (1183 added, 1628 deleted, 22 changed)
      OCL=30226
      CL=30306
      a893db87
    • Robert Griesemer's avatar
      fixed typo (slipped in with previous submit) · c2faeac8
      Robert Griesemer authored
      TBR=rsc
      OCL=30300
      CL=30300
      c2faeac8
    • Robert Griesemer's avatar
      Support for line comments trailing a field or declaration: · 4a50434a
      Robert Griesemer authored
      - ast: added extra fields
      - parser: extended comment parsing to capture potential trailing comments
      
      Cleanups:
      - parser: more documentation, changed various identifiers from _-style to camelCase
      
      R=r,rsc
      DELTA=214  (84 added, 13 deleted, 117 changed)
      OCL=30259
      CL=30299
      4a50434a
  6. 12 Jun, 2009 1 commit