1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:04:42 -07:00
The Go programming language
Go to file
Robert Griesemer 1b9734b995 1) Fix a problem with tabwriter.Flush: any pending text not yet
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
2009-06-18 17:06:08 -07:00
doc raw strings may span multiple lines 2009-06-18 13:51:14 -07:00
include fix gotest by fixing nm -s to print in file order by storing a sequence number 2009-04-15 21:57:55 -07:00
lib delete dreg comment 2009-06-16 13:49:40 -07:00
misc/xcode xcode config files, self-describing 2009-05-20 16:09:34 -07:00
pkg clear out pkg tree in clean.bash. 2009-05-20 11:12:05 -07:00
src 1) Fix a problem with tabwriter.Flush: any pending text not yet 2009-06-18 17:06:08 -07:00
test do use $$ in path names, so that multiple 2009-06-17 13:21:01 -07:00
usr - install gofmt in src/cmd/gofmt 2009-06-16 12:03:32 -07:00