Commit Graph

73 Commits

Author SHA1 Message Date
Aryeh Gregor
72c6ba883e Bug 782602 - Use NS_FAILED instead of boolean test (parser/html/); r=hsivonen 2012-08-14 12:10:41 +03:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Henri Sivonen
67be401de2 Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug 2012-06-20 10:05:39 +03:00
Olli Pettay
62dfeec573 Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen 2012-06-14 21:00:05 +03:00
Gervase Markham
d697fdc8ec Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
Ryan VanderMeulen
9a387d5fe3 Backout 8cf563a575fd (bug 734015) due to random Moth orange. 2012-05-23 19:27:40 -04:00
Olli Pettay
ba69e2c9f0 Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen 2012-05-23 15:55:13 +03:00
Henri Sivonen
71efda6e2b Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug. 2012-03-24 13:34:42 +02:00
Henri Sivonen
b191345374 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Henri Sivonen
43610b6da3 Bug 717488 part 1. r=smaug. 2012-03-21 14:39:25 +02:00
Henri Sivonen
c05bfe6acc Bug 733282. r=smontagu. 2012-03-14 13:19:15 +02:00
Makoto Kato
46842c9bf0 Bug 590390 - deCOM nsICharsetAlias. r=smontagu 2012-03-05 12:57:51 +09:00
Masatoshi Kimura
cc7d33fdbd Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Henri Sivonen
b661112113 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
943aee8f19 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
9b1962f5cc Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
5aae1f453d Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
72a4aefa74 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
0d3eb749d1 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matt Brubeck
20044ae2a1 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
8cb7bb6eef Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen
cb545ac8a4 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
282d41d3e8 Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
b251f508a4 Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
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