30 Commits

Author SHA1 Message Date
dougt%netscape.com
6b5bff699c Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug
git-svn-id: svn://10.0.0.236/trunk@111541 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 02:20:13 +00:00
pete%alphanumerica.com
d5c04f174e b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete


git-svn-id: svn://10.0.0.236/trunk@110040 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:06:51 +00:00
ccarlen%netscape.com
1c7e2fb54a Bug 103384 - Move unicode conversion out of nsLocalFileCommon.cpp r=dougt/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108302 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 14:54:38 +00:00
darin%netscape.com
8225bd1d9c landing standard url rewrite (bug 103916)
r=andreas.otte@debitel.net, sr=brendan,alecf


git-svn-id: svn://10.0.0.236/trunk@108231 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:09:13 +00:00
dbaron%fas.harvard.edu
4f32154297 Fix leak of string. b=102996 r=jag sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104828 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:10:20 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dougt%netscape.com
5c5c39e4be Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.


git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:02:47 +00:00
sfraser%netscape.com
55e9cbf26f Fix the a problem exposed by another bug, where out params were not correctly set to null. Part of fix for bug 80722 (crash creating new profile).
git-svn-id: svn://10.0.0.236/trunk@94909 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 00:34:10 +00:00
dougt%netscape.com
2971a81712 Fixes 73797. Moves some initialization code up higher so that it does not have
to be called so much.

r=darin@Netscape.com
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@92132 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:56:28 +00:00
jband%netscape.com
0f4f0f5bff fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83596 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:36:53 +00:00
dbaron%fas.harvard.edu
16a7f14c96 Fix bustage. Forgot to change NS_IMETHODIMP in function definitions.
git-svn-id: svn://10.0.0.236/trunk@83447 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu
ad5f529a65 Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83439 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:11:05 +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
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
warren%netscape.com
668d13b42c Changed assertion to warning when platform charset doesn't exist.
git-svn-id: svn://10.0.0.236/trunk@78312 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:42:59 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
dougt%netscape.com
b4fae1275b nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>


git-svn-id: svn://10.0.0.236/trunk@73142 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:50:53 +00:00
mscott%netscape.com
d92552bbfe Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@72738 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:32:45 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com
2fa3265dbe # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only


git-svn-id: svn://10.0.0.236/trunk@70840 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:26:34 +00:00
dp%netscape.com
4bff050def Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:46:24 +00:00
dp%netscape.com
09f87e1345 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.


git-svn-id: svn://10.0.0.236/trunk@68351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:47:32 +00:00
waterson%netscape.com
6f3568569c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
git-svn-id: svn://10.0.0.236/trunk@67372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:44:56 +00:00
scc%netscape.com
22fed30c55 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66850 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 08:43:34 +00:00
ftang%netscape.com
2d7bb61d3f fix nsFileSpec unicode interface .
git-svn-id: svn://10.0.0.236/trunk@66760 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:44:23 +00:00
cls%seawood.org
8a0a3cf145 BeOS uses the Unix local file implementation.
git-svn-id: svn://10.0.0.236/trunk@66737 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:04:35 +00:00
ftang%netscape.com
26ddc69606 1. small fix on nsLocalFileCommon.cpp to fix unix warrning
2. add unicode methods to nsIFile/nsILocalFile idl
3. add nsLocalFileCommon.cpp to the unix and window makefile


git-svn-id: svn://10.0.0.236/trunk@66583 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:53:29 +00:00
ftang%netscape.com
7fe0360603 first add for nsILocalFile unicode interface wrapper code
not part of the build system yet.


git-svn-id: svn://10.0.0.236/trunk@66529 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:44:03 +00:00