Commit Graph

446 Commits

Author SHA1 Message Date
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
Johnny Stenback
8c3d7afa73 Fixing build order issue. 2009-06-28 11:18:21 -07: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
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Ben Newman
2baeab87c0 Bug 484121 (6/6) - Don't let DTDs hold parser references. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman
15437233b4 Bug 484121 (5/6) - Avoid needlessly passing nsIContentSink parameters to nsIDTD methods. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman
d0673daedb Bug 484121 (4/6) - Let the parser call nsIContentSink::{Will,Did}BuildModel directly. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman
b009474f4b Bug 484121 (3/6) - Get rid of nsIDTD::Will{Resume,Interrupt}Parse. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman
94f19e102d Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman
38ce0e67f1 Bug 484121 (1/6) - Decompose nsHTMLTokenizer::GetFlags. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Jonas Sicking
d378472c28 Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap 2009-05-19 08:54:42 -07:00
Henri Sivonen
fee082ae9f Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Blake Kaplan
ae947363e1 Bug 490937 - Eagerly start prefetching URIs that we've found when we're done with our section of the document. Don't wait for the parser to tell us to go ahead. r+sr=jst 2009-05-14 13:02:13 -07:00
Henri Sivonen
7daea6f8df Adjust nsParser to implement the HTML5 ParseFragment stub 2009-04-23 13:18:19 +03:00
Henri Sivonen
5c1801d482 Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content. 2009-04-22 12:17:08 +03:00
Henri Sivonen
e096617179 Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Blake Kaplan
c1dd12b814 Bug 495663 - Count newlines correctly if we have an alternate ending position. r+sr=sicking 2009-06-01 20:44:37 -07:00
Blake Kaplan
ed18be0cf5 Bug 488730 - Count newlines correctly when skipping whitespace. r+sr=sicking 2009-06-01 20:44:37 -07:00
Jesse Ruderman
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00
Henri Sivonen
4a6930f177 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Arpad Borsos
46a23fbb59 Bug 474369 - get rid of nsVoidArray, parser part; r+sr=mrbkap 2009-03-25 09:13:05 +01:00
Peter Van der Beken
7ffc24f45e Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman
5f8644e892 imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Ben Newman
3f5a61bc5e imported patch parser-own-dtd.diff 2009-03-23 18:26:46 -07:00
Boris Zbarsky
1c1a3affbf Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
2129bba0b3 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz 2009-03-24 12:52:00 -04:00
Henri Sivonen
d4a2fbc016 Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary
5ceb37fc14 bug 328751 - crash test by Tom Ferris. 2009-04-24 10:08:11 -07:00
Jonas Sicking
53e008e58c Bug 478889: Make script-defer work in xhtml. r/sr=peterv
--HG--
extra : rebase_source : 4e2abc2b35c72f7c5831f58b0f1c6940b1824de7
2009-03-15 17:53:09 -07:00
Jonas Sicking
c9c9ae21d9 back out changes that weren't supposed to be checked in 2009-03-10 00:03:48 -07:00
Jonas Sicking
e59a5b673b Bug 475636: Disallow refresh to javascript uris. r/sr=bz
--HG--
extra : rebase_source : 1fdfc3148c257aee22001be045258cc985ee027a
2009-03-09 23:03:39 -07:00
Henri Sivonen
a895ed96a7 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Chris Pearce
ce9746ec0f Chris Pearce - Bug 480889 - Nested <source> elements appear in video's childNodes. r+/sr+ mrbkap 2009-03-09 09:53:58 +13:00
Johnathan Nightingale
bb9eab1dc1 Backed out changeset fdbe218cdcc7 - Causing crashtest hangs on linux. Tracked by bug 479499. 2009-03-03 09:43:47 -05:00
Blake Kaplan
5db7a023ea Add a crashtest for bug 460706. 2009-02-26 17:01:10 -08:00
Blake Kaplan
d74a4498d3 Bug 479499 - Gracefully handle receiving more data while inside the expat driver. r+sr=peterv 2009-02-25 17:38:28 -08:00
Henri Sivonen
9dd56634ea Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Doug Turner
32ff514c95 Bug 479480 - drop the XP_MAC specific MAX_REFLOW_DEPTH. r=josh, sr=dbaron 2009-02-20 13:28:15 -08:00
Blake Kaplan
979e570cb8 Bug 478699 - Tell the scanner it's incremental so we don't preload partial tokens. r+sr=jst 2009-02-17 14:59:49 -08:00
Makoto Kato
545bdd7ff2 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
Henri Sivonen
77c2b73306 Restart HTML5 parser on meta charset; release stack and list memory in tree builder 2009-01-16 15:21:48 +02:00
Jesse Ruderman
46006e4349 Use 'skip' instead of commenting-out to disable crashtests 2009-02-11 00:17:29 -08:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Jesse Ruderman
5f1cc5c3ce Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Blake Kaplan
2b3cfc1b17 Disable this test since it's randomly crashing on tinderbox. 2009-02-04 14:35:25 -08:00
Jonas Sicking
52bfc6ae03 Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap 2009-04-15 15:34:50 -07:00
Nochum Sossonko
0703b6838c Test for bug 364188 - param closes open div elements. r+sr=mrbkap 2009-04-11 10:56:13 +02:00
Boris Zbarsky
35edb04b3a Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Boris Zbarsky
a8e468bd0d Backing out changeset ec2bec209571 and changeset 140f64990c51 (fix for bug 481566) due to test failures. 2009-04-04 01:55:51 -04:00
Jonas Sicking
0e4cf0bee1 [mq]: sinkstuff 2009-04-03 18:25:13 -07:00
Boris Zbarsky
469f163bd7 Bug 457810 - Speculatively load stylesheets from preloading. r=mrbkap, sr=bzbarsky 2009-04-03 10:15:56 -04:00
Boris Zbarsky
8ce6a46269 Backing out changeset 37661caab4ce due to the Tp regression 2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com
e8b29e9cb0 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-04-02 17:39:58 -04:00
Boris Zbarsky
d115591997 Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression 2009-03-30 20:21:32 -04:00
bjarne@runitsoft.com
8b3f7126dc Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky 2009-03-30 11:31:16 -04:00
Blake Kaplan
53844263bc Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan
c6540ca70e Bug 474537 - Don't use a static array, since this can be called on multiple threads. r+sr=jst
--HG--
extra : rebase_source : 7926ab4fd9a5e141edfdd571ae82c8223bee5d37
2009-02-02 17:37:03 -08:00
Blake Kaplan
67fb3b8825 Bug 475480 - Fix warnings created by the speculative parsing landing. r+sr=sicking 2009-01-27 15:30:31 -08:00
Jonas Sicking
41e86fb4e9 More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap 2009-01-26 21:41:25 -08:00
Jonas Sicking
8d2deed13d Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
6a95c287a3 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
783650f7b1 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
cd13cb89e5 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Martijn Wargers
2e55e22efe Bug 364188. <param> should not close open <div> elements. r+sr=mrbkap 2009-01-19 21:42:00 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Curtis Bartley
42c390cfff Bug 473540 - Fix leak in nsViewSourceHTML.cpp, r+sr=mrbkap 2009-01-17 21:44:32 +01:00
Curtis Bartley
eb67a63210 Bug 464314 - view-source link-browsing doesn't decode entities. r+sr=mrbkap 2009-01-16 16:07:12 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Blake Kaplan
acbc24d122 Bug 316582 - Clean up this function. r+sr=jst 2009-01-15 16:34:55 -08:00
Curtis Bartley
ede8f563d6 View Source Linkification should only linkify "safe" URLs. p=cbartley, r=mrbkap, sr=bzbarsky, b=467852 2009-01-15 15:07:53 -05:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Blake Kaplan
07b49e5e6a Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky 2008-12-11 14:20:45 -08:00
Blake Kaplan
a62da39d54 Bug 466765 - Don't start the speculative parser twice. r+sr=jst 2008-12-11 14:20:44 -08:00
Ben Turner
573e0b2e1b 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
a682e0d618 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
03c259e522 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
2171389689 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
L. David Baron
e84f7f11b1 Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap 2009-01-10 08:28:16 -08:00
Blake Kaplan
9a561accea Backed out changeset e62d412d6251. The crashtest is randomly crashing. 2009-01-09 15:56:03 -08:00
Blake Kaplan
1a3147858a Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Ben Turner
08afd52991 Bug 468538 - 'Crash [@ nsParser::ParseFragment] setting innerHTML in mixed-content document'. r+sr=mrbkap, a=blocking1.9+ 2008-12-28 17:42:33 -05:00
Serge Gautherie
7f758f0e44 Backed out changeset: 9990da98d7b7 2008-12-20 05:05:42 +01:00
Blake Kaplan
5c629d22f3 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan
ca2ef7ce1f Bug 460706 - Handle misplaced ContinueInterruptedParsing calls during synchronous XMLHttpRequest. r+sr=sicking
--HG--
extra : rebase_source : 2852f7f9f0283bc6971dab6dd2ec92234fab302a
2008-12-19 15:45:55 -08:00
Neil Rashbrook
741dc2e731 Follow-on fixes for bug 17612 r+sr=mrbkap a=beltzner (grudgingly given that I should have filed a new bug) 2008-11-14 11:16:18 +00:00
Curtis Bartley
a83df7ad1a Bug 464727. Skip newlines too, instead of skipping tabs twice and newlines not at all. r+sr=mrbkap, a=beltzner 2008-11-13 22:05:05 -05:00
Blake Kaplan
d364d76b6a 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
Curtis Bartley
d6c469cd6b SRC and HREF attributes turned into clickable links in view source. p=cbartley r+sr=mrbkap a=beltzner b=17612 2008-11-10 16:18:39 -05:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Shawn Wilsher
4c8a80630a Backed out changeset 2c00478d356a (bug 458563) for orange 2008-11-01 18:16:40 -04:00
Mats Palmgren
227b74a513 Add tag soup HTML parser tests to mochitest suite. b=458563 r+sr=mrbkap 2008-11-01 21:27:18 +01:00
Blake Kaplan
b91e4a69a6 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
Taras Glek
c3c10b52fc Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-14 09:55:57 -07:00
Ben Newman
4fd213f46d Bug 448564. Better handling of sink context switches. r=mrbkap, sr=bzbarsky 2008-10-12 13:44:23 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
1a907b9d68 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-09 13:46:16 -07:00
Doug Turner
996fd0f708 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Blake Kaplan
2e1f26d2df Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst 2008-10-06 15:19:28 -07:00
Blake Kaplan
f70f9cc467 Bug 458145 - Don't allow random tags to close the body unexpectedly. r+sr=jst 2008-10-03 17:36:29 -07:00
Blake Kaplan
2b27404470 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
edc2d9445e 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
fb7c695968 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Matthew Gregan
c918946cca Bug 457806 - "<source> child of <audio> causes HTML parser to enter infinite loop" [r+sr=mrbkap] 2008-09-30 23:58:02 -05:00
Daniel
7655de15e3 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Dave Townsend
a8aedae104 Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan
3dfd3cc527 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
811d1a36c1 Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Olli Pettay
e3fb190fe1 Bug 433533 - Attributes stored using enum value don't keep the 'caseness', r+sr=sicking 2008-09-26 13:39:18 +03:00
Taras Glek
50b902d784 bug 454502: prbool issues in html parser. r+sr=mrbkap 2008-09-09 17:42:04 -07:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Benjamin Smedberg
e0d78879aa Bug 445570 - parser autostring allocated on the heap, r=mrbkap 2008-07-17 11:23:00 -04:00
Blake Kaplan
996f70395e Ensure that we call WillBuildModel. bug 420008, r+sr=bzbarsky 2008-07-15 11:35:07 +02:00
timeless
af8ef5b044 Protect the scanner from OOM when appending new data. bug 430574, r=mrbkap sr=jst 2008-07-14 15:05:15 +02:00
Blake Kaplan
fd5009d82b Allow <link> to be opened, even as the direct child of a <table>. bug 436722, r+sr=sicking 2008-07-14 15:00:43 +02:00
Mike Hommey
35ed02d3ae Bug 398810 - "Remove MOZILLA_1_8_BRANCH ifdefs from core on trunk" [r=sicking r=brendan r=bsmedberg] 2008-07-12 17:26:52 -05:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Robert O'Callahan
cafdc05f67 Bug 438519. Make DocumentType.internalSbuset return null when there was no internal subset in the doctype at all. r+sr=sicking. Acid3 progress. 2008-06-14 20:24:13 +12:00
jruderman@hmc.edu
063cf28ac9 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
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
mrbkap@gmail.com
1643be7a81 Ensure that CanPropagate and CreateContextStackFor are consistent. bug 423373, r+sr=sicking a=beltzner 2008-03-17 13:24:00 -07:00
timeless@mozdev.org
5f1917982e Bug 3004 Remove debug robot from build removed robot from the build, this removes it from cvs NPOB toolkit changes r=luser, a=luser 2008-03-16 13:30:40 -07:00
reed@reedloden.com
f7bade2b02 Bug 311366 - "should make custom elements able to contain blocks (<section>)" [p=mrbkap@gmail.com (Blake Kaplan) r=sicking sr=jst a1.9=beltzner] 2008-03-14 08:15:29 -07:00
timeless@mozdev.org
5f6d1e5a42 Bug 3004 Remove debug robot from build r=mrbkap sr=jag a=dsicore So Long, and Thanks for All the Fish 2008-03-12 01:15:55 -07:00
reed@reedloden.com
5e3b4d1415 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
bent.mozilla@gmail.com
820a55f61d Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 12:14:33 -08:00
bzbarsky@mit.edu
5ce95b509d Revert the change to RequiresBody. In particular, an <input type="Hidden"> needs to not require it, for now... Bug 418464, r+sr=mrbkap, a=jonas 2008-03-05 12:46:21 -08:00
reed@reedloden.com
419bed8306 Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+] 2008-03-05 02:29:32 -08:00
reed@reedloden.com
3534270def Bug 418119 - "nsIContentPolicy not called for external DTDs of XML documents" [p=trev.moz@adblockplus.org (Wladimir Palant) r=sicking sr=peterv a1.9=beltzner a=blocking1.9+] 2008-02-22 03:32:24 -08:00
bzbarsky@mit.edu
4a7d1a9542 Adding test 2008-02-18 23:52:14 -08:00
jwalden@mit.edu
83e44e6c16 Fix an incorrect dependency rule from the last commit. r=orange 2008-02-15 16:16:09 -08:00
jwalden@mit.edu
c94942c6d0 Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner 2008-02-15 15:22:55 -08:00
jwalden@mit.edu
665a3b2692 Add an extra rule that makes changes to moz_extensions.c cause the necessary recompilation, to fix Windows bustage due to the missing dependency. 2008-02-11 21:32:09 -08:00
jwalden@mit.edu
5ccb25d679 Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
jst@mozilla.org
9e54a68ddf Landing fix for bug 414764. Fixing problem with tokens being freed too many times. Patch by mrbkap@gmail.com, sr=jst@mozilla.org 2008-02-11 17:45:03 -08:00
bent.mozilla@gmail.com
c107df6d22 Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
Olli.Pettay@helsinki.fi
daae0453f1 Bug 414637, createContextualFragment() throws NS_ERROR_NOT_AVAILABLE (allow contextfragments when container is document) r+sr=sicking a=blocking1.9+ 2008-02-07 07:11:29 -08:00
bent.mozilla@gmail.com
df3125aee1 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
mats.palmgren@bredband.net
948da10c58 <!DOCTYPE> parsing tests. b=363883 2008-01-16 04:44:03 -08:00
dwitte@stanford.edu
2c3144edc3 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep 2008-01-03 16:07:06 -08:00
mrbkap@gmail.com
f9fb5b564c Always free the curren token at the end of HandleToken. bug 408939, r=bzbarsky sr=jst 2007-12-24 11:30:36 -08:00
mrbkap@gmail.com
6c98aa56b0 Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst 2007-12-21 10:57:16 -08:00
bzbarsky@mit.edu
68e6396ff3 Fix assertion. Bug 406903, r+sr=mrbkap, a=dsicore 2007-12-04 21:02:28 -08:00
bzbarsky@mit.edu
16a72a6a85 Fix bug 390565. r+sr=mrbkap 2007-12-02 18:29:48 -08:00
mrbkap@gmail.com
e612c7c81c Always free doctype decl tokens. bug 395846, r=jst sr=sicking a=schrep 2007-11-27 17:06:34 -08:00
mrbkap@gmail.com
0e3a1dfcb1 Don't deal with misplaced content when we're in the head. bug 401169, r=sicking sr=jst a=blocking-1.9 2007-11-27 16:59:27 -08:00
peterv@propagandism.org
ef884f984c Fix for bug 401613 (Intermittent XML parsing errors with this valid SVG file). r/sr=bz. 2007-11-19 02:57:29 -08:00
mats.palmgren@bredband.net
c38f6f2011 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
jonas@sicking.cc
2e16c55024 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
reed@reedloden.com
bb49cc00e8 Remove extraneous space to cause unit test machines to build. 2007-11-10 14:49:09 -08:00
bzbarsky@mit.edu
a9c3d9bdfb Log parser token refcounting, and fix a number of token leaks in view-source that were also leaking strings. Bug 402633, r+sr=mrbkap 2007-11-07 09:28:22 -08:00
jonas@sicking.cc
8f91334c94 Bug 395845. Fix leak of static parser-node cache. Patch by mrbkap. r/sr=sicking 2007-11-05 11:48:12 -08:00
bzbarsky@mit.edu
55cdff892c Don't leak strings from <keygen>. Bug 398665, r=kaie, sr=jst, a=dbaron 2007-10-09 19:10:00 -07:00
sayrer@gmail.com
c9ce0b50e1 Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking. 2007-10-03 19:11:57 -07:00
sayrer@gmail.com
7cea856a21 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
bzbarsky@mit.edu
fc171e1bd8 Comment-only change to address review comments in bug 394534. 2007-09-12 09:13:07 -07:00
jst@mozilla.org
fcb5325595 Fixing bug 394534. Make first attribute win in misplaced content. Patch by bzbarsky@mit.edu, r=mrbkap@gmail.com, sr=peterv@propagandism.org, a=jonas@sicking.cc/dsicore@mozilla.com 2007-09-10 16:50:16 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
mrbkap@gmail.com
9ce5e88d01 Don't ship link to the head from <body>. <link> and <style> will still prefer the head in the absense of an explicit body, but will stay still if there is one. bug 387691, r=sicking/sayrer sr=jst 2007-07-20 17:40:59 -07:00
sharparrow1@yahoo.com
ec84fa102d Bug 388438: Incorrect interpretation of LFCR after opening tag. r=mrbkap, sr=jst. 2007-07-17 14:29:19 -07:00
mrbkap@gmail.com
8150122c51 Don't treat PRBool as an int. bug 388093, r+sr=jst 2007-07-13 17:26:46 -07:00
mrbkap@gmail.com
107dc956fa This isn't ready for checkin, yet. <link> ends up in the body too much. 2007-07-13 14:58:11 -07:00
mrbkap@gmail.com
b031db3f95 Don't move <link> to the head, to match <style>. bug 387691, r+sr=sicking 2007-07-13 14:29:10 -07:00
jwalden@mit.edu
e3c4baccae 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
sharparrow1@yahoo.com
70b8781826 Update UUID for nsIParser 2007-06-26 17:41:30 -07:00
sharparrow1@yahoo.com
f31668952f Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst 2007-06-26 17:21:47 -07:00
mrbkap@gmail.com
40bafded02 Rename the mochitest file so that we don't try to run it as a test. 2007-06-25 17:15:51 -07:00
mrbkap@gmail.com
e0a0767da7 Add a mochitest for bug 379025, r=sayrer 2007-06-25 15:43:37 -07:00
mrbkap@gmail.com
e36e88a001 Allow noscript in the head so that it doesn't push <style> into the body, causing the style's text to prematurely open a body. bug 379025, r=sicking sr=jst 2007-06-22 14:47:26 -07:00
peterv@propagandism.org
b9ab4744f2 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
mrbkap@gmail.com
e523fca1ab 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
mrbkap@gmail.com
cad5bb8959 nsIParserNode::GetSource should be a const function. bug 374041, r+sr=jst 2007-05-18 11:45:39 -07:00
mats.palmgren@bredband.net
97457c10b6 Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst 2007-05-08 05:19:32 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
sayrer@gmail.com
5d6883d377 One exception fixed by mrbkap's patch for Bug 308145. 2007-04-18 11:01:47 -07:00
mrbkap@gmail.com
df64b71066 Allow <style> to appear anywhere in the document, don't force it to be in the <head>. bug 308145, r+sr=jst 2007-03-29 11:53:30 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00