Commit Graph

110 Commits

Author SHA1 Message Date
Henri Sivonen
ced0005834 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
d703c69de0 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
a2398505d6 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
559bf46562 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
3fb9a17956 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matt Brubeck
41f27a05ad Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen
94f1f84173 Bug 699347 - Avoid crashing when viewing source of XML files that have an XML declaration without the encoding pseudo-attribute. r=smaug. 2011-11-03 16:31:27 +02:00
Henri Sivonen
8b1f8a82bb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
331ff582eb Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
5fa0deebbb 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
216045a5cb 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
0429f9c117 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
3b72f9a1ea 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
2a602a5685 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
2c7ccac42d 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
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Henri Sivonen
6dc83ec47d Bug 672081 - Stop feeding chardet when seeing an actionable late charset <meta>. r=bzbarsky. 2011-07-28 13:45:29 +03:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 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
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Henri Sivonen
7766a5c929 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
be96a9dc94 Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Henri Sivonen
4adfdb83a7 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
733f033f26 Bug 634262 - Correct assertions in nsHtml5StreamParser::WriteStreamBytes. r=smontagu, a=beltzner. 2011-02-18 13:54:23 +02: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
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
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
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
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
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
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
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
240450b149 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
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
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
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
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
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
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
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
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
e57b659dd4 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02: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
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
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
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
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
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