Commit Graph

89 Commits

Author SHA1 Message Date
Josh Aas
874361668d 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
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
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
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
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
Oleg Romashin
27fa97f1ea Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0 2010-09-15 09:02:47 -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
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
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
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
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
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
Benjamin Smedberg
2a3822a3cf 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
e24771ce97 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
733681c29e Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg 2010-04-27 00:43:03 -05:00
Benoit Girard
9897b0a83e 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
38d93a6104 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
046173124b Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
b6d069f2c9 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
Chris Jones
ab754697b8 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
3b21dfdc4c Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg 2010-03-30 19:24:45 -05:00
Chris Jones
7329573dd7 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
08461da183 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
926e2f746f 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
75ca06acb6 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
95882b79e1 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
ecaab71939 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
a9301cdf81 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
d7b8ead1aa 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
c35e59ba1c Bug 552866: Don't run NotifyPluginCrashed from a nested context. r=bsmedberg 2010-03-18 17:52:35 -05:00
Chris Jones
3775fecc82 b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13:00
Chris Jones
7fd74b1a80 Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones
415f85da1a Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones
a3aa9cbbff 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
148296d96a 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
6ed1f5d145 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Chris Jones
06871df7a3 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
--HG--
extra : rebase_source : bf9a2df9d7d6b420fb93d11dc5abaeb4be1214db
2010-02-16 12:44:25 -06:00
Benjamin Smedberg
a884a24043 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
c3c2e2f00c Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg
--HG--
extra : transplant_source : K%BBb%8Dq%C8%26O%7Cj%10%0B%EE%05j%3C%0F%CA%C3%3A
2010-02-11 14:32:18 -06:00
Ted Mielczarek
d40733d453 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
9eb44973ee Work around bug 543776 by submitting empty PluginName/PluginVersion in crash reports.
--HG--
extra : rebase_source : d3ea07dc9edbb1295aeb815b47316a9ad1423026
2010-02-03 09:36:45 -05:00
Daniel Holbert
32a1fb0c00 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
8adba8c2a2 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
--HG--
extra : transplant_source : %96H%CA%BF%2BX%18s%C8%1B%2Bh%8F%92%05%F0%9F/N%01
2010-01-22 10:06:13 -05:00
Ted Mielczarek
f3680d3c32 bug 539552 - make PluginModuleParent write out more data to .extra file. r=bsmedberg
--HG--
extra : transplant_source : %C1P%99%80%8E%2C%92%7B%8C%BF%40c%40%FD%18%1F%AE%0E%D8%D9
2010-01-13 20:20:00 -05:00
Ben Turner
471d1a3e1b Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
--HG--
extra : transplant_source : %F8%7C%B6%C49%24%9A%E0%96%EA%10%E9%C7%C0%EF%EA%D6%7FT%9A
2010-01-15 12:35:57 -08:00
Peter Van der Beken
076d23ead6 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