summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-04Move ch>0 check to the top of yxml_parse()Yorhel2-2/+6
And move them out of each state (yxml_isChar()). This decreases the compiled size by about 1k and doesn't seem affect performance by much (it's a tiny bit faster, in fact). The real reason for making this change is to make implementing proper line ending normalization a bit simpler, coming in the next commit.
2013-09-04bench: No need to remake yxml.c when that is the only known dependencyYorhel1-1/+0
2013-09-03Add benchmark codeYorhel4-0/+280
2013-09-02Add '_' as allowed character in a NameYorhel2-2/+2
No idea how I missed that one.
2013-09-02COPYING: Fix copyright yearYorhel1-1/+1
I suppose I shouldn't be copying these COPYING files around without at least looking at them...
2013-09-02Minor typo fix in yxml-gen.plYorhel2-2/+3
2013-09-02Add special string-consuming stateYorhel5-393/+145
This reduces the number of states by 36 and the compiled library by ~930 bytes. It also reduces the parsing speed by ~3% for some reason I don't understand. The XML file I use for benchmarking has no CDATA sections and the new 'string' state is thus only used for some headers...
2013-09-02Add support for <![CDATA[ sections ]]>Yorhel2-24/+108
2013-09-02Allow absent XMLDecl, support PI and element contents, +hack for DTDYorhel3-106/+267
2013-09-02Initial commitYorhel8-0/+1518