Commit Graph

566 Commits

Author SHA1 Message Date
Josh Aas
f949685c4d Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB. 2009-11-23 13:57:27 -05: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
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Benjamin Smedberg
453514dea2 Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap 2009-11-17 14:51:46 -05:00
Ben Turner
cafe07f11b Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Benjamin Smedberg
957e2b5042 The test plugin over-retains its scriptable object: NPN_CreateObject returns a retained object, so there's no need to retain it again. This shouldn't fix the leak but it does expose the bug bent just fixed. 2009-11-11 23:46:56 -05:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Ben Turner
401a6884be Fix silly bugs 2009-11-09 17:30:02 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Benjamin Smedberg
8fad57cfea Disable the NPN_SetException tests for the time being until the e10s bug is fixed. 2009-11-04 13:11:20 -05: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
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -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
Ben Turner
c650170292 Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Jonathan Griffin
861525d628 Bug 522791. Add basic tests for NPN_SetException.
--HG--
extra : rebase_source : 5d4f69cb5c54136775f0752713d055ad9f407c7a
2009-10-19 14:00:59 -07:00
Jonathan Griffin
d9912f5e30 Bug 518940. Amend NPN_InvokeDefault tests to include multiple-argument and no-argument tests.
--HG--
extra : rebase_source : 65df67027083f5474a3a82297b9a597b8458d06f
2009-10-16 15:29:15 -07:00
Jonathan Griffin
dee25456a7 Bug 522400. Fix a typo which prevented the invokedefault method on plugin-defined objects from being called. r+sr=jst 2009-10-16 10:27:33 -07:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Rich Walsh
bdab68be3d [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Ben Turner
80b478e8c5 Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Jonathan Griffin
089ca4c346 Bug 521329. Fix linux compiler warnings in test plugin. 2009-10-08 15:37:08 -07:00
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Jonathan Griffin
6b906c1857 Bug 517078. Add plugin stream tests for NPP_ functions returning errors. 2009-10-02 15:18:25 -07:00
Blair McBride
9cdc2ead10 Bug 514327 - Detect outdated plugins and offer upgrade path. ui-r=beltzner, r=dtownsend,josh 2009-10-02 13:26:04 +02:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Chris Jones
0531f8f96b basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Ben Turner
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Benjamin Smedberg
64a1193a12 Followup to bug 517078 - separate out the plugin tests so that each test is separate. This makes it easier to see what the test is doing, has fewer potential interactions between tests, and made it easier to debug Electrolysis. Reworked slightly and r=griffin
--HG--
extra : rebase_source : 8eaf51a366d7cd08db23a29f2d112351a46e4dc7
2009-09-23 09:49:49 -04:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Benjamin Smedberg
8aab401dc1 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Doug Turner
16ce7d7c20 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
8c81f341a1 Stop loading plugins with the name pattern "npjava*.dll" on Windows - these are old Java DLLs that won't work in Gecko 1.9.2+. b=527543 r=jst 2009-11-13 04:37:25 -05:00
Dave Townsend
8f787ba4fd Bug 471245: Unpacked extensions inadvertently enable plugins when reading chrome file at startup. r+sr=jst 2009-09-22 08:46:32 +01:00
Ben Turner
66a36315ce Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Jonathan Griffin
9891311272 Bug 517078 part I: create mochitests for stream APIs in NPAPI 2009-09-18 10:08:08 -04:00
Jonathan Griffin
3b1bf36d73 Bug 517078. Move 'using namespace' out of header files, per comment from roc.
--HG--
extra : rebase_source : a67c25de3a53131df3e7dd68c0ae4209f496ea58
2009-10-07 16:48:31 -07:00
Jonathan Griffin
ac074f565d Bug 518940. Tests for NPN_Invoke. 2009-10-07 10:27:37 -07:00
Robert O'Callahan
69e399486e Disable test_windowed_invalidate.html on non-Windows, since it's only needed for Windows and seems to be failing on GTK2 at least
--HG--
extra : rebase_source : dc4114dfddee4d8714f7d5c881356352791e6400
2009-11-04 09:17:50 +13:00
timeless@mozdev.org
a57f8826c1 Bug 525980 Fix typos in npapi.h
r=joshmoz
2009-11-04 07:39:43 +13:00
Robert O'Callahan
3e0434e672 Bug 510082. Silverlight depends on NPN_InvalidateRect working even when the plugin is in windowed mode (although it should really just call Win32 APIs to invalidate its window), so make NPN_InvalidateRect work for windowed plugins. r=josh 2009-11-04 07:39:42 +13:00
Jory A. Pratt
8abe24e659 Bug 506599 multiple inclusion of nptypes.h causes build error r=joshmoz 2009-11-02 17:41:36 +08:00
Jonathan Griffin
96ff9f6933 Bug 523216. Check for NULL message in NPN_SetException. r=joshmoz 2009-10-30 13:15:22 -07:00
Michael Wu
d38ee96a91 Improve GetURL/PostURL code
Bug 273025 - bad logic results in potential leak xor crash based on flow; v4, (1/2)
r+sr=jst
2009-10-29 01:29:44 +01:00
Robert O'Callahan
0661a95762 Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Jacek Caban
4b876512bd Bug 531300 - Link failure in testplugin on mingw, r=roc 2009-12-13 09:44:15 -08:00
Jae-Seong Lee-Russo
1d5da93973 Bug 530389 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /modules/plugin/, r=joshmoz 2009-12-13 09:32:10 -08:00
Robert O'Callahan
69525d5240 Bug 509693. Make Windows test plugin in windowed mode have a child widget, and add API so we can check that that child widget is in the right place. r=josh
--HG--
extra : rebase_source : ad7de0da07561499e68229503945713c2f390aa1
2009-09-24 21:35:17 +12:00
Oleg Romashin
786c8adad4 b=512884; nsStringGlue should be used in nsIPluginInstance.h; r+sr=jst 2009-09-18 05:35:49 -04:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Josh Aas
dd80aa5a05 Fix some spelling mistakes. No bug. 2009-11-10 00:16:05 -05:00
Josh Aas
d069d0092b Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Dão Gottwald
bea18b662b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Josh Aas
a80cc9a8b5 Add test for NPN_ConvertPoint, only enabled for Mac OS X for now. b=500406 r=roc 2009-11-09 13:19:26 -05:00
Robert O'Callahan
5220250e10 Disabling plugin test for bug 520436 to figure out test failures on Windows and Linux
--HG--
extra : rebase_source : a82298cc3463f744f7b577bcc16403a76eac1961
2009-10-15 17:56:24 +13:00
Robert O'Callahan
93541fb15e Bug 514974. Test plugin reads from instanceData just after freeing it. r=joshmoz
--HG--
extra : rebase_source : 21adecafa47b6a476e191df6d0db10909505f02c
2009-09-07 12:35:14 +12:00
Benjamin Smedberg
84f70d6422 Bug 510963 - NPN_GetValue(NPNVPluginElementNPObject) is broken, r=josh
--HG--
extra : rebase_source : e1242620d2adfee22a5c8ede076e4d43916e72d9
2009-09-10 14:11:30 -04:00
Josh Aas
193b0904be Remove unused member variable that should have gone away in bug 506985. r=smichaud 2009-09-08 12:36:19 -04:00
Walter Meinl
c61a75f84d Bug 507807 - Clean up linking on OS/2; clean plugins on trunk for real
r=Weilbacher
2009-09-05 00:29:13 +02:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07: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
Benjamin Smedberg
187a34a633 Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Doug Turner
ea91fe7947 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Jonathan Griffin
5505a545d5 Bug 518940. Add NPN_Evaluate tests. 2009-10-23 13:41:52 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Josh Aas
cc8d9ebb04 Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg 2009-08-24 15:56:43 -07:00
Mats Palmgren
de859aa548 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-08-19 02:25:36 +02:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Josh Aas
65e80f6eb0 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
timeless@mozdev.org
0253ddb397 Bug 507404 dialogWindow is unused in DialogOKClicked and DIALOGID is useless
r=karlt
2009-08-26 18:27:59 +02:00
Robert O'Callahan
2194dd18b0 Bug 520462. Test that mouse clicks transfer focus to plugins correctly. r=jmathies 2009-10-08 00:14:12 +13:00
Robert O'Callahan
f98cfc2882 Bug 520436. Interpret NPN_InvalidateRect rectangles as relative to the content-box, not the border-box. r=josh 2009-10-05 23:07:30 +13:00
Karl Tomlinson
8366722865 b=518915 remove incorrect comment about clipRect "Used by MAC only" r=josh
--HG--
extra : rebase_source : 008b54b52b8e4e40cf3295c759389494f1cbcfd2
2009-10-14 15:40:44 +13:00
Karl Tomlinson
0d378950db b=521940 don't paint the plugin socket window to avoid flicker on load r=roc
--HG--
extra : rebase_source : 9a0f5cf10ecd3c939e6f13c14c9bcd88ace5d457
2009-10-14 15:38:31 +13:00
Karl Tomlinson
c4adb45760 b=521872 fix up expose event handling in sample unix print plugin r=gavin
--HG--
extra : rebase_source : b25466a231799cc0f87fdd930b13897a3f7e9b93
2009-10-14 15:35:47 +13:00
Karl Tomlinson
b05b6c05b4 b=520107 test plugin should not use gdk_window_foreign_new to lookup pixmap r=roc
--HG--
extra : rebase_source : 2d815c7a9ebda774d8913c518317b96cbbf60ac3
2009-10-05 14:07:38 +13:00
Jonathan Griffin
504750b2f6 Bug 518940. Remove Date test to fix orange
--HG--
extra : rebase_source : 440da08b5813f48e250a5a2c8708f6724e7666cf
2009-10-13 14:05:56 -07:00
Jonathan Griffin
52e5523e7a Bug 518940. Fix intermittent orange. 2009-10-12 14:35:21 -07:00
Jonathan Griffin
03d93c22ae Bug 518940. Add tests for NPN_InvokeDefault. r=bsmedberg 2009-10-12 10:38:11 -07:00
Ben Turner
cd1d42ffe0 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Rich Walsh
6911caefb0 [OS/2] Bug 500654: sync OS/2 plugin code with Windows version, to hopefully fix some Flash-related crashes, r=pweilbacher 2009-07-30 21:20:44 +03:00
Ben Turner
f038d2457f Revert testplugin changes so that unit tests pass 2009-07-28 14:38:32 -07:00
Ben Turner
442e268257 Fix testplugin on windows to not crash until we support scriptable objects 2009-07-28 11:48:21 -07:00
Josh Aas
39c82ddda0 Document unscheduleAllTimers scriptable method added to test plugin. 2009-07-27 23:37:52 -04:00
Ben Turner
fd28e9de5a Allow out of process tabs and plugins to be disabled via prefs or environment variables, and disable them both by default so that unit tests go green. 2009-07-24 15:21:07 -07:00
Benjamin Smedberg
0501b7a589 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Benjamin Smedberg
1e808cd4ea Merge mozilla-central into Electrolysis
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
2009-07-20 09:36:23 -04:00
Vladimir Vukicevic
18db6edf40 b=503902; put back npapi DOM object access for WinCE; r=jst 2009-07-16 14:13:43 -07:00
Peter Weilbacher
eed6512282 Bug 503950: OS/2 bustage fix for bug 503377, p=wuno@lsvw, r=pweilbacher 2009-07-14 13:34:07 +02:00
Benjamin Smedberg
f962f665d1 Windows bustage fix for bug 503377 2009-07-13 12:57:32 -04:00
Benjamin Smedberg
7f34fe29a0 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Ginn Chen
bf66108343 Bug 501889 _scheduletimer symbol not found on Solaris r=joshmoz sr=jst 2009-07-13 20:23:41 +08:00
Josh Aas
c124a0981e Remove mIsJavaPlugin variable in nsNPAPIPluginInstance, fix some comments. b=503809 sr=roc 2009-07-12 22:44:48 -04:00
Josh Aas
908cd606b2 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan
af2094496b Backed out changeset 91a43fa9b0da
--HG--
extra : rebase_source : 00ee0eac778112a8aac3e19f1f114e8b8b34580c
2009-07-10 20:13:51 +12:00
Robert O'Callahan
8822eb0091 Bug 501295. The Win32 test plugin needs to compute an accurate clip region. r=jmathies 2009-07-10 14:03:00 +12:00
Robert O'Callahan
8ce8b649b2 Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies 2009-07-10 14:03:00 +12:00
Ben Turner
67ac5c13b2 Some windows build fixup 2009-07-02 13:48:33 -07:00
Ben Turner
73f03dff53 merge bent's changes from libchromiumipc. Gtk plugins now drawing 2009-07-01 14:19:32 -07:00
Chris Jones
8aa21b1e90 merge plugin work from libchromiumipc. add env var check for OOP iframe. a few small bugfixes here and there. 2009-07-02 11:54:22 -05:00
Benjamin Smedberg
8620d95413 Plugins stuff: this code is equivalent to electrolysis-tmp revision 61cd9e89fd00, except that I had to merge forward a minor change to the plugin-loading code from Josh's cleanup. 2009-06-30 14:51:05 -04:00
Josh Aas
4a7715939e Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas
c81455d12a Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
Josh Aas
4e45156e64 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Robert O'Callahan
dd9d905b7d Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-10 14:02:58 +12:00
Josh Aas
c88c69078b Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
Josh Aas
00f32a1cf6 Remove some code that is no longer necessary for the Java plugin on AIX. b=498148 r/sr=jst 2009-07-07 21:01:38 -04:00
Josh Aas
f6ab658dab nsIPlugin and nsIPluginHost should not inherit from nsIFactory. b=502886 r/sr=jst 2009-07-07 21:00:11 -04:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Josh Aas
a62bb5d726 Various 64-bit fixes for Mac OS X widget and plugin code. b=509947 r=mstange 2009-08-12 18:32:41 -04:00
timeless@mozdev.org
6abbe0e4d8 Bug 508021 nsNPAPIPluginInstance::Print does not need to null check mCallbacks
r=jst
2009-08-12 11:49:55 +02:00
timeless@mozdev.org
d8ae4735cf Bug 505833 NPObjectMember_Convert is the only function that doesn't null check JS_GetInstancePrivate
r=joshmoz@gmail.com
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
5e5171cd35 Bug 499295 NULL crash [@ nsPluginInstancePeerImpl::GetJSContext]
r=jst sr=jst
2009-06-27 18:42:51 -07:00
Peter Weilbacher
fff7a9a9d4 [OS/2] Bug 500938: fix build break in nsPluginNativeWindowOS2.cpp following bug 499431, p=dragtext@e-vertise, r=pweilbacher 2009-06-28 02:02:57 +03:00
Josh Aas
63a294b7fb Get rid of nsIWindowlessPluginInstancePeer. b=500672 r/sr=jst 2009-06-26 13:30:36 -04:00
Johnny Stenback
c773b6331b Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com 2009-06-26 07:57:26 -07:00
Josh Aas
8246f24011 Don't allow access to any XPCOM objects view NPAPI's NPN_GetValue. b=500513 r/sr=jst 2009-06-26 10:33:17 -04:00
Josh Aas
e8777a84be Get rid of nsIPluginInstance::Destroy, it doesn't do anything. b=500593 r/sr=jst 2009-06-26 10:32:32 -04:00
Josh Aas
8cb99ebd34 Minor cleanup in nsPluginHostImpl, no bug. 2009-06-25 23:33:34 -04:00
Josh Aas
8f2046d4f3 Do a better job of checking for exceptions in npruntime, part 2. b=474157 r/sr=jst 2009-06-25 20:29:58 -04:00
Josh Aas
efafbe1392 Bustage fix for bug 499431. 2009-06-25 17:45:35 -04:00
Josh Aas
4734a09527 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Makoto Kato
8d01acee02 Bug 496504 - Plugin test isn't compatible with Windows x64 build. r=joshmoz, sr=roc 2009-06-24 18:44:20 +09:00
Jim Mathies
94a314575e Bug 493601 - Fix crash involving Flash module unloading. (r=emaijala,joshmoz,bent sr=brendan) 2009-06-23 06:27:44 -05:00
Josh Aas
9c6646e6e1 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -04:00
Robert O'Callahan
9c186ac605 Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-22 12:44:50 +12:00
Martin Stránský
63b764f9ee Bug 486482 - null deref [@ nsPluginNativeWindowGtk2::CreateXEmbedWindow ]. r=josh, sr=jst 2009-07-21 10:13:38 +02:00
Steven Michaud
8bc55f5541 [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Ted Mielczarek
ad775e7a7a bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Ted Mielczarek
bf94951904 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
b6d8d93b5c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Robert O'Callahan
a2a72eee58 Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh
--HG--
extra : rebase_source : 5c97644a6db8454f759bbeab7a1e06295aca8325
2009-08-05 13:36:37 +12:00
Josh Aas
6ee771f1a3 Plugin host cleanup. b=501996 r/sr=jst 2009-07-06 02:10:10 -04:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Robert O'Callahan
4f3d983ad5 Bug 499595. Win32 test plugin needs to double-buffer and look more like other platforms' test plugins. r=jmathies 2009-07-04 21:54:09 +12:00
Robert O'Callahan
faf74419aa Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Josh Aas
b7ddfbb92b Remove XPCOM plugin code from nsPluginsDirUnix. b=502045 r/sr=jst 2009-07-03 09:53:00 -04:00
Mats Palmgren
10964859cf Backout bug 486349, due to regression bug 502135. 2009-07-03 13:48:52 +02:00
Josh Aas
ec67370ccc Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -04:00
Mats Palmgren
9efb0b6e25 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-07-02 11:57:37 +02:00
Josh Aas
50f9732c36 Rename nsPluginHostImpl to nsPluginHost. No bug, discussed with jst.
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHostImpl.h => modules/plugin/base/src/nsPluginHost.h
2009-07-02 01:48:08 -04:00
Josh Aas
70edf7241e Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Josh Aas
d5e66a3fb6 Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Makoto Kato
aaa74833af Bug 499460 - Build error in plugin code for Symbian emulator. r=josh, sr=jst 2009-07-02 03:15:22 +09:00
Josh Aas
bd853b5bcf Add new timer APIs to NPAPI, NPN_ScheduleTimer and NPN_UnscheduleTimer. b=499921 r/sr=jst 2009-07-01 11:09:49 -04:00