Commit Graph
31 Commits
Author SHA1 Message Date
dp@netscape.com 6fb4a9e682 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
dougt@netscape.com fe59298353 making sure that we do not empty our segmented buffer if we did not create it
bug fix 19290.  submitted by bienvenu, r=dougt.
1999-11-19 03:01:33 +00:00
dougt@netscape.com 204132f4b7 fix for 18949. make seek do a flush to avoid corruption. 1999-11-18 05:16:42 +00:00
dmose@mozilla.org 20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sfraser@netscape.com 98f4ac7894 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
dougt@netscape.com 9b20de8c37 bug 13396. It looks like the returned byte count was off on certain size
files.
1999-09-15 18:24:01 +00:00
rpotts@netscape.com f240ac8bb5 I've commented out this assert since I was hitting it *alot* after a clean build :-( 1999-09-12 09:00:34 +00:00
warren@netscape.com e078909c86 Added assertion for Open failing. 1999-09-11 23:48:07 +00:00
warren@netscape.com c051b946f8 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
dougt@netscape.com b9757302ac Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.
1999-09-08 20:12:35 +00:00
scc@netscape.com 6f62a47cac got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
alecf@netscape.com 82404d8f2e fix constructor warning 1999-08-07 20:06:38 +00:00
sfraser@netscape.com 479767f7f2 Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
dougt@netscape.com 1860049c71 fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
rods@netscape.com 861658c5e3 Fixed extra ref count problem for blocker bug 10138 1999-07-20 14:29:43 +00:00
warren@netscape.com ccfdb6afee Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
rods@netscape.com f04a0ecc11 Added QueryInterface because NS_NewIOFileStream does a cast from (void *) to
(nsISupports *) thus causing a vtable problem on Windows, where we really
didn't have the proper pointer
1999-07-16 12:59:20 +00:00
scc@netscape.com 90f6a8560a |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
warren@netscape.com 835f1bb281 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
warren@netscape.com 3b0567a14d IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
ducarroz@netscape.com 45cbb15f62 fix for bug 7329. MAC ONLY: if a file doesn't exist while doing an open and the flag PR_CREATE_FILE is set shouldn't abort. 1999-05-29 21:27:18 +00:00
dp@netscape.com 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren@netscape.com 5b8cf49d88 Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
warren@netscape.com abc4a0d656 Fixed EOF condition. 1999-04-13 18:15:41 +00:00
warren@netscape.com 704274f9ce Added copyright. 1999-04-05 21:01:33 +00:00
mcmullen@netscape.com a925bce5fd Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
mcmullen@netscape.com 118b87bb09 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
mcafee@netscape.com 27c487c1a1 Uninitialized variables 1999-03-05 04:20:54 +00:00
scc@netscape.com 6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
mcmullen@netscape.com 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
dougt@netscape.com a08d84c4ba 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