Граф коммитов

2543 Коммитов

Автор SHA1 Сообщение Дата
Blake Kaplan 0dc253dbe4 Backed out changeset e62d412d6251. The crashtest is randomly crashing. 2009-01-09 15:56:03 -08:00
Blake Kaplan e351ee17f6 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Jesse Ruderman 10c6ec54aa Add 19 crashtests 2009-01-01 14:18:58 -08:00
Ben Turner ef0674e4a6 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 c7f49ca472 Backed out changeset: 9990da98d7b7 2008-12-20 05:05:42 +01:00
Blake Kaplan 065c5d1780 Add a crashtest for bug 460706. r=sicking 2008-12-19 17:38:18 -08:00
Blake Kaplan 55de50f939 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 8a5c35a132 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 ef4a3dee2c 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 877281f873 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 304a909ea9 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 5ac69655c0 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 3c993bcc89 Backed out changeset 2c00478d356a (bug 458563) for orange 2008-11-01 18:16:40 -04:00
Mats Palmgren bf8c297a67 Add tag soup HTML parser tests to mochitest suite. b=458563 r+sr=mrbkap 2008-11-01 21:27:18 +01:00
Blake Kaplan 5ac270730d 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 e7bf6a78e3 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-14 09:55:57 -07:00
Ben Newman 986e6eec49 Bug 448564. Better handling of sink context switches. r=mrbkap, sr=bzbarsky 2008-10-12 13:44:23 -04:00
Arpad Borsos 4460c617be 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 230de3c9c0 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-09 13:46:16 -07:00
Doug Turner 69aaa5d4ac Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Blake Kaplan e2950d097a Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst 2008-10-06 15:19:28 -07:00
Blake Kaplan 6e81baaf53 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 d5306af8af 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 21177b761e 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 fe270762e4 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Matthew Gregan 130ef3bded 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 c882af5f38 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Dave Townsend 20f676faa3 Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan 9537f05c31 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 9ac9b99775 Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Olli Pettay 7dc48d7c5a 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 63d743a441 bug 454502: prbool issues in html parser. r+sr=mrbkap 2008-09-09 17:42:04 -07:00
Ted Mielczarek f4576958c6 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 dd6e056c87 Bug 445570 - parser autostring allocated on the heap, r=mrbkap 2008-07-17 11:23:00 -04:00
Blake Kaplan 4558d5bd01 Ensure that we call WillBuildModel. bug 420008, r+sr=bzbarsky 2008-07-15 11:35:07 +02:00
timeless 63f70dcea2 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 bdaf00bdc1 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
Chris Double cdd819182f 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 b3925ae6b5 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 96343700a8 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 7450957199 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 e2c269222e reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org 5da68b2430 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 b9d70a48f3 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 fb403adbb5 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 b4a8392719 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 b418f8fdd6 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 2393c211f6 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 62a4b44fdb 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 ac133e4b7a 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 aa8206b53b 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 467c7ae9fb 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 4118c1820e Adding test 2008-02-18 23:52:14 -08:00
jwalden@mit.edu c8d980c83c 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 5a4d5f2857 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 2fe7c744c4 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 6b6fca7591 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 bf15550415 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 f4e7dcb088 <!DOCTYPE> parsing tests. b=363883 2008-01-16 04:44:03 -08:00
dwitte@stanford.edu 0e22a5e08e 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 ceb847c60b 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 9375a18476 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 bcaf4e9514 Fix assertion. Bug 406903, r+sr=mrbkap, a=dsicore 2007-12-04 21:02:28 -08:00
bzbarsky@mit.edu 54c21bf764 Fix bug 390565. r+sr=mrbkap 2007-12-02 18:29:48 -08:00
mrbkap@gmail.com a49d04f0f7 Always free doctype decl tokens. bug 395846, r=jst sr=sicking a=schrep 2007-11-27 17:06:34 -08:00
mrbkap@gmail.com 8ef298c17c 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 18d54c1d66 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 27128a8e93 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 bbc05b782c 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 acee2ce316 Remove extraneous space to cause unit test machines to build. 2007-11-10 14:49:09 -08:00
bzbarsky@mit.edu 5f8c924258 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 fe74150303 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 bee64c709b 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 9233842bb6 Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking. 2007-10-03 19:11:57 -07:00
sayrer@gmail.com 3e0d1fa645 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 7b06f89639 Comment-only change to address review comments in bug 394534. 2007-09-12 09:13:07 -07:00
jst@mozilla.org 19e654a508 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 6f5f621c9e 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 7f75d5df1f 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 0b65aab902 Bug 388438: Incorrect interpretation of LFCR after opening tag. r=mrbkap, sr=jst. 2007-07-17 14:29:19 -07:00
mrbkap@gmail.com 3401f0b715 Don't treat PRBool as an int. bug 388093, r+sr=jst 2007-07-13 17:26:46 -07:00
mrbkap@gmail.com 3de20db7d0 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 d49402d886 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 12e960c504 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 d69ad8b1e5 Update UUID for nsIParser 2007-06-26 17:41:30 -07:00
sharparrow1@yahoo.com 8214a77e29 Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst 2007-06-26 17:21:47 -07:00
mrbkap@gmail.com 6974653e4c 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 bb4123ce9b Add a mochitest for bug 379025, r=sayrer 2007-06-25 15:43:37 -07:00
mrbkap@gmail.com 84144fcb24 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 8bc070521e Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
mrbkap@gmail.com e87c4579ff 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 814fa4415e nsIParserNode::GetSource should be a const function. bug 374041, r+sr=jst 2007-05-18 11:45:39 -07:00
mats.palmgren@bredband.net 1c0eec83c5 Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst 2007-05-08 05:19:32 -07:00
benjamin@smedbergs.us 0ab7558e7b 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 9a2d9fdbe7 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 d7ba59065d One exception fixed by mrbkap's patch for Bug 308145. 2007-04-18 11:01:47 -07:00
mrbkap@gmail.com 5114235f90 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 4d961c5c49 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
mrbkap%gmail.com f3f334dd25 Allow <link> to be opened, even as the direct child of a <table>. bug 436722, r+sr=sicking a=ss 2008-08-11 18:31:40 +00:00
jruderman%hmc.edu ce16041c5d Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner 2008-04-11 04:38:26 +00:00
timeless%mozdev.org 71f819b50c Bug 394114 Interfaces missing from various QI implementations.
r=jag sr=jag a=dsicore
2008-04-06 12:28:42 +00:00
timeless%mozdev.org 4dd59e4169 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 21:55:28 +00:00
timeless%mozdev.org 8f189a966c Bug 394114 Interfaces missing from various QI implementations.
r=jag sr=jag a=dsicore
2008-03-19 21:19:42 +00:00
mrbkap%gmail.com 65167626a9 Ensure that CanPropagate and CreateContextStackFor are consistent. bug 423373, r+sr=sicking a=beltzner 2008-03-17 20:24:01 +00:00
timeless%mozdev.org 1c99ab93c0 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 20:30:41 +00:00
reed%reedloden.com bb86947da7 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 15:15:30 +00:00
timeless%mozdev.org 09150ad4f1 Bug 3004 Remove debug robot from build
r=mrbkap sr=jag a=dsicore

So Long, and Thanks for All the Fish
2008-03-12 08:15:55 +00:00
reed%reedloden.com 53c5194c05 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 09:44:43 +00:00
bent.mozilla%gmail.com ed9e41df06 Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 20:14:35 +00:00
bzbarsky%mit.edu 8a279d9b5f 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 20:46:21 +00:00
reed%reedloden.com 1f26ed5f48 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 10:29:34 +00:00
reed%reedloden.com e7e7b37d49 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 11:32:24 +00:00
bzbarsky%mit.edu 2a60e94db3 Adding test 2008-02-19 07:52:14 +00:00
jwalden%mit.edu 54c5546c19 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-12 04:14:58 +00:00
jst%mozilla.org 528211b726 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-12 01:45:03 +00:00
bent.mozilla%gmail.com db179aac9c Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 22:07:53 +00:00
Olli.Pettay%helsinki.fi e78ace2829 Bug 414637, createContextualFragment() throws NS_ERROR_NOT_AVAILABLE (allow contextfragments when container is document) r+sr=sicking a=blocking1.9+ 2008-02-07 15:11:29 +00:00
bent.mozilla%gmail.com e21c0e91c9 Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9. 2008-01-29 22:12:22 +00:00
mats.palmgren%bredband.net 53b19eafda <!DOCTYPE> parsing tests. b=363883 2008-01-16 12:44:03 +00:00
dwitte%stanford.edu be0e9656b5 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-04 00:07:07 +00:00
mrbkap%gmail.com b6882f9c53 Always free the curren token at the end of HandleToken. bug 408939, r=bzbarsky sr=jst 2007-12-24 19:30:36 +00:00
mrbkap%gmail.com d4e6c30cc9 Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst 2007-12-21 18:57:16 +00:00
bzbarsky%mit.edu cc533652e5 Fix assertion. Bug 406903, r+sr=mrbkap, a=dsicore 2007-12-05 05:02:28 +00:00
bzbarsky%mit.edu 186f08b282 Fix bug 390565. r+sr=mrbkap 2007-12-03 02:29:49 +00:00
mrbkap%gmail.com db2180033b Always free doctype decl tokens. bug 395846, r=jst sr=sicking a=schrep 2007-11-28 01:06:34 +00:00
mrbkap%gmail.com 194208d68d Don't deal with misplaced content when we're in the head. bug 401169, r=sicking sr=jst a=blocking-1.9 2007-11-28 00:59:27 +00:00
peterv%propagandism.org 5c043ff27f Fix for bug 401613 (Intermittent XML parsing errors with this valid SVG file). r/sr=bz. 2007-11-19 10:57:29 +00:00
mats.palmgren%bredband.net 928019dbfb Don't crash when ParseFragment() is called with an empty |aTagStack|. b=403877 r+sr=mrbkap a=jonas 2007-11-16 23:56:51 +00:00
jonas%sicking.cc 8c9f2e7aef Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart 2007-11-13 01:41:40 +00:00
reed%reedloden.com 010bb6bf81 Remove extraneous space to cause unit test machines to build. 2007-11-10 22:49:09 +00:00
bzbarsky%mit.edu e4eda32ae8 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 17:28:22 +00:00
jonas%sicking.cc fbba3ab2a4 Bug 395845. Fix leak of static parser-node cache. Patch by mrbkap. r/sr=sicking 2007-11-05 19:48:12 +00:00
bzbarsky%mit.edu 1f7ec0eb8b Don't leak strings from <keygen>. Bug 398665, r=kaie, sr=jst, a=dbaron 2007-10-10 02:10:01 +00:00
sayrer%gmail.com b13ea3816f Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking. 2007-10-04 02:11:57 +00:00
sayrer%gmail.com e05009d3e4 Bug 397804. pages loading feeds as content can trigger a leak. r=jst, sr=sicking, a=sicking 2007-09-28 03:00:36 +00:00
bzbarsky%mit.edu 824846267e Comment-only change to address review comments in bug 394534. 2007-09-12 16:13:07 +00:00
jst%mozilla.org 6b4e783fa7 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 23:50:16 +00:00
ginn.chen%sun.com fd8e29fa39 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore
2007-08-06 03:22:43 +00:00
mrbkap%gmail.com 38f57b5e12 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-21 00:41:00 +00:00
sharparrow1%yahoo.com ee69e990d5 Bug 388438: Incorrect interpretation of LFCR after opening tag. r=mrbkap, sr=jst. 2007-07-17 21:29:19 +00:00
mrbkap%gmail.com cc2e881066 Don't treat PRBool as an int. bug 388093, r+sr=jst 2007-07-14 00:26:46 +00:00
mrbkap%gmail.com e4e61f7829 This isn't ready for checkin, yet. <link> ends up in the body too much. 2007-07-13 21:58:11 +00:00
mrbkap%gmail.com 1d035f9f5a Don't move <link> to the head, to match <style>. bug 387691, r+sr=sicking 2007-07-13 21:29:10 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
sharparrow1%yahoo.com 98bde37dae Update UUID for nsIParser 2007-06-27 00:41:30 +00:00
sharparrow1%yahoo.com 11c5ba0d9b Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst 2007-06-27 00:21:47 +00:00
mrbkap%gmail.com 39fe321c98 Rename the mochitest file so that we don't try to run it as a test. 2007-06-26 00:15:51 +00:00
mrbkap%gmail.com f80e65e675 Add a mochitest for bug 379025, r=sayrer 2007-06-25 22:43:37 +00:00
mrbkap%gmail.com 49d5b08fc2 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 21:47:26 +00:00
peterv%propagandism.org c047ea93fd Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 09:15:27 +00:00
mrbkap%gmail.com d2b0abed14 Don't call DidBuildModel twice if Terminate is called twice since consumers aren't expecting it. bug 378982, r+sr=bzbarsky 2007-05-21 18:09:54 +00:00
mrbkap%gmail.com 4e282a98c8 nsIParserNode::GetSource should be a const function. bug 374041, r+sr=jst 2007-05-18 18:45:39 +00:00
mats.palmgren%bredband.net cf44c93d72 Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst 2007-05-08 12:19:32 +00:00
benjamin%smedbergs.us 3fb4912f5d 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 14:22:04 +00:00
bzbarsky%mit.edu ee773f7a7d Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking
2007-04-20 22:59:18 +00:00
sayrer%gmail.com 5c80ead3ce One exception fixed by mrbkap's patch for Bug 308145. 2007-04-18 18:01:47 +00:00
mrbkap%gmail.com 2421172487 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 18:53:30 +00:00
dbaron%dbaron.org a32fb9b241 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 15:33:45 +00:00
sayrer%gmail.com 02cd4ea3a2 fix wrong log message. 2007-03-20 22:05:46 +00:00
sayrer%gmail.com 508fd131de Add times to parser test logging to examine linux test harness timeouts. 2007-03-20 21:15:24 +00:00
sayrer%gmail.com 36ea2b3d83 Renabling, after local check for bustage. 2007-03-16 23:01:42 +00:00
mats.palmgren%bredband.net b1ef833195 Fix --enable-perf-metrics build failure. b=370230 r=jonas sr=benjamin 2007-03-14 16:44:51 +00:00
sayrer%gmail.com 8224f45c11 Bug 366936. disable tests to see if mac bustage is affected by that. 2007-03-11 01:05:06 +00:00
sayrer%gmail.com c43ce0a392 Bug 366936. Run WHATWG/html5lib tests on HTML parser. r=mrbkap 2007-03-10 23:41:00 +00:00
sayrer%gmail.com 8105fc2ae9 Bug 368994. move some more tests. r=dbaron 2007-02-20 22:18:09 +00:00
sayrer%gmail.com 43dd7a3c61 Bug 339350. move unit tests. r=mrbkap 2007-02-19 19:47:31 +00:00
martijn.martijn%gmail.com a1976b27b7 Bug 334227 � embed shouldn't close p, r=mrbkap, sr=jst 2007-02-16 12:18:56 +00:00
martijn.martijn%gmail.com c824dc0a3f Bug 369326 � Allow marquee inside p, r=mrbkap, sr=dbaron 2007-02-16 12:12:44 +00:00
jonas%sicking.cc 4e449bc9e0 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
mrbkap%gmail.com f0f47be3ab Use a better replacement character. bug 315473, r=bzbarsky sr=sicking 2007-01-25 17:30:13 +00:00
mrbkap%gmail.com 60d008126f Handle NUL characters in HTML input better. bug 315473, r=jst sr=sicking 2007-01-25 01:25:41 +00:00
mats.palmgren%bredband.net bf6bdd2ed7 Improved NS_ERROR_OUT_OF_MEMORY error handling. b=354074 r=mrbkap sr=jst 2006-10-27 01:49:52 +00:00
sayrer%gmail.com 648d449222 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
cvshook%sicking.cc 56bb2513f9 Bug 351731: Add testcode for the new hash 2006-10-09 23:29:27 +00:00
cvshook%sicking.cc 691c6db696 Bug 351731: Add hash to map directly from nsIAtom* -> id. r/sr=bz 2006-10-09 22:08:45 +00:00
timeless%mozdev.org 6e0f27198e Bug 352132 [@ CNavDTD::HandleSavedTokens] possibly null mSink is dereferenced
r=mrbkap sr=bz
2006-09-22 07:27:15 +00:00
sayrer%gmail.com be5be83dab Bug 334302. Adjust SAXLocator reports in ReportError. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bz 2006-09-13 18:20:05 +00:00
aaronr%us.ibm.com 62cb244b9b change nsIParserService to use nsStringGlue. Bug 350748, r=mrbkap, sr=jst 2006-08-31 18:40:42 +00:00
bzbarsky%mit.edu a6cd2d536c Allow nsIExpatSink implementations to control whether the expat driver logs
parse errors to the console.  Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky
2006-08-25 16:34:57 +00:00
sayrer%gmail.com 3fc1ef4e9c Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst 2006-08-12 04:46:43 +00:00
benjamin%smedbergs.us f4fa701ec6 Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00
masayuki%d-toybox.com b4268c824a b=255990 backing-out the previous patch, we should try to better fix. 2006-07-20 09:04:39 +00:00
masayuki%d-toybox.com 98cb1443cd b=255990 previous checked-in has wrong file. 2006-07-14 06:00:20 +00:00
masayuki%d-toybox.com 4043cc5796 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap, sr=roc 2006-07-14 04:57:05 +00:00
masayuki%d-toybox.com a03f9c498d b=255990 backing-out the patch, because DomToTextConversionTest failed 2006-07-13 21:04:25 +00:00
masayuki%d-toybox.com 7841506492 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap sr=roc 2006-07-13 20:25:46 +00:00
peterv%propagandism.org 06a64bca01 Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst. 2006-07-13 12:50:58 +00:00
mats.palmgren%bredband.net 3c7c571960 Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part) 2006-07-06 10:43:51 +00:00
mrbkap%gmail.com ba86615629 Don't close random tags when we encounter an erroneous </head> tag. bug 342520, r+sr=sicking 2006-06-23 21:30:57 +00:00
mrbkap%gmail.com 6905f8dbc8 Keep the DTD's stack in sync with the content sink's stack to avoid miscommunication. bug 333497, r=sicking sr=jst 2006-06-22 21:34:35 +00:00
dveditz%cruzio.com f3e1ecabf0 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
sayrer%gmail.com 675bac0ec8 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
timeless%mozdev.org 64a760c3c0 Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
mrbkap%gmail.com 44de20328c Force noscript to be either in the head or the body. bug 312704, r=bzbarsky sr=sicking 2006-06-08 01:21:50 +00:00
timeless%mozdev.org 9391198a55 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
mats.palmgren%bredband.net 620c30513e Don't suppress the first newline in a text/plain document. b=339364 r=mrbkap sr=jst 2006-06-03 18:18:29 +00:00
peterv%propagandism.org 8708d173ad Fix for bug 236873 (Share class for more elements). r/sr=sicking. 2006-05-21 21:00:09 +00:00
darin%meer.net 7d3e7d7acd 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
timeless%mozdev.org 45cb5c3a4c Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz
2006-05-06 22:09:20 +00:00
gavin%gavinsharp.com 6c9a9fd644 Bug 334716: Ineffective allocation check in nsParserService::CreateEntry (nsParserService.cpp), patch by patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=jst 2006-04-28 17:25:47 +00:00
timeless%mozdev.org 58267752ba Bug 315826 Scriptable XPCOM wrapper for SAX content handler
patch by sayrer@gmail.com r=peterv sr=sicking
2006-04-17 01:13:07 +00:00
mrbkap%gmail.com de491a25e9 Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst 2006-04-10 20:49:02 +00:00
mrbkap%gmail.com bc3dec85e2 Remove a redundant null check found by Coverity. bug 333388, r+sr=sicking 2006-04-10 20:44:11 +00:00
mrbkap%gmail.com c1068ac37c Count newlines in textareas correctly. bug 331482, r+sr=sicking 2006-04-06 22:30:18 +00:00
dbaron%dbaron.org ac49c790c1 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
darin%meer.net 5521781301 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
mrbkap%gmail.com 8a6fe71237 Allow flow elements to contain <noframes> for interoperability with other browsers. bug 327250, r+sr=jst 2006-03-22 21:22:25 +00:00
peterv%propagandism.org cdb75d95a0 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz. 2006-03-17 14:38:57 +00:00
peterv%propagandism.org f6798176c0 Backing out to fix bustages. 2006-03-16 15:12:21 +00:00
peterv%propagandism.org d451920038 Try to fix bustage. 2006-03-16 14:48:08 +00:00
peterv%propagandism.org 344498aa4e Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz. 2006-03-16 13:47:42 +00:00
cbiesinger%web.de 0d7e8a0511 326477 extend nsIExpatSink in order to support SAX
patch by Robert Sayre <sayrer@gmail.com> r=sicking sr=peterv
2006-03-15 17:45:25 +00:00
mrbkap%gmail.com 763b3ad344 Don't stomp all over the heap in debug builds. Also raise eMaxTags to reflect the actual deepest stack that we will see. bug 309777, r+sr=jst 2006-03-10 00:47:57 +00:00
peterv%propagandism.org 2c5b2e3f32 Fix for bug 325733 (Unclosed XML tags no longer trigger an error message) and bug 326741 (Crash with parsing malformed XUL file with -chrome). r/sr=bz. 2006-03-08 14:34:50 +00:00
mrbkap%gmail.com 8ceda7e6ef Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst 2006-03-07 21:47:25 +00:00
mrbkap%gmail.com 07709a8166 Protect against our table container being closed before we're ready by using the same logic to find the close tag that HandleEndToken does. bug 329364, r+sr=jst 2006-03-06 22:13:41 +00:00
benjamin%smedbergs.us 6480512a5a Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-03-02 14:38:10 +00:00
martijn.martijn%gmail.com 5203c76722 Bug 328289 - dtd's should be read using 4096 bytes buffers, instead of 1024 bytes buffers. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky 2006-02-24 13:04:06 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com 92a0a3a960 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
bzbarsky%mit.edu 3e367467ea Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst
2006-02-12 22:05:33 +00:00
peterv%propagandism.org 459bb58a01 Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst. 2006-02-07 14:34:10 +00:00
mrbkap%gmail.com fe1cb3499a Don't get confused by multiple right square brackets when parsing CDATA sections. bug 325532, r+sr=jst 2006-02-06 18:54:53 +00:00
mrbkap%gmail.com 598c202356 Remove parser generation of the _moz-userdefined attribute since comopser can figure out the information it provides on its own. bug 325405, r=sicking sr=jst 2006-02-04 02:02:55 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com c481b14f74 Testcase for bug 18308 doesn't work. bug 319826, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r+sr=jst 2006-02-02 01:07:57 +00:00
mrbkap%gmail.com 6917a6e3d9 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
mrbkap%gmail.com 54fe2bfe1a When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst 2006-01-31 22:19:46 +00:00
mrbkap%gmail.com 6981d6c20c Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
mrbkap%gmail.com 35bb3c16f7 Try to fix an infinite loop on startup (bug 324667, r+sr=jst). 2006-01-28 01:21:46 +00:00
peterv%propagandism.org f7d9c91c10 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-27 14:47:23 +00:00
mrbkap%gmail.com 79869bc6c0 Change these QueryInterface implementations to be macros, not hand rolled. No bug, r+sr=dveditz 2006-01-26 22:24:20 +00:00
mrbkap%gmail.com 287da830da This should have gone too, (bug 324738) 2006-01-26 19:10:19 +00:00
mrbkap%gmail.com 87cc7990fa bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst 2006-01-26 19:07:41 +00:00
peterv%propagandism.org df9375719f Backing out fix for bug 323299 for now to fix Trender and bug 324641. 2006-01-25 20:07:33 +00:00
peterv%propagandism.org d2c397fda9 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-25 12:53:00 +00:00
mrbkap%gmail.com 08b6e3a743 bug 320883: Handle split newlines at the end of chunks without duplicating newlines. r=bzbarsky rs=brendan 2006-01-25 02:29:09 +00:00
mrbkap%gmail.com b4fe31dec2 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
mrbkap%gmail.com 0a86b61aab bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst 2006-01-21 02:02:02 +00:00
mrbkap%gmail.com 8cb2050a6e Fix a stupid typo that was making line numbers come out wrong. no bug, r=sicking sr=jst 2006-01-21 00:37:25 +00:00
mrbkap%gmail.com d1643de00f bug 324182: Cleanup some functions in CNavDTD and remove a redundant null check. r=sicking sr=jst 2006-01-21 00:36:11 +00:00
mrbkap%gmail.com b5b12eebee bug 324182: Update the token's attribute count when we add a token to it. r=sicking sr=bzbarsky 2006-01-20 23:25:37 +00:00
mrbkap%gmail.com 59c78b64a3 bug 323736: Handle bogus comments that start with </ as invalid comments, per HTML5 and to have compatibility with other browsers. r+sr=jst 2006-01-19 00:05:21 +00:00
mrbkap%gmail.com a5878e3d55 bug 316582: Clean up style in parser/htmlparser. r+sr=jst 2006-01-17 17:58:24 +00:00
peterv%propagandism.org f9714320bb 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
bzbarsky%mit.edu df87d5eb4c Rename our in-tree expat lib to mozexpat_s. Bug 305841, patch by Andy Willis
<abwillis1@gmail.com>, r=peterv
2006-01-07 02:40:20 +00:00
mrbkap%gmail.com de97871fab 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
mrbkap%gmail.com 1a15e7ce89 bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv 2005-12-22 22:31:36 +00:00
mrbkap%gmail.com d003270516 bug 320585: View source can loose a final equals sign in an attribute if the preceeding character was a quote or slash. r+sr=jst 2005-12-19 20:37:08 +00:00