summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix entity consumption. This gets us to the second set of html5lib tests.Andrew Sidwell2008-06-172-42/+68
| | | | svn path=/trunk/hubbub/; revision=4366
* Use a better entities test.Andrew Sidwell2008-06-161-3/+9
| | | | svn path=/trunk/hubbub/; revision=4365
* 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
* Use IO::Select to avoid deadlockJohn Mark Bell2008-06-161-56/+49
| | | | svn path=/trunk/hubbub/; revision=4363
* 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-162-21/+18
| | | | svn path=/trunk/hubbub/; revision=4358
* Commit the relevant header files for r4354-r4356.Andrew Sidwell2008-06-161-1/+9
| | | | svn path=/trunk/hubbub/; revision=4357
* Update the testsuite to match the tokeniser. Also, import new html5lib ↵Andrew Sidwell2008-06-1613-76/+3306
| | | | | | tests for better coverage. Known issue: the tokeniser test stalls using the testrunner script. svn path=/trunk/hubbub/; revision=4356
* 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
* Add a doxygen configuration file.Andrew Sidwell2008-06-151-0/+1356
| | | | svn path=/trunk/hubbub/; revision=4341
* Mark "coverage" and "profile" targets as phonyJohn Mark Bell2008-06-081-1/+2
| | | | svn path=/trunk/hubbub/; revision=4313
* Add a "coverage" target (like libcss) which runs lcov for nice-looking ↵Andrew Sidwell2008-06-083-2/+35
| | | | | | coverage statistics. svn path=/trunk/hubbub/; revision=4312
* Add a script that fetches the current HTML5 entity list and parses it into a ↵Andrew Sidwell2008-05-153-0/+26
| | | | | | C struct format, suitable for "#include"ing. svn path=/trunk/hubbub/; revision=4161
* 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-0712-367/+421
| | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077
* Implement "in body" insertion mode.John Mark Bell2008-04-0711-458/+2597
| | | | | | | 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-075-23/+106
| | | | | | | | | 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-218-100/+142
| | | | | | | | | | | | | 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-114-0/+201
| | | | | | 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-118-113/+596
| | | | | | | | | 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-116-6/+829
| | | | | | | | 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
* Test page that breaks libxmlJohn Mark Bell2008-03-102-0/+70
| | | | svn path=/trunk/hubbub/; revision=3924
* Beginnings of a tree builder.John Mark Bell2008-03-078-11/+468
| | | | | | Distinct lack of any real functionality beyond creation/destruction & option setting. svn path=/trunk/hubbub/; revision=3894
* Improve error handlingJohn Mark Bell2008-03-051-10/+20
| | | | svn path=/trunk/hubbub/; revision=3886
* Add testcase of page with initial close tagJohn Mark Bell2008-03-053-1/+13
| | | | | | Fix capitalisation in documentation svn path=/trunk/hubbub/; revision=3883
* Warning fixesJohn Mark Bell2007-07-102-1/+3
| | | | 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-2412-4/+1689
| | | | | | 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
* Remove large testdata (and set svn:ignore on it)John Mark Bell2007-06-232-41272/+1
| | | | svn path=/trunk/hubbub/; revision=3360
* Import hubbub -- an HTML parsing library.John Mark Bell2007-06-2381-0/+56908
Plenty of work still to do (like tree generation ;) svn path=/trunk/hubbub/; revision=3359