enndeakin@sympatico.ca
8efc7f8e46
Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg
2007-07-25 09:53:37 -07:00
bzbarsky@mit.edu
3e65919675
Fix string leak. Bug 389191, r=josh, sr=bsmedberg
2007-07-24 13:19:03 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
joshmoz@gmail.com
066729b99b
fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg
2007-06-04 08:44:43 -07:00
joshmoz%gmail.com
9d33769e4b
nsLocalFile::GetParent() doesn't return nsnull at top of volume. patch by Wladimir Palant. b=332389 r=sayrer r=josh
2007-03-07 22:17:01 +00:00
sayrer%gmail.com
e4e974dc5a
Bug 367608. implement nsIFile::normalize() on OS X. r=mano, sr=bsmedberg
2007-01-30 21:50:45 +00:00
mozilla.mano%sent.com
177a1e40ad
Bug 364521 - Need a bundleIdentifier attribute in nsILocalFileMac. r=mento, sr=pink.
2006-12-23 20:17:29 +00:00
gavin%gavinsharp.com
fc58ca05d3
Mac bustage fix for bug 361351
2006-12-16 15:11:56 +00:00
gavin%gavinsharp.com
8d8b9b6e5f
Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin
2006-12-16 14:55:00 +00:00
joshmoz%gmail.com
e8b317b9f3
Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg
2006-11-14 22:06:00 +00:00
timeless%mozdev.org
6d112f0859
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
mark%moxienet.com
3faa5035a0
347778 nsLocalFile::MoveTo no longer creates directories when needed on OS X after bug 294584. r=darin
2006-08-07 21:27:09 +00:00
mark%moxienet.com
5cd71b72d1
294584 Profile fills with bookmarks-##.html (and cookies-##.txt) files due to contention with Spotlight and virus scanners. Use POSIX rename/unlink/rmdir APIs instead of higher-level File Manager equivalents. r=josh sr=darin
2006-08-01 01:48:24 +00:00
mark%moxienet.com
f41b9c5029
345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin
2006-07-23 15:16:37 +00:00
beng%bengoodger.com
65ef342f8e
334747, 339893 - desktop application feed readers do not display their app name properly or launch with the specified feed on OSX due to lack of support for a function to get the application bundle name, and a method to invoke an application bundle on OS X with a URL. Add an attribute to nsILocalFileMac called bundleDisplayName to show the application's name, and a method to nsIShellService called openApplicationWithURL which launches an application with a URL parameter appropriately across platforms (nsIProcess on windows and linux, LaunchServices on OS X). Update the client code to use bundleDisplayName, and also the <filefield> binding in preferences to use it too. r=mark sr=darin
2006-06-27 22:38:55 +00:00
benjamin%smedbergs.us
71da471b8c
Reverting bug 326925 because of a 6.5% Ts increase, even in static builds.
2006-04-13 17:24:12 +00:00
benjamin%smedbergs.us
0b70a74f81
Bug 326925 - components should be loaded with RLTD_NOW, r=darin - This is an experimental checkin that has the potential to affect Ts times on linux machines, especially nonstatic builds.
2006-04-11 13:28:21 +00:00
darin%meer.net
3aaa394631
fixes bug 328920, r=mark.mentovai
2006-03-08 05:47:22 +00:00
mark%moxienet.com
9e051c299b
326668 Add NS_NewLocalFileWithFSRef function to create nsLocalFiles from FSRefs on Mac prior to xpcom startup. r=josh sr=dougt
2006-03-07 01:26:13 +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
bsmedberg%covad.net
4f07681075
Bug 320328 (mac) - Ts regression from bug 316416 (possible fix), r=josh moa=shaver
2005-12-19 20:19:09 +00:00
mark%moxienet.com
81710bf983
Bug 317345, nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr
2005-11-22 05:09:38 +00:00
bsmedberg%covad.net
bc63a700d1
Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz)
2005-11-18 20:12:46 +00:00
bsmedberg%covad.net
c0af4ff1aa
Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
2005-11-18 14:18:49 +00:00
mark%moxienet.com
92b3f50a1c
Bug 298529, Core support for Mac 10.4u ("universal") SDK, part 2. Mac alias API update. r=josh sr=smfr a=asa via irc
2005-06-30 04:32:24 +00:00
mozilla.mano%sent.com
47b977a1f5
Bug 298801 - [Mac] nsLocalFile::InitWithNativePath doesn't interpret ~/... paths. r=jhpedemonte, sr=smfr, a=bsmedberg
2005-06-28 16:35:24 +00:00
ben%bengoodger.com
d5b6769604
291177 - need interface for enumerating directories, implement nsIDirectoryEnumerator with close() method to free system resources after enumeration complete - used incorrect checkin comment for previous checkin which has the meat of the change! r+sr=darin a=brendan
2005-04-23 01:41:42 +00:00
ben%bengoodger.com
b9725a8b1a
286034 - allow extensions to be installed/uninstalled by simply adding/removing their directories... r=bsmedberg, sr=darin, a=brendan
2005-04-23 01:39:51 +00:00
pinkerton%aol.net
d622e77f5b
fix mem leak (rs=pink)
2005-02-07 03:12:25 +00:00
jshin%mailaps.org
cf9d6a4895
bug 233485 : add 'size' parameter to nsAutoBuffer (patch for customers) : r=ccarlen, sr=rbs)
2004-02-19 11:00:29 +00:00
jshin%mailaps.org
4ffa3b1e3f
follow-up to bug 227547 (not a bug) : added missing 'const' qualifier to the first parameter of CopyUTF8toUTF16NFC()
2004-01-28 08:21:39 +00:00
jshin%mailaps.org
8c6b7db6f8
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
2004-01-28 05:55:30 +00:00
bryner%brianryner.com
0c7c3a2ff3
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.
2004-01-15 06:14:18 +00:00
peter%propagandism.org
45f50dbc47
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 09:56:23 +00:00
dwitte%stanford.edu
9ae54e162c
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.
2003-07-18 22:14:16 +00:00
timeless%mozdev.org
4942b03239
Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
...
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
dwitte%stanford.edu
270d3909ca
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.
2003-05-23 21:34:47 +00:00
sgehani%netscape.com
71ed167934
Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
...
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
2003-05-21 00:53:36 +00:00
ccarlen%netscape.com
82d6d96035
Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser
2003-04-21 21:43:38 +00:00
ccarlen%netscape.com
35e19dac59
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
2003-04-18 13:50:38 +00:00
ssu%netscape.com
7e387c0ae1
fixing bug 186088 - Mozilla crashes during installation of XPI Packages [@ nsInstallFile::CreateAllFolders]. r=ccarlen,sr=dveditz
2003-03-21 22:18:17 +00:00
ccarlen%netscape.com
afe7773d87
Backing out due to huge Ts increase
2003-03-20 08:45:50 +00:00
ccarlen%netscape.com
8d38ed69c5
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
2003-03-20 06:05:03 +00:00
ccarlen%netscape.com
7061fe60e5
If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser
2003-03-14 20:01:41 +00:00
dbaron%dbaron.org
12a781c511
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
2003-01-13 23:17:49 +00:00
dbaron%dbaron.org
b9083989bb
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
ccarlen%netscape.com
6239872837
Bug 173668 - InitWithNativePath crashes if given a URL which begins with a forward slash. It happens during URI fixup. r=sdagley/sr=jaggernaut
2002-12-03 15:51:25 +00:00
ccarlen%netscape.com
dabf53c9c0
Bug 179932 - Need GetCFURL() on nsILocalFileMac. r=sdagley/sr=sfraser
2002-11-15 15:35:17 +00:00
ccarlen%netscape.com
aee74580af
Bug 177059 Mach-0 nsLocalFile::GetFileSize sometimes fails for directories. Patch by sfraser. r=ccarlen/sr=bryner
2002-11-08 15:03:06 +00:00
ccarlen%netscape.com
88535bd0b1
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
2002-11-01 15:45:38 +00:00