Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
fur%netscape.com 9b088cf1a4 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 8535dda53e 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 4b0ca9d0cd 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 af96133451 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 7bd0965e19 Reverting changes accidentally checked in 1999-09-15 05:28:31 +00:00
cls%seawood.org fb6ccf14b6 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 08b5c219f9 hoping this fixes dougt's bustage 1999-09-10 20:58:46 +00:00
dougt%netscape.com 82c52d63e8 changing GetDiskSpaceAvailable to return a signed 64 bit value 1999-09-10 20:03:56 +00:00
dougt%netscape.com 040525b8df fixing var name 1999-09-09 19:37:29 +00:00
dougt%netscape.com d8fcfee5c9 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 f1accaf47c 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 36331ac52e add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
rjc%netscape.com 51cd65edef 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 2c0db25826 isHidden was returning backwards results 1999-08-24 18:32:06 +00:00
briano%netscape.com ff69b9b5fa Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
sspitzer%netscape.com 859fd92e85 make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
sspitzer%netscape.com 47eb34bb8d 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 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
briano%netscape.com 44e858a3d6 Fix for NTO, which uses statvfs. 1999-07-22 01:31:43 +00:00
briano%netscape.com 58a714eb9b 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 944676615b fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
briano%netscape.com daecd83558 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 06f1388283 Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
briano%netscape.com 2ef9974fe9 Fix for AIX, Solaris, OSF/1, and probably others. 1999-05-08 06:24:27 +00:00
mcmullen%netscape.com b71b1961d8 Fix an error in the previous checkin. 1999-05-03 23:14:28 +00:00
mcmullen%netscape.com 36d20039a0 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 e5e977358e 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 4efbbee451 Oops. 1999-04-20 19:31:11 +00:00
mcmullen%netscape.com 34af4633c2 Correct a problem my last change to GetParent() introduced. 1999-04-20 19:09:22 +00:00
mcmullen%netscape.com bd7584529a 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 cf50f70912 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 75e878b3a9 memset a buffer to 0, to avoid Solaris UMR diagnostics. 1999-04-06 20:10:50 +00:00
mcafee%netscape.com 2d625f9600 Simplifying SCO case. 1999-04-01 05:16:32 +00:00
mcafee%netscape.com 15d6df3109 Adding support for NTO. 1999-04-01 05:06:34 +00:00
mcafee%netscape.com e07a8b47d6 Simplifying ifdef logic in preparation for jump to hyperspace (autoconf) 1999-04-01 05:02:32 +00:00
pavlov%pavlov.net 07d3f0be51 add a cast to fix build problems on the ports tinderboxes. 1999-03-21 15:42:44 +00:00
dougt%netscape.com 899ccc36a3 Fixing unix breakage. 1999-03-21 06:57:56 +00:00
dougt%netscape.com e4949d344c 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 c59cbb3e36 oops, back out my old patch - caused more harm than good 1999-03-20 02:41:27 +00:00
alecf%netscape.com 804aa05e63 there is no header file on unix that actually includes this path. wierd. 1999-03-20 02:34:31 +00:00
mcmullen%netscape.com 5a20fa4872 Fix unix bustage. 1999-03-20 00:13:08 +00:00
mcmullen%netscape.com 6cf27d2a67 Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
mcmullen%netscape.com 3bb07d2871 Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
mcmullen%netscape.com eb40f15d6f Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
mcmullen%netscape.com 2eb1452b5e Fix a unix warning 1999-03-05 23:00:57 +00:00
mcmullen%netscape.com 0ab1a3175d Fix unix build errors 1999-02-28 02:17:55 +00:00
mcmullen%netscape.com 22a00633c9 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 cf6f44ef32 Switching false/true over to PR_FALSE/PR_TRUE 1999-02-26 19:47:48 +00:00
alecf%netscape.com 66c86207fd fix -pedantic bustage - Delete isn't const, so re-cast "this" 1999-02-26 17:56:44 +00:00
dougt%netscape.com ccbad16cde Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.
1999-02-25 20:49:47 +00:00