summaryrefslogtreecommitdiff
path: root/src/pkg/compress
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi38-16089/+0
2014-08-13Imported Upstream version 1.3.1upstream/1.3.1Michael Stapelberg2-2/+4
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg18-29/+113
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg22-143/+850
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg8-11/+63
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg19-273/+668
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý2-0/+64
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý29-669/+9533
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý33-0/+5921
2011-09-13Imported Upstream version 60Ondřej Surý33-5922/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý3-6/+6
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý12-569/+612
2011-05-04Imported Upstream version 57upstream/57Ondřej Surý1-5/+24
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý11-51/+242
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý3-9/+49
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý15-135/+1718
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-3/+10
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý9-71/+284
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox4-4/+4
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-05-07compress: renamings.Rob Pike13-154/+154
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev http://codereview.appspot.com/1166041
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer2-9/+9
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-03-02strings.Bytes -> []byte for documentation example, src/pkg/* comments, and ↵Andrey Mirtchovski1-1/+1
htmlgen.go R=rsc, adg CC=golang-dev http://codereview.appspot.com/224087 Committer: Andrew Gerrand <adg@golang.org>
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 Tao6-25/+285
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
2010-01-19compress/zlib: add example to doc commentRuss Cox1-2/+19
Fixes issue 548. R=r CC=golang-dev, graycardinalster http://codereview.appspot.com/190062
2009-12-15 1) Change default gofmt default settings forRobert Griesemer14-914/+914
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-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike2-4/+5
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev http://codereview.appspot.com/163085
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia3-6/+6
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-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox2-2/+2
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-18remove bytes.CopyRob Pike1-3/+2
replace all calls with calls to copy use copy in regexp and bytes.Buffer R=rsc CC=golang-dev http://codereview.appspot.com/157073
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer10-107/+107
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 Griesemer15-196/+196
R=rsc, r http://go/go-review/1025029
2009-11-08assorted cleanupRuss Cox1-1/+0
R=r, iant CC=go-dev http://go/go-review/1025024
2009-11-06Typo fixes.David Symonds1-1/+1
R=rsc CC=go-dev http://go/go-review/1026014 Committer: Russ Cox <rsc@golang.org>
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer4-33/+11
- 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-04gofmt-ify compressRobert Griesemer3-56/+61
R=rsc http://go/go-review/1016045
2009-11-01reverse the arguments to io.Copy so the destination is on theRob Pike2-2/+2
left, like an assignment, like strcpy, etc. R=rsc CC=go-dev http://go/go-review/1016011
2009-10-08more lgtm files from gofmtRuss Cox10-355/+350
R=gri OCL=35485 CL=35488
2009-10-06another round of gofmt applicationsRuss Cox10-173/+154
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
2009-10-01Change deflate.go's default compression level from 4 to 6.Nigel Tao1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35208 CL=35261
2009-09-30clean up error output;Russ Cox1-13/+11
do not print entire buffer on error, since it can be very large. instead print identifying string. R=krasin DELTA=14 (1 added, 3 deleted, 10 changed) OCL=35141 CL=35143
2009-09-29ZLIB deflater.Nigel Tao6-3/+222
R=rsc APPROVED=rsc DELTA=222 (219 added, 0 deleted, 3 changed) OCL=35031 CL=35129
2009-09-29Deflate encoderIvan Krasin9-36/+1835
APPROVED=rsc OCL=34514 CL=35093
2009-09-17use buf.String() instead of string(buf.Bytes())Rob Pike2-2/+2
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 Cox2-5/+0
R=r OCL=34731 CL=34731
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike2-2/+2
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701