summaryrefslogtreecommitdiff
path: root/src/pkg/encoding
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý5-6/+7
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý2-90/+76
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý3-2/+29
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý7-18/+626
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý18-145/+424
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-60/+64
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox3-14/+14
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-03-08encoding/base64: fix typo in commentGiles Lean1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/258041 Committer: Russ Cox <rsc@golang.org>
2010-03-03encoding/binary: fix error reporting bugRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/224096
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer1-1/+1
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-02-25strings: delete Runes, BytesRuss Cox6-33/+27
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-02-07encoding/pem: add marshalling support.Adam Langley2-2/+168
R=rsc CC=golang-dev http://codereview.appspot.com/203043
2010-02-02fix build - misc ... vs ...T fixesRuss Cox3-18/+6
TBR=r CC=golang-dev http://codereview.appspot.com/198081
2009-12-15 1) Change default gofmt default settings forRobert Griesemer12-682/+682
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 2nd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/179067
2009-12-11encoding/binary: Add support for slices of arrays of fixed-size values.Maxim Ushakov2-6/+52
R=rsc CC=krasin http://codereview.appspot.com/167050 Committer: Russ Cox <rsc@golang.org>
2009-12-09remove uses of string concatenation from src and misc directoryRobert Griesemer2-15/+15
R=rsc http://codereview.appspot.com/172041
2009-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike3-10/+10
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev http://codereview.appspot.com/163085
2009-11-30Add trivial whitespace to CorruptInputError strings.Christopher Wedgwood3-3/+3
R=r, rsc http://codereview.appspot.com/161058 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia6-12/+12
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 Cox5-30/+30
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-18remove bytes.CopyRob Pike3-8/+6
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-14encoding/binary: implemented the Write functionMôshe van der Sterre2-18/+121
The ByteOrder.Put* methods are already available, this change uses them to implement the Write function. R=golang-dev, agl1, rsc, r http://codereview.appspot.com/152141 Committer: Russ Cox <rsc@golang.org>
2009-11-14typosRuss Cox1-1/+1
Fixes issue 171. Fixes issue 172. R=agl1 http://codereview.appspot.com/154136
2009-11-11Fix capitalisation of "Git".David Symonds1-5/+5
R=rsc http://codereview.appspot.com/154071 Committer: Russ Cox <rsc@golang.org>
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer9-95/+95
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 Griesemer12-164/+164
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer5-63/+21
- 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-ify io, json, runtime, encodingRobert Griesemer2-15/+15
R=rsc http://go/go-review/1017056
2009-11-05gofmt-ify encodingRobert Griesemer5-61/+59
R=rsc http://go/go-review/1017048
2009-11-04package patchRuss Cox1-4/+4
R=r http://go/go-review/1018043
2009-11-03encoding/*: reverse the order of src, dst so that dst is first.Adam Langley9-38/+38
R=rsc CC=go-dev http://go/go-review/1017021
2009-11-02Fix cgo for GCC 4.4Adam Langley1-0/+49
Firstly, with -Werror, GCC switched to printing warnings starting with "error:". Widening the string matches solves this as the messages are otherwise unchanged. Secondly, GCC 4.4 outputs DWARF sections with with NUL bytes in all the offsets and requires the relocation section for .debug_info to be processed in order to result in valid DWARF data. Thus we add minimal handling for relocation sections, which is sufficient for our needs. BUG=1 Fixes issue 1. R=rsc, iant CC=go-dev http://go/go-review/1017003
2009-11-01misc cleanupRuss Cox1-3/+0
R=r http://go/go-review/1016017
2009-10-26Add encoding/hexAdam Langley3-0/+266
R=rsc http://go/go-review/1015012
2009-10-21Fix typo in documentation.Adam Langley1-1/+2
R=r APPROVED=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=35977 CL=35977
2009-10-21Add initial x509 code.Adam Langley3-0/+494
R=rsc APPROVED=rsc DELTA=659 (659 added, 0 deleted, 0 changed) OCL=35932 CL=35975
2009-10-20base64 -> encoding/base64Russ Cox12-0/+1874
base85 -> encoding/ascii85, encoding/git85 debug/binary -> encoding/binary R=r DELTA=3190 (1884 added, 1297 deleted, 9 changed) OCL=35923 CL=35929