summaryrefslogtreecommitdiff
path: root/usr/gri/pretty/untab.go
AgeCommit message (Collapse)AuthorFilesLines
2009-06-15gofmt (final resting place TBD):Robert Griesemer1-58/+0
- 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
2009-05-08move things out of sys into os and runtimeRuss Cox1-1/+1
R=r OCL=28569 CL=28573
2009-04-16Convert go tree to hierarchical pkg directory:Russ Cox1-2/+2
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-03-11Rename os.FD to os.File.Russ Cox1-1/+1
Make Fstat, Readdirnames, and Readdir methods on os.File. R=r DELTA=281 (79 added, 3 deleted, 199 changed) OCL=25891 CL=26130
2009-03-10- adjustments due to changed tabwriter interfaceRobert Griesemer1-1/+1
- more comments in parser R=r OCL=26060 CL=26060
2009-01-16casify, cleanup sysRuss Cox1-1/+1
R=r OCL=22978 CL=22984
2009-01-15- fixed untab.go to compile againRobert Griesemer1-7/+7
R=r OCL=22871 CL=22871
2009-01-09simplify flag interface. no more BVal etc. you just get a pointer.Rob Pike1-4/+4
fixed everything except the tutorial. R=rsc DELTA=404 (94 added, 139 deleted, 171 changed) OCL=22414 CL=22422
2008-12-09- snapshot if current stateRobert Griesemer1-1/+1
- fix pretty printer to work with new tabwriter interface R=r OCL=20854 CL=20854
2008-11-21- implemented arbitrary padding char for tabwriterRobert Griesemer1-1/+5
- 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 Griesemer1-1/+1
- 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
2008-11-20- correct error handling throughoutRobert Griesemer1-2/+2
- documentation, cleanups - more options R=r OCL=19736 CL=19736
2008-11-19- array-ify code, remove local implementationRobert Griesemer1-18/+18
R=r OCL=19648 CL=19651
2008-11-18- support for alignment via tabs instead of blanksRobert Griesemer1-1/+2
- exclude a test due to syntax errors R=r OCL=19563 CL=19565
2008-11-18- untab app (snapshot - not quite complete)Robert Griesemer1-0/+53
R=r OCL=19558 CL=19558