Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Handle in_table_foster for element insertion (yet to do comment/character). | Andrew Sidwell | 2008-07-10 | 4 | -33/+45 | |
| | | | | | | | - Fix test harness's insert_before() method. - Foster parenting now correctly taints the current table. svn path=/trunk/hubbub/; revision=4568 | |||||
* | Use correct format specifier | John Mark Bell | 2008-07-10 | 1 | -20/+20 | |
| | | | | svn path=/trunk/hubbub/; revision=4567 | |||||
* | Remove some unintentionally committed debug code. | Andrew Sidwell | 2008-07-10 | 1 | -3/+0 | |
| | | | | svn path=/trunk/hubbub/; revision=4564 | |||||
* | Format comments properly in text output. In the test harness. Again. | Andrew Sidwell | 2008-07-10 | 1 | -2/+5 | |
| | | | | svn path=/trunk/hubbub/; revision=4563 | |||||
* | Make sure all start tags get their namespace set. | Andrew Sidwell | 2008-07-10 | 1 | -0/+4 | |
| | | | | svn path=/trunk/hubbub/; revision=4562 | |||||
* | Fix another bug in the test harness. | Andrew Sidwell | 2008-07-10 | 1 | -3/+17 | |
| | | | | svn path=/trunk/hubbub/; revision=4561 | |||||
* | Remove end-of-line whitespace around the adoption agency algorithm, so I ↵ | Andrew Sidwell | 2008-07-10 | 1 | -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 Sidwell | 2008-07-10 | 1 | -6/+27 | |
| | | | | svn path=/trunk/hubbub/; revision=4559 | |||||
* | Make element_type_from_name() available everywhere when debugging. | Andrew Sidwell | 2008-07-10 | 2 | -1/+3 | |
| | | | | svn path=/trunk/hubbub/; revision=4558 | |||||
* | Make the testrunner not overwrite the root node in cases like "<!DOCTYPE ↵ | Andrew Sidwell | 2008-07-09 | 1 | -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 Sidwell | 2008-07-09 | 1 | -11/+42 | |
| | | | | svn path=/trunk/hubbub/; revision=4551 | |||||
* | Add an explict null namespace to hubbub_ns. | Andrew Sidwell | 2008-07-09 | 2 | -0/+5 | |
| | | | | svn path=/trunk/hubbub/; revision=4550 | |||||
* | Fix namespaces on manufactured elements. | Andrew Sidwell | 2008-07-09 | 4 | -0/+4 | |
| | | | | svn path=/trunk/hubbub/; revision=4549 | |||||
* | Get the tree-construction testrunner checking that tests actually pass. | Andrew Sidwell | 2008-07-09 | 1 | -16/+73 | |
| | | | | svn path=/trunk/hubbub/; revision=4548 | |||||
* | Exorcise process_tag_in_body(), and just use handle_in_body() instead. This ↵ | Andrew Sidwell | 2008-07-09 | 15 | -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 Sidwell | 2008-07-09 | 1 | -1/+4 | |
| | | | | | | on them. svn path=/trunk/hubbub/; revision=4544 | |||||
* | - Fix process_character_expect_whitespace()'s idea of whitespace to match ↵ | Andrew Sidwell | 2008-07-09 | 3 | -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 Bell | 2008-07-09 | 4 | -12/+10 | |
| | | | | svn path=/trunk/hubbub/; revision=4542 | |||||
* | Remove invalid assertion -- </form> may occur in input data before any ↵ | John Mark Bell | 2008-07-09 | 1 | -4/+4 | |
| | | | | | | <form> is encountered. svn path=/trunk/hubbub/; revision=4541 | |||||
* | Fixes for in_cell and adoption agency | John Mark Bell | 2008-07-09 | 2 | -11/+13 | |
| | | | | svn path=/trunk/hubbub/; revision=4540 | |||||
* | Big testing hack to print the various insertion modes the treebuilder goes ↵ | Andrew Sidwell | 2008-07-09 | 1 | -23/+38 | |
| | | | | | | through. svn path=/trunk/hubbub/; revision=4539 | |||||
* | Move debugging statement for ease of debugging. | Andrew Sidwell | 2008-07-09 | 1 | -1/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4537 | |||||
* | Fix handling of non-whitespace characters in table. | John Mark Bell | 2008-07-08 | 2 | -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 head | John Mark Bell | 2008-07-08 | 2 | -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 Sidwell | 2008-07-07 | 3 | -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 Bell | 2008-07-07 | 3 | -2/+127698 | |
| | | | | svn path=/trunk/hubbub/; revision=4526 | |||||
* | A bunch of fixes to table handling | John Mark Bell | 2008-07-07 | 6 | -20/+56 | |
| | | | | svn path=/trunk/hubbub/; revision=4525 | |||||
* | Add tree construction tests in anticipation of a test harness. | Andrew Sidwell | 2008-07-03 | 13 | -0/+5816 | |
| | | | | svn path=/trunk/hubbub/; revision=4504 | |||||
* | Fix an assertion. | Andrew Sidwell | 2008-07-03 | 1 | -1/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4503 | |||||
* | Derefcount things which should be derefcounted. | Andrew Sidwell | 2008-07-03 | 9 | -0/+70 | |
| | | | | svn path=/trunk/hubbub/; revision=4502 | |||||
* | Get all the treebuilder actually linking together nicely. | Andrew Sidwell | 2008-07-03 | 7 | -15/+55 | |
| | | | | svn path=/trunk/hubbub/; revision=4501 | |||||
* | Implement the "in table" insertion mode, at least partially. (The adoption ↵ | Andrew Sidwell | 2008-07-03 | 4 | -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 Sidwell | 2008-06-30 | 13 | -13/+13 | |
| | | | | svn path=/trunk/hubbub/; revision=4481 | |||||
* | Implement the "after after frameset" insertion mode. | Andrew Sidwell | 2008-06-30 | 2 | -1/+62 | |
| | | | | svn path=/trunk/hubbub/; revision=4480 | |||||
* | Implement "after frameset" mode. | Andrew Sidwell | 2008-06-30 | 3 | -1/+81 | |
| | | | | svn path=/trunk/hubbub/; revision=4479 | |||||
* | Implement "in frameset" tree construction mode. | Andrew Sidwell | 2008-06-30 | 3 | -1/+96 | |
| | | | | svn path=/trunk/hubbub/; revision=4478 | |||||
* | Add the "after after body" insertion mode. | Andrew Sidwell | 2008-06-30 | 3 | -1/+64 | |
| | | | | svn path=/trunk/hubbub/; revision=4477 | |||||
* | Add the "after body" insertion mode. | Andrew Sidwell | 2008-06-30 | 3 | -1/+82 | |
| | | | | svn path=/trunk/hubbub/; revision=4476 | |||||
* | Add "in foreign content" handling. Not convinced this is the best way. | Andrew Sidwell | 2008-06-30 | 5 | -5/+152 | |
| | | | | svn path=/trunk/hubbub/; revision=4475 | |||||
* | Add namespace awareness right through the code, in preparation for handling ↵ | Andrew Sidwell | 2008-06-26 | 12 | -49/+86 | |
| | | | | | | foreign content properly. svn path=/trunk/hubbub/; revision=4457 | |||||
* | Add code to adjust foreign attributes, as per spec. | Andrew Sidwell | 2008-06-26 | 5 | -2/+152 | |
| | | | | svn path=/trunk/hubbub/; revision=4454 | |||||
* | Add namespaces to attributes, too. | Andrew Sidwell | 2008-06-26 | 1 | -12/+13 | |
| | | | | svn path=/trunk/hubbub/; revision=4453 | |||||
* | Add the basics of namespace support. | Andrew Sidwell | 2008-06-26 | 2 | -0/+14 | |
| | | | | svn path=/trunk/hubbub/; revision=4452 | |||||
* | Move some stuff internal to the "in head" mode to in_head.c. | Andrew Sidwell | 2008-06-26 | 3 | -64/+65 | |
| | | | | svn path=/trunk/hubbub/; revision=4451 | |||||
* | Implement the "in select in table" insertion mode. | Andrew Sidwell | 2008-06-25 | 3 | -1/+65 | |
| | | | | svn path=/trunk/hubbub/; revision=4447 | |||||
* | Implement the "in select" insertion mode, and add some more utility functions. | Andrew Sidwell | 2008-06-25 | 5 | -1/+184 | |
| | | | | svn path=/trunk/hubbub/; revision=4446 | |||||
* | Add a utility current_node() function which returns the current node. | Andrew Sidwell | 2008-06-25 | 2 | -0/+15 | |
| | | | | svn path=/trunk/hubbub/; revision=4445 | |||||
* | Implement the "in cell" insertion mode. | Andrew Sidwell | 2008-06-25 | 3 | -0/+139 | |
| | | | | svn path=/trunk/hubbub/; revision=4444 | |||||
* | Implement the "in row" insertion mode. | Andrew Sidwell | 2008-06-25 | 3 | -1/+138 | |
| | | | | svn path=/trunk/hubbub/; revision=4443 | |||||
* | Add the "in table body" insertion mode. | Andrew Sidwell | 2008-06-25 | 3 | -1/+173 | |
| | | | | svn path=/trunk/hubbub/; revision=4442 |