Commit Graph

126 Commits

Author SHA1 Message Date
Ehsan Akhgari
cccdef8b2f Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
4342d9e7e4 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Scott Greenlay
983a63d62b Bug 596078: Remove old 4.x plugin directory scan. Patch by Scott Greenlay and Josh Aas. r=bsmedberg 2011-03-31 14:26:57 -04:00
Josh Aas
8366783148 Bug 645289: Correctly calculate whether or not a given plugin has running instances. r=bsmedberg 2011-03-29 16:43:18 -04:00
Ehsan Akhgari
bd51cb9b94 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Taras Glek
127b531db7 Bug 611840 - Don't fsync pluginreg.dat; r=josh 2011-03-27 17:40:59 -04:00
Benjamin Smedberg
e0d815c04b Bug 638171 - FireFox does not read Java Plugin Info.plist correctly.; r=jst,joshmoz 2011-03-24 14:43:37 -04:00
Benjamin Smedberg
fcfc7575ef Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker

--HG--
extra : rebase_source : e6da19a0edb2cd283bdb92f14e925ac9b96157ec
2011-02-23 10:47:25 -05:00
Benjamin Smedberg
cd477f5dcf Revert bug 634534 because of test failures (test_visibility.html timing out, and neverending.sjs data leaking into other plugin tests?) 2011-02-23 16:04:35 -05:00
Benjamin Smedberg
298d63f257 Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker
2011-02-23 10:47:25 -05:00
Josh Aas
e4a8d6efd7 Bug 633433: Limit plugin loading to Flash when we're trying to clear private data, but also clear anything else that happens to be open already. r=dwitte r=bsmedberg a=blocking2.0final+ 2011-02-18 20:05:23 -05:00
Dan Witte
21c43728f6 Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner 2011-02-08 14:16:07 -08:00
Benjamin Smedberg
54b2d38ca8 Bug 631002 - Crashes in our RPC code because something is crashing (not sure what yet) and the primitive __try/__catch crash catching in the plugin host screws up the IPC invariants. Disable the __try/__catch blocks because we shouldn't need them any longer and they are covering up core problems. r=josh a=myself 2011-02-04 10:23:55 -05:00
Josh Aas
d1ea555568 Bug 611296: Fix bug that caused the Quicktime plugin to fail to load for some Mac OS X users. Don't require that the MIME plist locale match the current locale. r=sgreenlay a=blocking2.0betaN+ 2011-01-07 07:47:41 -05:00
Robert O'Callahan
8f4e017e3a Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Jacek Caban
3d47530588 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] bustage fix r+a=bustage-fix 2010-12-26 22:51:06 +00:00
Robert O'Callahan
c53ca186bc Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] r=joshmoz a=blocking:beta9+ 2010-12-26 22:36:33 +00:00
timeless@mozdev.org
1295ad7a69 Bug 620297 crash [@ nsPluginHost::SetUpPluginInstance] if !aOwner, r+a=josh 2010-12-20 01:13:00 -08:00
Robert O'Callahan
0a31156e28 Backing out part 5 of bug 617152. a=blocking 2010-12-24 15:15:11 +13:00
Robert O'Callahan
a7ecb74728 Backing out ade671d15514 2010-12-24 15:14:04 +13:00
Robert O'Callahan
e7ada2cb2c Bug 617152. Part 5: nsPluginHost::StopPluginInstance should skip plugin instances that are already destroyed (e.g. because the plugin was disabled). r=josh 2010-12-20 14:37:43 +13:00
Taras Glek
282858f1e4 Bug 620114 - File size of pluginreg.dat increases steadily r=josh a=blocking-betaN 2010-12-20 15:38:10 -08:00
Scott Greenlay
e942a76ff0 Bug 616271 - missing bool bits r=taras a=blocking-betaN 2010-12-20 15:38:04 -08:00
Scott Greenlay
17efb9dad5 Bug 616271: Add architecture and list of invalid plugins to pluginreg, r=josh,taras a=blocking-beta9 2010-12-09 14:28:15 -08:00
timeless@mozdev.org
b21a74878e Bug 615066 potential crash [@ nsPluginHost::HandleBadPlugin] if !aInstance
r=josh, a=josh

--HG--
extra : rebase_source : c9116eca854b56984cbebdf347658a8caa93a274
2010-12-08 12:22:10 +00:00
Steven Michaud
7dcde2114e Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Scott Greenlay
7c03da7bf1 Bug 613679 - pluginreg.dat rewritten on plugins list construction, even if there are no changes, r=josh, a=josh 2010-11-19 18:00:52 -08:00
Josh Aas
3ce1c68853 Bug 573873: Fix bug in HTTP handling for plugins. r=jst a=blocking2.0 2010-11-17 14:25:48 -05:00
Scott Greenlay
e77d3901bf Bug 611197 - Force pluginreg.dat refresh to propagate fix for Quicktime pdf display bug, r=josh, a=beta8+ 2010-11-15 14:21:50 -08:00
Josh Aas
1947ab90af Remove Windows line endings. No bug. a=josh 2010-11-06 16:27:39 -04:00
Phil Ringnalda
8b34a81d80 Bug 608544 - Don't console-spam a totally expected warning about not getting the pref plugins.unloadASAP which has no default value, r+a=josh 2010-10-30 14:01:53 -07:00
Jim Mathies
69ebe4e6e9 Bug 570249 - Plugin container shutdown via hang detector results in a disabled browser window when modal plugin dialogs are active. r=bsmedberg, a=final. 2010-11-05 10:18:07 -05:00
Boris Zbarsky
30295285d4 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00
Jacek Caban
406ac00a77 Bug 603373 - Remove unused library argument of NS_TRY_SAFE_CALL_* macros r=joshmoz a=benjamin 2010-10-14 21:06:31 +00:00
Scott Greenlay
6fceabba35 Bug 478823: Fix memory leak that can result from reloading the plugin list. r=josh r=jst a=blocking2.0b8+ 2010-10-13 11:50:35 -04:00
Josh Aas
3e8ad437b6 Bug 596434: Don't require a PRLibrary when making a decision about whether or not to put a plugin out of process. r=jst a=blocking-b7 2010-09-15 21:57:13 -07:00
Ms2ger
30726f670e Bug 590970 - Don't compare PL_strcasecmp's return value to nsnull; r=joshmoz approval2.0=jst 2010-09-02 22:18:04 +02:00
Josh Aas
7c8d5f47f2 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg a=blocking-b5+ 2010-08-17 20:05:48 -04:00
Josh Aas
eb65c35fef Backed out changeset 452db8c688ba, bug 578868. 2010-08-13 04:23:13 -04:00
Josh Aas
e8f9c53806 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg 2010-08-13 02:42:42 -04:00
Josh Aas
52a0d495b7 Fix a problem in which we fail to load an enabled plugin just because a disabled plugin is a MIME handler for the same MIME type. b=581848 r=jst 2010-08-04 15:16:12 -04:00
Josh Aas
930aa1296a Bug 583506: Remove remaining support for blackwood java from plugins module. r/a=jst 2010-08-02 16:31:31 -04:00
Josh Aas
129ac218c6 Bug 583019: Remove unused library management code from the plugin host. r=benwa 2010-07-29 17:53:48 -04:00
Josh Aas
6ee6e0f0e7 Bug 542971, bug 577985: Includes a number of plugin module memory mgmt fixes. Remove/replace nsPluginInstanceTag (instance tags), stop storing the plugin library and function table twice. r=jst 2010-07-19 22:11:26 -04:00
Josh Aas
9a8a73ee06 Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa 2010-07-17 19:47:29 -04:00
Josh Aas
9d110a0600 Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa (re-landing, did not cause Ts Shutdown regression) 2010-07-16 15:55:54 -04:00
Josh Aas
ff84c50aad Backed out changeset 764bb4ae886c, bug 578913, it may be at fault for a Ts Shutdown regression. 2010-07-16 13:25:01 -04:00
Josh Aas
ee2aabe5e5 Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa 2010-07-15 22:30:07 -04:00
Josh Aas
7cd34cf663 Move nsPluginStreamListenerPeer to its own files, clean up the plugin host. b=578447 r=benwa 2010-07-13 16:48:00 -04:00
Josh Aas
fada1b3fd6 Remove nsPluginCacheListener, it is unused. b=578285 r=benwa 2010-07-13 02:58:30 -04:00