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 |
|
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 |
|
Benjamin Smedberg
|
0b4ab180ee
|
Fix up dom/plugins code for bug 516661 - no more nspluginsdefs.h!
|
2009-09-18 17:01:09 -04: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 |
|
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
|
16ebf43c77
|
Actually implement the geturl/posturl functions on the child-side plugin host.
|
2009-09-15 15:48:18 -04:00 |
|
Ben Turner
|
cce28b953f
|
Further fixes for unions
|
2009-09-14 19:26:17 -07:00 |
|
Ben Turner
|
7c57ab02d5
|
Add simple tests for NPIdentifiers in testplugin
|
2009-09-14 15:35:02 -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 |
|
Benjamin Smedberg
|
0c3c67bde3
|
Fix Windows build bustage from the NPN_GetURLNotify patch.
|
2009-09-11 13:52:53 -04:00 |
|