Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 for spurious attributes on implied tbody and colgroup by takkaria. | Michael Drake | 2008-09-06 | 1 | -1/+5 | |
| | | | | svn path=/trunk/hubbub/; revision=5262 | |||||
* | 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 | |||||
* | Refactor the generic rcdata mode so it's more like the script collection ↵ | Andrew Sidwell | 2008-08-15 | 4 | -39/+32 | |
| | | | | | | mode, and then remove an unused variable in the treebuilder state. svn path=/trunk/hubbub/; revision=5132 | |||||
* | Get make test running again. | Andrew Sidwell | 2008-08-15 | 1 | -1/+2 | |
| | | | | svn path=/trunk/hubbub/; revision=5125 | |||||
* | 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 | |||||
* | Fix script collection now that pointers can change between calls. | Andrew Sidwell | 2008-08-13 | 1 | -34/+30 | |
| | | | | svn path=/trunk/hubbub/; revision=5082 | |||||
* | 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 | |||||
* | - Add N_ELEMENTS() macro globally rather than using sizeof(x) / ↵ | Andrew Sidwell | 2008-08-11 | 3 | -60/+63 | |
| | | | | | | | | | sizeof(x[0]) everywhere - In anticipation of interning tag names, make the big map of name->type store them in lowercase - Take advantage of the previous change to optimise away many calls to strlen svn path=/trunk/hubbub/; revision=5010 | |||||
* | Remove reminders to support UTF-16, since we don't need to anymore. | Andrew Sidwell | 2008-08-11 | 5 | -9/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=5009 | |||||
* | - Remove an unused function from utils/string.c | Andrew Sidwell | 2008-08-11 | 4 | -77/+5 | |
| | | | | | | | - Remove the no-op FINISH() macro from the tokeniser - Fix a typo in the charset detector svn path=/trunk/hubbub/; revision=5007 | |||||
* | Bring the treebuilder up-to-date with spec. | Andrew Sidwell | 2008-08-11 | 1 | -6/+4 | |
| | | | | svn path=/trunk/hubbub/; revision=5003 | |||||
* | Move one step closer to getting encoding changes working. | Andrew Sidwell | 2008-08-11 | 4 | -21/+24 | |
| | | | | svn path=/trunk/hubbub/; revision=5000 | |||||
* | Make the encoding change callback send the textual name rather than the ↵ | Andrew Sidwell | 2008-08-10 | 1 | -2/+6 | |
| | | | | | | mibenum value. svn path=/trunk/hubbub/; revision=4992 | |||||
* | Add <meta charset> support in the treebuilder. | Andrew Sidwell | 2008-08-10 | 4 | -7/+74 | |
| | | | | svn path=/trunk/hubbub/; revision=4991 | |||||
* | Simplify in_head.c; make sure return codes from handle_in_head() get ↵ | Andrew Sidwell | 2008-08-10 | 5 | -25/+6 | |
| | | | | | | propagated properly. svn path=/trunk/hubbub/; revision=4990 | |||||
* | Switch to using hubbub_error for reprocessing state from just a bool, to ↵ | Andrew Sidwell | 2008-08-10 | 27 | -209/+214 | |
| | | | | | | allow for encoding change info to be returned more easily. svn path=/trunk/hubbub/; revision=4989 | |||||
* | Remove process_in_head(), since it was identical in behaviour to ↵ | Andrew Sidwell | 2008-08-10 | 8 | -30/+8 | |
| | | | | | | handle_in_head(). Remove prototypes for functions no longer existent. svn path=/trunk/hubbub/; revision=4987 | |||||
* | 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 | 3 | -5/+10 | |
| | | | | svn path=/trunk/hubbub/; revision=4979 | |||||
* | Move tokeniser.c across to using hubbub_error for return codes, not bools, ↵ | Andrew Sidwell | 2008-08-09 | 3 | -229/+241 | |
| | | | | | | so that "encoding change" requests can be sent back down the chain from the treebuilder at some point. svn path=/trunk/hubbub/; revision=4978 | |||||
* | Remove some commented-out code that doesn't reflect the spec's intention. ↵ | Andrew Sidwell | 2008-08-09 | 1 | -11/+3 | |
| | | | | | | Filed a bug upstream on the issue so the spec's wording can be fixed. (http://www.w3.org/Bugs/Public/show_bug.cgi?id=5944) svn path=/trunk/hubbub/; revision=4976 | |||||
* | Remove "spec up to date" lines in source. | Andrew Sidwell | 2008-08-09 | 4 | -8/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4975 | |||||
* | Bring encoding detection tests up-to-date with html5lib, fix Hubbub-specific ↵ | Andrew Sidwell | 2008-08-09 | 1 | -51/+109 | |
| | | | | | | ones, and bring the csdetect algorithm up-to-date with that in the spec. svn path=/trunk/hubbub/; revision=4974 | |||||
* | Make scripting enable flag configurable | John Mark Bell | 2008-08-04 | 6 | -4/+20 | |
| | | | | svn path=/trunk/hubbub/; revision=4895 | |||||
* | 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 | |||||
* | Fix buildsystem for cross compilation | John Mark Bell | 2008-08-03 | 1 | -2/+2 | |
| | | | | svn path=/trunk/hubbub/; revision=4884 | |||||
* | 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 | |||||
* | Stop pretending Hubbub has an internal encoding. | Andrew Sidwell | 2008-08-02 | 1 | -2/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4859 | |||||
* | Fix copy-and-paste error in previous commit. | Andrew Sidwell | 2008-07-31 | 1 | -1/+1 | |
| | | | | svn path=/trunk/hubbub/; revision=4845 | |||||
* | Handle CRs correctly everwhere. | Andrew Sidwell | 2008-07-31 | 1 | -3/+123 | |
| | | | | svn path=/trunk/hubbub/; revision=4844 | |||||
* | Handle NUL properly everywhere it should be. | Andrew Sidwell | 2008-07-31 | 1 | -5/+12 | |
| | | | | svn path=/trunk/hubbub/; revision=4843 |