summaryrefslogtreecommitdiff
path: root/src/pkg/gob/decoder.go
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-202/+0
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+202
2011-09-13Imported Upstream version 60Ondřej Surý1-202/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-4/+4
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-2/+2
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-9/+15
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-5/+6
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-1/+1
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-3/+8
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-68/+94
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-43/+78
2010-06-29gob: a couple of tiny simplifications using Kind()Rob Pike1-5/+6
R=rsc CC=golang-dev http://codereview.appspot.com/1695046
2010-06-28gob: add DecodeValue and EncodeValueRob Pike1-3/+10
R=rsc CC=golang-dev http://codereview.appspot.com/1698045
2010-06-28gob: allow transmission of things other than structs at the top level.Rob Pike1-2/+3
also fix a bug handling nil maps: before, would needlessly send empty map R=rsc CC=golang-dev http://codereview.appspot.com/1739043
2010-03-30simplify various code using new map index ruleRuss Cox1-3/+2
R=r CC=golang-dev http://codereview.appspot.com/833044
2009-12-151) Change default gofmt default settings forRobert Griesemer1-46/+46
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-13fix bug for large counts: used a one-byte buffer.Rob Pike1-3/+2
R=rsc CC=golang-dev http://codereview.appspot.com/174082
2009-12-01explicitly catch attempt to decode into a value - must be a pointer to see ↵Rob Pike1-0/+7
the result. R=rsc http://codereview.appspot.com/163070
2009-11-16Rework gobs to fix bad bug related to sharing of id's between encoder and ↵Rob Pike1-10/+21
decoder side. Fix is to move all decoder state into the decoder object. Fixes issue 215. R=rsc CC=golang-dev http://codereview.appspot.com/155077
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-5/+5
R=rsc, r http://go/go-review/1025029
2009-11-05- gofmt'ing of some stragglers, now with correct comment indentationRobert Griesemer1-1/+1
in special cases - re-gofmt'ing of some files that are now improved R=r, rsc http://go/go-review/1023003
2009-10-06apply gofmt to go, gob, hash, http, image, io, json, logRuss Cox1-13/+13
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-15more "declared and not used".Russ Cox1-3/+1
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-08-12convert gob to whole-package compilation.Russ Cox1-1/+0
had to reorder some init code. R=r DELTA=136 (15 added, 110 deleted, 11 changed) OCL=33071 CL=33102
2009-07-29clean up EOFRob Pike1-4/+3
R=rsc DELTA=5 (0 added, 1 deleted, 4 changed) OCL=32465 CL=32467
2009-07-29handle some error conditions involving bad data.Rob Pike1-8/+9
R=rsc DELTA=32 (24 added, 1 deleted, 7 changed) OCL=32461 CL=32463
2009-07-28change the encoding of uints to simplify overflow checking and to make themRob Pike1-1/+1
easier and faster to read. they are now either a one-byte value or a n-byte value preceded by a byte holding -n. R=rsc DELTA=150 (45 added, 7 deleted, 98 changed) OCL=32381 CL=32387
2009-07-27clean up for public use: make some stuff private, add doc comments.Rob Pike1-8/+13
R=rsc DELTA=298 (202 added, 0 deleted, 96 changed) OCL=32006 CL=32224
2009-07-16clean up the code, flow errors out to decoder.Rob Pike1-19/+5
R=rsc DELTA=99 (32 added, 22 deleted, 45 changed) OCL=31759 CL=31759
2009-07-16- allow wire type and receive type to differ.Rob Pike1-3/+5
- still TODO: ignoring struct fields. R=rsc DELTA=309 (240 added, 2 deleted, 67 changed) OCL=31750 CL=31750
2009-07-16clean up the decode loop and fix a couple of bad printsRob Pike1-4/+10
R=rsc DELTA=15 (8 added, 2 deleted, 5 changed) OCL=31738 CL=31738
2009-07-15make the low-level encoder and decoder private and have them access ↵Rob Pike1-28/+53
byte.Buffers rather than io.Readers and io.Writers. change the Encoder/Decoder protocol so that each message is preceded by its length in bytes. R=rsc DELTA=468 (119 added, 23 deleted, 326 changed) OCL=31700 CL=31702
2009-07-14improve rpc code. more robust. more tests.Rob Pike1-1/+1
R=rsc DELTA=186 (133 added, 20 deleted, 33 changed) OCL=31611 CL=31616
2009-07-13the name of the type was being sent twice. drop the outer instance.Rob Pike1-1/+1
R=rsc DELTA=10 (5 added, 1 deleted, 4 changed) OCL=31523 CL=31526
2009-07-11first cut at gob decoder.Rob Pike1-0/+85
R=rsc DELTA=184 (181 added, 1 deleted, 2 changed) OCL=31474 CL=31486