summaryrefslogtreecommitdiff
path: root/src/pkg/io/io.go
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-0/+1
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-12/+16
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-0/+12
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-44/+37
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-53/+97
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+439
2011-09-13Imported Upstream version 60Ondřej Surý1-439/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-19/+48
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-11/+39
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-1/+1
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-10/+14
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-2/+11
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-7/+18
2010-02-25strings: delete Runes, BytesRuss Cox1-5/+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-07add a standard interface that wraps ReadByte, io.ReadByterRob Pike1-0/+8
R=rsc CC=golang-dev http://codereview.appspot.com/181163
2009-12-151) Change default gofmt default settings forRobert Griesemer1-70/+70
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 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-12-03Add ReadFrom and WriteTo methods to bytes.Buffer, to enable i/o without ↵Rob Pike1-0/+32
buffer allocation. Use them in Copy and Copyn. Speed up ReadFile by using ReadFrom and avoiding Copy altogether (a minor win). R=rsc, gri CC=golang-dev http://codereview.appspot.com/166041
2009-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike1-2/+1
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev http://codereview.appspot.com/163085
2009-11-23io.ReadWriter: fix doc comment (ReadWrite -> ReadWriter)Russ Cox1-1/+1
R=r CC=eds http://codereview.appspot.com/160045
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-1/+1
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-4/+4
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-20/+20
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-6/+2
- 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-01reverse the arguments to io.Copy so the destination is on theRob Pike1-2/+2
left, like an assignment, like strcpy, etc. R=rsc CC=go-dev http://go/go-review/1016011
2009-10-06apply gofmt to go, gob, hash, http, image, io, json, logRuss Cox1-24/+24
R=gri DELTA=1359 (138 added, 32 deleted, 1189 changed) OCL=35408 CL=35420
2009-09-17unused importsRuss Cox1-1/+0
R=r OCL=34731 CL=34731
2009-09-01import debug/gosym from usr/austin/symRuss Cox1-0/+4
R=austin DELTA=958 (956 added, 0 deleted, 2 changed) OCL=34180 CL=34212
2009-08-31add SectionReader, ReaderAt.Russ Cox1-0/+85
R=r DELTA=85 (85 added, 0 deleted, 0 changed) OCL=34141 CL=34144
2009-08-26add io.LimitReader.Russ Cox1-20/+16
use it to limit data read from http.Request Body R=r DELTA=32 (8 added, 6 deleted, 18 changed) OCL=33899 CL=33916
2009-08-18Add a standard Seeker interface.Austin Clements1-0/+30
R=rsc APPROVED=rsc DELTA=35 (30 added, 4 deleted, 1 changed) OCL=33491 CL=33498
2009-07-01clean up some BUG/TODO in go codeRuss Cox1-3/+1
R=r DELTA=23 (1 added, 12 deleted, 10 changed) OCL=30957 CL=30980
2009-06-29io.StringBytes -> strings.BytesRuss Cox1-10/+2
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-22document requirements on Write methodRuss Cox1-1/+7
R=r DELTA=7 (6 added, 0 deleted, 1 changed) OCL=30596 CL=30605
2009-06-22changes required if we disallow the implicit *Russ Cox1-2/+2
in cap, len, [], and range on maps, strings, and slices. R=r DELTA=57 (2 added, 12 deleted, 43 changed) OCL=30549 CL=30590
2009-06-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox1-47/+40
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 Pike1-0/+223
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102