Commit Graph
60 Commits
Author SHA1 Message Date
Robert O'Callahan 7a5e850b7d Bug 631388. Part 1: Add nsIPluginInstance::GetImageSize. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
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
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
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
Benjamin Smedberg 66bd69fb25 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 2010-04-28 11:01:09 -04: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
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
Benoit Girard a8089acd4e Implement Core Graphics drawing model for out-of-process plugins. b=554676 r=josh sr=cjones 2010-03-26 16:07:37 -04: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
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 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 dba24af617 Bug 549888: Part 2: Add a Paint() message and have the browser win races of Paint() vs. anything else. r=bent,jmathies,karlt 2010-03-11 01:35:31 -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
Chris Jones 1b5142763a Fix windows build 2010-02-11 15:22:44 -06:00
Chris Jones 7388d0a480 Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg 2010-02-11 14:32:18 -06:00
Daniel Holbert 0cddcc05ee Bug 542959: Add 'const' to NP_GetMIMEDescription's parameter, to fix "deprecated conversion from string constant to ‘char*’" warning. r=cjones 2010-01-29 12:18:50 -08:00
Ted Mielczarek cc5b0c651f bug 539552 - make PluginModuleParent write out more data to .extra file. r=bsmedberg 2010-01-13 20:20:00 -05:00
Benjamin Smedberg 672e4586b5 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones 2009-12-18 17:22:51 -05:00
Walter Meinl 3344691916 Bug 536264 - "[OS/2] build break in modules\plugins" [r=josh] 2009-12-23 15:12:00 -06:00
Benjamin Smedberg 04b5a54548 Bug 532751 - Notify the nsNPAPIPlugin and the related nsNPAPIPluginInstances when a plugin crashes so that reloading will create a new plugin process, r=josh 2009-12-16 15:08:45 -05:00
Ben Turner cd3b1f8d35 Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg. 2009-12-11 12:48:37 -08:00
Benjamin Smedberg 0df75eeb7d Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz 2009-12-04 13:24:57 -05:00
Benjamin Smedberg 6210cf42fe Bug 532671 - After a plugin crashes, the module entry points (most importantly NPP_New) should fail, r=bent 2009-12-03 15:31:52 -05:00
Chris Jones f40a90e249 bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Ben Turner 14329334c4 Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Jim Mathies fb496dc8b0 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Phineas T. Farnsworth a68c9db0fe bug 526626: band-aids for shutdown assertions 2009-11-09 16:56:55 -06:00
Josh Aas 040aa562c3 Allow multiple types of OOP plugins to load. b=516509 r=cjones 2009-10-27 15:51:12 -04:00
Chris Jones d7c466bc04 implement NPN_UserAgent, which was trickier than expected 2009-10-08 02:54:16 -05:00