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 |
|
Benjamin Smedberg
|
a99d2bc8fe
|
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
|
70135d7c9f
|
Bug 540776 - Initialize NPRuntime scriptable result variants the same way the Mozilla plugin host does, r=cjones
--HG--
extra : transplant_source : x_%F3W%2A%F5%83%C5%BE%08V%81%D7%40%BF%12%0B%BF%DF%A0
|
2010-01-19 22:23:32 -05:00 |
|
Benjamin Smedberg
|
2bb6aa26c4
|
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 |
|
Karl Tomlinson
|
a753e3901b
|
Bug 539897: Add missing socket_window reference due to GtkPlug bug. r=cjones
--HG--
extra : transplant_source : %D0%91%8Eoa%1F%00JDF%7Cj%AB%9A%C8%06%E13%E37
|
2010-01-19 15:45:56 -06:00 |
|
Karl Tomlinson
|
8b4c05501b
|
Bug 538914: Undo incorrect unref of GtkPlug by plugin. r=roc r=cjones
--HG--
extra : transplant_source : sdX%A6%286%AD%29%DC%CE%BB%E5X%F4B%A3_d%A6N
|
2010-01-19 15:45:54 -06:00 |
|
Benjamin Smedberg
|
8cf3963e32
|
Bug 539755 - Implement NPN_GetValueForURL, NPN_SetValueForURL, and NPN_GetAuthenticationInfo, r=bent
|
2010-01-15 11:26:46 -05:00 |
|
Benjamin Smedberg
|
2324becd51
|
Bug 521377 build-bustage followup: make template instantiations available inline, r=bent
--HG--
rename : dom/plugins/PluginScriptableObjectUtils.cpp => dom/plugins/PluginScriptableObjectUtils-inl.h
extra : transplant_source : %18%D0%7BP%40v%CF%89%9B%D3%27i%B9%E3d%A4%ACgf%3F
|
2010-01-15 16:52:13 -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 |
|
Benjamin Smedberg
|
51181a42aa
|
Bug 539280 - Add support for NPNVnetscapeWindow query on Linux, r=karlt
|
2010-01-14 10:18:34 -05: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 |
|
Benjamin Smedberg
|
758ab615e5
|
Bug 521377 build-bustage followup: make template instantiations available inline, r=bent
--HG--
rename : dom/plugins/PluginScriptableObjectUtils.cpp => dom/plugins/PluginScriptableObjectUtils-inl.h
|
2010-01-15 16:52:13 -05:00 |
|
Ben Turner
|
37ff4409a5
|
Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
|
2010-01-15 12:35:57 -08:00 |
|
Jim Mathies
|
938c329d54
|
Bug 536369 - OOPP: Add NPNVnetscapeWindow support for windows. r=bsmedberg.
|
2010-01-13 19:47:38 -06:00 |
|
Jim Mathies
|
3960d009a6
|
Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg.
|
2010-01-13 19:46:44 -06:00 |
|
Chris Jones
|
709ae3ce2b
|
Bug 538537: Guard BrowserStreams from being deleted from within their constructor. r=bsmedberg
|
2010-01-12 17:06:18 -06:00 |
|
Benjamin Smedberg
|
84db3ddf86
|
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 |
|
Benjamin Smedberg
|
dc4191cad2
|
Bug 536437 - work around a bug in the Mozilla plugin host where NPN_GetURLNotify can return an error and also call NPP_URLNotify, r=cjones
--HG--
extra : transplant_source : %07%7B%DBO%AF%069%16%F5%FF%1A%C5%F5Wi%E1%9D%E1%E6%83
|
2010-01-05 12:12:30 -05:00 |
|
Jim Mathies
|
7ce165ba93
|
Bug 539020 - OOPP: mouse events get duped. r=bsmedberg.
|
2010-01-11 12:53:08 -06:00 |
|
Chris Jones
|
fc78df75e6
|
Fix windows bustage caused by 04d6f128da25
|
2010-01-04 16:41:34 -06:00 |
|
Chris Jones
|
a20ac7326a
|
Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent
|
2010-01-04 15:46:34 -06:00 |
|
Walter Meinl
|
086f519b38
|
Bug 536264 - "[OS/2] build break in modules\plugins" [r=josh]
|
2009-12-23 15:12:00 -06:00 |
|
Chris Jones
|
cb0d649a87
|
bug 535073: prevent plugins from corrupting the stack by making word-size stores to pointers to NPBool (unsigned char). r=bsmedberg
|
2009-12-17 00:32:44 -06:00 |
|
Benjamin Smedberg
|
4164f7bfc5
|
Bug 518924 - Implement NPN_AsyncCallback r=cjones
|
2009-12-16 17:27:18 -05:00 |
|
Benjamin Smedberg
|
e9b0ccabad
|
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 |
|
Chris Jones
|
b91d7c23b6
|
bug 534863: the plugin DLL path needs to be quoted on windows. irc r=bent
|
2009-12-15 17:10:41 -06:00 |
|
Benjamin Smedberg
|
2010a569bb
|
Merge mozilla-central into electrolysis.
|
2009-12-14 21:27:17 -05:00 |
|
Jim Mathies
|
1ea63e49c6
|
Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar.
|
2009-12-14 18:28:51 -06:00 |
|
Jim Mathies
|
23118539a9
|
Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar.
|
2009-12-14 18:27:25 -06:00 |
|
Benjamin Smedberg
|
b7d1d5c7ba
|
Followup to e10s landing (and back to bug 516509): on Mac, NP_GetMIMEDescription and NP_GetValue are optional entry points, because the metadata can be retrieved from the .plist file, r=josh
--HG--
extra : rebase_source : 0fc5db971736612606c66c20cc2f0a3cc62ca444
|
2009-12-14 16:19:25 -05:00 |
|
Ben Turner
|
6e20a64631
|
Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg.
|
2009-12-11 12:48:37 -08:00 |
|
Benjamin Smedberg
|
1c4aa9f2e3
|
Defer the PluginCrashed notification so that we don't delete the PluginModuleParent while we're in the middle of a crash notification.
|
2009-12-04 21:20:06 -05:00 |
|
Benjamin Smedberg
|
5035b52067
|
Partly fix test bustage from bug 532751: set mShutdown before notifying the nsNPAPIPlugin, so that it doesn't re-enter IPC methods.
|
2009-12-04 18:41:56 -05:00 |
|
Benjamin Smedberg
|
c29bfd6d3d
|
Bustage fix
|
2009-12-03 15:44:33 -05:00 |
|
Benjamin Smedberg
|
6e3d83cf38
|
Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz
|
2009-12-04 13:24:57 -05:00 |
|
Benjamin Smedberg
|
c1afb3a76f
|
Bug 532671 - After a plugin crashes, the module entry points (most importantly NPP_New) should fail, r=bent
--HG--
extra : rebase_source : 389d54e70fea2801d28bdf2e48740dcaaec31a07
|
2009-12-03 15:31:52 -05:00 |
|
Benjamin Smedberg
|
7fa499445d
|
When the plugin crashes, set NPP->pdata to NULL, and null-check NPP->pdata in the callbacks that matter. r=bent
--HG--
extra : rebase_source : 32489b985b05b9da68546d37a2f0302bac8fd467
|
2009-12-03 15:31:01 -05:00 |
|
Benjamin Smedberg
|
f29a8b92d2
|
Bug 532659 - PluginScriptableObjectParent gets double-deleted when the plugin crashes, and fix the IPDL bug where we delete the actor if construction fails, instead of calling Deallocate on it, r=bent
--HG--
extra : rebase_source : dbe9a100735b1e0d0a8b07f4421e1ccb6055a78a
|
2009-12-03 15:30:05 -05:00 |
|
Ben Turner
|
998844d951
|
Fix bad invalidation bug in child NPObjects
|
2009-12-03 11:53:09 -08:00 |
|
Chris Jones
|
4572a1920a
|
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
|
4a0c6ae1dc
|
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 |
|
Chris Jones
|
f2a7be3825
|
bug 524220: add a |nullable| type qualifier denoting whether C++ actor params are allowed to be NULL. r=bent
|
2009-12-03 00:35:22 -06:00 |
|
Chris Jones
|
411500f1ca
|
Build fix
|
2009-12-01 17:33:51 -06:00 |
|
Ben Turner
|
b17063546e
|
Bug 526401 - Fixup handling of null NPP. r=bsmedberg.
|
2009-12-01 13:27:13 -08:00 |
|
Jim Mathies
|
0ffd1b2e75
|
Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar.
|
2009-12-01 15:05:26 -06:00 |
|
Benjamin Smedberg
|
96bcd263ae
|
XXX removal: don't destroy the stream on failure (a future ActorDestroy callback will take care of that), and other shutdown- and crash-related XXX removal which are handled by bug 529005
|
2009-11-25 15:34:49 -05:00 |
|
Benjamin Smedberg
|
aa44111ad9
|
TODO-removal: make NullableStringGet an inline function instead of a macro, and make NullableString an inline function in mozilla::plugins instead of in an anonymous namespace: no need to have a separate copy of it for each translation unit.
|
2009-11-25 15:07:45 -05:00 |
|
Benjamin Smedberg
|
3815e2f045
|
More TODOs in the the plugin stream code, use the NullableString mechanisms which were invented after this landed.
|
2009-11-25 10:34:59 -05:00 |
|
Benjamin Smedberg
|
f7eb5c27ab
|
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
|
bb315f002e
|
Backed out changeset 97c456993dbd -- red herring, no need for this debugging spew.
|
2009-11-20 13:48:42 -05:00 |
|
Chris Jones
|
fe82937760
|
temporary debugging spew to check bug 529234
|
2009-11-20 11:54:46 -06:00 |
|
Benjamin Smedberg
|
bda0f732bc
|
Don't crash if NP_Initialize failed remotely: PluginLibrary::NP_Initialize returns an nsresult, not a NPError; nsNPAPIPlugin::CreatePlugin fails but still sets the outparam; nsPluginHost doesn't properly rv-check nsNPAPIPlugin::CreatePlugin, which causes us to think the bad plugin is actually good. I hate stupid failure chains!
|
2009-11-20 10:34:20 -05:00 |
|
Chris Jones
|
9a696edbf3
|
bug 530007: fix crashing edge cases in the hope of getting better diagnostics about failed tests
|
2009-11-20 02:23:07 -06:00 |
|
Benjamin Smedberg
|
8f0adb5fe2
|
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
|
e9917531bc
|
Fix bad allocation pattern in NPP_New
|
2009-11-19 14:47:09 -08:00 |
|
Ben Turner
|
b6ef9679ad
|
Followup to bug 527876
|
2009-11-13 13:19:33 -08:00 |
|
Ben Turner
|
42c5c160d1
|
Bug 527876 - 'test_windowed_invalidate.html hangs during mochitest-ipcplugins'.
|
2009-11-13 12:20:03 -08:00 |
|
Chris Jones
|
64b9366a4d
|
no need to include in C++ protocol-common headers |include protocol|'d from IPDL. this is an accident of history
|
2009-11-12 16:20:20 -06:00 |
|
Ben Turner
|
cafe07f11b
|
Bug 525792 - 'Fix leaks running mochitests'.
|
2009-11-12 14:16:54 -08:00 |
|
Benjamin Smedberg
|
effd77def4
|
Don't rely on the plugin methods to return a non-null actor when the say NPERR_NO_ERROR... crashing here is a no-no even if the plugin is stupid.
|
2009-11-11 17:01:07 -05:00 |
|
Ben Turner
|
0a4603ecea
|
Fix invalidation algorithm so that we never leave a deleted actor in the live hash map.
|
2009-11-11 17:12:01 -08:00 |
|
Chris Jones
|
5629855e23
|
mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though
|
2009-11-10 20:25:10 -06:00 |
|
Ben Turner
|
401a6884be
|
Fix silly bugs
|
2009-11-09 17:30:02 -08:00 |
|
Phineas T. Farnsworth
|
c1f7d557dc
|
bug 526626: band-aids for shutdown assertions
|
2009-11-09 16:56:55 -06:00 |
|
Ben Turner
|
d1a97dd911
|
Bug 522414 - 'RPC and Sync channels will deadlock easily on Windows'. r=jimm+rs.
|
2009-11-06 14:33:12 -08:00 |
|
Chris Jones
|
721479dcd3
|
bug 523894: wstrings are bad news in OPT builds due to chromium/Mozilla -fshort-wchar mismatch
|
2009-11-05 18:24:27 -06:00 |
|
Chris Jones
|
f1358e3105
|
bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r=
|
2009-11-03 15:37:07 -06:00 |
|
Benjamin Smedberg
|
3367daa125
|
Remove stale TODO, this will be properly covered by parent-side error handling events.
|
2009-11-02 11:48:52 -05:00 |
|
Benjamin Smedberg
|
f0f56fb840
|
Linux build bustage from previous commit, bug 525605.
|
2009-10-31 15:32:06 -04:00 |
|
Benjamin Smedberg
|
c7b65d066d
|
Bug 525605 - Windows unit tests orange loading plugins: on Windows, the directly-imported plugin functions are WINAPI, so we need to use careful typedefs to get the calling convention right.
|
2009-10-31 15:22:02 -04:00 |
|
Benjamin Smedberg
|
b0a9529f7f
|
Bug 525454 - Crash in mochitest-ipcplugins where NPP_Invoke returns the last reference to an object. Also fixes an operator-precedence error.
|
2009-10-30 17:02:47 -04:00 |
|
Chris Jones
|
4f942a96f2
|
bug 523761: give top-level IPDL actors handles to each others' processes. r=bent
|
2009-10-27 16:52:37 -05:00 |
|
Chris Jones
|
db4d86c978
|
Make a DEBUG_cjones log message DEBUG
|
2009-10-27 16:07:49 -05:00 |
|
Benjamin Smedberg
|
1b97d8b940
|
Linux build bustage from bug 522122.
|
2009-10-27 16:59:40 -04:00 |
|
Jeff Muizelaar
|
31d0efb7ae
|
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 |
|
Josh Aas
|
39b3aac40a
|
Allow multiple types of OOP plugins to load. b=516509 r=cjones
|
2009-10-27 15:51:12 -04:00 |
|
Chris Jones
|
0564ad103d
|
bug 523143: switch protocols using nsTArray to native IPDL arrays
|
2009-10-19 14:10:52 -05:00 |
|
Chris Jones
|
e1e761401a
|
bug 506171: rewrite lower.py and add native IPDL arrays.
|
2009-10-16 18:31:53 -05:00 |
|
Ben Turner
|
927eca0769
|
Add NPN_Evaluate and NPN_Push/PopPopupsEnabledState support
|
2009-10-13 10:54:41 -07:00 |
|
Karl Tomlinson
|
3fa2368891
|
b=521376 remove XSynchronize from plugin process r=cjones
|
2009-10-12 12:54:49 +13:00 |
|
Chris Jones
|
952906a7a1
|
nsDependentCString must be null-terminated, but byte buffers do not. temporary fix until we start using a "real" byte buffer
|
2009-10-09 01:24:46 -05:00 |
|
Ben Turner
|
970c751691
|
Remove testplugin for ipc, we can run the real one now.
|
2009-10-08 14:40:51 -07:00 |
|
Ben Turner
|
dfe7dc6f40
|
Oops, revert bad changes
|
2009-10-08 12:23:04 -07:00 |
|
Ben Turner
|
d8f6fca3ab
|
Add threadsafety assertions to plugin code
|
2009-10-08 12:11:13 -07:00 |
|
Ben Turner
|
f26ec904ef
|
Oops, missed two
|
2009-10-08 11:45:20 -07:00 |
|
Ben Turner
|
366f27bdff
|
Crash fixes, must initialize variants before returning true
|
2009-10-08 11:36:50 -07:00 |
|
Chris Jones
|
e163ed39df
|
implement NPN_UserAgent, which was trickier than expected
|
2009-10-08 02:54:16 -05:00 |
|
Chris Jones
|
b67d0407f8
|
fix some simple crasher bugs
|
2009-10-08 00:49:30 -05:00 |
|
Ben Turner
|
80b478e8c5
|
Bug 516524 - Support NPRuntime across processes. r=bsmedberg.
|
2009-10-07 16:50:48 -07:00 |
|
Karl Tomlinson
|
1187b43b45
|
b=519896 NPN_InvalidateRect r=cjones
|
2009-10-01 17:09:21 +13:00 |
|
Karl Tomlinson
|
1ab026f529
|
b=519641 pass visual and colormap to plugin process r=cjones
|
2009-10-01 10:36:14 +13:00 |
|
Chris Jones
|
afed1a0211
|
update plugin process NPNetscapeFuncs interface (with stub impls) to the most recent NPAPI.
|
2009-09-29 13:50:11 -05:00 |
|
Chris Jones
|
0ae3b43203
|
fix stupid bug in deserialization of NPWindow. X11 windowless plugins now work.
|
2009-09-25 15:35:03 -05:00 |
|
Chris Jones
|
09dd02217f
|
forward NPWindow.{x, y} properly. no windowless gfx yet, but closer. thanks=karlt
|
2009-09-25 11:16:44 -05:00 |
|
Chris Jones
|
0151e59e0a
|
attempt to fix linux build
|
2009-09-25 00:17:29 -05:00 |
|
Chris Jones
|
22800f56d8
|
pre-fix windows bustage. thanks=bent
|
2009-09-24 21:14:41 -05:00 |
|
Chris Jones
|
0531f8f96b
|
basic support for windowless X11 plugins. gfx not quite working yet
|
2009-09-24 21:03:59 -05:00 |
|
Benjamin Smedberg
|
7464979f8c
|
More plugin crash fixes: failure from NPP_Write doesn't actually destroy the stream, it just tells the browser to destroy the stream. NPP_NewStream resulting from NPN_GetURLNotify didn't have the notifyData field set correctly. Other minor logging and cleanup.
--HG--
extra : rebase_source : 932c0290a7c1779275266607d5e853d5c1994396
|
2009-09-23 19:00:23 -04:00 |
|
Ben Turner
|
b4b02694d7
|
Bustage fix for linux
|
2009-09-23 00:48:28 -07:00 |
|
Ben Turner
|
fb65d976a0
|
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 |
|