Commit Graph
20 Commits
Author SHA1 Message Date
warren@netscape.com 895d70f439 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +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
mccabe@netscape.com 0508c78f6c Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
warren@netscape.com 7aa0a59010 Fix for bug 10797: Messenger hang. 2 problems: mac shouldn't be using page manager -- doesn't do vm, and trying to flush when the buffer is empty ends up spinning. 1999-08-13 00:46:16 +00:00
warren@netscape.com 9ec7fa9fa3 Made Read return as soon as it's got something, rather than waiting until the buffer is full. 1999-08-10 19:13:48 +00:00
warren@netscape.com 10d458e5de Removed obsolete Fill methods. Added NonBlocking attribute. 1999-07-10 11:27:11 +00:00
rpotts@netscape.com 19a8268923 Added code to initialize amt (in case it is not zeroed out in the failure case) 1999-07-08 23:34:25 +00:00
rpotts@netscape.com ae0a4c3432 Changed the blocking input and output streams to always call Fill/Flush when a nsIBuffer::Read/Write fails... 1999-07-08 23:26:52 +00:00
scc@netscape.com 90f6a8560a |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
warren@netscape.com b3cd53e7be Fixed problems with GetReadSegment after eof. 1999-06-21 21:05:07 +00:00
warren@netscape.com 332065f33f Making buffers work better. Now out-of-memory is handled properly. 1999-06-19 22:23:18 +00:00
warren@netscape.com e41597a282 Fixed bug causing Flush to block forever. Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:15 +00:00
warren@netscape.com 51909bc13b Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
rpotts@netscape.com 16d9a2016c if no more data is available when reading a non-blocking input stream then return either WOULD_BLOCK or NS_OK... But exit the loop to prevent spinning! 1999-06-11 08:25:57 +00:00
warren@netscape.com 6679c5e4f4 Cleaned up the nsIBuffer interface, added comments, etc. 1999-06-09 06:41:32 +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 b04d8637ed Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
warren@netscape.com feed72786b IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). Added nsIBufferInputStream for peek capability. 1999-06-03 21:51:09 +00:00
dp@netscape.com 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren@netscape.com aa0932baad Added page manager, buffer, buffer streams and pipes stuff. 1999-04-30 22:55:12 +00:00