aboutsummaryrefslogtreecommitdiff
path: root/src/lib/bufio.go
AgeCommit message (Collapse)Author
2009-05-05directory-per-package step 1: move files from lib/X.go to lib/X/X.goRob Pike
no substantive changes except: - new Makefiles, all auto-generated - go/src/lib/Makefile has been extensively edited R=rsc OCL=28310 CL=28310
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-06make NewBufRead etc. idempotentRob Pike
R=rsc DELTA=63 (59 added, 0 deleted, 4 changed) OCL=27143 CL=27143
2009-03-07document bufioRob Pike
R=rsc DELTA=61 (27 added, 2 deleted, 32 changed) OCL=25877 CL=25889
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-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-03bufio:Russ Cox
* avoid large copies * NewBufRead, NewBufWrite never fail * add BufReadWrite io: * add io.Close http, google/net/rpc: * add, use http.Conn.Hijack R=r DELTA=416 (202 added, 123 deleted, 91 changed) OCL=24153 CL=24238
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-15casify fixup for bufioRob Pike
R=rsc DELTA=88 (0 added, 12 deleted, 76 changed) OCL=22884 CL=22890
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-10assorted cleanup and fixesRuss Cox
R=r DELTA=209 (109 added, 79 deleted, 21 changed) OCL=20930 CL=20934
2008-11-24replay CL 19916 and CL 19913 now that the build can handle themRuss Cox
TBR=r OCL=19924 CL=19934
2008-11-24Automated g4 rollback of changelist 19913.Russ Cox
*** Reason for rollback *** broke build *** Original change description *** bufio.ReadRune TBR=r OCL=19923 CL=19923
2008-11-24bufio.ReadRuneRobert Griesemer
R=rsc DELTA=32 (29 added, 0 deleted, 3 changed) OCL=19809 CL=19913
2008-10-23use &T{1,2,3} constructor for simple new casesRuss Cox
R=r OCL=17691 CL=17719
2008-10-07update code to follow new semicolon rules:Russ Cox
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-16fix / work around bugs in bufio testRuss Cox
R=r DELTA=11 (8 added, 0 deleted, 3 changed) OCL=15405 CL=15405
2008-09-12buffered input & outputRuss Cox
R=r DELTA=812 (803 added, 0 deleted, 9 changed) OCL=15225 CL=15280