Commit Graph

139 Commits

Author SHA1 Message Date
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
Josh Aas
76e1222110 Stop storing xpconnect status in the plugin tag, it isn't used any more. b=535502 r=roc 2009-12-17 12:22:46 -05:00
Josh Aas
514a6c5e9d Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05: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
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
timeless@mozdev.org
a57f8826c1 Bug 525980 Fix typos in npapi.h
r=joshmoz
2009-11-04 07:39:43 +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
Doug Turner
ea91fe7947 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07: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
65e80f6eb0 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07: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
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
Josh Aas
908cd606b2 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Josh Aas
c88c69078b Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -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
Josh Aas
ec67370ccc Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -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
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
73eb23eeb9 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -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
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
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
4734a09527 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Josh Aas
9c6646e6e1 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -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
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
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
Josh Aas
c6a41e8074 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04: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
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
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
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
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
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
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
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
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
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
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
8085fe1b73 Bug 427743: Expose file version of plugins. r+sr=jst 2008-07-15 11:50:42 +01: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
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
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
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
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
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
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
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
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
flamingice@sourmilk.net
76b4af864e Bug 330511, Plugin-in blocklisting, r+sr=jst 2007-07-13 17:28:05 -07:00
jst@mozilla.org
cfb5411441 Fixing bug 386773. Add implementation for NPN_PluginThreadAsyncCall(). r=joshmoz@gmail.com, sr=brendan@mozilla.org 2007-07-11 16:25:45 -07:00
flamingice@sourmilk.net
492ccc0d82 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst 2007-07-03 14:42:35 -07:00
flamingice@sourmilk.net
34b5ed06fe Backing out bug 382367 due to potential crashes (bug 386160) 2007-06-28 10:51:10 -07:00
flamingice@sourmilk.net
d984521567 Bug 382367, Add support for enabling and disabling individual plugins, r+sr=jst 2007-06-27 17:56:08 -07:00
flamingice@sourmilk.net
adc66522b8 Bug 380984, NPAPI symbols hidden in libnullplugin.so and libunixprintplugin.so, Patch by Karl Tomlinson, r+sr=jst 2007-06-26 17:41:08 -07:00
timeless@mozdev.org
b2d6d9a7f1 Bug 370063 OpenBSD: sync with reality - they define uint32_t and boolchanges by one of pvalchev@openbsd.org, wilfried@openbsd.org, robert@openbsd.org, or naddy@openbsd.org (or at least Martynas Venckus thinks it was one of them)patch by martynas@openbsd.orgcorrect spelling thanks to vicviq@gmail.comr=jst sr=jst 2007-04-05 04:21:59 -07:00
joshmoz@gmail.com
094f428519 Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst 2007-03-26 18:07:57 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00