Commit Graph

264 Commits

Author SHA1 Message Date
Josh Aas
cb5c5603eb Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
c94755ad9d 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
88ec14b65d Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Brad Lassey
a0b323403e bug 565138 - Implement extloader backend for Android r=vlad 2010-06-14 15:04:16 -04:00
Matt Brubeck
ef4abb3a4a 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
7f83f3e0dc 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
5bfe8f64a5 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Ginn Chen
1f5fd76f98 Bug 542738 nsLocalFile::IsWritable/IsReadable/IsExecutable is wrong on Solaris r=dougt 2010-03-02 13:51:57 +08:00
Doug Turner
879a42d6c1 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Benjamin Smedberg
5229608383 Force rebuild of nsLocalFileUnix.cpp 2009-10-01 11:23:54 -04:00
Martin Stránský
269bce65d5 Bug 72892 - nsLocalFile::GetDiskSpaceAvaialble ignores quotas for unix, r=bsmedberg 2009-09-30 14:26:10 -04:00
1092734136 Bug 402892. Support gio as well as gnome-vfs. r=roc 2009-08-25 11:58:11 -07:00
Mark Finkle
13eb1a62c8 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
37572b9d56 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
b4077ba59c 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
e1e2677d37 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
2fbbdc0c6a 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
839b5f0a4e Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg 2009-04-07 04:38:23 -07:00
Peter Annema
c0440c9fa4 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
20d35d04b1 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 2009-03-24 13:44:37 +13:00
Robert O'Callahan
31eb9ebeab Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Josh Aas
ff63f95095 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
aac27e1339 Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt 2008-09-30 02:06:18 -04:00
Mike Hommey
8f0a126947 Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg 2008-08-06 13:09:44 +02:00
c55bed3541 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
a1e982ddfb 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
eddf0face9 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
c4ee665159 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
de884c0691 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
135c845d66 Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.
r+sr=dougt.
2006-12-06 03:58:48 +00:00
joshmoz@gmail.com
1e97d4c2ce 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
c4b825713a Bug 352573 nsLocalFile::CopyDirectoryTo uses oldPerms uninitialized
r=dougt
2006-09-16 23:53:48 +00:00
benjamin@smedbergs.us
253100338a 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
9e5dc86a08 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
e374cbf6a3 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
ecab683408 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
0c4a46dc5c 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
a22499d126 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
a08217b94c fix build bustage - use comptr to delete obj 2005-04-23 02:08:12 +00:00
ben@bengoodger.com
ecde10e786 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
ee02f00619 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
d60437b135 fixing bustage 2005-02-20 14:28:07 +00:00
cbiesinger@web.de
3e77eea23c 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
298892a48b 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
roc+@cs.cmu.edu
6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky@mit.edu
a476814222 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky@mit.edu
870007c547 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky@mit.edu
dc05923955 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger@web.de
0cf1c7d776 backing out 240192 patch 2004-04-16 20:10:47 +00:00