Commit Graph

389 Commits

Author SHA1 Message Date
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
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
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
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
Benjamin Smedberg
812128ba6a 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
a511964116 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
c8ac5d9d83 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
73eb23eeb9 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas
da90f79ce3 Remove nsIEventHandler, part of the XPCOM plugin API. b=499329 sr=sicking 2009-06-19 15:40:31 -04:00
Josh Aas
4e9bc80deb Remove nsIJRILiveConnectPIPeer and nsIJRILiveConnectPlugin. b=499322 sr=sicking 2009-06-19 15:39:22 -04:00
Josh Aas
5dc8045c32 Remove nsIScriptablePlugin, part of the XPCOM plugin API. b=498164 r/sr=sicking 2009-06-19 15:37:09 -04:00
Josh Aas
ed0da293be Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Karl Tomlinson
71d45a3a1a b=489294 XserverRegion leak with composited plugins r=jrmuizel 2009-06-15 12:52:11 +12:00
Josh Aas
86f210e336 Remove nsICookieStorage, part of the XPCOM plugin API. b=432354 r/sr=jst,sicking 2009-06-13 13:16:40 -07:00
Josh Aas
1157f6e11b Remove unused nsIClassicPluginFactory. b=498031 r/sr=sicking 2009-06-12 17:33:34 -07:00
Josh Aas
c68b8251be Remove nsIFileUtilities, part of the XPCOM plugin API. b=487977 r/sr=jst 2009-06-12 11:17:00 -07:00
Josh Aas
48858662d8 Disable XPCOM plugin loading. b=488042 r/sr=jst 2009-06-11 10:40:38 -07:00
Arpad Borsos
589f71c968 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Josh Aas
4bd6720b31 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
d3151f8707 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
79321ef1f8 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
43d4e0f67e 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
96d0ffa774 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
Josh Aas
5edcbc52ca 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
22c9a18612 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
d01189121a Check for more accurate exceptions in npruntime, part 1. b=474157 r/sr=jst 2009-05-08 09:55:04 -04:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Josh Aas
7882e36f78 Backed out changeset 7df4317278f5, bug 491834. 2009-05-07 09:27:08 -04:00
Josh Aas
c97cb0b630 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
Dave Townsend
3a27432a29 Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Jeremy Huddleston
2c6c8fb6b9 Bug 486892 - darwin: Use dylib file extension. r=josh 2009-04-20 14:36:49 +02:00
Josh Aas
629cf7f757 64-bit fixes for nsPluginsDirDarwin. b=487972 r=mstange sr=jst 2009-04-14 12:38:11 -04:00
Josh Aas
1669178e09 Fix formatting of nsPluginsDirWin.cpp. b=488163 r/sr=jst 2009-04-14 12:35:35 -04:00
Josh Aas
7d05cb2c64 Remove nsIJVMAuthTools, part of bug 485984. 2009-04-14 12:32:44 -04:00
Serge Gautherie
bf78e8e9da Bug 438331 - Remove WIN16 (support) code everywhere; (Jv1) </modules/plugin/>; r=joshmoz sr=jst 2009-04-14 10:34:59 +02:00
John Wolfe
c016140bb4 Fix WinCE plugin bustage. b=487783 r=jimm 2009-04-10 14:33:32 -04:00
Mark Finkle
8e4a1ce44a Fix mobile plugin bustage. b=487795 r=josh 2009-04-10 12:45:24 -04:00
Josh Aas
c6a41e8074 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Johnny Stenback
977b7eacfc 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
Neil Rashbrook
c0e5a3886c Bug 486946 Allocator mismatch between GetVersion and FreePluginInfo r+sr=jst 2009-04-07 10:22:34 +01:00
Arpad Borsos
f7163821d2 Bug 486940 - fix crash in gtk_xtbin_new; r=karlt, sr=roc 2009-04-06 13:30:55 +02:00
Karl Tomlinson
ebadbd17ad b=486630 detect early GtkXtBin destruction r=roc
--HG--
extra : rebase_source : a17a38faaeffebae0d4d8aadf0a3a58397aab8d9
2009-04-06 13:25:28 +12:00
Arpad Borsos
8d06591a1b Bug 474369 - get rid of nsVoidArray, plugin part; r=joshmoz, sr=jst 2009-03-28 14:57:13 +01:00
Doug Turner
979a387be4 Bug 484918 - Fixes build bustage in plugins on Windows CE. r=blassey 2009-03-23 20:27:27 -07:00
Josh Aas
db2a897753 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
3b5692c885 Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Stuart Parmenter
64dbc2c06b bug 482091. patch from Jeff Muizelaar. fix cash on maemo with plugins 2009-03-12 08:11:10 -07:00
Blake Kaplan
f7fb1c08eb Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Vladimir Vukicevic
162f8e4fdd b=479104; move windows plugin dir service code to UNICODE; r=jst 2009-03-08 22:07:00 -07:00
Jeff Muizelaar
de647c8035 Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Johnny Stenback
3d56357332 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
Josh Aas
61218c204f Sync NPAPI scrolling constants between files. b=477126 r/sr=jst 2009-02-20 16:10:58 -05:00
Blake Kaplan
099408ea29 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
Josh Aas
63e2d096d1 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
02717bd898 [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
Arpad Borsos
51bf75177c Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Josh Aas
f1b1a53408 Remove unnecessary NPPVprivateModeBool enum. b=468877 2009-02-01 21:15:44 -05:00
Josh Aas
015a5c7e76 Add API allowing plugins to participate in private browsing. b=468877 r/sr=jst 2009-01-30 16:40:14 -05:00
Johnny Stenback
b1945926a3 Fixing bug 474866. Make the plugin instance peer have a weak reference to its owner, and make the owner tell the peer once it's no longer its owner so we don't have reference cycles, yet the instance can hold on to its peer while being cached between pages. r+sr=mrbkap@gmail.com 2009-01-25 22:00:12 -08:00
Johnny Stenback
389a938400 Backed out changeset abd5a41c0b70 2009-01-25 11:19:51 -08:00
Johnny Stenback
7b13ea308c Fixing bug 474866. Don't null out the peer when stopping plugins to break reference cycles, as cached plugins depend on the peer remaining set. Null out the owner instead. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-01-25 09:05:00 -08:00
Josh Aas
37e61ae8a0 JS delete operator should invoke npruntime removeProperty on NPObject. b=470291 r/sr=jst 2009-01-16 12:14:43 -05:00
Josh Aas
15d1bd14a4 Fix: npruntime NPN_HasMethod forwards to wrong plugin function (hasProperty). b=467945 r/sr=jst 2009-01-15 15:20:10 -05:00
Jonathan Griffin
b0762ec954 Bug 484729. Fix NPN_Write. r=joshmoz;sr=jst 2009-09-29 16:52:29 -07:00
Makoto Kato
d3cefcbb3b Should use LONG_PTR for plugin code due to Win64. b=472025 r=josh sr=jst 2009-01-13 13:15:39 -05:00
Johnny Stenback
71c558dbe8 Fixing bug 470993. Expose the remainder of the Java plugins XPCOM dependency through the NPAPI. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-01-12 16:55:52 -08:00
Ben Turner
6eaa912dc9 Fix leaky cycle between nsNPAPIPluginInstance and nsPluginInstancePeer. b=472439 r=josh sr=jst 2009-01-10 12:13:31 -05:00
Josh Aas
f23f281e83 npruntime sample plugin build fix. 2008-12-16 23:01:47 -08:00
Josh Aas
d22f132370 NPAPI header updates - comments, cleanup, and webkit compat change. Part of the patch for 386676. r=smichaud sr=roc 2008-12-16 23:48:42 -05:00
Josh Aas
e79f540ada Backed out changeset 2776db2defa2 2008-12-16 14:38:58 -05:00
Josh Aas
6e9c3576aa Add a system for testing plugins. b=386676 r=smichaud sr=roc 2008-12-16 10:27:32 -05:00
Josh Aas
765a564b23 back out bug 468678 to fix Flash on Mac OS X 2008-12-15 12:29:44 -05:00
Josh Aas
5295053066 remove support for resource (.rsrc) files in Mac OS X plugins. b=468678 r=smichaud sr=roc 2008-12-11 16:52:42 -05:00
Josh Aas
026fa64495 windows bustage fix for bug 462023 2008-12-09 14:00:09 -05:00
Steven Michaud
a6e2974fc4 Don't allow plugin to set NPPVpluginWindowBool on OS X. b=466495 r=josh sr=roc 2008-12-09 11:22:51 -06:00
Josh Aas
e25e7f6560 Fix error case leak in nsPluginFile::GetPluginInfo. b=462023 r=mstange sr=jst 2008-12-09 12:15:49 -05:00
Josh Aas
95febf4b8c whitespace/minor cleanup for nsPluginsDirDarwin.cpp, no bug 2008-12-09 12:01:29 -05:00
Josh Aas
dc31683568 Remove support for "main" as a plugin initialization function. b=467429 r=smichaud sr=roc 2008-12-08 23:52:02 -05:00
Josh Aas
95648c862d remove support for CFM binary plugins. b=467417 r=smichaud sr=roc 2008-12-08 21:34:21 -05:00
Josh Aas
3522c28f01 npfunctions should reflect different NP_Initialize signature for Mac OS X. r=smichaud sr=jst a=beltzner 2008-11-28 18:17:36 -05:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Josh Aas
319412e303 NPAPI impl formatting cleanup, round one. no bug, rs=jst 2008-11-03 14:23:07 -05:00
Dave Townsend
92bdda65fa Bug 455213: Plugins get enabled when updating to Firefox 3.1. r=jst, r=josh 2008-11-02 15:49:03 +00:00
Dave Townsend
d13a725406 Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 12:13:48 +00:00
Dave Townsend
d81de86f28 Backed out changeset bbccbf2c7456 2008-11-02 03:27:18 +00:00
Dave Townsend
f6b515d08c Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 01:34:45 +00:00
Jesse Ruderman
fdd437d15b Add bug number to FIXME comment 2008-10-28 14:42:21 -07:00
Josh Aas
997cd78337 fix new/malloc/delete/free mismatches. b=458104 r=mstange sr=dougt 2008-10-28 12:29:16 -07:00
Josh Aas
b4275b33dd fix typo in npapi headers, no bug 2008-10-26 12:57:36 -07:00
Ginn Chen
a4b866e41e Bug 453883, ensure true/false marcos are available, r=joshmoz, sr=jst 2008-10-13 13:25:20 +08:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Dave Townsend
336531ba7f Backing out changeset 62274f98ccf8 from bug 455213 due to test failures 2008-10-09 12:55:47 +01:00
Dave Townsend
612a33103e Bug 455213: Plugins get enabled when updating to Firefox 3.1. r=jst, r=josh 2008-10-09 10:35:20 +01:00
Josh Aas
d41fbaa3b2 Clean up npupp.h and rename it to npfunctions.h, part 2. b=455458 r/sr=jst 2008-10-07 21:53:02 -04:00
Josh Aas
7029208c8f Clean up npupp.h and rename it to npfunctions.h. b=455458 r/sr=jst
--HG--
rename : modules/plugin/base/public/npupp.h => modules/plugin/base/public/npfunctions.h
2008-10-07 21:50:25 -04:00
Boris Zbarsky
164afa9a0a Bug 458100. Make sure that we'll also instantiate the plug-in even if the nsPluginDocument has no presshell yet at OnStartRequest time. Thanks to Evgeny <evg.salmin@gmail.com> for pointing out the problem. r+sr=jst 2008-10-07 14:53:23 -04:00
Josh Aas
800552b4bf Stop referring to NPAPI plugins as "4x". b=454807 r/sr=jst 2008-09-15 08:45:01 -04:00
Josh Aas
db38657ac3 replace TRUE/FALSE usage with PR_TRUE/PR_FALSE. Patch by Antonio Gomes. b=454860 r/sr=jst 2008-09-12 16:49:43 -04:00
Josh Aas
97cc9f5009 Clean up ns4xPluginInstance code. b=454809 r/sr=jst 2008-09-12 16:23:30 -04:00
Josh Aas
38275d6c6e clean up ns4xPlugin. b=454279 r/sr=jst 2008-09-11 11:10:26 -04:00
Josh Aas
0432bd8669 Remove npapi dependency on nspr and use C99 integer types in npapi instead of defining our own. b=453883 r/sr=jst 2008-09-10 22:32:36 -04:00
Dave Townsend
3919bf60ce Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz 2008-09-09 16:43:21 +01:00
Ginn Chen
b807ca4816 Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Arpad Borsos
9b6f558fee Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
Neil Rashbrook
647777257c Bug 420310 Unable to display uncached unnamed full-page plugin r+sr=jst 2008-08-26 12:40:13 +01:00
Josh Aas
204781a505 Don't stop plugins from loading just because they don't have a resource file. b=451234 r=smichaud sr=roc 2008-08-20 00:23:19 -04:00
Boris Zbarsky
ee8d552dd4 Bug 434163. Make sure to not let our hashtable mutate while we're iterating it. r+sr=jst 2008-08-18 13:06:16 -04:00
Josh Aas
85f462c5bc Fix gcc4.2 compile error. Patch by Simon Howes. b=450880 r=josh sr=roc 2008-08-18 02:25:35 -04:00
Josh Aas
073d83175f add ability to pull plugin info from a plugin's bundle plist file. allows us to load modern plugins that do not use resource forks. b=350109 r=smichaud sr=roc 2008-08-14 08:47:04 -04:00
Vladimir Vukicevic
d5014f52b1 [dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
02e6b86b3b Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
520cfba897 [dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port 2008-08-06 13:48:55 -07:00
Blake Kaplan
8ad8041884 Fix compiler warning: GCC is confused by the break-after-return to think that we can exit the switch without returning. No bug, r+sr=jst 2008-08-04 16:35:37 -07:00
Kathleen Brade
33369ee0be Fixing bug 328778. Make the UA string we pass to plugins be terminated at the last space or at max length if the string doesn't fit rather that just returning NULL. r+sr=jst@mozilla.org 2008-08-04 14:24:50 -07:00
Johnny Stenback
284d4d5208 Landing fix for bug 347805. Add support for passing information about failed HTTP streams to plugins. Patch by dbalev@adobe.com, r+sr=jst@mozilla.org 2008-08-04 14:17:55 -07:00
Dave Townsend
c229cbc346 Merge commit from 3.1a1 release branch 2008-07-25 12:43:43 -04:00
Johnny Stenback
61b8ad1bf4 Bug 444963: Java hangs browser. Release branch landing. r+sr=peterv 2008-07-25 12:42:08 -04:00
Peter Weilbacher
cd6d1e5fb5 [OS/2] Bug 446159: Fix build break in nsPluginsDirOS2.cpp and query plugin file version (for real this time!) 2008-07-25 00:08:33 +00:00
Blake Kaplan
33bb384e59 Reload 'entry' after JS_NewObject, since a nested GC could cause our hashtable to reallocate its store. bug 445229, r+sr=jst 2008-07-23 12:49:29 -04:00
Peter Weilbacher
30d017ac57 [OS/2] Bug 446159: query the plugin version resource on OS/2, r=mkaply 2008-07-19 18:06:47 +00:00
Peter Weilbacher
6b4d0a4822 Bug 446159: fix build break in nsPluginsDir for OS/2 and BeOS 2008-07-19 11:08:19 +00:00
Karl Tomlinson
40d0d78070 NPNVxDisplay for windowless plugins should not return the Display* of an XtBin. b=444252 r+sr=jst 2008-07-17 13:19:54 +12:00
Dave Townsend
8085fe1b73 Bug 427743: Expose file version of plugins. r+sr=jst 2008-07-15 11:50:42 +01:00
Boris Zbarsky
dc4e368d68 Bug 430424: Remove no longer needed code that munges "type" attributes in the DOM. r+sr=jst 2008-07-14 19:35:23 -04:00
Peter Lubczynski
5f44aca5ae Bug 241262 – npapi's [u]int32 isn't guaranteed to always be 32 bits. r+sr=jst 2008-07-12 11:47:24 +02:00
Johnny Stenback
93ab034a20 Landing last part of the fix for bug 435334. Make our #ifdef OJI code really be just that, rather than tell us whether Java is available or not. r=joshmoz@gmail.com, sr=jonas@sicking.cc 2008-07-11 14:28:12 -07:00
Mats Palmgren
24a8f7bfba Annotate the out param with [shared] and add a comment about it. b=434429 r+sr=bzbarsky 2008-07-08 02:23:04 +02:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Justin Dolske
d7219011dd Bug 438394 – land workaround patch for unkillable hangs when loading VerifiedDownloadPlugin.plugin on trunk. r=josh 2008-06-29 17:05:48 -07:00
Johnny Stenback
6416a797ba Landing fix for bug 319371. Fix how we call NPP_GetURLNotify() in cases where the network load fails. Patch by wbardwel@curl.com, r+sr=jst@mozilla.org 2008-06-27 13:19:37 -07:00
Johnny Stenback
345c76bbcc First part of the fix for bug 435334. Move the JVM auth tools from the OJI code into the plugin code. The code in question is in no way dependent on OJI and will be completely removed once the NPAPI has support for what this code offers. r=joshmoz@gmail.com, sr=jonas@sicking.cc
--HG--
rename : modules/oji/public/nsIJVMAuthTools.idl => modules/plugin/base/public/nsIJVMAuthTools.idl
rename : modules/oji/src/nsJVMAuthTools.cpp => modules/plugin/base/src/nsJVMAuthTools.cpp
rename : modules/oji/src/nsJVMAuthTools.h => modules/plugin/base/src/nsJVMAuthTools.h
2008-06-27 12:27:40 -07:00
Johnny Stenback
7311e73894 Fixing bug 433880. Stop the flash player from crashing when entering full-screen mode. Patch by mats.palmgren@bredband.net, r+sr=jst@mozilla.org 2008-06-18 16:55:38 -07:00
pavlov@pavlov.net
b19f959e02 bug 422024. work around bad plugins causing a crash by using the wrong allocator to allocate. r/sr=jst 2008-04-30 17:17:54 -07:00
gavin@gavinsharp.com
6b243c5e13 Fix wrapping nit from bug 412770 2008-04-23 16:32:50 -07:00
gavin@gavinsharp.com
4d28dbad79 Bug 412770: Add ability to monitor plug-ins at run-time, patch by Fima Kachinski <xrayon@gmail.com>, r+sr=roc, sr=jst, a=beltzner 2008-04-23 16:24:21 -07:00
mats.palmgren@bredband.net
1b3c4d7918 Stop QuickTime and Flip4Mac plugins directly when requested (not off an event). b=426524 r+sr=jst a1.9=beltzner 2008-04-16 13:06:48 -07:00
alfred.peng@sun.com
19e85d635e Bug 426565. Firefox 3 crashes with Java applets. r+sr=jst,a=dsicore. 2008-04-05 21:38:27 -07:00
timeless@mozdev.org
5e0fcde278 Bug 423414 wmp called npapi on the wrong thread crashing [@ JS_RestoreFrameChain] r=jst a=beltzner 2008-03-30 08:23:21 -07:00
timeless@mozdev.org
58e9dcde09 Bug 425398 passed 0 identifier [@ NS_ConvertUTF8toUTF16 - doGetIdentifier - _getstringidentifier] r=jst sr=jst a=beltzner 2008-03-30 07:55:42 -07:00
timeless@mozdev.org
e03e3fc844 backing out 2008-03-30 07:41:47 -07:00
timeless@mozdev.org
d16166d275 Bug 425398 passed 0 identifier [@ NS_ConvertUTF8toUTF16 - doGetIdentifier - _getstringidentifier] r=jst sr=jst a=beltzner 2008-03-30 07:26:43 -07:00
jst@mozilla.org
f5ff3db7a8 Fixing bug 424019. Fix problem with NPN_RemoveProperty() claiming it removed a property when it in fact didn't. r+sr=brendan@mozilla.org 2008-03-28 15:29:14 -07:00
timeless@mozdev.org
74aa6aed94 Bug 424226 Immediate Fx crash when starting venkman [@ nsPluginHostImpl::TrySetUpPluginInstance] r=jst sr=jsr a=shaver 2008-03-24 23:00:31 -07:00
dbaron@dbaron.org
f31447da64 Fixing asymmetry between what timeless landed for bug 394114 and what he backed out. 2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
dtownsend@oxymoronical.com
2f48918fdb Bug 419582: Unblocklisted plugin should be set to enable on startup. r+sr=jst 2008-03-18 03:38:15 -07:00
masayuki@d-toybox.com
a1475802c9 Bug 422079 Plugin names need to be converted to Unicode r+sr=jst, b1.9=jst 2008-03-17 14:58:59 -07:00
jst@mozilla.org
8912c24ea4 Followup fix for bug 406251, make NPVariant.intValue be a signed int so negative ints can be passed through safely. r+sr=jonas@sicking.cc 2008-03-13 17:48:20 -07:00
jst@mozilla.org
9b1a09d45b Landing fix for compiler warning bug 421992. Patch by mats.palmgren@bredband.net, r+sr+a=jst@mozilla.org 2008-03-12 17:26:18 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
masayuki@d-toybox.com
b295ce78a1 Bug 420285 Internationalize plugin tag and plugin host r=jst, sr=bzbarsky, b1.9=jst 2008-03-10 00:07:15 -07:00
blassey@mozilla.com
92c51991b0 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
mats.palmgren@bredband.net
786059e5f5 Hang when reloading page with plugin. b=420884 r+sr=jst a=blocking1.9 2008-03-04 23:14:58 -08:00
jst@mozilla.org
16e1932c1a Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com 2008-02-28 18:06:00 -08:00
jst@mozilla.org
19dbcf31bd Landing fix for bug 328675. Working around a real player plugin bug where it recurses to death in certain circumstances. Patch by martijn.martijn@gmail.com, r+sr=jst@mozilla.org. 2008-02-26 20:35:20 -08:00
jst@mozilla.org
1e100ea8d9 Fixing bug 414639. Don't prevent SetWindow() from being called on a Java plugin whose width or height is 0. r+sr=peterv@propagandism.org 2008-01-29 18:32:38 -08:00
jst@mozilla.org
cc046216a1 Fixing bug 408257. Make JS executed from plugins reset the slow script timeout if not called from within JS. r+sr=jonas@sicking.cc 2008-01-20 21:34:17 -08:00
jst@mozilla.org
c1fc2e8264 Fixing bug 410853. Make NPN_Evaluate() pass in a sensible script file name argument when possible to get the appropriate wrapper automation when necessary. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2008-01-14 16:51:29 -08:00
jst@mozilla.org
f24cd056e8 Fixing bug 411040. Make NPN_RemoveProperty() return false if the property wasn't deleted (due to silent failure per ecma). r+sr+a=brendan@mozilla.org 2008-01-10 13:44:06 -08:00
reed@reedloden.com
fe25517a28 Bug 333701 - "Hopefully useless null check in nsPluginStreamListenerPeer::Initialize" [p=ispiked@gmail.com (Adam Guthrie) r=biesi a1.9=beltzner] 2008-01-02 22:22:50 -08:00
jst@mozilla.org
2edc3eed02 Fixing bug 406251. Make NPVariant to jsval conversion do the right thing with large integer values. r+sr=peterv@propagandism.org, a=dsicore@mozilla.com 2007-12-03 16:33:48 -08:00
jst@mozilla.org
62949b7761 Fixing bug 406040. Paving the way for the new NPRuntime enabled Java plugin, making Firefox able to find the new plugin when installed alongside the old plugin. Patch by kenneth.russell@sun.com, r=robert.bugzilla@gmail.com, sr=jst@mozilla.org 2007-12-01 00:12:22 -08:00
joshmoz@gmail.com
3670c07737 Fix npapi so that drawing models users can compile properly. Need NPPV version of NPNVpluginDrawingModel. Original patch by Shane Caraveo. API compat patch for WebKit is WebKit bug 15946, WebKit patch by Josh committed. b=403418 r=josh sr=jst 2007-11-13 12:02:03 -08:00
jst@mozilla.org
7ba82652d3 Fixing bug 386493. Work around WMP plugin bug where it's unable to process incoming data while waiting for initialiation streams. r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-11-11 22:07:10 -08:00
reed@reedloden.com
ae7d90ecef Bug 398313 - "Java plugin doesn't show up in disabled state (Add-ons Manager)" [p=Mossop r+sr=jst a=blocking1.9+] 2007-11-07 01:06:40 -08:00
jst@mozilla.org
841f9202a9 Fixing bug 398446. Make sure any JS exceptions thrown while plugins invoke JS are reported before we return control to the plugin. r+sr=mrbkap@gmail.com, a=dsicore@mozilla.com 2007-11-06 09:56:03 -08:00
jst@mozilla.org
8ed8c5149f Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com 2007-10-31 15:52:11 -07:00
jst@mozilla.org
ed086ba697 Fixing bug 400619. Make sure to push the JS context onto the JS context stack in NP_HasProperty() to make sure the JS calls in that function work even when called w/o any JS on the stack. r+sr=jonas@sickin.cc, a=drivers. 2007-10-25 15:21:04 -07:00
jst@mozilla.org
2f5c99810e Fixing bug 393928. Lazily initialize liveconnect, and only initialize it when we can't find a Java plugin that supports NPRuntime. When a Java plugin that supports NPRuntime is found, use NPRuntime to expose liveconnect functionality (i.e. window.java and window.Packages). r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu, a=jonas@sicking.cc 2007-10-09 18:24:28 -07:00
ginn.chen@sun.com
a648e072e1 Fix bustage bug 397992 2007-10-02 03:31:18 -07:00
ginn.chen@sun.com
f42510958f Bug 397992 Gtk-CRITICAL assertion `GTK_IS_WIDGET (widget)' failed at exit Firefox r+sr+a=roc 2007-10-02 03:07:17 -07:00
sayrer@gmail.com
cf1bde53af Bug 396828. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within ns4xPluginInstance::Stop. r=jst, sr=brendan, a=jst 2007-09-29 23:19:52 -07:00
reed@reedloden.com
47141f5b4d Bug 386844 - "Crash when running Java Applets [@ XSync - JavaPluginInstance5::SetWindow]" (move ws_info and xtbin code from ns4xPluginInstance to nsPluginNativeWindowGtk2) [p=karlt r+sr+a1.9=jst] 2007-09-29 00:08:14 -07:00
roc+@cs.cmu.edu
23aeeaf03a Bug 386537. Provide a reliable way for plugins to detect whether windowless mode is available. patch by karlt, r+sr=jst, a=jonas 2007-09-05 18:45:08 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
flamingice@sourmilk.net
fac9f6462e Bug 392125, Java plugin doesn't stay disabled on restart when disabled via plugin manager, r+sr=jst, a=blocking1.9 2007-09-04 11:19:31 -07:00
jst@mozilla.org
f967dad17e Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at 2007-08-28 17:28:32 -07:00
jst@mozilla.org
d8904e65bd Fixing bug 392505. Make nsNPObjWrapper::GetNewOrUsed() remove entries from the right hash table when out of memory. r+sr=peterv@propagandism.org, a=jst@mozilla.org 2007-08-27 16:55:47 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
96ec7b6a69 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00