briano%netscape.com
8b970ca718
Fix for QNX-specific build bustage. QNX doesn't provide a prototype for truncate().
1999-12-02 03:17:04 +00:00
fur%netscape.com
dbf19a8e32
Took out unnecessary const, which will hopefully unbusticate unix build
1999-11-19 02:25:04 +00:00
fur%netscape.com
e9aa0af998
In support of #8305 (implement cache).
...
Add Truncate() method to nsIFileSpec and implement in nsFileSpecImpl
[Mac Implementation: sdagley, r: sfraser]
[Win implementation: fur, r:rogerl]
[Unix implementation: yixiong.zue@intel.com , r: fur]
1999-11-19 01:42:46 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
dveditz%netscape.com
ab0d6dd3aa
Changing nsFileSpec Copy and Move function names to match their
...
functionality, and also to free up the namespace for a *real* Copy
and Move that allow renaming the leaf name rather than just copying
into different directories (i.e. to make backup files). r=ssu
1999-10-21 00:40:39 +00:00
sfraser%netscape.com
2204476289
Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings.
reviewed by dougt and (in part) sspitzer. a=leaf.
1999-10-11 21:19:06 +00:00
cls%seawood.org
0a10e0a466
Reverting changes accidentally checked in
1999-09-15 05:28:31 +00:00
cls%seawood.org
9403bee785
Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h>
1999-09-13 05:09:53 +00:00
dveditz%netscape.com
6f9b4b14a2
hoping this fixes dougt's bustage
1999-09-10 20:58:46 +00:00
dougt%netscape.com
00725ef8f7
changing GetDiskSpaceAvailable to return a signed 64 bit value
1999-09-10 20:03:56 +00:00
dougt%netscape.com
01cce158c5
fixing var name
1999-09-09 19:37:29 +00:00
dougt%netscape.com
41a7fa078c
nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
...
thanks to Chet Murphy <cmurphy@modelworks.com> for the windows code!
1999-09-09 19:20:35 +00:00
driehuis%playbeing.org
1a157b514d
Unbreak the BSD/OS build. sys/mount.h drags in net/radix.h, which happens
...
to define a symbol called Free. Sigh. Clean up after net/radix.h.
1999-09-05 00:49:01 +00:00
shaver%netscape.com
90e6e9f4e7
add IsChildOf, and dougt's relative-path-handling diff
1999-09-03 23:44:59 +00:00
rjc%netscape.com
d982990ad0
For Unix, don't return "." ".." or any file/directory that begins with a "."! Perhaps we should really end up having a preference that determines whether to return these "hidden" items or not.
1999-08-30 11:40:29 +00:00
pavlov%netscape.com
4e458bc8f5
isHidden was returning backwards results
1999-08-24 18:32:06 +00:00
briano%netscape.com
9ce9036be3
Fix for SCO OpenServer.
1999-07-31 19:33:36 +00:00
sspitzer%netscape.com
b1cecd9cfd
make mPath canonical after resolving the symlink. a=mcafee.
1999-07-29 20:14:42 +00:00
sspitzer%netscape.com
131a753df2
fix for #10697 . ResolveSymlink() messes with mCurrent, so we need to restore it. Also, make ResolveSymlink() return an absolute file, instead of a relative one.
1999-07-29 04:31:04 +00:00
dougt%netscape.com
5adb63dcaf
Fix for bug 10177 and 10041.
1999-07-26 22:09:42 +00:00
briano%netscape.com
564cbd2dcf
Fix for NTO, which uses statvfs.
1999-07-22 01:31:43 +00:00
briano%netscape.com
f31e122fa0
QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath.
1999-07-21 23:15:15 +00:00
dougt%netscape.com
1a1d8aed32
fix for bug: 10260
...
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
briano%netscape.com
999cc9155b
Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh.
1999-07-12 22:36:24 +00:00
racham%netscape.com
4268c36ec5
Adding RecursiveCopy interface
1999-07-05 01:39:42 +00:00
briano%netscape.com
227c87aa79
Fix for AIX, Solaris, OSF/1, and probably others.
1999-05-08 06:24:27 +00:00
mcmullen%netscape.com
b81996e890
Fix an error in the previous checkin.
1999-05-03 23:14:28 +00:00
mcmullen%netscape.com
9caf9d55f4
Check for a null path before calling stat() and friends (bug #5576 ). a=chofmann.
1999-05-03 20:29:01 +00:00
mcmullen%netscape.com
64f5c7dbe1
Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140 .
1999-04-26 19:05:00 +00:00
mcmullen%netscape.com
0c1a07d566
Oops.
1999-04-20 19:31:11 +00:00
mcmullen%netscape.com
71ef3f328e
Correct a problem my last change to GetParent() introduced.
1999-04-20 19:09:22 +00:00
mcmullen%netscape.com
7910e844e2
Fixed GetParent() on windows and unix (was incorrect for directories whose paths end in a separator).
1999-04-19 22:07:42 +00:00
briano%netscape.com
7cd74587cd
Cleaned up the statfs mess at the beginning to make use of configure's power.
1999-04-10 01:13:02 +00:00
mcmullen%netscape.com
2c21cb44b2
memset a buffer to 0, to avoid Solaris UMR diagnostics.
1999-04-06 20:10:50 +00:00
mcafee%netscape.com
2487b0b4a8
Simplifying SCO case.
1999-04-01 05:16:32 +00:00
mcafee%netscape.com
2351aa3b9a
Adding support for NTO.
1999-04-01 05:06:34 +00:00
mcafee%netscape.com
291d034bd2
Simplifying ifdef logic in preparation for jump to hyperspace (autoconf)
1999-04-01 05:02:32 +00:00
pavlov%pavlov.net
422db61565
add a cast to fix build problems on the ports tinderboxes.
1999-03-21 15:42:44 +00:00
dougt%netscape.com
8929a4a930
Fixing unix breakage.
1999-03-21 06:57:56 +00:00
dougt%netscape.com
aae2baf3ab
Now adjusting the nsFileSpec after a Move().
...
Also fixing a bug with Rename(). Now it should successfully take
partial pathnames on Unix and Windows.
1999-03-21 06:22:45 +00:00
alecf%netscape.com
5ad7970d08
oops, back out my old patch - caused more harm than good
1999-03-20 02:41:27 +00:00
alecf%netscape.com
c9eb80041f
there is no header file on unix that actually includes this path. wierd.
1999-03-20 02:34:31 +00:00
mcmullen%netscape.com
7e8e0f5edf
Fix unix bustage.
1999-03-20 00:13:08 +00:00
mcmullen%netscape.com
fb1366b389
Bugs #3997 , 3934
1999-03-19 23:09:39 +00:00
mcmullen%netscape.com
6fcc5b6293
Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable)
1999-03-13 06:38:57 +00:00
mcmullen%netscape.com
0e3fcaece6
Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null.
1999-03-10 21:02:58 +00:00
mcmullen%netscape.com
9001472b4c
Fix a unix warning
1999-03-05 23:00:57 +00:00
mcmullen%netscape.com
290b78c91a
Fix unix build errors
1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
f672d26a46
Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
1999-02-28 01:36:48 +00:00
mcafee%netscape.com
a51a1d23cc
Switching false/true over to PR_FALSE/PR_TRUE
1999-02-26 19:47:48 +00:00