summaryrefslogtreecommitdiff
path: root/src/treebuilder
Commit message (Collapse)AuthorAgeFilesLines
* strncasecmp definition is in strings.h which was not being includedVincent Sanders2014-09-041-0/+1
|
* Remove client allocation function and update for new lpu API.Michael Drake2013-12-144-42/+25
|
* Only call script complete callback if scripting is enabledVincent Sanders2012-07-051-1/+2
|
* Add Script complete callbackVincent Sanders2012-07-053-1/+18
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/hubbub/; revision=14006
* Fix handling of xmlns attributes on foreign content root elementsJohn Mark Bell2011-10-271-2/+3
| | | | svn path=/trunk/hubbub/; revision=13083
* Fix build with GCC 4.6John Mark Bell2011-07-2616-173/+57
| | | | svn path=/trunk/hubbub/; revision=12628
* Hand off comparison to utility string comparisons.John Mark Bell2009-07-121-1/+2
| | | | svn path=/trunk/hubbub/; revision=8473
* Fix string comparisons.John Mark Bell2009-07-121-15/+4
| | | | svn path=/trunk/hubbub/; revision=8472
* Fix broken error checking and return in hubbub_parser_completed.John Mark Bell2009-06-201-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 Bell2009-05-271-3/+3
| | | | svn path=/trunk/hubbub/; revision=7583
* Lose trailing commas.John Mark Bell2009-04-153-3/+3
| | | | | | GCC 2.95 compatibility. svn path=/trunk/hubbub/; revision=7095
* Merged revisions 7071-7082 via svnmerge from John Mark Bell2009-04-152-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 trunkJohn Mark Bell2009-04-1524-788/+1338
| | | | svn path=/trunk/hubbub/; revision=7082
* hubbub_alloc -> hubbub_allocator_fnJohn Mark Bell2009-04-043-3/+5
| | | | svn path=/trunk/hubbub/; revision=7043
* First cut at porting hubbub's buildsystem to the core toolsJohn Mark Bell2009-03-241-44/+2
| | | | svn path=/trunk/hubbub/; revision=6837
* Fix typoJohn Mark Bell2009-03-111-1/+1
| | | | svn path=/trunk/hubbub/; revision=6770
* Fix form association. It kinda helps to associate the form-related object, ↵John Mark Bell2009-03-101-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 specJohn Mark Bell2009-03-1019-563/+528
| | | | svn path=/trunk/hubbub/; revision=6764
* Fix bug 2673645John Mark Bell2009-03-091-2/+5
| | | | | | <form><option>foo</option></form> => abort. svn path=/trunk/hubbub/; revision=6746
* Actually associate textareas with formsJohn Mark Bell2009-02-201-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 Bell2009-01-231-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 Bell2009-01-081-0/+1
| | | | svn path=/trunk/hubbub/; revision=6000
* Add documentation from a couple of missing parametersJohn Mark Bell2009-01-081-2/+4
| | | | svn path=/trunk/hubbub/; revision=5999
* And some moreJohn Mark Bell2009-01-082-3/+3
| | | | svn path=/trunk/hubbub/; revision=5998
* Squash more doxygen warnings. Don't use html tags in comments, folks.John Mark Bell2009-01-081-25/+23
| | | | svn path=/trunk/hubbub/; revision=5997
* Make doxygen produce API documentation. I guess it helps if you enable the ↵John Mark Bell2009-01-081-1/+1
| | | | | | | | right options. Fix a couple more doxygen warnings. svn path=/trunk/hubbub/; revision=5996
* Use doxygen to create API documentation.John Mark Bell2009-01-084-13/+31
| | | | | | Add a bunch of extra commentary to stop doxygen warning. svn path=/trunk/hubbub/; revision=5994
* C89François Revel2008-11-307-46/+58
| | | | svn path=/trunk/hubbub/; revision=5843
* Return errors from treebuilder constructor/destructorJohn Mark Bell2008-11-092-19/+29
| | | | svn path=/trunk/hubbub/; revision=5665
* Fixup dubious charsetsJohn Mark Bell2008-10-141-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 Bell2008-09-181-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 todosJohn Mark Bell2008-09-082-5/+0
| | | | svn path=/trunk/hubbub/; revision=5290
* Fix build failures. Quite how these were missed before, I don't know.John Mark Bell2008-09-073-0/+11
| | | | svn path=/trunk/hubbub/; revision=5277
* Fix for spurious attributes on implied tbody and colgroup by takkaria.Michael Drake2008-09-061-1/+5
| | | | svn path=/trunk/hubbub/; revision=5262
* Refactor the generic rcdata mode so it's more like the script collection ↵Andrew Sidwell2008-08-154-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 Sidwell2008-08-151-1/+2
| | | | svn path=/trunk/hubbub/; revision=5125
* Fix script collection now that pointers can change between calls.Andrew Sidwell2008-08-131-34/+30
| | | | svn path=/trunk/hubbub/; revision=5082
* - Add N_ELEMENTS() macro globally rather than using sizeof(x) / ↵Andrew Sidwell2008-08-112-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 Sidwell2008-08-115-9/+1
| | | | svn path=/trunk/hubbub/; revision=5009
* Bring the treebuilder up-to-date with spec.Andrew Sidwell2008-08-111-6/+4
| | | | svn path=/trunk/hubbub/; revision=5003
* Move one step closer to getting encoding changes working.Andrew Sidwell2008-08-111-6/+12
| | | | svn path=/trunk/hubbub/; revision=5000
* Make the encoding change callback send the textual name rather than the ↵Andrew Sidwell2008-08-101-2/+6
| | | | | | mibenum value. svn path=/trunk/hubbub/; revision=4992
* Add <meta charset> support in the treebuilder.Andrew Sidwell2008-08-101-5/+67
| | | | svn path=/trunk/hubbub/; revision=4991
* Simplify in_head.c; make sure return codes from handle_in_head() get ↵Andrew Sidwell2008-08-105-25/+6
| | | | | | propagated properly. svn path=/trunk/hubbub/; revision=4990
* Switch to using hubbub_error for reprocessing state from just a bool, to ↵Andrew Sidwell2008-08-1026-209/+211
| | | | | | 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 Sidwell2008-08-108-30/+8
| | | | | | handle_in_head(). Remove prototypes for functions no longer existent. svn path=/trunk/hubbub/; revision=4987
* Propagate the use of hubbub_error up into at least a bit of the treebuilder.Andrew Sidwell2008-08-092-3/+6
| | | | svn path=/trunk/hubbub/; revision=4979
* Remove some commented-out code that doesn't reflect the spec's intention. ↵Andrew Sidwell2008-08-091-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 Sidwell2008-08-094-8/+1
| | | | svn path=/trunk/hubbub/; revision=4975