2466 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
b45d8cbddd OS/2 Tinderbox breakage
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr


git-svn-id: svn://10.0.0.236/trunk@79904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:32:10 +00:00
jeff.dyer%compilercompany.com
4cdc60c355 #45692:r=edburns,a=brendan. Backing out latest change.
git-svn-id: svn://10.0.0.236/trunk@79890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:29 +00:00
jeff.dyer%compilercompany.com
3e3315c27f #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security. Second attempt.
git-svn-id: svn://10.0.0.236/trunk@79880 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:17:46 +00:00
jeff.dyer%compilercompany.com
46c56443e5 #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@79879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 13:48:20 +00:00
jband%netscape.com
3b9eecb7ec backing out check in from jin_nance that broke Mac
git-svn-id: svn://10.0.0.236/trunk@79876 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:42:54 +00:00
jim_nance%yahoo.com
ff4e76f2a7 Fixed 50782. Multiply defined symbols cause Tru64 5.0 to crash.
Found and fixed by harbaugh.  Fix improved by tor, r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79871 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:18:40 +00:00
av%netscape.com
c6e1678052 Fix for 44692, allowing default plugin guess about mime type by extension, a=mscott
git-svn-id: svn://10.0.0.236/trunk@79858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:31:29 +00:00
mstoltz%netscape.com
eddbf0c4fe bug 24765, hooking up necko file cache to jar protocol. Hopefully without leaks this time. Also fixed leak in nsJARURI. r=beard, warren
git-svn-id: svn://10.0.0.236/trunk@79857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:21:18 +00:00
av%netscape.com
43504d4fc0 Fix for 53399, check for null-pointer to avoid crash, by sean, r=av, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:17:28 +00:00
ccarlen%netscape.com
510117945d This lib is being used to fix #48981
This change is for a whole in the Unix implementation of nsIFile
r=bhuvan, mscott


git-svn-id: svn://10.0.0.236/trunk@79814 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:43:12 +00:00
av%netscape.com
c82a187603 This should fix the redness
git-svn-id: svn://10.0.0.236/trunk@79800 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:48:05 +00:00
av%netscape.com
8c26ff9682 Fixing #36089. Allowing Mac browse through both 'Plugins' and 'Plug-ins' folders, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79797 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:58:46 +00:00
ccarlen%netscape.com
3c38de7ee0 Fix for #52181
r=dougt, a=buster


git-svn-id: svn://10.0.0.236/trunk@79761 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:45:31 +00:00
warren%netscape.com
60fc4becf1 Backing out jar protocol change because it introduced a big memory leak on tinderbox test. a=jag
git-svn-id: svn://10.0.0.236/trunk@79752 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:26:07 +00:00
mstoltz%netscape.com
2767b34064 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79711 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:01:16 +00:00
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
edburns%acm.org
e9408a09a9 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


git-svn-id: svn://10.0.0.236/trunk@79618 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 09:27:54 +00:00
waterson%netscape.com
ac48abcd87 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
git-svn-id: svn://10.0.0.236/trunk@79603 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:44:19 +00:00
tor%cs.brown.edu
344c4a3a48 Lie in ImgDWriteReady as a minimal impact workaround until
41831 is fixed.  This was causing JNG images not to display
out of the cache, and probably occasionally a failed first
load.  r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79548 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:03:31 +00:00
tor%cs.brown.edu
8530ab1bab Small change to make a debug message from ilclient.cpp more
accurate, and only print it when compiled in debug mode (was
appearing when switching skins).
r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79546 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:54:29 +00:00
mkaply%us.ibm.com
56683b9811 #53096
r=akkana, a=brendan
Can't override accelerators properly which we will be doing on OS/2


git-svn-id: svn://10.0.0.236/trunk@79475 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:04:07 +00:00
warren%netscape.com
d2adc229cc Setting release timeout inside lock -- avoiding race condition.
git-svn-id: svn://10.0.0.236/trunk@79417 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:08:22 +00:00
sspitzer%netscape.com
239ccb5a87 whoops, the default is supposed to be false, not true.
git-svn-id: svn://10.0.0.236/trunk@79412 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:35:40 +00:00
sspitzer%netscape.com
9f2af1fdf0 fix for #22163 from Decklin Foster.
set a default pref to prevent the JS exception.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79411 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:27:09 +00:00
warren%netscape.com
0bccd6825d Backing mstoltz out to get things back up and running with jar packaging. Also, I don't approve of the changes made to nsJARURI.cpp
git-svn-id: svn://10.0.0.236/trunk@79409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 02:18:00 +00:00
mozilla.BenB%bucksch.org
f5321daaea 39372: Changing default to "blockquoting" plaintext (using vertical bars (instead of ">"s) for nested quotes during reply to plaintext msgs). r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@79368 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:07:28 +00:00
sspitzer%netscape.com
8b0f81b576 fix for bug #51267. intermittent failure when loading files from jars.
the problem is that nsZipArchive and zlib are not thread safe.
for now, add a lock to prevent multiple threads from getting into that code
r=warren,dveditz
super-end-of-game-review=mscott


git-svn-id: svn://10.0.0.236/trunk@79367 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:56:20 +00:00
mstoltz%netscape.com
5fddebe063 Better bustage fix without leak r=scc
git-svn-id: svn://10.0.0.236/trunk@79362 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:12:36 +00:00
mstoltz%netscape.com
d0300ddc1e Fixing bustage. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79359 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:38:52 +00:00
mstoltz%netscape.com
6191db92e2 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79353 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:27:05 +00:00
dveditz%netscape.com
1df0ee9d48 Eliminate "packageregistry" file on unix (bug 33863), patch by Peter "jag" Annema
<disttsc@bart.nl>, r=dveditz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79280 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:19:53 +00:00
joki%netscape.com
5582940255 Part of fix for bug 5693, add new pref to allow no firing of hierarchical :hover state if performance slowed. r:jst.
git-svn-id: svn://10.0.0.236/trunk@79274 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:58 +00:00
av%netscape.com
399c390ec8 Part of 33105 fix, added option not to show Bad Plugin warning again, r=serge
git-svn-id: svn://10.0.0.236/trunk@79236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:58:17 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
pnunn%netscape.com
b47c567fe2 bug#51249: add chrome to FlushCache. pnunn, r:syd.
git-svn-id: svn://10.0.0.236/trunk@79216 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:09:18 +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
dveditz%netscape.com
7d6149de7f bug 51056 handle unreadable prefs file, patch from gemal@gemal.dk, r=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:12:59 +00:00
ccarlen%netscape.com
bf946dc3cd First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses.
r=racham


git-svn-id: svn://10.0.0.236/trunk@79127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:40:35 +00:00
ccarlen%netscape.com
4f7eba1ffc First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses.
r=racham


git-svn-id: svn://10.0.0.236/trunk@79125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:35:28 +00:00
jdunn%netscape.com
8a94c38ead adding newline at end of file (required by hp)
git-svn-id: svn://10.0.0.236/trunk@79114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:50:50 +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
av%netscape.com
c415ffe1a1 Fixing Mac bustage
git-svn-id: svn://10.0.0.236/trunk@79093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:16:07 +00:00
av%netscape.com
6cd48645de Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge
git-svn-id: svn://10.0.0.236/trunk@79086 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:13:56 +00:00
av%netscape.com
85da22b6b9 Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge
git-svn-id: svn://10.0.0.236/trunk@79085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:03:37 +00:00
av%netscape.com
ebb6af908a Part of 33105 fix, first time in, macro for safe plugin calls implemented, r=serge
git-svn-id: svn://10.0.0.236/trunk@79083 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:56:28 +00:00
matt%netscape.com
7106079055 fix for bug 44036
r=pav


git-svn-id: svn://10.0.0.236/trunk@79060 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:52:50 +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
a7679fd4d8 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@78989 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:09:38 +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
scc%mozilla.org
c0bfda9230 bug #50811, a=brendan, on behalf of edburns@sun.com
git-svn-id: svn://10.0.0.236/trunk@78983 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:45:33 +00:00