summaryrefslogtreecommitdiff
path: root/src/pkg/xml/read.go
AgeCommit message (Collapse)AuthorFilesLines
2011-05-23Imported Upstream version 2011.05.22Ondřej Surý1-6/+3
2011-05-23Imported Upstream version 2011.04.27Ondřej Surý1-3/+6
2011-05-23Imported Upstream version 57Ondřej Surý1-6/+3
2011-05-04Imported Upstream version 2011.04.27Ondřej Surý1-3/+6
2011-05-04Imported Upstream version 57Ondřej Surý1-6/+3
2011-04-28Imported Upstream version 2011.04.27Ondřej Surý1-7/+7
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-58/+58
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-3/+130
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-3/+3
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-61/+2
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-04-21xml: new "innerxml" tag to collect inner XMLRuss Cox1-6/+41
R=r CC=golang-dev http://codereview.appspot.com/971041
2010-04-18reflect: add FieldByNameFuncRaif S. Naffah1-14/+15
xml: add support for XML marshalling embedded structs. R=rsc CC=golang-dev http://codereview.appspot.com/837042 Committer: Russ Cox <rsc@golang.org>
2010-04-12xml: update documentation to match current coding styleChristopher Wedgwood1-14/+13
R=rsc, r CC=golang-dev http://codereview.appspot.com/891048 Committer: Rob Pike <r@golang.org>
2010-03-25Add strconv.Atob, Btoa.Rob Pike1-4/+7
Fixes issue 639 R=rsc CC=golang-dev http://codereview.appspot.com/755041
2010-02-22xml: treat bool as value in UnmarshalMichael Hoisie1-5/+6
R=rsc CC=golang-dev http://codereview.appspot.com/218050 Committer: Russ Cox <rsc@golang.org>
2010-02-02allow any scalar type in xml.Unmarshal.Rob Pike1-2/+109
Fixes issue 574. R=rsc CC=golang-dev http://codereview.appspot.com/196056
2010-01-27Allow underscores in XML element names (except for leading characters)Michael Hoisie1-2/+8
Fixes issue 569 R=rsc, r CC=golang-dev http://codereview.appspot.com/194121 Committer: Rob Pike <r@golang.org>
2010-01-05xml: Fix comment so that example code compilesEvan Shaw1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/181138 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer1-67/+67
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 5th and last set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180050
2009-12-11bytes, strings: allow -1 in Map to mean "drop this character".Kei Son1-2/+17
xml: drop invalid characters in attribute names when constructing struct field names. R=rsc CC=r http://codereview.appspot.com/157104 Committer: Russ Cox <rsc@golang.org>
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-1/+1
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-3/+3
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-31/+31
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-3/+1
- 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 parts of xmlRobert Griesemer1-7/+8
R=rsc http://go/go-review/1017049
2009-10-11introduce non-strict mode in xml parser,Russ Cox1-12/+33
good enough to parse some html. in reader, add "comment" tag to collect comment text. do not allocate during Unmarshal unless pointer is nil. R=r DELTA=441 (416 added, 1 deleted, 24 changed) OCL=35586 CL=35594
2009-10-06make reader more usefulRuss Cox1-11/+56
for lower-level clients: * expose p.Skip * expose p.Unmarshal * wildcard struct field "Any" * unmarshal into bool * unmarshal into xml.Name * unmarshal into pointer R=r DELTA=61 (50 added, 5 deleted, 6 changed) OCL=35372 CL=35422
2009-10-05comment tweaks; implement precise nameRuss Cox1-1/+1
character sets. R=r DELTA=339 (257 added, 1 deleted, 81 changed) OCL=35344 CL=35346
2009-10-05XML parserRuss Cox1-0/+320
R=r DELTA=546 (545 added, 0 deleted, 1 changed) OCL=35318 CL=35341