1557 Commits

Author SHA1 Message Date
tbogard%aol.net
10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
dveditz%netscape.com
5507660e26 taking a crack at some ports bustage. r=pnunn 1999-11-01 21:35:50 +00:00
warren%netscape.com
145f9f9dea Minor cleanup 1999-11-01 20:50:04 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
sgehani%netscape.com
3715eaa957 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the static targets. For real this time... 1999-10-30 22:18:31 +00:00
sgehani%netscape.com
24ea07ca57 Backed out change temporarily. 1999-10-30 22:03:46 +00:00
sgehani%netscape.com
0d281eb610 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the statis targets. 1999-10-30 21:56:51 +00:00
pnunn%netscape.com
535c166f53 part of fix for bug#15817. r: akkana. strong suggestion by kipp. Do the right
thing in image container destructor.
1999-10-29 18:53:03 +00:00
pnunn%netscape.com
9ad24b2e07 fix for bug#17076. r: akkana. Puts data stream mime check before component
loading instead of after a component load failure.
1999-10-29 18:51:09 +00:00
sspitzer%netscape.com
c614d3d7c0 fix for #8717. performance is good enough to bump this back to 500.
still more work to be done, as this is a per-server pref now, I think.
1999-10-29 04:49:41 +00:00
kipp%netscape.com
82071e4e95 Disabled some of my own debugging noise 1999-10-29 02:17:55 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
sspitzer%netscape.com
b14d0a9695 fix for #17285 and #17397. r=mscott.
properly migrate pop and nntp servers from 4.x that were not on the default ports (110 and 119, respectively).
also, set the default port pref to be -1, so that if we don't set the port, it gets set to -1.
1999-10-27 22:44:34 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
sfraser%netscape.com
b69e416652 Ooops, maybe we do need one of those paths after all. r=floppy 1999-10-27 06:48:35 +00:00
sfraser%netscape.com
7ffbbb77c5 Another teeny project fix -- remove obsolete lib/xp paths in the two static targets (which are not built anyway). r=moose 1999-10-27 06:44:44 +00:00
mstoltz%netscape.com
efcdcfd4ad Fixed Windows breakage from converting const nsZIpItem* to nsZipItem*. r=dveditz 1999-10-26 20:45:21 +00:00
mstoltz%netscape.com
08143e312c Added GetInputStream function to nsJAR in order to extract files into memory rather than to disk. Created nsJARInputStream to carry this data. Most of the code for this change went into nsZipArchive, which now handles either file output or output to memory. bug=16077 r=dveditz 1999-10-26 19:43:26 +00:00
sgehani%netscape.com
6dcf3ee43a Fixes bug 17190: extract only core_*/* files to obtain the XPInstall engine run by the Install Wizard. [r=cathleen] 1999-10-26 02:08:56 +00:00
edburns%acm.org
20c9689bd6 r=edburns@acm.org
author=idk@eng.sun.com
#16149
approver=edburns@acm.org
1999-10-26 01:29:09 +00:00
nisheeth%netscape.com
e7cf95d67c Ongoing work to get macros for timing modules up and running. Not part of the build. 1999-10-25 20:59:35 +00:00
nisheeth%netscape.com
f7d60fc6d5 Macros for doing performance analysis of modules in Mozilla. This file is not part of the build yet. 1999-10-25 05:29:20 +00:00
dp%netscape.com
b17616fba6 bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
beard%netscape.com
85c2fe3831 fixing breakage by #undef BlockAllocCat 1999-10-23 00:21:17 +00:00
pnunn%netscape.com
d17bf98c60 fix for mac bustage. pnunn. 1999-10-23 00:10:14 +00:00
beard%netscape.com
e5ee0548df #include "xp_mcom.h" to fix link breakage. 1999-10-22 22:58:28 +00:00
pnunn%netscape.com
c350467f39 To fix mac bustage. pnunn. 1999-10-22 22:48:04 +00:00
pnunn%netscape.com
ef293e7e5d bug#15585. r:neeti@netscape.com. Fix build warnings. 1999-10-22 21:04:28 +00:00
pnunn%netscape.com
5c5de9cf2e Bug#13505: r:neeti@netscape.com. Replace str()'s with nsCRT()'s & nspr()'s. 1999-10-22 21:03:52 +00:00
ramiro%fateware.com
25aba30f43 Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00
nisheeth%netscape.com
88f2f647e9 Fixing Unix warnings. r=harishd 1999-10-21 23:27:02 +00:00
pnunn%netscape.com
ba5f434f1b bug#13505. Replacing str functions with nsCRT functions, nspr functions.
pnunn@netscape.com  r:jfrancis@netscape.com
1999-10-21 22:23:24 +00:00
ramiro%fateware.com
08a78b615b Use "(NSINSTALL) -D" instead of direct "mkdir" r=shaver. 1999-10-21 21:35:37 +00:00
nisheeth%netscape.com
22fa393a84 Install util.lib to the dist directory in the libs phase rather than the install phase. 1999-10-21 21:31:26 +00:00
edburns%acm.org
9f4fce65e4 Bug: 15606
r=shaver
approver=av

I would like to take the time to personally thank Mike Shaver for all the hard
work he has done to make this bugfix possible.
1999-10-21 21:09:21 +00:00
pierre%netscape.com
060e86758d Fix build bustage 1999-10-21 06:40:00 +00:00
pierre%netscape.com
a966f87a22 Enabled MOZ_PERF_METRICS in the Mac build: - updated DefinesMozilla.h - fixed stopwatch.cpp - created libutilIDL.mcp - added StopWatch exports to libutil.exp - added xpcom.shlb to libutil.mcp - added libutil.shlb to htmlparser.mcp, layout.mcp, webshell.mcp 1999-10-21 05:41:45 +00:00
pierre%netscape.com
6fac85ea8a First Checked In. 1999-10-21 05:35:26 +00:00
sfraser%netscape.com
3302fcff1a Removed an errant semicolon in a IID declaration. r=floppy moose 1999-10-21 03:45:20 +00:00
nisheeth%netscape.com
d44175bb21 Fixed warnings. Enabled code to build on UNIX. r=pollmann 1999-10-21 02:32:01 +00:00
nisheeth%netscape.com
36d1076a0a Changes should not affect build. Ongoing work to make the stopwatch code build on Unix. 1999-10-20 18:43:34 +00:00
bienvenu%netscape.com
f0ddb93dbc fix memory leak of default pref dir file spec r=sspitzer 1999-10-20 18:42:30 +00:00
cls%seawood.org
107b92eecb Use PRBool instead of bool as some compilers do not understand bool. Should fix a couple of SM-Ports tinderboxen.
r=sfraser a=mscott
1999-10-20 05:37:18 +00:00
dveditz%netscape.com
d27b05616a reenabling 6986-fix for the mac, r-dougt 1999-10-19 23:17:54 +00:00
dp%netscape.com
cd3aff8be9 Fixed warnings. r=pam nunn 1999-10-19 22:28:38 +00:00
nisheeth%netscape.com
ef75c33b3c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
dp%netscape.com
bbb8c21318 Converting implementations of QueryInterface() to the std one. This
fixes bugs in the previous implementation that caused unbalanced
refcounts and premature releases. Thanks for rpotts for the heads
up. r=pam nunn
1999-10-19 22:27:08 +00:00
pnunn%netscape.com
4d331ca1b1 clean up associated with bug#15817, gif decoder. r: dp@netscape.com.
Removing obsolete file.
1999-10-19 22:02:49 +00:00
pnunn%netscape.com
caab8220a0 bug# 16785. r: dp, valeski, neeti. Send mimetype info from channel to imglib.
If no decoder, sniff data stream for mime info.
1999-10-19 21:49:20 +00:00