jshin%mailaps.org
095eb6f421
bug 233485 : add 'size' parameter to nsAutoBuffer (patch for customers) : r=ccarlen, sr=rbs)
...
git-svn-id: svn://10.0.0.236/trunk@152926 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 11:00:29 +00:00
jshin%mailaps.org
3366b1fd05
follow-up to bug 227547 (not a bug) : added missing 'const' qualifier to the first parameter of CopyUTF8toUTF16NFC()
...
git-svn-id: svn://10.0.0.236/trunk@151945 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 08:21:39 +00:00
jshin%mailaps.org
1952f8f7e3
bug 227547: return local file names after converting NFD (decomposed Unicode) to NFC (composed Unicode) for consumers (Mac OS X only). r=ccarlen, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@151943 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 05:55:30 +00:00
bryner%brianryner.com
b5ccad4460
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
peter%propagandism.org
0d4c0de85b
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@150667 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 09:56:23 +00:00
dwitte%stanford.edu
8480c7c032
Bug 122892: nsLocalFile::Clone should preserve stat info.
...
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.
b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
git-svn-id: svn://10.0.0.236/trunk@144961 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 22:14:16 +00:00
timeless%mozdev.org
f1f6532817
Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
...
r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@143899 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 23:19:11 +00:00
dwitte%stanford.edu
dc7e857400
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
sgehani%netscape.com
007624fc6a
Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
...
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
git-svn-id: svn://10.0.0.236/trunk@142674 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 00:53:36 +00:00
ccarlen%netscape.com
c64a019647
Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@141531 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 21:43:38 +00:00
ccarlen%netscape.com
8a64538c4b
Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@141381 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 13:50:38 +00:00
ssu%netscape.com
5e2bb02a1f
fixing bug 186088 - Mozilla crashes during installation of XPI Packages [@ nsInstallFile::CreateAllFolders]. r=ccarlen,sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@139987 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 22:18:17 +00:00
ccarlen%netscape.com
b48a83b1bd
Backing out due to huge Ts increase
...
git-svn-id: svn://10.0.0.236/trunk@139829 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 08:45:50 +00:00
ccarlen%netscape.com
b2784602b3
Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@139825 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 06:05:03 +00:00
ccarlen%netscape.com
aa7c17d84b
If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@139464 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 20:01:41 +00:00
dbaron%dbaron.org
2c50ed9f87
Make implementations consistent across platforms: ensure IsDirectory and IsFile return false even when the file doesn't exist (and they return an nsresult error status). b=187014 r=dougt sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@136268 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:17:49 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
ccarlen%netscape.com
dc6239e350
Bug 173668 - InitWithNativePath crashes if given a URL which begins with a forward slash. It happens during URI fixup. r=sdagley/sr=jaggernaut
...
git-svn-id: svn://10.0.0.236/trunk@134695 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 15:51:25 +00:00
ccarlen%netscape.com
5660acb14f
Bug 179932 - Need GetCFURL() on nsILocalFileMac. r=sdagley/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@133909 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 15:35:17 +00:00
ccarlen%netscape.com
152baeb1b3
Bug 177059 Mach-0 nsLocalFile::GetFileSize sometimes fails for directories. Patch by sfraser. r=ccarlen/sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@133401 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 15:03:06 +00:00
ccarlen%netscape.com
80957cfc91
Bug 173311 - RealPlayer One 9.0b2 plugin causes crash at startup for Mach-0 build because of symlink (alias) handling problems. r=bnesse/sr=sfraser/a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@132820 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 15:45:38 +00:00
ccarlen%netscape.com
20ee16102c
Bug 172223 - Mach-0 impl of nsLocalFile::Reveal() does not work because passing an FSRef in the Apple Event does not work - it must be an FSSpec. r=sdagley/sr=sfraser/a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@132207 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 01:59:54 +00:00
ccarlen%netscape.com
3632df380f
Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@130417 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 12:04:50 +00:00