aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/encoding/binary
AgeCommit message (Collapse)Author
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox
update other code to match. R=r CC=golang-dev https://golang.org/cl/1680044
2010-03-03encoding/binary: fix error reporting bugRob Pike
R=rsc CC=golang-dev https://golang.org/cl/224096
2009-12-15 1) Change default gofmt default settings forRobert Griesemer
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 https://golang.org/cl/179067
2009-12-11encoding/binary: Add support for slices of arrays of fixed-size values.Maxim Ushakov
R=rsc CC=krasin https://golang.org/cl/167050
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia
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 #115. R=rsc, dsymonds1 https://golang.org/cl/157067
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox
R=r, gri CC=golang-dev https://golang.org/cl/156115
2009-11-14encoding/binary: implemented the Write functionMôshe van der Sterre
The ByteOrder.Put* methods are already available, this change uses them to implement the Write function. R=golang-dev, agl1, rsc, r https://golang.org/cl/152141
2009-11-14typosRuss Cox
Fixes #171. Fixes #172. R=agl1 https://golang.org/cl/154136
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer
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 Griesemer
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer
- 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 Langley
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 #1. R=rsc, iant CC=go-dev http://go/go-review/1017003
2009-10-20base64 -> encoding/base64Russ Cox
base85 -> encoding/ascii85, encoding/git85 debug/binary -> encoding/binary R=r DELTA=3190 (1884 added, 1297 deleted, 9 changed) OCL=35923 CL=35929