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
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
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
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
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
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
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
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
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
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