Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Make the doxygen file a bit more useful, and also let it output man files ↵ | Andrew Sidwell | 2008-06-23 | 1 | -3/+3 |
| | | | | | | for quick reference. svn path=/trunk/hubbub/; revision=4425 | ||||
* | Add CDATA tests and the infrastructure to support them. | Andrew Sidwell | 2008-06-19 | 6 | -0/+52 |
| | | | | svn path=/trunk/hubbub/; revision=4410 | ||||
* | Add a tokeniser3, which tests the tokeniser byte-by-byte rather than with ↵ | Andrew Sidwell | 2008-06-19 | 3 | -1/+478 |
| | | | | | | all the data at once. svn path=/trunk/hubbub/; revision=4409 | ||||
* | 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 | ||||
* | Add some new tests (also committed to html5lib). | Andrew Sidwell | 2008-06-19 | 2 | -0/+8 |
| | | | | svn path=/trunk/hubbub/; revision=4407 | ||||
* | 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 | ||||
* | Add a comma that somehow went missing. | Andrew Sidwell | 2008-06-18 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=4388 | ||||
* | Fix remaining issues around passing the testsuite, and make sure all the ↵ | Andrew Sidwell | 2008-06-18 | 3 | -155/+16 |
| | | | | | | tokeniser is tested. svn path=/trunk/hubbub/; revision=4387 | ||||
* | Use json_object_get_string_len(). | John Mark Bell | 2008-06-18 | 1 | -11/+11 |
| | | | | svn path=/trunk/hubbub/; revision=4386 | ||||
* | Print out expected string, too, so we can see where json-c is failing to ↵ | John Mark Bell | 2008-06-18 | 1 | -1/+3 |
| | | | | | | decode surrogates correctly. svn path=/trunk/hubbub/; revision=4380 | ||||
* | Catch non-zero exit status and treat it as a failure | John Mark Bell | 2008-06-18 | 1 | -1/+13 |
| | | | | svn path=/trunk/hubbub/; revision=4379 | ||||
* | 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 up the html5lib-test-tester so it doesn't crash if the number of ↵ | Andrew Sidwell | 2008-06-17 | 1 | -13/+16 |
| | | | | | | | | attributes on a tag is larger than the number expected. - Remove some unnecessary casts. svn path=/trunk/hubbub/; revision=4373 | ||||
* | 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 | ||||
* | Restore the commenting-out of a test. | Andrew Sidwell | 2008-06-17 | 1 | -0/+3 |
| | | | | svn path=/trunk/hubbub/; revision=4368 | ||||
* | 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 | ||||
* | Use a better entities test. | Andrew Sidwell | 2008-06-16 | 1 | -3/+9 |
| | | | | svn path=/trunk/hubbub/; revision=4365 | ||||
* | 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 | ||||
* | Use IO::Select to avoid deadlock | John Mark Bell | 2008-06-16 | 1 | -56/+49 |
| | | | | svn path=/trunk/hubbub/; revision=4363 | ||||
* | 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 | 2 | -21/+18 |
| | | | | svn path=/trunk/hubbub/; revision=4358 | ||||
* | Commit the relevant header files for r4354-r4356. | Andrew Sidwell | 2008-06-16 | 1 | -1/+9 |
| | | | | svn path=/trunk/hubbub/; revision=4357 | ||||
* | Update the testsuite to match the tokeniser. Also, import new html5lib ↵ | Andrew Sidwell | 2008-06-16 | 13 | -76/+3306 |
| | | | | | | tests for better coverage. Known issue: the tokeniser test stalls using the testrunner script. svn path=/trunk/hubbub/; revision=4356 | ||||
* | 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 | ||||
* | Add a doxygen configuration file. | Andrew Sidwell | 2008-06-15 | 1 | -0/+1356 |
| | | | | svn path=/trunk/hubbub/; revision=4341 | ||||
* | Mark "coverage" and "profile" targets as phony | John Mark Bell | 2008-06-08 | 1 | -1/+2 |
| | | | | svn path=/trunk/hubbub/; revision=4313 | ||||
* | Add a "coverage" target (like libcss) which runs lcov for nice-looking ↵ | Andrew Sidwell | 2008-06-08 | 3 | -2/+35 |
| | | | | | | coverage statistics. svn path=/trunk/hubbub/; revision=4312 | ||||
* | Add a script that fetches the current HTML5 entity list and parses it into a ↵ | Andrew Sidwell | 2008-05-15 | 3 | -0/+26 |
| | | | | | | C struct format, suitable for "#include"ing. svn path=/trunk/hubbub/; revision=4161 | ||||
* | 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 | 12 | -367/+421 |
| | | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077 | ||||
* | Implement "in body" insertion mode. | John Mark Bell | 2008-04-07 | 11 | -458/+2597 |
| | | | | | | | 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 | 5 | -23/+106 |
| | | | | | | | | | 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 | 8 | -100/+142 |
| | | | | | | | | | | | | | 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 |