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

50 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 9399054cb4 #undef CreateDirectory to fix problem where winbase.h #define
CreateDirectory and makes it appear as if nsFileSpec has a
CreateDirectory[A|W] method.
1999-09-21 03:09:39 +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 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
shaver%netscape.com 36331ac52e add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
dougt%netscape.com 7aa075083f Adding fix for 6181. It is currently ifdef'ed out. Looking for a mac person to
verify.
1999-08-18 02:17:21 +00:00
pinkerton%netscape.com a595b44378 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
dougt%netscape.com ae85056ed9 This fixes a nsDirectoryIterator bug that bliz, seth and I were working on last night.
Approved by cyeh.
1999-07-29 14:24:47 +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
dougt%netscape.com 944676615b fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
racham%netscape.com 06f1388283 Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
mcafee%netscape.com 4aca8a8246 BeOS changes 1999-06-29 10:27:58 +00:00
mcmullen%netscape.com 3db78cc9b8 Fix to #6398 using patch provided by jim_nance@yahoo.com (who does, apparently, yahoo). 1999-06-03 01:40:47 +00:00
mcmullen%netscape.com f90907e656 Alias resolution now happens almost any time a spec is created from a non-spec. Needed to make things work properly. 1999-06-03 01:28:52 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
mcafee%netscape.com 1e9ab980a4 Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok. 1999-05-10 05:34:26 +00:00
mcmullen%netscape.com f1f7a55308 Fix nsFileSpec to take native paths in constructors and assignment operators. Fix += to work with relative paths on Macintosh. Remove dependency of nsFileSpec on streams (so that dp can move nsFileSpec). 1999-05-08 01:18:23 +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
bruce%cybersight.com 6b1cb6c501 Fix for a comment. 1999-04-25 13:31:05 +00:00
scc%netscape.com c77df52aa7 removed the non-|const| version of |nsAutoCString::operator const char*| since the const version serves in both |const| and non-|const| situations, and will be ambiguous to many compilers. 1999-04-24 18:40:36 +00:00
mcmullen%netscape.com 2b9b0a6cd3 Made GetCatInfo method public (XP_MAC only) 1999-04-23 17:18:24 +00:00
mcmullen%netscape.com 4efbbee451 Oops. 1999-04-20 19:31:11 +00:00
dougt%netscape.com 10c079470d Now using PL_* functions in nsprPath()
ifdef'ing the deallocation of nsprPath()
1999-04-15 19:39:23 +00:00
mcmullen%netscape.com 8a002d9b23 Fixed two warnings and added a method with a shorter name because of bug in VC++ compiler 1999-04-15 01:11:42 +00:00
dougt%netscape.com e68895186c Adding nsprPath class.
Changing comments to reflect the real world.
1999-04-10 00:27:09 +00:00
mcmullen%netscape.com dc51caba2e Fixed an illegal preprocessor directive. 1999-04-01 20:06:46 +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
mcmullen%netscape.com 6cf27d2a67 Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
mcmullen%netscape.com 296a662cd4 Fixes for bugs #3779,#2784. Member initialization of nsFileURL for windows compiler, escaping of url when made from path or spec, add file:// on macintosh when making a url from a spec. [bugs introduced when, for dp, I changed nsFilePath not to escape]. a=chofmann. 1999-03-16 19:12:51 +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 615dbada53 Turning on dougt's special system directory stuff, and adding it to the Macintosh build. Fixed spurious leading slash on getting leaf name (win and unix). Adding dougt's equality test operator, too. Adding dougt's test code for all the above. 1999-03-09 22:33:36 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
mcmullen%netscape.com 0b721e55f8 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
alecf%netscape.com 23dfed1e50 fix HPUX bustage - confused by too many similar constructors 1999-03-02 19:23:06 +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 f88f9526bc Switching one last bool to PRBool. a=mcmullen 1999-02-26 19:22:43 +00:00
dougt%netscape.com 8530487aeb Remove #ifdef DEBUG 1999-02-26 00:14:57 +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
waterson%netscape.com febb896a80 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen. 1999-01-26 23:49:33 +00:00
mcmullen%netscape.com 6ebe2daa2c Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely. 1999-01-06 23:38:21 +00:00
mcmullen%netscape.com 9cdd955cd4 Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now. 1998-12-18 23:06:54 +00:00
law%netscape.com ef069eb5f5 Add NS_BASE to cause export from dll on Windows 1998-12-12 01:25:32 +00:00
mcmullen%netscape.com f41691e8b4 More tweaks. 1998-12-11 03:17:47 +00:00
mcmullen%netscape.com 12ac82aeff Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00
mcmullen%netscape.com f2af6b7ae7 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). 1998-12-09 08:47:30 +00:00
mcmullen%netscape.com b6aba71e21 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh. 1998-12-09 05:09:28 +00:00
law%netscape.com c3e6a55dd2 Added Windoze support 1998-12-09 01:04:53 +00:00
mcmullen%netscape.com ffc07f1806 Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:42 +00:00
mcmullen%netscape.com 46efadfc6c First Checked In. 1998-12-08 02:15:50 +00:00