summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove end-of-line whitespace around the adoption agency algorithm, so I ↵Andrew Sidwell2008-07-101-45/+47
| | | | | | don't end up doing it in future commits by mistake. svn path=/trunk/hubbub/; revision=4560
* Fix the test harness' implementation of reparent_children().Andrew Sidwell2008-07-101-6/+27
| | | | svn path=/trunk/hubbub/; revision=4559
* Make element_type_from_name() available everywhere when debugging.Andrew Sidwell2008-07-102-1/+3
| | | | svn path=/trunk/hubbub/; revision=4558
* Make the testrunner not overwrite the root node in cases like "<!DOCTYPE ↵Andrew Sidwell2008-07-091-16/+24
| | | | | | html><html>", and make the node printer print all nodes in a document. svn path=/trunk/hubbub/; revision=4552
* Make the tree-construction testrunner ns-aware.Andrew Sidwell2008-07-091-11/+42
| | | | svn path=/trunk/hubbub/; revision=4551
* Add an explict null namespace to hubbub_ns.Andrew Sidwell2008-07-092-0/+5
| | | | svn path=/trunk/hubbub/; revision=4550
* Fix namespaces on manufactured elements.Andrew Sidwell2008-07-094-0/+4
| | | | svn path=/trunk/hubbub/; revision=4549
* Get the tree-construction testrunner checking that tests actually pass.Andrew Sidwell2008-07-091-16/+73
| | | | svn path=/trunk/hubbub/; revision=4548
* Exorcise process_tag_in_body(), and just use handle_in_body() instead. This ↵Andrew Sidwell2008-07-0915-57/+16
| | | | | | makes all the tests "pass". svn path=/trunk/hubbub/; revision=4545
* Make the test harness ignore #document-fragment sections instead of choking ↵Andrew Sidwell2008-07-091-1/+4
| | | | | | on them. svn path=/trunk/hubbub/; revision=4544
* - Fix process_character_expect_whitespace()'s idea of whitespace to match ↵Andrew Sidwell2008-07-093-8/+50
| | | | | | | | | | current spec. - Add a few more asserts (they can't hurt). - Fix infinite loop "in frameset" - Make the "after body" mode behave properly wrt character data svn path=/trunk/hubbub/; revision=4543
* Further table fixes, and minor tidying.John Mark Bell2008-07-094-12/+10
| | | | svn path=/trunk/hubbub/; revision=4542
* Remove invalid assertion -- </form> may occur in input data before any ↵John Mark Bell2008-07-091-4/+4
| | | | | | <form> is encountered. svn path=/trunk/hubbub/; revision=4541
* Fixes for in_cell and adoption agencyJohn Mark Bell2008-07-092-11/+13
| | | | svn path=/trunk/hubbub/; revision=4540
* Big testing hack to print the various insertion modes the treebuilder goes ↵Andrew Sidwell2008-07-091-23/+38
| | | | | | through. svn path=/trunk/hubbub/; revision=4539
* Move debugging statement for ease of debugging.Andrew Sidwell2008-07-091-1/+1
| | | | svn path=/trunk/hubbub/; revision=4537
* Fix handling of non-whitespace characters in table.John Mark Bell2008-07-082-5/+14
| | | | | | Make process_tag_in_body handle character tokens, rather than asserting. svn path=/trunk/hubbub/; revision=4531
* Fix processing of characters in after headJohn Mark Bell2008-07-082-3/+3
| | | | | | Fix process_characters_expect_whitespace to adjust the data offset to the first non-whitespace character, rather than to the end of the string. svn path=/trunk/hubbub/; revision=4530
* Add a really basic tree construction test harness. Known problems:Andrew Sidwell2008-07-073-2/+565
| | | | | | | | | | | | - Doesn't compare expected tree with hubbub's tree -- atm it just checks there are no segfaults - Ungracious handling of #document-fragment tests (since hubbub doesn't support them at present) - Leaks memory because it doesn't use refcounting - Doesn't support dynamic adding of attributes. Also, it shows a crash bug in the treebuilder when run. svn path=/trunk/hubbub/; revision=4529
* More test data. Warning -- huge.John Mark Bell2008-07-073-2/+127698
| | | | svn path=/trunk/hubbub/; revision=4526
* A bunch of fixes to table handlingJohn Mark Bell2008-07-076-20/+56
| | | | svn path=/trunk/hubbub/; revision=4525
* Add tree construction tests in anticipation of a test harness.Andrew Sidwell2008-07-0313-0/+5816
| | | | svn path=/trunk/hubbub/; revision=4504
* Fix an assertion.Andrew Sidwell2008-07-031-1/+1
| | | | svn path=/trunk/hubbub/; revision=4503
* Derefcount things which should be derefcounted.Andrew Sidwell2008-07-039-0/+70
| | | | svn path=/trunk/hubbub/; revision=4502
* Get all the treebuilder actually linking together nicely.Andrew Sidwell2008-07-037-15/+55
| | | | svn path=/trunk/hubbub/; revision=4501
* 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-265-2/+152
| | | | svn path=/trunk/hubbub/; revision=4454
* Add namespaces to attributes, too.Andrew Sidwell2008-06-261-12/+13
| | | | svn path=/trunk/hubbub/; revision=4453
* Add the basics of namespace support.Andrew Sidwell2008-06-262-0/+14
| | | | svn path=/trunk/hubbub/; revision=4452
* 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