summaryrefslogtreecommitdiff
path: root/src/pkg/asn1/asn1_test.go
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-689/+0
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+689
2011-09-13Imported Upstream version 60Ondřej Surý1-658/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-3/+3
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-0/+27
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-9/+5
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-4/+5
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-86/+107
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer1-2/+2
- only manual changes are in src/pkg/go/printer/nodes.go - use a heuristic to determine "outliers" such that not entire composites are forced to align with them - improves several places that were not unligned before due too simple heuristic - unalignes some cases that contain "outliers" - gofmt -w src misc Fixes issue 644. R=rsc, r CC=golang-dev http://codereview.appspot.com/241041
2010-02-25use []byte("abc") in place of []byte{'a', 'b', 'c'}Russ Cox1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/223059
2010-02-25strings: delete Runes, BytesRuss Cox1-2/+1
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-05asn1: Fixes and additions to marshallingAdam Langley1-24/+25
Marshalling: * Fixes several silly bugs. * Support the RawContents type. * Support the RawValue type. * Recurse into nested interface{}. Both directions: * Better handling of SETs. You can now tag an element in a structure with "set" to get the correct tag for serialisation. * For types that aren't in a structure, you can now name them with "SET" on the end. * SETs are no longer implicitly treated as SEQUENCEs. R=rsc CC=golang-dev http://codereview.appspot.com/201049
2010-01-11asn1: fix parsing of elements after a string in a structure.Adam Langley1-0/+6
Fixes issue 516. R=rsc CC=golang-dev, golang-dev http://codereview.appspot.com/184080
2009-12-15 1) Change default gofmt default settings forRobert Griesemer1-77/+77
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 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r http://codereview.appspot.com/180047
2009-11-18asn1: add support for RawContentAdam Langley1-0/+26
R=rsc CC=golang-dev http://codereview.appspot.com/157056
2009-11-17asn1:Adam Langley1-26/+53
* add Marshal * add BitString.RightAlign * change to using a *time.Time (from time.Time) since that's what the time package uses. * return the unparsed data from Unmarshal. R=rsc CC=golang-dev http://codereview.appspot.com/156047
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-12/+4
- 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-04gofmt-ify asn1Robert Griesemer1-2/+2
R=rsc http://go/go-review/1018047
2009-10-13Add ASN.1 parser.Adam Langley1-0/+562
R=rsc APPROVED=rsc DELTA=1459 (1459 added, 0 deleted, 0 changed) OCL=35389 CL=35681