1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
FranklinDM 8e1b3db048 Issue #2158 - Part 1: Add the 'as' attribute to the HTML Parser 2024-01-29 15:29:27 +08:00
FranklinDM d9b7057ffd Issue #1344 - (Parser: Java) Don't reset containsHyphen value after finding one 2023-02-27 11:04:25 +08:00
Moonchild eaf9e756a0 Issue #21 - Remove remaining telemetry structs, callers and flags. 2022-04-28 10:33:44 +08:00
Moonchild 5934c74a3f [html parser] Check for integer overflow when computing new buffer sizes. 2021-02-25 09:26:39 +08:00
Gaming4JC 527d5c6252 Issue #618 - Regenerate the HTML Parser code for nomodule changes
Ref: BZ 1446082
2020-08-29 08:10:47 +08:00
Gaming4JC 6c8f24a735 Issue #618 - Don't preload nomodule scripts when modules are enabled
Ref: BZ 1382020
2020-08-29 08:10:45 +08:00
Matt A. Tobin a7ba34c672 Bug 1418002 - Remove HTMLContentElement
Tag #1375
2020-04-18 07:05:35 +08:00
Matt A. Tobin 592c34bc79 Bug 1402941 - Add HTMLSlotElement
Tag #1375
2020-04-18 07:05:10 +08:00
Matt A. Tobin 5917636e83 Bug 1396584 - Remove support for multiple ShadowRoots
Tag #1375
2020-04-18 07:05:03 +08:00
Matt A. Tobin fe13c5bffc Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case
Tag #1375
2020-04-18 07:04:45 +08:00
Henri Sivonen 140bd4d265 [Parser] Move setting context to null to the correct location. 2020-02-14 22:46:09 +08:00
Gaming4JC ed18cbb741 Regenerate Parser for 483155
Tag UXP Issue #1344
2020-01-31 07:39:31 +08:00
Gaming4JC 131dc362f8 Fix ISINDEX
Since we want to keep this element, it has to be adapted to the parser changes in 483155

Tag UXP Issue #1344
2020-01-31 07:39:23 +08:00
Gaming4JC a252378855 Add missing space to ElementName.java self-regeneration code.
Tag UXP Issue #1344
2020-01-31 07:39:20 +08:00
Gaming4JC 5938eaff0a Add missing elements from Bug 483155
Tag UXP Issue #1344
2020-01-31 07:39:17 +08:00
Gaming4JC 48844fe691 Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.
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
2020-01-31 07:39:14 +08:00
Gaming4JC 6368ba399f Bug 483155 - Put Gecko content creator function pointers on ElementName.
Tag UXP Issue #1344
2020-01-31 07:39:11 +08:00
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 0bb3f611c5 Bug 1378079 - Add attribute 'is' to HTML parser.
Tag UXP Issue #1344
2020-01-31 07:38:56 +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 d91db14a71 Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
Tag UXP Issue #1344
2020-01-31 07:38:34 +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 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 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 2d6fd63895 Bug 1352082 - Avoid shifting a signed integer left in C++.
Tag UXP Issue #1344
2020-01-31 07:38:01 +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 0add893f66 Update the html5 parser java codegen makefile to clean up snapshot javasrc 2020-01-17 09:19:53 +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
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
roytam1 dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00