Commit Graph

729 Commits

Author SHA1 Message Date
av%netscape.com
772e0df749 Fixing bug 58095, retrieving right user agent string instead of harcoded one. Goes to the trunk only as per yesterday PDT meeting. r=valeski, r=serge, sr=waterson, a=av 2000-10-31 20:25:19 +00:00
mkaply%us.ibm.com
1aff5c6c56 #58462
r=jkobal, a=blizzard
OS/2 specific code to fix some plugin problems
2000-10-30 21:06:11 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
b0843fb3cf Removing nslog.h from .c files 2000-10-28 01:11:36 +00:00
warren%netscape.com
1c65924ad2 Adding diffs from obsolete nsPluginsDirUNIX.cpp to nsPluginsDirUnix.cpp 2000-10-28 00:52:29 +00:00
warren%netscape.com
5753ca58a6 re-removing nsPluginsDirUNIX.cpp 2000-10-28 00:47:32 +00:00
warren%netscape.com
429db9c6a2 readding nsPluginsDirUNIX.cpp 2000-10-28 00:47:08 +00:00
warren%netscape.com
c433395ed3 Fixing printf problem. 2000-10-28 00:40:49 +00:00
cls%seawood.org
96988ac812 removing old file again 2000-10-28 00:18:20 +00:00
warren%netscape.com
0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
peterlubczynski%netscape.com
65e745be68 Prevent call into plugin if plugin is stopped. Fixes crash in plugin while reload/navigate while plugin is streaming. bug 54186, r=av, sr=buster 2000-10-27 22:05:07 +00:00
edburns%acm.org
fc8170442c author=joechou@eng.sun.com
r=av
r=edburns@acm.org
sr=waterson
bug= 56019
///////////////////////////////////////////////////////////////////////////////
// Currently, in the MIME type info passed in by plugin, a ';' is used as the
// separator of two MIME types, and also the sparator of a version in one MIME
// type. For example:
// "application/x-java-applet;version1.3::java(TM) plugin;application/x-java-
// applet...".
// The ambiguity of ';'  causes the browser fail to parse the MIME types
// correctly.
//
// This method parses the MIME type input, and replaces the MIME type
// separators with '|' to eliminate the ambiguity of ';'. (The Windows version
// also uses '|' as the MIME type separator.)
//
// Input format: "...type[;version]:[extension]:[desecription];..."
// Output format: "...type[;version]:[extension]:[desecription]|..."
//
static void SetMIMETypeSeparator(char *minfo)
{
2000-10-26 00:12:38 +00:00
av%netscape.com
02a80840d9 Bug 57210, sr=waterson, r=edburns, r=serge. Fixing crash when plugin reports not file exts or mime descriptions not matching to mime types on the start up scan. 2000-10-23 00:03:19 +00:00
peterlubczynski%netscape.com
1fefa124a2 Get and send plugin MIME type, fix for bug 54205 r=sfraser a=buster 2000-10-17 20:57:36 +00:00
bnesse%netscape.com
6bafa9a564 Use same define for all platforms. Fix for bug #45697 r=av, sr=scc, a=rtm++. 2000-10-17 18:04:47 +00:00
mkaply%us.ibm.com
42308db283 IRIX/SunOS breakge on ports
C++ comments in a header included by a C file
Come on guys, this is really basic stuff here
2000-10-17 00:13:01 +00:00
mozilla.BenB%bucksch.org
dfc6d0d557 50523: Remove (most) Netscape branding. a=av, sr=scc. 2000-10-15 22:03:54 +00:00
sdagley%netscape.com
f8e7bf5cdc Fix #54778 - Make legacy plugins on Mac work from the "Plug-ins" folder. r=av,sr=sfraser,scc. 2000-10-13 18:59:05 +00:00
pavlov%netscape.com
542939a025 fix for bug 45162 new plugins shouldn't use GdkSuperWin's, but instead should use XIDs. sr=blizzard r=valeski 2000-10-13 01:10:21 +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
69f3c83ed2 bug=54291
a=brendan
r=edburns, scc

This checkin does three things:

1. Makes it so on Unix the user can set the env var NS600_PLUGIN_PATH to point
to a directory that will be used as the location for searching for plugins.

2. Removes nsPluginsDirUNIX.cpp and replaces it with nsPluginsDirUnix.cpp

3. Correctly formats nsPluginsDirUnix per brendan's recommendation.
2000-10-11 22:33:20 +00:00
pollmann%netscape.com
ad0ba46cb9 Bug 48483: Unix default plugin, fix for OpenVMS bustage r=av@netscape.com a=brendan@mozilla.org 2000-10-10 21:01:14 +00:00
edburns%acm.org
74618bb511 bug=
a=brendan
r=av

This bug fix makes it so nsPluginHostImp::FindProxyForURL()
honors ProxyAutoConfig settings.

It also cleans things up per Brendan.
2000-10-05 07:58:51 +00:00
av%netscape.com
fc336d6b4b Fixing 53451. Added retun failure when plugin retuns zero on NPP_WriteReady call, r=waterson 2000-09-29 00:46:18 +00:00
cls%seawood.org
962751d334 Some platforms include a version number for their dll suffixes. Use SHARED_LIBRARY instead of hardcoding a library name & suffix. 2000-09-28 06:57:00 +00:00
cls%seawood.org
dfbf4d99c1 Only build nullplugin when MOZ_ENABLE_GTK is set because nullplugin requires gtk and is breaking our non-gtk ports. 2000-09-28 06:48:02 +00:00
akhil.arora%sun.com
2319351207 implementation of the null plugin for unix
checking in on behalf of stephen mak <smak@sun.com>
b=48483 r=pollmann@netscape.com a=brendan@mozilla.org
2000-09-27 23:44:02 +00:00
av%netscape.com
2f358f1418 Fix for 44692, allowing default plugin guess about mime type by extension, a=mscott 2000-09-22 06:31:29 +00:00
av%netscape.com
32790a3411 Fix for 53399, check for null-pointer to avoid crash, by sean, r=av, a=waterson 2000-09-22 06:17:28 +00:00
av%netscape.com
c988d614ec This should fix the redness 2000-09-22 01:48:05 +00:00
av%netscape.com
089f65cac9 Fixing #36089. Allowing Mac browse through both 'Plugins' and 'Plug-ins' folders, a=waterson 2000-09-22 00:58:46 +00:00
edburns%acm.org
93895f6f63 a=beard, waterson
r=av
bug=52963

Tested on win32.  Tested to build on win32 and solaris.

This patch fixes bug 52963, bug 52965, and bug 52973.

This patch contributed by Stanley Ho <stanley.ho@eng.sun.com>

52963: nsIPluginStreamListener::OnStartBinding isn't always called:

Added new ivar, mStartBinding:

   * Set to PR_TRUE after nsIPluginInstancePeer::OnStartBinding() has
   * been called.  Checked in ::OnStopRequest so we can call the
   * plugin's OnStartBinding if, for some reason, it has not already
   * been called.

52965: Length isn't always set:

  rv = channel->GetContentLength(&length);

  // it's possible for the server to not send a Content-Length.  We should
  // still work in this case.
  if (NS_FAILED(rv)) {
    mPluginStreamInfo->SetLength(-1);
  }
  else {
    mPluginStreamInfo->SetLength(length);
  }

52973: nsIHTTPHeaderListener called before nsIPluginStreamListener::NewStream

This fix required rolling back Andrei Volkov's change to the signature
of nsPluginStreamListenerPeer::SetUpStreamListener().  In order to call
the plugin with the headers before the NewStream is sent, we need the
nsIChannel.

files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp
2000-09-20 09:27:54 +00:00
waterson%netscape.com
7dc55680e8 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren 2000-09-20 05:44:19 +00:00
av%netscape.com
c77cb66e71 Part of 33105 fix, added option not to show Bad Plugin warning again, r=serge 2000-09-14 23:58:17 +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
jdunn%netscape.com
319ebcde95 adding newline at end of file (required by hp) 2000-09-14 10:50:50 +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
av%netscape.com
af172bc1f9 Fixing Mac bustage 2000-09-14 07:16:07 +00:00
av%netscape.com
93ee2b0c9a Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge 2000-09-14 06:13:56 +00:00
av%netscape.com
111969d988 Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge 2000-09-14 06:03:37 +00:00
av%netscape.com
000be3bb8e Part of 33105 fix, first time in, macro for safe plugin calls implemented, r=serge 2000-09-14 05:56:28 +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
61f79884f1 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 07:09:38 +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
scc%mozilla.org
c115faa444 bug #50811, a=brendan, on behalf of edburns@sun.com 2000-09-13 06:45:33 +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
scc%mozilla.org
f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
edburns%acm.org
757fe3cde1 r=av
a=waterson
bug=51919

This fix makes it so nsIPluginManager::PostURL() works correctly in the
case of a null target and non-null streamListener.

The fix was to add parameters to NewPluginURLStream() for headers and
post data:

   NS_IMETHOD
-  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, nsIPluginStreamListener *aListener);
+  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance,
+                     nsIPluginStreamListener *aListener,
+                     void *aPostData = nsnull, PRUint32 aPostDataLen = 0,
+                     const char *aHeadersData = nsnull,
+                     PRUint32 aHeadersDataLen = 0);

And to add a new method to correctly send the headers to the channel:

+  NS_IMETHOD
+  AddHeadersToChannel(const char *aHeadersData, PRUint32 aHeadersDataLen,
+                      nsIChannel *aGenericChannel);

Files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h
2000-09-08 23:58:36 +00:00
morse%netscape.com
f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
edburns%acm.org
8ee33dddde This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
01f01c4890 Fixing scc's typo to fix harpoon orange, etc. r=scc 2000-09-04 01:19:36 +00:00
scc%mozilla.org
daa61fe5b5 we think the fix is in to support the original form, so back to the original form we go 2000-09-04 00:50:50 +00:00
scc%mozilla.org
90c34a3a99 and here we are, back to square one. 2000-09-03 08:25:02 +00:00
scc%mozilla.org
aa10bae8a2 I'll try anything, now 2000-09-03 03:25:42 +00:00
scc%mozilla.org
2accda54de OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST| 2000-09-03 02:50:18 +00:00
scc%mozilla.org
15c68c67b7 hack to fix pravda and speedracer bustage 2000-09-03 01:38:38 +00:00
scc%mozilla.org
3093bd5ab5 hack to fix pravda bustage 2000-09-03 00:25:42 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
edburns%acm.org
6929c922f5 bug=36212
a=waterson,av
r=av,waterson

Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp

This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.
2000-08-24 19:49:08 +00:00
saari%netscape.com
0920228fbd fix for 46938, make sure full content area plugins can still get key events once you've clicked on them 2000-08-24 05:04:06 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
mccabe%netscape.com
4f49fe305a Further tweak to 39933.
Add a comment mentioning the possible need to implement nsISecurityCheckedComponent.
2000-08-23 00:24:07 +00:00
mccabe%netscape.com
29923e8750 Fix to 39933.
Make the sample plugin implement nsIScriptablePlugin, and update sample .html file with an (unused!) JavaScript evaluator for poking at the plugin.

r=jst
a=ekrock
2000-08-23 00:20:24 +00:00
warren%netscape.com
5135afda02 Removed reference to nsIBaseStream 2000-08-22 09:50:45 +00:00
warren%netscape.com
e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
av%netscape.com
037e5ee9c5 49515, fixing incorrect handling nsPluginInfo struct which prevented
Mac plugins from working, patch by beard, r=av
2000-08-21 21:31:28 +00:00
scc%mozilla.org
77d446201a fixing code that relied on implicit string construction 2000-08-19 21:44:26 +00:00
cltbld%netscape.com
a8b78d24bb Need to declare nsIFile to make WS 5.0 happy -cls 2000-08-19 05:44:34 +00:00
av%netscape.com
c4bedc79a7 Addressing #48856, added argument null-check before passing it to nsCStringKey::nsCStringKey()
patch by warren, r=av
2000-08-18 21:53:03 +00:00
av%netscape.com
8439416960 Part of 46490 fix, r=adamlock 2000-08-17 19:26:15 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
av%netscape.com
01ca1eb997 Fixing 39534, patch by sean, r=av 2000-08-07 22:10:07 +00:00
av%netscape.com
0ff6c8206b Fixing 47360, patch by sean@beatnik.com, r=av 2000-08-07 21:51:19 +00:00
mkaply%us.ibm.com
474c320967 r=mkaply, a=brendan
Tinderbox break - Should have been info.fExtensionArray
2000-08-03 02:20:17 +00:00
av%netscape.com
0c06d16845 Fixing Unix redness 2000-08-02 23:36:30 +00:00
av%netscape.com
a371acfc89 Fixing 45895, r=waterson 2000-08-02 23:01:35 +00:00
av%netscape.com
299bf1f85a Fixing 46573, r=serge 2000-08-02 21:35:45 +00:00
cls%seawood.org
01c0f7aed5 The ports tinderboxes were inconveniently down so this bustage was hidden for the past week. Bug #45698 2000-07-28 05:43:24 +00:00
warren%netscape.com
2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
waterson%netscape.com
f364059419 Brownian hacking to fix build bustage. 2000-07-22 03:17:55 +00:00
waterson%netscape.com
b9428404ee Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH. r=av 2000-07-22 02:11:04 +00:00
waterson%netscape.com
b83d0b4407 Bug 45698. Fix Win32 build bustage. Checked in from wrong machine. 2000-07-22 01:58:55 +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
edburns%acm.org
5b7c874d34 bug=23157
r=av
a=waterson

Don't use hard coded 2000.  Instead use sizeof(path).
2000-07-22 00:48:26 +00:00
edburns%acm.org
8bc3199379 bug=23157
ra=av
This fix makes it so the plugins directory is correctly located
in the embedding case.
2000-07-21 00:27:36 +00:00
edburns%acm.org
9969ad3c8a bug=43280
a=av
r=av

Add a "don't show this dialog again" feature to the
"No Default Plugin Dialog".  In addition, don't display the dialog
more than once per mime-type per session.
2000-07-20 22:53:32 +00:00
edburns%acm.org
0ac863d889 bug=16677
a=av
r=stanley.ho

This fix causes nsPluginHostImpl::FindProxyForURL to honor
the "no proxies for" list.
2000-07-20 19:09:50 +00:00
waterson%netscape.com
a9988fbc1f Bug 37622. The rest of the patch that I somehow missed the first time around. r=blizzard,pavlov 2000-07-20 01:40:54 +00:00
edburns%acm.org
e86c9acda8 a=av
r=av
bug=38848

This bug enables nsIPluginHostImpl::GetValue(nsPluginManagerVariable_XDisplay)
to function correctly.

Thanks to Chris Waterson.

This has been built on win32 and solaris.
2000-07-20 01:16:52 +00:00
waterson%netscape.com
eb10ce3a1a Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard. 2000-07-19 23:46:43 +00:00
waterson%netscape.com
a5fbd61475 Remove debugging cruft I left in. 2000-07-19 23:24:35 +00:00
waterson%netscape.com
b95b383548 Bug 37522. Implement ns4xPlugin::GetMIMEDescription() and ns4xPlugin::GetValue(); alter nsPluginsDirUNIX to use these routines (instead of directly calling the NP_* routine) while grovelling through 4.x plugins. r=av 2000-07-19 21:43:46 +00:00
Jerry.Kirk%Nexwarecorp.com
8edb23803e This test relies on GTK libraries and header files, it is not
buildable on other non-GTK unix builds, like Photon. This change to
the Makefile makes sure this test is only built if GTK is enabled.
r=cls
2000-07-17 13:06:50 +00:00
jst%netscape.com
e5da6444bc Fixing nsbeta2+ bug 44022. Loading javascript: URL's from a plugin wasn't always working. r=vidur@netscape.com 2000-07-13 02:44:14 +00:00
pavlov%netscape.com
3f7d6ee2fe 4.x unix plugin changes for bug 37477 r=pollmann, av 2000-07-11 21:44:39 +00:00
bnesse%netscape.com
9c230e7301 Moved code which was initalizing the memory allocation service from the constructor into the CreatePlugin function because it wasn't being called early enough for some plugins. Need to proceed on Bug 19931. r=av. 2000-07-11 20:08:05 +00:00
av%netscape.com
d98110ff32 #22954, fixing Mac glitch, r=brade 2000-07-10 23:54:31 +00:00
cls%seawood.org
e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
av%netscape.com
b2d01667e4 #22954, adding unix and mac flavors, r=pierre 2000-07-09 22:26:44 +00:00
av%netscape.com
bc8b5454f3 Addressing 22954, r=mscott 2000-07-07 00:10:54 +00:00
av%netscape.com
8fbbc3c0cf Addressing 22954, removed tag info query for full page plugins, r=edburns@acm.org 2000-07-06 21:44:38 +00:00
av%netscape.com
5ab221439c #43500, making the default plugin part of the build on Windows, r=pollmann 2000-07-05 22:51:34 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
edburns%acm.org
2a2fd82d21 a=av
bug=23775
This is the last bit of the checkin that George Drapeau started
for bug 23775.  He didn't finish due to conflicts with this file
and, being the good engineer that he is, he waited for the author
to return from vacation.

George said I could check this in under the same approval for
the rest of 23775.
2000-06-30 17:31:02 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
av%netscape.com
f873e68c74 Addressing 22954, patch by amusil, r=av 2000-06-29 21:48:09 +00:00
av%netscape.com
adf7a1d3bd Addressing 22954, patch by amusil, r=av 2000-06-29 21:42:13 +00:00
av%netscape.com
fd2b832699 Not part of the build yet. Default plugin. 2000-06-26 22:30:38 +00:00
av%netscape.com
1c2f557756 Addressing 41197, r=serge 2000-06-22 23:17:50 +00:00
av%netscape.com
ab2d009de3 Part of 23667 fix, r=sean@beatnik.com 2000-06-22 22:51:36 +00:00
av%netscape.com
2c527d1b10 Part of 23667 fix, r=nisheeth 2000-06-22 22:36:37 +00:00
rpotts%netscape.com
cf3e824449 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
av%netscape.com
6c45a7674d Addressing #23667 patch by sean@beatnik.com, r=av, a=brendan 2000-06-21 22:57:17 +00:00
av%netscape.com
569653202b Filtering plugins from old installation down to three as per decision in 23856, r=amusil 2000-06-21 01:44:55 +00:00
beard%netscape.com
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
edburns%acm.org
b3ebbaa566 bug=41197
r=av
a=waterson.

This checkin makes it possible to use the default plugin even
for Java.
2000-06-20 21:04:52 +00:00
av%netscape.com
8ee7f8d303 Fixing 38094 with patch by sean@beatnik.com, ra=brendan@mozilla.org 2000-06-16 22:27:16 +00:00
av%netscape.com
2198066fed Addressing bug #41276, r=sean@beatnik.com 2000-06-15 01:07:27 +00:00
rusty.lynch%intel.com
0a2c498177 (Re)Fix for bug #23546
a=brendan@mozilla.org
2000-06-14 17:58:49 +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
beard%netscape.com
62ace3f5bd project to compile nsIScriptablePlugin.idl for mccabe. bug #39911, a=beard, r=mccabe 2000-06-14 01:14:35 +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
av%netscape.com
42ff6eabbe Addressing #41276, r=sechevarria@beatnik.com 2000-06-13 23:23:13 +00:00
av%netscape.com
94bf01f465 Addressing #41276, r=edburns 2000-06-13 23:16:05 +00:00
slamm%netscape.com
ed7b6044f0 Ignore generated Makefile. 2000-06-05 21:40:07 +00:00
rusty.lynch%intel.com
c678310751 Fixed Linux support for viewing the current text as a label
in the plugin drawing rectangle.  This is part of a fix for
bug #25068. a=ekrock
2000-06-05 20:35:32 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com
2a25295dbd # 37239
r = rusty.lynch, a = brendan
OS/2 bringup - OS/2 doesn't go down these XP_PC paths
2000-06-02 22:32:53 +00:00
rusty.lynch%intel.com
79196ab9b1 Adding the SANE plugin as an example Linux XPCOM plugin.
This check-in related to bug #25068.  This isn't part of the build.
2000-06-02 04:11:45 +00:00
cls%seawood.org
f33a9d9028 Removing a leftover unused header that's killing a HPUX build. Bug 37025 r=dmose 2000-06-01 00:11:52 +00:00
mkaply%us.ibm.com
3c92f20cee # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - port memory leak fix - OS/2 only
2000-05-30 14:36:43 +00:00
av%netscape.com
50f4214fa6 nsbeta2+ fix for 17551, approved by PDT team, r=amusil 2000-05-26 22:14:39 +00:00
mkaply%us.ibm.com
66b4b578c4 # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - OS/2 only changes for new string
2000-05-25 14:39:17 +00:00
mkaply%us.ibm.com
67e14638ca # 37239
r = rusty.lynch, a = brendan
OS/2 bringup continues on M16 - Change XP_PC #ifdef to have !defined XP_OS2
2000-05-25 14:30:56 +00:00
warren%netscape.com
534c3f9212 Lowercased handleEvent 2000-05-25 08:29:10 +00:00
cls%seawood.org
a63714b4e6 More OS/2 fixes. Bug #34106 Batch 17 & 18. r=pavlov 2000-05-21 11:23:34 +00:00
warren%netscape.com
afbcb4a48c New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
sfraser%netscape.com
9d0f0840c6 Remove linkage with NetworkModular.shlb 2000-05-17 06:36:59 +00:00
cls%seawood.org
f8f7701766 Beos fix for Bug #38249. Thanks to Justin Morey <justin@68k.org> for the patch. 2000-05-17 04:38:13 +00:00
av%netscape.com
2dd7b6738c Removing binary 2000-05-16 06:01:46 +00:00
av%netscape.com
aca30a0c1c Adding project file 2000-05-16 05:39:18 +00:00
av%netscape.com
504adffd65 Removing corrupted project file 2000-05-16 05:38:29 +00:00
av%netscape.com
007fbfcc38 Not part of the build 2000-05-16 05:24:31 +00:00
av%netscape.com
35546bb744 Adding xpcom.lib to the plugin DK 2000-05-16 05:07:47 +00:00
av%netscape.com
4e57025d20 Adding xpcom.lib to the plugin DK 2000-05-16 05:00:34 +00:00
av%netscape.com
27a1a5c764 Removing wrong file 2000-05-16 04:36:29 +00:00
av%netscape.com
6c9b20c4e9 Adding xpcom.lib to the plugin DK 2000-05-16 04:30:46 +00:00
av%netscape.com
466d39a7bd Removing wrong file 2000-05-16 04:25:20 +00:00
av%netscape.com
1e86e07e29 Adding new project file 2000-05-16 04:07:02 +00:00
av%netscape.com
e63d20b897 removing old project file 2000-05-16 04:06:07 +00:00
av%netscape.com
2c6565607d Adding makefile to the plugin DK which would allow to pull headers from appropriate places 2000-05-16 03:59:14 +00:00
av%netscape.com
6eb96c8643 Adding xpcom.lib to the plugin DK 2000-05-16 03:55:35 +00:00
av%netscape.com
0c1b8af7ce Adding idl compiler to the plugin DK 2000-05-16 03:49:31 +00:00
sdv%sparc.spb.su
f9e1b07b33 sdv@sparc.spb.su
added a hook to notify Java DOM component
when a plugin is being instantiated
r=idk@eng.sun.com
2000-05-16 00:22:30 +00:00
jdunn%netscape.com
6ddb637571 adding XPCOM libs to LDOPTS since there are dependencies and AIX needs
to resolve all at link time
2000-05-15 21:13:05 +00:00
michael.lowe%bigfoot.com
ea7c30bd13 Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu 2000-05-14 09:18:43 +00:00
jim_nance%yahoo.com
318c844a28 Fix 37025. Slightly modified version of Rusty Lynches patch. r=jim_nance@yahoo.com 2000-05-13 12:39:16 +00:00
cls%seawood.org
0bb93593f4 Build the npsimple test plugin by default. Bug 38249 2000-05-13 07:42:31 +00:00
cls%seawood.org
ac8b98306f Added -DMOZ_WIDGET_<toolkit> for each toolkit that is enabled. Tweaked legacy plugin support so that it will compile when not using gtk. Bug 38145 2000-05-13 04:41:56 +00:00
av%netscape.com
307f4b983d Adding zero check on a char pointer before sending it to printf. 2000-05-12 00:46:07 +00:00
av%netscape.com
11b2e62a42 Plugin DK, not part of the build, hopefully no duplicate files this time. 2000-05-11 22:13:06 +00:00
av%netscape.com
67457c0759 Stanley Ho's patch to fix 19222 2000-05-10 23:29:21 +00:00
av%netscape.com
f55128b4ee This will fix 27558 2000-05-09 00:56:29 +00:00
av%netscape.com
b400dfc1ec Code clean up 2000-05-09 00:37:52 +00:00
av%netscape.com
9d284392c8 Fixing 38273 2000-05-08 01:14:29 +00:00
av%netscape.com
8db39e94c6 Fixing 38274 2000-05-08 01:08:15 +00:00
rusty.lynch%intel.com
adcaf14f83 Fix for bug #797. -r=av 2000-05-06 06:00:48 +00:00
mj%digicool.com
416e094610 Really backing out avs files this time. 2000-05-05 13:21:58 +00:00
av%netscape.com
2284b35757 Not part of the build 2000-05-05 05:33:18 +00:00
av%netscape.com
d8def353a3 Not a part of the build 2000-05-05 05:05:09 +00:00
av%netscape.com
80a224276f Fixing typo in the debug output string 2000-05-03 22:34:28 +00:00
sfraser%netscape.com
633589f48e Fix access paths to remove old freenav path. 2000-05-03 05:32:39 +00:00
av%netscape.com
a0ee0f3a8a Fixing release leaks for plugin instance, bug #37915 2000-05-02 22:27:58 +00:00
colin%theblakes.com
c7201a29ec Link in toolkit. r=cls 2000-05-02 10:19:23 +00:00
av%netscape.com
b60edde878 Cleaning up addref/release pairs for plugin instance 2000-04-26 06:19:26 +00:00
jim_nance%yahoo.com
e9b2c2f7ee Fix Tru64 bustage. r=blizzard 2000-04-25 02:22:51 +00:00
cls%seawood.org
8df9167f1c Build fixes for BeOS. Bug 36924 & bug 36926. Thanks to Justin Morey <justin@68k.org> for the patches. 2000-04-25 02:05:08 +00:00
hoa.nguyen%intel.com
d9959a44f8 Fixed a bug where the browser would die try to dlopen gtkxtbin
when loading a legacy plugin (on Linux.) This is still part of the
bug fix for #31012
-r=sspitzer
2000-04-23 01:01:23 +00:00
mscott%netscape.com
aedfead0f9 fix build breakage for windows and mac. 2000-04-22 21:47:01 +00:00
sspitzer%netscape.com
ffbebb6147 fix build bustage. 2000-04-22 21:41:59 +00:00
hoa.nguyen%intel.com
6ceb9673f4 Adding legacy plug-in support for Linux. These changes depend on a new gtkxtbin library.
This applies to bug #31012. r=blizzard
2000-04-22 20:50:22 +00:00
av%netscape.com
87c1849b52 Fixing memory leak during start up, #35912 2000-04-22 00:04:24 +00:00
av%netscape.com
8527043efd #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h 2000-04-18 21:44:56 +00:00
jband%netscape.com
69515eea3b NOT PART OF SEAMONKEY BUILD. Improve sample to show calling of [scriptable] xpcom interface methods directly from JavaScript using xpconnect. This should work on all platforms, but currently the visuals in the plugin are only updated on Windows. See bug 32150. r=av 2000-04-16 18:51:02 +00:00
mstoltz%netscape.com
6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
av%netscape.com
942eabd0da Eliminated creation of invalid pointers which causes crash for some plugins, r=serge 2000-04-13 22:34:49 +00:00
tbogard%aol.net
630216d09d When the object goes away due to the last ref on the object, make sure to Destroy() so we free everything up that is usually done there. 2000-04-13 02:52:34 +00:00
jband%netscape.com
bb561d08ba NOT PART OF SEAMONKEY BUILD. Make plugin sample work on windows. It looks like this has been unable to compile on windows since someone added Unix only includes outside the #ifdef XP_UNIX block about *nine* months ago. There were also a few places where it was causing crashes. I'm not very confident in the rest of this code. 2000-04-12 08:35:15 +00:00
scc%netscape.com
c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
scc%netscape.com
7f12694e41 making string conversions explicit 2000-04-03 09:20:26 +00:00
cls%seawood.org
cd487cbabb Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
av%netscape.com
8f89e6a0ae Fix for 33536, r=serge 2000-03-29 23:58:42 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
rickg%netscape.com
794e353349 removed reference to nsString2 2000-03-26 23:30:52 +00:00