Commit Graph

490 Commits

Author SHA1 Message Date
Karl Tomlinson
9116f2f2b4 b=629472 revert to using NP_GetValue instead of NPPluginFuncs::getvalue for NPPVpluginDescriptionString when testing for Flash r=cjones
--HG--
extra : transplant_source : %FBW%24%E0%DD%03%82%3E%EDA5%A0.%F8%1A%0A%AF%C9%9E%15
2011-05-02 08:33:16 +12:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Josh Aas
6192fd5a60 Bug 649488: Move contents of dom/plugins to dom/plugins/ipc. r=bsmedberg
--HG--
rename : dom/plugins/AStream.h => dom/plugins/ipc/AStream.h
rename : dom/plugins/BrowserStreamChild.cpp => dom/plugins/ipc/BrowserStreamChild.cpp
rename : dom/plugins/BrowserStreamChild.h => dom/plugins/ipc/BrowserStreamChild.h
rename : dom/plugins/BrowserStreamParent.cpp => dom/plugins/ipc/BrowserStreamParent.cpp
rename : dom/plugins/BrowserStreamParent.h => dom/plugins/ipc/BrowserStreamParent.h
rename : dom/plugins/COMMessageFilter.cpp => dom/plugins/ipc/COMMessageFilter.cpp
rename : dom/plugins/COMMessageFilter.h => dom/plugins/ipc/COMMessageFilter.h
rename : dom/plugins/ChildAsyncCall.cpp => dom/plugins/ipc/ChildAsyncCall.cpp
rename : dom/plugins/ChildAsyncCall.h => dom/plugins/ipc/ChildAsyncCall.h
rename : dom/plugins/ChildTimer.cpp => dom/plugins/ipc/ChildTimer.cpp
rename : dom/plugins/ChildTimer.h => dom/plugins/ipc/ChildTimer.h
rename : dom/plugins/Makefile.in => dom/plugins/ipc/Makefile.in
rename : dom/plugins/NPEventAndroid.h => dom/plugins/ipc/NPEventAndroid.h
rename : dom/plugins/NPEventOSX.h => dom/plugins/ipc/NPEventOSX.h
rename : dom/plugins/NPEventWindows.h => dom/plugins/ipc/NPEventWindows.h
rename : dom/plugins/NPEventX11.h => dom/plugins/ipc/NPEventX11.h
rename : dom/plugins/NestedLoopTimer.cpp => dom/plugins/ipc/NestedLoopTimer.cpp
rename : dom/plugins/NestedLoopTimer.h => dom/plugins/ipc/NestedLoopTimer.h
rename : dom/plugins/PBrowserStream.ipdl => dom/plugins/ipc/PBrowserStream.ipdl
rename : dom/plugins/PPluginBackgroundDestroyer.ipdl => dom/plugins/ipc/PPluginBackgroundDestroyer.ipdl
rename : dom/plugins/PPluginIdentifier.ipdl => dom/plugins/ipc/PPluginIdentifier.ipdl
rename : dom/plugins/PPluginInstance.ipdl => dom/plugins/ipc/PPluginInstance.ipdl
rename : dom/plugins/PPluginModule.ipdl => dom/plugins/ipc/PPluginModule.ipdl
rename : dom/plugins/PPluginScriptableObject.ipdl => dom/plugins/ipc/PPluginScriptableObject.ipdl
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/ipc/PPluginStream.ipdl
rename : dom/plugins/PPluginSurface.ipdl => dom/plugins/ipc/PPluginSurface.ipdl
rename : dom/plugins/PStreamNotify.ipdl => dom/plugins/ipc/PStreamNotify.ipdl
rename : dom/plugins/PluginBackgroundDestroyer.h => dom/plugins/ipc/PluginBackgroundDestroyer.h
rename : dom/plugins/PluginIdentifierChild.h => dom/plugins/ipc/PluginIdentifierChild.h
rename : dom/plugins/PluginIdentifierParent.h => dom/plugins/ipc/PluginIdentifierParent.h
rename : dom/plugins/PluginInstanceChild.cpp => dom/plugins/ipc/PluginInstanceChild.cpp
rename : dom/plugins/PluginInstanceChild.h => dom/plugins/ipc/PluginInstanceChild.h
rename : dom/plugins/PluginInstanceParent.cpp => dom/plugins/ipc/PluginInstanceParent.cpp
rename : dom/plugins/PluginInstanceParent.h => dom/plugins/ipc/PluginInstanceParent.h
rename : dom/plugins/PluginInterposeOSX.h => dom/plugins/ipc/PluginInterposeOSX.h
rename : dom/plugins/PluginInterposeOSX.mm => dom/plugins/ipc/PluginInterposeOSX.mm
rename : dom/plugins/PluginLibrary.h => dom/plugins/ipc/PluginLibrary.h
rename : dom/plugins/PluginMessageUtils.cpp => dom/plugins/ipc/PluginMessageUtils.cpp
rename : dom/plugins/PluginMessageUtils.h => dom/plugins/ipc/PluginMessageUtils.h
rename : dom/plugins/PluginModuleChild.cpp => dom/plugins/ipc/PluginModuleChild.cpp
rename : dom/plugins/PluginModuleChild.h => dom/plugins/ipc/PluginModuleChild.h
rename : dom/plugins/PluginModuleParent.cpp => dom/plugins/ipc/PluginModuleParent.cpp
rename : dom/plugins/PluginModuleParent.h => dom/plugins/ipc/PluginModuleParent.h
rename : dom/plugins/PluginProcessChild.cpp => dom/plugins/ipc/PluginProcessChild.cpp
rename : dom/plugins/PluginProcessChild.h => dom/plugins/ipc/PluginProcessChild.h
rename : dom/plugins/PluginProcessParent.cpp => dom/plugins/ipc/PluginProcessParent.cpp
rename : dom/plugins/PluginProcessParent.h => dom/plugins/ipc/PluginProcessParent.h
rename : dom/plugins/PluginScriptableObjectChild.cpp => dom/plugins/ipc/PluginScriptableObjectChild.cpp
rename : dom/plugins/PluginScriptableObjectChild.h => dom/plugins/ipc/PluginScriptableObjectChild.h
rename : dom/plugins/PluginScriptableObjectParent.cpp => dom/plugins/ipc/PluginScriptableObjectParent.cpp
rename : dom/plugins/PluginScriptableObjectParent.h => dom/plugins/ipc/PluginScriptableObjectParent.h
rename : dom/plugins/PluginScriptableObjectUtils-inl.h => dom/plugins/ipc/PluginScriptableObjectUtils-inl.h
rename : dom/plugins/PluginScriptableObjectUtils.h => dom/plugins/ipc/PluginScriptableObjectUtils.h
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/ipc/PluginStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/ipc/PluginStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/ipc/PluginStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/ipc/PluginStreamParent.h
rename : dom/plugins/PluginSurfaceParent.cpp => dom/plugins/ipc/PluginSurfaceParent.cpp
rename : dom/plugins/PluginSurfaceParent.h => dom/plugins/ipc/PluginSurfaceParent.h
rename : dom/plugins/PluginUtilsOSX.h => dom/plugins/ipc/PluginUtilsOSX.h
rename : dom/plugins/PluginUtilsOSX.mm => dom/plugins/ipc/PluginUtilsOSX.mm
rename : dom/plugins/StreamNotifyChild.h => dom/plugins/ipc/StreamNotifyChild.h
rename : dom/plugins/StreamNotifyParent.h => dom/plugins/ipc/StreamNotifyParent.h
rename : dom/plugins/ipdl.mk => dom/plugins/ipc/ipdl.mk
2011-04-12 16:26:11 -07:00
Benjamin Smedberg
6620f620d9 Bug 617539 - Remove nsIPluginHost_MOZILLA_2_0_BRANCH, nsIPluginInstanceOwner_MOZILLA_2_0_BRANCH, and nsIPluginInstance_MOZILLA_2_0_BRANCH; r=jst 2011-04-11 16:00:30 -04:00
Benjamin Smedberg
1a7a181186 Bug 644585 - Firefox 4 cannot find plugins (on Windows) whose path contains non-ASCII characters. The path which we pass around within plugin-land (nsPluginTag.mFullPath and several similar variants) is UTF8, not a natively-encoded path. The IPC code needs to respect that. r=josh
--HG--
extra : rebase_source : 9a4be434de5fc0545784871f1a7c4854f9439abd
2011-04-07 17:13:59 -07:00
Josh Aas
70a155c558 Bug 636872: Allow CSS cursor property to be used for plugins. r=bz 2011-04-08 12:58:04 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ms2ger
11ac632471 Bug 640118 - Wrongly ordered members in PluginModuleChild constructor; r=felipe 2011-03-28 23:32:11 -04:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Chris Jones
891dcb6e78 Bug 637004 (and maybe bug 637282): Guard against attempting to paint after NPP_Destroy. r=bsmedberg,karlt a=a 2011-03-02 12:29:31 -06:00
Robert O'Callahan
af601dc986 Bug 631388. Part 1: Add nsIPluginInstance::GetImageSize. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Chris Jones
e51e86b4a3 Bug 635004: Notify the cairo backend that plugin surfaces have changed when swapping. r=Bas a=b 2011-02-18 19:28:45 -06:00
Felipe Gomes
0ce6d24f3c Bug 626016. Prevent QuickTime plugin from stealing focus when it's hidden due to SetWindow call. r=bsmedberg a=blocking-final 2011-02-18 13:31:59 -08:00
Chris Jones
01f5c0bb88 Bug 626602, part 10: Don't send the results of the force-paint to the browser, and don't use alpha recovery for it. r=roc 2011-02-16 16:43:31 -06:00
Chris Jones
d6c74dbcb6 Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc 2011-02-16 16:43:31 -06:00
Chris Jones
97f3abb681 Bug 626602, part 8.1: Close the XDisplay to free the gfxXlibSurface DisplayTable, for the sake of leak checkers. r=karlt 2011-02-16 16:43:31 -06:00
Chris Jones
2feec67e7c Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Chris Jones
335687b46f Bug 629799, part 4: Fix alpha-recovery fallback on windows and try to use the SIMD path when possible. r=roc a=b 2011-02-16 16:43:30 -06:00
Jim Mathies
307e11efb1 Bug 628872 - BBC iplayer fullscreen function broken since FF4 beta 9. r=bent@mozilla.com, a=blocker 2011-02-15 21:18:02 -08:00
Josh Aas
2aa6be6760 Backed out changeset aa5cc00bf99a, bug 633942, a=josh 2011-02-15 13:30:09 -05:00
Josh Aas
967d57ac2e Bug 633942: Add debug logging for OOPP model negotiation. r=bsmedberg a=josh 2011-02-15 12:08:07 -05:00
Jacek Caban
721991561f Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin 2011-02-15 12:30:58 +00:00
Ehsan Akhgari
a6d6b2b419 Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN 2011-02-11 20:56:11 -05:00
Matt Woodrow
5cacf25656 Bug 591687: Create MacIOSurfaceImages for Core Animation plugins. r=roc r=josh a=blocking2.0betaN+ 2011-02-12 11:09:03 -05:00
Matt Woodrow
aaef3ddcc5 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Benjamin Smedberg
37f895fef1 Bug 630697 - Set WindowProc using the unicode functions in plugin hook procedures. r=jmathies, a=final. 2011-02-09 16:49:15 -06:00
Marco Bonardo
e5507515ee Backout bug 629799 due to reftest permaorange causing a=CLOSED TREE 2011-02-09 19:16:29 +01: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
47f65ba547 Bug 632696: Silently fail if we can't allocate a white-background image. r=mattwoodrow a=bustage 2011-02-09 02:32:34 -06:00
Chris Jones
7afc71e9a5 Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc 2011-02-08 18:44:14 -06:00
Chris Jones
8d97bfade3 Bug 626602, part 8.1: Close the XDisplay to free the gfxXlibSurface DisplayTable, for the sake of leak checkers. r=karlt 2011-02-08 18:44:14 -06: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
Chris Jones
d7b67cda16 Bug 629799, part 4: Fix alpha-recovery fallback on windows and try to use the SIMD path when possible. r=roc a=b 2011-02-08 18:44:12 -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
Jim Mathies
6b25650d0d Merge, a=backout 2011-02-05 17:13:30 -06:00
Jim Mathies
9f0b22bb6f Backout bug 630697 due to focus regressions (bug 631794). 2011-02-05 17:13:20 -06:00
Jim Mathies
0c4e4eb26e Bug 628872 - BBC iplayer fullscreen function broken in FF4 beta 9, 10 and nightly builds. r=bent@mozilla.com, a=blocker 2011-02-03 20:13:18 -08: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
Jim Mathies
14225630d3 Bug 630697 - Flash crash [@ _SEH_prolog ]; r=bsmedberg a=blocking-final+ 2011-02-04 14:51:27 -05:00
Josh Aas
aba11f4f90 Bug 630935: Support NPNVsupportsCarbonBool variable for OOPP on Mac OS X. r=benwa a=blocking2.0final+ 2011-02-02 13:05:55 -08:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
Jim Mathies
96dbff6646 Bug 630697 - Flash crash [@ _SEH_prolog ]; r=bsmedberg a=blocking-final+
--HG--
extra : rebase_source : e6b3b46eb6390302d4cb5429cc983d7158dfb41a
2011-02-04 14:51:27 -05:00
Ryan VanderMeulen
160ce1cf30 Bug 627614 - Re-order init list to fix build warning. r=bent a=dtownsend
--HG--
extra : rebase_source : c3e1e6635bf85e9638aa88b27eb30a20d68616a0
2011-01-30 12:31:01 +13:00
Benjamin Smedberg
0091d40028 Bug 625425 - Don't re-share the plugin surfaces every time we flip front/back buffers on Windows. r=jimm,karlt, a=blocking 2011-01-27 16:37:00 -06: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
Robert O'Callahan
f24e610584 Bug 626177 - Correctly clip plugin draw area to prevent overdrawing. r=jmathies a=blocking2.0 2011-01-18 10:58:24 +13:00
Robert O'Callahan
67990ee408 Bug 601064. Ensure we ask each plugin instance to paint at least once. Some plugin instances assume they will be asked to paint even if they're always invisible. r=bsmedberg,a=blocking 2011-01-04 16:56:05 +13:00
Jim Mathies
b437334cd1 Bug 611689 - Mask ClearType settings from flash to prevent paint buffer alpha corruption. r=roc, a=betaN 2011-01-14 16:13:43 -06:00
Benjamin Smedberg
0fe9d9cab9 Bug 624809 - Flash crash while calling RPC methods from SetWindow because pending AsyncSetWindow calls are processed in an unexpected order, r=roc a=blocker
--HG--
extra : rebase_source : 824e72d2567ea711d84a0737ad3fa0de37ef6347
2011-01-14 09:37:20 -05:00
Josh Aas
aac95a679d Bug 625164: Fix bug in which we send the wrong URL to OOP plugins via NPP_URLRedirectNotify. r=dwitte a=blocking2.0betaN+ 2011-01-13 17:52:15 -08:00
Dominik Roettsches
58eaaab9b9 Bug 618810 - Qt Message Pump locks up in case of nested loops in flash plugin. r=dougt a=npodb 2011-01-07 14:18:29 +02: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
Tatiana Meshkova
767c4d6c28 Bug 620647 - plugin-container crashes after channel error r=jones.chris.g sr=roc a=approval2.0 2011-01-05 15:48:26 +02:00
Chris Jones
8c8ad2f763 Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b 2011-01-04 10:40:54 -06:00
Oleg Romashin
421e2ec956 Bug 618565 - Don't do flash hack for maemo platform. r=dougt a=approval2.0
--HG--
extra : rebase_source : cf9a57355f8379dba217513422aab324a59a8d0b
2011-01-04 17:37:28 +02:00
Robert O'Callahan
534f3f6418 Backing out 3883e79e5a9a and 0653a37b7230 (bug 601064) due to test failures, a=backout 2011-01-04 17:48:11 +13:00
Robert O'Callahan
7ce701443d Bug 601064. Ensure we ask each plugin instance to paint at least once. Some plugin instances assume they will be asked to paint even if they're always invisible. r=bsmedberg,a=blocking 2011-01-04 16:56:05 +13:00
Oleg Romashin
fed25cbda0 Bug 616705 - Enable readBack for SharedMemory plugins pipeline r=jones.chris.g a=approval2.0 2010-12-10 21:32:52 +02:00
Jim Mathies
d62ed4ba96 Bug 572417 - Release mouse capture in flash subclass after mouse events get delivered. r=bsmedberg, a=betaN. 2010-12-20 08:45:59 -06:00
Oleg Romashin
91b1321877 Bug 616700 - Transparent plugins rendering not clearing surface correctly. r=roc a=npodb 2010-12-12 17:50:13 +02:00
Benjamin Smedberg
8c94839c1b Bug 614979 - Flash plugin crashes because we don't destroy the plugin window right after NPP_Destroy, which means that messages are being delivered and causing async messages to be queued after NPP_Destroy. Destroy the window earlier, r=jimm a=blocker 2010-12-09 09:54:26 -05:00
Benjamin Smedberg
4be20f111a Bug 556194 - Use-after-free of PluginInstanceChild::mAsyncCallMutex - don't clear the pending async calls until after NPP_Destroy is called, because it is a synchronization point. r=cjones a=blocker 2010-12-07 10:05:56 -05:00
Jim Mathies
7f03842762 Bug 604303 - Trap GetWindowInfo calls in flash and return browser window metrics similar to what we returned prior to the landing of bug 130078. r=bent, a=betaN. 2010-12-06 18:50:56 -06:00
Jim Mathies
e7d876bbd3 Bug 604303 - Fixup linux expose quirk to use PluginModuleChild quirks system. r=karlt, a=betaN. 2010-12-06 18:50:53 -06:00
Jim Mathies
1a1c762758 Bug 604303 - Move plugin quirks from PluginInstanceChild to PluginModuleChild. r=bsmedgerg, a=betaN. 2010-12-06 18:50:47 -06:00
Robert O'Callahan
1f241efa1c Bug 615417. Postpone AsyncSetWindow processing until we're not in the middle of painting the plugin. r=bsmedberg a=pavlov 2010-12-05 21:57:33 +00: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
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
Benjamin Smedberg
1562eceab1 Bug 611593 - Topcrash @ PluginInstanceChild::AnswerNPP_Destroy because we were failing to clear mCurrentInvalidateTask in InvalidateRectDelayed. r=smaug a=blocking2.0 2010-11-15 09:18:33 -05:00
Benjamin Smedberg
0aa2cd1075 Bug 611033 - Don't retain the plugin surface beyond the lifetime of the PluginInstanceParent: we only guarantee that the plugin X socket will kept alive until PluginModuleParent::ActorDestroy, r=karlt 2010-11-11 08:43:54 -05:00
Benjamin Smedberg
a95396d2ef Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -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
Mike Hommey
4eb2407cf0 Bug 610951 - Avoid c++0x compilers to fail on narrowing conversions inside {} in PluginInstanceChild.cpp. r=jst,a=jst 2010-11-11 09:20:03 +01: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
1417fd7f05 Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46. 2010-11-09 09:36:33 -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
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
f720cf82c8 Bug 596451 part K - Make sure we set up the same plugin quirks for async plugin rendering that we do in AnswerNPP_SetWindow (fixes Flash/Silverlight context menus and mouse pointers), r=jmathies 2010-10-27 16:56:48 -04:00
Benjamin Smedberg
473e3cb7ae Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect. 2010-10-27 15:27:33 -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
38659c6622 Bug 596451 part F - fix mouse/window positioning and remove the Silverlight quirk by changing the logical->device offset before painting, r=jimm 2010-10-27 09:09:37 -04:00
Benjamin Smedberg
433d19c29d Bug 596451 part I - Read back from the current Windows surface, instead of repainting the entire client area every time, r-pending=jmathies 2010-10-27 09:09:15 -04:00
Benjamin Smedberg
c26e61f8d5 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Jim Mathies
df2b7ba807 No bug, remove left over printf debug statement from PluginInstanceChild. r=me, a=nobug. 2010-10-27 13:32:45 -05:00
Benjamin Smedberg
d80dc9a81e Non-Windows build bustage fix from bug 596451 part D - base::SharedMemoryHandle is not available to IPDL on non-Windows, so use typedefs. 2010-10-25 15:12:25 -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
a2ace6a492 Review comment from bug 596451 part C - the XSync is required so that pending composition using this surface is complete before the surface is re-used by the plugin. 2010-10-15 14:35:46 -04:00
Benjamin Smedberg
71106cd304 Bug 596451 part C - simplify the behavior of the returning surface from Show, because it's only used to hand back ownership of IPDL shared memory. 2010-10-14 14:14:23 -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
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
c794313ace Bug 598862, part 3: Have plugin parents keep a 'proxy ref' to plugin X resources by duping the plugin's X socket. r=karlt 2010-11-08 20:48:59 -06: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
Benjamin Smedberg
95ae6cb873 Bug 596451 part A - fix PluginInstanceChild to use bools, r=jimm/josh 2010-09-21 12:03:16 -04:00