summaryrefslogtreecommitdiff
path: root/src/treebuilder
Commit message (Collapse)AuthorAgeFilesLines
* Implement the "in table" insertion mode, at least partially. (The adoption ↵Andrew Sidwell2008-07-034-5/+211
| | | | | | agency algorithm hasn't been tweaked to respect in_table_foster.) svn path=/trunk/hubbub/; revision=4500
* Add my spangly new email address to all the files that didn't have it before.Andrew Sidwell2008-06-3013-13/+13
| | | | svn path=/trunk/hubbub/; revision=4481
* Implement the "after after frameset" insertion mode.Andrew Sidwell2008-06-302-1/+62
| | | | svn path=/trunk/hubbub/; revision=4480
* Implement "after frameset" mode.Andrew Sidwell2008-06-303-1/+81
| | | | svn path=/trunk/hubbub/; revision=4479
* Implement "in frameset" tree construction mode.Andrew Sidwell2008-06-303-1/+96
| | | | svn path=/trunk/hubbub/; revision=4478
* Add the "after after body" insertion mode.Andrew Sidwell2008-06-303-1/+64
| | | | svn path=/trunk/hubbub/; revision=4477
* Add the "after body" insertion mode.Andrew Sidwell2008-06-303-1/+82
| | | | svn path=/trunk/hubbub/; revision=4476
* Add "in foreign content" handling. Not convinced this is the best way.Andrew Sidwell2008-06-305-5/+152
| | | | svn path=/trunk/hubbub/; revision=4475
* Add namespace awareness right through the code, in preparation for handling ↵Andrew Sidwell2008-06-2612-49/+86
| | | | | | foreign content properly. svn path=/trunk/hubbub/; revision=4457
* Add code to adjust foreign attributes, as per spec.Andrew Sidwell2008-06-262-1/+73
| | | | svn path=/trunk/hubbub/; revision=4454
* Move some stuff internal to the "in head" mode to in_head.c.Andrew Sidwell2008-06-263-64/+65
| | | | svn path=/trunk/hubbub/; revision=4451
* Implement the "in select in table" insertion mode.Andrew Sidwell2008-06-253-1/+65
| | | | svn path=/trunk/hubbub/; revision=4447
* Implement the "in select" insertion mode, and add some more utility functions.Andrew Sidwell2008-06-255-1/+184
| | | | svn path=/trunk/hubbub/; revision=4446
* Add a utility current_node() function which returns the current node.Andrew Sidwell2008-06-252-0/+15
| | | | svn path=/trunk/hubbub/; revision=4445
* Implement the "in cell" insertion mode.Andrew Sidwell2008-06-253-0/+139
| | | | svn path=/trunk/hubbub/; revision=4444
* Implement the "in row" insertion mode.Andrew Sidwell2008-06-253-1/+138
| | | | svn path=/trunk/hubbub/; revision=4443
* Add the "in table body" insertion mode.Andrew Sidwell2008-06-253-1/+173
| | | | svn path=/trunk/hubbub/; revision=4442
* *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
* Whoops. Missed the makefile for src/treebuilderJohn Mark Bell2008-04-071-43/+36
| | | | svn path=/trunk/hubbub/; revision=4078
* 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
* hubbub_strings may now be either an offset into the data buffer or a pointer ↵John Mark Bell2008-03-211-10/+12
| | | | | | | | | | | | | 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-112-1/+808
| | | | | | | | 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-073-0/+311
Distinct lack of any real functionality beyond creation/destruction & option setting. svn path=/trunk/hubbub/; revision=3894