Commit Graph

85 Commits

Author SHA1 Message Date
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
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
Benjamin Smedberg
39bfad24d1 Work around bug 543776 by submitting empty PluginName/PluginVersion in crash reports. 2010-02-03 09:36:45 -05: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
Benjamin Smedberg
7cd34da920 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent 2010-01-22 10:06:13 -05: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
Ben Turner
9a0e03a7d4 Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Peter Van der Beken
1065f04182 Backout 76cdc8296409 and 9baa220b27c0 (Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor') to try fo fix orange. 2010-01-19 13:00:58 +01:00
Ben Turner
04b4054acf Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08: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