summaryrefslogtreecommitdiff
path: root/src/tokeniser
Commit message (Collapse)AuthorAgeFilesLines
* Add an explict null namespace to hubbub_ns.Andrew Sidwell2008-07-091-0/+4
| | | | svn path=/trunk/hubbub/; revision=4550
* Add the basics of namespace support.Andrew Sidwell2008-06-261-0/+1
| | | | svn path=/trunk/hubbub/; revision=4452
* Add CDATA tests and the infrastructure to support them.Andrew Sidwell2008-06-192-0/+6
| | | | svn path=/trunk/hubbub/; revision=4410
* Fix assert()s, and only compile the preceding line when debugging to avoid ↵Andrew Sidwell2008-06-191-4/+8
| | | | | | warnings. svn path=/trunk/hubbub/; revision=4408
* Use assert() instead of abort() or returning NULL in code that should not be ↵Andrew Sidwell2008-06-191-24/+10
| | | | | | reached. svn path=/trunk/hubbub/; revision=4406
* Fix remaining issues with byte-by-byte tokenisation.Andrew Sidwell2008-06-191-10/+17
| | | | svn path=/trunk/hubbub/; revision=4405
* Fix entity tokenisation when data is given one byte at a time.Andrew Sidwell2008-06-181-7/+14
| | | | svn path=/trunk/hubbub/; revision=4404
* Fix remaining issues around passing the testsuite, and make sure all the ↵Andrew Sidwell2008-06-181-142/+2
| | | | | | tokeniser is tested. svn path=/trunk/hubbub/; revision=4387
* Get more tests passing.Andrew Sidwell2008-06-181-7/+96
| | | | svn path=/trunk/hubbub/; revision=4377
* Fix tokenisation of attributes.Andrew Sidwell2008-06-171-2/+2
| | | | svn path=/trunk/hubbub/; revision=4375
* Bring the "before attribute name" state in line with the spec; this with the ↵Andrew Sidwell2008-06-171-1/+1
| | | | | | previous commit means that tests 1-3 of the html5lib suite pass. svn path=/trunk/hubbub/; revision=4374
* Fix a problem with self-closing tags emitting bogus extra character tokens.Andrew Sidwell2008-06-171-0/+1
| | | | svn path=/trunk/hubbub/; revision=4372
* Fix some doctype bugs.Andrew Sidwell2008-06-171-3/+4
| | | | svn path=/trunk/hubbub/; revision=4371
* Fix up the comment states some more.Andrew Sidwell2008-06-171-31/+39
| | | | svn path=/trunk/hubbub/; revision=4370
* Fix up the comment start dash state a bit; now on the third set of tests.Andrew Sidwell2008-06-171-8/+4
| | | | svn path=/trunk/hubbub/; revision=4369
* Remove a stray printf().Andrew Sidwell2008-06-171-2/+0
| | | | svn path=/trunk/hubbub/; revision=4367
* Fix entity consumption. This gets us to the second set of html5lib tests.Andrew Sidwell2008-06-171-35/+54
| | | | svn path=/trunk/hubbub/; revision=4366
* Prevent an infinite loop; get entity matcher a tiny bit further towards ↵Andrew Sidwell2008-06-161-0/+3
| | | | | | compliance. svn path=/trunk/hubbub/; revision=4364
* Remove dead code.Andrew Sidwell2008-06-161-5/+0
| | | | svn path=/trunk/hubbub/; revision=4362
* Was a little too hasty in the previous commit-- the same thing was done ↵Andrew Sidwell2008-06-161-2/+0
| | | | | | earlier on. svn path=/trunk/hubbub/; revision=4361
* Ensure the "additional allowed character" in the "consume a character ↵Andrew Sidwell2008-06-161-0/+1
| | | | | | reference" steps gets reset. svn path=/trunk/hubbub/; revision=4360
* - Move away from using inputstream_push_back() and instead use _rewind() ↵Andrew Sidwell2008-06-161-42/+25
| | | | | | | | for both clarity and efficiency. - Fix a bug where the CDATA-matching code was looking at the doctype-matching count. svn path=/trunk/hubbub/; revision=4359
* Update the tokeniser to the 2008-06-15 draft.Andrew Sidwell2008-06-161-19/+18
| | | | svn path=/trunk/hubbub/; revision=4358
* Update the tokeniser to the 2008-06-09 version of the spec. There are still ↵Andrew Sidwell2008-06-161-95/+1072
| | | | | | some bugs to iron out, mainly around entities. svn path=/trunk/hubbub/; revision=4355
* Add the current entity list from the HTML5 spec.Andrew Sidwell2008-06-161-259/+2137
| | | | svn path=/trunk/hubbub/; revision=4354
* Rework buildsystem so that it no longer calls make recursively and rebuilds ↵John Mark Bell2008-04-071-43/+36
| | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077
* hubbub_strings may now be either an offset into the data buffer or a pointer ↵John Mark Bell2008-03-211-49/+64
| | | | | | | | | | | | | to constant data. Fix up tokeniser and treebuilder to deal with this. Fix up testcases, too. The tokeniser will only ever emit strings of type HUBBUB_STRING_OFF. Anything else is a bug which should be fixed. The treebuilder may emit strings of either type. svn path=/trunk/hubbub/; revision=4014
* Import hubbub -- an HTML parsing library.John Mark Bell2007-06-235-0/+2794
Plenty of work still to do (like tree generation ;) svn path=/trunk/hubbub/; revision=3359