Commit Graph

149 Commits

Author SHA1 Message Date
Henri Sivonen
b8278a6ef8 Bug 482921 part 6 - Use the internal encoding declaration in the XML View Source case. 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
6bd519ac43 Bug 482921 part 3 - Highlight tree builder-level errors in View Source. 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
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Henri Sivonen
1cde100e2a Bug 687744 and bug 573078 - Make buffer allocations in the HTML parser fallible; deal with allocation failures; reuse the buffers of strings passed to the parser. r=Olli.Pettay. 2011-09-28 15:45:17 +03:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Henri Sivonen
3b8055e6f2 Bug 672081 - Stop feeding chardet when seeing an actionable late charset <meta>. r=bzbarsky. 2011-07-28 13:45:29 +03:00
Masayuki Nakano
8b335d50b1 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
fb785dc0c4 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4b48118579 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
f8ce34e081 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Henri Sivonen
d1d75c9d82 Bug 655682 - Perform discretionary flushes in the HTML parser even if the current node is foster-parenting. r=bzbarsky. 2011-05-19 11:42:01 +03:00
Simon Montagu
1229c0fc4d Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Henri Sivonen
5d1964ecaf Bug 638318 - Require all zero bytes to be in either odd or even position when sniffing for UTF-16BE/LE-encoded Basic Latin. r=bz, a=beltzner 2011-03-03 08:52:47 +02:00
Henri Sivonen
4ecee39fd6 Bug 634262 - Correct assertions in nsHtml5StreamParser::WriteStreamBytes. r=smontagu, a=beltzner. 2011-02-18 13:54:23 +02:00
Henri Sivonen
ac0f7a4f3c 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
200d06cfa8 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
c5597b490b Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Honza Bambas
119a06dba5 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
e1f85d1cdd Bug 490916 - Trim space characters from encoding names in the HTML5 parser. r=jonas, a=jst. 2011-01-12 10:05:09 +02:00
Mihai Sucan
1678b55dc2 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
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
Simon Montagu
22a8a7e4f1 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
b963d700f7 Bug 582788 - Treat non-ASCII-superset encoding the same way in late meta handling as in meta prescan. r=bzbarsky, a=blocking2.0-betaN. 2010-07-30 13:03:54 +03:00
Henri Sivonen
a569fff60c 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
Henri Sivonen
aa29bf7377 Bug 521764 - Warn to console when speculation fails. r=jonas. 2010-06-23 11:33:43 +03:00
Henri Sivonen
b2038c48a0 Bug 568470 - Flush ops from off-the-main-thread HTML5 tree builder into executor immediately when stopping speculating. r=bnewman. 2010-05-28 15:20:13 +03:00
Henri Sivonen
5e15c74960 Bug 562635 - Set the initial flush timer delay to equal the subsequent delay. r=jonas. 2010-04-29 14:22:27 +03:00
Henri Sivonen
38f1270287 Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas. 2010-04-19 16:25:13 +03:00
Henri Sivonen
1347ac34f9 Bug 551344 part 4 - Address more review comments from sicking in the C++ parts of the HTML5 parser. r=jonas. 2010-04-16 13:52:06 +03:00
Henri Sivonen
b1663de57d Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas. 2010-03-15 14:04:41 +02:00
Henri Sivonen
a4dc6d4a42 Bug 551344 part 3 - Address sicking's review comments in nsHtml5StreamParser.cpp. r=jonas. 2010-04-09 17:11:56 +03:00
Henri Sivonen
4793e2d1fd Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman. 2010-02-26 11:18:38 +02:00
Henri Sivonen
b70fd25289 Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman. 2010-03-09 14:39:32 +02:00
Henri Sivonen
c31d88132a 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
680c5330c0 Bug 539215 - Chunk long tree op queue flushes into multiple runnables in the HTML5 parser. r=bnewman. 2010-01-14 15:58:27 +02:00
Henri Sivonen
2c50e9c1d6 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Henri Sivonen
b90f753473 Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman. 2009-11-17 10:52:30 +02:00
Henri Sivonen
945b9c0521 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
6d5095eb25 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
605423c728 Bug 516186 - Make late charset switch in HTML5 not trigger assertions. r=bnewman. 2009-10-21 15:12:50 +03:00
Henri Sivonen
ea4c02a066 Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking. 2009-10-15 14:29:11 +03:00
Henri Sivonen
e5e8f90558 Bug 482919 - Add speculative parsing to the HTML5 parser. r=bnewman. 2009-10-12 16:08:04 +03:00
Henri Sivonen
87b1f6516d Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman. 2009-09-25 20:11:02 +03:00
Henri Sivonen
2cf48a3ad5 Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman. 2009-09-21 16:18:20 +03:00
Henri Sivonen
4384f2fdf0 Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman. 2009-09-21 14:43:43 +03:00
Jonas Sicking
90b687402b 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
Henri Sivonen
2b8f6a2e36 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