summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Rework buildsystem so that it no longer calls make recursively and rebuilds ↵John Mark Bell2008-04-073-58/+90
| | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077
* Implement "in body" insertion mode.John Mark Bell2008-04-074-19/+86
| | | | | | | 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-073-1/+94
| | | | | | | | | 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
* hubbub_strings may now be either an offset into the data buffer or a pointer ↵John Mark Bell2008-03-215-40/+56
| | | | | | | | | | | | | 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
* More treebuilder (really 8.2.4.8 this time)John Mark Bell2008-03-111-0/+19
| | | | | | 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-113-2/+329
| | | | | | | | | 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
* Test page that breaks libxmlJohn Mark Bell2008-03-102-0/+70
| | | | svn path=/trunk/hubbub/; revision=3924
* 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-052-0/+12
| | | | | | Fix capitalisation in documentation svn path=/trunk/hubbub/; revision=3883
* Warning fixesJohn Mark Bell2007-07-101-1/+1
| | | | svn path=/trunk/hubbub/; revision=3393
* Add UTF-16 input stream.John Mark Bell2007-06-243-1/+177
| | | | | | This appears to work correctly -- could probably do with more testing. svn path=/trunk/hubbub/; revision=3362
* 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-2334-0/+47595
Plenty of work still to do (like tree generation ;) svn path=/trunk/hubbub/; revision=3359