Gaming4JC
e846da116e
Bug 1355779 - Skip interned ElementName lookup for Custom Elements (ones with hyphen).
...
Regen.
Tag UXP Issue #1344
2020-01-31 07:39:08 +08:00
Gaming4JC
c7ff832ca7
Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen).
...
Tag UXP Issue #1344
2020-01-31 07:39:05 +08:00
Gaming4JC
efcb40fb3d
Bug 1378079 - Part 1: Gecko changes for adding attribute 'is' to parser.
...
Tag UXP Issue #1344
2020-01-31 07:38:59 +08:00
Gaming4JC
0bb3f611c5
Bug 1378079 - Add attribute 'is' to HTML parser.
...
Tag UXP Issue #1344
2020-01-31 07:38:56 +08:00
Gaming4JC
afc180e2f1
Bug 1366241 - Change memory layout of element name and attribute name hashes in HTML parser from sorted to level order BST in order to take advantage of cache during lookup.
...
HTML Regen.
Tag UXP Issue #1344
2020-01-31 07:38:50 +08:00
Gaming4JC
35fd97ab97
Bug 1366241 - Change memory layout of element name and attribute name hashes from sorted to level order BST in order to take advantage of cache during lookup.
...
Java Regen.
Tag UXP Issue #1344
2020-01-31 07:38:47 +08:00
Gaming4JC
3df0912752
Bug 1366241 - Change memory layout of element name and attribute name hashes from sorted to level order BST in order to take advantage of cache during lookup.
...
Tag UXP Issue #1344
2020-01-31 07:38:44 +08:00
Gaming4JC
f4b7430967
Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
...
HTML Regen.
Tag UXP Issue #1344
2020-01-31 07:38:41 +08:00
Gaming4JC
39b7466633
Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
...
Manual changes
Tag UXP Issue #1344
2020-01-31 07:38:37 +08:00
Gaming4JC
d91db14a71
Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
...
Tag UXP Issue #1344
2020-01-31 07:38:34 +08:00
Gaming4JC
84ba7ad062
Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc.
...
HTML Regen.
Tag UXP Issue #1344
2020-01-31 07:38:31 +08:00
Gaming4JC
a330217f3f
Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc.
...
- Removes nsHtml5ReleasableAttributeName
- Adds nsHtml5AttributeEntry.h
- Makes nsHtml5HtmlAttributes no longer gentered.
Tag UXP Issue #1344
2020-01-31 07:38:28 +08:00
Gaming4JC
67a2c5cb06
Bug 1355479 - Remove isindex on the Java side and allow the C++ side to reduce malloc in attribute handling.
...
Tag UXP Issue #1344
2020-01-31 07:38:25 +08:00
Gaming4JC
81958be04f
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.
...
Fix build - Remove no longer used ReleaseableElement
Tag UXP Issue #1344
2020-01-31 07:38:22 +08:00
Gaming4JC
c37e7b2047
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.
...
HTML Regen.
Tag UXP Issue #1344
2020-01-31 07:38:19 +08:00
Gaming4JC
4f93df8cbf
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.
...
Tag UXP Issue #1344
2020-01-31 07:38:17 +08:00
Gaming4JC
7be0e39443
Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.
...
HTML Regen.
Tag UXP Issue #1344
2020-01-31 07:38:14 +08:00
Gaming4JC
94f9a7d235
Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.
...
Java Regen.
Tag UXP Issue #1344
2020-01-31 07:38:11 +08:00
Gaming4JC
d39cb8903f
Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.
...
Tag UXP Issue #1344
2020-01-31 07:38:07 +08:00
Gaming4JC
a5448058ba
Bug 1352082 - Avoid shifting a signed integer left in C++.
...
Tag UXP Issue #1344
2020-01-31 07:38:04 +08:00
Gaming4JC
2d6fd63895
Bug 1352082 - Avoid shifting a signed integer left in C++.
...
Tag UXP Issue #1344
2020-01-31 07:38:01 +08:00
Gaming4JC
a8c9f80fbe
Bug 1398401 - Add preference check for custom element setup.
...
Tag UXP Issue #1344
2020-01-31 07:37:16 +08:00
Gaming4JC
ed08e1aced
Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements;
...
Tag UXP Issue #1344
2020-01-31 07:35:10 +08:00
Gaming4JC
64e957cc9b
Bug 1274159 - Part 2-1: Include the name of relevant interface in nsHTMLTagList.h;
...
Tag UXP Issue #1344
2020-01-31 07:35:08 +08:00
Matt A. Tobin
df37b6046c
Update readme instructions for how to use the java html5 parser codegen makefile
2020-01-17 09:20:08 +08:00
Matt A. Tobin
4baeeaa8ec
Regenerate nsHtml5*.cpp files from java htmlparser sources
2020-01-17 09:19:56 +08:00
Matt A. Tobin
0add893f66
Update the html5 parser java codegen makefile to clean up snapshot javasrc
2020-01-17 09:19:53 +08:00
Matt A. Tobin
e490bc29d0
Remove obsolete javasrc snapshot
2020-01-17 09:19:48 +08:00
Matt A. Tobin
93a01a5d01
Update java htmlparser copyright on code to be translated to cpp
2020-01-17 09:19:46 +08:00
Matt A. Tobin
3338198f76
Fix an issue with the html5 tokenizer and tree builder (java htmlparser)
2020-01-17 09:19:44 +08:00
Matt A. Tobin
7938a0ac1b
Bug 1562033
...
Adjust tokenization of U+0000 (java htmlparser)
2020-01-17 09:19:42 +08:00
Matt A. Tobin
38d498e499
Bug 1347737 - Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser. (java htmlparser)
2020-01-17 09:19:40 +08:00
Matt A. Tobin
bdd222ff43
Bug 1555523 (java htmlparser version)
2020-01-17 09:19:37 +08:00
Matt A. Tobin
b3cddc869b
Bug 1322938 - Make the tree builder aware of <dialog>.
...
Tag #1343 | https://hg.mozilla.org/projects/htmlparser/rev/d9bdf700af247563fec9b07b52ede6bf61edd513
2020-01-17 09:19:35 +08:00
Matt A. Tobin
474878fe27
Update the java codegen makefile for having the two libs in-tree and change a few target names so they aren't obnoxious
2020-01-17 09:19:33 +08:00
Matt A. Tobin
a0020b4fa4
Add the java javaparser
...
https://github.com/javaparser/javaparser/
Invisible tag: javaparser-1.0.6
2020-01-17 09:19:31 +08:00
Matt A. Tobin
36189e6a63
Add java htmlparser sources that match the original 52-level state
...
https://hg.mozilla.org/projects/htmlparser/
Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d
2020-01-17 09:19:28 +08:00
wolfbeast
ae6de70624
Reinstate the java->c++ source, generator code + documentation.
...
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.
2020-01-17 09:15:02 +08:00
Gaming4JC
3b33af54af
Bug 1322938 - Make the HTML tree builder aware of <dialog>.
...
Original patch by :hsivonen
Tag #1343
2020-01-09 21:28:02 +08:00
Gaming4JC
900df90dae
Bug 1322938 - Basic implementation of HTMLDialogElement.
...
Tag #1343
2020-01-09 21:27:54 +08:00
wolfbeast
b753aec164
Issue #1118 - Part 6: Fix various tests that are no longer correct.
...
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-28 21:20:04 +08:00
wolfbeast
0d40de5915
Issue #1317 - Increase the XML nested depth limit to 2048.
...
- Converts from macro to static const for the limit.
- Uses a check against the declared type for the counter instead of
a hard-coded one.
This resolves #1317 .
2019-12-13 09:59:15 +08:00
Henri Sivonen
0e80c15692
Adjust tokenization of U+0000
2019-10-25 12:00:25 +08:00
wolfbeast
d794c3d762
Issue #1255 - Port upstream fix from libexpat
2019-10-25 12:00:12 +08:00
wolfbeast
26b079c59f
Remove HTML5 parser java docs and generation code.
...
java->C++ automated translation is not something we want to deal with
now or in the future.
2019-09-06 23:49:46 +08:00
wolfbeast
01f0d00864
Belatedly fix html5 parser attribution for files not covered by the MPL.
2019-09-06 23:49:44 +08:00
wolfbeast
03208b757b
Fix an issue with the html5 tokenizer and tree builder.
2019-09-06 23:49:42 +08:00
win7-7
e6f376f5ef
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
...
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
2019-08-10 06:26:08 +08:00
Henri Sivonen
80fc56fb93
Bug 1555523.
2019-07-22 19:45:08 +08:00
win7-7
1be77e0f3f
Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser.
...
An innerHTML setter profile shows about 10% of the time being spent under nsHtml5HtmlAttributes::clear, mostly deleting nsStrings.
2019-07-08 20:28:54 +08:00