Benjamin Smedberg
abe5e4d05f
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
2630a2b7e0
Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46.
2010-11-09 09:36:33 -05:00
Benjamin Smedberg
3c717e39c6
Merge mozilla-central into the branch for asynchronous plugin painting on Windows.
2010-11-05 15:56:28 -04:00
Benjamin Smedberg
3c4bb23cb4
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
c71c0f761f
Merge mozilla-central to the branch for bug 596451.
2010-10-28 10:05:20 -04:00
Benjamin Smedberg
6a2d751508
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
5276be66cf
Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect.
2010-10-27 15:27:33 -04:00
Benjamin Smedberg
d7c2cff52f
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
112f42048c
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
88aabb1147
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
d8be33b109
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
376c582072
No bug, remove left over printf debug statement from PluginInstanceChild. r=me, a=nobug.
2010-10-27 13:32:45 -05:00
Benjamin Smedberg
2192686320
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
4a85b8746d
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
dc418f86d1
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
452a909681
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
a37161d8e3
Merge mozilla-central with the asynchronous plugins painting branch.
2010-10-13 10:45:01 -04:00
Josh Aas
fd750ae218
Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+
2010-11-09 10:26:44 -05:00
Chris Jones
339106b788
Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking
2010-11-08 20:49:00 -06:00
Chris Jones
84bc5433b3
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
f401254d50
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
e7d497dbc0
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
5df0592ad3
Bug 596451 part A - fix PluginInstanceChild to use bools, r=jimm/josh
2010-09-21 12:03:16 -04:00
Oleg Romashin
bf2134a854
Bug 598227 - Add support NPP_ImageDraw API for Maemo5. r=dougt a=blocking-fennec
2010-09-23 16:06:41 -07:00
Josh Aas
519b47a968
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
5c84bcf9f6
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
5a225313ad
Bug 556487 - Plugin Child/Parent async implementation. r=roc a=blocking2.0
2010-09-15 09:02:49 -07:00
Oleg Romashin
d2b8ff70b8
Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0
2010-09-15 09:02:47 -07:00
Oleg Romashin
785c6952f6
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
80863dcb8d
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
4398c466c9
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
53b80cff95
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
70cc2cf4f8
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
9c6b634f34
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
b48ea2580b
Bug 556487 - Plugin Child/Parent async implementation. r=roc a=blocking2.0
2010-09-14 12:01:10 -07:00
Oleg Romashin
d80d6312b3
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
9e50fd8325
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
f4b8a00e3c
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
b97601d9e3
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
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
Benjamin Smedberg
2afbd46dc1
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
bdf117ec92
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
32e369134b
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
ca56a86453
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
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
Benedict Hsieh
06c7038301
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
b662b60755
Bug 568513 - Implement NPN_PopUpContextMenu. r=josh a=blocking-beta3
2010-07-29 18:38:32 -04:00
Benjamin Smedberg
995c9cbf9a
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
985124d905
Bug 555696 mClosed isn't initialized in PluginStreamChild. r=bsmedberg
2010-07-13 11:56:42 -07:00
Makoto Kato
ca4131be55
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
6bef02ab89
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
10548f19c5
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)
9b43663e20
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
d501029270
Bug 576336 - Fix debugging build with MOZ_IPC on Android
2010-07-01 16:41:36 -07:00
Michael Wu
9c5c736f47
Bug 574120 - Add support for IPC on Android to everything else, r=dougt
2010-06-25 13:29:43 -07:00
Michael Wu
cf81084baf
Bug 574717 - Stub out ipc plugin stuff for Android, r=cjones
2010-06-25 13:24:50 -07:00
Felipe Gomes
61059704fc
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
dd8b532430
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
a6c0e90e24
Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew
2010-06-21 15:35:49 -05:00
Jesse Ruderman
9478c01a40
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
f85c3a9229
Bug 557279 - Drag & drop into plug-ins is broken. r=jimm
2010-06-16 18:54:20 +02:00
Tero Koskinen
8e16bba239
Bug 563737 - [QT] Detect when Qt plugins enter a nested event loop. r=cjones
2010-06-01 23:58:00 -04:00
Benoit Girard
e7b90eddff
Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh
2010-06-09 00:11:48 -04:00
Makoto Kato
21ded9fe47
Bug 567720 - bustage on x64 build for COMMessageFilter.cpp. r=cjones
2010-05-27 13:34:41 +09:00
Jim Mathies
9f80071784
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
218eb99d00
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
3736c87ff8
Tests for bug 560000
2010-05-22 14:35:40 -05:00
Jim Mathies
0879ff6221
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
3c481f45ca
Bug 566845 - Make desktop flash plugin works on Fennec QT. r=dougt.
2010-05-21 13:19:57 -04:00
Benoit Girard
6f2c9d9235
Added CGContextSaveGState for OOPP Shared CGContext. b=565963 r=josh
2010-05-20 15:22:57 -04:00
Benoit Girard
125ee2ceb5
Fixed PluginInstanceParent::AnswerNPN_ConvertPoint definition. b=565365 r=josh
2010-05-20 15:22:54 -04:00
Benoit Girard
42b3220bf4
Dealloc CoreGraphics Shmem for OOPP. b=560941 r=josh
2010-05-20 15:22:41 -04:00
Jim Mathies
8e6808699a
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
eb4761537a
Bug 563377 - Flash fullscreen window refuses to close. r=bent.
2010-05-18 11:43:45 -05:00
Jim Mathies
e9cf1d1dad
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
695ab55828
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
94d6258a5b
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
09cb15005c
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
Josh Aas
fbb0399a48
Fix int comparison warning in BrowserStreamChild.cpp. b=560828 r=bsmedberg
2010-05-12 14:12:27 -04:00
Jim Mathies
0dfb101754
Bug 563377 - [OOPP] Add centralized ReplyMessage handler in PluginModuleChild for all child windows (various fullscreen hang fixs). r=bent.
2010-05-11 10:19:14 -05:00
Benjamin Smedberg
19727cf3ac
Bug 564861 - NPN_IntFromIdentifier always returns INT_MIN when running in OOPP mode because of a backwards conditional check. Also, int identifiers of -1 don't work correctly when the parent first creates the identifier, because we were misusing a sentinel value. r=bent
2010-05-10 17:11:25 -04:00
Benjamin Smedberg
d5b8a23321
Bug 564607 - Plugins which implement NPClass.enumerate crash Firefox when run OOP: fix the precedence of C++ operations, r=bent
2010-05-10 17:11:08 -04:00
Jim Mathies
1696df474c
Bug 563847 - [OOPP] Fix for crash [@ ntdll.dll@0x222a2 ] [@ RtlEnterCriticalSection ] (from PluginInstanceChild::FlashThrottleMessage). r=bent.
2010-05-06 11:40:26 -05:00
Benjamin Smedberg
624e1bc012
Bug 561817 part C - restore the NestableTasksAllowed munging that was removed in patch B: I thought it was vestigial, but it's necessary, r=bent
2010-04-30 14:43:59 -04:00
Benjamin Smedberg
b670251bc9
Bug 561817 part B - Install the nested event loop tracking mechanism for all RPC calls to plugins, not just specific handle-event calls, r=jimm
2010-04-30 14:42:51 -04:00
Karl Tomlinson
0ed80ea60e
b=561308,539138 Realize GtkPlugs when associated with a socket for consistency with in-process behavior r=cjones
...
--HG--
extra : rebase_source : 96d433c381d6d560ddd566572cfc143d91113453
2010-04-29 22:43:15 +12:00
Karl Tomlinson
6eff65702c
b=561690 NULL check aNPP in _geturlnotify for nspluginwrapper r=bsmedberg
...
--HG--
extra : rebase_source : 67c36002a3ef071b6ff6f31dcfe1954e3e61ca9e
2010-04-29 09:08:07 +12:00
Benjamin Smedberg
041170d975
Bug 561871 part B: don't use Windows events to enter/exit a nested event loop within an RPC stack frame, because delivery of those events isn't always associated with the correct stack frame, and also because the events can be lost if they race with an incoming RPC reply message. Instead, keep a linked list (on the stack) of RPC frames globally and per-channel, to associate requests to enter a nested event loop with the correct frame, r=jimm
...
--HG--
extra : rebase_source : 694186dde4643904752c67e0c6eb7a6ad1dd2082
2010-04-28 11:01:09 -04:00
Chris Jones
2cf9950c56
Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg
2010-04-27 00:43:03 -05:00
Thomas Lee
f562dffa71
Bug 541131: Include IPDL headers as |include protocol PFoo;|. r=cjones
2010-04-26 20:11:46 -05:00
Chris Jones
b95a8efccc
Bug 555276: Top-level protocols should handle shmem messages if any subprotocol uses it. r=bent
2010-04-26 20:11:43 -05:00
Jim Mathies
1412f24516
Bug 558629 - Meter WM_USER events for Flash in PluginInstanceChild to improve responsiveness and lower CPU utilization. r=bsmedberg, a=developers.
2010-04-26 11:29:11 -05:00
Jim Mathies
2a5420965f
Bug 561495 - [OOPP] Mouse wheel and related windowing event hangs. r=masayuki, a=jrmuizel.
2010-04-26 10:05:29 -05:00
Benoit Girard
d3e1eb8eee
Remove "abort()" that was accidentally checked in. b=561519 r=josh a=#developers
2010-04-25 19:55:53 -04:00
Oleg Romashin
b6db5b93e9
Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
...
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
Karl Tomlinson
ef02cf2e13
b=560246 use CallPaint for GraphicsExpose r=cjones
...
--HG--
extra : rebase_source : 4d031160b1bee8f87610bf99b6d13b8c132dd0fb
2010-04-21 14:53:53 +12:00
Benoit Girard
65771400e0
Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
...
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04:00
Benjamin Smedberg
89f27dcde6
Bug 560213 - Don't double-delete PluginIdentifierParent when the plugin has already crashes, r=bent
2010-04-20 09:15:31 -04:00
Benoit Girard
4311364274
Backed out changeset 44ee6030f4b2
2010-04-19 02:57:22 -04:00
Benoit Girard
51b3305c85
Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
...
--HG--
extra : rebase_source : 29f581f60c6db0e8945a5121cf2d7007b10a7433
2010-04-18 19:46:33 -04:00
Joe Drew ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
0bd95dade4
Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt
2010-04-16 00:29:16 -05:00
Chris Jones
8c6626467d
Fix typo from bug 519601 that busted windows.
2010-04-14 02:31:36 -05:00
Chris Jones
d0eda93616
Fix typo from bug 519601 that busted mac.
2010-04-14 02:20:53 -05:00
Karl Tomlinson ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
8170c6fc97
Bug 519601: s/netscape/netsc@pe/ for plugin dso paths passed on the command line on linux. r=karlt
2010-04-14 02:04:52 -05:00
Benjamin Smedberg
0b6ea74a27
Bug 558390 - Quake Live crashes because it implements NP_Initialize using cdecl, instead of the correct stdcall. Force the calling function to use a frame pointer so that the stack pointer gets reset correctly before we return, r=jrmuizelaar, landing in mozilla-central for bake time pending review from josh or jst
...
--HG--
extra : rebase_source : dc32598b3ba1ad665b33146d298e01f64b58ef49
2010-04-13 12:10:00 -04:00
Jim Mathies
d7b3220b47
Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg.
2010-04-12 15:25:57 -05:00
Ben Turner
951aa34684
Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg.
2010-04-07 17:16:19 -07:00
Ben Turner
2bae25ded8
Backed out changeset 0ed675647700 for failing tests
2010-04-07 15:01:23 -07:00
Ben Turner
a9579c61a0
Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg.
2010-04-07 13:55:10 -07:00
Benoit Girard
c9dea733d4
Clear OOP CGContext for transparent plug-ins. b=557534 r=josh
...
--HG--
extra : rebase_source : 267e6db3a94758cc2834e5f48baf759bbaad1566
2010-04-06 15:02:54 -04:00
Jim Mathies
9d8d5b97e2
Bug 552062 - [OOPP] Black Background on certain Flash Objects. r=bent.
2010-04-05 11:43:55 -05:00
Jim Mathies
9266af2928
Bug 535295 - [OOPP] Tearing/Repainting issues with flash videos, their controls and other page content during/after scrolling. r=roc.
2010-04-05 11:43:13 -05:00
Benoit Girard
d0a3d6d019
Optimize Core Graphics drawing model OOPP implementation. b=555835 r=josh
2010-04-01 17:53:56 -04:00
Josh Aas
146d6023c8
Remove unimplemented status from NPN_ForceRedraw for IPC. We are ignoring calls on purpose and do not plan to implement it in any way at this point. b=555511 r=cjones
2010-03-30 23:53:53 -04:00
Chris Jones
8ef4352202
Bug 555309, part 3: Grab the plugin thread's ID on startup and blame it in hang dumps. r=bsmedberg
2010-03-30 19:24:47 -05:00
Chris Jones
40e74c43d6
Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg
2010-03-30 19:24:45 -05:00
Oleg Romashin
a6a9c5bdf6
Bug 554911 - mozilla-runtime process hang and not closed properly after closing fennec UI. r=dougt
...
--HG--
extra : rebase_source : 5490b2acfe1980e372b7918cf36e8e771b2a0747
2010-03-30 07:34:37 -04:00
Josh Aas
4a2b551b96
[OOPP] Serialize remaining Cocoa NPAPI events, including keyboard events. b=555300 r=cjones
2010-03-29 15:27:49 -04:00
Benjamin Smedberg
8cbfc7ec64
Bug 542700 - Async calls aren't cancelled when the instance is destroyed, and the list of pending calls isn't protected against simultaneous access, r=cjones
...
--HG--
extra : rebase_source : b0949fd4921d1dbb558e84e191387964af5767fc
2010-03-25 14:25:38 -04:00
Josh Aas
0472de47fb
Initialize NPP structure's pdata pointer to NULL. Plugins can mistake an uninitialized non-NULL value for their own instance pointer and try to dereference it. b=555312 r=BenWa
2010-03-29 10:16:27 -04:00
Josh Aas
5baa1625d5
[OOP] Add support for NPN_ConvertPoint via IPC. b=555250 r=cjones
2010-03-26 16:55:56 -04:00
Josh Aas
2ccc87e3f1
[OOPP] Whitelist Cocoa NPAPI events that don't require special serialization. b=555286 r=cjones
2010-03-26 16:25:33 -04:00
Benoit Girard
5080df284a
Implement Core Graphics drawing model for out-of-process plugins. b=554676 r=josh sr=cjones
2010-03-26 16:07:37 -04:00
Josh Aas
342aa128ae
[OOPP] Fix ordering of NP_Initialize and NP_GetEntryPoints calls for Mac OS X. The incorrect order causes Flash 10.1 to fail to load. b=555208 r=bsmedberg
2010-03-26 13:03:58 -04:00
Karl Tomlinson
9b9ff3a789
b=545297 don't add an extra reference to GtkPlug::socket_window with versions of GTK that already add a reference r=cjones
2010-03-25 16:18:25 +13:00
Karl Tomlinson
9828764f3e
b=551875 handle g_main_depth() != 1 when events are dispatched r=cjones
2010-03-26 14:52:16 +13:00
Karl Tomlinson
eee596b947
b=526393 propagate scroll events from GtkPlug to the embedder r=roc (relanded)
2010-03-24 16:42:06 +13:00
Karl Tomlinson
90e98e6604
backout 60fb978130f5 due to wrong bug no in the commit message
2010-03-26 14:35:56 +13:00
Josh Aas
b5a2f793a8
Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent
2010-03-25 19:45:33 -04:00
Jim Mathies
5ac0744b15
Bug 553606 - [OOPP] Limit spin loop to a call depth of one. r=bent.
2010-03-24 16:49:05 -05:00
Chris Jones
374a7da472
Bug 544936, part 6: Submit a browser minidump along with the plugin's, if we got one. r=dolske,gavin,josh
2010-03-24 16:22:04 -05:00
Chris Jones
4ec79fc1cc
Bug 544936, part 5: Generate browser/plugin paired minidumps when the hang detector fires. r=bsmedberg
2010-03-24 16:22:03 -05:00
Chris Jones
b9728f5cea
Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted
2010-03-24 16:22:01 -05:00
Ben Turner
8271154a90
Bug 521118 - '[OOPP] Need NPAPI threadsafety checks in plugin process'. r=cjones, a=dbaron for CLOSED TREE
2010-03-24 12:30:45 -07:00
Karl Tomlinson
54bc536db5
b=544211 propagate scroll events from GtkPlug to the embedder r=roc
2010-03-24 16:42:06 +13:00
Karl Tomlinson
f4e7af4fcc
b=544211 ungrab the pointer before passing ButtonPress events to plugins r=roc
2010-03-24 15:26:10 +13:00
Ben Turner
5c68b4c136
Bug 547359 - '[OOPP] Silverlight plugin takes 6X longer to load with IPC plugins than without - make NPIdentifier handler smarter/faster'. r=bsmedberg.
2010-03-23 07:30:51 -07:00
Jim Mathies
ed25747f5d
Bug 545149 - Fix various issues with winless plugin context menus. r=bent.
2010-03-22 22:06:35 -05:00
Chris Jones
44e86067dc
Bug 549888: Have the browser win NPP_SetWindow races, and add a special-cased NPP_HandleEvent async WindowPosChanged message for windows. r=jimm,karlt
2010-03-22 17:35:15 -05:00
Chris Jones
297b367c19
Backed out changeset bda8efa53512
2010-03-18 21:01:10 -05:00
Chris Jones
6b2339095c
Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted
2010-03-18 17:52:38 -05:00
Chris Jones
4b4233facd
Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted
2010-03-18 17:52:36 -05:00
Chris Jones
7bfa1f6dbd
Bug 552866: Don't run NotifyPluginCrashed from a nested context. r=bsmedberg
2010-03-18 17:52:35 -05:00
Josh Aas
36aed1ebfa
Allow Gecko to build and run on Mac OS X with MOZ_IPC defined. b=552862 r=cjones
2010-03-17 14:38:28 -04:00
Josh Aas
a5ed0a3773
Fix incorrect type usage for NPP_SetValue NPNVprivateModeBool. b=544158 r=karlt
2010-03-17 13:17:09 -04:00
Jim Mathies
3b62a1784f
Bug 546766 - Don't trust plugin return values for getvalue calls. r=bsmedberg.
2010-03-13 17:57:53 -06:00
Chris Jones
51582e89d2
b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg
2010-03-08 09:16:02 +13:00
Benjamin Smedberg
266e6d371c
Followup to bug 551049 - make the closing reason match that used by the in-process host
2010-03-11 14:15:48 -05:00
Benjamin Smedberg
6a649a6eff
Merge and review fixup from async streams, bug 551049
2010-03-11 11:56:35 -05:00