Commit Graph

283 Commits

Author SHA1 Message Date
Jim Mathies
cdca26afe7 Bug 563377 - [OOPP] Add centralized ReplyMessage handler in PluginModuleChild for all child windows (various fullscreen hang fixs). r=bent. 2010-05-11 10:19:14 -05: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
3289dec34b Bug 564607 - Plugins which implement NPClass.enumerate crash Firefox when run OOP: fix the precedence of C++ operations, r=bent 2010-05-10 17:11:08 -04:00
Jim Mathies
2e14c78a7e 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
5eb0c6e687 Bug 561817 part C - restore the NestableTasksAllowed munging that was removed in patch B: I thought it was vestigial, but it's necessary, r=bent 2010-04-30 14:43:59 -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
Karl Tomlinson
b54c9fe67a b=561308,539138 Realize GtkPlugs when associated with a socket for consistency with in-process behavior r=cjones
--HG--
extra : rebase_source : 96d433c381d6d560ddd566572cfc143d91113453
2010-04-29 22:43:15 +12:00
Karl Tomlinson
c13b41f37a b=561690 NULL check aNPP in _geturlnotify for nspluginwrapper r=bsmedberg
--HG--
extra : rebase_source : 67c36002a3ef071b6ff6f31dcfe1954e3e61ca9e
2010-04-29 09:08:07 +12:00
Benjamin Smedberg
67995408eb 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
Chris Jones
733681c29e Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg 2010-04-27 00:43:03 -05:00
Thomas Lee
ce2d2bb9d6 Bug 541131: Include IPDL headers as |include protocol PFoo;|. r=cjones 2010-04-26 20:11:46 -05:00
Chris Jones
f51d5ae1a5 Bug 555276: Top-level protocols should handle shmem messages if any subprotocol uses it. r=bent 2010-04-26 20:11:43 -05:00
Jim Mathies
c9d1673369 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
Jim Mathies
2c972dc33b Bug 561495 - [OOPP] Mouse wheel and related windowing event hangs. r=masayuki, a=jrmuizel. 2010-04-26 10:05:29 -05:00
Benoit Girard
cef0a66d2a Remove "abort()" that was accidentally checked in. b=561519 r=josh a=#developers 2010-04-25 19:55:53 -04:00
Oleg Romashin
494639846e Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
Karl Tomlinson
12276a5c48 b=560246 use CallPaint for GraphicsExpose r=cjones
--HG--
extra : rebase_source : 4d031160b1bee8f87610bf99b6d13b8c132dd0fb
2010-04-21 14:53:53 +12: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
Joe Drew ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
8ed356359a Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt 2010-04-16 00:29:16 -05:00
Chris Jones
e4c14091b0 Fix typo from bug 519601 that busted windows. 2010-04-14 02:31:36 -05:00
Chris Jones
c03a0009e7 Fix typo from bug 519601 that busted mac. 2010-04-14 02:20:53 -05:00
Karl Tomlinson ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
27462a223f Bug 519601: s/netscape/netsc@pe/ for plugin dso paths passed on the command line on linux. r=karlt 2010-04-14 02:04:52 -05:00
Benjamin Smedberg
cdb73bccd1 Bug 558390 - Quake Live crashes because it implements NP_Initialize using cdecl, instead of the correct stdcall. Force the calling function to use a frame pointer so that the stack pointer gets reset correctly before we return, r=jrmuizelaar, landing in mozilla-central for bake time pending review from josh or jst
--HG--
extra : rebase_source : dc32598b3ba1ad665b33146d298e01f64b58ef49
2010-04-13 12:10:00 -04:00
Jim Mathies
bee34d930e Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg. 2010-04-12 15:25:57 -05:00
Ben Turner
3bc6840df2 Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg. 2010-04-07 17:16:19 -07:00
Ben Turner
3816aaa018 Backed out changeset 0ed675647700 for failing tests 2010-04-07 15:01:23 -07:00
Ben Turner
7197e38d9d Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg. 2010-04-07 13:55:10 -07:00
Benoit Girard
b53f0597df Clear OOP CGContext for transparent plug-ins. b=557534 r=josh
--HG--
extra : rebase_source : 267e6db3a94758cc2834e5f48baf759bbaad1566
2010-04-06 15:02:54 -04:00
Jim Mathies
dff53c0295 Bug 552062 - [OOPP] Black Background on certain Flash Objects. r=bent. 2010-04-05 11:43:55 -05:00
Jim Mathies
b170e75577 Bug 535295 - [OOPP] Tearing/Repainting issues with flash videos, their controls and other page content during/after scrolling. r=roc. 2010-04-05 11:43:13 -05:00
Benoit Girard
8e7c8c5f5b Optimize Core Graphics drawing model OOPP implementation. b=555835 r=josh 2010-04-01 17:53:56 -04:00
Josh Aas
b60aa33480 Remove unimplemented status from NPN_ForceRedraw for IPC. We are ignoring calls on purpose and do not plan to implement it in any way at this point. b=555511 r=cjones 2010-03-30 23:53:53 -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
Oleg Romashin
b371b618cb Bug 554911 - mozilla-runtime process hang and not closed properly after closing fennec UI. r=dougt
--HG--
extra : rebase_source : 5490b2acfe1980e372b7918cf36e8e771b2a0747
2010-03-30 07:34:37 -04:00
Josh Aas
9aa84a5f00 [OOPP] Serialize remaining Cocoa NPAPI events, including keyboard events. b=555300 r=cjones 2010-03-29 15:27:49 -04:00
Benjamin Smedberg
2e0b8d0752 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
Josh Aas
fc1d594cb2 Initialize NPP structure's pdata pointer to NULL. Plugins can mistake an uninitialized non-NULL value for their own instance pointer and try to dereference it. b=555312 r=BenWa 2010-03-29 10:16:27 -04:00
Josh Aas
102cefa62a [OOP] Add support for NPN_ConvertPoint via IPC. b=555250 r=cjones 2010-03-26 16:55:56 -04:00
Josh Aas
adb17d749c [OOPP] Whitelist Cocoa NPAPI events that don't require special serialization. b=555286 r=cjones 2010-03-26 16:25:33 -04:00
Benoit Girard
99e5fc5faf Implement Core Graphics drawing model for out-of-process plugins. b=554676 r=josh sr=cjones 2010-03-26 16:07:37 -04:00
Josh Aas
2b39b5e515 [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
54f3126ea7 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
0a88862109 b=551875 handle g_main_depth() != 1 when events are dispatched r=cjones 2010-03-26 14:52:16 +13:00
Karl Tomlinson
ff1c2293f3 b=526393 propagate scroll events from GtkPlug to the embedder r=roc (relanded) 2010-03-24 16:42:06 +13:00
Karl Tomlinson
2c757dc2bd backout 60fb978130f5 due to wrong bug no in the commit message 2010-03-26 14:35:56 +13:00
Josh Aas
a02149fecc 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