Commit Graph
129 Commits
Author SHA1 Message Date
Josh Aas 4dcc3ab0fc [OOP] Add support for NPN_ConvertPoint via IPC. b=555250 r=cjones 2010-03-26 16:55:56 -04:00
Josh Aas f7879c0ae6 [OOPP] Fix ordering of NP_Initialize and NP_GetEntryPoints calls for Mac OS X. The incorrect order causes Flash 10.1 to fail to load. b=555208 r=bsmedberg 2010-03-26 13:03:58 -04:00
Karl Tomlinson 07adceea32 b=545297 don't add an extra reference to GtkPlug::socket_window with versions of GTK that already add a reference r=cjones 2010-03-25 16:18:25 +13:00
Karl Tomlinson 3b46eb6a2d b=551875 handle g_main_depth() != 1 when events are dispatched r=cjones 2010-03-26 14:52:16 +13:00
Karl Tomlinson 6abfa2997a b=526393 propagate scroll events from GtkPlug to the embedder r=roc (relanded) 2010-03-24 16:42:06 +13:00
Karl Tomlinson d2958fea01 backout 60fb978130f5 due to wrong bug no in the commit message 2010-03-26 14:35:56 +13:00
Josh Aas 76c0a7375f Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent 2010-03-25 19:45:33 -04: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
Karl Tomlinson cc7875fe5f b=544211 propagate scroll events from GtkPlug to the embedder r=roc 2010-03-24 16:42:06 +13: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
Josh Aas c6680eda4e Allow Gecko to build and run on Mac OS X with MOZ_IPC defined. b=552862 r=cjones 2010-03-17 14:38:28 -04:00
Benjamin Smedberg ed5a212689 Bug 551049 (was bug 532208) part 2 - Delay delivery of NPP_DestroyStream until stream data is delivered, and make sure that data delivery doesn't re-enter, r=bent 2010-03-06 16:02:31 -05:00
Benjamin Smedberg 61c44594ca Bug 551049 (was bug 532208) part 1 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent 2010-02-23 16:45:00 -05:00
Benjamin Smedberg a9eae7e47a Revert the RPC-style race resolution from bug 532208 in order to use the asynchronous delivery patches. 2010-03-06 11:08:19 -05:00
Chris Jones eb8ea50167 Bug 532208: Defer deletion of browser streams to later tasks. r=bsmedberg 2010-02-26 13:07:56 -06:00
Karl Tomlinson 9bb99aa20c b=548434 NULL check aNPP in _invalidaterect for nspluginwrapper r=cjones 2010-02-24 16:19:51 -08:00
Benjamin Smedberg 6caec662fb Merge backout of bug 532208 due to test failures, crashes, and overall badness. 2010-02-25 03:03:12 -08:00
Benjamin Smedberg 7e4629fb80 Backed out changeset e4a7ea0bb90f bug 532208 - asynchronous stream delivery because write events were being dispatched in odd re-entrant states and NPP_DestroyStream was being delivered before all the stream data was delivered. 2010-02-25 03:00:56 -08:00
Karl Tomlinson 2724372d1f b=517133 Get crash stats for X errors r=bsmedberg 2010-02-24 14:25:16 -08:00
Benjamin Smedberg 12ab8da1d8 Bug 532208 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent 2010-02-23 16:45:00 -05:00
Jim Mathies d473f6e316 Bug 547353 - [OOPP] Mouse pointer coordinates misaligned with winless Silverlight. r=bent. 2010-02-24 16:13:48 -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 03f40b0810 Bug 544945, part 1: Detect nested glib event loops in the plugin subprocess. r=karlt 2010-02-16 12:44:24 -06:00
Benjamin Smedberg 00bfe829ba 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
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
Oleg Romashin c81e045cab bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Benjamin Smedberg 775d32da63 Bug 535120 - NPN_GetValue(NPNVToolkit) doesn't work with null npp, r=bent 2010-02-03 17:17:41 -05:00
Benjamin Smedberg a66882514d Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones 2010-02-03 17:17:09 -05:00
Chris Jones cfff1ea322 Bug 535612: Set GDK_NATIVE_WINDOWS in plugin processes to work around plugins that don't interact well with client-side GDK windows. r=karlt r=roc 2010-02-02 00:28:28 -06:00
Oleg Romashin e9d971468d Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Oleg Romashin e22897fdc9 Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g 2010-01-28 07:22:41 +02:00
Benjamin Smedberg b6cddb5a7a Bug 540868 part 3: when deallocating NPObjects in leakcount builds, let the leak monitor know that we cleaned them up correctly, r=bent 2010-01-22 10:06:30 -05: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
Benjamin Smedberg 3a6b8dedcf Bug 540858 part I: separate the refcount logging of NPObject (which works for both plugin and proxy NPObject) from ctor/dtor logging of ChildNPObject (proxy only), r=bent 2010-01-22 10:05:29 -05:00
Benjamin Smedberg 5fc6e0538c Bug 518924 - NPN_ScheduleTimer, and clean up asynccalls when the plugin instance is destroyed, r=cjones 2010-01-19 22:13:24 -05:00
Karl Tomlinson 1a2b08ccdd Bug 539897: Add missing socket_window reference due to GtkPlug bug. r=cjones 2010-01-19 15:45:56 -06:00
Karl Tomlinson 6deb6e0594 Bug 538914: Undo incorrect unref of GtkPlug by plugin. r=roc r=cjones 2010-01-19 15:45:54 -06:00
Benjamin Smedberg 68b2ae846d Bug 539755 - Implement NPN_GetValueForURL, NPN_SetValueForURL, and NPN_GetAuthenticationInfo, r=bent 2010-01-15 11:26:46 -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
Chris Jones 005d7e1bd5 Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent 2010-01-04 15:46:34 -06:00
Benjamin Smedberg eb9d777796 Bug 518924 - Implement NPN_AsyncCallback r=cjones 2009-12-16 17:27:18 -05:00
Chris Jones 2a7a132a2b bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06: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
Benjamin Smedberg a4f4f16728 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
Benjamin Smedberg 08cb5e93c2 Don't use a static nsCString (causing leaks in the plugin process). Also, use NS_LogInit/NS_LogTerm for the child process so that leaks are reported at the right time. 2009-11-19 17:57:56 -05:00
Ben Turner 0b8bf7cef2 Followup to bug 527876 2009-11-13 13:19:33 -08:00