Commit Graph
176 Commits
Author SHA1 Message Date
[email protected] a08217b94c fix build bustage - use comptr to delete obj 2005-04-23 02:08:12 +00:00
[email protected] 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
[email protected] 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
[email protected] d60437b135 fixing bustage 2005-02-20 14:28:07 +00:00
[email protected] 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
[email protected] 298892a48b Bug 169506 nsLocalFileUnix have problems with BeOS. IsExecutable()...
patch by [email protected] r=sergei_d moa=dougt
2005-01-30 08:55:16 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] a476814222 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
[email protected] 870007c547 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
[email protected] dc05923955 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<[email protected]>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 0cf1c7d776 backing out 240192 patch 2004-04-16 20:10:47 +00:00
[email protected] e8832a28c5 bug 240192, nsLocalFileUnix doesn't work with files larger than 2 GB
r+sr=darin
2004-04-16 19:01:58 +00:00
[email protected] fda2e7c079 fixing hpux bustage, bug 239465, r=dbaron 2004-04-02 23:48:18 +00:00
[email protected] e594e3a8c9 Fixing hpux bustage. r=dbaron. 2004-04-01 23:13:25 +00:00
[email protected] 33f7ab6e0c landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
[email protected] 3736b6e206 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
[email protected] a7132979a9 Bug 183871
Crash on "Show hidden files and directories" [@ nsFileView::SetDirectory(nsIFile*) ]
fix: don't let files be initialized with relative paths.
also fix the directory service to not do that.

r=dougt sr=bzbarsky
2003-12-25 22:05:01 +00:00
[email protected] 9c4ca41ac2 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
[email protected] 863f9e1027 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
[email protected] a9723feca4 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
[email protected] 8f60c7625f 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
[email protected] 8c37890522 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
[email protected] 2e2aa25c77 Bug#169506
IsExecutable() deos not work for BeOS

BeOS now uses stat() instead of access() for:
IsWritable()
IsReadable()
IsExecutable()

sr=scc
r-dougt,arougthopher
2002-10-05 19:06:28 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] c1cb12967c b=121489, r=dougt, sr=bzbarsky
Simple fix for nsIFile GetParent to return null when already at the top of the volume
Thanks guys for the speedy review.

--pete
2002-09-07 02:00:31 +00:00
[email protected] faf40751db Fixes 165561. r=me, sr=darin, by=pete collins 2002-08-29 23:11:20 +00:00
[email protected] c023454c4f Bug 76968: expand ~/ into NS_OS_HOME_DIR in nsLocalFileUnix. r=bzbarsky,
sr=blizzard.
2002-06-17 21:03:43 +00:00
[email protected] 01b53ace5a fixes bug 147333 "Cannot load local files whose names contain
Japanese/Chinese characters" r=bstell sr=brendan a=asa
2002-06-10 18:50:11 +00:00
[email protected] 876b874105 freezing nsIFile/nsILocalFile API (b=129279)
r=dougt sr=alecf
2002-05-13 22:55:29 +00:00
[email protected] 09c17695e3 fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
[email protected] 983c57132e Bug 125489 'Privacy & Security' item has no children + items from tasks menu
patch by [email protected]
r=dougt sr=brendan
2002-05-01 23:04:46 +00:00
[email protected] f14b765ec6 Avoid opening and trying to reopen in CopyTo, so we work on FAT32 filesystems mounted on Linux (e.g.; 134163, r=dougt, sr=waterson). 2002-04-29 23:35:18 +00:00
[email protected] cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected] 5b6d50c7d5 Backing out alecf's checkin for bug 124497 to fix comet startup test problem.
Dougt claims that nsLocalFile's copy constructor doesn't work.
r=sleestack
2002-03-20 03:16:09 +00:00
[email protected] 038af60ff3 fix leak caused by nsLocalFile::Clone() where we were copying the refcnt to the new object - bug 124497
this ends up being more of a performance win than anyting on Unix and OS/2
r=mkaply, dbaron, sr=darin, a=asa
2002-03-20 00:25:21 +00:00
[email protected] db889b90f6 Fix for Bug#69707
BeOS implementation of nsLocalFile::Launch and nsLocalFile::Reveal

r=cls ([email protected])
a=asa ([email protected]) on behalf of drivers
2002-02-21 03:33:42 +00:00
[email protected] 19b4796879 Get rid of extra leading slashes appearing in unix paths. Bug 124873,
[email protected], sr=brendan.
2002-02-12 21:05:56 +00:00
[email protected] 7d80ef4b6c backing out. not part of 122523 bug fix 2002-02-06 20:42:02 +00:00
[email protected] 4f2cc01ef9 Optimization which gathers stat() info when opening a file. bug 122523, [email protected], [email protected] 2002-02-06 20:40:40 +00:00
[email protected] 0b4e183acd backing out my optimization 2002-02-02 03:20:01 +00:00
[email protected] 389950bb59 should fix btek bustage 2002-02-02 02:49:52 +00:00
[email protected] e6fc7d3c9c fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. [email protected], [email protected] 2002-02-02 01:25:57 +00:00
[email protected] 74edbc926c S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
[email protected] cc7951b2f9 movind implementation of FilleStatCache into nsLocalFileUnix.cpp
where other calls to lstat work fine

This is an attempt to fix bustage on some linux platfroms

--pete
2002-01-27 18:02:18 +00:00
[email protected] 2f34fb48bd b=107641, r=blizzard, sr=brendan
fix: CopyTo won't copy read-only files or broken symlinks

Thanks to [email protected] for help on this one.

--pete
2002-01-27 14:31:25 +00:00
[email protected] aa0d321d1a these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
[email protected] 0a41a9bd4d 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
[email protected] db2df145c6 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan
2001-12-22 19:08:48 +00:00
[email protected] c026aacde5 more bustage 2001-12-19 01:03:10 +00:00