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 |
|
Ben Turner
|
b17063546e
|
Bug 526401 - Fixup handling of null NPP. r=bsmedberg.
|
2009-12-01 13:27:13 -08: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 |
|
Ben Turner
|
e9917531bc
|
Fix bad allocation pattern in NPP_New
|
2009-11-19 14:47:09 -08:00 |
|
Phineas T. Farnsworth
|
c1f7d557dc
|
bug 526626: band-aids for shutdown assertions
|
2009-11-09 16:56:55 -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 |
|
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 |
|
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
|
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 |
|
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 |
|
Benjamin Smedberg
|
3e1cc1bae2
|
Fix streams to work. Be consistent about AStream* for pdata/ndata. Set up pdata before actually calling the constructor. Implement functions which were stubbed out without TODO comments. This passes the stream tests!
--HG--
extra : rebase_source : fb5dbbd43a1588efad83b80760b82f40ad1eff3f
|
2009-09-22 17:06:00 -04:00 |
|
Chris Jones
|
4c587f8e45
|
bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor
|
2009-09-22 12:31:11 -05:00 |
|
Benjamin Smedberg
|
b64d353fd6
|
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 |
|
Ben Turner
|
eb6738b7b5
|
More nsresult -> bool fixes, and fix windows bustage from NPEvent stub impl.
|
2009-09-19 12:24:24 -07:00 |
|
Chris Jones
|
fcd45719e6
|
fix more bustage related to nsresult-to-bool switch. committing initial (untested!) NPEvent forwarding caught in the crossfire
|
2009-09-18 20:19:11 -05:00 |
|
Chris Jones
|
8c37ed70aa
|
fix changes that busted ipc-test plugin
|
2009-09-17 20:49:04 -05:00 |
|
Chris Jones
|
03947f0bf3
|
switch message handler nsresult return types to bool. appears to break test plugin, will be temporary
|
2009-09-17 18:09:20 -05:00 |
|
Ben Turner
|
5927a0e5fb
|
Landing the first part of NPRuntime support for plugin-side objects. Not hooked up yet.
|
2009-09-17 15:15:12 -07:00 |
|
Ben Turner
|
cce28b953f
|
Further fixes for unions
|
2009-09-14 19:26:17 -07:00 |
|
Ben Turner
|
d21caee81e
|
Add support for NPIdentifiers to oop plugins
|
2009-09-14 13:01:31 -07:00 |
|
Benjamin Smedberg
|
3c02ab3b1b
|
The functions which accept a NPP instance parameter don't need the special shim: just make them static functions on PluginModuleParent. This leaves only the following functions which will need special treatment in the Mozilla plugin host:
* NP_Initialize
* NP_GetEntryPoints
* NP_Shutdown
* NP_GetPluginVersion
* NP_GetValue
* NPP_New
* NP_GetMIMEDescription
|
2009-09-14 14:56:23 -04:00 |
|
Chris Jones
|
e20692ab9b
|
add discriminated union types to IPDL
|
2009-09-10 23:55:03 -05:00 |
|
Ben Turner
|
c6ad60ed4d
|
Remove 'Protocol' suffix from IPDL-generated files
|
2009-09-09 15:59:06 -07:00 |
|
Benjamin Smedberg
|
09ee5262ac
|
PPluginStream is badly named: there is going to be a PPluginStream, but it's not this!
--HG--
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/BrowserStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/BrowserStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/BrowserStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/BrowserStreamParent.h
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/PBrowserStream.ipdl
|
2009-09-09 10:04:09 -04:00 |
|
Ben Turner
|
fd54229708
|
Rename plugin protocols and fix up usage
--HG--
rename : dom/plugins/NPP.ipdl => dom/plugins/PPluginInstance.ipdl
rename : dom/plugins/NPAPI.ipdl => dom/plugins/PPluginModule.ipdl
rename : dom/plugins/NPObject.ipdl => dom/plugins/PPluginScriptableObject.ipdl
rename : dom/plugins/NPBrowserStream.ipdl => dom/plugins/PPluginStream.ipdl
rename : dom/plugins/NPPInstanceChild.cpp => dom/plugins/PluginInstanceChild.cpp
rename : dom/plugins/NPPInstanceChild.h => dom/plugins/PluginInstanceChild.h
rename : dom/plugins/NPPInstanceParent.cpp => dom/plugins/PluginInstanceParent.cpp
rename : dom/plugins/NPPInstanceParent.h => dom/plugins/PluginInstanceParent.h
rename : dom/plugins/NPAPIPluginChild.cpp => dom/plugins/PluginModuleChild.cpp
rename : dom/plugins/NPAPIPluginChild.h => dom/plugins/PluginModuleChild.h
rename : dom/plugins/NPAPIPluginParent.cpp => dom/plugins/PluginModuleParent.cpp
rename : dom/plugins/NPAPIPluginParent.h => dom/plugins/PluginModuleParent.h
rename : dom/plugins/NPObjectChild.cpp => dom/plugins/PluginScriptableObjectChild.cpp
rename : dom/plugins/NPObjectChild.h => dom/plugins/PluginScriptableObjectChild.h
rename : dom/plugins/NPObjectParent.cpp => dom/plugins/PluginScriptableObjectParent.cpp
rename : dom/plugins/NPObjectParent.h => dom/plugins/PluginScriptableObjectParent.h
rename : dom/plugins/NPBrowserStreamChild.cpp => dom/plugins/PluginStreamChild.cpp
rename : dom/plugins/NPBrowserStreamChild.h => dom/plugins/PluginStreamChild.h
rename : dom/plugins/NPBrowserStreamParent.cpp => dom/plugins/PluginStreamParent.cpp
rename : dom/plugins/NPBrowserStreamParent.h => dom/plugins/PluginStreamParent.h
|
2009-09-08 23:31:35 -07:00 |
|