53 Commits

Author SHA1 Message Date
rjc%netscape.com
7315b28028 Fix bug # 101280: on Mac OS X, use proper IE Favorites. r=ccarlen sr=ben
git-svn-id: svn://10.0.0.236/trunk@110510 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 00:43:23 +00:00
dougt%netscape.com
6b0afcb82a Fix for 104962. Using faster win api SHGetSpecialFolderPath. r=dveditz@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106991 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:16:56 +00:00
dougt%netscape.com
8e551369e9 ugh. I did not mean to commit these changes. Backing out
git-svn-id: svn://10.0.0.236/trunk@106720 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:19:32 +00:00
dougt%netscape.com
3e064cf384 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106715 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:03:05 +00:00
peterv%netscape.com
38b6df0b56 Add DEBUG-only include of "prenv.h". Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@106487 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 17:27:29 +00:00
seawood%netscape.com
4551221bef Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
dougt%netscape.com
f7097e84eb reverting to the old way to get windows directories since the function I am using does not work on windows systems without IE4. a=nhotta@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105636 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 19:38:58 +00:00
dougt%netscape.com
28d5971198 Improvements to GetWindowsFolder. bug 104962, r=dveditz@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105556 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:33:08 +00:00
bienvenu%netscape.com
9fcf1a5bc2 fix string leak in GetWindowsFolder r=dougt sr=sspitzer 103779
git-svn-id: svn://10.0.0.236/trunk@104895 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:30:12 +00:00
ccarlen%netscape.com
2d08dc3571 Bug 90686 - Can't migrate profiles under MacOS X. Make Mac_PreferencesDirectory return the prefs dir of the classic environment under OS X so we can find 4.x profile info. r=sdagley/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@100659 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 13:12:10 +00:00
ccarlen%netscape.com
64511de593 Bug 74247 - Fizzilla should use $HOME/Library/Mozilla to store profiles. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@97107 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 01:24:22 +00:00
mkaply%us.ibm.com
e7d6ef40d0 OS/2 TB Bustage
Need PR_STATIC_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@87335 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 07:07:56 +00:00
dougt%netscape.com
4a2b3ad811 Fixes small memleaks. bug 53931. r=ccarlen@netscape.com, a=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:09:57 +00:00
yokoyama%netscape.com
8cbcafb7c8 Fixes 58679 and 32056
git-svn-id: svn://10.0.0.236/trunk@84974 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:19:07 +00:00
mkaply%us.ibm.com
0b0abb10e4 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@82990 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:27:38 +00:00
mkaply%us.ibm.com
ed7010e799 #55813
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location


git-svn-id: svn://10.0.0.236/trunk@82154 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:04:59 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
colin%theblakes.com
48c58d875f r=dougt, sr=blizzard, bugzilla=55163
OpenVMS-specific change to handle HOME
correctly. Fixes location of appreg bug.


git-svn-id: svn://10.0.0.236/trunk@80441 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 10:12:15 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
pchen%netscape.com
458c319408 bug #43585, r=sfraser, here resides the actual code to handle new mac default download directory, prepended code to call new nsIInternetConfigService to get IC default download folder. If we can't get it, then fall back to using desktop folder like before.
git-svn-id: svn://10.0.0.236/trunk@78278 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:12 +00:00
dougt%netscape.com
75e980fa95 Fixing 49866. Could cause a crash on opt builds that did not set the env HOME. r=adamlock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77374 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:14:02 +00:00
racham%netscape.com
afbbb2afc0 Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt
git-svn-id: svn://10.0.0.236/trunk@76450 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:40:27 +00:00
mkaply%us.ibm.com
049de0d702 #44517
r=dougt, a=brendan
Make OS/2 Desktop directory NLS aware


git-svn-id: svn://10.0.0.236/trunk@76440 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 14:27:18 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
mkaply%us.ibm.com
5bc9a0d2d2 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories


git-svn-id: svn://10.0.0.236/trunk@73324 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:23:51 +00:00
mkaply%us.ibm.com
c7e80aa6ea # 25555
r= dougt@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61894 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:27:02 +00:00
dougt%netscape.com
403b826558 Fix for bug 26816. submitted by bns_robson@hotmail.com. windows only.
memory leak fix.


git-svn-id: svn://10.0.0.236/trunk@60065 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 04:25:00 +00:00
duncan%be.com
f02ebdc5fa Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@57190 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 09:09:02 +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
ssu%netscape.com
661f8f1993 fixing bug #16064. checking in for dveditz@netscape.com. r=ssu@netscape.com. This fixes the crash under win98 when running from the windows installer.
git-svn-id: svn://10.0.0.236/trunk@50650 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 03:26:22 +00:00
dp%netscape.com
9fb585ce8b Adding Set() to configure component directory and registry
git-svn-id: svn://10.0.0.236/trunk@47801 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:08:31 +00:00
duncan%be.com
c725727628 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).


git-svn-id: svn://10.0.0.236/trunk@45881 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 12:54:05 +00:00
mscott%netscape.com
36df82089a Bug #9836 --> Unix only fix. When returning the temp directory, don't return /tmp/. Try to return the temp dir
specified by the unix environment variable: TMPDIR. If that variable isn't set, then use /tmp/.
a=sdagley


git-svn-id: svn://10.0.0.236/trunk@45421 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 02:37:55 +00:00
dougt%netscape.com
d219f1385e Fix for bug 10177 and 10041.
git-svn-id: svn://10.0.0.236/trunk@41167 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 22:09:42 +00:00
mcafee%netscape.com
b366c7e0ba BeOS changes
git-svn-id: svn://10.0.0.236/trunk@37402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 10:27:58 +00:00
dp%netscape.com
b28116e9b0 Registry location and filename added.
git-svn-id: svn://10.0.0.236/trunk@35570 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:26:43 +00:00
rjc%netscape.com
1597ac3ef0 Add ability to find "Internet Search Sites" folder on Mac.
git-svn-id: svn://10.0.0.236/trunk@33368 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:12:10 +00:00
mcmullen%netscape.com
d9592f16a4 Checkin based on patches submitted by Michael Lowe - #5473. Adds support for a large number of special windows directories.
git-svn-id: svn://10.0.0.236/trunk@29254 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:20:23 +00:00
mcmullen%netscape.com
6c95e9339f Added unix home directory
git-svn-id: svn://10.0.0.236/trunk@27724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:41 +00:00
dp%netscape.com
859bf9535c Added Current Working Directory
git-svn-id: svn://10.0.0.236/trunk@26144 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:17:49 +00:00
mcafee%netscape.com
d2cba4a33a Solaris needs prototype for PR_GetEnv().
git-svn-id: svn://10.0.0.236/trunk@24360 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:41:24 +00:00
mcafee%netscape.com
8b40395ae3 Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set.
git-svn-id: svn://10.0.0.236/trunk@24356 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:38:25 +00:00
mcmullen%netscape.com
de8fc99c4f Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable)
git-svn-id: svn://10.0.0.236/trunk@24058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 06:38:57 +00:00
mcmullen%netscape.com
1acae3d8a9 Fixed crashing bug on solaris. Added support for mac documents directory.
git-svn-id: svn://10.0.0.236/trunk@23988 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:15:02 +00:00
dp%netscape.com
6a616ea35a Unix: Adding MOZILLA_FIVE_HOME
git-svn-id: svn://10.0.0.236/trunk@23767 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:31:16 +00:00
dougt%netscape.com
d643c0b6d4 No longer shifting windows nsFileSpec's mPath to uppercase.
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.


git-svn-id: svn://10.0.0.236/trunk@23552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:07:10 +00:00
waterson%netscape.com
f933a42a97 Change PATH_MAX to MAXPATHLEN to compile on Solaris.
git-svn-id: svn://10.0.0.236/trunk@23511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 07:21:09 +00:00
waterson%netscape.com
0f472a8518 Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd().
git-svn-id: svn://10.0.0.236/trunk@23501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:07:21 +00:00