summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Whoops. Missed the makefile for src/treebuilderJohn Mark Bell2008-04-071-43/+36
| | | | svn path=/trunk/hubbub/; revision=4078
* Rework buildsystem so that it no longer calls make recursively and rebuilds ↵John Mark Bell2008-04-075-243/+182
| | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077
* Implement "in body" insertion mode.John Mark Bell2008-04-075-432/+2477
| | | | | | | Modify treebuilder test driver to bring it in line with API changes. A few minimal bits of testdata for various bits of in body. Proper testing will come once we're actually building a tree. svn path=/trunk/hubbub/; revision=4076
* Fix recalculation of used document buffer length after resizing when the ↵John Mark Bell2008-04-072-22/+12
| | | | | | | | | last attempt to write into the buffer failed mid-way through a multibyte sequence. Add regression test for this Include regression tests in the testsuite index. svn path=/trunk/hubbub/; revision=4075
* Drop usage of inline as it's invalidJohn Mark Bell2008-03-234-28/+28
| | | | svn path=/trunk/hubbub/; revision=4044
* hubbub_strings may now be either an offset into the data buffer or a pointer ↵John Mark Bell2008-03-212-59/+76
| | | | | | | | | | | | | 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
* Fix off-by-one in detecting when element stack needs enlargingJohn Mark Bell2008-03-141-1/+1
| | | | svn path=/trunk/hubbub/; revision=3949
* More treebuilder (8.2.4.11 & 8.2.4.12)John Mark Bell2008-03-141-37/+262
| | | | svn path=/trunk/hubbub/; revision=3948
* More treebuilder (8.2.4.10)John Mark Bell2008-03-141-8/+497
| | | | svn path=/trunk/hubbub/; revision=3947
* More treebuilder (8.2.4.9)John Mark Bell2008-03-121-113/+242
| | | | | | Factor out common code for handling character tokens and comments svn path=/trunk/hubbub/; revision=3941
* More treebuilder (really 8.2.4.8 this time)John Mark Bell2008-03-111-0/+175
| | | | | | Add tree handler entrypoint for creating elements with verbatim names svn path=/trunk/hubbub/; revision=3940
* More treebuilder (8.2.4.8)John Mark Bell2008-03-112-109/+256
| | | | | | | | | Make tree_handler a pointer rather than value. Check for tree_handler's presence in hubbub_treebuilder_token_handler rather than scattering checks all over the treebuilder code. Add test driver (doesn't actually build a tree but will exercise the core code correctly and verify that the treebuilder code releases all the node references it gains) Enhance quirks mode reporting to distinguish between standards, limited, and full quirks modes. svn path=/trunk/hubbub/; revision=3939
* More treebuilder (up to 8.2.4.7)John Mark Bell2008-03-113-1/+815
| | | | | | | | Loads of issues still outstanding, including a distinct lack of error handling Change tree handler API to allow (de)referencing of nodes rather than explicit destruction. Change create_element handler to take an entire hubbub_tag rather than just the tag name -- the DOM binding can deal with the issue of attaching attributes to the created element node. svn path=/trunk/hubbub/; revision=3932
* Beginnings of a tree builder.John Mark Bell2008-03-075-9/+372
| | | | | | Distinct lack of any real functionality beyond creation/destruction & option setting. svn path=/trunk/hubbub/; revision=3894
* Warning fixesJohn Mark Bell2007-07-101-0/+2
| | | | svn path=/trunk/hubbub/; revision=3393
* Silence cast alignment warningsJohn Mark Bell2007-06-242-13/+15
| | | | svn path=/trunk/hubbub/; revision=3363
* Add UTF-16 input stream.John Mark Bell2007-06-249-3/+1512
| | | | | | This appears to work correctly -- could probably do with more testing. svn path=/trunk/hubbub/; revision=3362
* Fix broken guard macroJohn Mark Bell2007-06-241-1/+1
| | | | svn path=/trunk/hubbub/; revision=3361
* Import hubbub -- an HTML parsing library.John Mark Bell2007-06-2332-0/+8689
Plenty of work still to do (like tree generation ;) svn path=/trunk/hubbub/; revision=3359