About the NPW_DIRECT_EXEC feature
Gwenole Beauchesne
gb.public at free.fr
Tue Dec 2 23:54:45 UTC 2008
Hi,
I forgot to mention the following feature in 1.1.8 release notes:
* Make it possible to execute wrapped native plugins directly, without
npviewer.bin
In other words, NPW_DIRECT_EXEC=1 firefox will make the plugins work
as if they were not wrapped. This is mostly interesting for debugging
and avoids un-wrapping and updating the symbolic links to the native
plugins.
Note however this mode is not 100% identical to a direct use of the
plugin. The only differences are NPAPI version exposed to the plugin
(0.17) and the following unimplemented functions: NPN_ReloadPlugins(),
NPN_InvalidateRegion(), NPN_ForceRedraw(), NPP_SetValue(). Those
differences are wanted (to check at the same features levels as
npviewer.bin). It's fairly easy to suppress those differences. i.e.
copy the missing NPNetscapeFuncs and npapi_version from the original
NPNetscapeFuncs table (in NP_Initialize()).
Regards,
Gwenole.
More information about the Nspluginwrapper-devel-list
mailing list