Commit Graph

60 Commits

Author SHA1 Message Date
Benoit Girard
b662b60755 Bug 568513 - Implement NPN_PopUpContextMenu. r=josh a=blocking-beta3 2010-07-29 18:38:32 -04: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
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
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
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
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
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
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
Benoit Girard
d0a3d6d019 Optimize Core Graphics drawing model OOPP implementation. b=555835 r=josh 2010-04-01 17:53:56 -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
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
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
Benjamin Smedberg
da25e643f3 Bug 551049 part 3: delay the delivery of NPP_URLNotify until the related stream is completely delivered and destroyed, and propagate errors from NPP_Write and NPN_DestroyStream back to NPP_URLNotify r=bent 2010-03-06 16:03:05 -05:00
Benjamin Smedberg
96bfcbf97c Bug 551387 - octoshape plugin crashes because it doesn't implement NPNFunctions.setwindow, r=bent 2010-03-10 10:54:22 -05:00
Chris Jones
36162b5b9d 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
Benjamin Smedberg
6989296175 Bug 550305 - Reduce round-trips by making some NPRuntime/scriptable methods async instead of RPC, r=bent 2010-03-04 16:20:14 -05:00
Benjamin Smedberg
8a8ef6a58f Bug 544074 - Crashes at mozilla::plugins::PluginModuleChild::UnregisterActorForNPObject - the hash of scriptable objects is mutating while we enumerate the actors being destroyed after a plugin instance is destroyed. Save the list of actors off into a separate non-mutating table, r=bent 2010-02-24 16:14:13 -05:00
Jim Mathies
39cc8f63c3 Bug 547353 - [OOPP] Mouse pointer coordinates misaligned with winless Silverlight. r=bent. 2010-02-24 16:13:48 -08:00
Ben Turner
307f2d8839 Bug 535017 - 'IPC plugins should cache well-known scriptable objects to avoid unnecessary actor creation/destruction'. r=bsmedberg. 2010-02-20 13:59:40 -08:00
Jim Mathies
9573527c53 Bug 543201 - [OOPP] Shockwave window position is not correct. r=bent. 2010-02-18 14:20:25 -06:00
Karl Tomlinson
1ab656890e b=543901 only call NPPluginFuncs::getvalue when non-NULL and remove NPP_GetValue NPPVpluginWindowBool NPPVpluginTransparentBool r=cjones 2010-02-04 13:02:48 +13:00
Jim Mathies
b6a87b5083 Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Benjamin Smedberg
d5eb4d3947 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Ben Turner
22622cbfd1 Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml'. r=jimm.
--HG--
extra : rebase_source : 22b97f9252c02f7343d12b60fa9cd93cfbe12a25
2010-01-26 16:08:39 -08:00
Jim Mathies
f2ba8d476e Bug 540052 - [OOPP] Test failure in test_plugin_focus.html. r=bent.
--HG--
extra : rebase_source : bdb40f27e098519ecd71abd75a80e8e612f888f8
2010-01-26 15:40:15 -06:00
Benjamin Smedberg
03f2a9760b Bug 540775 - Implement NPP_SetValue(NPNVprivateModeBool), r=cjones
--HG--
extra : transplant_source : %C7T%9D%9E%A5%E8%B5HP%D8%DD%28%C6%C5%5E%9CS%9C%20%80
2010-01-19 22:23:35 -05:00
Benjamin Smedberg
8cf748e18c Bug 518924 - NPN_ScheduleTimer, and clean up asynccalls when the plugin instance is destroyed, r=cjones
--HG--
extra : transplant_source : %C8%97/%8E%1C%A4%89%26%98%C1%01u%8F%B2m%91%F8%F4%B7M
2010-01-19 22:13:24 -05:00
Ben Turner
a5990daace 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
91685776a5 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
1b93c5d97b Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Chris Jones
c3261b9717 Bug 538537: Guard BrowserStreams from being deleted from within their constructor. r=bsmedberg 2010-01-12 17:06:18 -06:00
Benjamin Smedberg
5d29eaa804 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones
--HG--
extra : transplant_source : fW%F0%06%1F%88%2C%F3l%B3%A0%F7b%D0%13%AE%D7%BD-%26
2009-12-18 17:22:51 -05:00
Chris Jones
ad47f303ae Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent 2010-01-04 15:46:34 -06:00
Jim Mathies
8334063adb Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Chris Jones
270962252a 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
Jim Mathies
705471067a Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Benjamin Smedberg
3e0ae20e17 Bug 530894 - Clean up TODOs in the plugin stream remoting: if NPN_{Get,Post}URLNotify fail, clean up the actor properly. Also deal with null postdata, which currently causes significant problems for the in-process case (NPN_PostURLNotify succeeds, but NPP_URLNotify is never called). r=bent 2009-11-25 09:26:01 -05:00
Ben Turner
5d92ec3ff2 Followup to bug 527876 2009-11-13 13:19:33 -08:00
Ben Turner
8e9c6fea1d Bug 527876 - 'test_windowed_invalidate.html hangs during mochitest-ipcplugins'. 2009-11-13 12:20:03 -08:00
Jeff Muizelaar
c6986e395d Bug 522122. Electrolysis: Forawrd windows events to windowless plugins. r=cjones,karlt
This gets windowless plugin events mostly working. We don't forward IME events because
they are much more complicated.
2009-10-27 15:58:33 -04:00
Chris Jones
9570ba4cbb bug 506171: rewrite lower.py and add native IPDL arrays. 2009-10-16 18:31:53 -05:00
Karl Tomlinson
de31404147 b=521376 remove XSynchronize from plugin process r=cjones 2009-10-12 12:54:49 +13:00
Ben Turner
423c5543dd Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Karl Tomlinson
6256ea2a09 b=519641 pass visual and colormap to plugin process r=cjones 2009-10-01 10:36:14 +13:00
Chris Jones
026f20f14d basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Ben Turner
e79eab04e0 Finish up child-side NPRuntime. Now plugin-provided NPObjects should be totally supported. Browser-provided objects still unsupported. 2009-09-23 00:12:52 -07:00
Chris Jones
8d3e0640b8 bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor 2009-09-22 12:31:11 -05:00
Benjamin Smedberg
7a91b6b1de Implement Plugin->Browser streams. In a very basic form the first plugin instantiation passes the new plugin stream tests, but subsequent instantiations don't: I think there's some shutdown/startup issue (the plugin is being unloaded, perhaps?) 2009-09-21 10:51:35 -04:00