Chris Peterson
8e5d7c26d6
Bug 1424548 - Part 11: Regenerate HTML parser code with MOZ_FALLTHROUGH annotations. r=hsivonen
...
And stop suppressing -Wimplicit-fallthrough warnings. We no longer need to suppress these clang warnings because the generated parser code now includes MOZ_FALLTHROUGH annotations.
2017-12-01 01:05:26 -08:00
Chris Peterson
6fb553ab2a
Bug 1424548 - Part 9b: Regenerate HTML parser code to remove always-zero offset from CPPONLY code. r=hsivonen
2017-12-01 00:58:56 -08:00
Alphan Chen
ab20180bfb
Bug 500617 - Remove always-zero offsets from HTML5 parser. r=hsivonen
...
MozReview-Commit-ID: DT8oWxbbYNy
2017-10-23 14:42:21 +03:00
Henri Sivonen
fa792cb56c
Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case. r=Ehsan
...
MozReview-Commit-ID: CKyGlzYS15e
2017-08-11 09:22:57 +03:00
Sebastian Hengst
7e433bbe75
Backed out changeset fabf345eec6e (bug 1375701) for bustage at parser/html/nsHtml5String.h:143:3: bad implicit conversion constructor for 'nsHtml5String'. r=backout on a CLOSED TREE
2017-08-15 16:28:10 +02:00
Henri Sivonen
8d12eac1f2
Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case. r=Ehsan
...
MozReview-Commit-ID: CKyGlzYS15e
2017-08-11 09:22:57 +03:00
Henri Sivonen
3b532a7391
Bug 483155 - Put content creator function pointers onto nsHtml5ElementName. r=smaug
...
MozReview-Commit-ID: E2AAx7Zz2UF
2017-07-04 11:00:03 +03:00
Sebastian Hengst
b20f04d43a
Backed out changeset 5b706cd241cb (bug 483155) for Valgrind failure on Linux x64 opt. r=backout
2017-08-11 10:48:10 +02:00
Henri Sivonen
b2625c0d7e
Bug 483155 - Put content creator function pointers onto nsHtml5ElementName. r=smaug
...
MozReview-Commit-ID: E2AAx7Zz2UF
2017-07-04 11:00:03 +03:00
Henri Sivonen
759c770926
Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc. r=wchen
...
MozReview-Commit-ID: 77Hqo24F2nB
2017-04-13 11:14:48 +03:00
Henri Sivonen
89dc7f5ddb
Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen). r=wchen
...
MozReview-Commit-ID: 4xQlhExyo7d
2017-04-12 14:28:49 +03:00
Henri Sivonen
6274301b73
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen
...
MozReview-Commit-ID: 4In5wo0flOB
2017-04-12 13:21:03 +03:00
Henri Sivonen
f5eeedfb21
Bug 1309195 - Mark strBuf as empty after the contents have been used or ignored. r=wchen.
...
MozReview-Commit-ID: 5KU62o2IMPs
2016-10-19 10:38:20 +03:00
Henri Sivonen
4eb7f7145d
Bug 1286911. r=wchen.
...
MozReview-Commit-ID: hzAu0jKAxt
2016-09-27 13:47:53 +03:00
Henri Sivonen
a6fb532484
Bug 1288084 - Expose a line number for each attribute, v2; r=wchen
2016-09-20 16:31:57 +02:00
Henri Sivonen
4d0b61f3f6
Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
bee2d42d10
Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
ee6c94fc31
Bug 489820 part 1 - Make charRefBuf non-growable and have the same lifetime as the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
c8c7896633
Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
d1bb36905e
Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Michael[tm] Smith
f9d39da746
Bug 1096172 - Fix position reporting of bad charrefs in RCDATA. r=hsivonen.
2015-04-02 12:48:06 +03:00
Henri Sivonen
a078e918b1
Bug 981279 - Clear the attribute holder after parsing innerHTML. r=smaug
2014-03-10 11:14:16 +02:00
Henri Sivonen
775e097398
Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Ryan VanderMeulen
35226d8b0a
Backed out 8 changesets (bug 959150) for Linux debug build bustage on a CLOSED TREE.
...
Backed out changeset 30bdc9b15e8e (bug 959150)
Backed out changeset 630e489aed30 (bug 959150)
Backed out changeset c6874004efe7 (bug 959150)
Backed out changeset ebc67518a962 (bug 959150)
Backed out changeset 14441e528582 (bug 959150)
Backed out changeset 8d0ae8bffb08 (bug 959150)
Backed out changeset 603b63c33e9a (bug 959150)
Backed out changeset 261e2d244c54 (bug 959150)
2014-03-05 15:26:07 -05:00
Henri Sivonen
5cc7ddc8b5
Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
17c19c799e
Bug 870787 HTML parser part - Make <img> a form-associated element in the HTML parser. r=smaug
2013-06-06 11:02:30 +03:00
William Chen
d46f74e162
Bug 818976 - Part 3: Generated code for HTML5 parser. r=hsivonen
2013-03-26 00:15:23 -07:00
Henri Sivonen
0075e1c889
Bug 809956 - Deal with an odd number of ] characters before ]]> in a CDATA section in the HTML parser. r=smaug.
2012-11-12 15:42:23 +02:00
Henri Sivonen
e99efa93f4
Bug 503190 - Include assertions in the C++ translator output. r=smaug.
2012-10-01 11:52:32 +03:00
David Zbarsky
a0e342d0b9
Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen
2012-07-13 11:55:21 -07:00
Henri Sivonen
e2125244e2
Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug.
2011-11-30 15:11:37 +02:00
Henri Sivonen
2d37e6c0db
Bug 704058 - Sync HTML parser .java sources in m-c with the htmlparser repo. rs=smaug. DONTBUILD
2011-11-21 16:12:15 +02:00
Henri Sivonen
3ab6f79a66
Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
8153c335a6
Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
a42c6e14db
Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay.
2010-07-30 13:15:38 +03:00
Henri Sivonen
034b529d7e
Bug 612527 - Implement spec tweaks to U+0000 handling in the HTML5 parser. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
d3fc35ebd5
Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
b40e883623
Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:57 +02:00
Henri Sivonen
e4808f1f2e
Bug 594730 - Make the content attribute in <meta> act as an encoding declaration only if http-equiv="Content-Type" is present. rs=jonas, a=blocking2.0-betaN.
2010-12-08 14:37:19 +02:00
Henri Sivonen
f794bd9866
Bug 610345 - Add MathML named characters that expand to two code points to the HTML5 parser. rs=jonas, a=blocking2.0-betaN.
2010-11-23 13:49:27 +02:00
Henri Sivonen
6d0b9252cc
Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange.
2010-11-10 12:03:48 +02:00
Henri Sivonen
4cb66b631d
Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst.
2010-09-28 10:32:31 +03:00
Henri Sivonen
a00ca20e07
Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
2010-09-28 10:32:31 +03:00
Henri Sivonen
13cd90db61
Bug 570309 - Remove the dead code for the "comment end space" state. rs=jonas, a=blocking2.0-betaN.
2010-10-25 12:22:59 +03:00
Henri Sivonen
05c2d6dcf0
Bug 482921 part 0 - Make preparations for enabling transition reporting in the HTML5 tokenizer. rs=jonas, a=jst.
2010-09-28 10:32:31 +03:00
Henri Sivonen
0c29bea23f
Bug 601604 - Emit ]] or ] when ]]EOF or ]EOF appears in a CDATA section in text/html. rs=jonas, a=jst.
2010-10-07 10:27:16 +03:00
Henri Sivonen
1fb780a7a1
Bug 595844 - Check the namespace of the current element on the tree builder stack when deciding whether to support CDATA sections in text/html. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
4288f990af
Bug 581944 - Reorder the tokenizer states in the HTML5 tokenizer. rs=sicking.
2010-07-26 16:13:51 +03:00
Henri Sivonen
1174cd44dc
Bug 570309 - Experimentally make -- > not terminate a comment in HTML. r=jonas.
2010-06-19 09:38:41 +03:00
Henri Sivonen
ed398af2c1
Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin.
2010-06-24 11:54:33 +03:00