Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support falling back to space separated charset | Daniel Silverstone | 2017-09-09 | 1 | -2/+17 |
| | | | | | | | | | | | | | | | | In some cases, for example, Apple Mail, programs generate HTML with apallingly bad meta tags such as: <meta content="text/html charset=utf-8"> This is bad because *a* no http-equiv="Content-Type" and *b* because the content type and charset do not have a separating semi-colon. Sadly, Chrome et-al support this, so we need to in Hubbub. This change adjusts the content="" parser to retry if it cannot find a semicolon, and work forwards to first whitespace instead. Fixes: #2549 | ||||
* | make unused variable macro more portable | Vincent Sanders | 2016-02-06 | 1 | -1/+1 |
| | |||||
* | Fix doxygen warnings | Vincent Sanders | 2015-09-01 | 3 | -6/+6 |
| | |||||
* | Fix up for new buildsystem. Remove unused compat hacks. | John-Mark Bell | 2014-11-16 | 1 | -13/+0 |
| | |||||
* | strncasecmp definition is in strings.h which was not being included | Vincent Sanders | 2014-09-04 | 2 | -0/+2 |
| | |||||
* | Remove client allocation function and update for new lpu API. | Michael Drake | 2013-12-14 | 7 | -85/+47 |
| | |||||
* | Fix uninitialised pause variable | Vincent Sanders | 2012-07-13 | 1 | -0/+2 |
| | |||||
* | Add ability to pause tokenisation | Vincent Sanders | 2012-07-10 | 4 | -2/+42 |
| | |||||
* | Remove unused and unneeded extraneous_chunk API | Vincent Sanders | 2012-07-07 | 1 | -35/+0 |
| | |||||
* | Insert data at correct point in input stream. | John-Mark Bell | 2012-07-05 | 3 | -8/+51 |
| | |||||
* | 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 |
| | |||||
* | add hubbub_parser_insert_chunk | Vincent Sanders | 2012-07-03 | 1 | -0/+27 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 5 | -5/+5 |
| | | | | 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 | 17 | -179/+68 |
| | | | | svn path=/trunk/hubbub/; revision=12628 | ||||
* | Fix profile and coverage targets | John Mark Bell | 2010-12-06 | 1 | -1/+3 |
| | | | | svn path=/trunk/hubbub/; revision=11021 | ||||
* | Remove init/final and embed entity trie at build time. r=vince | Daniel Silverstone | 2010-12-04 | 9 | -2540/+78 |
| | | | | svn path=/trunk/hubbub/; revision=10976 | ||||
* | Make locale-agnostic | John Mark Bell | 2009-07-12 | 1 | -2/+13 |
| | | | | svn path=/trunk/hubbub/; revision=8474 | ||||
* | 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 | 2 | -34/+7 |
| | | | | svn path=/trunk/hubbub/; revision=8472 | ||||
* | Better guard for the Norcroft hackery. | John Mark Bell | 2009-07-02 | 1 | -5/+11 |
| | | | | | | When building for Windows, replace strncasecmp with calls to _strnicmp svn path=/trunk/hubbub/; revision=8266 | ||||
* | Fix broken error checking and return in hubbub_parser_completed. | John Mark Bell | 2009-06-20 | 3 | -53/+67 |
| | | | | | | | | 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 | ||||
* | 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 | ||||
* | 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 | ||||
* | Improve error handling in the tokeniser | John Mark Bell | 2009-04-06 | 1 | -62/+154 |
| | | | | svn path=/trunk/hubbub/; revision=7052 | ||||
* | Remove hubbub_parser_parse_extraneous_chunk -- this is not supported yet. ↵ | John Mark Bell | 2009-04-04 | 1 | -0/+2 |
| | | | | | | Surround implementation with #if 0 pending its reintroduction svn path=/trunk/hubbub/; revision=7045 | ||||
* | Constify | John Mark Bell | 2009-04-04 | 1 | -2/+2 |
| | | | | svn path=/trunk/hubbub/; revision=7044 | ||||
* | hubbub_alloc -> hubbub_allocator_fn | John Mark Bell | 2009-04-04 | 11 | -18/+22 |
| | | | | svn path=/trunk/hubbub/; revision=7043 | ||||
* | Move hubbub_error_from_string into testutils.h and remove it from the library. | John Mark Bell | 2009-04-04 | 1 | -25/+0 |
| | | | | svn path=/trunk/hubbub/; revision=7041 | ||||
* | First cut at porting hubbub's buildsystem to the core tools | John Mark Bell | 2009-03-24 | 5 | -225/+10 |
| | | | | 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 | ||||
* | 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 | ||||
* | 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 | 2 | -2/+2 |
| | | | | | | | | 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 | 7 | -31/+53 |
| | | | | | | Add a bunch of extra commentary to stop doxygen warning. svn path=/trunk/hubbub/; revision=5994 | ||||
* | Ok, let's actually compile the code before committing it. | John Mark Bell | 2009-01-06 | 1 | -0/+1 |
| | | | | svn path=/trunk/hubbub/; revision=5971 |