Ben Turner
14c18384db
Bug 460437 - 'innerHtml doesn't update DOM when Html markup goes from Invalid to Valid'. r+sr=mrbkap.
2008-12-07 16:15:52 -08:00
Masatoshi Kimura
cace253303
Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron
2008-12-06 11:08:26 -08:00
Daniel Holbert
1272b64029
Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes.
2008-12-05 11:52:01 -08:00
Masatoshi Kimura
bcbf20570f
Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron
2008-12-05 18:31:00 +01:00
Robert Sayre
bf2142c4cf
Turn spec parsing back on.
2008-11-14 02:37:42 -05:00
Robert Sayre
3cbb13d470
Disable speculative parsing to check regression. bug 464495.
2008-11-12 14:58:31 -05:00
Blake Kaplan
8b7aa979a4
Bug 458440 - Turn speculative parsing back on and clean up the code a little. r+sr=jst
2008-11-11 10:52:40 -08:00
Blake Kaplan
8545946bcf
Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst
2008-10-30 14:31:00 -07:00
Blake Kaplan
d572d83117
Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst
2008-10-06 15:19:28 -07:00
Blake Kaplan
3e396ee0a0
Bug 458440 - Don't create a speculative parser for an empty string. Also, avoid doing work that the scanner will happily do for us. r+sr=jst
2008-10-03 14:11:12 -07:00
Blake Kaplan
6676b2fdc4
Bug 364315 - Fix threadsafety assertions and crashes by only releasing documents on the main thread and not starting two speculative parsers for the same nsParser. r+sr=jst
2008-10-01 17:09:21 -07:00
Blake Kaplan
c5086f2b41
Bug 364315 - Implement speculative parsing. r+sr=jst
2008-09-30 23:48:47 -07:00
Dave Townsend
555f3803ea
Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
...
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan
a08a0df39d
Bug 364315 - Speculatively look for URLs in the document while the parser waits for a script to download and execute. This should show a decent speedup, especially on mobile. Currently, this only finds other <script>s to preload, but hopefully we'll extend it to images and stylesheets as well. r+sr=jst
2008-09-29 21:19:43 -07:00
Blake Kaplan
05459fcc86
Bug 455043 - Remove HTML3 quirks mode. r+sr=jst
2008-09-26 15:43:37 -07:00
Blake Kaplan
fe1d89789f
Ensure that we call WillBuildModel. bug 420008, r+sr=bzbarsky
2008-07-15 11:35:07 +02:00
5a3f9516a0
Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner
2008-04-10 21:38:25 -07:00
38898aaf1b
Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
2008-02-08 14:07:51 -08:00
6e95d92d88
Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9.
2008-01-29 14:12:22 -08:00
015801ccc1
Don't crash when ParseFragment() is called with an empty |aTagStack|. b=403877 r+sr=mrbkap a=jonas
2007-11-16 15:56:51 -08:00
993fceabac
Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart
2007-11-12 17:41:40 -08:00
d1490c319f
Remove extraneous space to cause unit test machines to build.
2007-11-10 14:49:09 -08:00
6c956fc872
Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking.
2007-10-03 19:11:57 -07:00
06a8809e3a
Bug 397804. pages loading feeds as content can trigger a leak. r=jst, sr=sicking, a=sicking
2007-09-27 20:00:35 -07:00
98de634631
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
bdddb68f6a
Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst
2007-06-26 17:21:47 -07:00
245d026922
Don't call DidBuildModel twice if Terminate is called twice since consumers aren't expecting it. bug 378982, r+sr=bzbarsky
2007-05-21 11:09:54 -07:00
8867eb4e89
Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst
2007-05-08 05:19:32 -07:00
[email protected]
30dee49bd5
Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<[email protected] >. r=peterv sr=sicking
2007-01-30 21:21:06 +00:00
[email protected]
d89ea22df5
bug 339350. js: innerHTML removes 2 last simbols ']]' in application/xhtml+xml documents. r=mrbkap, sr=sicking
2006-10-10 21:28:23 +00:00
[email protected]
be9f9c635b
b=339599. nsISAXXMLReader expects a nsIChannel passed to onStartRequest, but interface takes an nsIRequest. r=mrbkap, sr=peterv
2006-06-19 03:03:28 +00:00
[email protected]
0700b87ece
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
[email protected]
bbc0b33ba2
CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
2006-02-22 00:00:38 +00:00
[email protected]
aae44b57d9
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
[email protected]
b31cead7c1
Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst
2006-02-01 18:57:09 +00:00
[email protected]
6d8d9d0d31
Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
2006-01-30 23:45:19 +00:00
[email protected]
6d25fd2467
bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
2006-01-26 19:07:41 +00:00
[email protected]
a0d63c95b0
bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
2006-01-24 01:25:14 +00:00
[email protected]
4f0545ebf6
Fix for bug 316582 (Clean up style in parser/htmlparser - CParserContext and small nsParser changes). r=mrbkap, sr=jst.
2006-01-13 14:45:32 +00:00
[email protected]
a6f8b7cd39
bug 321344: Make sure we always enter the loop. There's no reason to actually
...
test anything here because we never really did before. Review from peterv is
still pending, but brendan wants this on the trunk because it breaks
XMLHttpRequest.
2005-12-24 07:39:09 +00:00
[email protected]
eb284f5210
bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv
2005-12-22 22:31:36 +00:00
[email protected]
21af79fe88
Bug 106386 Correct misspellings in source code
...
patch by [email protected] r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
[email protected]
3bc8a1937c
Bug 106386 Correct misspellings in source code
...
patch by [email protected] r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
[email protected]
e165e9f6d5
bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky
2005-11-22 23:29:30 +00:00
[email protected]
d587a7508e
Backout due to tree orange.
2005-11-21 14:59:12 +00:00
[email protected]
2f77719a9a
Bug 106386 Correct misspellings in source code
...
patch by [email protected] r=timeless
2005-11-21 06:25:15 +00:00
[email protected]
e7ad034a47
bug 311907: Use a function that correctly updates the DTD internal flags so that invalid <body>s in the new string don't confuse us. r=bzbarsky sr=jst
2005-11-14 21:55:34 +00:00
[email protected]
4e09d3f606
bug 315927: Clean up nsHTMLTokenizer to not have so many virtual methods. Also clean up CParserContext::GetTokenizer. r+sr=jst
2005-11-11 19:11:36 +00:00
[email protected]
b6cf025667
bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst
2005-11-02 01:10:37 +00:00
[email protected]
e2b264a6ad
bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <[email protected] >. r=mrbkap sr=jst
2005-09-09 21:59:51 +00:00