Dave Townsend
f1937fe947
Followup to Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins. r=joshmoz, a=approval2.0 DONTBUILD
2011-02-05 21:27:31 -08:00
Marco Bonardo
aaac8f2d4c
Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE
2011-02-09 15:48:12 +01:00
Chris Jones
66c0a6b21b
Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc
2011-02-08 18:44:14 -06:00
Dan Witte
b39a896a01
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
Ehsan Akhgari
e74b5aed6c
Bug 631412 - Bug 629401 breaks non-libxul builds due to unresolved reference to nsContentUtils::DispatchTrustedEvent(nsIDocument*, nsISupports*, nsAString_internal const&, int, int, int*); r=khuey a=NPOTB
2011-02-04 12:00:21 -05:00
Benjamin Smedberg
ea46880456
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
9c1ed262b2
Bug 626608: Make sure plugin is in a state to receive callbacks before calling NPP_UrlRedirectNotify. r=bsmedberg a=blocking2.0final+
2011-02-03 16:45:33 -08:00
timeless@mozdev.org
887490b02e
Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins r=josh a=jst
2010-07-11 15:50:47 +03:00
Benjamin Smedberg
fda470883b
Bug 616400 - When a plugin returns a failure code from NPP_New, but creates JS objects in the process, anyone trying to script those objects after NPP_New fails will crash (Silverlight crash @NPObjWrapper_NewResolve). Call nsJSNPRuntime::OnPluginDestroy on a failed-init case just as we do in a normal cleanup case. r=josh a=blocker
2011-02-03 16:10:45 -05:00
Josh Aas
c0043cc7d8
Bug 629401: Carbon plugins that cannot load in X64 Mac should send an event or notifyObservers of failure. r=BenWa, a=blocks-betaN
2011-02-03 09:31:01 -08:00
Josh Aas
239a2a4f95
Bug 610015: Implement updated Cocoa NPAPI text input spec. Part of this patch written by Steven Michaud. r=josh r=smichaud a=blocking2.0betaN+
2011-01-20 20:08:11 -05:00
Josh Aas
5a9d57a6d9
Bug 623695: Sync to npapi-headers rev 34. r=dwitte a=josh
2011-01-18 21:32:35 -05:00
Josh Aas
f9f8b1058b
Fix line endings in PluginPRLibrary.cpp (Windows -> UNIX), no bug. a=josh DONTBUILD
2011-01-18 15:05:30 -05:00
Chris Leary
6805a382ac
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00
Jonathan Kew
4ab69a9708
bug 626180 - partial backout of bug 607121 (undo encoding-munging from changeset 3f8bee2e48a7) which broke non-ASCII plugin info. r+a=bsmedberg
2011-01-18 18:26:19 +00:00
Luke Wagner
b6dbb22d1d
Bug 595278 - Make sure the context outlives the request in NPAPI _evaluate (r=jst)
2011-01-12 10:57:06 -08:00
Jonathan Kew
08134f2072
bug 624789 - allow for non-ASCII characters when reading plugin info strings on OS X. r=josh a=josh
2011-01-14 13:15:48 +00:00
Jonathan Kew
2cb0c69426
bug 607121 - convert plugin info strings from windows-1252 to unicode. r=jmathies a=roc
2011-01-11 11:17:01 +00:00
Jacek Caban
c980e050a6
Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin
2011-01-11 10:16:59 +00:00
Josh Aas
8ddaa855bc
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
Josh Aas
54af1ba72c
Bug 623638: Fix crash in plugin stream code by adding back a NULL check. r=jst a=blocking2.0beta9+
2011-01-07 07:51:36 -05:00
Josh Aas
874361668d
Bug 475991: Extend NPAPI to allow plugins to participate in redirect handling. r=bsmedberg a=blocking2.0betaN+
2011-01-05 14:44:21 -05:00
Chris Leary
1d3c0638b7
Merge mozilla-central into tracemonkey.
2011-01-04 10:51:14 -08:00
Robert O'Callahan
635ece94a9
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
Taras Glek
ffc42c44ee
Don't do IO in nsPluginsDir::IsPluginFile on Mac r+a=josh
2010-12-27 11:15:15 -08:00
Jacek Caban
d83e8cb533
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
47439ff0e8
Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] r=joshmoz a=blocking:beta9+
2010-12-26 22:36:33 +00:00
timeless@mozdev.org
decad3427b
Bug 620297 crash [@ nsPluginHost::SetUpPluginInstance] if !aOwner, r+a=josh
2010-12-20 01:13:00 -08:00
Chris Leary
272d457a20
Merge mozilla-central to tracemonkey.
2010-12-29 19:25:04 -05:00
Makoto Kato
d0748609ac
Bug 620140 - Bug 616271 causes CanLoadPlugin returns failure when plugin path is non-ASCII. r=joshmoz a=blocking-beta9+
2010-12-20 12:52:03 +09:00
Robert O'Callahan
e835ebeb75
Backing out part 5 of bug 617152. a=blocking
2010-12-24 15:15:11 +13:00
Robert O'Callahan
5509213034
Backing out ade671d15514
2010-12-24 15:14:04 +13:00
Robert O'Callahan
7faddbb34c
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
Robert O'Callahan
863afc3119
Bug 617718. Don't process invalidates if we're stopping. r=bsmedberg a=bsmedberg
2010-12-21 15:03:00 -08:00
Taras Glek
0ea07d11c6
Bug 620114 - File size of pluginreg.dat increases steadily r=josh a=blocking-betaN
2010-12-20 15:38:10 -08:00
Scott Greenlay
e748997ab8
Bug 616271 - missing bool bits r=taras a=blocking-betaN
2010-12-20 15:38:04 -08:00
Luke Wagner
2fc61cf52e
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Josh Aas
10f5a0354f
Bug 573873: Make sure to propagate redirect notifications whenever we don't kill the redirect for plugins. r=jst sr=bz a=blocking2.0betaN+
2010-12-03 10:46:10 -05:00
Josh Aas
c04477ac1b
Bug 615881: Fix several bugs related to the handling of NPAPI's NPPluginFuncs structure. r=bsmedberg a=blocking2.0final+
2010-12-03 00:20:59 -05:00
Scott Greenlay
0a5b711056
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
Taras Glek
b9e24f22f3
Bug 616271 - Only check plugin validity once r=josh a=blocking-beta9
2010-12-10 10:23:48 -08:00
timeless@mozdev.org
3abf353848
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
afd3294490
Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+
2010-12-07 15:18:50 -06:00
Scott Greenlay
2633ddbcf2
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
Steven Michaud
2e29bcd78b
Bug 611910 - (try again with leak fixed) r=josh a=blocking2.0BetaN+
2010-11-19 14:58:59 -06:00
Daniel Holbert
9863cb8ff8
Backed out changeset 16c2e141d418 (Bug 611910) due to crashtest leak/orange. a=orange
2010-11-19 11:08:13 -08:00
Steven Michaud
ca1e7b72a9
Bug 611910 - r=josh a=blocking2.0BetaN+
2010-11-19 12:14:15 -06:00
Josh Aas
6094c78eb9
Bug 573873: Fix bug in HTTP handling for plugins. r=jst a=blocking2.0
2010-11-17 14:25:48 -05:00
Ryan VanderMeulen
b3c91154cb
Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin
2010-11-16 10:21:53 +01:00
Scott Greenlay
40ed798210
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
Scott Greenlay
9bf5461ab4
Bug 611136 - Support WebPluginTypeEnabled key in com.apple.quicktime.plugin.preferences.plist, r=josh, a=betaN+
2010-11-15 14:21:18 -08:00
Benjamin Smedberg
542fdd7b82
Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst
2010-11-15 09:41:19 -05:00
Ehsan Akhgari
eda812475f
Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
...
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Benjamin Smedberg
c1f3d96e91
Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
...
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.
This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246
Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958.
2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07
Merge mozilla-central into the branch for asynchronous plugin painting on Windows.
2010-11-05 15:56:28 -04:00
Benjamin Smedberg
b5c8de3824
Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt
2010-11-05 10:40:55 -04:00
Jim Mathies
c0b0832655
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
Benjamin Smedberg
0a2062e721
Merge mozilla-central to the branch for bug 596451.
2010-10-28 10:05:20 -04:00
Benjamin Smedberg
151a8aa808
Bug 596451 part H - Make our quirk of silverlight transparent by default active in the plugin process, to match the logic in nsNPAPIPluginInstance. This makes the Microsoft Surface website paint correctly. r=jimm
2010-10-27 09:13:53 -04:00
Benjamin Smedberg
ae4a853966
Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies
2010-10-25 13:57:13 -04:00
Benjamin Smedberg
135698e22c
Merge mozilla-central with the asynchronous plugins painting branch.
2010-10-13 10:45:01 -04:00
Josh Aas
3e01275064
Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+
2010-11-09 10:26:44 -05:00
Ehsan Akhgari
ffa07f5b9a
Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+
2010-11-04 14:45:51 -04:00
Benjamin Smedberg
f176e663d6
Bug 596451 part B - UseAsyncPainting really shouldn't need to dig very far or use an outparam, r=romaxa
2010-09-21 17:10:45 -04:00
Scott Greenlay
92c12ef9d7
Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7
2010-09-27 16:42:43 -04:00
Josh Aas
54d8736551
Back out patch for 596762, running the test plugin out-of-process on 64-bit Mac OS X is exposing a bug that causes a lot of intermittent orange. a=josh
2010-09-24 15:08:30 -04:00
Scott Greenlay
9ab1f355f5
Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7
2010-09-24 10:32:02 -04:00
Josh Aas
a2b531c127
Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh
2010-09-23 16:06:13 -04:00
Scott Greenlay
4d41c8ea82
Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7
2010-09-23 13:21:55 -04:00
Scott Greenlay
2b1aed9232
Bug 564485: Support "WebPluginMIMETypesFilename" for getting plugin MIME types on Mac OS X. r=josh a=blocking-betaN+
2010-10-25 13:56:46 -04:00
Oleg Romashin
42bbe5a57c
Bug 598112 - UseAsyncPainting, always return FALSE becuase plugin mRunning == FALSE. r=roc a=blocking2.0
2010-09-20 21:16:37 -07:00
Doug Turner
21dd89698d
Backing out Bug 598112. This caused perma orange on 597742. a=me
2010-09-20 23:24:18 -07:00
Doug Turner
49d8611636
Bug 598112 - UseAsyncPainting, always return FALSE becuase plugin mRunning == FALSE. r=roc a=npodb
2010-09-20 21:16:37 -07:00
Josh Aas
4c5979b1bf
Backed out changeset c06ef0414fee, bug 596762. a=me
2010-09-20 22:13:13 -04:00
Scott Greenlay
c18a02206e
Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7
2010-09-20 20:21:55 -04:00
Boris Zbarsky
ebd7c067e3
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
Honza Bambas
1809d63cca
Bug 595525 - Double data deletion in streamTest (nptest.cpp), test_streamNotify.html, r=josh, a=blocking:betaN+
2010-10-11 21:41:11 +02:00
Ehsan Akhgari
d678ca7e0d
Bug 286382 - Don't load DLLs from the current directory; r=bsmedberg a=blocking-betaN+
2010-09-28 20:33:43 -04:00
Josh Aas
d16bd1cc51
Backed out changeset 080a38bd09c5, bug 596762, a=bustage
2010-09-16 15:40:49 -07:00
Scott Greenlay
f1225a7550
Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7
2010-09-16 14:05:11 -07:00
Josh Aas
526f55239a
Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7
2010-09-15 23:09:19 -07:00
Josh Aas
8be8eb73f5
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
Oleg Romashin
27fa97f1ea
Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0
2010-09-15 09:02:47 -07:00
Oleg Romashin
90150a79e4
Bug 599202 - Add support NPP_ImageDraw API for Maemo6. r=dougt a=npodb
...
--HG--
extra : rebase_source : 8486484c5c2bd25a1e1b63859a62bf41787e7004
2010-10-05 09:15:49 +03:00
Oleg Romashin
a02cd4afb2
Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7
2010-10-02 09:00:45 -07:00
Josh Aas
571458ce11
Remove Windows line endings. No bug. a=josh
2010-11-06 16:27:39 -04:00
Jacek Caban
e015e6c248
Bug 606846 - nsPluginNativeWindowWin.cpp compilation broken on mingw r=jmathies a=benjamin
...
--HG--
extra : rebase_source : 07b87af2bba5542e022490765c6402f749871642
2010-11-06 14:25:34 +00:00
Scott Greenlay
763efb5eb3
Bug 607444 - Quicktime plugin claims 'application/pdf' MIMEType resulting in single page image for pdf. r=josh
2010-11-06 10:38:45 +01:00
Oleg Romashin
142c1d024b
Bug 595697 - nsIPluginInstance.h(30) : warning C4099: 'gfxASurface' : type name first seen using 'class' now seen using 'struct' r=benjamin a=approval2.0
2010-11-06 10:42:39 +02:00
Phil Ringnalda
6a53b136a5
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
88f27be782
Bug 596094 - Restore plugin subclass when Flash resets it in full screen mode (ipc disabled case). r=jst, a=betaN
2010-10-21 16:52:48 -05:00
Jim Mathies
70d293e34e
Bug 596094 - fix a race condition w/ipc disabled in focus related event handling. r=jst, a=betaN
2010-10-21 16:52:48 -05:00
Jim Mathies
919aff5252
Bug 596094 - Do a little cleanup work on nsPluginNativeWindowWin. r=jst, a=betaN
2010-10-21 16:52:48 -05:00
Jacek Caban
f719b4c3e5
Bug 605116 - Properly declare functions without arguments in npfunctions.h r=joshmoz a=benjamin
2010-10-20 17:30:36 +00:00
Walter Meinl
5a0c2f772a
bug604768 [OS/2] break - follow-up removal of argument to NS_TRY_SAFE_CALL_* macros r=daveryeo a=NPOTB
2010-10-20 17:27:27 +00:00
Jim Mathies
c6d72f81ef
Bug 603417 - Disable oopp for java on windows. r=bsmedberg, josh, a=final.
2010-10-15 11:04:39 -05:00
Ehsan Akhgari
1a982101c1
Bug 603679 - Shockwave fails to load (10-9 nightly and newer); r=bsmedberg a=blocking-beta8+
...
--HG--
extra : rebase_source : 5bfa6f5e1da87af2b5f4d09cb70570534a0dad70
2010-10-14 19:53:42 -04:00
Jacek Caban
0456af894a
Bug 603373 - Remove unused library argument of NS_TRY_SAFE_CALL_* macros r=joshmoz a=benjamin
2010-10-14 21:06:31 +00:00
Blake Kaplan
29e85b9844
Merge mozilla-central into tracemonkey
2010-10-13 17:54:54 -07:00