summaryrefslogtreecommitdiffstats
path: root/parser/html
Commit message (Collapse)AuthorAgeLines
* Bug 1430951 - Avoid element name atomizing to improve performance of ↵Gaming4JC2020-01-26-1/+2
| | | | | | | | LookupCustomElementDefinition Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead. Tag UXP Issue #1344
* Bug 1415761 - Catch the exception and rethrow it after invoking custom ↵Gaming4JC2020-01-26-1/+2
| | | | | | | | elements reactions; The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235. Tag UXP Issue #1344
* Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also ↵Gaming4JC2020-01-26-2/+5
| | | | | | removing parts of v0. Tag UXP Issue #1344
* Bug 1378079 - Part 3: Complete the steps related to custom elements in ↵Gaming4JC2020-01-26-82/+172
| | | | | | | | "create an element for a token". With fixup for missing header due to unified builds. Tag UXP Issue #1344
* Regenerate Parser for 483155Gaming4JC2020-01-26-1795/+3089
| | | | Tag UXP Issue #1344
* Fix Build: We don't have SVG or MathML prefs yetGaming4JC2020-01-26-24/+0
| | | | | | See Bug 1173199 / 1216893 Tag UXP Issue #1344
* Fix aAttributesGaming4JC2020-01-26-0/+1
| | | | | | Fallout from 483155 Tag UXP Issue #1344
* Fix ISINDEXGaming4JC2020-01-26-1/+1
| | | | | | Since we want to keep this element, it has to be adapted to the parser changes in 483155 Tag UXP Issue #1344
* Add missing space to ElementName.java self-regeneration code.Gaming4JC2020-01-26-1/+1
| | | | Tag UXP Issue #1344
* Add missing elements from Bug 483155Gaming4JC2020-01-26-0/+8
| | | | Tag UXP Issue #1344
* Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.Gaming4JC2020-01-26-96/+377
| | | | | | This is all the manual work for Bug 483155, minus the added functionality to disable SVG and MathML which can be done at any time and are out of scope. Tag UXP Issue #1344
* Bug 483155 - Put Gecko content creator function pointers on ElementName.Gaming4JC2020-01-26-81/+513
| | | | Tag UXP Issue #1344
* Bug 1355779 - Skip interned ElementName lookup for Custom Elements (ones ↵Gaming4JC2020-01-26-262/+280
| | | | | | | | with hyphen). Regen. Tag UXP Issue #1344
* Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements ↵Gaming4JC2020-01-26-8/+39
| | | | | | (ones with hyphen). Tag UXP Issue #1344
* Bug 1378079 - Part 1: Gecko changes for adding attribute 'is' to parser.Gaming4JC2020-01-26-343/+349
| | | | Tag UXP Issue #1344
* Bug 1378079 - Add attribute 'is' to HTML parser.Gaming4JC2020-01-26-634/+637
| | | | Tag UXP Issue #1344
* Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-981/+1019
| | | | | | | | in HTML parser from sorted to level order BST in order to take advantage of cache during lookup. HTML Regen. Tag UXP Issue #1344
* Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-1164/+1164
| | | | | | | | from sorted to level order BST in order to take advantage of cache during lookup. Java Regen. Tag UXP Issue #1344
* Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-10/+108
| | | | | | from sorted to level order BST in order to take advantage of cache during lookup. Tag UXP Issue #1344
* Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-2048/+2256
| | | | | | HTML Regen. Tag UXP Issue #1344
* Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-133/+134
| | | | | | Manual changes Tag UXP Issue #1344
* Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-80/+72
| | | | Tag UXP Issue #1344
* Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to ↵Gaming4JC2020-01-26-71/+66
| | | | | | | | avoid malloc. HTML Regen. Tag UXP Issue #1344
* Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to ↵Gaming4JC2020-01-26-179/+212
| | | | | | | | | | avoid malloc. - Removes nsHtml5ReleasableAttributeName - Adds nsHtml5AttributeEntry.h - Makes nsHtml5HtmlAttributes no longer gentered. Tag UXP Issue #1344
* Bug 1355479 - Remove isindex on the Java side and allow the C++ side to ↵Gaming4JC2020-01-26-336/+180
| | | | | | reduce malloc in attribute handling. Tag UXP Issue #1344
* Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-50/+0
| | | | | | | | non-interned element name. Fix build - Remove no longer used ReleaseableElement Tag UXP Issue #1344
* Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-64/+69
| | | | | | | | non-interned element name. HTML Regen. Tag UXP Issue #1344
* Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-90/+109
| | | | | | non-interned element name. Tag UXP Issue #1344
* Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.Gaming4JC2020-01-26-5186/+5214
| | | | | | HTML Regen. Tag UXP Issue #1344
* Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.Gaming4JC2020-01-26-2641/+2641
| | | | | | Java Regen. Tag UXP Issue #1344
* Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.Gaming4JC2020-01-26-36/+83
| | | | Tag UXP Issue #1344
* Bug 1352082 - Avoid shifting a signed integer left in C++.Gaming4JC2020-01-26-10/+10
| | | | Tag UXP Issue #1344
* Bug 1352082 - Avoid shifting a signed integer left in C++.Gaming4JC2020-01-26-9/+53
| | | | Tag UXP Issue #1344
* Bug 1398401 - Add preference check for custom element setup.Gaming4JC2020-01-26-1/+3
| | | | Tag UXP Issue #1344
* Update readme instructions for how to use the java html5 parser codegen makefileMatt A. Tobin2020-01-16-18/+13
|
* Regenerate nsHtml5*.cpp files from java htmlparser sourcesMatt A. Tobin2020-01-16-132/+100
|
* Update the html5 parser java codegen makefile to clean up snapshot javasrcMatt A. Tobin2020-01-16-1/+4
|
* Remove obsolete javasrc snapshotMatt A. Tobin2020-01-16-20001/+0
|
* Update java htmlparser copyright on code to be translated to cppMatt A. Tobin2020-01-16-0/+20
|
* Fix an issue with the html5 tokenizer and tree builder (java htmlparser)Matt A. Tobin2020-01-15-18/+35
|
* Bug 1562033Matt A. Tobin2020-01-15-11/+1
| | | | Adjust tokenization of U+0000 (java htmlparser)
* Bug 1347737 - Introduce a new non-heap-allocated type for holding ↵Matt A. Tobin2020-01-15-33/+38
| | | | nsStringBuffer* in the HTML parser. (java htmlparser)
* Bug 1555523 (java htmlparser version)Matt A. Tobin2020-01-15-6/+3
|
* Bug 1322938 - Make the tree builder aware of <dialog>.Matt A. Tobin2020-01-15-43/+46
| | | | Tag #1343 | https://hg.mozilla.org/projects/htmlparser/rev/d9bdf700af247563fec9b07b52ede6bf61edd513
* Update the java codegen makefile for having the two libs in-tree and change ↵Matt A. Tobin2020-01-15-24/+6
| | | | a few target names so they aren't obnoxious
* Add the java javaparserMatt A. Tobin2020-01-15-0/+28525
| | | | | https://github.com/javaparser/javaparser/ Invisible tag: javaparser-1.0.6
* Add java htmlparser sources that match the original 52-level stateMatt A. Tobin2020-01-15-0/+62553
| | | | | https://hg.mozilla.org/projects/htmlparser/ Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d
* Reinstate the java->c++ source, generator code + documentation.wolfbeast2020-01-13-0/+20210
| | | | | | | | We've kept the java source up-to-date until its removal, so there should be very little additional java mangling needed to have it back up to speed and usable again. This reverts commit c6446f1126232935c85397aac493113dd38496cd.
* Bug 1322938 - Make the HTML tree builder aware of <dialog>.Gaming4JC2020-01-07-221/+227
| | | | | Original patch by :hsivonen Tag #1343
* Adjust tokenization of U+0000Henri Sivonen2019-10-24-13/+2
|