summaryrefslogtreecommitdiff
path: root/src/pkg/compress/gzip
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi5-1127/+0
2014-08-13Imported Upstream version 1.3.1upstream/1.3.1Michael Stapelberg1-1/+2
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg4-6/+55
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg4-17/+112
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg3-2/+63
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý5-157/+260
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý5-0/+818
2011-09-13Imported Upstream version 60Ondřej Surý5-818/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-2/+2
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-1/+1
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-2/+2
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý2-10/+10
2010-05-07compress: renamings.Rob Pike4-81/+81
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev http://codereview.appspot.com/1166041
2010-02-25strings: delete Runes, BytesRuss Cox1-3/+2
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-01-30Check gzip strings for NUL elements, since they are NUL-terminatedNigel Tao2-4/+4
on the wire. R=rsc CC=golang-dev http://codereview.appspot.com/194146
2010-01-30Add a GZIP test for the empty payload.Nigel Tao1-37/+57
R=rsc, r CC=golang-dev http://codereview.appspot.com/194131
2010-01-29gzip deflater (i.e., writer).Nigel Tao5-24/+284
Also, the unused Inflater.eof field was removed. It has been unused since revision aaa0b24538. "introduce os.EOF and io.ErrUnexpectedEOF. remove io.ErrEOF." http://code.google.com/p/go/source/diff?spec=svnaaa0b24538ed1e3e54cbbfdd030a3c35785e74c5&r=aaa0b24538ed1e3e54cbbfdd030a3c35785e74c5&format=side&path=/src/pkg/compress/gzip/gunzip.go R=rsc CC=golang-dev http://codereview.appspot.com/194122
2009-12-15 1) Change default gofmt default settings forRobert Griesemer2-98/+98
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r http://codereview.appspot.com/180047
2009-12-09remove uses of string concatenation from src and misc directoryRobert Griesemer1-29/+29
R=rsc http://codereview.appspot.com/172041
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer1-9/+9
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer2-22/+22
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-3/+1
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05gofmt'ed more stragglersRobert Griesemer1-29/+29
(now down to a handfull of files in pkg) R=rsc http://go/go-review/1019006
2009-11-01reverse the arguments to io.Copy so the destination is on theRob Pike1-1/+1
left, like an assignment, like strcpy, etc. R=rsc CC=go-dev http://go/go-review/1016011
2009-10-08more lgtm files from gofmtRuss Cox2-31/+30
R=gri OCL=35485 CL=35488
2009-10-06another round of gofmt applicationsRuss Cox1-28/+25
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
2009-09-17use buf.String() instead of string(buf.Bytes())Rob Pike1-1/+1
use strings.Buffer instead of bytes.Buffer in some places R=rsc DELTA=40 (0 added, 3 deleted, 37 changed) OCL=34770 CL=34775
2009-09-17unused importsRuss Cox1-1/+0
R=r OCL=34731 CL=34731
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike1-1/+1
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701
2009-09-15more "declared and not used".Russ Cox2-2/+2
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-2/+1
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-09-10PNG decoder for go.Nigel Tao2-1/+8
R=rsc APPROVED=r DELTA=694 (675 added, 3 deleted, 16 changed) OCL=34427 CL=34554
2009-08-20Fix inflate.go's decompressing of a fixed Huffman block that hasNigel Tao1-1/+17
length-distance pairs. The new test data was generated by "gzip shesells.txt", which is presumably what you (rsc) did before, for the other test cases in gunzip_test.go. R=rsc APPROVED=rsc DELTA=21 (17 added, 2 deleted, 2 changed) OCL=33582 CL=33616
2009-08-20naming cleanup.Russ Cox2-17/+17
gzip.GzipInflater -> gzip.Inflater gzip.NewGzipInflater -> gzip.NewInflater zlib.NewZlibInflater -> zlib.NewInflater io.ByteReader deleted in favor of bytes.Buffer io.NewByteReader -> bytes.NewBuffer R=r DELTA=52 (3 added, 0 deleted, 49 changed) OCL=33589 CL=33592
2009-08-17ZLIB reader for go.Nigel Tao1-0/+1
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 Cox3-56/+4
to whole-package compilation. R=r OCL=33070 CL=33101
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-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox2-20/+30
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 Pike3-0/+564
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102