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
Oleg Romashin
52e2bd1f57
Bug 598227 - Add support NPP_ImageDraw API for Maemo5. r=dougt a=blocking-fennec
2010-09-23 16:06:41 -07:00
Josh Aas
9ad0d0ad81
Bug 598223: Gracefully handle the failure of OOP plugins that negotiate Carbon NPAPI. r=cjones r=bsmedberg a=2.0-b7
2010-09-23 01:27:59 -04: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
Oleg Romashin
bc6cfe1962
Bug 556487 - Plugin Child/Parent async implementation. r=roc a=blocking2.0
2010-09-15 09:02:49 -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
d6e7e30d34
Bug 556487 - Plugin Child/Parent async API. r=roc,jones.chris.g a=blocking2.0
2010-09-15 09:02:44 -07:00
Josh Aas
0f84e63f4e
Bug 594635: Fixes for OOP Core Animation NPAPI, fixes Quicktime plugin on Mac OS X. r=benwa a=josh/johnath
2010-11-01 09:47:23 -04:00
Jim Mathies
77765b9c3a
Bug 572417 - Reset mouse capture when entering full screen mode in flash. r=bsmedberg, a=betaN.
2010-10-07 02:03:18 -05: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
Jim Mathies
5e5a5f4a19
Bug 596094 - Restore plugin subclass when Flash resets it in full screen mode (ipc enabled case). r=bent, a=betaN
2010-10-21 16:52:48 -05:00
Benjamin Smedberg
3a5f09a601
Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure.
2010-09-14 14:50:24 -07:00
Oleg Romashin
b4c9003ff3
Bug 556487 - Plugin Child/Parent async implementation. r=roc a=blocking2.0
2010-09-14 12:01:10 -07:00
Oleg Romashin
728d67a018
Bug 556487 - Plugin Child/Parent async API. r=roc,jones.chris.g a=blocking2.0
2010-09-14 12:01:05 -07:00
Oleg Romashin
1aa4439c1d
Bug 556487 - Plugin child/parent/PluginInstance API part. r=roc a=blocking2.0
...
--HG--
extra : rebase_source : 2c07b0dd0f24e704571f43d3e44dd4126a7b3c7d
2010-09-10 11:28:52 -07:00
Ted Mielczarek
c169279a76
bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
...
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Josh Aas
d2dcc6ffa1
Bug 590054: Fix cross-architecture IPC pointer size issues with Cocoa NPAPI events. r=benwa r=cjones a=blocking-b6
2010-08-26 04:21:41 -04:00
Josh Aas
a150919962
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
Benjamin Smedberg
c179a09b28
Bug 583053 - Corruption issues when running rdio because windows double-pass rendering events don't win the RPC race, r=bent
2010-08-16 10:10:25 -04:00
Benoit Girard
d68b0225ed
Bug 583296 - Release timer resources after context menu. r=josh a=josh
...
--HG--
extra : rebase_source : 70de646d179dbfcd939e3558a15e6e23dacfcc30
2010-08-15 23:48:51 -04:00
Benoit Girard
bc1645aa2b
Bug 583296 - Fix StartDrawingPlugin to correctly detect nested OS X OOPP paint events. r=josh
2010-08-15 13:42:09 -04:00
Benoit Girard
7f44239cb4
Bug 577494: Interpose OS X Cocoa system calls to hide dock in fullscreen/focus OOPP windows. r=josh
2010-08-13 12:45:50 -04:00
Josh Aas
45db82ea6b
Backed out changeset 452db8c688ba, bug 578868.
2010-08-13 04:23:13 -04:00
Josh Aas
f87c958485
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
Benedict Hsieh
4be16266ab
Bug 535077 - Fixes hang caused by failure to execute sync launch r=cjones a=blocking2.0
2010-08-10 14:14:10 -07:00
Benoit Girard
360d838dce
Bug 568513 - Implement NPN_PopUpContextMenu. r=josh a=blocking-beta3
2010-07-29 18:38:32 -04:00
Benjamin Smedberg
5aea5bb4c0
Bug 582012 - register identifiers in the ID maps when they are created by the browser, so that a plugin never sees two identifiers for the same string/integer, r=bent
2010-07-28 13:20:33 -04:00
timeless@mozdev.org
e8f754c046
Bug 555696 mClosed isn't initialized in PluginStreamChild. r=bsmedberg
2010-07-13 11:56:42 -07:00
Makoto Kato
613f3559d8
Bug 574095 - crash loading test plugin on 64-bit win7 tests in /layout/generic/crashtests/505912-1.html , /tests/layout/generic/test/test_plugin_clipping.xhtml [@ _SetWindowLongPtr() | nsPluginNativeWindowWin::SubclassAndAssociateWindow]. r=joshmoz
2010-07-12 13:49:12 +09:00
Benjamin Smedberg
4ccd9d4996
Bug 563361 - Increase the maximum chunk size for delivering stream data to a plugin so that poorly-written Flash which assume stuff about streams don't break, r=bent
2010-07-08 16:28:04 -07:00
Michael Kohler
dab190d2bc
Bug 506041 - Correct misspellings in source code (Patch 3)
...
r=timeless
--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Matt Woodrow ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
d18637dbf2
b=569775 leak foreign colormap wrappers to work-around an old GDK bug that could destroy the browser's colormap r=cjones
2010-07-02 15:57:02 +12:00
Michael Wu
0b3d7041c8
Bug 576336 - Fix debugging build with MOZ_IPC on Android
2010-07-01 16:41:36 -07:00
Michael Wu
01a2cef59b
Bug 574120 - Add support for IPC on Android to everything else, r=dougt
2010-06-25 13:29:43 -07:00
Michael Wu
e133497c0e
Bug 574717 - Stub out ipc plugin stuff for Android, r=cjones
2010-06-25 13:24:50 -07:00
Felipe Gomes
ccf46b30df
Bug 570267 - [OOPP] Firefox 3.6.4 bug: When a flash file has a focus, window.onblur event does not happen as expected.
...
r=jimm
2010-06-23 10:08:56 -07:00
Benjamin Smedberg
1af2f3576f
Bug 449129 - abort a plugin process if a plugin attempts to spin an event loop while painting, r=jmathies
2010-06-23 10:18:00 -04:00
Chris Jones
bf91852da6
Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew
2010-06-21 15:35:49 -05:00
Jesse Ruderman
f04ef428cb
Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
...
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Felipe Gomes
8775e80795
Bug 557279 - Drag & drop into plug-ins is broken. r=jimm
2010-06-16 18:54:20 +02:00
Tero Koskinen
c404be3c4f
Bug 563737 - [QT] Detect when Qt plugins enter a nested event loop. r=cjones
2010-06-01 23:58:00 -04:00
Benoit Girard
22930b5f78
Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh
2010-06-09 00:11:48 -04:00
Makoto Kato
30dccf81b3
Bug 567720 - bustage on x64 build for COMMessageFilter.cpp. r=cjones
2010-05-27 13:34:41 +09:00
Jim Mathies
42bad0c5d2
Bug 568129 - Don't reset the delayed flash reply message flag, triggering the call at some point during fullscreen tear down. r=bent.
2010-05-26 20:07:25 -05:00
Chris Jones
b0a6866357
Bug 567645: Temporarily work around now-fatal deserialization errors by sending a dummy message in place of previously ignored windows messages. r=bent
2010-05-25 19:41:02 -05:00
Chris Jones
8cd4f6e0b8
Tests for bug 560000
2010-05-22 14:35:40 -05:00
Jim Mathies
67068143b5
Bug 558986 - detect and resolve races between MS-COM RPC and IPDL RPC by implementing IMessageFilter and processing pending IPDL RPC calls while waiting for MS-COM RPC responses. Original patch by bsmedberg, r=cjones/jimm/ehsan with followup fixes by Jim Mathies, r=bsmedberg
...
--HG--
extra : rebase_source : 214029d3188f8aa00948e0dcdc3c11cd279d1569
2010-05-21 11:48:34 -04:00
Oleg Romashin
04bd2dcac2
Bug 566845 - Make desktop flash plugin works on Fennec QT. r=dougt.
2010-05-21 13:19:57 -04:00
Benoit Girard
e67987c906
Added CGContextSaveGState for OOPP Shared CGContext. b=565963 r=josh
2010-05-20 15:22:57 -04:00
Benoit Girard
cf821eea5d
Fixed PluginInstanceParent::AnswerNPN_ConvertPoint definition. b=565365 r=josh
2010-05-20 15:22:54 -04:00
Benoit Girard
779933c4f7
Dealloc CoreGraphics Shmem for OOPP. b=560941 r=josh
2010-05-20 15:22:41 -04:00
Jim Mathies
54c35c09df
Bug 566610 - Undo the nuclear reply message option, keep the set focus fix. r=bent.
2010-05-18 13:17:10 -05:00
Jim Mathies
71dcafad62
Bug 563377 - Flash fullscreen window refuses to close. r=bent.
2010-05-18 11:43:45 -05:00
Jim Mathies
2a9af3f851
Bug 558986 - Backout of fix for crashes in TSF with Flash/Silverlight on tablets. CLOSED TREE
2010-05-17 14:36:43 -05:00
Benjamin Smedberg
e43e305194
Bug 558986 - Fix for crashes in TSF with Flash/Silverlight on tablets (OLE/COM nested event loops). r=cjones, jimm, ehsan.
2010-05-17 11:33:34 -05:00
Benoit Girard
4fe7201af4
Bug 528146: Run plug-in code on the thread that starts in main(). r=cjones
...
--HG--
rename : dom/plugins/PluginThreadChild.cpp => dom/plugins/PluginProcessChild.cpp
rename : dom/plugins/PluginThreadChild.h => dom/plugins/PluginProcessChild.h
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.cpp => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.cpp
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.h => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.h
2010-05-10 23:18:00 -05:00
Josh Aas
f538577fdd
Fix case where we return an NPError value as an nsresult in PluginModuleParent. b=564917 r=cjones
2010-05-12 14:12:49 -04:00