Commit Graph

201 Commits

Author SHA1 Message Date
peterlubczynski%netscape.com
973ae91db5 Moving FORCE_PR_LOG to nsPluginLogging.h, bug 170876 r=serge, sr=alecf 2002-10-01 18:30:56 +00:00
av%netscape.com
45b3052010 Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst 2002-09-26 02:53:27 +00:00
av%netscape.com
350216a5b8 Getting ready to fix 132759 -- 100% CPU with Flash, this file is not part of the build yet 2002-09-26 01:56:25 +00:00
peterlubczynski%netscape.com
255e130866 Correcting comments for deprecated interface method nsIPluginManager::GetURL(), patch by braden@endoframe.com, bug 38373 2002-09-13 03:44:47 +00:00
av%netscape.com
2536baebbc Fixing bug 48972 -- adding GetOwner interface method to plugin instance peer, r=peterl, sr=beard 2002-08-23 11:23:49 +00:00
av%netscape.com
9541cb24be Fixing bug 48972 -- adding an interface method GetOwner to plugin instance peer, r=peterl, sr=beard 2002-08-22 01:26:17 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
av%netscape.com
9022dc5ea3 Bug 83189 -- marking deprecated interfaces as such, r=peterl, sr=darin 2002-08-07 00:35:17 +00:00
av%netscape.com
af0d4f3224 Fixing 132430 -- RealJukeBox breaks plugin finder service, r=peterl, sr=attinasi 2002-04-27 01:47:18 +00:00
peterlubczynski%netscape.com
26a045d03f Fixing name mismatch from bug 113464 r=bnesse sr=attinasi 2002-04-19 04:13:18 +00:00
peterlubczynski%netscape.com
4022831929 Adding support for BP_GetSupportedMIMETypes and NP_GetMIMEDescription on Mac (so Quicktime can play MPEGS) bug 113464 r=bnesse sr=beard 2002-04-13 05:10:30 +00:00
seawood%netscape.com
f940144626 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
serge%netscape.com
6a000a633f fix builds redness 2002-03-27 04:42:35 +00:00
serge%netscape.com
be7f51fae3 fix bug 115891 Byte range request are not giving the correct data, r=peterl, sr=darin, a=asa 2002-03-27 03:41:43 +00:00
av%netscape.com
c891286e6b Fix for 116357 -- NPAPI plugins should have an ability to stay in memory beyond page life time, patch by peterl, r=av, sr=beard, a=asa 2002-03-25 23:42:32 +00:00
mkaply%us.ibm.com
15c90bdc92 #129119
r=smontagu, sr=blizzard, a=asa
Os/2 only - Move #pragma pack so include of os2.h doesn't override it
2002-03-07 06:14:15 +00:00
seawood%netscape.com
f9964089d6 Move old 4x plugin headers from mozilla/include to mozilla/modules/plugin/base/p
ublic/ .
Bug #120845 r=bryner
2002-02-20 05:52:55 +00:00
seawood%netscape.com
29c05a5cc1 Move old 4x plugin headers from mozilla/include to mozilla/modules/plugin/base/public/ .
Bug #120845 r=bryner
2002-02-20 05:44:43 +00:00
av%netscape.com
504df9fb10 Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard 2002-02-11 23:09:38 +00:00
beard%netscape.com
f5b6accbeb Fix for bug #118003. r=peterl, sr=jst. 2002-01-31 00:16:20 +00:00
serge%netscape.com
49f7429098 fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin 2002-01-30 02:40:46 +00:00
bnesse%netscape.com
3754b38c4d Fix for bug 104445. Make nsPluginInstance a scrollbar listener so it can notify plugins they are scrolling. Also fixes bug 76085. r=peterl, sr=sfraser, a=blizzard. 2002-01-18 20:12:29 +00:00
av%netscape.com
cc959cab45 Bug 118801 -- incrementing plugin API version, r=peterl, sr=beard 2002-01-09 02:30:12 +00:00
beard%netscape.com
9f6edc0269 bug #118649, r=peterl, sr=sfraser 2002-01-09 02:15:50 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
beard%netscape.com
bb3e627517 fix pluginClassic bustage, r=peterl, sr=sfraser 2001-11-05 14:30:05 +00:00
seawood%netscape.com
9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
dougt%netscape.com
b49f90328c backing out dbarons change to the nsIPluginClassicModule interface. Attempting to fix the fizilla bustage. r=beard, b=105072 2001-10-16 21:03:54 +00:00
dbaron%fas.harvard.edu
d7e01ada60 Attempt to fix Carbon bustage from dougt's checkin for bug 99147. 2001-10-16 07:42:53 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gerv%gerv.net
1c6c9ed7c8 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
bc444f528a bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
scc%mozilla.org
102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
mkaply%us.ibm.com
42454d95e2 Remove C++ style comment to fix OSF bustage 2001-09-08 02:46:22 +00:00
av%netscape.com
39dc1fd90e Fix for bug 98285 -- added a new value to the NPNVariable enum type to enable access to the service manager from plugins, r=beard, sr=vidur 2001-09-08 00:23:07 +00:00
dougt%netscape.com
f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
dbaron%fas.harvard.edu
c6bde97c4f fixing Mac bustage. b=45797 2001-08-21 02:58:44 +00:00
peterlubczynski%netscape.com
ce69680079 Fixing UNIX makefile bustage 2001-08-16 03:35:01 +00:00
peterlubczynski%netscape.com
59177f86ce Implement NSPR Logging in plugin module bug 94922 r=av, edburns sr=attinasi 2001-08-16 02:59:03 +00:00
peterlubczynski%netscape.com
9b8fb91893 Make x & y be signed for NPWindow struct bug 93500 r=av sr=attinasi 2001-08-15 03:11:08 +00:00
leaf%mozilla.org
f736866828 bug 76602, sr=cls, r=edburns. modules/plugin rearranging, in preparation for old
file location cvs removal.
2001-08-10 07:35:54 +00:00
bnesse%netscape.com
1f5364e562 Fix for bug 90382. The x and y coordinates in nsPluginWindow should be defined as PRInt32's not PRUint32's. r=av, sr=attinasi. 2001-07-13 18:55:10 +00:00
peterlubczynski%netscape.com
4ac6d57f72 Fixing ^M 2001-06-21 01:05:52 +00:00
peterlubczynski%netscape.com
8bdfa059a9 Fix for title bar not updating for full page plugins bug 59749 r=av sr=attinasi a=choffman 2001-06-21 01:04:29 +00:00
dbaron%fas.harvard.edu
d431376076 Correct line endings (CR-LF to LF), fixing bustage. 2001-05-31 02:43:38 +00:00
mkaply%us.ibm.com
49192274a2 Unix bustage from peterl 2001-05-31 02:33:30 +00:00
dbaron%fas.harvard.edu
51f1717ea1 Fix windows bustage (hopefully) by removing extra ^M. 2001-05-31 02:21:43 +00:00
peterlubczynski%netscape.com
a633f0c32c Fix for bug 82415 nsIPluginStreamListener changed! r=dougt sr=attinasi a=dbaron 2001-05-31 01:21:05 +00:00
dougt%netscape.com
59eb2b1392 Implements NPN_RequestRead(). Bug number 53363. r=peterl@netscape.com, sr=attinasi@netscape.com. 2001-05-22 22:32:45 +00:00
av%netscape.com
91f763bfcb For 73856, adding new header file to the list of files to be exported, sr=vidur, ra=av 2001-04-03 21:41:19 +00:00
av%netscape.com
706a3ae53e For 73856, new private interface for the plugin host, first time in, sr=vidur, ra=av 2001-04-03 21:35:57 +00:00
av%netscape.com
ca020cd7f7 For 73856, adding new values to nsPluginInstanceVariable enum type, sr=vidur, ra=av 2001-04-03 21:33:17 +00:00
av%netscape.com
bdb7f37077 For 73856 -- adding new values to NPPVariable enumeration type, sr=vidur, ar=av 2001-04-03 21:29:48 +00:00
joe.chou%eng.sun.com
7d1437f546 After converting nsIPluginManager.h to nsIPluginManager.idl (64297, already checked in), the original nsIPluginManager.h is no longer neede. 2001-04-03 19:09:39 +00:00
joe.chou%eng.sun.com
47d5143773 Re-checkin fix of bug 64296 after updating the Mac file, build/mac/build_scripts
/MozillaBuildList.pm.

bug=64296
r=edburns
sr=waterson

This checkin idlifies some files in the plugin hierarchy.

The following files are in this checkin.

build/mac/build_scripts/MozillaBuildList.pm
modules/oji/public/MANIFEST
modules/oji/public/MANIFEST_IDL
modules/oji/macbuild/ojiIDL.mcp
modules/plugin/public/MANIFEST
modules/plugin/public/MANIFEST_IDL
modules/plugin/macbuild/pluginIDL.mcp
modules/oji/public/Makefile.in
modules/oji/public/makefile.win
modules/oji/public/nsIJVMPluginInstance.idl
modules/plugin/public/Makefile.in
modules/plugin/public/makefile.win
modules/plugin/public/nsIPluginManager.idl
2001-03-30 05:00:56 +00:00
bryner%uiuc.edu
a57c876f7b Backing out joe.chou@eng.sun.com's changes, they broke the Mac. r=sdagley. 2001-03-27 03:49:31 +00:00
joe.chou%eng.sun.com
d65d8b3774 bug=64296
r=edburns
sr=waterson

This checkin idlifies some files in the plugin hierarchy.

The following files are in this checkin.

build/mac/build_scripts/MozillaBuildList.pm
modules/oji/public/MANIFEST
modules/oji/public/MANIFEST_IDL
modules/oji/macbuild/ojiIDL.mcp
modules/plugin/public/MANIFEST
modules/plugin/public/MANIFEST_IDL
modules/plugin/macbuild/pluginIDL.mcp
modules/oji/public/Makefile.in
modules/oji/public/makefile.win
modules/oji/public/nsIJVMPluginInstance.idl
modules/plugin/public/Makefile.in
modules/plugin/public/makefile.win
modules/plugin/public/nsIPluginManager.idl
2001-03-27 00:37:58 +00:00
pinkerton%netscape.com
d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
beard%netscape.com
d46122ab31 [not part of build] builds "classic" (non-Carbon) plugin support library. 2001-02-07 00:40:28 +00:00
pollmann%netscape.com
e1dfba94e9 Fix Un*x bustage (typo in last patch, oops, sorry!) 2000-10-12 04:49:28 +00:00
pollmann%netscape.com
f824ccc7ad Fix AIX build bustage - these constants are already defined in system header files 2000-10-12 04:07:45 +00:00
pollmann%netscape.com
0e643df6eb Bug 48483: Fix HPUX bustage for Unix default plugin, fix thanks to wtc (added #ifdef guards to previous checkin per review by wtc, will not affect build) 2000-10-12 01:11:38 +00:00
pollmann%netscape.com
4c07649147 Bug 48483: Fix HPUX bustage for Unix default plugin fix thanks to wtc, r=jdunn,pollmann sr=mscott 2000-10-12 00:20:34 +00:00
edburns%acm.org
dee7ed58dd r=vidur, av
a=brendan
bug=49525

This simple fix just adds parameters to an existing method in an XPCOM
safe way, by defining a new method at the end of the interface
definition with the additional parameters.

Original method:

    NS_IMETHOD
    GetURL(nsISupports* pluginInst,
           const char* url,
           const char* target = NULL,
           nsIPluginStreamListener* streamListener = NULL,
           const char* altHost = NULL,
           const char* referrer = NULL,
           PRBool forceJSEnabled = PR_FALSE) = 0;

New method:

    NS_IMETHOD
    GetURLWithHeaders(nsISupports* pluginInst,
                      const char* url,
                      const char* target = NULL,
                      nsIPluginStreamListener* streamListener = NULL,
                      const char* altHost = NULL,
                      const char* referrer = NULL,
                      PRBool forceJSEnabled = PR_FALSE,
                      PRUint32 getHeadersLength = 0,
                      const char* getHeaders = NULL) = 0;

I have modified nsPluginHostImpl.h to include this new method, and
modified nsPluginHostImpl.cpp so that its GetURL calls GetURLWithHeaders
with null values for the last two params.

M modules/plugin/public/nsIPluginManager.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h
2000-09-14 22:57:56 +00:00
edburns%acm.org
eee39a1304 a=brendan, ekrock
r=av, sean@beatnik.com
bug=50547

This change allows the plugin to have a greater degree of control over
the plugin lifecycle.  This change makes it possible for the plugin to
tell mozilla:

1. Whether or not they want to allow the browser to cache their
instance.  Default is yes, do allow the browser to cache their instance.

2. If they answer no to 1, that is, no the plugin does not want the
browser to cache their instance, do you want the shutdown calls to be:

a.

          inst->SetWindow(nsnull);
          inst->Stop();
          inst->Destroy();


b.

          inst->Stop();
          inst->Destroy();
          inst->SetWindow(nsnull);

a. is the default.

Please visit the bug to see the patches:

http://bugzilla.mozilla.org/show_bug.cgi?id=50547

Detail:

This fix was requested by Stanley Ho of the Sun Java Plugin Team.  A
conference call between Eric Krock, Andrei Volkov, Sun, Adobe and other
plugin vendors was used to agree on the above solution.

M modules/plugin/public/nsplugindefs.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp
2000-09-14 08:22:31 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
edburns%acm.org
b090a933d7 a=brendan,av
r=av
bug=50811

Should include "nsISupports.idl" not "nsPluginDefs.idl".
2000-09-13 07:07:18 +00:00
edburns%acm.org
a96a90e3d9 a=brendan,av
r=av
bug=50811

This bug fix was suggested by Stanley Ho <stanley.ho@eng.sun.com>.

Stanley proposed we overload the meaning of the nsIPluginStreamListener
argument to nsIPluginManager::{GetURL,PostURL}() so that it also may
implement an interface for reading headers.  Thus, the browser could QI
the plugin's nsIPluginStreamListener instance to this headers reading
interface and send the plugin the headers from the response.

I have implemented Stanley's above proposal.  I have defined a new
interface, nsIHTTPHeaderListener.idl with one method:

  /**

   * Called for each HTTP Response header.

   * NOTE: You must copy the values of the params.

   */

  void newResponseHeader(in string headerName, in string headerValue);

To affect this fix, I have added a new private method

nsPluginStreamListenerPeer::
ReadHeadersFromChannelAndPostToListener(nsIHTTPChannel *httpChannel,
                                        nsIHTTPHeaderListener *listener)

Then, modified nsPluginStreamListenerPeer::OnDataAvailable() to call
this method BEFORE reading the content data.  However, this fix makes
two important assumptions I would like to check out:

   * Assumption

   * By the time nsPluginStreamListenerPeer::OnDataAvailable() gets
   * called, all the headers have been read.

       * Assumption:

       * The return value from nsIHTTPHeader->{GetFieldName,GetValue}()
       * must be freed.

The following files are included in this fix:

A modules/plugin/public/nsIHTTPHeaderListener.idl
A modules/plugin/public/makefile.win
A modules/plugin/public/Makefile.in
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
2000-09-13 06:40:57 +00:00
waterson%netscape.com
3b56e5fda1 Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00
beard%netscape.com
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mccabe%netscape.com
8451066326 Makefile fix, thanks to Dan Veditz. Should fix bustage. 2000-06-14 02:40:00 +00:00
mccabe%netscape.com
2ffd75fe72 Backing out for now to fix bustage. 2000-06-14 02:33:45 +00:00
mccabe%netscape.com
64e925ab99 Fix to 39911, which nsbeta+ 38495 depends on.
Build nsIScriptablePlugin.idl on Unix and Windows.

a=beard
2000-06-14 01:21:39 +00:00
mccabe%netscape.com
2b35af1344 Part of fix for 39911, which is a dependency of nsbeta+ bug 38495.
Interface for plugins to expose to advertise a scriptable peer object and the interface that XPConnect should expose it with.

r=sechevarria@beatnik.com,beard@netscape.com
a=beard@netscape.com

NOTE This is not yet built on any platform.
2000-06-14 01:04:06 +00:00
warren%netscape.com
534c3f9212 Lowercased handleEvent 2000-05-25 08:29:10 +00:00
warren%netscape.com
afbcb4a48c New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
av%netscape.com
8527043efd #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h 2000-04-18 21:44:56 +00:00
pavlov%netscape.com
2062d07f92 fix mac bustage 2000-03-14 07:42:31 +00:00
pavlov%netscape.com
0442a847fa add defined(RHAPSODY) around the XP_MAC lines 2000-03-14 06:16:13 +00:00
mkaply%us.ibm.com
5eb928c520 # 25555
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-28 15:00:30 +00:00
av%netscape.com
67ea41bb94 Bug 22598. r=vidur 2000-01-05 01:18:38 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
briano%netscape.com
775e13bce8 General cleanup. 1999-09-14 02:51:42 +00:00
cyeh%netscape.com
1729151e74 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
beard%netscape.com
53b68810ba reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them. 1999-08-03 02:51:39 +00:00
beard%netscape.com
753dd5b871 sizeof(mode) field was dependent on compiler settings, now nsPluginPrint.mode is always a PRUint16. 1999-08-02 21:44:54 +00:00
hoa.nguyen%intel.com
ba68770ede Added #define NS_INLINE_PLUGIN_PROGID_PREFIX "component://netscape/inline-plugin/" to be used a the prefix for the ProgID of all plugins. 1999-07-20 23:49:51 +00:00
beard%netscape.com
1a4535f1d5 added GetIID() accessor 1999-07-17 01:57:10 +00:00
warren%netscape.com
15272e93b7 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
beard%netscape.com
fe7b181a91 added GetJSContext() 1999-05-08 16:33:40 +00:00
beard%netscape.com
4e5fc1616f added IID accessor, changed GetJavaClass() to have a JNIEnv* parameter, no longer inherits from nsIPlugin. 1999-04-16 02:10:05 +00:00
beard%netscape.com
f7560e151f added IID accessor, added GetJavaEnv() method. 1999-04-16 02:08:50 +00:00
beard%netscape.com
49490559d9 added IID accessor, changed GetJavaClass() to have a JNIEnv* parameter. 1999-04-16 02:08:15 +00:00
beard%netscape.com
5ecb816431 added GetJSThread(), to obtain the thread ID to send events to via nsIThreadManager::PostEvent(). 1999-04-12 03:14:19 +00:00
beard%netscape.com
61fd0f92c7 removed GetJSWindow, moved to nsIPluginInstancePeer2 1999-03-25 03:32:22 +00:00
beard%netscape.com
0ab5e7a9f5 added nsIPluginInstancePeer2.h 1999-03-25 03:29:54 +00:00
beard%netscape.com
e7137004c5 First Checked In. 1999-03-25 02:45:38 +00:00