summaryrefslogtreecommitdiff
path: root/src/pkg/encoding/binary
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý2-0/+175
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý2-3/+3
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ý1-2/+3
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý2-7/+5
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý3-30/+113
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-03-03encoding/binary: fix error reporting bugRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/224096
2009-12-15 1) Change default gofmt default settings forRobert Griesemer2-140/+140
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-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-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-8/+8
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
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-09 - replaced gofmt expression formatting algorithm withRobert Griesemer1-22/+22
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-33/+33
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-30/+10
- 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-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-10-20base64 -> encoding/base64Russ Cox3-0/+319
base85 -> encoding/ascii85, encoding/git85 debug/binary -> encoding/binary R=r DELTA=3190 (1884 added, 1297 deleted, 9 changed) OCL=35923 CL=35929