33 Commits

Author SHA1 Message Date
conrad%ingress.com
14ebd77604 1. Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath.
2. It is now possible to pass nsnull for the path param to NS_NewLocalFile(). This allows one to create an unspecified file.
r = dougt


git-svn-id: svn://10.0.0.236/trunk@74318 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 15:03:05 +00:00
dougt%netscape.com
db020b04c0 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@74130 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:59:33 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
colin%theblakes.com
5a93fe8776 Remove VMS specific code; not needed any more. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@73769 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:11:38 +00:00
cls%seawood.org
500003732d Given the statement "a == b ? c : d;" , the WorkShop 5.0 compiler expects c & d to be of the same type.
git-svn-id: svn://10.0.0.236/trunk@73296 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:10:21 +00:00
dougt%netscape.com
ba45beb562 Bug 43314.
r=Henry Sobotka <sobotka@axess.com>
a=brendan@mozilla.org
s=Robert O'Callahan <roc+moz@cs.cmu.edu>


git-svn-id: svn://10.0.0.236/trunk@73281 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:35:32 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
pavlov%netscape.com
0db5c92501 fix for unix filepicker not coming up correctly (bug #38810)
git-svn-id: svn://10.0.0.236/trunk@69096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:41:33 +00:00
dougt%netscape.com
18a3907030 InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.


git-svn-id: svn://10.0.0.236/trunk@68932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:53:03 +00:00
dougt%netscape.com
6ec01981a7 Missed six chars. fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:28:55 +00:00
dougt%netscape.com
6036715cd7 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:14 +00:00
dp%netscape.com
09f87e1345 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.


git-svn-id: svn://10.0.0.236/trunk@68351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:47:32 +00:00
jim_nance%yahoo.com
8116cad07e Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885


git-svn-id: svn://10.0.0.236/trunk@65382 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 22:37:01 +00:00
cls%seawood.org
ac2404dde2 Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> .
git-svn-id: svn://10.0.0.236/trunk@65278 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:12:26 +00:00
waterson%netscape.com
d759391f64 Making string conversions explicit.
git-svn-id: svn://10.0.0.236/trunk@65179 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:35:51 +00:00
blizzard%redhat.com
8a643c4e4d checkin patches to implement nsILocalFile::GetDiskSpaceAvailable from Jason Eager and nsIFile::GetParent from pavlov. r=pavlov,blizzard,dougt. a=dougt
git-svn-id: svn://10.0.0.236/trunk@64890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:07:14 +00:00
sgehani%netscape.com
a8ccfeed71 Fixing nsIFile::SetLastModificationDate for Unix.
b = 12368
r = ssu


git-svn-id: svn://10.0.0.236/trunk@64239 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:04:46 +00:00
blizzard%redhat.com
38572a5d11 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@62992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:08:28 +00:00
dougt%netscape.com
5721f55fcf fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
r=pete@alphanumerica.com


git-svn-id: svn://10.0.0.236/trunk@62871 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:11:02 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
cls%seawood.org
db52c80337 Explicitly cast mPath to const char* as some compilers can't automatically cast from nxXPIDLCString to char * .
git-svn-id: svn://10.0.0.236/trunk@61705 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:13:30 +00:00
cls%seawood.org
8b786c221d Implement the equivalent of Unix's realpath() for BeOS. Build blocker. a=leaf
git-svn-id: svn://10.0.0.236/trunk@61548 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:48:30 +00:00
blizzard%redhat.com
0759887c2e change nsIFile::Spawn to take an array of arguments instead of just a single flat string. bug #27843. r=dougt, a=chofmann. also, implement nsIFile::Normalize for unix. bug #17948. r=shaver, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@61201 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:35:54 +00:00
colin%theblakes.com
a06111f25f Make filespec comparisons case-blind for OpenVMS. Fix build problem for OpenVMS. r=dougt
git-svn-id: svn://10.0.0.236/trunk@60319 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 10:54:55 +00:00
dp%netscape.com
e8ff09e36c Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@60219 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:47:51 +00:00
dougt%netscape.com
8405fac6f4 Making unix act like the rest of the platforms. It now return zero for the
size if the nsIFile is really a directory.


git-svn-id: svn://10.0.0.236/trunk@60214 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:09:35 +00:00
dougt%netscape.com
91d041c0be bug fix 25626. r=tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@59299 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:09:14 +00:00
dougt%netscape.com
717daf4b42 Renaming IsContainedIn to contains. Fixing implementation on unix.
git-svn-id: svn://10.0.0.236/trunk@59128 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:53:59 +00:00
dougt%netscape.com
bd62ec42b1 Fixing dll exports for NS_NewLocalFile()
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@59111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:35:55 +00:00
mscott%netscape.com
09edcfccd8 filesize bustage. dougt's fix, r=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@58633 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 21:41:00 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dougt%netscape.com
5e6a51e582 1. First cut of a Special System Directory replacement (nsDirectoryService).
It is a nsIProperty.

2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
   with warren. (thanks)

3. Updated windows mac and unix implementations based on interface changes.
   Mac and windows changes need to be reviewed.


                          Not part of build.


git-svn-id: svn://10.0.0.236/trunk@56336 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:56:45 +00:00
dougt%netscape.com
94ecbedb06 renamed from the hated nsISomethingImpl.
git-svn-id: svn://10.0.0.236/trunk@55246 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:13:44 +00:00