summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Update to latest html5lib tests.Andrew Sidwell2008-06-233-7/+11
| | | | svn path=/trunk/hubbub/; revision=4428
* 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
* Make the doxygen file a bit more useful, and also let it output man files ↵Andrew Sidwell2008-06-231-3/+3
| | | | | | for quick reference. svn path=/trunk/hubbub/; revision=4425
* Add CDATA tests and the infrastructure to support them.Andrew Sidwell2008-06-196-0/+52
| | | | svn path=/trunk/hubbub/; revision=4410
* Add a tokeniser3, which tests the tokeniser byte-by-byte rather than with ↵Andrew Sidwell2008-06-193-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 Sidwell2008-06-191-4/+8
| | | | | | warnings. svn path=/trunk/hubbub/; revision=4408
* Add some new tests (also committed to html5lib).Andrew Sidwell2008-06-192-0/+8
| | | | svn path=/trunk/hubbub/; revision=4407
* Use assert() instead of abort() or returning NULL in code that should not be ↵Andrew Sidwell2008-06-191-24/+10
| | | | | | reached. svn path=/trunk/hubbub/; revision=4406
* Fix remaining issues with byte-by-byte tokenisation.Andrew Sidwell2008-06-191-10/+17
| | | | svn path=/trunk/hubbub/; revision=4405
* Fix entity tokenisation when data is given one byte at a time.Andrew Sidwell2008-06-181-7/+14
| | | | svn path=/trunk/hubbub/; revision=4404
* Add a comma that somehow went missing.Andrew Sidwell2008-06-181-1/+1
| | | | svn path=/trunk/hubbub/; revision=4388
* Fix remaining issues around passing the testsuite, and make sure all the ↵Andrew Sidwell2008-06-183-155/+16
| | | | | | tokeniser is tested. svn path=/trunk/hubbub/; revision=4387
* Use json_object_get_string_len().John Mark Bell2008-06-181-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 Bell2008-06-181-1/+3
| | | | | | decode surrogates correctly. svn path=/trunk/hubbub/; revision=4380
* Catch non-zero exit status and treat it as a failureJohn Mark Bell2008-06-181-1/+13
| | | | svn path=/trunk/hubbub/; revision=4379
* Fix a bug causing crashes on the entity test.Andrew Sidwell2008-06-181-0/+1
| | | | svn path=/trunk/hubbub/; revision=4378
* Get more tests passing.Andrew Sidwell2008-06-181-7/+96
| | | | svn path=/trunk/hubbub/; revision=4377
* Fix tokenisation of attributes.Andrew Sidwell2008-06-171-2/+2
| | | | svn path=/trunk/hubbub/; revision=4375
* Bring the "before attribute name" state in line with the spec; this with the ↵Andrew Sidwell2008-06-171-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 Sidwell2008-06-171-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 Sidwell2008-06-171-0/+1
| | | | svn path=/trunk/hubbub/; revision=4372
* Fix some doctype bugs.Andrew Sidwell2008-06-171-3/+4
| | | | svn path=/trunk/hubbub/; revision=4371
* Fix up the comment states some more.Andrew Sidwell2008-06-171-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 Sidwell2008-06-171-8/+4
| | | | svn path=/trunk/hubbub/; revision=4369
* Restore the commenting-out of a test.Andrew Sidwell2008-06-171-0/+3
| | | | svn path=/trunk/hubbub/; revision=4368
* Remove a stray printf().Andrew Sidwell2008-06-171-2/+0
| | | | svn path=/trunk/hubbub/; revision=4367
* Fix entity consumption. This gets us to the second set of html5lib tests.Andrew Sidwell2008-06-172-42/+68
| | | | svn path=/trunk/hubbub/; revision=4366
* Use a better entities test.Andrew Sidwell2008-06-161-3/+9
| | | | svn path=/trunk/hubbub/; revision=4365
* Prevent an infinite loop; get entity matcher a tiny bit further towards ↵Andrew Sidwell2008-06-161-0/+3
| | | | | | compliance. svn path=/trunk/hubbub/; revision=4364
* Use IO::Select to avoid deadlockJohn Mark Bell2008-06-161-56/+49
| | | | svn path=/trunk/hubbub/; revision=4363
* Remove dead code.Andrew Sidwell2008-06-161-5/+0
| | | | svn path=/trunk/hubbub/; revision=4362
* Was a little too hasty in the previous commit-- the same thing was done ↵Andrew Sidwell2008-06-161-2/+0
| | | | | | earlier on. svn path=/trunk/hubbub/; revision=4361
* Ensure the "additional allowed character" in the "consume a character ↵Andrew Sidwell2008-06-161-0/+1
| | | | | | reference" steps gets reset. svn path=/trunk/hubbub/; revision=4360
* - Move away from using inputstream_push_back() and instead use _rewind() ↵Andrew Sidwell2008-06-161-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 Sidwell2008-06-162-21/+18
| | | | svn path=/trunk/hubbub/; revision=4358
* Commit the relevant header files for r4354-r4356.Andrew Sidwell2008-06-161-1/+9
| | | | svn path=/trunk/hubbub/; revision=4357
* Update the testsuite to match the tokeniser. Also, import new html5lib ↵Andrew Sidwell2008-06-1613-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 Sidwell2008-06-161-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 Sidwell2008-06-161-259/+2137
| | | | svn path=/trunk/hubbub/; revision=4354
* Add a doxygen configuration file.Andrew Sidwell2008-06-151-0/+1356
| | | | svn path=/trunk/hubbub/; revision=4341
* Mark "coverage" and "profile" targets as phonyJohn Mark Bell2008-06-081-1/+2
| | | | svn path=/trunk/hubbub/; revision=4313
* Add a "coverage" target (like libcss) which runs lcov for nice-looking ↵Andrew Sidwell2008-06-083-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 Sidwell2008-05-153-0/+26
| | | | | | C struct format, suitable for "#include"ing. svn path=/trunk/hubbub/; revision=4161
* Whoops. Missed the makefile for src/treebuilderJohn Mark Bell2008-04-071-43/+36
| | | | svn path=/trunk/hubbub/; revision=4078
* Rework buildsystem so that it no longer calls make recursively and rebuilds ↵John Mark Bell2008-04-0712-367/+421
| | | | | | the testcases when the library changes. svn path=/trunk/hubbub/; revision=4077
* Implement "in body" insertion mode.John Mark Bell2008-04-0711-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 Bell2008-04-075-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 invalidJohn Mark Bell2008-03-234-28/+28
| | | | svn path=/trunk/hubbub/; revision=4044