Commit Graph
31 Commits
Author SHA1 Message Date
[email protected] 2676ba3bb6 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
[email protected] 793e2b5b24 duh. 1999-07-21 18:18:09 +00:00
[email protected] 1860049c71 fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
[email protected] 5a9396f696 explicitly include <limits.h> for ULONG_MAX 1999-07-17 02:04:20 +00:00
[email protected] 9d04296c79 Removing check for mpath in Recursive copy routine 1999-07-06 22:41:42 +00:00
[email protected] a96c529c7f Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
[email protected] a63214d1c2 fix for bug 8029. ResolveAlias should not set the nsFileSpe's internal error mError if the file doesn't exist which is a legal state during the creation of an nsFileSpec object. 1999-06-15 02:19:23 +00:00
[email protected] 6206901c6f 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
[email protected] 7a1beb58cc fix for bug 7329. Deleteting a file that doesn't exist should not invalidate the nsFileSpec. 1999-05-29 21:27:16 +00:00
[email protected] 6505603ecd 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
[email protected] 6da56ce5f8 Fixed two small problems in Macintosh-only parts of the code. 1999-04-27 02:12:22 +00:00
[email protected] dac1037c11 Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140. 1999-04-26 19:05:00 +00:00
[email protected] ca67b05e91 An "oops" correction in the previous checkin. 1999-04-15 02:17:41 +00:00
[email protected] 9306c93e0a Support unix paths .. and . in the path conversion routine. 1999-04-15 01:06:55 +00:00
[email protected] 2c7f65f10a 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
[email protected] a9b9bd1efc Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
[email protected] 429826e6ea 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
[email protected] a925bce5fd Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
[email protected] 615081d918 Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
[email protected] ca0a6d1c26 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
[email protected] a08d84c4ba Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See [email protected] or
John McMullen for futher information.
1999-02-25 20:49:47 +00:00
[email protected] e0da5200cd Fixed += operator, which would only work if you had a file or folder called "G'day" in the input directory. 1999-02-12 00:48:35 +00:00
[email protected] de0080df35 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
[email protected] 180e117493 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
[email protected] 440a177aa8 Allow partial paths. 1998-12-24 00:01:32 +00:00
[email protected] ae6f391328 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
[email protected] 81330acfd9 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
[email protected] 89ccaecfc7 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
[email protected] 9ed508b239 fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things. 1998-12-09 01:56:36 +00:00
[email protected] 35f6ea9e8a 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
[email protected] aee6ab077a First Checked In. 1998-12-08 02:22:54 +00:00