124 Commits

Author SHA1 Message Date
beard%netscape.com
557e1e3dec fix pluginClassic bustage, r=peterl, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@107332 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 14:30:05 +00:00
seawood%netscape.com
4551221bef Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
dougt%netscape.com
b01e0f7cd7 backing out dbarons change to the nsIPluginClassicModule interface. Attempting to fix the fizilla bustage. r=beard, b=105072
git-svn-id: svn://10.0.0.236/trunk@105527 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:03:54 +00:00
dbaron%fas.harvard.edu
b1ce414ecf Attempt to fix Carbon bustage from dougt's checkin for bug 99147.
git-svn-id: svn://10.0.0.236/trunk@105485 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:42:53 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
gerv%gerv.net
cf694b8116 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
mkaply%us.ibm.com
89f9578c8e Remove C++ style comment to fix OSF bustage
git-svn-id: svn://10.0.0.236/trunk@102576 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 02:46:22 +00:00
av%netscape.com
8d0ac39f1b 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
git-svn-id: svn://10.0.0.236/trunk@102564 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:23:07 +00:00
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
dbaron%fas.harvard.edu
fdd5d25c83 fixing Mac bustage. b=45797
git-svn-id: svn://10.0.0.236/trunk@101475 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:58:44 +00:00
peterlubczynski%netscape.com
d1363e7d58 Fixing UNIX makefile bustage
git-svn-id: svn://10.0.0.236/trunk@101179 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:35:01 +00:00
peterlubczynski%netscape.com
beeef7a905 Implement NSPR Logging in plugin module bug 94922 r=av, edburns sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101174 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 02:59:03 +00:00
peterlubczynski%netscape.com
a43e8e1c46 Make x & y be signed for NPWindow struct bug 93500 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101068 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 03:11:08 +00:00
leaf%mozilla.org
e958e1d589 bug 76602, sr=cls, r=edburns. modules/plugin rearranging, in preparation for old
file location cvs removal.


git-svn-id: svn://10.0.0.236/trunk@100744 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 07:35:54 +00:00
bnesse%netscape.com
2b1cbece2a Fix for bug 90382. The x and y coordinates in nsPluginWindow should be defined as PRInt32's not PRUint32's. r=av, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@99199 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 18:55:10 +00:00
peterlubczynski%netscape.com
a97d3d97d7 Fixing ^M
git-svn-id: svn://10.0.0.236/trunk@97646 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 01:05:52 +00:00
peterlubczynski%netscape.com
84fe2b64c1 Fix for title bar not updating for full page plugins bug 59749 r=av sr=attinasi a=choffman
git-svn-id: svn://10.0.0.236/trunk@97645 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 01:04:29 +00:00
dbaron%fas.harvard.edu
661029441c Correct line endings (CR-LF to LF), fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@96103 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 02:43:38 +00:00
mkaply%us.ibm.com
0ef728fdb8 Unix bustage from peterl
git-svn-id: svn://10.0.0.236/trunk@96102 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 02:33:30 +00:00
dbaron%fas.harvard.edu
55a756c29a Fix windows bustage (hopefully) by removing extra ^M.
git-svn-id: svn://10.0.0.236/trunk@96101 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 02:21:43 +00:00
peterlubczynski%netscape.com
2c07697623 Fix for bug 82415 nsIPluginStreamListener changed! r=dougt sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96096 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 01:21:05 +00:00
dougt%netscape.com
3ab5958916 Implements NPN_RequestRead(). Bug number 53363. r=peterl@netscape.com, sr=attinasi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@95714 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 22:32:45 +00:00
av%netscape.com
f05d8ec049 For 73856, adding new header file to the list of files to be exported, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91178 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:41:19 +00:00
av%netscape.com
09c8488159 For 73856, new private interface for the plugin host, first time in, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91177 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:35:57 +00:00
av%netscape.com
2d89d9e3a4 For 73856, adding new values to nsPluginInstanceVariable enum type, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91175 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:33:17 +00:00
av%netscape.com
a82e86719b For 73856 -- adding new values to NPPVariable enumeration type, sr=vidur, ar=av
git-svn-id: svn://10.0.0.236/trunk@91172 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:29:48 +00:00
joe.chou%eng.sun.com
7ed08b37f7 After converting nsIPluginManager.h to nsIPluginManager.idl (64297, already checked in), the original nsIPluginManager.h is no longer neede.
git-svn-id: svn://10.0.0.236/trunk@91151 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:09:39 +00:00
joe.chou%eng.sun.com
ef0e4bc915 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


git-svn-id: svn://10.0.0.236/trunk@90831 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:00:56 +00:00
bryner%uiuc.edu
a90edd2fb0 Backing out joe.chou@eng.sun.com's changes, they broke the Mac. r=sdagley.
git-svn-id: svn://10.0.0.236/trunk@90475 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 03:49:31 +00:00
joe.chou%eng.sun.com
ca525acad2 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


git-svn-id: svn://10.0.0.236/trunk@90461 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 00:37:58 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
beard%netscape.com
362aa398db [not part of build] builds "classic" (non-Carbon) plugin support library.
git-svn-id: svn://10.0.0.236/trunk@86400 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:40:28 +00:00
pollmann%netscape.com
e2a0a7c26c Fix Un*x bustage (typo in last patch, oops, sorry!)
git-svn-id: svn://10.0.0.236/trunk@81000 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 04:50:35 +00:00
pollmann%netscape.com
06b24f2bf7 Fix AIX build bustage - these constants are already defined in system header files
git-svn-id: svn://10.0.0.236/trunk@80997 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 04:07:45 +00:00
pollmann%netscape.com
5a7a80de57 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)
git-svn-id: svn://10.0.0.236/trunk@80988 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:11:38 +00:00
pollmann%netscape.com
56b3f3a359 Bug 48483: Fix HPUX bustage for Unix default plugin fix thanks to wtc, r=jdunn,pollmann sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80984 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 00:20:34 +00:00
edburns%acm.org
f59c24e492 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


git-svn-id: svn://10.0.0.236/trunk@79207 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:57:56 +00:00
edburns%acm.org
fc704a0841 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


git-svn-id: svn://10.0.0.236/trunk@79099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:22:31 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
edburns%acm.org
f12f878020 a=brendan,av
r=av
bug=50811

Should include "nsISupports.idl" not "nsPluginDefs.idl".


git-svn-id: svn://10.0.0.236/trunk@78987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:07:18 +00:00
edburns%acm.org
9d9e08fdbe 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


git-svn-id: svn://10.0.0.236/trunk@78980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:40:57 +00:00
waterson%netscape.com
9ea597c1b1 Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av
git-svn-id: svn://10.0.0.236/trunk@74624 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:34:13 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
mccabe%netscape.com
d02312ed59 Makefile fix, thanks to Dan Veditz. Should fix bustage.
git-svn-id: svn://10.0.0.236/trunk@72171 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:40:00 +00:00
mccabe%netscape.com
552b1a1104 Backing out for now to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@72170 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:33:45 +00:00
mccabe%netscape.com
35280d6bef Fix to 39911, which nsbeta+ 38495 depends on.
Build nsIScriptablePlugin.idl on Unix and Windows.

a=beard


git-svn-id: svn://10.0.0.236/trunk@72166 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:21:39 +00:00
mccabe%netscape.com
984f9b048c 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.


git-svn-id: svn://10.0.0.236/trunk@72163 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:04:06 +00:00