66 Commits

Author SHA1 Message Date
ccarlen%netscape.com
843393d24a Fix for #36968 and #38626
r=racham


git-svn-id: svn://10.0.0.236/trunk@78631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:30:09 +00:00
mkaply%us.ibm.com
13341464f9 #51222
r=rcassin@supernova.org (Hurricane), a=brendan
Missing OS/2 support for finding base profile dir


git-svn-id: svn://10.0.0.236/trunk@78075 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 15:08:49 +00:00
ssu%netscape.com
293c093484 fixing bug #50972. This checkin is for racham. r=me.
smoketest blocker, dogfood+


git-svn-id: svn://10.0.0.236/trunk@77792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:02:59 +00:00
racham%netscape.com
31058e2ae7 Fixing bug 6464. Moving Users50 and registry location windows to Application Data folder. Forgot to checkin in the first round. r=dveditz,ccarlen
git-svn-id: svn://10.0.0.236/trunk@77517 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:14:07 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
scc%mozilla.org
c16f42bc5e fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76736 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:52:22 +00:00
edburns%acm.org
67050b538d bug=23157
r=dougt, Conrad Carlen
a=dougt, Conrad Carlen

Use Moz_BinDirectory instead of OS_CurrentProcessDirectory
to allow embedding apps to use mozilla.


git-svn-id: svn://10.0.0.236/trunk@74620 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:54:07 +00:00
sspitzer%netscape.com
d2c8b6c51c work for bug #38374
helperApps.rdf is now mimeTypes.rdf.
use the file locator to get the mimeTypes file.
fix the unix implementation of nsOSHelperAppService.cpp
to go to the base class to determine what application to launch.

r=mscott


git-svn-id: svn://10.0.0.236/trunk@72958 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:14:53 +00:00
tao%netscape.com
7bc288b162 part I:
40799 : [CountryPicker] Add language/country selector to ProfileCreation UI.
 r=sspitzer,racham,a=msanz


git-svn-id: svn://10.0.0.236/trunk@71559 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:09:10 +00:00
sspitzer%netscape.com
5e070cbda5 we can't use the localized pretty name for "Local Folders" for the
the hostname of the "Local Folders" server, or for the name of the
directory on disk.  if we did, as soon as someone localized "Local Folders"
migration would break.  while I'm here, only hard code these strings
once.  to allow people to build without mailnews, hard code them in nsIPrefMigration.idl

r=alecf


git-svn-id: svn://10.0.0.236/trunk@71330 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 02:49:06 +00:00
racham%netscape.com
59480dce0b Fixing bug 29093. Modifying shrimp folder name to be uniform on all platforms. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@70333 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:12:29 +00:00
racham%netscape.com
1d0ee16a9d Fixing bug 29093. File location for shrimp directory has been added. r=amusil
git-svn-id: svn://10.0.0.236/trunk@70163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:18:02 +00:00
dougt%netscape.com
553f70c5f1 adding xpfe file locations to be a provider of the nsDirectoryService.
r=dveditz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69255 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:06:17 +00:00
sspitzer%netscape.com
a1421e68ff fix assertions.
git-svn-id: svn://10.0.0.236/trunk@68863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:09:41 +00:00
dveditz%netscape.com
c74594dcf7 Adding the profile-chrome directory for use by skin installer
git-svn-id: svn://10.0.0.236/trunk@68328 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:03:17 +00:00
rjc%netscape.com
3c4b952a02 Add ability to find search.rdf or "Search Plugins" directory.
git-svn-id: svn://10.0.0.236/trunk@66903 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:45:39 +00:00
scc%netscape.com
67560a359c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:19:06 +00:00
gayatrib%netscape.com
4f35badc67 Fixing all the callers of profile manager to use it's new i18n friendly interface. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@64551 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:35:15 +00:00
mkaply%us.ibm.com
ac2a40f738 # 25555
r= sobotka (per jdunn@netscape.com)
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61875 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 15:52:31 +00:00
dp%netscape.com
c013e579ac bug# 29063: Removing about a 100 calls to stat() on startup. r=alecf,racham a=jar
git-svn-id: svn://10.0.0.236/trunk@61788 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:57:13 +00:00
alecf%netscape.com
c1c5178519 make appshell into a component
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@59858 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 05:38:13 +00:00
racham%netscape.com
0449a2acf0 Fixing bug 16791. Check if the current profile is available to return the profile directory value. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@59646 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 11:21:09 +00:00
scc%netscape.com
21c1012e1b removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59313 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:45:42 +00:00
pepper%netscape.com
9fdb77655c All source files must contain a newline at the end of some unix builds fail.
git-svn-id: svn://10.0.0.236/trunk@58898 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:13:00 +00:00
racham%netscape.com
d07019d8b8 Fixing bug 16673. User50 directory on windows will now lives 1 level up fromthe executable. r=ssu
git-svn-id: svn://10.0.0.236/trunk@57457 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:07:22 +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
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
sspitzer%netscape.com
3441bfea68 fix for #16231, r=mscott. make the file locator know about panels.rdf.
if <profile>/panels.rdf doesn't exist, copy the default to that location.


git-svn-id: svn://10.0.0.236/trunk@52185 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 04:02:25 +00:00
waterson%netscape.com
e20da712ec Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
sspitzer%netscape.com
127e23606e add some bulletproofing. r=davidm
git-svn-id: svn://10.0.0.236/trunk@50204 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:55:37 +00:00
sspitzer%netscape.com
c0b38598d6 GetSingleProfile() is going away. use GetFirstProfile now.
git-svn-id: svn://10.0.0.236/trunk@50088 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 06:55:59 +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
sdagley%netscape.com
29f4cb6243 Landing fix for davidm. Returning nsnull was being interpreted as no error so changing to a return code that indicates an error.
git-svn-id: svn://10.0.0.236/trunk@48799 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:02:21 +00:00
sfraser%netscape.com
ceb23b8bd4 Fix bustage; remove test for stack-based nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@48129 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:48:13 +00:00
neeti%netscape.com
d9acc97b08 Added GetDefaultFolder api
git-svn-id: svn://10.0.0.236/trunk@48072 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:25:05 +00:00
morse%netscape.com
ed8bf5d335 fix bugs 11716 and 11766
git-svn-id: svn://10.0.0.236/trunk@43349 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-14 16:56:52 +00:00
racham%netscape.com
8446247afe renaming prefs file to prefs.js from prefs50.js, bug 5910
git-svn-id: svn://10.0.0.236/trunk@42805 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 21:08:54 +00:00
racham%netscape.com
b53c5298e4 Profiledefaults dir is the install directory. Rev by gayatri. Approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@38883 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 04:33:32 +00:00
gayatrib%netscape.com
46fd1bebe5 Added new file spec for profile defaults folder
git-svn-id: svn://10.0.0.236/trunk@38528 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:05:39 +00:00
mcafee%netscape.com
7717f6a489 Adding cases for BeOS.
git-svn-id: svn://10.0.0.236/trunk@37019 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 07:40:25 +00:00
mcmullen%netscape.com
24a7606254 #8326: Get rid of "Default" profile creation. Change nsFileLocations to return an error (or a null pointer) when there are no profiles. Fix wallet/singsign.cpp to check for the error.
Code by racham: Fix nsFileLocations with new enum selectors for the profile root (code by racham) Fix nsProfile.cpp to use profileroot instead of profile when making profiles.

r=racham@netscape.com, a=don@netscape.com


git-svn-id: svn://10.0.0.236/trunk@35824 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 23:02:39 +00:00
mcmullen%netscape.com
be46092e74 Fix up registration of nsIFileLocator to use ProgIDs
git-svn-id: svn://10.0.0.236/trunk@35417 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 08:07:58 +00:00
mcmullen%netscape.com
8ca5588a22 idlized nsIFileLocator.
git-svn-id: svn://10.0.0.236/trunk@35363 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:57 +00:00
racham%netscape.com
f140537ba6 Method to forget the existing profile dir
git-svn-id: svn://10.0.0.236/trunk@34931 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:42:38 +00:00
gayatrib%netscape.com
d2804028ef modified to support profile locations on all platforms
git-svn-id: svn://10.0.0.236/trunk@32283 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:59:38 +00:00
sspitzer%netscape.com
3c6ccd4c20 don't do fprintf(stderr,)
turn this on for all platforms, as it is useful to figure out why
profiles aren't working


git-svn-id: svn://10.0.0.236/trunk@30604 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:52 +00:00
sspitzer%netscape.com
9f3fed4aa6 remove duplicate code.
use #error to let people porting this beast know that they have to do
work to get profiles to work.


git-svn-id: svn://10.0.0.236/trunk@30459 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:11:10 +00:00
sspitzer%netscape.com
4775f48570 fix for #5942. make UNIX behave like windows and mac, as far as having
a Users50 directory and having all the profile directories under there.


git-svn-id: svn://10.0.0.236/trunk@30450 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:54:37 +00:00
mcmullen%netscape.com
a8403fe8d7 Bullet-proofing for bug #5576 (make sure profile directory is always initialized)
git-svn-id: svn://10.0.0.236/trunk@29974 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:27:44 +00:00
mcmullen%netscape.com
0a61932c8b Added chrome, plugins, and components directories
git-svn-id: svn://10.0.0.236/trunk@28938 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:19:07 +00:00