Commit Graph

439 Commits

Author SHA1 Message Date
Henri Sivonen
25669709c5 Bug 627729 - Force the old HTML parser for document.open()ed documents whose host name ends with ".mail.live.com". r=bzbarsky, a=blocking2.0-final. 2011-02-26 10:57:00 +02:00
Mats Palmgren
76ed992dba Bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen approval2.0=shaver 2011-02-22 00:06:27 +01:00
Henri Sivonen
733f033f26 Bug 634262 - Correct assertions in nsHtml5StreamParser::WriteStreamBytes. r=smontagu, a=beltzner. 2011-02-18 13:54:23 +02:00
timeless@mozdev.org
ce0354d032 Bug 619045 - crash [@ nsHtml5TreeOpExecutor::RunScript(nsIContent*)]
r=hsivonen a=jst
2011-02-16 14:14:11 +01:00
Henri Sivonen
9dadb8ba9d Bug 631751 - Sniff Basic Latin BOMless UTF-16 for IE compat. r=bzbarsky, a=bzbarsky. 2011-02-16 08:40:35 +02:00
Henri Sivonen
c2e0c3291c Bug 620106 - Allow chardet (if enabled) reload the page during load. r=sicking, a=blocking2.0-final. 2011-02-11 12:33:32 +02:00
Dave Townsend
e51597dabb Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Honza Bambas
63032f8fb3 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+ 2011-01-23 23:49:30 +01:00
Henri Sivonen
3a1b3ddb19 Bug 619220 addendum - Make speculative loads use the first <base> in the document instead of the first <base> in <head>. r=sicking, a=blocker. 2011-01-03 18:18:23 +02:00
Michael(tm) Smith
35eaa66b2e Bug 620664 - Add support for the track element to the HTML5 parser. r=hsivonen, a=jst. 2011-01-12 10:05:09 +02:00
Henri Sivonen
9619ed85e5 Bug 490916 - Trim space characters from encoding names in the HTML5 parser. r=jonas, a=jst. 2011-01-12 10:05:09 +02:00
Neil Rashbrook
76524634bb Bug 620267 Certain LFs following a <pre> or <textarea> get erroneously stripped r=hsivonen a=bz 2011-01-05 23:49:55 +00:00
Henri Sivonen
f07c686762 Bug 619497 - Use the WHATWG license in the license header of files transformed from the WHATWG spec. r=lvilla, r=gerv, a=comment-only. DONTBUILD 2011-01-05 14:40:55 +02:00
Mounir Lamouri
f7a4ba5fa3 Bug 569399 - autofocus sometimes does not work because the element has no frame yet. r=hsivonen a=blocking-betaN 2011-01-03 13:57:45 +01:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Henri Sivonen
0df9c7d005 Bug 614241 - Make a late <body> start tag set frameset-ok to "not ok". rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
143c3bdadc Bug 612528 - Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option". rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
60b0cda8cc 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
b91c3491b4 Bug 606925 - Get rid of the "in foreign content" insertion mode. Check the namespace of the current node instead. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
6402200a37 Bug 612529 part 3 - Make <annotation-xml> an HTML integration point depending on the encoding attribute. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
7cc7276fad 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
9c3299bd5c 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
c7f50eb9e3 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
f2e3279690 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
76af5ed80d Bug 543062 - When document.write() blocks, pre-parse the tail of the buffer for speculative loads. r=jonas, a=blocking2.0-beta8. 2010-11-18 10:23:48 +02:00
Henri Sivonen
fa141d61fd Bug 612568 - Drop nsIContent handles when finished parsing a fragment. r=Olli.Pettay, a=jst. 2010-11-18 10:19:59 +02:00
Henri Sivonen
4634c5a351 Bug 607573 - Make <input type=hidden> not set frameset-ok to "not ok". r=jonas, a=blocking2.0-betaN. 2010-11-18 10:19:59 +02:00
Henri Sivonen
61ad70a824 Bug 608373 - Do not call document.close() when stopping a script-created document load; flush tree ops when the parser exhausts the stream in the script-created case. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : c4f51cc0d40db3495ba6f56fc72f3afb2da70abd
2010-11-16 09:48:30 +02:00
Henri Sivonen
037d45c4a7 Bug 599588 addendum - Revert change to nsIParser and introduce a new abstract class instead to avoid changing the interface during an interface freeze. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : 3272dc97668c262945b91809a918ac5c013d8569
2010-11-16 09:47:10 +02:00
Simon Montagu
3f62db7a8e Don't propagate error getting a Unicode decoder to caller. Bug 603423, r=hsivonen, a=bsmedberg 2010-11-14 06:40:14 -08:00
Henri Sivonen
0e5c39fc7b Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cfe476ed6ac2b1ee4cc243034659290d1226bd42
2010-11-01 11:50:01 +01:00
Henri Sivonen
1fef2e7679 Bug 605466 - Implement new spec-based limits for formatting element proliferation in the HTML5 parsing algorithm. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : b8d9c7fb5c4ef094af89ed9c29d49bd38d8fcca1
2010-10-15 12:23:42 +03:00
Henri Sivonen
781be41918 Bug 596169 - Make <summary> and <figcaption> behave per spec. Remove <datagrid>. rs=jonas, a=blocking2.0-betaN. 2010-10-07 10:27:16 +03:00
Henri Sivonen
31069d1370 Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange. 2010-11-10 12:03:48 +02:00
Henri Sivonen
51828f4951 Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst.
--HG--
extra : rebase_source : d201cbad639f7ce87caa04f4260d1a9f3b3da867
2010-09-28 10:32:31 +03:00
Henri Sivonen
b846ef5736 Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
--HG--
extra : rebase_source : c9dbde959b76c019df87b83c551dd97e3ad7d311
2010-09-28 10:32:31 +03:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Henri Sivonen
4ae25f8cb9 Bug 570309 - Remove the dead code for the "comment end space" state. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 179fc95e1ed00bc85ea6245ece49ec3944507d62
2010-10-25 12:22:59 +03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Henri Sivonen
ef1fbb192a Bug 482921 part 0 - Make preparations for enabling transition reporting in the HTML5 tokenizer. rs=jonas, a=jst.
--HG--
extra : rebase_source : 2e5ae5e2a6498d7b956d8e39d1ed3c6c09dce7fa
2010-09-28 10:32:31 +03:00
Henri Sivonen
6536590161 Bug 596168 - Make non-space characters in the "in foreign content" insertion mode set frameset-ok to not OK. rs=jonas, a=jst.
--HG--
extra : rebase_source : e87024a6536be71b1670cb834e4d675523bb8c93
2010-09-15 11:37:55 +03:00
Henri Sivonen
69bbbc433f Bug 601604 - Emit ]] or ] when ]]EOF or ]EOF appears in a CDATA section in text/html. rs=jonas, a=jst.
--HG--
extra : rebase_source : 8f83d4a619ff8893976db75f63b9ed81e4292e2f
2010-10-07 10:27:16 +03:00
Henri Sivonen
f2a3d4fe1a Bug 598886 - Relicense HTML5 parser C++ files that are not Gecko-specific. r=gerv, a=NPOTB.
--HG--
extra : rebase_source : bc892ef86657a39aac22e3bfc0441586a1b7c254
2010-09-28 10:32:31 +03:00
Henri Sivonen
9aad77e103 Bug 596180 - Limit the number of iterations in the adoption agency algorithm. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 3fd176ad6b1bddee3c11b9f9002e21c64a5c1927
2010-09-15 11:37:55 +03:00
Henri Sivonen
f60fcd6d07 Bug 599584 - Do not let nsContentSink process <meta> tags when parsing an HTML fragment. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : f4c169a88f0f61c50a4473c9dab5e9e0257125c2
2010-10-13 10:12:55 +03:00
Dan Witte
ea67f1c5d2 Bug 577952 - Deep recursion in Release crashes on double-free in [@ nsHtml5UTF16Buffer::~nsHtml5UTF16Buffer()]. r=hsivonen, a=betaN+ 2010-10-07 14:00:17 -07:00
Henri Sivonen
9c83984cb7 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
3f4d929fa6 Bug 595797 - Add the attributes of an <html> start tag to the root element if the <html> tag is seen after a frameset. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
242b1e9c71 Bug 595643 - Make space characters reconstruct active formatting elements when frameset-ok is OK. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
d1dcc00558 Bug 580091 - Make the HTML5 parser reconstruct formatting elements properly when text inside table gets foster-parented. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
66cd476432 Bug 590498 - Change popping condition when forcibly breaking out of foreign content in HTML5 parser. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 4b673ba39fd24d120347b9752ba04a4904f764cd
2010-09-15 11:37:55 +03:00
Henri Sivonen
e63b49975a Bug 590495 - Check for foreign elements in scope after processing a foreign end tag without forwarding to the secondary insertion mode. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : b23a9ecbbfe38dfb3878de447e61a23ab9594c9f
2010-09-09 10:30:07 +03:00
Henri Sivonen
c1a17edb8e Bug 569528 - Make <p> not close implicitly across a <button> on stack. rs=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cb0b77f12787278883c3c1ef8d3d0906c86a327a
2010-09-08 19:31:22 +03:00
Henri Sivonen
b28314826a Bug 531056 - Make the HTML5 parser unaware of <spacer>. r=jonas, a=jst.
--HG--
extra : rebase_source : 97ef3b60edcd87e3a8ebe4fbb0ee9de75d7ab5c9
2010-09-15 11:37:55 +03:00
Henri Sivonen
6409d09046 Bug 591330 - Make deep nesting prevention code in the HTML5 parser not crash when there are speculations involved. r=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 58f604deb70298bcf6103f7857889990d8d9708d
2010-09-06 10:41:26 +03:00
Henri Sivonen
920f5c1228 Bug 577508 - Make the HTML5 parser hide the old page from view when the page being loaded shows a dialog. r=bzbarsky, a=blocking2.0-final. 2010-07-21 12:49:36 +03:00
Chris Pearce
6a92a3da34 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
Jonas Sicking
d1fd8e674e Bug 579764: Send out notification when the document-element for a document has been created and inserted into the DOM. r=jst a=blocker 2010-08-27 22:54:57 -07:00
Ms2ger
00001ff39e Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:06:07 +02:00
Mounir Lamouri
7511140cd2 Bug 588683 - Implement the form attribute. r=sicking sr=jst a2.0=blocking 2010-08-24 03:11:04 +02:00
Henri Sivonen
92d4badcbb Bug 581944 - Reorder the tokenizer states in the HTML5 tokenizer. rs=sicking. 2010-07-26 16:13:51 +03:00
Dão Gottwald
5b44b587a3 Backed out changeset 783151ff2018 2010-08-10 15:09:01 +02:00
Ms2ger
323b15cea8 Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:36 +02:00
Henri Sivonen
7ac580bedd Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
2010-07-21 16:10:58 +03:00
Henri Sivonen
39b513d6f4 Bug 582940 - Make the HTML5 parser URL unescape <a name> until HTML5-compliant fragment navigation is supported. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 0e4cb540161dfe445d58840618877f97cbe8eba0
2010-07-30 13:08:36 +03:00
Henri Sivonen
6c54a1e646 Bug 582788 - Treat non-ASCII-superset encoding the same way in late meta handling as in meta prescan. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 53407afad2a7304d77c1faa3e43301db4fa84ff2
2010-07-30 13:03:54 +03:00
Henri Sivonen
cbda2f7e75 Bug 534293 - Make speculative loads initiated by the HTML5 parser take <base> into account. r=jst, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 71cd318e90c56cf8f718fb4a4572d17f3ba1a9f3
2010-07-26 14:18:43 +03:00
Henri Sivonen
94b4c7c386 Bug 570309 - Experimentally make -- > not terminate a comment in HTML. r=jonas. 2010-06-19 09:38:41 +03:00
Henri Sivonen
5fe761fff2 Bug 575175: Make the HTML5 parser deal with Unicode decoder signaling -1 consumed bytes. r=smontagu a=blocking 2010-07-26 12:11:09 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Henri Sivonen
dd0a552e77 Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin.
--HG--
extra : rebase_source : 40c885f07cf1f89f5503e0a25b369e5fdb63f719
2010-06-24 11:54:33 +03:00
Olli Pettay
8d289f0549 Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin
--HG--
extra : rebase_source : d23e9583ef631e1a93d6aece9c3543c4b23ed9c2
2010-07-21 19:03:21 +03:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Henri Sivonen
169fbf3907 Bug 521764 - Warn to console when speculation fails. r=jonas.
--HG--
extra : rebase_source : 98c71986f573c0f16cb21ede90eafa31befbfdc5
2010-06-23 11:33:43 +03:00
Henri Sivonen
f6c27604a6 Bug 568470 - Flush ops from off-the-main-thread HTML5 tree builder into executor immediately when stopping speculating. r=bnewman.
--HG--
extra : rebase_source : 12abdc2cab8f8e96587ef11ba8b62cabb2b2acbb
2010-05-28 15:20:13 +03:00
Henri Sivonen
83d8101b7a Bug 563526 - Ignore U+0000 in element content when the tree builder is not in the "text" mode or the "in foreign" mode. r=jonas.
--HG--
extra : rebase_source : 97a67dc820c9b8ae1265b0c2c7e39c69f1733cee
2010-06-09 09:45:32 +03:00
Henri Sivonen
c01c735a8b Bug 571389 - Make <basefont> and <bgsound> parse like <link>. r=jonas.
--HG--
extra : rebase_source : 3b43f8786744e4164adbc2658f8c30f76a8a9f80
2010-06-11 18:08:13 +03:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Henri Sivonen
8606402984 Bug 570898 - Defer isindex prompt reading until after startup. r=jonas. 2010-06-11 18:08:13 +03:00
Daniel Holbert
00d625e66a merge 2010-06-09 17:17:19 -07:00
Daniel Holbert
79fa9a7cdd Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
7fa5b05a40 Bug 563514 - Avoid leaking or misplacing attributes on stray <html> and <body> tokens in the innerHTML case. r=jonas.
--HG--
extra : rebase_source : 174666b3ec6c0a7e6251fe34b6bf23c499ad3575
2010-06-09 09:44:25 +03:00
Henri Sivonen
90f4e3fcbc Bug 568800 - Make &foo= not expand in an attribute value. r=sicking.
--HG--
extra : rebase_source : ae54f51fba1896ac1545b003edf379c21e609d47
2010-06-02 14:01:57 +03:00
Henri Sivonen
977ed6243c Bug 566280 - Text run prefixed by U+0000 shows only U+FFFD. r=sicking.
--HG--
extra : rebase_source : 86afd6adeba2231c526857a19e27e291296f60d1
2010-05-27 16:08:19 +03:00
Henri Sivonen
8a99f75610 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. r=dholbert, sr=roc.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Vladimir Vukicevic
30cae77604 b=565186; remove NS_ENSURE_TRUE in nsHtml5TreeOpExecutor; r=hsivonen 2010-06-04 12:03:24 -07:00
Henri Sivonen
877375af37 Bug 561874 - Make the HTML5 parser clip deep trees (similar to the old HTML parser) to avoid crashes in recursive code elsewhere. r=bzbarsky 2010-05-20 12:03:11 +03:00
Henri Sivonen
9e503bd46a Bug 568611 - Remove an unused variable from nsHtml5TreeBuilder. r=dholbert. 2010-05-31 14:46:46 +03:00
Henri Sivonen
f4f1ba94f7 Bug 552908 - Implement spec changes to SVG </a> and </font> handling in text/html. rs=sicking.
--HG--
extra : rebase_source : fff4bffd4abb06c3ecd93c3bae126ac96aad71f2
2010-05-27 09:27:27 +03:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Mike Hommey
ce41784187 Bug 542460 - Remove executable permission on source files [r=ted.mielczarek] 2010-05-06 09:32:50 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Olli Pettay
19ccaf698e Bug 562013 - parse innerHTML directly to the destination node, p=smaug+hsivonen, r=sicking 2010-05-04 11:36:42 +03:00
Henri Sivonen
240450b149 Bug 562635 - Set the initial flush timer delay to equal the subsequent delay. r=jonas. 2010-04-29 14:22:27 +03:00
Boris Zbarsky
a26d92e83d Bug 562688 part 14. Eliminate all remaining eELEMENT consumers. r=jst 2010-04-30 09:12:06 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Henri Sivonen
58caddd7b4 Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas.
--HG--
extra : rebase_source : b89e63cce5869fc0518eacc1102f0d1b4b12d356
2010-04-19 16:25:13 +03:00
Henri Sivonen
711ffaef52 Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.
--HG--
extra : rebase_source : 3f001d62e55a4ecd02c4ab8d1f6997e1547aef4e
2010-04-16 13:52:06 +03:00
Henri Sivonen
3347cbeda8 Bug 551344 part 4.5 - Drop flush timer safely when the cycle collector unlink nsHtml5Parser before nsHtml5StreamParser. r=jonas.
--HG--
extra : rebase_source : 1074aa1d53c749d2cb402abc5d084dfa969c352f
2010-04-27 10:33:06 +03:00
Henri Sivonen
5c3712d80a Bug 551344 part 4 - Address more review comments from sicking in the C++ parts of the HTML5 parser. r=jonas.
--HG--
extra : rebase_source : b15efefa4ba578dead7645770f5ce3fa8becefda
2010-04-16 13:52:06 +03:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Henri Sivonen
ec4be11d2b Bug 539210 - Revise the README of the HTML5 parser Java to C++ translator to cover all makefile functionality. r=bnewman. NPOTB. 2010-04-22 11:24:54 +03:00
Olli Pettay
857f96fac4 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser properly, r=smaug 2010-04-21 14:54:40 +03:00
Henri Sivonen
5653937f4d Bug 559819 - Change the string id for the isindex prompt. r=l10n.
--HG--
extra : rebase_source : 34212e52674deb7e3c20ef3dab91785d3f70bdf4
2010-04-20 17:19:30 +03:00
Henri Sivonen
ff15bc6c29 Bug 551344 part 5 - Address more sicking's review comments in the Java parts of the HTML5 parser. r=jonas. 2010-04-16 13:52:06 +03:00
Henri Sivonen
21d2f60a92 Bug 551344 part 3 supplement - Rename the getter for the length of list of active formatting elements in the HTML5 parser. r=jonas. 2010-04-16 13:52:06 +03:00
Henri Sivonen
47c742aea1 Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas. 2010-03-15 14:04:41 +02:00
Henri Sivonen
8bfa38a78e Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman. 2010-04-16 13:52:06 +03:00
Henri Sivonen
1601c4c313 Bug 555906 - </datalist> does not implicitly close an <option> in the HTML5 parser. r=bnewman. 2010-04-09 18:48:30 +03:00
Henri Sivonen
5664e3de35 Sync the Java sources of the HTML5 parser with the parser repo. rs=sicking. NPOTB. 2010-04-09 18:48:29 +03:00
Henri Sivonen
b4912a8aa5 Bug 500631 part 1 - Make the default isindex prompt use a localized string in the HTML5 parser. r=bnewman. 2010-03-17 10:26:17 +02:00
Henri Sivonen
3ae90f450c Bug 551344 part 3 - Address sicking's review comments in nsHtml5StreamParser.cpp. r=jonas. 2010-04-09 17:11:56 +03:00
Henri Sivonen
a0036b91e6 Bug 551344 part 2 - Address sicking's review comments in nsHtml5TreeOpExecutor.cpp. r=jonas. 2010-03-15 14:04:42 +02:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Henri Sivonen
de75440fbe Bug 501082 - Use a more efficient data layout for the named character tables in the HTML5 parser. Based on patch by dbaron. r=bnewman.
--HG--
extra : rebase_source : abe4519a3eeacdc2f89343b26c7b961f62dfb435
2010-03-29 14:01:18 +03:00
Henri Sivonen
1608f31ed7 Bug 555899 - Make the HTML5 parser have a limit of 200 on the stack depth like the old parser. rs=sicking. 2010-03-30 11:21:36 +03:00
Henri Sivonen
d9cf6edf3d Bug 555462 follow-up - Sync HTML5 parser Java sources with the backout. rs=sicking. NPOTB. 2010-03-30 11:21:36 +03:00
Henri Sivonen
a2caf355ca Bug 555462 - Back out changeset a0f0fde99844 for causing a buffer overrun. 2010-03-30 11:21:36 +03:00
Henri Sivonen
0f3605a261 Bug 554513 - Remove buffer growth limits from the HTML5 parser where the old parser did not have the exact corresponding limits. rs=sicking.
--HG--
extra : rebase_source : d9de246b1e950dc314a9680a0043b29d576e291e
2010-03-26 09:50:21 +02:00
Henri Sivonen
1889c29241 Bug 539434 follow-up - Sync the Java sources of the HTML5 parser with the htmlparser repository. rs=sicking. NPOTB.
--HG--
extra : rebase_source : 6ff1b377ab4663bc7a34c805da92a5d8e3adaed1
2010-03-26 09:50:20 +02:00
Henri Sivonen
629a0e668d Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Ben Newman
19ee453611 Bug 539434 - [HTML5] The translator isn't updating parser/html/javasrc/. r=hsivonen
--HG--
extra : rebase_source : c3f47999413d3382720b1ebb108327ea5d67066e
2010-03-22 10:30:07 -07:00
Henri Sivonen
11c18b934e Bug 546641 - Map &#13; to CR in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 0c021cc263ea7172b0f386be89a6e6d45fba23c0
2010-03-09 15:13:48 +02:00
Henri Sivonen
7bc8dbf67a Bug 489820 and bug 483209 - Make the HTML5 parser check buffer bounds less often and place limits on buffer growth. rs=sicking.
--HG--
extra : rebase_source : 57088761bab23d50aab5bb6b2e5f22f50a48c2e8
2010-02-12 09:49:06 +02:00
Henri Sivonen
d858fa708c Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : bee1464b806dd5b1ce85fe6257ffcad18de61825
2010-02-10 11:23:35 +02:00
Henri Sivonen
1b6028dc09 Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman.
--HG--
extra : rebase_source : 8a0b6e679c70c6d2429a9fdbf469cc59d285ca2f
2010-02-22 14:17:33 +02:00
Henri Sivonen
13fbcec474 Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 71434258f5a6f330e1e0583826fbb415fb110b0b
2010-03-09 14:39:32 +02:00
Henri Sivonen
1398345c93 Bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. rs=sicking.
--HG--
extra : rebase_source : a7effe977998b9fe7dd32abed804a0e3a70df079
2010-03-12 12:27:15 +02:00
Henri Sivonen
c90899f45f Bug 549591 - Atom staticness checks lack a negation in the HTML5 parser. r=jonas.
--HG--
extra : rebase_source : 37591aca16f6e95e1afede9c567232d1fa84e2da
2010-02-26 11:18:35 +02:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Zack Weinberg
1e69ee7cc3 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Henri Sivonen
56b37d5371 Bug 545658 - Change the sniffing limit of the HTML5 parser to 1K. r=jst. 2010-02-26 11:18:38 +02:00
Henri Sivonen
f2f731789d Bug 516422 - Copy link prefetching from nsHTMLContentSink to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : c0a5999b05919fa496ddcee94f7be74d004288f3
2010-02-25 13:37:35 +02:00
Henri Sivonen
cb3f5d69ed Bug 545402 - Make test_bug42976.html run from onload and make HTML5 createContextualFragment work on DOMs that do not have a docshell. r=Olli.Pettay.
--HG--
extra : rebase_source : 74002d7f9936045065406e412477df9b740ee766
2010-02-22 14:17:31 +02:00
Henri Sivonen
56cd24d21e Bug 545854 - Add the <keygen> macro to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : afd36441c60abba7453fd91c32beec4e6e1fd17b
2010-02-22 14:17:30 +02:00
Doug Turner
8bd84320eb Adding new line to the end of nsHtml5SpeculativeLoader.h to avoid dozens of compiler warnings. trivial fix, no bug
--HG--
extra : rebase_source : c32715faff9ea1c2e06b41ffa9ca1f1e316c68f8
2010-02-23 16:36:30 -08:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Henri Sivonen
3e7e62f762 Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman. 2010-02-02 09:43:18 +02:00
Henri Sivonen
8c86ce90ed Bug 539895 - Flush tree ops in the HTML5 parser upon </select> and </textarea> to make form state restoration work. r=bnewman. 2010-01-20 15:43:58 +02:00
Henri Sivonen
6835111d7b Bug 539215 - Chunk long tree op queue flushes into multiple runnables in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 31f125d0e833aaea2c1bd4755c16d5e7fd5f2e83
2010-01-14 15:58:27 +02:00
Henri Sivonen
84a8e6139d Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky.
--HG--
extra : rebase_source : 2018b107ac2e508a20e245d49d396e7c1ea7230d
2009-12-23 10:32:39 +02:00
Henri Sivonen
f7637638e6 Bug 539917 - document.writes parsed in reverse order when document.open()ed HTML5 parser gets blocked. r=bnewman. 2010-01-18 15:39:17 +02:00
Henri Sivonen
e57b659dd4 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Robert Longson
cbd82b1050 Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst 2010-01-15 11:44:12 +00:00
Henri Sivonen
9a711fcc66 Bug 537683 - No longer break out of doc update batch upon nsIParser::Terminate() in the HTML5 parser. r=bnewman. 2010-01-05 14:37:05 +02:00
Henri Sivonen
5ba187632d Bug 538193 - Copy over content model element and content model element name when loading state from another HTML5 tokenizer. rs=sicking. 2010-01-11 15:18:37 +02:00
Henri Sivonen
b1b31fb0f1 Bug 514602 - Restore frameset-ok properly when the HTML5 tree builder has left the "in body" insertion mode and comes back. rs=sicking.
--HG--
extra : rebase_source : 42788e58309762098b4b9bb6efadff07335c011b
2009-12-23 10:31:48 +02:00
Henri Sivonen
f5ca5f174a Bug 535810 - Avoid deleting the empty attribute holder in the isindex case. rs=sicking. 2009-12-21 13:18:34 +02:00
Henri Sivonen
5e7912c55e Backing out a change set with a faulty commit message. 2009-12-21 14:03:14 +02:00
Henri Sivonen
4602a4bd81 Avoid deleting the empty attribute holder in the isindex case. rs=sicking.
--HG--
extra : rebase_source : fe35acd60c7f9bbb7512bc931288ee93338872b9
2009-12-21 13:38:58 +02:00
Zbyszek Skowron
7db9570a81 Bug 530090 - Memory leaks in jArray in HTML5 parser. r=hsivonen.
--HG--
extra : rebase_source : 01c86f02f90ebff4bbd173b766b4ce4798751aa8
2009-12-21 13:38:58 +02:00
Henri Sivonen
3b37fbc386 Bug 535499 - Copy the return state over when loading HTML5 tokenizer state from another tokenizer. rs=sicking. 2009-12-17 12:15:08 +02:00
Henri Sivonen
ca2beb2410 Bug 535134 - Make <table><form> in HTML5 tree builder sensitive to the form pointer. rs=sicking.
--HG--
extra : rebase_source : 05a5700c04e31be9d88e3675065b0ad7043665c4
2009-12-16 16:07:06 +02:00
Henri Sivonen
dca9c0448b Bug 535126 - Fix text flushing and EOF bugs in script data states in the HTML5 tokenizer. rs=sicking.
--HG--
extra : rebase_source : 4f62b7ce50fcd4e6224b628f159075a01adf28d3
2009-12-16 15:35:34 +02:00
Henri Sivonen
989c31fb2e Bug 535116 - EOF handling after <xmp>< in wrong in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 707323bc1dbdf085d202aa3a14914eb9e1f9a362
2009-12-16 14:14:02 +02:00
Henri Sivonen
75fb424ed5 Bug 525094 - Avoid shadowing member fields with local variables in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : bb52f6d5f9e335a7473524c6acc410b62b3c0863
2009-12-15 15:19:09 +02:00
Henri Sivonen
085d3626c1 Bug 531106 - Crash in [@ nsHtml5Parser::DropStreamParser] triggered by Softpedia framebreaker. r=bnewman. 2009-11-30 17:34:51 +02:00
Henri Sivonen
f4ab766e30 Bug 534546 - Script with defer attribute never runs in the HTML5 parser. Part of the patch for bug 515610 (r=bnewman) but not landed due to a bad merge.
--HG--
extra : rebase_source : 9a6d14b2147370d16bd27b206e12b05037279d83
2009-12-14 15:51:15 +02:00
Henri Sivonen
5d189ebc4c Bug 515610 - Make defer and async work with the speculating HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 19dc4eaddf51c50cb416d62081fcef4ecd8d11c4
2009-11-17 10:52:30 +02:00
Henri Sivonen
e8f639313e Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Henri Sivonen
51e2be55ca Bug 497848 - HTML5 parser fails layout/reftests/bugs/376532-1.html. rs=sicking.
--HG--
extra : rebase_source : 77f3601b318c191626e3dfe8718d2841528cdbbd
2009-12-10 16:27:48 -08:00
Henri Sivonen
41bfb374eb Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman.
--HG--
extra : rebase_source : f1de8b7729f1570bf859578bf04192a4c5b6df05
2009-11-17 10:52:30 +02:00
Henri Sivonen
4d6e3587fa Bug 529829 - Crash [@ nsHtml5HtmlAttributes::getLocalName] with isindex attribute. rs=sicking.
--HG--
extra : rebase_source : 302169406834433818327cd19e81938e6569d48c
2009-12-10 16:27:48 -08:00
Henri Sivonen
e5056935a8 Bug 510648 - Delete attribute holder upon emitting an end tag token in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 6586cf2e40a86a77ba4b72f132676d6b1e50516f
2009-12-10 16:27:48 -08:00
Henri Sivonen
c081e1091d Bug 531373 - Script between head and body is not executed by HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 074c8ea07bec9bcc0dfde3e2ad95cb0d8e49ea6f
2009-12-10 16:27:48 -08:00
Henri Sivonen
4fc8acb2ef Bug 503632 - Script containing <!-- in a string never ends up closed in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 688505ad32f1e88d07ee31bf62f302c131d7f2bb
2009-11-30 17:34:51 +02:00
Henri Sivonen
f2a0a3924a Bug 509009, bug 497848 - Update the HTML5 tokenizer to spec (excluding script changes) as of 2009-11-24. rs=sicking.
--HG--
extra : rebase_source : 1ea9013dcd1a4a4b4d0000f810916d3569cd0172
2009-11-30 17:34:51 +02:00
Henri Sivonen
03c379948c Bug 502804, bug 510063 - Update the HTML5 tree builder to spec as of 2009-11-24. rs=sicking.
--HG--
extra : rebase_source : 3707836f9ad9d61921bf7455d74ee0844f6a4d02
2009-11-30 17:34:51 +02:00
Henri Sivonen
c3ad67c833 Bug 528442 - Call WillCallDoneAddingChildren for SVG scripts in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 7fef8d4a9ac5fcc442229ea7c3349944c5d4ecef
2009-11-17 10:52:30 +02:00
Henri Sivonen
841cc3cb3e Bug 509666 - Notify the right document in the HTML5 parser when nodes have been moved between documents during the parse. r=bnewman.
--HG--
extra : rebase_source : ecf04f12b213b6be84887b83c98e15817074d374
2009-11-11 10:37:35 +02:00
Henri Sivonen
bcac5a67b9 Bug 497861 - Wrong form state preservation on reparse in HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 841506bea91507339e89eefa95cde68ca2d9a5dd
2009-11-06 15:06:48 +02:00
Henri Sivonen
9c5afe21fa Bug 529544 - Shut down the HTML5 parser thread from an observer (random crash [@ mozilla::storage::Connection::Close()]). r=sdwilsh.
--HG--
extra : rebase_source : b63735cb935261066b0836d451967a87a5c22929
2009-11-24 14:28:18 +02:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Henri Sivonen
7bad8f1c22 Bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman, a=beltzner. 2009-10-30 13:47:17 +02:00
Henri Sivonen
406d7b2d89 Bug 483015 - Expose HTML line number to JS and CSS parsers in the HTML5 parser. r=bnewman, a=beltzner. 2009-10-28 15:48:37 +02:00
Henri Sivonen
f1efbc71e9 Bug 500616 - Remove continue event from nsHtml5Parser. r=bnewman, a=beltzner. 2009-10-27 10:00:22 +02:00
Henri Sivonen
4c86f702bb Bug 529544 - Make the HTML5 parser not participate on Mochitest. (orange fix)
--HG--
extra : rebase_source : 95fd43ff5dbc85b48750bfd17f9f802506c92925
2009-11-19 17:13:19 +02:00
Henri Sivonen
7f2ba33137 Bug 529544 - Avoid creating parser thread when HTML5 parser not enabled. (orange fix) 2009-11-19 13:53:32 +02:00
Henri Sivonen
df4f764494 Bug 524447 - Make the HTML5 parser tokenize on document.close(). (Spec svn r4241.) r=bnewman.
--HG--
extra : rebase_source : 5c67523de012c36e4327a37e3b1b29b43b745f0d
2009-10-27 09:44:17 +02:00
Henri Sivonen
faba5e6444 Bug 513194 - HTML5 parser ends up parsing inline stylesheets twice. r=bzbarsky.
--HG--
extra : rebase_source : 05024b13a00ce55280da965a27a3fe33d18147c6
2009-10-30 10:31:57 +02:00
Henri Sivonen
4b7b9b78c9 Bug 515255 - Comment out assertion until <keygen> and <output> are supported as form-associated elements. r=bnewman.
--HG--
extra : rebase_source : c5595bca53a47b4b2617a803b989247340ee9cdf
2009-10-21 15:28:18 +03:00
Henri Sivonen
333128f97f Bug 522326 - Make meta prescanner in the HTML5 parser use the canonical alias for UTF-8. r=bnewman.
--HG--
extra : rebase_source : a266ec64fc109ce914ba243286c9fc438890eba0
2009-10-21 15:21:27 +03:00
Henri Sivonen
f0185a5e5e Bug 516186 - Make late charset switch in HTML5 not trigger assertions. r=bnewman.
--HG--
extra : rebase_source : 9b2b847f5e0c94567c4ce65f0199cb00d4b4420b
2009-10-21 15:12:50 +03:00
Henri Sivonen
8afa0f23f7 Bug 523087 - Check for termination before every tree op in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 8dea5208332e6aefd18416bce4533455c4a3c981
2009-10-21 15:10:14 +03:00
Henri Sivonen
6159e111f3 Bug 521970 - Remove the ContinueParsing() method. r&sr=mrbkap.
--HG--
extra : rebase_source : 95833f94665e2c9c64a34b7e1bd827ef85a074db
2009-10-21 15:00:29 +03:00
Henri Sivonen
62853870ee Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking.
--HG--
extra : rebase_source : 0f574695c4d6fad936e9d0960f07261aa192b13d
2009-10-15 14:29:11 +03:00
Henri Sivonen
c9652a402a Bug 482919 - Add speculative parsing to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : d8b0840910d47aadee767fcbecf6832d244b1c4b
2009-10-12 16:08:04 +03:00
Henri Sivonen
b099bfa49e Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman.
--HG--
extra : rebase_source : 8d44fdc215e14ed8da34793c1f432bc2bc9f6e05
2009-09-25 20:11:02 +03:00
Henri Sivonen
58bbf0ca90 Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : d49df0ed8f2c205d97d3023ee88a62e5f8afb91f
2009-09-21 16:18:20 +03:00
Henri Sivonen
b513cde7aa Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman.
--HG--
extra : rebase_source : 955eb137d96a4ea1461417ada9809404a1218dd1
2009-09-21 14:43:43 +03:00
Henri Sivonen
580302d483 Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
--HG--
extra : rebase_source : 12e9731c0d86691cde40fc1ea4cc5ab4b3fb5168
2009-09-18 18:13:10 +03:00
Jonas Sicking
1d81e23e8d Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
Henri Sivonen
06c4ec1d43 Bug 509851 - Flash object does not appear with HTML5 parser enabled. r=bzbarsky. 2009-10-12 16:08:04 +03:00
Jonas Sicking
0d2f92b52e Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
Ben Newman
baf70a3ff9 [HTML5] Remove unneeded parser/html/java/translator directory (bug 518224). r=hsivonen
--HG--
extra : rebase_source : 2d3d248bb554f66206568e55690fe1b0cd198515
2009-09-25 12:57:09 -07:00
Ben Newman
d1b7e82b22 Bug 518224 - [HTML5] Update parser/html/java Makefiles to sync from hg.mozilla.org/projects/htmlparser. r=hsivonen
--HG--
rename : parser/html/java/translator/manifest.txt => parser/html/java/manifest.txt
rename : parser/html/java/translator/named-character-references.html => parser/html/java/named-character-references.html
extra : rebase_source : 261b948d700b5fac5a2ad15f2b8114da97800ad2
2009-09-22 19:46:51 -07:00
Henri Sivonen
bab474a623 Bug 515142 - Make HTML5 parser never clone nodes. WHATWG spec SVN rev 2947. rs=sicking. 2009-09-21 10:00:10 +03:00
Henri Sivonen
adce3cb5c8 Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap. 2009-09-18 12:21:47 +03:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Henri Sivonen
2b04a3d4e8 Bug 502973 - Suppress EOF upon Terminate() in HTML5 parser. r=mrbkap. 2009-08-27 10:57:57 +03:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Ben Newman
b47164fb52 Bug 505602 - [HTML5] Reduce amount of nsHtml5NamedCharacters generated code. r=hsivonen sr=mrbkap 2009-08-20 10:37:48 -07:00
Ben Newman
20fab04fc6 Bug 505599 - [HTML5] GenerateNamedCharactersCpp.java should generate static member declarations for VALUES and WINDOWS_1252 as well as NAMES. r=hsivonen sr=mrbkap 2009-08-20 10:37:52 -07:00
Ben Newman
442c0a41d4 Bug 504968 - [HTML5] "###!!! ASSERTION: QueryInterface needed" in nsHtml5Parser::FinalizeSniffing. r=hsivonen sr=mrbkap 2009-08-20 10:37:44 -07:00
Henri Sivonen
0b5f29bbc2 Bug 502869 - Crash [@ nsHtml5TreeBuilder::appendToCurrentNodeAndPushElementMayFoster]. r=bnewman 2009-08-18 10:48:59 +03:00
Peter Van der Beken
082ea855e7 Backing out 410eb23d33c7 to restore accidentaly deleted file (parser/html/javasrc/README.txt).
--HG--
extra : rebase_source : cd514c9544e20eacef1bbf40a0a369788801711a
2009-08-13 10:02:48 +02:00
Henri Sivonen
df05a4aaaf Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:51:06 +03:00
Henri Sivonen
9fd5b6b79a Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen
2b3ede7ed7 Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:45:24 +03:00
Ben Newman
895119b1fa Bug 505594 - [HTML5] Actually place java translator files under Mercurial revision control. r+sr=jst 2009-07-27 16:42:45 -07:00
Peter Van der Beken
e7c19654e6 Fix for bug 500349 (DOMParser no longer available in Greasemonkey scripts). r/sr=jst.
--HG--
extra : rebase_source : e42a5ad4bc82ef7b6933e9420840f83548ecde2c
2009-07-22 20:50:24 +02:00
Ben Newman
e199f1d0ec Bug 504442 - Remove content/html/parser and land parser/html/javasrc/*.java.
--HG--
rename : content/html/parser/javasrc/AttributeName.java => parser/html/javasrc/AttributeName.java
rename : content/html/parser/javasrc/ElementName.java => parser/html/javasrc/ElementName.java
rename : content/html/parser/javasrc/HtmlAttributes.java => parser/html/javasrc/HtmlAttributes.java
rename : content/html/parser/javasrc/MetaScanner.java => parser/html/javasrc/MetaScanner.java
rename : content/html/parser/javasrc/Portability.java => parser/html/javasrc/Portability.java
rename : content/html/parser/javasrc/StackNode.java => parser/html/javasrc/StackNode.java
rename : content/html/parser/javasrc/StateSnapshot.java => parser/html/javasrc/StateSnapshot.java
rename : content/html/parser/javasrc/Tokenizer.java => parser/html/javasrc/Tokenizer.java
rename : content/html/parser/javasrc/TreeBuilder.java => parser/html/javasrc/TreeBuilder.java
rename : content/html/parser/javasrc/UTF16Buffer.java => parser/html/javasrc/UTF16Buffer.java
2009-07-17 13:50:20 -07:00
Ben Newman
5b2f19d078 Bug 504646 - Get rid of the parser/html/javasrc symlink. r=hsivonen 2009-07-17 13:50:20 -07:00
Ben Newman
c5724733c5 Refactor repetitive makefile shell commands into external scripts (bug 504444). r+sr=jst 2009-07-17 13:50:20 -07:00
Henri Sivonen
9547e457d1 Bug 502260 - Check mFlushTimer for null in nsHtml5TreeBuilder::DoUnlink. r=mrbkap 2009-07-17 13:46:33 +03:00
Henri Sivonen
3b16d55bd2 Bug 503067 - New warnings from HTML5 parser: suggest parentheses around assignment used as truth value. r=benjamin 2009-07-15 14:32:58 +03:00
Henri Sivonen
3479df4b6a Bug 501106 - Implement Comment end bang state. rs=sicking 2009-07-15 14:31:57 +03:00
Henri Sivonen
5cfd6d5ab3 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Henri Sivonen
ae67575213 Bug 502091 - Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML. r+sr=jonas 2009-07-15 14:28:27 +03:00
Ben Newman
9f9cf0e5b4 Bug 499141 - [HTML5] Check in the Java to C++ translator. r+sr=jst 2009-07-14 17:39:30 -07:00
Henri Sivonen
7a1e4dcbc8 Bug 502600 - Make quirky doctype list comparisons work. r+sr=mrbkap 2009-07-08 09:40:21 +03:00
Johnny Stenback
523bba4256 Fixing bug 501725. Use nsDependentSubstring() on strings that are not null terminated. r+sr=mrbkap@gmail.com
--HG--
extra : rebase_source : 7f657cd0465c3a568f6cfc534d6fbd4876e0776d
2009-07-06 14:00:23 -07:00
Henri Sivonen
38fcebf359 Bug 502103 - Crash [@ NS_NewEditorKeyListener] with <isindex action="">. r+sr=mrbkap 2009-07-06 15:11:14 +03:00
timeless@mozdev.org
e4ec268f74 Bug 501113 - HTML5 Crash EXCEPTION_INT_DIVIDE_BY_ZERO [@ _aulldiv - nsHtml5TreeBuilder::Flush]. r+sr=jonas 2009-07-02 09:41:59 +03:00
Henri Sivonen
782fbe8536 Bug 501083 - Release the Windows 1252 array at shutdown. r+sr=jonas 2009-06-30 13:53:58 +03:00
Henri Sivonen
cc3e223a82 Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap 2009-06-30 13:50:56 +03:00
Henri Sivonen
8f8a33e815 Bug 501073 - Remove debug addref loop that never should have been checked in r&sr=jonas 2009-06-29 15:26:35 +03:00
Gavin Sharp
eefb38f12d Add bug # reference for workaround 2009-06-29 05:09:27 -04:00
Gavin Sharp
e24d2ef116 Work around strange MSVC bug with the new html5 parser that's causing Windows CE build timeouts (and longer build times with msvc in general) by disabling optimization for nsHtml5NamedCharacters::initializeStatics, r=timeless on IRC 2009-06-29 04:54:40 -04:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
5959a99ba3 Add a newline to the end of nsHtml5Parser.cpp 2009-06-28 20:09:15 +03:00
Jonas Sicking
62c6519f6e Move files to better location
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00