Commit Graph

95 Commits

Author SHA1 Message Date
Chris Jones
acccdcaf77 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
Matt Woodrow
055c5c7ae6 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
38f6fb2b08 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
Marco Bonardo
6896615af5 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
4c65f627d4 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
787ac1bb42 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
Josh Aas
198bd2263c 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
Benjamin Smedberg
cb0c6263e3 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
40ea4e6ec5 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Benjamin Smedberg
bd8a0ccb08 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
Chris Jones
63fd9b5ade Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
909899b3df 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
Benjamin Smedberg
5401a3c731 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
Oleg Romashin
2c0c08cf6c Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0 2010-09-15 09:02:47 -07:00
Josh Aas
8d8d7ea0fa 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
Oleg Romashin
e4f48b9684 Bug 556487 - Plugin child/parent/PluginInstance API part. r=roc a=blocking2.0 2010-09-10 11:28:52 -07:00
Ted Mielczarek
e1db9e0ca0 bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking 2010-08-27 09:32:45 -04:00
Benoit Girard
39acf71c37 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
Benedict Hsieh
cb54534fd5 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
d066152eb0 Bug 568513 - Implement NPN_PopUpContextMenu. r=josh a=blocking-beta3 2010-07-29 18:38:32 -04:00
Tero Koskinen
2eb019409b Bug 563737 - [QT] Detect when Qt plugins enter a nested event loop. r=cjones 2010-06-01 23:58:00 -04:00
Josh Aas
884f8bce85 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
Benjamin Smedberg
920d422722 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
e20fead398 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
Chris Jones
50e016b47e Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg 2010-04-27 00:43:03 -05:00
Benoit Girard
029a6986da Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones 2010-04-20 10:52:19 -04:00
Benjamin Smedberg
72820c7aae 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
c57c402923 Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
60a9016f9c Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones 2010-04-18 19:46:33 -04:00
Chris Jones
50e3885c90 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
15ef348e90 Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg 2010-03-30 19:24:45 -05:00
Chris Jones
c5d3f3a671 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
1db59bf624 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
4e3eb56206 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
5ccc218a4a 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
Ben Turner
75beb141b5 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
Chris Jones
43838bad72 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
cd57df6d13 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
8c04dce765 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
abd05418e7 Bug 552866: Don't run NotifyPluginCrashed from a nested context. r=bsmedberg 2010-03-18 17:52:35 -05:00
Chris Jones
eebd12ce5f b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13:00
Chris Jones
89977a039f Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones
a0744e620e Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones
703700b0fd Bug 550118: Try to not process XPCOM events when a plugin process spins a nested glib event loop. r=karlt 2010-03-11 01:35:29 -06:00
Chris Jones
0458da5721 b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg 2010-03-08 09:16:02 +13:00
Karl Tomlinson
2724372d1f b=517133 Get crash stats for X errors r=bsmedberg 2010-02-24 14:25:16 -08:00
Chris Jones
5c1338abf5 Bug 544945, part 2: Periodically unblock the parent to allow it to process events while the plugin subprocess is in a nested event loop. r=karlt 2010-02-16 12:44:25 -06:00
Benjamin Smedberg
65655b7cfe Bug 547894 - Allow null in NPN_GetStringIdentifier(s) to fix a topcrash with the divx plugin, r=bent 2010-02-24 16:34:17 -05:00
Chris Jones
7388d0a480 Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg 2010-02-11 14:32:18 -06:00
Ted Mielczarek
63191b3db1 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00