summaryrefslogtreecommitdiff
path: root/src/pkg/compress
AgeCommit message (Collapse)AuthorFilesLines
2009-08-17ZLIB reader for go.Nigel Tao4-0/+201
R=rsc APPROVED=rsc DELTA=204 (204 added, 0 deleted, 0 changed) OCL=33437 CL=33440
2009-08-12convert non-low-level non-google pkg codeRuss Cox6-118/+9
to whole-package compilation. R=r OCL=33070 CL=33101
2009-07-27Fixed a small bug with compress/flate/Inflater. It incorrectly checkedIvan Krasin2-1/+15
the size of chunk with uncompressed data (00 is terms of DEFLATE). APPROVED=rsc DELTA=15 (14 added, 0 deleted, 1 changed) OCL=32105 CL=32238
2009-06-29io.StringBytes -> strings.BytesRuss Cox1-1/+2
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-25Change os.Error convention:Russ Cox1-18/+13
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 Cox3-28/+32
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 Pike6-0/+1428
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102