Граф коммитов

2646 Коммитов

Автор SHA1 Сообщение Дата
av%netscape.com 35d797f992 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
anthonyd%netscape.com 8793c262a1 fix for 58012 - selection behaviour not correct in unix
r=mcafee,akkana
sr=shaver
a=brendan
2000-10-30 23:07:54 +00:00
mkaply%us.ibm.com ee9945ec30 #58462
r=jkobal, a=blizzard
OS/2 specific code to fix some plugin problems
2000-10-30 21:06:11 +00:00
dbaron%fas.harvard.edu 873ec04990 Since source files are no longer (thankfully!) copied around here, they don't need to be in the .cvsignore. r=cls@seawood.org b=49937 2000-10-29 21:21:48 +00:00
warren%netscape.com 4189314fdb 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
mkaply%us.ibm.com 1bef732366 OS/2 TB breakage
Stab in the dark here
This #ifdef is probably bad anyway. Is it checking for a BSD build system? We should have XP_BSD or something.
2000-10-28 15:29:50 +00:00
warren%netscape.com fe3b049bd4 Attempting to fix os2 2000-10-28 10:30:19 +00:00
warren%netscape.com 01c64780f1 Fixing printf problem with RAPTOR_STOPWATCH_TRACE 2000-10-28 10:14:36 +00:00
warren%netscape.com 44e05cde24 Attempting to make solaris happier with ?: 2000-10-28 04:51:12 +00:00
warren%netscape.com 4e7399a07c undef'd printf for FreeBSD 2000-10-28 04:48:01 +00:00
warren%netscape.com 24109bafe3 Removing nslog.h from .c files 2000-10-28 01:11:36 +00:00
warren%netscape.com bd546c8cef Fixed PR_LOG problem. 2000-10-28 01:00:10 +00:00
warren%netscape.com ba7f723821 Adding diffs from obsolete nsPluginsDirUNIX.cpp to nsPluginsDirUnix.cpp 2000-10-28 00:52:29 +00:00
warren%netscape.com 463b8a8354 re-removing nsPluginsDirUNIX.cpp 2000-10-28 00:47:32 +00:00
warren%netscape.com 3da5364804 readding nsPluginsDirUNIX.cpp 2000-10-28 00:47:08 +00:00
warren%netscape.com acfef67965 Fixing printf problem. 2000-10-28 00:40:49 +00:00
cls%seawood.org dd794d1dba removing old file again 2000-10-28 00:18:20 +00:00
warren%netscape.com 4e1ac5ce9d Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com 6e35f97e31 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 9250a4d6fa 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
pinkerton%netscape.com 887a36a67a changes for Carbon r=pchen/a=sfraser. bug# 42100 2000-10-27 20:40:47 +00:00
edburns%acm.org d411cfc046 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
dougt%netscape.com caf5487c76 removing Makefile and adding Makefile.in 2000-10-24 17:16:20 +00:00
mscott%netscape.com 4b5a54deb0 Bug #48403 --> don't allow JS running in a mailnews sand box to change the name of it's containing iframe.
this code was contributed by mstoltz.
r=beard, sr=mscott
2000-10-24 00:52:02 +00:00
av%netscape.com 176edd35e7 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
dbragg%netscape.com 72e04ffaef Fix for rtm++ bug 55259. Already checked in to branch and tested. Forgot to check in to trunk. r=dveditz, sr=mscott. Now only getting system clock seed once. 2000-10-20 19:11:28 +00:00
dougt%netscape.com 82c3a52419 b=46775. Adding ablity to generate a static module based on dougt/cls's work. There is a disagreement between us and warren about how exactly to do this. Since I have a working solution, I am checking this onto our embedding branch. This disagreement must be resolved before these changes land on the mozilla trunk. 2000-10-19 20:41:44 +00:00
jeff.dyer%compilercompany.com 14e9b625f8 Fix redness by removing incorrect conversion. 2000-10-19 12:17:54 +00:00
jeff.dyer%compilercompany.com feccfe330f b=53849, r=mstoltz@netscape.com,edburns@acm.org, a=brendan@mozilla.org.
This fix makes Liveconnect smarter about getting a security principal
when verifying that call from an applet to JS should be allowed.
2000-10-19 11:51:22 +00:00
tor%cs.brown.edu beb95ef65f Bug 19283 - blacken transparent pixels in 1-bit masks. This was
causing problems with binary alpha PNGs on Windows.  Patch from
Chris244@aol.com. r=pnunn, sr=tor
2000-10-18 18:05:41 +00:00
peterlubczynski%netscape.com 7324d4a9dc 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 d5254a9b32 Use same define for all platforms. Fix for bug #45697 r=av, sr=scc, a=rtm++. 2000-10-17 18:04:47 +00:00
shaver%mozilla.org 91440fb919 #24612, make prefs observable from JS and other XPCOM bindings, r/sr=alecf 2000-10-17 17:08:00 +00:00
rpotts%netscape.com 1b2ed3e1a8 bug #56333 (r=pnunn, sr=tor@cs.brown.edu). il_containers are sometimes leaked when the image load is interrupted 2000-10-17 06:09:36 +00:00
mkaply%us.ibm.com 51268b8692 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 7c5779c57a 50523: Remove (most) Netscape branding. a=av, sr=scc. 2000-10-15 22:03:54 +00:00
dprice%netscape.com 52c7d6a5d7 backing out earlier changes for 53312 2000-10-14 01:15:24 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
dprice%netscape.com 545c85baf0 removing debug statement. 2000-10-13 21:00:04 +00:00
dprice%netscape.com 2a10bf939f added memory flusher for jar cache 53312
a=warren SR=warren,jband
2000-10-13 20:42:46 +00:00
sdagley%netscape.com 03b5c8c4fd 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
kin%netscape.com 03bc6a4d6b Fix for bugscape bug #2698 (Need to wire up Spellchecker language prefs)
mozilla/odules/libpref/src/init/all.js
      - Added "spellchecker.dictionary" default pref and removed old 4.x spellchecker prefs.

    mozilla/editor/base/nsEditorShell.cpp
      - Added code to InitSpellChecker() and UninitSpellChecker() to get and
        set the "spellchecker.dictionary" pref.

r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-13 13:36:22 +00:00
pavlov%netscape.com b2c69aac0d 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 69f1a60ad8 Fix Un*x bustage (typo in last patch, oops, sorry!) 2000-10-12 04:49:28 +00:00
pollmann%netscape.com 1d47792f86 Fix AIX build bustage - these constants are already defined in system header files 2000-10-12 04:07:45 +00:00
pollmann%netscape.com 6abfb3354c 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 df4d125855 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 eb21210d14 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
mkaply%us.ibm.com 5494f60f09 #56011
r=jkobal, a=tor
Remove unnecessary XP_OS2 code in libimg
2000-10-10 22:16:34 +00:00
pollmann%netscape.com c53f51da77 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
nhotta%netscape.com bc3f550cec Moved "mailnews.start_page.url" from .js to .property, bug 55011, r=tao, sr=alecf. 2000-10-06 22:58:48 +00:00
nhotta%netscape.com 8e65cbcede Added getDefaultLocalizedUnicharPref, bug 55011, r=tao, sr=alecf. 2000-10-06 03:49:15 +00:00
edburns%acm.org 03e77f2738 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
bienvenu%netscape.com 7882d90f77 apply patch to fix deref of null ic pointer from b3 branch r=pnunn 2000-10-05 01:06:29 +00:00
morse%netscape.com e56cf1f693 bug 52674, changing url for privacy tutorial, r=dveditz,ben, a=verah,ben,dveditz,mcarlson,matt 2000-10-04 02:57:25 +00:00
mozilla.BenB%bucksch.org 03941feac7 55030: By default, do not send user's email address as anon. FTP password. r=mstoltz, a=brendan 2000-10-03 22:38:31 +00:00
jband%netscape.com 5c3290ae00 NOT PART OF THE BUILD. new code for testing the jar cache 2000-10-01 00:10:51 +00:00
pnunn%netscape.com fea31de3a0 bug#52390: fixes majick disappearing chrome images. (Turns off PIN_CHROME).
Checked into Commercial branch 09/29/00. pnunn.
2000-09-30 00:11:41 +00:00
av%netscape.com 9241d709f1 Fixing 53451. Added retun failure when plugin retuns zero on NPP_WriteReady call, r=waterson 2000-09-29 00:46:18 +00:00
mkaply%us.ibm.com 7ed61ce3a3 #53402
r=mkaply, a=blizzard
We had a really bad os2pref.js from 4.61
2000-09-28 23:20:09 +00:00
sgehani%netscape.com 1402d1a2c7 Merging pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser
2000-09-28 22:52:51 +00:00
valeski%netscape.com b28c3688ca 54508. r=edburns@acm.org, a=brendan@mozilla.org. we were installing the oji.dll in the bin dir *and* the bin/components dir which was redundant. oji.dll is a component and doesn't need to be in the bin dir. 2000-09-28 22:47:48 +00:00
cls%seawood.org 4f1d701dd9 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 49cdc237c9 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 2ce2a1ae17 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
pchen%netscape.com a4ec745757 Backing out jim_nance's checkins, breaks win32 build, also has #ifdef
XP_MAC which is crufty, should be able to do this xp
2000-09-27 22:21:05 +00:00
pchen%netscape.com fe02f55638 Backing out jim_nance's checkins, break win32 build, also have #ifdef
XP_MAC which is crufty, should be able to do this xp
2000-09-27 22:16:50 +00:00
nisheeth%netscape.com 9c795a60b8 r=joki. Switching off the "nglayout.events.showHierarchicalHover" pref by default. This was enabled late in the beta 3 cycle and is causing performance problems with mousing over chrome. No code change is required. 2000-09-27 14:37:55 +00:00
jim_nance%yahoo.com f7309af4bf Workaround for bug 50782. The first attempt to fix this was r=pnull
a=brendan r=brendan.  Unfortunatly it broke the Mac.  This is the same
patch with #ifdefs for the mac.  This is r=scc
2000-09-27 11:48:54 +00:00
mkaply%us.ibm.com 59b0d7d700 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
2000-09-22 17:32:10 +00:00
jeff.dyer%compilercompany.com 20ddff8a16 #45692:r=edburns,a=brendan. Backing out latest change. 2000-09-22 15:01:29 +00:00
jeff.dyer%compilercompany.com f7e8335cf3 #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security. Second attempt. 2000-09-22 14:17:46 +00:00
jeff.dyer%compilercompany.com d5d760afb0 #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security. 2000-09-22 13:48:20 +00:00
jband%netscape.com 7b12ae2349 backing out check in from jin_nance that broke Mac 2000-09-22 10:42:54 +00:00
jim_nance%yahoo.com 8a3c446f30 Fixed 50782. Multiply defined symbols cause Tru64 5.0 to crash.
Found and fixed by harbaugh.  Fix improved by tor, r=pnunn, a=brendan
2000-09-22 09:18:40 +00:00
av%netscape.com 2bee18f73b Fix for 44692, allowing default plugin guess about mime type by extension, a=mscott 2000-09-22 06:31:29 +00:00
mstoltz%netscape.com 56f79864cd bug 24765, hooking up necko file cache to jar protocol. Hopefully without leaks this time. Also fixed leak in nsJARURI. r=beard, warren 2000-09-22 06:21:18 +00:00
av%netscape.com 4f7a03ad97 Fix for 53399, check for null-pointer to avoid crash, by sean, r=av, a=waterson 2000-09-22 06:17:28 +00:00
ccarlen%netscape.com 6424999288 This lib is being used to fix #48981 This change is for a whole in the Unix implementation of nsIFile r=bhuvan, mscott 2000-09-22 03:43:12 +00:00
av%netscape.com c320e65297 This should fix the redness 2000-09-22 01:48:05 +00:00
av%netscape.com e5f792c5dc Fixing #36089. Allowing Mac browse through both 'Plugins' and 'Plug-ins' folders, a=waterson 2000-09-22 00:58:46 +00:00
ccarlen%netscape.com 9a12ae8988 Fix for #52181 r=dougt, a=buster 2000-09-21 13:45:31 +00:00
warren%netscape.com b09c156dca Backing out jar protocol change because it introduced a big memory leak on tinderbox test. a=jag 2000-09-21 08:26:07 +00:00
mstoltz%netscape.com a2483af6c5 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren. 2000-09-21 05:01:16 +00:00
warren%netscape.com 075350b1c8 Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani 2000-09-20 19:35:24 +00:00
edburns%acm.org e3a990319e 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 c71e04b66a 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
tor%cs.brown.edu c92f2f7540 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
2000-09-19 22:03:31 +00:00
tor%cs.brown.edu 00e5bd9c37 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
2000-09-19 21:54:29 +00:00
mkaply%us.ibm.com 2f286a1708 #53096
r=akkana, a=brendan
Can't override accelerators properly which we will be doing on OS/2
2000-09-18 23:04:07 +00:00
warren%netscape.com a867fdff6f Setting release timeout inside lock -- avoiding race condition. 2000-09-18 07:08:22 +00:00
sspitzer%netscape.com 006ca13b13 whoops, the default is supposed to be false, not true. 2000-09-18 03:35:40 +00:00
sspitzer%netscape.com 7adb18e21c fix for #22163 from Decklin Foster.
set a default pref to prevent the JS exception.
r=sspitzer
2000-09-18 03:27:09 +00:00
warren%netscape.com d822c7feb1 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 2000-09-18 02:18:00 +00:00
mozilla.BenB%bucksch.org 9146f48ca9 39372: Changing default to "blockquoting" plaintext (using vertical bars (instead of ">"s) for nested quotes during reply to plaintext msgs). r=a=alecf 2000-09-15 22:07:28 +00:00
sspitzer%netscape.com ac6409f8a2 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
2000-09-15 21:56:20 +00:00
mstoltz%netscape.com 1e1a7ce883 Better bustage fix without leak r=scc 2000-09-15 21:12:36 +00:00
mstoltz%netscape.com 6576902c36 Fixing bustage. r=dveditz 2000-09-15 20:38:52 +00:00
mstoltz%netscape.com f28c4273e9 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren. 2000-09-15 19:27:05 +00:00
dveditz%netscape.com 8b06519264 Eliminate "packageregistry" file on unix (bug 33863), patch by Peter "jag" Annema
<disttsc@bart.nl>, r=dveditz@netscape.com
2000-09-15 06:19:53 +00:00
joki%netscape.com 48699a677a Part of fix for bug 5693, add new pref to allow no firing of hierarchical :hover state if performance slowed. r:jst. 2000-09-15 06:13:58 +00:00
av%netscape.com 5ed02e309b Part of 33105 fix, added option not to show Bad Plugin warning again, r=serge 2000-09-14 23:58:17 +00:00
rayw%netscape.com d39d9e6d59 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
2000-09-14 23:20:49 +00:00
pnunn%netscape.com 8638d01f7d bug#51249: add chrome to FlushCache. pnunn, r:syd. 2000-09-14 23:09:18 +00:00
edburns%acm.org e97ed9b418 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
dveditz%netscape.com ada8b33ac2 bug 51056 handle unreadable prefs file, patch from gemal@gemal.dk, r=dveditz@netscape.com 2000-09-14 20:12:59 +00:00
ccarlen%netscape.com b41f8e83d5 First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses. r=racham 2000-09-14 13:40:35 +00:00
ccarlen%netscape.com 0d1006dc68 First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses. r=racham 2000-09-14 13:35:28 +00:00
jdunn%netscape.com 2ccff726b7 adding newline at end of file (required by hp) 2000-09-14 10:50:50 +00:00
edburns%acm.org b344cd087c 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 6bcd0917f7 Fixing Mac bustage 2000-09-14 07:16:07 +00:00
av%netscape.com fb3d0d2528 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 317b9c70f1 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 975d331f55 Part of 33105 fix, first time in, macro for safe plugin calls implemented, r=serge 2000-09-14 05:56:28 +00:00
matt%netscape.com f140600326 fix for bug 44036
r=pav
2000-09-14 04:52:50 +00:00
rayw%netscape.com 6cc70ebd6c 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 76180946b3 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 468228ae4a 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 7ddb3cc9fb bug #50811, a=brendan, on behalf of edburns@sun.com 2000-09-13 06:45:33 +00:00
edburns%acm.org 667974e1b0 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 d2b859ab77 if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
cls%seawood.org 15feb7abfa Change MDDEPDIR to fix a VPATH issue in srcdir builds. 2000-09-12 23:37:16 +00:00
ruslan%netscape.com 06bc8d6e48 proxy.ssl.connect pref should be always set to true; a=gagan 2000-09-12 21:42:54 +00:00
jeff.dyer%compilercompany.com 14f8ce0457 FALSE -> PR_FALSE 2000-09-12 12:44:48 +00:00
jeff.dyer%compilercompany.com f4f222ef74 FALSE -> PR_FALSE 2000-09-12 12:22:52 +00:00
jeff.dyer%compilercompany.com 0442ab814b b=45692 r=edburns a=brendan: Enable liveconnect security. 2000-09-12 11:47:42 +00:00
warren%netscape.com 40c22924c1 Fixed error code. 2000-09-12 05:11:11 +00:00
dimator%netscape.com 768a93fd39 Changing default collect address book maximum from 200 to 700 cards. r=putterman 2000-09-12 01:53:20 +00:00
cls%seawood.org 1aa18eee7e OS_ARCH does not set release numbers 2000-09-11 08:08:24 +00:00
cls%seawood.org 3ecc59dd9e Remove unneeded dep that's breaking old gnu makes 2000-09-11 06:26:48 +00:00
cls%seawood.org 2f4b60f242 Fixing problem of standalone compoennts always building on every build pass. Adding objs.mk files to give better dependency handling. Bug #49937 2000-09-11 04:13:16 +00:00
cls%seawood.org f2c4a76007 Make the ifdef match the comment here as well 2000-09-11 01:22:45 +00:00
ccarlen%netscape.com 2794c73899 Fix for Win95 machines which don't have APP_DATA dir r=racham 2000-09-09 15:31:27 +00:00
rich.burridge%sun.com 779ff70497 Fix to enable XPInstall to build/run on the Solaris platform.
r=sgehani@netscape.com  a=brendan@mozilla.org
BugId: #43080.
2000-09-09 14:18:48 +00:00
edburns%acm.org 7055c7a60f 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
dimator%netscape.com b4f2e0fccf Adding aging to collected address book. bug 46343. r=mscott 2000-09-08 22:56:08 +00:00
jband%netscape.com c283db726b warren's fix for the new/free mismatch undid kin's fix for the same problem. Also fix an off by one in the backwards 'for' loop. r=warren 2000-09-08 09:36:35 +00:00
warren%netscape.com b9a64aa4e5 Bug 50844. Fixed mismatched memory free. 2000-09-08 04:39:17 +00:00
sfraser%netscape.com 583ac0b904 Fix build for kandrot. Export NR_RegSetBufferSize from libreg. 2000-09-08 03:52:11 +00:00
kandrot%netscape.com c39391e476 Fix for bug #46709. Missed this file in checkin.
r=rayw
2000-09-08 02:44:13 +00:00
kandrot%netscape.com b709007994 Fix for bug #46709.
Allows buffer size of registry to change.

r=rayw
2000-09-08 01:53:15 +00:00
kandrot%netscape.com b80946e1ce Fix for bug #46709
Allows registry buffer size to be modified.  Increases buffer size during
initial start up, then decreases size.

r=rayw
2000-09-08 01:51:45 +00:00
mscott%netscape.com da8a396757 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
radha%netscape.com 98ded18f57 Fix for bug # 43871. Pref to disable/enable autocomplete. r=ducarroz. 2000-09-07 21:19:36 +00:00
kin%netscape.com 36be9bd825 Fix for bug #50927: UMR and FMM: nsJARChannel::GetContentType().
Added check for NULL mJAREntry and we now free filename with 'delete'.
r=warren@netscape.com
2000-09-07 19:31:10 +00:00
morse%netscape.com f1b7944434 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
tor%cs.brown.edu 0e8ec0a86f Output console warning if chrome images are abusing alpha (8-bit
channel to represent binary alpha or fully opaque 1-bit alpha).
r=bryner, a=brendan.
2000-09-06 04:42:38 +00:00
pnunn%netscape.com 00b9ebd001 bug#50778: not a fix, but ifdef code to switch "pin chrome" on&off. 2000-09-06 00:23:46 +00:00
cata%netscape.com ea67db35c1 Fix for bug #47341 r=ftang a=ftang. 2000-09-05 23:54:59 +00:00
mcafee%netscape.com 65ebab34f8 Removing unused pref (51246). r=pavlov 2000-09-05 23:03:39 +00:00