Commit Graph

170 Commits

Author SHA1 Message Date
Wolfgang Rosenauer
ab20c8da7f Bug 562897 - Add required implementation to open files on Maemo 6. r=dougt
--HG--
extra : rebase_source : 49d8fbe234bf447b87486ac4404a148d676e009c
2010-07-30 12:46:20 -07:00
Michael Wu
6751328731 Bug 580434 - Use of readdir in nsLocalFileUnix not reliable when recursively deleting files on Android/Bionic. r=dougt 2010-07-28 18:12:34 -07:00
Josh Aas
7e0dfe202b Bug 581518: Make Mac OS X impl of nsLocalFile::SetPersistentDescriptor behave like it did previosly, supporting aliases. r=benwa 2010-07-25 23:49:28 -04:00
Josh Aas
fa81b00c6c Backed out changeset 45e3b4a37bad, that was intended for try server not m-c 2010-07-25 17:43:32 -04:00
Josh Aas
bd554e81ae old-persist1 2010-07-25 16:20:46 -04:00
Josh Aas
45cb20c144 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg 2010-07-21 23:25:24 -04:00
Josh Aas
77db992206 Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
e2c39ae137 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE 2010-07-16 18:35:59 -04:00
Ginn Chen
c988c4dd44 Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Brad Lassey
62e214de6f bug 565138 - Implement extloader backend for Android r=vlad 2010-06-14 15:04:16 -04:00
Matt Brubeck
4ee5bc2110 Bug 571440 - Android build fails on new quota check from bug 520098 (nsLocalFileUnix.cpp), r=bsmedberg 2010-06-11 19:48:33 -07:00
Hanspeter Niederstrasser
739fbf69a4 Bug 520098 - Darwin build fails on new quota check from bug 72892 (nsLocalFileUnix.cpp). r=bsmedberg 2009-10-01 18:07:00 -04:00
Michael Wu
a6b9079633 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Ginn Chen
b4156f2e01 Bug 542738 nsLocalFile::IsWritable/IsReadable/IsExecutable is wrong on Solaris r=dougt 2010-03-02 13:51:57 +08:00
Doug Turner
7892aabac9 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Benjamin Smedberg
bcfb46c55f Force rebuild of nsLocalFileUnix.cpp
--HG--
extra : rebase_source : 4bae544468e94d7d5bcbebe5d5de042c59b5b168
2009-10-01 11:23:54 -04:00
Martin Stránský
202ff4aa95 Bug 72892 - nsLocalFile::GetDiskSpaceAvaialble ignores quotas for unix, r=bsmedberg
--HG--
extra : rebase_source : 3bd5a75f7548a1ca45ff96676a752f23a2e9a13d
2009-09-30 14:26:10 -04:00
jhorak@redhat.com
a5beb085b9 Bug 402892. Support gio as well as gnome-vfs. r=roc 2009-08-25 11:58:11 -07:00
Mark Finkle
76c184332c Bug 500324: 'Open' button in download manager doesn't correctly launch the file in it's viewer, r=bsmedberg, blassey 2009-07-16 15:40:28 -04:00
Josh Aas
06262a54a5 Use the same path comparison behavior for nsIFile::Equals on all platforms. b=491245 sr=bsmedberg 2009-07-08 11:26:07 -04:00
Josh Aas
d19f83697a Optimize Mac OS X filesystem time methods. Clean up UNIX time methods wrt LL_ macro usage. b=489015 r=mstange sr=roc 2009-04-23 22:22:20 -04:00
Nils Maier
7f26a51c51 Bug 389087 - nsILocalFileUnix affected by 32bit stat/statvfs/truncate, therefore does not work with large files; r+sr=benjamin 2009-04-16 14:09:21 +02:00
Peter Annema
c2228f83ec Bug 485328: nsLocalFileUnix::GetNativeTarget() is broken for symlinks and (dangling) symlinks. r=neil, sr=bsmedberg 2009-04-07 04:38:41 -07:00
Peter Annema
633a7c9dfd Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg 2009-04-07 04:38:23 -07:00
Peter Annema
c552abb51a Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg 2009-04-07 02:20:05 -07:00
Robert O'Callahan
f4aea6aa03 Bug 482942. Tests for nsILocalFile implementations. Also changes nsLocalFileUnix::MoveTo to update the object to refer to the destination, matching other platforms' behaviour. r=bsmedberg
--HG--
rename : xpcom/tests/nsIFileTest.cpp => xpcom/tests/TestFile.cpp
2009-03-24 13:44:37 +13:00
Robert O'Callahan
fba4c1c3ce Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Josh Aas
05e8caa7d0 Don't incorrectly change permissions on link target in SetPermissionsOfLink in unix fs code. Just don't do anything for changes targetting links. b=457487 r=smichaud sr=dougt 2008-10-07 21:26:41 -04:00
Josh Aas
39fa2b5f9e Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt 2008-09-30 02:06:18 -04:00
Mike Hommey
09052f844e Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg 2008-08-06 13:09:44 +02:00
reed@reedloden.com
466b0b1204 Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com
e599e0db22 Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
enndeakin@sympatico.ca
a425bb001a Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
reed@reedloden.com
90f7bad0e6 Bug 391980 - "New Download manager automatically associates all types of files including folders with one file type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg a=blocking-firefox3+] 2007-11-26 15:55:34 -08:00
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
alfred.peng%sun.com
80b213d02e Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.
r+sr=dougt.
2006-12-06 03:58:48 +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
4ac05d33bb Bug 352573 nsLocalFile::CopyDirectoryTo uses oldPerms uninitialized
r=dougt
2006-09-16 23:53:48 +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
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
timeless%mozdev.org
c113ece289 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +00:00
darin%meer.net
b0aabfef01 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
ben%bengoodger.com
c7791f3f2c fix build bustage - use comptr to delete obj 2005-04-23 02:08:12 +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
cbiesinger%web.de
cb925c9f7d fixing bustage 2005-02-20 14:28:07 +00:00
cbiesinger%web.de
f56106d36a Bug 280351 don't assert when a relative path is passed to
nsLocalFileUnix::InitWithPath
r=dougt sr=darin
2005-02-20 14:05:46 +00:00
timeless%mozdev.org
219d7e6374 Bug 169506 nsLocalFileUnix have problems with BeOS. IsExecutable()...
patch by thesuckiestemail@yahoo.se r=sergei_d moa=dougt
2005-01-30 08:55:16 +00:00