summaryrefslogtreecommitdiff
path: root/src/pkg/time
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12convert low-level (used by testing) packages toRuss Cox5-76/+11
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-08-10remove unnecessary pkg. referencesRuss Cox2-6/+6
R=r DELTA=95 (0 added, 0 deleted, 95 changed) OCL=33012 CL=33012
2009-08-04get function calls out of the way beforeRuss Cox1-4/+4
allocating registers in shift and div. fix behavior when res == a reserved register. R=ken OCL=32765 CL=32767
2009-06-26Getenv: almost no one wants the error, so make it return a string that may ↵Rob Pike1-1/+1
be empty. Getenverror is the new name for the old routine that returns an error too. R=rsc DELTA=35 (7 added, 7 deleted, 21 changed) OCL=30818 CL=30821
2009-06-25Change os.Error convention:Russ Cox3-47/+23
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-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox1-20/+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 Pike7-0/+927
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102