Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | small fix to 'in_head_noscript' moderupindersingh/libhubbub | Rupinder Singh Khokhar | 2014-08-01 | 1 | -1/+2 |
| | |||||
* | correctly handle meta element in head | Rupinder Singh Khokhar | 2014-08-01 | 1 | -1/+17 |
| | |||||
* | The foreign breakout method doesn't neccessarily break out of foreign state. ↵ | Rupinder Singh Khokhar | 2014-08-01 | 2 | -20/+15 |
| | | | | Hence, it is only a candidate to do so. It will be decided during reprocessing whether to breakout or not. | ||||
* | Fixed check for special element. Also fixed the adoption agency. | Rupinder Singh Khokhar | 2014-08-01 | 3 | -10/+36 |
| | |||||
* | Added support for template tag. However, the client currently doesn't ↵ | Rupinder Singh Khokhar | 2014-08-01 | 12 | -53/+193 |
| | | | | support it. Hence, the only thing left to be done is to callback the client during insert_element, taking proper care of the template tags | ||||
* | template insertion mode stack implemented | Rupinder Singh Khokhar | 2014-08-01 | 3 | -2/+83 |
| | |||||
* | Fixed a bug in cdata block tokenisation. Also fixed handling of br close tag ↵ | Rupinder Singh Khokhar | 2014-08-01 | 2 | -6/+9 |
| | | | | in body | ||||
* | Correctly handled NULL characters at some places | Rupinder Singh Khokhar | 2014-08-01 | 3 | -2/+17 |
| | |||||
* | Minor fixes to charset detection. Currently pre-scanning upto 1024 bytes. ↵ | Rupinder Singh Khokhar | 2014-08-01 | 1 | -14/+22 |
| | | | | Removed larger cases in which encoding declaration is beyond 512 bytes, for the time-being. Also removed some outdated tests. | ||||
* | This is perhaps the best way to treat an incoming script content_model_flag. ↵ | Rupinder Singh Khokhar | 2014-08-01 | 6 | -52/+86 |
| | | | | Black-boxing is mantained, & a switch is allowed only to a script data state. Script content model can't be incorporated in the style of rcdata & rawtext data, wherein it was easy to make a 1to1 matching between handlers and states. Also fixed the tokeniser to properly handle script tags. tokeniser was earlier modified in commit 7b6b8eb6fcbdd175540902ca699e7e704b90f9e0, has now been tested & bugs removed. Additionaly, in every loop of the dispatcher, it will be checked whether it is safe for tokeniser to process CDATA, and corresponding opts on the tokeniser will be set. this may slow the library down because of repeated checking in every loop. The tokeniser code has become unbearably messy due to the script tags, so a little tiding up & optimisation will be done later ;) | ||||
* | Fixed dd/dt/li start tag handler once again. Also fixed resting of insertion ↵ | Rupinder Singh Khokhar | 2014-08-01 | 3 | -16/+45 |
| | | | | mode. Also fixed some things in after_after_frameset state | ||||
* | appending to formatting list makes use of comparing the attributes. Since we ↵ | Rupinder Singh Khokhar | 2014-08-01 | 1 | -2/+31 |
| | | | | now have the facility to retrive attributes, this has now been implemented with a not so optimised brute force search | ||||
* | Now, since we have the support for retriving attributes from context, the ↵ | Rupinder Singh Khokhar | 2014-08-01 | 3 | -45/+124 |
| | | | | foreing breakout function is updated to incorporate checking of attributes | ||||
* | Fixed some misplaced tags in in_body insertion mode. Also improved support ↵ | Rupinder Singh Khokhar | 2014-08-01 | 3 | -33/+55 |
| | | | | for appending attributes to an element already in the stack | ||||
* | Small fix to handle rp/rt start tag in body | Rupinder Singh Khokhar | 2014-08-01 | 2 | -1/+26 |
| | |||||
* | Added support to get attribute names & values from the context. This slows ↵ | Rupinder Singh Khokhar | 2014-08-01 | 7 | -17/+161 |
| | | | | down the library a very little bit. Optimizations will be done later. | ||||
* | The foreign state is still bugy and fails some tests. It will be debugged ↵ | Rupinder Singh Khokhar | 2014-08-01 | 1 | -35/+75 |
| | | | | after neccessary supporting modules are implemented | ||||
* | fixed handlers of table related and select related elements | Rupinder Singh Khokhar | 2014-08-01 | 5 | -16/+90 |
| | |||||
* | added provision to get quirks mode of document from treebuilder, assuming ↵ | Rupinder Singh Khokhar | 2014-08-01 | 5 | -6/+126 |
| | | | | treebuilder has one document associated with it. Also fixed table endtag handler in in_table insertion mode. Also fixed table starttag handler in in_body insertion mode | ||||
* | fixed isindex and form start tag handlers | Rupinder Singh Khokhar | 2014-08-01 | 1 | -62/+70 |
| | |||||
* | Fixed enumerator entries & name-type mapping. Also fixed the option/optgroup ↵ | Rupinder Singh Khokhar | 2014-08-01 | 4 | -26/+50 |
| | | | | tag starting handler. Also emitted on encountering a '<' in script related state. Also fixed the check for special element. | ||||
* | SCRIPT related states added to the tokeniser. This might still be buggy. All ↵ | Rupinder Singh Khokhar | 2014-08-01 | 1 | -16/+393 |
| | | | | the script relted bug patches will be rebased from here. Some states can still be collapsed & the code can still be made more understandable & beautiful ;) | ||||
* | Fixing some steps in table insertion mode, handling input tags | Rupinder Singh Khokhar | 2014-08-01 | 2 | -5/+32 |
| | |||||
* | small fix to handle the param tag open | Rupinder Singh Khokhar | 2014-08-01 | 1 | -1/+4 |
| | |||||
* | fixed content model switch at a place. Also added another step to handle xmp ↵ | Rupinder Singh Khokhar | 2014-08-01 | 3 | -1/+10 |
| | | | | in body | ||||
* | fixed dd,dt&li handler. Also fixed the scoping lists. Also added a missing ↵ | Rupinder Singh Khokhar | 2014-08-01 | 8 | -53/+69 |
| | | | | summary tag to the start tag processor conditional. | ||||
* | Fixed The adoption agency & related things | Rupinder Singh Khokhar | 2014-08-01 | 7 | -45/+105 |
| | |||||
* | Random rumblings-- unclean commit | Rupinder Singh Khokhar | 2014-08-01 | 5 | -56/+87 |
| | |||||
* | Handling LF after CR in bogus comment state & changing few tests to make it ↵ | Rupinder Singh Khokhar | 2014-07-09 | 1 | -2/+3 |
| | | | | in accordance with the tester interface | ||||
* | added RAWTEXT contentModel. Also removed an if(c='-') condition because I ↵ | Rupinder Singh Khokhar | 2014-07-09 | 1 | -95/+93 |
| | | | | felt it was extranious, with no clear logic, not according to the specs. Also fixed a sever bug in handling the tagname state. In all 3 more test files give a PASS | ||||
* | Adding PLAINTEXT State & fixing the tester at places | Rupinder Singh Khokhar | 2014-07-09 | 1 | -3/+7 |
| | |||||
* | There could have been a better way to handle EOFs in b/w tag-names and ↵ | Rupinder Singh Khokhar | 2014-07-09 | 1 | -22/+44 |
| | | | | attribute values. [Fix] Numeric overflow check algo. [fix] cp1252 tables. | ||||
* | Adding the COMMENT_END_BANG state for test3.dat | Rupinder Singh Khokhar | 2014-07-09 | 1 | -1/+24 |
| | |||||
* | [Fix] tokeniser wrongly emitted a replacement character instead of utf8 ↵ | Rupinder Singh Khokhar | 2014-07-09 | 1 | -2/+8 |
| | | | | NULL. Also, the tester used strlen to calculate string lengths--this seg faults if a null is passed-- this is also fixed. | ||||
* | Updating Named Entities API in tokeniser | Rupinder Singh Khokhar | 2014-07-09 | 3 | -50/+70 |
| | |||||
* | 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 |