Граф коммитов

2293 Коммитов

Автор SHA1 Сообщение Дата
Doug Turner afee15ba61 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas d7c7ed9f43 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 44793e00ac 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 596ccf5e7a Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Phil Ringnalda 6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg 03bc0e116d Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Jonathan Griffin 468011935d Bug 517078 part I: create mochitests for stream APIs in NPAPI 2009-09-18 10:08:08 -04:00
Jonathan Griffin ad50a2449d 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 452bcdd767 Bug 518940. Tests for NPN_Invoke. 2009-10-07 10:27:37 -07:00
Robert O'Callahan da50921b87 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 688e01bef4 Bug 525980 Fix typos in npapi.h
r=joshmoz
2009-11-04 07:39:43 +13:00
Robert O'Callahan 3a9836be55 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 b964b108d4 Bug 506599 multiple inclusion of nptypes.h causes build error r=joshmoz 2009-11-02 17:41:36 +08:00
Jonathan Griffin 6caac7613e Bug 523216. Check for NULL message in NPN_SetException. r=joshmoz 2009-10-30 13:15:22 -07:00
Michael Wu 6fd1b4821a 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 549d1578f2 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 f864f5780d Bug 531300 - Link failure in testplugin on mingw, r=roc 2009-12-13 09:44:15 -08:00
Jae-Seong Lee-Russo 1f93aa0ac2 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 4dc8105944 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 6be0c87239 b=512884; nsStringGlue should be used in nsIPluginInstance.h; r+sr=jst 2009-09-18 05:35:49 -04:00
Josh Aas 2a7ea592aa Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Josh Aas 8f395c5d69 Fix some spelling mistakes. No bug. 2009-11-10 00:16:05 -05:00
Josh Aas ab17acd8b4 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 b04a04e38b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Josh Aas dc9a40069b 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 98c09ede2e 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 c3674d7852 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 d31bf1898b Bug 510963 - NPN_GetValue(NPNVPluginElementNPObject) is broken, r=josh
--HG--
extra : rebase_source : e1242620d2adfee22a5c8ede076e4d43916e72d9
2009-09-10 14:11:30 -04:00
Josh Aas 97bb59ded0 Remove unused member variable that should have gone away in bug 506985. r=smichaud 2009-09-08 12:36:19 -04:00
Walter Meinl 1e69abea85 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 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Ben Turner 06029219b0 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 689058eecc Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Doug Turner cc4f335fc9 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Jonathan Griffin 672d88205f Bug 518940. Add NPN_Evaluate tests. 2009-10-23 13:41:52 -07:00
Benjamin Smedberg ba372f3a4c 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 c529498f55 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 0023f5fba6 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 36bc86429d 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 d8264ff87b Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
timeless@mozdev.org 91176001e8 Bug 507404 dialogWindow is unused in DialogOKClicked and DIALOGID is useless
r=karlt
2009-08-26 18:27:59 +02:00
Robert O'Callahan e86893e8e6 Bug 520462. Test that mouse clicks transfer focus to plugins correctly. r=jmathies 2009-10-08 00:14:12 +13:00
Robert O'Callahan f7d304494f 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 631037a1ca 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 6f4fb3531e 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 a3c6852b14 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 5124921205 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 0c3b927121 Bug 518940. Remove Date test to fix orange
--HG--
extra : rebase_source : 440da08b5813f48e250a5a2c8708f6724e7666cf
2009-10-13 14:05:56 -07:00
Jonathan Griffin 0ee1013cfa Bug 518940. Fix intermittent orange. 2009-10-12 14:35:21 -07:00
Jonathan Griffin 1f2d72eb7a Bug 518940. Add tests for NPN_InvokeDefault. r=bsmedberg 2009-10-12 10:38:11 -07:00
Ben Turner a050c21b91 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Rich Walsh fe12ea1452 [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 0f23165f92 Revert testplugin changes so that unit tests pass 2009-07-28 14:38:32 -07:00
Ben Turner f3fc50ffbe Fix testplugin on windows to not crash until we support scriptable objects 2009-07-28 11:48:21 -07:00
Josh Aas af9413f036 Document unscheduleAllTimers scriptable method added to test plugin. 2009-07-27 23:37:52 -04:00
Ben Turner 4733643b26 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 3f76d197c8 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Benjamin Smedberg 8094281085 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 2d867ed629 b=503902; put back npapi DOM object access for WinCE; r=jst 2009-07-16 14:13:43 -07:00
Peter Weilbacher a1cd66b0cd Bug 503950: OS/2 bustage fix for bug 503377, p=wuno@lsvw, r=pweilbacher 2009-07-14 13:34:07 +02:00
Benjamin Smedberg 7cfb1933d5 Windows bustage fix for bug 503377 2009-07-13 12:57:32 -04:00
Benjamin Smedberg 6d5d93fae7 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 f693307429 Bug 501889 _scheduletimer symbol not found on Solaris r=joshmoz sr=jst 2009-07-13 20:23:41 +08:00
Josh Aas b95b463271 Remove mIsJavaPlugin variable in nsNPAPIPluginInstance, fix some comments. b=503809 sr=roc 2009-07-12 22:44:48 -04:00
Josh Aas e3e6f70dd4 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan 95a6a24425 Backed out changeset 91a43fa9b0da
--HG--
extra : rebase_source : 00ee0eac778112a8aac3e19f1f114e8b8b34580c
2009-07-10 20:13:51 +12:00
Robert O'Callahan c4ea1448d4 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 a5413c00db 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 9530b586ff Some windows build fixup 2009-07-02 13:48:33 -07:00
Ben Turner fb20290727 merge bent's changes from libchromiumipc. Gtk plugins now drawing 2009-07-01 14:19:32 -07:00
Chris Jones 22e9e1dee6 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 5a0b8bf812 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 92354e3fc0 Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas 709717d358 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 9ef568c25e 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 f3ad1dcb08 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 8872098fcd Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
Josh Aas be6ccc14d9 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 b9c20b5769 nsIPlugin and nsIPluginHost should not inherit from nsIFactory. b=502886 r/sr=jst 2009-07-07 21:00:11 -04:00
Hashem Masoud b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Josh Aas 8fc23d2339 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 34e59f2e57 Bug 508021 nsNPAPIPluginInstance::Print does not need to null check mCallbacks
r=jst
2009-08-12 11:49:55 +02:00
timeless@mozdev.org 2f8517133e 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 ff37a6151d Bug 499295 NULL crash [@ nsPluginInstancePeerImpl::GetJSContext]
r=jst sr=jst
2009-06-27 18:42:51 -07:00
Peter Weilbacher c911a458e5 [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 3df453a7c5 Get rid of nsIWindowlessPluginInstancePeer. b=500672 r/sr=jst 2009-06-26 13:30:36 -04:00
Johnny Stenback 51b4b53024 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 da590c4fb4 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 d4a2253453 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 dc50eaca29 Minor cleanup in nsPluginHostImpl, no bug. 2009-06-25 23:33:34 -04:00
Josh Aas 3f87649c83 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 6e46406edc Bustage fix for bug 499431. 2009-06-25 17:45:35 -04:00
Josh Aas 28475979b0 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Makoto Kato 8bd8dc9099 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 874efa9b7f Bug 493601 - Fix crash involving Flash module unloading. (r=emaijala,joshmoz,bent sr=brendan) 2009-06-23 06:27:44 -05:00
Josh Aas 8286b5c500 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -04:00
Robert O'Callahan a5233fd2a0 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ý 48eb31ace1 Bug 486482 - null deref [@ nsPluginNativeWindowGtk2::CreateXEmbedWindow ]. r=josh, sr=jst 2009-07-21 10:13:38 +02:00
Steven Michaud c55209062c [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 fb6939649b 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 092e85a88d 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 bb3956d8f7 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 6a86c83e25 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 525b725f6e Plugin host cleanup. b=501996 r/sr=jst 2009-07-06 02:10:10 -04:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Robert O'Callahan fa5c580553 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 cae225728f 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 20377c284e Remove XPCOM plugin code from nsPluginsDirUnix. b=502045 r/sr=jst 2009-07-03 09:53:00 -04:00
Mats Palmgren c75c21f508 Backout bug 486349, due to regression bug 502135. 2009-07-03 13:48:52 +02:00
Josh Aas 0e7051a3d7 Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -04:00
Mats Palmgren 1cc06126e9 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 f46180b8cb 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 74fc2cc535 Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Josh Aas 426cb69c6f Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Makoto Kato b637d1888a Bug 499460 - Build error in plugin code for Symbian emulator. r=josh, sr=jst 2009-07-02 03:15:22 +09:00
Josh Aas 706644dc33 Add new timer APIs to NPAPI, NPN_ScheduleTimer and NPN_UnscheduleTimer. b=499921 r/sr=jst 2009-07-01 11:09:49 -04:00
Benjamin Smedberg 798e13a64f Bug 500660 - Don't load XPT files from plugin directories any more r=josh sr=jst 2009-07-01 09:34:31 -04:00
Johnny Stenback ac0964e5c0 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Josh Aas 5fe2b7142d Change plugin unloading behavior to never unload plugins by default. Prior to this patch plugins were unloaded whenever their last instance was destroyed. The old behavior meant that going from one page with a Flash instance to another page with a Flash instance would shut down the entire Flash plugin instead of just destroying one instance and starting another. The new behavior dramatically cuts down on plugin loading/unloading activity. Set "plugins.unloadASAP" to "true" to enable the old behavior of unloading plugins as soon as their last instance is destroyed. b=500925 r=bz sr=jst 2009-06-30 17:16:34 -04:00
Josh Aas 245392b64c Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas f7550df414 Remove nsIEventHandler, part of the XPCOM plugin API. b=499329 sr=sicking 2009-06-19 15:40:31 -04:00
Josh Aas d5dc0a917f Remove nsIJRILiveConnectPIPeer and nsIJRILiveConnectPlugin. b=499322 sr=sicking 2009-06-19 15:39:22 -04:00
Josh Aas db195feffb Remove nsIScriptablePlugin, part of the XPCOM plugin API. b=498164 r/sr=sicking 2009-06-19 15:37:09 -04:00
Josh Aas cf01ab4fd7 Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Karl Tomlinson 81c3638f80 b=489294 XserverRegion leak with composited plugins r=jrmuizel 2009-06-15 12:52:11 +12:00
Josh Aas 59bfeb371e Remove nsICookieStorage, part of the XPCOM plugin API. b=432354 r/sr=jst,sicking 2009-06-13 13:16:40 -07:00
Josh Aas c9bdcf394b Remove unused nsIClassicPluginFactory. b=498031 r/sr=sicking 2009-06-12 17:33:34 -07:00
Josh Aas 7997fbcd5e Remove nsIFileUtilities, part of the XPCOM plugin API. b=487977 r/sr=jst 2009-06-12 11:17:00 -07:00
Josh Aas 75b563dfbe Disable XPCOM plugin loading. b=488042 r/sr=jst 2009-06-11 10:40:38 -07:00
Arpad Borsos a56370e043 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Josh Aas 78b0135ea2 Simplify code for exposing plugin file names vs. full path. Second landing. b=488181 r/sr=jst,bz 2009-06-10 16:47:49 -04:00
Josh Aas 0550724ce9 Fix typo reversing some npruntime logic, fixes some problems with plugins using scripting. b=492924 sr=roc 2009-06-10 16:32:45 -04:00
Neil Deakin 15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Karl Tomlinson 0f242d70db Bug 494027 - Crash @NS_NotifyPluginCall on tinderbox shortly after plugin tests run. r+sr=jst@mozilla.org 2009-05-22 15:24:50 -07:00
Timothy Nikkel f137cf5ed8 Fix crash that can occur with a malformed pluginreg.dat file. b=493545 r=josh sr=bz 2009-05-20 12:21:46 -04:00
Benjamin Smedberg 6df221580d Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Karl Tomlinson 2ee730af93 test plugin window existence at plugin instance destruction. b=485125,429604,454756 r=roc 2009-05-18 13:53:39 +12:00
Josh Aas a5bdae5f94 Backed out changeset 7cd22106e8d9. Simplify code for exposing plugin file names vs. full path. b=488181 2009-05-16 21:09:48 -04:00
Josh Aas 956f9c56b6 Simplify code for exposing plugin file names vs. full path. b=488181 r/sr=jst 2009-05-15 18:26:21 -04:00
Josh Aas d1ca51061f Check for more accurate exceptions in npruntime, part 1. b=474157 r/sr=jst 2009-05-08 09:55:04 -04:00
Robert O'Callahan c3f383ceb7 Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Boris Zbarsky ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Josh Aas 8fa9ce7ca6 Backed out changeset 7df4317278f5, bug 491834. 2009-05-07 09:27:08 -04:00
Josh Aas a8c6171964 Disable XPCOM plugin loading, removing support in Gecko 1.9.2. This will disable all non-NPAPI Java plugins (I suggest updating to at least Java 6 Update 12). b=488042 r/sr=jst 2009-05-07 01:17:07 -04:00
Josh Aas f2b2e422e2 Formatting fixes for the new unix npapi sample plugin. b=486423 2009-05-07 00:22:13 -04:00
Josh Aas b5e64e22ce New unix npapi sample plugin, replaces old one. b=486423 r/sr=jst
--HG--
rename : modules/plugin/sdk/samples/basic/unix/plugin.cpp => modules/plugin/sdk/samples/basic/unix/BasicPlugin.c
rename : modules/plugin/sdk/samples/basic/unix/plugin.h => modules/plugin/sdk/samples/basic/unix/BasicPlugin.h
rename : modules/plugin/sdk/samples/basic/unix/Makefile.in => modules/plugin/sdk/samples/basic/unix/Makefile
2009-05-07 00:17:03 -04:00
Robert O'Callahan 5d4c0e1cd8 Bug 488416. The GTK2 test plugin needs to clip to its clipRect in windowless mode. r=karlt
--HG--
extra : rebase_source : e391513c9ca0e57ab30b41e6d5bb2c0525a7001f
2009-04-25 20:40:48 +12:00
Ginn Chen fc1e6ae42b Bug 478845 Disable mochitest of test plugin if test plugin is absent r=ted.mielczarek, jwalden 2009-04-23 14:27:04 +08:00
Dave Townsend 51ec924c58 Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Jeremy Huddleston 9156552634 Bug 486892 - darwin: Use dylib file extension. r=josh 2009-04-20 14:36:49 +02:00
Josh Aas a12b45547a 64-bit fixes for nsPluginsDirDarwin. b=487972 r=mstange sr=jst 2009-04-14 12:38:11 -04:00
Josh Aas bd75396cba Fix formatting of nsPluginsDirWin.cpp. b=488163 r/sr=jst 2009-04-14 12:35:35 -04:00
Josh Aas 3bbff3b559 Remove nsIJVMAuthTools, part of bug 485984. 2009-04-14 12:32:44 -04:00
Serge Gautherie 0cee12de0e Bug 438331 - Remove WIN16 (support) code everywhere; (Jv1) </modules/plugin/>; r=joshmoz sr=jst 2009-04-14 10:34:59 +02:00
Jim Mathies 0d83c0693b Bug 485120 - Touchup test patch for windows orange. CLOSED TREE bustage fix. 2009-04-13 16:42:01 -05:00
Jim Mathies 39609d5a01 Bug 485120 - Test plugin needs to support windowed mode on Windows. r=joshmoz+vlad. 2009-04-13 12:01:22 -05:00
Josh Aas ec934edafb Test for error condition when trying to set an unknown variable in NPAPI. b=479979 r=roc 2009-04-10 20:15:42 -04:00
John Wolfe 69a84f3d7b Fix WinCE plugin bustage. b=487783 r=jimm 2009-04-10 14:33:32 -04:00
Mark Finkle da93f81200 Fix mobile plugin bustage. b=487795 r=josh 2009-04-10 12:45:24 -04:00
Josh Aas 39f5ad242c Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Johnny Stenback b591d71046 Fixing bug 486269. Prevent plugins from being destroyed while calling into them. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-04-07 14:20:57 -07:00
Walter Meinl 7939379885 Bug 487126: fix OS/2 and Qt test plugins build break, r=joshmoz 2009-04-07 23:41:49 +03:00
Neil Rashbrook dc2909741a Bug 486946 Allocator mismatch between GetVersion and FreePluginInfo r+sr=jst 2009-04-07 10:22:34 +01:00
Arpad Borsos dc4fa5f569 Bug 486940 - fix crash in gtk_xtbin_new; r=karlt, sr=roc 2009-04-06 13:30:55 +02:00
Karl Tomlinson 471d5ece14 b=486630 detect early GtkXtBin destruction r=roc
--HG--
extra : rebase_source : a17a38faaeffebae0d4d8aadf0a3a58397aab8d9
2009-04-06 13:25:28 +12:00
Robert O'Callahan 3ff534b70e Bug 485121. Support getting native geometry data from the test plugin on Mac and GTK2/X11. r=joshmoz,karl
--HG--
rename : layout/generic/test/test_character_movement.html => layout/generic/test/test_movement_by_characters.html
rename : layout/generic/test/test_word_movement.html => layout/generic/test/test_movement_by_words.html
2009-04-06 12:04:02 +12:00
Walter Meinl df5403b929 Bug 486581 - OS/2 build break in testplugin after enabling of windowed mode; r=joshmoz 2009-04-05 15:03:48 +02:00
Arpad Borsos d6ca5cd76d Bug 474369 - get rid of nsVoidArray, plugin part; r=joshmoz, sr=jst 2009-03-28 14:57:13 +01:00
Josh Aas c361d99f20 Remove testevents xpcom sample plugin from the tree. b=486345 sr=jst 2009-04-01 15:18:14 -04:00
Robert O'Callahan 8f5ea7f435 Noting passing test due to checkin for bug 484923. 2009-04-01 17:27:44 +13:00
Robert O'Callahan 990dfd0b0f Bug 484923. Test plugin should support 'window' mode on GTK2/X. r=josh,karl
--HG--
extra : rebase_source : 376e102b3401a2d61f26be9643c35be5e2d89ced
2009-04-01 14:07:19 +13:00
Robert O'Callahan 3eae3e3a65 Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Michael Ventnor e18db2d017 Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc
--HG--
extra : rebase_source : 408ca77e1b3ff85e049fa8809cb13cc0885c8006
2009-01-26 11:21:46 -05:00
Serge Gautherie 01d9d132fb Bug 476406 - [SeaMonkey] New Chrome test_privatemode.xul fails: "... Components.classes['@mozilla.org/privatebrowsing;1'] is undefined ..."; (Bv1) Add |ok(true, ...);|; r=jst 2009-03-28 03:00:22 +01:00
Walter Meinl cda3082621 Bug 485073 - OS/2 enable test plugin equivalent to other platforms; r=mozilla@Weilbacher.org 2009-03-27 00:47:43 +01:00
Ted Mielczarek 1489650ca7 bug 484780 - need plugin reftest that tests alpha rendering of test plugin. r=josh 2009-03-24 15:28:18 -04:00
Doug Turner 652f7c22ee Bug 484918 - Fixes build bustage in plugins on Windows CE. r=blassey 2009-03-23 20:27:27 -07:00
Robert O'Callahan 58d76970b4 Bug 484761. Add README file describing test plugin behaviour. r=joshmoz 2009-03-24 13:55:26 +13:00
Ted Mielczarek 27616db76a Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Josh Aas d42a9ec138 Remove plugin tester and spy tools. b=484137 r/sr=jst 2009-03-19 15:57:50 -07:00
Josh Aas bbb61079d1 NPN_SetValue should return an error when attempting to set a value that does not exist. b=479979 r/sr=jst 2009-03-17 14:20:24 -07:00
Josh Aas c71f06f0ce Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Stuart Parmenter d591ddae5c bug 482091. patch from Jeff Muizelaar. fix cash on maemo with plugins 2009-03-12 08:11:10 -07:00
Blake Kaplan 7936eadc6f Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Vladimir Vukicevic 5762c7528d b=479104; move windows plugin dir service code to UNICODE; r=jst 2009-03-08 22:07:00 -07:00
Jeff Muizelaar fabd738e33 Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Johnny Stenback 30814fefc6 Fixing bug 475646. Don't call GetPeer() on plugins as it's apparently not safe to do so on all plugins. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-02-24 16:28:35 -08:00
Serge Gautherie 7e72ab8d5e Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell
(Ev2-MC) Rename the object tests directory
2009-02-23 19:28:20 +01:00
Josh Aas 1a93c5bcbe Sync NPAPI scrolling constants between files. b=477126 r/sr=jst 2009-02-20 16:10:58 -05:00
John Tapsell 3e271344e6 Bug 474421 - Qt Widget no longer compiles in testplugin; Minor fix for getting the tests compiling; r=joshmoz 2009-02-18 01:01:56 +01:00
Peter Weilbacher a12a9610c6 Bug 471759 (OS/2-only follow-up): tester code should only be compiled for
builds with OJI, p=wuno@lsvw, r=pweilbacher
2009-02-16 10:20:36 +01:00
Jesse Ruderman e6ffd994a3 Add some crashtests 2009-02-10 16:36:04 -08:00
Blake Kaplan 4b1039ac12 Bug 477918 - Don't cast the narrower type to a wider type and write to it. r+sr=jst 2009-02-10 16:19:12 -08:00
Jesse Ruderman 313514226b Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Marco Bonardo e1d6324fd3 Backed out changeset 92a47ed3d54e - Michael Ventnor — Bug 469831 - need gtk2 drawing code for test plugin - due to mochitest leak failures (crash?) 2009-02-10 01:36:46 +01:00
Michael Ventnor ce4ddfb8d7 Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc 2009-01-26 11:21:46 -05:00
Josh Aas 2bd6866a70 Clean up nsPluginHostImpl. Removes an old workaround for mac Flash 6. Stop using the phrase "active plugin" to refer to plugin instances. Dead code and spelling fixes. b=476409 r/sr=jst 2009-02-09 13:48:06 -05:00
Rich Walsh 6d5b61eafb [OS/2] Bug 476134: allow plugin code to be built with GCC 4.3.x on OS/2 by using the right calling convention, r=josh, sr=jst 2009-02-05 12:21:27 +01:00
Josh Aas 2ccc691da5 Don't run npapi private browsing tests when the private browsing service is not available. b=476406 r/sr=jst 2009-02-04 22:19:31 -05:00
Arpad Borsos a7c1dec752 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00