aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tabwriter
AgeCommit message (Collapse)Author
2009-06-09mv src/lib to src/pkgRob Pike
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-05rebuilt Makefiles for CL 29923Russ Cox
R=r DELTA=761 (1 added, 433 deleted, 327 changed) OCL=29927 CL=29966
2009-06-04- interpret form feed char as newline + flushRobert Griesemer
- cleanups: - replaced internal byte buffer implementation with io.ByteBuffer (now that we have one) - removed all uses of goto statements in favor of structured code - converted tests into a table-driven test R=r DELTA=277 (48 added, 67 deleted, 162 changed) OCL=29890 CL=29901
2009-06-04use the new bytes packageRob Pike
R=rsc DELTA=61 (8 added, 31 deleted, 22 changed) OCL=29897 CL=29899
2009-05-08Name change to improve embeddability:Rob Pike
io.Read->io.Reader io.Write,Close,etc.->io.Writer,Closer etc. R=rsc DELTA=190 (0 added, 0 deleted, 190 changed) OCL=28525 CL=28535
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-04-16Convert go tree to hierarchical pkg directory:Russ Cox
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
2009-04-16regenerate Makefiles.Russ Cox
fix bug in RPC.go (import "RPC" not "rpc.pb") R=r DELTA=483 (261 added, 64 deleted, 158 changed) OCL=27547 CL=27549
2009-04-15code changes for array conversion.Russ Cox
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
2009-03-11- scanner to track line/col number instead of byte position onlyRobert Griesemer
- fixed a parameter name in tabwriter R=rsc DELTA=110 (21 added, 17 deleted, 72 changed) OCL=26123 CL=26127
2009-03-10- fixing (internal) capitalizationRobert Griesemer
R=rsc DELTA=7 (0 added, 0 deleted, 7 changed) OCL=26080 CL=26080
2009-03-10- incorporate suggestions from previous code reviewRobert Griesemer
R=rsc DELTA=64 (18 added, 3 deleted, 43 changed) OCL=26046 CL=26058
2009-03-10tabwriter documentationRobert Griesemer
R=rsc DELTA=62 (31 added, 5 deleted, 26 changed) OCL=26022 CL=26040
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-13- vector package (identical to array except for names)Robert Griesemer
- updated some file (but not all - left array package in place for now) R=rsc DELTA=530 (483 added, 0 deleted, 47 changed) OCL=25025 CL=25025
2009-02-13convert composite literals from { } to ( ).Russ Cox
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-10- removed obsolete commentsRobert Griesemer
R=r DELTA=2 (0 added, 1 deleted, 1 changed) OCL=24755 CL=24760
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-15- converted tabwriter to new naming schemeRobert Griesemer
R=r OCL=22870 CL=22870
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox
R=r OCL=21563 CL=21571
2008-12-09- fixed bug with unicode text formatting: the number of bytesRobert Griesemer
per rune cannot be computed correctly if we have only parts of a rune - delay computation - added html filtering mode: html tags and entities are ignored for width computations - expanded tests: - extra tests for html text - extra tests that write text in various portions R=r DELTA=227 (126 added, 20 deleted, 81 changed) OCL=20833 CL=20835
2008-12-05- handle UTF-8 text in tabwriterRobert Griesemer
R=r DELTA=84 (27 added, 3 deleted, 54 changed) OCL=20539 CL=20584
2008-11-25- fixed a problem with flushingRobert Griesemer
- added extra tests R=r DELTA=164 (107 added, 20 deleted, 37 changed) OCL=20002 CL=20004
2008-11-21- implemented arbitrary padding char for tabwriterRobert Griesemer
- implemented right-to-left alignment (numerical results) - better comments and error handling - added more tests - updated dependent files R=r DELTA=232 (175 added, 11 deleted, 46 changed) OCL=19761 CL=19780
2008-11-20- move tabwriter into libraryRobert Griesemer
- added preliminary tests (more to do) - renamed type from TabWriter -> Writer - adjusted my code where necessary R=r DELTA=825 (474 added, 346 deleted, 5 changed) OCL=19744 CL=19753