Commit Graph

120 Commits

Author SHA1 Message Date
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