Commit Graph
55 Commits
Author SHA1 Message Date
[email protected] 9bf31902fd Fixed
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
1999-07-09 03:41:27 +00:00
[email protected] dee7b650e6 BeOS changes 1999-06-29 10:27:58 +00:00
[email protected] 7f06a8f3f8 Fix to #6398 using patch provided by [email protected] (who does, apparently, yahoo). 1999-06-03 01:40:47 +00:00
[email protected] 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
[email protected] 1fe68138eb Fix badness when nsFilePath is initialized with a nil or empty string. 1999-05-12 22:56:24 +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] 2de549dacd So much for that last touchup between building and committing... 1999-05-04 19:39:15 +00:00
[email protected] 964986cb14 Fix double-escaping problem (#4184) 1999-05-04 19:11:31 +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] 510295bcfe Bug #4184. Before unescaping a path, call ReAllocData. 1999-04-23 21:32:57 +00:00
[email protected] 968237111c Corrected spelling in some comments. 1999-04-23 20:27:38 +00:00
[email protected] c04c7c7797 Fixes Bug 5300 http://bugzilla.mozilla.org/show_bug.cgi?id=5300 1999-04-23 06:32:40 +00:00
[email protected] d9544d4571 Correct a problem my last change to GetParent() introduced. 1999-04-20 19:09:22 +00:00
[email protected] 3666c67518 Now using PL_* functions in nsprPath()
ifdef'ing the deallocation of nsprPath()
1999-04-15 19:39:23 +00:00
[email protected] 6de6c67a36 Fix backwards failure logic 1999-04-15 01:06:03 +00:00
[email protected] 72121b4509 Adding blank lines for native compilers. 1999-04-13 06:35:42 +00:00
[email protected] 655c732d4b Adding nsprPath class.
Removing existing check when creating subdirectories.
1999-04-10 00:29:20 +00:00
[email protected] 34644a0082 API cleanup for nsString 1999-04-05 08:06:54 +00:00
[email protected] db9a56a903 Just added a divider comment. 1999-04-01 20:07:52 +00:00
[email protected] d589663e6c Fixes off by one error. 1999-03-31 05:04:28 +00:00
[email protected] 2fd54b6731 fix problem with SetLeafName r+a=mcmullen 1999-03-22 19:15:30 +00:00
[email protected] 500c6ec7cc FIxing another unix problem. 1999-03-20 01:13:35 +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] b0d4870de3 Fixed bustage with typo. 1999-03-10 21:41:43 +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] 15eda68abd No longer shifting windows nsFileSpec's mPath to uppercase.
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.
1999-03-10 20:07:10 +00:00
[email protected] 62b5d2fb88 Change assignment operator not to create dirs. 1999-03-10 02:50:16 +00:00
[email protected] c60671e622 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
[email protected] aee00cb58a adding nsSpecialSystemDirectory.cpp to windows makefile.
Fixed MakeAllDirectory bug in nsFileSpec.cpp
1999-03-05 20:20:22 +00:00
[email protected] 7ae10c14e9 fix linux -pedantic build - compiler confused by too much casting 1999-03-02 01:41:45 +00:00
[email protected] 39cd8ae9c9 Fix Windows build errors 1999-02-28 02:51:53 +00:00
[email protected] 9084fa1f7e Fix unix build errors 1999-02-28 02:17:55 +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] 3f4575a925 Remove #ifdef DEBUG 1999-02-26 00:14:57 +00:00
[email protected] 0cffe36222 Another fix to the build bustage. 1999-02-25 22:17:25 +00:00
[email protected] c9fae6f8fc This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec. 1999-02-25 22:04:50 +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] 659a0456ac Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen... 1999-02-23 03:10:29 +00:00
[email protected] 91e6ad1033 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&) 1999-02-17 18:20:27 +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] 6c0ab6346e Simplify the console case, so that Windows does not think it has to compile with exception handling. 1998-12-29 00:24:32 +00:00
[email protected] 23ec135721 Add nsFile* to Windows build 1998-12-22 20:01:41 +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] 7d688756b8 Made all this build on Unix, using Macros up the wazoo 1998-12-15 22:45:09 +00:00
[email protected] 678b292f07 Deal with the case of a null string. 1998-12-12 02:07:11 +00:00
[email protected] afab0fec38 More tweaks. 1998-12-11 03:17:47 +00:00
[email protected] f352cb8ab6 Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00