Commit Graph

2734 Commits

Author SHA1 Message Date
bratell%lysator.liu.se
80e0e6f5e9 Fix for bug 62031. Make it possible to display format=flowed mails as normal text/plain mails. r=nhotta@netscape.com sr=bienvenu@netscape.com 2000-12-19 19:43:12 +00:00
blakeross%telocity.com
dbac2980be Fix 63170: crash in [add|remove]Observer if either argument is null. r=dveditz sr=alecf 2000-12-19 08:14:09 +00:00
blakeross%telocity.com
40af7f2ecb Fix 58141: turn on internet keywords by default. r=doron sr=alecf 2000-12-18 21:46:54 +00:00
ben%netscape.com
385fd33102 make middle mouse click on link open in new window on all platforms. r=kandrot, a=jst 2000-12-13 07:29:35 +00:00
mstoltz%netscape.com
4489cc6479 Second half of bug 58538. Allowing access to cross-origin DOM exceptions. r=jband, sr=brendan. 2000-12-12 23:10:07 +00:00
av%netscape.com
397475c0d3 Addressing bug 60064, patch by lsv@sparc.spb.su, sr=blizzard, a=av 2000-12-12 01:51:12 +00:00
peterlubczynski%netscape.com
46d8aabec1 Set lastModified attribute for a plugin stream b=58134 a=av sr=buster 2000-12-12 01:00:28 +00:00
peterlubczynski%netscape.com
589ae643ef Prevents the call into the plugin if the plugin hasn't been already
initilized. bug=58823 r=av
2000-12-11 23:00:45 +00:00
peterlubczynski%netscape.com
d061474443 Set unknown length of stream to -1 bug 59571 a=av sr=buster 2000-12-11 22:54:54 +00:00
alecf%netscape.com
1489d1c05c fix for #59815, as submitted in bug #55293 by bienvenu@netscape.com
r=alecf, sr=waterson (in 55293)
2000-12-11 22:22:20 +00:00
dbaron%fas.harvard.edu
cafe8ecc88 Fix leak of nsMemoryImpl from ns4xPlugin::CreatePlugin. b=56584 r=av@netscape.com sr=waterson@netscape.com 2000-12-09 04:06:49 +00:00
tor%cs.brown.edu
2596eb28ae License file was accidentally omitted from this external library.
r=blizzard, sr=cls
2000-12-05 22:06:12 +00:00
av%netscape.com
bb2df1a0d2 Fixing 18568, addidng some QT specific stuff to avoid build errors, patch by johng@corel.com, sr=brendan, r=pollmann a=av 2000-11-30 22:01:45 +00:00
av%netscape.com
c481af889b Fixing bug 19617, prevent the default plugin to display multiple dialogs for the same mime type, patch by lsv@sparc.spb.su, sr=blizzard, a=av 2000-11-30 21:32:07 +00:00
hyatt%netscape.com
ce03c50a5b Adding pref for XBL-based form controls. r=danm, a=ben 2000-11-30 00:07:09 +00:00
danm%netscape.com
ecd9d0c4b3 store dialog pointer in safe place so it can be retrieved in the OK handler. bug 55261. r=av,hyatt,pavlov 2000-11-29 23:44:52 +00:00
mkaply%us.ibm.com
65956840c2 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-29 23:28:04 +00:00
tor%cs.brown.edu
5d08ee26c7 Bug 60789 - update libmng snapshot and handle alpha depth
requirements better.
2000-11-29 06:45:16 +00:00
mkaply%us.ibm.com
8329627e43 #58668
r=cls
Makefile change so OS/2 doesn't use buffered I/O
Need to fix buffered I/O to not use fopen
2000-11-21 23:15:10 +00:00
cls%seawood.org
434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
danm%netscape.com
2c6d578e14 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode. 2000-11-18 02:13:42 +00:00
edburns%acm.org
00e236caf0 bug=40088
r=edburns
sr=shaver
Author = Xiaobin Lu.
2000-11-17 22:22:47 +00:00
alecf%netscape.com
14e19da43a fix tree bustage 2000-11-17 21:31:25 +00:00
darin%netscape.com
2578f4f795 Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott. 2000-11-15 22:21:46 +00:00
mkaply%us.ibm.com
63fb4378ea #58462
r=av, sr/a=none
OS/2 plugins need events too
2000-11-14 00:40:58 +00:00
mkaply%us.ibm.com
dae8cdf133 #59494
Back out timer change
2000-11-13 22:52:08 +00:00
mkaply%us.ibm.com
a64a03c486 #58491
r=av, sr/a=scc
Change legacy plugin interfaces to C not C++
2000-11-13 21:40:27 +00:00
bnesse%netscape.com
af0e6c13c3 Load the library on all platforms if it hasn't already been loaded. Fix for bug #57885 r=av, sr=waterson. 2000-11-13 18:42:43 +00:00
disttsc%bart.nl
87187c390c Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf 2000-11-09 20:30:35 +00:00
dbaron%fas.harvard.edu
79ce786050 Fix leak of arrays allocated in GetPluginInfo. r=av@netscape.com sr=brendan@mozilla.org b=59159 2000-11-08 03:10:37 +00:00
dprice%netscape.com
1a0d72687e Making the jar cache test more flexable.
Adding all-tests:: rule to makefile.win
2000-11-08 01:30:31 +00:00
mkaply%us.ibm.com
e887a7ada3 �55997
r=pnunn, sr=brendan
Don't set MINIMUM_DELAY_TIME unless delay_time was > 0
2000-11-06 20:08:29 +00:00
jj%netscape.com
d35236198f First Checked In. 2000-11-04 00:42:32 +00:00
bnesse%netscape.com
3d81709e9f First Checked In. 2000-11-04 00:11:44 +00:00
rpallath%eng.sun.com
6af25acfae r=a=edburns
Updates
 build/Makefile.win              (create dir. bin/classes)
 build/Makefile                  (create dir. bin/classes)
 build/compile.mk                (DEBUG support)
 build/rules.mk                  (Changed order of LIBS and add MOZ_DEBUG flag)
 build/test.html                 (updated test.html)
 build/README                    (updated README)
 src/JNI/Makefile                (Changed JAR action)
 src/JNI/Makefile.win            (Changed JAR action)
 src/include/ojiapitests.h       (Resolve bug 52340)
 src/JNI/ClassOperation/Makefile (Add FindClass_8 Test)


New files
 README (Updated README)
 FAQ (Frequently asked questions)
 script/test.html (Default test.html to be loaded for all test cases)
 script/OJIValidTests.lst (List of Tests Cases that have to PASS)
 src/Killer/kill.bat  (compilation script for killer.exe)
 src/Killer/killer.cpp.win98 (for killing VC++ debug window for win98)
2000-11-03 20:05:16 +00:00
mkaply%us.ibm.com
407f3c54a9 #55813
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location
2000-11-01 20:04:59 +00:00
dprice%netscape.com
b080fee573 fix for 53312 and 55893 adds a memory flusher and fixes a race condition in
zip cache code.  SR=waterson R=warren,jband
2000-10-31 22:44:20 +00:00
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
anthonyd%netscape.com
235d59fc58 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
1aff5c6c56 #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
9cf6137ae9 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
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
mkaply%us.ibm.com
0fc2c098e2 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
da76b46c6d Attempting to fix os2 2000-10-28 10:30:19 +00:00
warren%netscape.com
7cd51a4917 Fixing printf problem with RAPTOR_STOPWATCH_TRACE 2000-10-28 10:14:36 +00:00
warren%netscape.com
8bdf61f82f Attempting to make solaris happier with ?: 2000-10-28 04:51:12 +00:00
warren%netscape.com
68c44dcaef undef'd printf for FreeBSD 2000-10-28 04:48:01 +00:00
warren%netscape.com
b0843fb3cf Removing nslog.h from .c files 2000-10-28 01:11:36 +00:00
warren%netscape.com
16af834c35 Fixed PR_LOG problem. 2000-10-28 01:00:10 +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
pinkerton%netscape.com
2e5bc79403 changes for Carbon r=pchen/a=sfraser. bug# 42100 2000-10-27 20:40:47 +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
dougt%netscape.com
c6d968332a removing Makefile and adding Makefile.in 2000-10-24 17:16:20 +00:00
mscott%netscape.com
729c07b2f0 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
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
dbragg%netscape.com
e07035aad5 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
5d48538618 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
39043d84d8 Fix redness by removing incorrect conversion. 2000-10-19 12:17:54 +00:00
jeff.dyer%compilercompany.com
c194d27da3 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
227924d691 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
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
shaver%mozilla.org
fec26b43e0 #24612, make prefs observable from JS and other XPCOM bindings, r/sr=alecf 2000-10-17 17:08:00 +00:00
rpotts%netscape.com
3dfb0c94c2 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
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
dprice%netscape.com
dabe025a7e backing out earlier changes for 53312 2000-10-14 01:15:24 +00:00
mstoltz%netscape.com
f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
dprice%netscape.com
00f689748f removing debug statement. 2000-10-13 21:00:04 +00:00
dprice%netscape.com
ded17498bc added memory flusher for jar cache 53312
a=warren SR=warren,jband
2000-10-13 20:42:46 +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
kin%netscape.com
cbbf0dc6ee 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
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
mkaply%us.ibm.com
a881514723 #56011
r=jkobal, a=tor
Remove unnecessary XP_OS2 code in libimg
2000-10-10 22:16:34 +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
nhotta%netscape.com
bcfd476569 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
ae160df499 Added getDefaultLocalizedUnicharPref, bug 55011, r=tao, sr=alecf. 2000-10-06 03:49:15 +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
bienvenu%netscape.com
e8afc1691f 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
88d36fe513 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
aaef44e853 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
f29cf84e8c NOT PART OF THE BUILD. new code for testing the jar cache 2000-10-01 00:10:51 +00:00
pnunn%netscape.com
6b347cd409 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
fc336d6b4b 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
74151def0d #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
cb37a54b7a 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
d354adc226 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
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
pchen%netscape.com
10c8273bb8 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
b863251826 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
92ba50e898 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
a58160b6e3 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
c90bc3ef8b 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
c7694d1af4 #45692:r=edburns,a=brendan. Backing out latest change. 2000-09-22 15:01:29 +00:00
jeff.dyer%compilercompany.com
5f08738a74 #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
5db74564d0 #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security. 2000-09-22 13:48:20 +00:00
jband%netscape.com
19f3322aed backing out check in from jin_nance that broke Mac 2000-09-22 10:42:54 +00:00
jim_nance%yahoo.com
2e1119547d 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
2f358f1418 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
69980043ac 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
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
ccarlen%netscape.com
de4c956575 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
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
ccarlen%netscape.com
48d1306eb1 Fix for #52181 r=dougt, a=buster 2000-09-21 13:45:31 +00:00
warren%netscape.com
94d7f48d6e 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
504b6630e9 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
181bb2dcb2 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
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
tor%cs.brown.edu
0dcd7b7275 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
0d29237b07 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
e2e26b4896 #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
c07ca298ed Setting release timeout inside lock -- avoiding race condition. 2000-09-18 07:08:22 +00:00
sspitzer%netscape.com
04d2c4098a whoops, the default is supposed to be false, not true. 2000-09-18 03:35:40 +00:00
sspitzer%netscape.com
1fc3481074 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
a53ac69e4e 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
b0fecd35e8 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
6779b4efd0 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
35d66fed08 Better bustage fix without leak r=scc 2000-09-15 21:12:36 +00:00
mstoltz%netscape.com
9c40decb1a Fixing bustage. r=dveditz 2000-09-15 20:38:52 +00:00
mstoltz%netscape.com
04f1130628 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
72f28baa8a 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
8ebc63b90b 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
c77cb66e71 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
3cd14f5878 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
288d5211f1 bug#51249: add chrome to FlushCache. pnunn, r:syd. 2000-09-14 23:09:18 +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
dveditz%netscape.com
4c66ffd7fc 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
19e3a2949c 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
8efcd24a9b 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
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
matt%netscape.com
d60a0695d0 fix for bug 44036
r=pav
2000-09-14 04:52:50 +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
cls%seawood.org
9e2e8ba282 Change MDDEPDIR to fix a VPATH issue in srcdir builds. 2000-09-12 23:37:16 +00:00
ruslan%netscape.com
d905b23b6b proxy.ssl.connect pref should be always set to true; a=gagan 2000-09-12 21:42:54 +00:00
jeff.dyer%compilercompany.com
3c7bf12fc8 FALSE -> PR_FALSE 2000-09-12 12:44:48 +00:00
jeff.dyer%compilercompany.com
ed96265c80 FALSE -> PR_FALSE 2000-09-12 12:22:52 +00:00
jeff.dyer%compilercompany.com
29b8d72406 b=45692 r=edburns a=brendan: Enable liveconnect security. 2000-09-12 11:47:42 +00:00
warren%netscape.com
f1e20aeb6c Fixed error code. 2000-09-12 05:11:11 +00:00
dimator%netscape.com
42480de5f0 Changing default collect address book maximum from 200 to 700 cards. r=putterman 2000-09-12 01:53:20 +00:00
cls%seawood.org
50cf95135d OS_ARCH does not set release numbers 2000-09-11 08:08:24 +00:00
cls%seawood.org
f9ef19da28 Remove unneeded dep that's breaking old gnu makes 2000-09-11 06:26:48 +00:00
cls%seawood.org
6d3cf6985a 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
a03d3c155b Make the ifdef match the comment here as well 2000-09-11 01:22:45 +00:00
ccarlen%netscape.com
68500bd674 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
939ff071ff 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
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
dimator%netscape.com
29df80422c Adding aging to collected address book. bug 46343. r=mscott 2000-09-08 22:56:08 +00:00
jband%netscape.com
2730e37efd 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
161e98314b Bug 50844. Fixed mismatched memory free. 2000-09-08 04:39:17 +00:00
sfraser%netscape.com
830db60916 Fix build for kandrot. Export NR_RegSetBufferSize from libreg. 2000-09-08 03:52:11 +00:00
kandrot%netscape.com
ec8f5ceddd Fix for bug #46709. Missed this file in checkin.
r=rayw
2000-09-08 02:44:13 +00:00
kandrot%netscape.com
5899bf563d Fix for bug #46709.
Allows buffer size of registry to change.

r=rayw
2000-09-08 01:53:15 +00:00
kandrot%netscape.com
e89ce829b0 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
81b816da2e 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
e3853c347c Fix for bug # 43871. Pref to disable/enable autocomplete. r=ducarroz. 2000-09-07 21:19:36 +00:00
kin%netscape.com
872a42a450 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
f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
tor%cs.brown.edu
027dad8637 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
31041e63eb 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
a0b88e8a8c Fix for bug #47341 r=ftang a=ftang. 2000-09-05 23:54:59 +00:00
mcafee%netscape.com
fbb88528fa Removing unused pref (51246). r=pavlov 2000-09-05 23:03:39 +00:00
rpallath%eng.sun.com
14da8d77d9 Reviewed by Ed Burns
Added MOZ_DEBUG flags and include stmts. to copy dll's to bin/components
dir.
2000-09-05 20:58:42 +00:00
rpallath%eng.sun.com
a73b3fd4fb Reviewed by Ed Burns
Check for OS type and accordingly reflect  mozilla executable name
2000-09-05 20:57:20 +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
tor%cs.brown.edu
41fda0bc4e Bug 46700 - use 1-bit alpha if tRNS chunk indicates binary alpha.
r=newt@pobox.com, a=brendan@mozilla.org.
2000-09-05 18:47:43 +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
be4ff1fbf1 fix speedracer bustage 2000-09-03 05:54:31 +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