Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | *Really* implement "in column group" insertion mode. | Andrew Sidwell | 2008-06-25 | 1 | -0/+97 | |
| | | | | svn path=/trunk/hubbub/; revision=4441 | |||||
* | Implement "in column group" insertion mode. | Andrew Sidwell | 2008-06-25 | 2 | -1/+3 | |
| | | | | svn path=/trunk/hubbub/; revision=4440 | |||||
* | Add "in caption" insertion mode. | Andrew Sidwell | 2008-06-24 | 3 | -0/+103 | |
| | | | | svn path=/trunk/hubbub/; revision=4436 | |||||
* | Update the list of implied end tags. | Andrew Sidwell | 2008-06-24 | 1 | -5/+7 | |
| | | | | svn path=/trunk/hubbub/; revision=4435 | |||||
* | Make everything that is meant to have processing equivalent to "in head" use ↵ | Andrew Sidwell | 2008-06-24 | 6 | -74/+33 | |
| | | | | | | the same code. svn path=/trunk/hubbub/; revision=4434 | |||||
* | Rough and unoptimised quirks-mode detector in the "initial" tree ↵ | Andrew Sidwell | 2008-06-24 | 1 | -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 Sidwell | 2008-06-23 | 12 | -864/+1018 | |
| | | | | | | get extremely long. svn path=/trunk/hubbub/; revision=4429 | |||||
* | Add a stubbed "in foreign content" state for the treebuilder. | Andrew Sidwell | 2008-06-23 | 2 | -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 Sidwell | 2008-06-23 | 3 | -52/+108 | |
| | | | | | | stuff). svn path=/trunk/hubbub/; revision=4426 | |||||
* | Add CDATA tests and the infrastructure to support them. | Andrew Sidwell | 2008-06-19 | 2 | -0/+6 | |
| | | | | svn path=/trunk/hubbub/; revision=4410 | |||||
* | Fix assert()s, and only compile the preceding line when debugging to avoid ↵ | Andrew Sidwell | 2008-06-19 | 1 | -4/+8 | |
| | | | | | | warnings. svn path=/trunk/hubbub/; revision=4408 | |||||
* | Use assert() instead of abort() or returning NULL in code that should not be ↵ | Andrew Sidwell | 2008-06-19 | 1 | -24/+10 | |
| | | | | | | reached. svn path=/trunk/hubbub/; revision=4406 | |||||
* | Fix remaining issues with byte-by-byte tokenisation. | Andrew Sidwell | 2008-06-19 | 1 | -10/+17 | |
| | | | | svn path=/trunk/hubbub/; revision=4405 | |||||
* | Fix entity tokenisation when data is given one byte at a time. | Andrew Sidwell | 2008-06-18 | 1 | -7/+14 | |
| | | | | svn path=/trunk/hubbub/; revision=4404 | |||||
* | Fix remaining issues around passing the testsuite, and make sure all the ↵ | Andrew Sidwell | 2008-06-18 | 2 | -152/+12 | |
| | | | | | | tokeniser is tested. svn path=/trunk/hubbub/; revision=4387 | |||||
* | Fix a bug causing crashes on the entity test. | Andrew Sidwell | 2008-06-18 | 1 | -0/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4378 | |||||
* | Get more tests passing. | Andrew Sidwell | 2008-06-18 | 1 | -7/+96 | |
| | | | | svn path=/trunk/hubbub/; revision=4377 | |||||
* | Fix tokenisation of attributes. | Andrew Sidwell | 2008-06-17 | 1 | -2/+2 | |
| | | | | svn path=/trunk/hubbub/; revision=4375 | |||||
* | Bring the "before attribute name" state in line with the spec; this with the ↵ | Andrew Sidwell | 2008-06-17 | 1 | -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 Sidwell | 2008-06-17 | 1 | -0/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4372 | |||||
* | Fix some doctype bugs. | Andrew Sidwell | 2008-06-17 | 1 | -3/+4 | |
| | | | | svn path=/trunk/hubbub/; revision=4371 | |||||
* | Fix up the comment states some more. | Andrew Sidwell | 2008-06-17 | 1 | -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 Sidwell | 2008-06-17 | 1 | -8/+4 | |
| | | | | svn path=/trunk/hubbub/; revision=4369 | |||||
* | Remove a stray printf(). | Andrew Sidwell | 2008-06-17 | 1 | -2/+0 | |
| | | | | svn path=/trunk/hubbub/; revision=4367 | |||||
* | Fix entity consumption. This gets us to the second set of html5lib tests. | Andrew Sidwell | 2008-06-17 | 2 | -42/+68 | |
| | | | | svn path=/trunk/hubbub/; revision=4366 | |||||
* | Prevent an infinite loop; get entity matcher a tiny bit further towards ↵ | Andrew Sidwell | 2008-06-16 | 1 | -0/+3 | |
| | | | | | | compliance. svn path=/trunk/hubbub/; revision=4364 | |||||
* | Remove dead code. | Andrew Sidwell | 2008-06-16 | 1 | -5/+0 | |
| | | | | svn path=/trunk/hubbub/; revision=4362 | |||||
* | Was a little too hasty in the previous commit-- the same thing was done ↵ | Andrew Sidwell | 2008-06-16 | 1 | -2/+0 | |
| | | | | | | earlier on. svn path=/trunk/hubbub/; revision=4361 | |||||
* | Ensure the "additional allowed character" in the "consume a character ↵ | Andrew Sidwell | 2008-06-16 | 1 | -0/+1 | |
| | | | | | | reference" steps gets reset. svn path=/trunk/hubbub/; revision=4360 | |||||
* | - Move away from using inputstream_push_back() and instead use _rewind() ↵ | Andrew Sidwell | 2008-06-16 | 1 | -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 Sidwell | 2008-06-16 | 1 | -19/+18 | |
| | | | | svn path=/trunk/hubbub/; revision=4358 | |||||
* | Update the tokeniser to the 2008-06-09 version of the spec. There are still ↵ | Andrew Sidwell | 2008-06-16 | 1 | -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 Sidwell | 2008-06-16 | 1 | -259/+2137 | |
| | | | | svn path=/trunk/hubbub/; revision=4354 | |||||
* | Whoops. Missed the makefile for src/treebuilder | John Mark Bell | 2008-04-07 | 1 | -43/+36 | |
| | | | | svn path=/trunk/hubbub/; revision=4078 | |||||
* | Rework buildsystem so that it no longer calls make recursively and rebuilds ↵ | John Mark Bell | 2008-04-07 | 5 | -243/+182 | |
| | | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077 | |||||
* | Implement "in body" insertion mode. | John Mark Bell | 2008-04-07 | 5 | -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 Bell | 2008-04-07 | 2 | -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 invalid | John Mark Bell | 2008-03-23 | 4 | -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 Bell | 2008-03-21 | 2 | -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 enlarging | John Mark Bell | 2008-03-14 | 1 | -1/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=3949 | |||||
* | More treebuilder (8.2.4.11 & 8.2.4.12) | John Mark Bell | 2008-03-14 | 1 | -37/+262 | |
| | | | | svn path=/trunk/hubbub/; revision=3948 | |||||
* | More treebuilder (8.2.4.10) | John Mark Bell | 2008-03-14 | 1 | -8/+497 | |
| | | | | svn path=/trunk/hubbub/; revision=3947 | |||||
* | More treebuilder (8.2.4.9) | John Mark Bell | 2008-03-12 | 1 | -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 Bell | 2008-03-11 | 1 | -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 Bell | 2008-03-11 | 2 | -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 Bell | 2008-03-11 | 3 | -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 |