153 Commits

Author SHA1 Message Date
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dp%netscape.com
ba5bed7802 Using progid instead of cid for creation of cookie service. r=morse
git-svn-id: svn://10.0.0.236/trunk@58418 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 22:53:21 +00:00
alecf%netscape.com
6acd471b36 Check in jlnance's jprof patches. r=alecf. Thanks!
git-svn-id: svn://10.0.0.236/trunk@58065 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 02:45:07 +00:00
alecf%netscape.com
fb8cc0d933 remove prefwindow from build r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@57896 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:48:45 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
mccabe%netscape.com
e374f85a9a Fix to 9967.
Explicitly disable floating-point exceptions on FreeBSD, to force conformance with IEEE-specified behavior that the JS engine depends on.

Thanks to saska@acc.umu.se for the patch, and especially to all the experts who contributed to the discussion of this issue on the 9967 report.

r=mccabe.


git-svn-id: svn://10.0.0.236/trunk@57341 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:30:12 +00:00
edburns%acm.org
1af32fc433 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.


git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
mcafee%netscape.com
e3ea0136ed Adding -installer, squishing output to fit in less space (23081) r=syd
git-svn-id: svn://10.0.0.236/trunk@56793 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 02:30:06 +00:00
mcafee%netscape.com
7f106ee179 Adding profile manager startup flag descriptions to -h: -CreateProfile -ProfileWizard -ProfileManager -SelectProfile. r=matt.
git-svn-id: svn://10.0.0.236/trunk@56712 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:06:25 +00:00
mcafee%netscape.com
560efc02e1 Adding -h help info (14003)
git-svn-id: svn://10.0.0.236/trunk@56562 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 07:41:05 +00:00
racham%netscape.com
729cc3439a error value returned from profile manager to exit the app. removing check on rv. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@55663 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:25:52 +00:00
sspitzer%netscape.com
4369043f13 remove the check on rv. we are already doing the right thing.
fix by=racham, r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@55507 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:58:26 +00:00
sgehani%netscape.com
90081b7cbd Turn on XPInstall cleanup before start on the Mac. (Checkin for dveditz.)
git-svn-id: svn://10.0.0.236/trunk@55378 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:33:51 +00:00
dveditz%netscape.com
05b901315c bug 12816 init XPInstall before any components are loaded so they can be replaced
git-svn-id: svn://10.0.0.236/trunk@55193 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 13:39:18 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
nisheeth%netscape.com
00dd235681 r=harishd. Tell the refcounting code that the pref service is instantiated.
git-svn-id: svn://10.0.0.236/trunk@53964 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 03:57:30 +00:00
Jerry.Kirk%Nexwarecorp.com
03e774325c Adding nsSigHandlers file to pull out unix signal handlers into a
seperate file.
r=Ramiro


git-svn-id: svn://10.0.0.236/trunk@53950 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 01:55:19 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
pinkerton%netscape.com
b2e6d58834 Fix bug 15276 by flushing the data to the clipboard right before app shuts down. (r=davidm).
git-svn-id: svn://10.0.0.236/trunk@52759 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 00:08:59 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
beard%netscape.com
85fd5baad4 moved call to nsIThread::SetMainThread() to NS_InitXPCOM. r=warren
git-svn-id: svn://10.0.0.236/trunk@52306 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 01:53:03 +00:00
law%netscape.com
41c8a495f1 Bug #14999, removing last vestiges of app core usage; r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@52030 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:39:33 +00:00
morse%netscape.com
cfdf03bc1a bug 17120, can't startup if cookie dll missing, r=valeski
git-svn-id: svn://10.0.0.236/trunk@52003 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:41:36 +00:00
ramiro%fateware.com
0fed380744 Fix #ifdef DEBUG_ramiro build bustage.
git-svn-id: svn://10.0.0.236/trunk@51384 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 19:56:05 +00:00
waterson%netscape.com
035b04b87b Change nsTraceRefcnt::WalkTheStack() to accept stream.
git-svn-id: svn://10.0.0.236/trunk@51353 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 03:45:12 +00:00
cmanske%netscape.com
661bf267b9 Fixed bug 16923. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@51317 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 23:50:20 +00:00
cmanske%netscape.com
22bf05aebd Adding menu item to start Composer from Browser debug menu as workaround for bug 16789 (can't start editor on command line). Also removed editor init page from code that's not even run?
git-svn-id: svn://10.0.0.236/trunk@51240 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 01:03:39 +00:00
law%netscape.com
c4ca3de4e5 Bug #14999; stop using toolkit app core; r=davidm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51025 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 21:33:29 +00:00
rjc%netscape.com
7c82b0b5f1 [performance] When profile manager is being used, don't read in bookmarks twice... by deferring hiddenwindow.xul loading until after profile manager is done. Review: danm and sspitzer
git-svn-id: svn://10.0.0.236/trunk@50482 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:20:28 +00:00
sspitzer%netscape.com
4d9fe202fe fix my comment
git-svn-id: svn://10.0.0.236/trunk@50095 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 09:12:27 +00:00
sspitzer%netscape.com
7ef56b5288 minor tweak on the way to getting Cancel / Exit to behave properly in the
Profile Manager UI.  they both set the current profile to "".


git-svn-id: svn://10.0.0.236/trunk@50093 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 09:01:23 +00:00
sspitzer%netscape.com
94a677a8af fix for bug #15402. exit if we get past the profile manager without a current profile. this can happen.
git-svn-id: svn://10.0.0.236/trunk@50082 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 03:10:18 +00:00
morse%netscape.com
1424e84e14 fix bug 15721, cookies not persistent, r=jar nsAppRunner.cpp
git-svn-id: svn://10.0.0.236/trunk@50080 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 02:48:27 +00:00
sspitzer%netscape.com
d6ec571916 make sure we save the prefs when we exit. will fix a bunch of problems, including #15705. r=alecf, a=leaf
git-svn-id: svn://10.0.0.236/trunk@50014 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:52:50 +00:00
morse%netscape.com
e03ce189b4 fix bug 14889, lazy initialization of wallet, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49872 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 22:11:22 +00:00
sspitzer%netscape.com
41337e7380 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)


git-svn-id: svn://10.0.0.236/trunk@49797 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:12:58 +00:00
nisheeth%netscape.com
7aaf0a0f97 If DETECT_WEBSHELL_LEAKS is defined, check to see if webshells are leaked at shutdown. If so, dump a message to the console.
git-svn-id: svn://10.0.0.236/trunk@48719 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:25:40 +00:00
ramiro%netscape.com
6e99478592 Add debugging code for myself.
git-svn-id: svn://10.0.0.236/trunk@48149 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:43:35 +00:00
dveditz%netscape.com
808acfa5e3 a little more debug output to show where startup time is going
git-svn-id: svn://10.0.0.236/trunk@47934 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 06:38:05 +00:00
dp%netscape.com
103414ae51 Ability for XPCOM to use non-default component registry and component directory
git-svn-id: svn://10.0.0.236/trunk@47809 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:28:57 +00:00
sspitzer%netscape.com
6d80b29c54 add beginnings of support for -h, -help, --help, -v, -version, --version. note how the code for this happens way early in main(), before any COM or profile stuff. when running with -v and -h it should be quick.
git-svn-id: svn://10.0.0.236/trunk@47777 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 11:30:18 +00:00
sspitzer%netscape.com
f08493c4a3 fix warnings. fix #13886. support the "general.startup.*" prefs.
use PL_strcmp instead of strcmp


git-svn-id: svn://10.0.0.236/trunk@47747 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 06:50:17 +00:00
dp%netscape.com
947781caca Fixing XPCOM init being called again after shutdown.
git-svn-id: svn://10.0.0.236/trunk@47666 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 22:01:05 +00:00
alecf%netscape.com
5185a43c1d moved most of the profile startup code to nsIProfile
start using it, enough with these static initializers.


git-svn-id: svn://10.0.0.236/trunk@46683 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 01:05:31 +00:00
davidm%netscape.com
f8f9d03e79 change from bool to PRBool. move mac commandline service before XPCom initialization
git-svn-id: svn://10.0.0.236/trunk@45972 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:41:26 +00:00
dp%netscape.com
59a9336c6c Fixed formatting.
git-svn-id: svn://10.0.0.236/trunk@45320 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 07:36:02 +00:00
davidm%netscape.com
364c3c3e3d Major rearragment. Factored Command line handling and pref initialization off into seperate functions. Added CanRun and initial SplashScreen code
git-svn-id: svn://10.0.0.236/trunk@45268 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 02:49:12 +00:00
rods%netscape.com
1386361c0e changed ifdef 0 to if 0
git-svn-id: svn://10.0.0.236/trunk@44843 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:48:07 +00:00
rods%netscape.com
b73ef4e913 change ifdef NS_DEBUG to ifdef 0 to fix build
git-svn-id: svn://10.0.0.236/trunk@44830 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 13:59:58 +00:00
scc%netscape.com
2a2698fb9a if any webshells still exist at app quit time, report them
git-svn-id: svn://10.0.0.236/trunk@44815 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 12:32:19 +00:00