summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* *Really* implement "in column group" insertion mode.Andrew Sidwell2008-06-251-0/+97
| | | | svn path=/trunk/hubbub/; revision=4441
* Implement "in column group" insertion mode.Andrew Sidwell2008-06-252-1/+3
| | | | svn path=/trunk/hubbub/; revision=4440
* Add "in caption" insertion mode.Andrew Sidwell2008-06-243-0/+103
| | | | svn path=/trunk/hubbub/; revision=4436
* Update the list of implied end tags.Andrew Sidwell2008-06-241-5/+7
| | | | svn path=/trunk/hubbub/; revision=4435
* Make everything that is meant to have processing equivalent to "in head" use ↵Andrew Sidwell2008-06-246-74/+33
| | | | | | the same code. svn path=/trunk/hubbub/; revision=4434
* Rough and unoptimised quirks-mode detector in the "initial" tree ↵Andrew Sidwell2008-06-241-1/+234
| | | | | | construction phase. svn path=/trunk/hubbub/; revision=4430
* Put each insertion mode into its own C file, so that treebuilder.c doesn't ↵Andrew Sidwell2008-06-2312-864/+1018
| | | | | | get extremely long. svn path=/trunk/hubbub/; revision=4429
* Add a stubbed "in foreign content" state for the treebuilder.Andrew Sidwell2008-06-232-0/+2
| | | | svn path=/trunk/hubbub/; revision=4427
* Update the treebuilder so it's closer to current spec (I'm sure I've missed ↵Andrew Sidwell2008-06-233-52/+108
| | | | | | stuff). svn path=/trunk/hubbub/; revision=4426
* 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-182-152/+12
| | | | | | tokeniser is tested. svn path=/trunk/hubbub/; revision=4387
* Fix a bug causing crashes on the entity test.Andrew Sidwell2008-06-181-0/+1
| | | | svn path=/trunk/hubbub/; revision=4378
* 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-172-42/+68
| | | | 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
* 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