summaryrefslogtreecommitdiff
path: root/src/pkg/strconv
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12convert low-level (used by testing) packages toRuss Cox13-181/+110
whole-package compilation. new Makefiles, tests now in separate package bytes flag fmt io math once os reflect strconv sync time utf8 delete import "xxx" in package xxx. inside package xxx, xxx is not declared anymore so s/xxx.//g delete file and package level forward declarations. note the new internal_test.go and sync and strconv to provide public access to internals during testing. the installed version of the package omits that file and thus does not open the internals to all clients. R=r OCL=33065 CL=33097
2009-07-02add Uitoa etc.Russ Cox2-24/+104
R=r DELTA=113 (89 added, 9 deleted, 15 changed) OCL=31087 CL=31096
2009-07-02fix atoi testRuss Cox2-17/+22
R=r DELTA=28 (5 added, 0 deleted, 23 changed) OCL=31093 CL=31093
2009-06-25Change os.Error convention:Russ Cox5-51/+124
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-24style police: parens in if, for, switch, rangeRuss Cox1-1/+1
R=r DELTA=32 (0 added, 3 deleted, 29 changed) OCL=30718 CL=30725
2009-06-24Change strings.Split, bytes.Split to take a maximum substring count argument.David Symonds1-3/+3
R=rsc APPROVED=r DELTA=131 (39 added, 10 deleted, 82 changed) OCL=30669 CL=30723
2009-06-23publish strconv.UnquoteCharRuss Cox2-27/+61
R=r DELTA=69 (37 added, 3 deleted, 29 changed) OCL=30661 CL=30667
2009-06-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox1-1/+1
remove io.ErrEOF. rename io.FullRead to io.ReadFull, to match ReadAtLeast and ReadAll. remove io.FullReader, because it is now unused. R=r DELTA=295 (88 added, 105 deleted, 102 changed) OCL=30544 CL=30588
2009-06-09mv src/lib to src/pkgRob Pike15-0/+2875
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102