Import hubbub -- an HTML parsing library.
Plenty of work still to do (like tree generation ;)

svn path=/trunk/hubbub/; revision=3359
Remove large testdata (and set svn:ignore on it)

svn path=/trunk/hubbub/; revision=3360
Fix broken guard macro

svn path=/trunk/hubbub/; revision=3361
Add UTF-16 input stream.
This appears to work correctly -- could probably do with more testing.

svn path=/trunk/hubbub/; revision=3362
Silence cast alignment warnings

svn path=/trunk/hubbub/; revision=3363
Warning fixes

svn path=/trunk/hubbub/; revision=3393
Add testcase of page with initial close tag
Fix capitalisation in documentation

svn path=/trunk/hubbub/; revision=3883
Improve error handling

svn path=/trunk/hubbub/; revision=3886
Beginnings of a tree builder.
Distinct lack of any real functionality beyond creation/destruction & option setting.

svn path=/trunk/hubbub/; revision=3894
Test page that breaks libxml

svn path=/trunk/hubbub/; revision=3924
More treebuilder (up to 8.2.4.7)
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
More treebuilder (8.2.4.8)
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 (really 8.2.4.8 this time)
Add tree handler entrypoint for creating elements with verbatim names

svn path=/trunk/hubbub/; revision=3940
More treebuilder (8.2.4.9)
Factor out common code for handling character tokens and comments

svn path=/trunk/hubbub/; revision=3941
More treebuilder (8.2.4.10)

svn path=/trunk/hubbub/; revision=3947
More treebuilder (8.2.4.11 & 8.2.4.12)

svn path=/trunk/hubbub/; revision=3948
Fix off-by-one in detecting when element stack needs enlarging

svn path=/trunk/hubbub/; revision=3949
hubbub_strings may now be either an offset into the data buffer or a pointer 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
Drop usage of inline as it's invalid

svn path=/trunk/hubbub/; revision=4044
Fix recalculation of used document buffer length after resizing when the 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