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 |
|
Chris Jones
|
d484a65e38
|
bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations.
|
2009-09-21 21:02:15 -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 |
|
Benjamin Smedberg
|
b492f5cb54
|
__FUNCTION__ is not a preprocess macro: it is a symbol which ends up being a const char* for the current function. You can't concatenate it with other stuff.
|
2009-09-21 11:46:38 -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
|
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 |
|
Benjamin Smedberg
|
b407807f12
|
Bug 517207 - Implement NPN_GetValue, r?bent. I use separate messages for each getvalue property instead of an integer/enumeration and a variant because for each message, the type returned is static: this avoids a lot of dynamic checking for correct enumeration values and variant types. r=bent
|
2009-09-15 16:33:24 -04:00 |
|
Benjamin Smedberg
|
0c3c67bde3
|
Fix Windows build bustage from the NPN_GetURLNotify patch.
|
2009-09-11 13:52:53 -04:00 |
|
Benjamin Smedberg
|
79d7e994f0
|
Implement NPN_GetURLNotify/NPN_PostURLNotify/NPP_URLNotify. Still without any tests!
|
2009-09-08 17:22:50 -04: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 |
|