Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | treebuilder: Fix debug build variant with new element_type_to_name(). | Michael Drake | 2021-05-27 | 3 | -19/+27 |
| | | | | This uses the gperf-generated wordlist. | ||||
* | treebuilder: Add global table option to allow reuse of wordlist. | Michael Drake | 2021-05-27 | 1 | -0/+1 |
| | |||||
* | treebuilder: Return to running gperf at build time. | Michael Drake | 2021-05-27 | 5 | -728/+45 |
| | | | | Now we include the generated C file directly, in a new C file. | ||||
* | treebuilder: Include generated element type lookup source. | Michael Drake | 2021-05-24 | 2 | -7/+706 |
| | | | | | | | | | Previously this source was generated at build time, however there was variance in the versions of gperf on all the platforms that we support. The comment at the top of the generated source file contains a command that can be used to regenerate it manually. | ||||
* | Treebuilder: Allow element_type_from_name to be inlined. | Michael Drake | 2021-05-15 | 3 | -26/+26 |
| | | | | | | | | Now it is mostly a wrapper for the gperf-generated hubbub_element_type_lookup. This reduces total instruction fetch cost from 4,523,112,517 to 4,511,919,445. | ||||
* | Treebuilder: Massively optimise element type from name with gperf. | Michael Drake | 2021-05-15 | 5 | -161/+194 |
| | | | | | | | | | | Loading the html5 single page spec: * We were spending 10.81% of total runtime in element_type_from_name. Now it takes 0.66% of total runtime. * Total instruction fetch cost is reduced from 5,660,475,511 to 4,523,112,517. | ||||
* | Treebuilder: Add some new element names. | Michael Drake | 2020-05-22 | 3 | -15/+28 |
| | |||||
* | Treebuilder: Reorganise name_type_map[] src to be easier to change. | Michael Drake | 2020-05-22 | 1 | -48/+96 |
| | |||||
* | treebuilder: Add some asserts to hopefully quieten scan-build | Daniel Silverstone | 2020-02-21 | 1 | -4/+10 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | strncasecmp definition is in strings.h which was not being included | Vincent Sanders | 2014-09-04 | 1 | -0/+1 |
| | |||||
* | Remove client allocation function and update for new lpu API. | Michael Drake | 2013-12-14 | 4 | -42/+25 |
| | |||||
* | Only call script complete callback if scripting is enabled | Vincent Sanders | 2012-07-05 | 1 | -1/+2 |
| | |||||
* | Add Script complete callback | Vincent Sanders | 2012-07-05 | 3 | -1/+18 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=14006 | ||||
* | Fix handling of xmlns attributes on foreign content root elements | John Mark Bell | 2011-10-27 | 1 | -2/+3 |
| | | | | svn path=/trunk/hubbub/; revision=13083 | ||||
* | Fix build with GCC 4.6 | John Mark Bell | 2011-07-26 | 16 | -173/+57 |
| | | | | svn path=/trunk/hubbub/; revision=12628 | ||||
* | Hand off comparison to utility string comparisons. | John Mark Bell | 2009-07-12 | 1 | -1/+2 |
| | | | | svn path=/trunk/hubbub/; revision=8473 | ||||
* | Fix string comparisons. | John Mark Bell | 2009-07-12 | 1 | -15/+4 |
| | | | | svn path=/trunk/hubbub/; revision=8472 | ||||
* | Fix broken error checking and return in hubbub_parser_completed. | John Mark Bell | 2009-06-20 | 1 | -48/+48 |
| | | | | | | | | Avoid potentially broken passing of address of an enum where uint32_t * is expected. Pedantic casting for Norcroft. Particularly ugly #ifdef __CC_NORCROFT in utils.h to ensure we have a strncasecmp implementation with that compiler/libraries. svn path=/trunk/hubbub/; revision=7892 | ||||
* | Fix use of uninitialised variable caused by braindead variable naming. | John Mark Bell | 2009-05-27 | 1 | -3/+3 |
| | | | | svn path=/trunk/hubbub/; revision=7583 | ||||
* | Lose trailing commas. | John Mark Bell | 2009-04-15 | 3 | -3/+3 |
| | | | | | | GCC 2.95 compatibility. svn path=/trunk/hubbub/; revision=7095 | ||||
* | Merged revisions 7071-7082 via svnmerge from | John Mark Bell | 2009-04-15 | 2 | -262/+278 |
| | | | | | | | | | | | | | | | | svn://source.netsurf-browser.org/branches/jmb/hubbub-errors ........ r7077 | jmb | 2009-04-15 11:32:43 +0100 (Wed, 15 Apr 2009) | 2 lines Don't bother attempting to allow restarting the parser after an error in the treebuilder. It's far too complicated. ........ r7078 | jmb | 2009-04-15 11:46:12 +0100 (Wed, 15 Apr 2009) | 2 lines Document what should happen in exceptional circumstances ........ svn path=/trunk/hubbub/; revision=7083 | ||||
* | Manually merge r7070 into trunk | John Mark Bell | 2009-04-15 | 24 | -788/+1338 |
| | | | | svn path=/trunk/hubbub/; revision=7082 | ||||
* | hubbub_alloc -> hubbub_allocator_fn | John Mark Bell | 2009-04-04 | 3 | -3/+5 |
| | | | | svn path=/trunk/hubbub/; revision=7043 | ||||
* | First cut at porting hubbub's buildsystem to the core tools | John Mark Bell | 2009-03-24 | 1 | -44/+2 |
| | | | | svn path=/trunk/hubbub/; revision=6837 | ||||
* | Fix typo | John Mark Bell | 2009-03-11 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=6770 | ||||
* | Fix form association. It kinda helps to associate the form-related object, ↵ | John Mark Bell | 2009-03-10 | 1 | -3/+2 |
| | | | | | | rather than whatever happens to be on the top of the stack at the time. svn path=/trunk/hubbub/; revision=6768 | ||||
* | Sync treebuilder with spec | John Mark Bell | 2009-03-10 | 19 | -563/+528 |
| | | | | svn path=/trunk/hubbub/; revision=6764 | ||||
* | Fix bug 2673645 | John Mark Bell | 2009-03-09 | 1 | -2/+5 |
| | | | | | | <form><option>foo</option></form> => abort. svn path=/trunk/hubbub/; revision=6746 | ||||
* | Actually associate textareas with forms | John Mark Bell | 2009-02-20 | 1 | -7/+10 |
| | | | | svn path=/trunk/hubbub/; revision=6578 | ||||
* | Convert UTF-16 meta charsets to UTF-8, given we'll have auto-detected them ↵ | John Mark Bell | 2009-01-23 | 1 | -26/+31 |
| | | | | | | as UTF-8 in the chardet stage. (Credit: Andi Sidwell) svn path=/trunk/hubbub/; revision=6180 | ||||
* | And another one. Now warning free. Huzzah. | John Mark Bell | 2009-01-08 | 1 | -0/+1 |
| | | | | svn path=/trunk/hubbub/; revision=6000 | ||||
* | Add documentation from a couple of missing parameters | John Mark Bell | 2009-01-08 | 1 | -2/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5999 | ||||
* | And some more | John Mark Bell | 2009-01-08 | 2 | -3/+3 |
| | | | | svn path=/trunk/hubbub/; revision=5998 | ||||
* | Squash more doxygen warnings. Don't use html tags in comments, folks. | John Mark Bell | 2009-01-08 | 1 | -25/+23 |
| | | | | svn path=/trunk/hubbub/; revision=5997 | ||||
* | 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 | 4 | -13/+31 |
| | | | | | | Add a bunch of extra commentary to stop doxygen warning. svn path=/trunk/hubbub/; revision=5994 | ||||
* | C89 | François Revel | 2008-11-30 | 7 | -46/+58 |
| | | | | svn path=/trunk/hubbub/; revision=5843 | ||||
* | Return errors from treebuilder constructor/destructor | John Mark Bell | 2008-11-09 | 2 | -19/+29 |
| | | | | svn path=/trunk/hubbub/; revision=5665 | ||||
* | Fixup dubious charsets | John Mark Bell | 2008-10-14 | 1 | -0/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5575 | ||||
* | Ensure we unref collect node if it still exists when we come to destroy the ↵ | John Mark Bell | 2008-09-18 | 1 | -0/+6 |
| | | | | | | | | | treebuilder (this can occur if EOF is encountered when in generic_rcdata/script_collect modes). Note that the spec has since changed here, so we'll need to resync, anyway. This is simply to ensure the testsuite passes once more. svn path=/trunk/hubbub/; revision=5374 | ||||
* | Lose redundant todos | John Mark Bell | 2008-09-08 | 2 | -5/+0 |
| | | | | svn path=/trunk/hubbub/; revision=5290 | ||||
* | Fix build failures. Quite how these were missed before, I don't know. | John Mark Bell | 2008-09-07 | 3 | -0/+11 |
| | | | | svn path=/trunk/hubbub/; revision=5277 | ||||
* | 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 | ||||
* | 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 | ||||
* | Fix script collection now that pointers can change between calls. | Andrew Sidwell | 2008-08-13 | 1 | -34/+30 |
| | | | | svn path=/trunk/hubbub/; revision=5082 | ||||
* | - Add N_ELEMENTS() macro globally rather than using sizeof(x) / ↵ | Andrew Sidwell | 2008-08-11 | 2 | -60/+60 |
| | | | | | | | | | 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 | ||||
* | Bring the treebuilder up-to-date with spec. | Andrew Sidwell | 2008-08-11 | 1 | -6/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5003 |