Граф коммитов

53 Коммитов

Автор SHA1 Сообщение Дата
smontagu@smontagu.org 6f2722ea4a Make CreateUnique use UTF-16 path names on Windows and correct some bugs with handling over-long filenames. Bug 364285, r=bsmedberg, blocking-firefox3=beltzner 2008-01-09 13:10:06 -08:00
joshmoz%gmail.com f94613b36d remove XP_MAC from xpcom. b=281889 r=bsmedberg 2006-11-16 09:10:09 +00:00
jshin%mailaps.org ebc7ee6742 bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bienvenu%nventure.com e56010a35b fix 254527 crash when using a symlink to a signature file, r/sr=darin, a=benjamin 2005-06-29 17:25:24 +00:00
darin%meer.net ba3a7e5abf fixes bug 280082 "ensure maxRootLength in CreateUnique is never negative" r=dveditz sr=brendan 2005-02-19 07:44:59 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
dougt%meer.net 59cdf66913 Fixes SplitPath which read off the end of the string. r=timeless sr=me b=245516 2004-06-08 05:03:59 +00:00
bsmedberg%covad.net 080cf988db Bug 243973 - nsILocalFile.getRelativeDescriptor should not be case-sensitive on Windows. r+sr=darin 2004-05-29 15:37:44 +00:00
timeless%mozdev.org 75e38db20f Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
r=dougt
2004-04-28 12:53:20 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bienvenu%nventure.com c730b9ee45 fix nsILocalFile relative descs calculation of relative path, r=sspitzer, sr=mscott required for 137006 2003-12-19 18:13:42 +00:00
bzbarsky%mit.edu d15599a1ee Return a more useful error when being inited with an empty string. Bug 187605,
patch by bugzilla@chucker.rasdi.net (So"ren 'Chucker' Kuklau), r=dougt, sr=bzbarsky
2003-01-13 06:26:19 +00:00
ccarlen%netscape.com 32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com 4d2baf8913 fixing solaris bustage 2002-04-27 09:02:53 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
mkaply%us.ibm.com ee5fff30d0 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions
2002-04-24 03:47:06 +00:00
ccarlen%netscape.com 62aa5b03ad Bug 12911 - use relative file descriptors. This adds the needed methods to nsILocalFile. r=dougt/sr=alecf/a=asa/adt=jaime 2002-04-09 14:12:24 +00:00
cathleen%netscape.com 8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
alecf%netscape.com 63991ddfde final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
dougt%netscape.com 92eaa0797b 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 2002-01-08 02:20:13 +00:00
pete%alphanumerica.com efee7eec18 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
2001-12-07 23:06:51 +00:00
ccarlen%netscape.com ff0a0259a0 Bug 103384 - Move unicode conversion out of nsLocalFileCommon.cpp r=dougt/sr=alecf 2001-11-16 14:54:38 +00:00
darin%netscape.com 36a44ba4ac landing standard url rewrite (bug 103916)
r=andreas.otte@debitel.net, sr=brendan,alecf
2001-11-16 02:09:13 +00:00
dbaron%fas.harvard.edu d3b4f5ba4b Fix leak of string. b=102996 r=jag sr=bienvenu 2001-10-08 21:10:20 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
dougt%netscape.com 758f79ff72 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.
2001-06-21 22:02:47 +00:00
sfraser%netscape.com 820315ecc5 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). 2001-05-15 00:34:10 +00:00
dougt%netscape.com 37d843eda9 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
2001-04-12 23:56:28 +00:00
jband%netscape.com 8fd7dc38a7 fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan 2000-12-13 04:36:53 +00:00
dbaron%fas.harvard.edu 4597daa244 Fix bustage. Forgot to change NS_IMETHODIMP in function definitions. 2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu de24c96d88 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 2000-12-09 04:11:05 +00:00
mkaply%us.ibm.com b12d0a5ba2 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
warren%netscape.com 996cfbc2fc Changed assertion to warning when platform charset doesn't exist. 2000-09-06 23:42:59 +00:00
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
dougt%netscape.com ee20e4ebcb nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-24 01:50:53 +00:00
mscott%netscape.com 0152413cae Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott
2000-06-21 06:32:45 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com 94965403ad # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00
dp%netscape.com faaf62dfd6 Standalone xpcom. 2000-05-14 22:46:24 +00:00
dp%netscape.com 7290a04bc1 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
waterson%netscape.com 00eb3e5b8c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc 2000-04-27 04:44:56 +00:00
scc%netscape.com 391f0960dd making string conversions explicit 2000-04-22 08:43:34 +00:00
ftang%netscape.com 238c2b8d57 fix nsFileSpec unicode interface . 2000-04-21 21:44:23 +00:00