cls%seawood.org
696bbb41fa
Reverting changes accidentally checked in
...
git-svn-id: svn://10.0.0.236/trunk@47537 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 05:28:31 +00:00
cls%seawood.org
46df8144ee
Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h>
...
git-svn-id: svn://10.0.0.236/trunk@47097 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 05:09:53 +00:00
dveditz%netscape.com
f8e3f2c05b
hoping this fixes dougt's bustage
...
git-svn-id: svn://10.0.0.236/trunk@46843 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 20:58:46 +00:00
dougt%netscape.com
4b0f769454
changing GetDiskSpaceAvailable to return a signed 64 bit value
...
git-svn-id: svn://10.0.0.236/trunk@46835 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 20:03:56 +00:00
dougt%netscape.com
6c0c6d1084
fixing var name
...
git-svn-id: svn://10.0.0.236/trunk@46601 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:37:29 +00:00
dougt%netscape.com
66f1984420
nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
...
thanks to Chet Murphy <cmurphy@modelworks.com> for the windows code!
git-svn-id: svn://10.0.0.236/trunk@46590 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:20:35 +00:00
driehuis%playbeing.org
39e631595e
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.
git-svn-id: svn://10.0.0.236/trunk@46038 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 00:49:01 +00:00
shaver%netscape.com
aff923d924
add IsChildOf, and dougt's relative-path-handling diff
...
git-svn-id: svn://10.0.0.236/trunk@45975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:44:59 +00:00
rjc%netscape.com
a744f7636b
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.
...
git-svn-id: svn://10.0.0.236/trunk@45146 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 11:40:29 +00:00
pavlov%netscape.com
30ec336bcb
isHidden was returning backwards results
...
git-svn-id: svn://10.0.0.236/trunk@44309 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:32:06 +00:00
briano%netscape.com
c3620d71f5
Fix for SCO OpenServer.
...
git-svn-id: svn://10.0.0.236/trunk@41731 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 19:33:36 +00:00
sspitzer%netscape.com
7442fe6354
make mPath canonical after resolving the symlink. a=mcafee.
...
git-svn-id: svn://10.0.0.236/trunk@41555 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 20:14:42 +00:00
sspitzer%netscape.com
851457b19f
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.
...
git-svn-id: svn://10.0.0.236/trunk@41541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:31:04 +00:00
dougt%netscape.com
d219f1385e
Fix for bug 10177 and 10041.
...
git-svn-id: svn://10.0.0.236/trunk@41167 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 22:09:42 +00:00
briano%netscape.com
1a2743b4e1
Fix for NTO, which uses statvfs.
...
git-svn-id: svn://10.0.0.236/trunk@40575 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 01:31:43 +00:00
briano%netscape.com
d7fd76ef30
QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath.
...
git-svn-id: svn://10.0.0.236/trunk@40538 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:15:15 +00:00
dougt%netscape.com
0e3652a9a5
fix for bug: 10260
...
removed warning in nsIFileStream.cpp
git-svn-id: svn://10.0.0.236/trunk@40445 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 17:56:01 +00:00
briano%netscape.com
dbf34afb61
Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh.
...
git-svn-id: svn://10.0.0.236/trunk@39019 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 22:36:24 +00:00
racham%netscape.com
f8eb4fa44c
Adding RecursiveCopy interface
...
git-svn-id: svn://10.0.0.236/trunk@38347 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 01:39:42 +00:00
briano%netscape.com
607f6ae160
Fix for AIX, Solaris, OSF/1, and probably others.
...
git-svn-id: svn://10.0.0.236/trunk@30810 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 06:24:27 +00:00
mcmullen%netscape.com
5f7276e7bd
Fix an error in the previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@30008 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:14:28 +00:00
mcmullen%netscape.com
41ee8ce9bd
Check for a null path before calling stat() and friends (bug #5576 ). a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@29975 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:29:01 +00:00
mcmullen%netscape.com
7466c2717c
Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140 .
...
git-svn-id: svn://10.0.0.236/trunk@29215 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:05:00 +00:00
mcmullen%netscape.com
c0a796a5c4
Oops.
...
git-svn-id: svn://10.0.0.236/trunk@28290 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:31:11 +00:00
mcmullen%netscape.com
7a5c8880e7
Correct a problem my last change to GetParent() introduced.
...
git-svn-id: svn://10.0.0.236/trunk@28281 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:09:22 +00:00
mcmullen%netscape.com
0a56e0d57d
Fixed GetParent() on windows and unix (was incorrect for directories whose paths end in a separator).
...
git-svn-id: svn://10.0.0.236/trunk@28107 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:07:42 +00:00
briano%netscape.com
186131f1cb
Cleaned up the statfs mess at the beginning to make use of configure's power.
...
git-svn-id: svn://10.0.0.236/trunk@26936 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:13:02 +00:00
mcmullen%netscape.com
a05057c744
memset a buffer to 0, to avoid Solaris UMR diagnostics.
...
git-svn-id: svn://10.0.0.236/trunk@26510 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:10:50 +00:00
mcafee%netscape.com
9760599d9d
Simplifying SCO case.
...
git-svn-id: svn://10.0.0.236/trunk@25820 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:16:32 +00:00
mcafee%netscape.com
395fe8ac1e
Adding support for NTO.
...
git-svn-id: svn://10.0.0.236/trunk@25811 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:06:34 +00:00
mcafee%netscape.com
53b5e86a59
Simplifying ifdef logic in preparation for jump to hyperspace (autoconf)
...
git-svn-id: svn://10.0.0.236/trunk@25809 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:02:32 +00:00
pavlov%pavlov.net
7008c2edf9
add a cast to fix build problems on the ports tinderboxes.
...
git-svn-id: svn://10.0.0.236/trunk@24617 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 15:42:44 +00:00
dougt%netscape.com
6c1d502ade
Fixing unix breakage.
...
git-svn-id: svn://10.0.0.236/trunk@24614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:57:56 +00:00
dougt%netscape.com
61ba04689f
Now adjusting the nsFileSpec after a Move().
...
Also fixing a bug with Rename(). Now it should successfully take
partial pathnames on Unix and Windows.
git-svn-id: svn://10.0.0.236/trunk@24612 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:22:45 +00:00
alecf%netscape.com
f26593c07d
oops, back out my old patch - caused more harm than good
...
git-svn-id: svn://10.0.0.236/trunk@24569 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:41:27 +00:00
alecf%netscape.com
e15a6246cb
there is no header file on unix that actually includes this path. wierd.
...
git-svn-id: svn://10.0.0.236/trunk@24566 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:34:31 +00:00
mcmullen%netscape.com
76a28accfe
Fix unix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@24505 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:13:08 +00:00
mcmullen%netscape.com
a2a3982ee7
Bugs #3997 , 3934
...
git-svn-id: svn://10.0.0.236/trunk@24495 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:09:39 +00:00
mcmullen%netscape.com
de8fc99c4f
Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable)
...
git-svn-id: svn://10.0.0.236/trunk@24058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 06:38:57 +00:00
mcmullen%netscape.com
bdbf667fac
Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null.
...
git-svn-id: svn://10.0.0.236/trunk@23564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:02:58 +00:00
mcmullen%netscape.com
848546e2e8
Fix a unix warning
...
git-svn-id: svn://10.0.0.236/trunk@22965 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:00:57 +00:00
mcmullen%netscape.com
0a2a335945
Fix unix build errors
...
git-svn-id: svn://10.0.0.236/trunk@22386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
9e4dad31a3
Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
...
git-svn-id: svn://10.0.0.236/trunk@22383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:36:48 +00:00
mcafee%netscape.com
9f2b58f6b6
Switching false/true over to PR_FALSE/PR_TRUE
...
git-svn-id: svn://10.0.0.236/trunk@22199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:47:48 +00:00
alecf%netscape.com
8600e20f0e
fix -pedantic bustage - Delete isn't const, so re-cast "this"
...
git-svn-id: svn://10.0.0.236/trunk@22162 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:56:44 +00:00
dougt%netscape.com
451b4db4af
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.
git-svn-id: svn://10.0.0.236/trunk@21977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:49:47 +00:00
donm%netscape.com
cc8882b870
fixing includes for solaris. -donm
...
git-svn-id: svn://10.0.0.236/trunk@17324 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:03:42 +00:00
mcmullen%netscape.com
67a2f24b86
Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely.
...
git-svn-id: svn://10.0.0.236/trunk@17274 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 23:38:21 +00:00
mcmullen%netscape.com
f057f1160a
Some more tweaks to suit various compilers and platforms.
...
git-svn-id: svn://10.0.0.236/trunk@16198 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:42:04 +00:00
mcmullen%netscape.com
5585c8bf96
Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again).
...
git-svn-id: svn://10.0.0.236/trunk@16039 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 08:47:30 +00:00