Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove client allocation function and update for new lpu API. | Michael Drake | 2013-12-14 | 1 | -24/+12 |
| | |||||
* | Fix uninitialised pause variable | Vincent Sanders | 2012-07-13 | 1 | -0/+2 |
| | |||||
* | Add ability to pause tokenisation | Vincent Sanders | 2012-07-10 | 1 | -1/+23 |
| | |||||
* | Insert data at correct point in input stream. | John-Mark Bell | 2012-07-05 | 1 | -0/+45 |
| | |||||
* | Fix build with GCC 4.6 | John Mark Bell | 2011-07-26 | 1 | -6/+11 |
| | | | | svn path=/trunk/hubbub/; revision=12628 | ||||
* | Remove init/final and embed entity trie at build time. r=vince | Daniel Silverstone | 2010-12-04 | 1 | -2/+2 |
| | | | | svn path=/trunk/hubbub/; revision=10976 | ||||
* | Make assignment of doctype component pointers clearer. Also removes a ↵ | John Mark Bell | 2009-05-27 | 1 | -9/+6 |
| | | | | | | redundant pointer increment. svn path=/trunk/hubbub/; revision=7581 | ||||
* | Remove redundant code. | John Mark Bell | 2009-05-27 | 1 | -13/+0 |
| | | | | svn path=/trunk/hubbub/; revision=7580 | ||||
* | Initialise variables to stop GCC 4.4 complaining (credit: Jeroen Habraken) | John Mark Bell | 2009-05-05 | 1 | -4/+4 |
| | | | | svn path=/trunk/hubbub/; revision=7398 | ||||
* | Improve error handling in the tokeniser | John Mark Bell | 2009-04-06 | 1 | -62/+154 |
| | | | | svn path=/trunk/hubbub/; revision=7052 | ||||
* | hubbub_alloc -> hubbub_allocator_fn | John Mark Bell | 2009-04-04 | 1 | -2/+3 |
| | | | | svn path=/trunk/hubbub/; revision=7043 | ||||
* | Sync tokeniser tests with html5lib. | John Mark Bell | 2009-03-10 | 1 | -12/+19 |
| | | | | | | | | Sync tokeniser implementation with the spec. Fix handling of \0 in the tag open state. The unicodeCharacters test is disabled, as json-c doesn't like it. svn path=/trunk/hubbub/; revision=6755 | ||||
* | Make doxygen produce API documentation. I guess it helps if you enable the ↵ | John Mark Bell | 2009-01-08 | 1 | -1/+1 |
| | | | | | | | | right options. Fix a couple more doxygen warnings. svn path=/trunk/hubbub/; revision=5996 | ||||
* | Use doxygen to create API documentation. | John Mark Bell | 2009-01-08 | 1 | -12/+13 |
| | | | | | | Add a bunch of extra commentary to stop doxygen warning. svn path=/trunk/hubbub/; revision=5994 | ||||
* | Fix potential read beyond available input data when processing \r in some ↵ | John Mark Bell | 2009-01-06 | 1 | -5/+5 |
| | | | | | | | | | | states. What happened was that, given \rabc, we would advance past the \r, then read at current_offset + len (len == 1). I.E. read 'b' instead of 'a'. If the data in the inputstream's internal buffer happened to end immediately after the \r, then we'd read past the end of the buffer thanks to a bug in lpu_inputstream_peek which was fixed in r5965. In any case, we'd still be looking at the wrong character when looking for CRLF pairs. All regression tests now pass again. svn path=/trunk/hubbub/; revision=5967 | ||||
* | Port to changed lpu API. | John Mark Bell | 2009-01-06 | 1 | -455/+635 |
| | | | | | | | Drop HUBBUB_OOD and just use HUBBUB_NEEDDATA, instead. Currently aborts in bogus comment handling if it encounters a \r at the end of the inputstream's utf-8 buffer. svn path=/trunk/hubbub/; revision=5966 | ||||
* | Fix build breakage | John Mark Bell | 2008-11-30 | 1 | -1/+3 |
| | | | | svn path=/trunk/hubbub/; revision=5851 | ||||
* | lotsa C89, please check. | François Revel | 2008-11-30 | 1 | -48/+91 |
| | | | | svn path=/trunk/hubbub/; revision=5846 | ||||
* | Return errors from tokeniser constructor/destructor | John Mark Bell | 2008-11-09 | 1 | -13/+22 |
| | | | | svn path=/trunk/hubbub/; revision=5664 | ||||
* | Port hubbub to new lpu API | John Mark Bell | 2008-11-08 | 1 | -2/+3 |
| | | | | svn path=/trunk/hubbub/; revision=5656 | ||||
* | Squash memory leak | John Mark Bell | 2008-09-08 | 1 | -0/+2 |
| | | | | svn path=/trunk/hubbub/; revision=5285 | ||||
* | Fixes for handling of CR followed immediately by multibyte sequences. | John Mark Bell | 2008-09-06 | 1 | -59/+94 |
| | | | | | | | Pedantic whitespace changes. More paranoia surrounding entity handling. svn path=/trunk/hubbub/; revision=5266 | ||||
* | Fix segfault caused by trampling the length of the current character when ↵ | John Mark Bell | 2008-08-18 | 1 | -2/+8 |
| | | | | | | | | testing whether the 4 most recently read characters in the data state are <!--. Add a couple of assertions for paranoia. svn path=/trunk/hubbub/; revision=5146 | ||||
* | Do what r5107 for system ID for public IDs. | Andrew Sidwell | 2008-08-13 | 1 | -14/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5108 | ||||
* | Another COLLECT() -> COLLECT_MS() fix. | Andrew Sidwell | 2008-08-13 | 1 | -14/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5107 | ||||
* | Add page which crashed, and fix the bug that caused it to do so. | Andrew Sidwell | 2008-08-13 | 1 | -4/+2 |
| | | | | svn path=/trunk/hubbub/; revision=5106 | ||||
* | Remove the CHAR() macro, which lets make test run again. | Andrew Sidwell | 2008-08-13 | 1 | -80/+74 |
| | | | | svn path=/trunk/hubbub/; revision=5104 | ||||
* | Optimise COLLECT_MS() macro. | Andrew Sidwell | 2008-08-13 | 1 | -5/+3 |
| | | | | svn path=/trunk/hubbub/; revision=5099 | ||||
* | Fix segfault in elimination of duplicate attributes. | John Mark Bell | 2008-08-13 | 1 | -7/+8 |
| | | | | svn path=/trunk/hubbub/; revision=5098 | ||||
* | Optimise comment states slightly, taking advantage of the fact that buffers ↵ | Andrew Sidwell | 2008-08-13 | 1 | -20/+1 |
| | | | | | | store their own length and when emitting the comment, the buffer contains the whole comment and nothing else. svn path=/trunk/hubbub/; revision=5095 | ||||
* | Fix tokeniser so make test passes, with possible perf hit. | Andrew Sidwell | 2008-08-13 | 1 | -18/+43 |
| | | | | svn path=/trunk/hubbub/; revision=5093 | ||||
* | Use COLLECT_MS() macro rather than COLLECT() in attribute values. | Andrew Sidwell | 2008-08-13 | 1 | -4/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5086 | ||||
* | Sanity checking for string data | John Mark Bell | 2008-08-13 | 1 | -0/+39 |
| | | | | svn path=/trunk/hubbub/; revision=5080 | ||||
* | Remember to clear the self-closing flag when emitting a tag token. | Andrew Sidwell | 2008-08-11 | 1 | -0/+3 |
| | | | | svn path=/trunk/hubbub/; revision=5030 | ||||
* | - Remove an unused function from utils/string.c | Andrew Sidwell | 2008-08-11 | 1 | -46/+1 |
| | | | | | | | - Remove the no-op FINISH() macro from the tokeniser - Fix a typo in the charset detector svn path=/trunk/hubbub/; revision=5007 | ||||
* | Move one step closer to getting encoding changes working. | Andrew Sidwell | 2008-08-11 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=5000 | ||||
* | Propagate more return codes up the chain from the token emitter. | Andrew Sidwell | 2008-08-09 | 1 | -55/+38 |
| | | | | svn path=/trunk/hubbub/; revision=4980 | ||||
* | Propagate the use of hubbub_error up into at least a bit of the treebuilder. | Andrew Sidwell | 2008-08-09 | 1 | -2/+4 |
| | | | | svn path=/trunk/hubbub/; revision=4979 | ||||
* | Move tokeniser.c across to using hubbub_error for return codes, not bools, ↵ | Andrew Sidwell | 2008-08-09 | 1 | -227/+236 |
| | | | | | | so that "encoding change" requests can be sent back down the chain from the treebuilder at some point. svn path=/trunk/hubbub/; revision=4978 | ||||
* | Really fix handling of entities in attributes | John Mark Bell | 2008-08-04 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=4894 | ||||
* | Fix previous commit. | Andrew Sidwell | 2008-08-04 | 1 | -6/+14 |
| | | | | svn path=/trunk/hubbub/; revision=4893 | ||||
* | Fix bug in hubbub & html5lib tests relating to parsing entities ending ↵ | Andrew Sidwell | 2008-08-04 | 1 | -1/+1 |
| | | | | | | without semicolons in attribute values. svn path=/trunk/hubbub/; revision=4892 | ||||
* | Micro-optimisation | Andrew Sidwell | 2008-08-04 | 1 | -2/+1 |
| | | | | svn path=/trunk/hubbub/; revision=4890 | ||||
* | Rearrange emitting functions so they're all clumped together at the bottom ↵ | Andrew Sidwell | 2008-08-04 | 1 | -162/+172 |
| | | | | | | of the file. svn path=/trunk/hubbub/; revision=4889 | ||||
* | Refactor tokeniser token-emitting bits to remove unnecessary conditionals. | Andrew Sidwell | 2008-08-04 | 1 | -63/+62 |
| | | | | svn path=/trunk/hubbub/; revision=4888 | ||||
* | Change tokeniser->context.chars from a hubbub_string whose ptr part is never ↵ | Andrew Sidwell | 2008-08-03 | 1 | -158/+155 |
| | | | | | | used to simply tokeniser->context.pending. svn path=/trunk/hubbub/; revision=4882 | ||||
* | Remove some excessive indentation. | Andrew Sidwell | 2008-08-03 | 1 | -27/+23 |
| | | | | svn path=/trunk/hubbub/; revision=4881 | ||||
* | Remove the now-unnecessary COLLECT_*NOBUF() macros, replace them with the ↵ | Andrew Sidwell | 2008-08-03 | 1 | -79/+68 |
| | | | | | | single statements they expanded to. svn path=/trunk/hubbub/; revision=4880 | ||||
* | Remove tokeniser->to_buf, SWITCH(), and COLLECT_CHAR(), none of which are ↵ | Andrew Sidwell | 2008-08-03 | 1 | -54/+26 |
| | | | | | | now necessary. Should should provide a small speedup. svn path=/trunk/hubbub/; revision=4873 | ||||
* | - Replace NDEBUG #ifdefs with #if 0s, to avoid slowing down Hubbub when ↵ | Andrew Sidwell | 2008-08-03 | 1 | -44/+22 |
| | | | | | | | | | profiling - Fix a few instances of where the wrong COLLECT*() macros were used - Always use emit_current_chars(tokeniser) rather than emit_character_token(tokeniser, tokeniser->context.chars), to make sure that the pointer is always set correctly svn path=/trunk/hubbub/; revision=4872 |