20 Commits

Author SHA1 Message Date
warren%netscape.com
466d3cb0e7 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.
git-svn-id: svn://10.0.0.236/trunk@44272 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 08:45:17 +00:00
scc%netscape.com
56d5ad0b43 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
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
mccabe%netscape.com
f54a574f03 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
git-svn-id: svn://10.0.0.236/trunk@44056 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:25:50 +00:00
warren%netscape.com
7a040bf33f 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.
git-svn-id: svn://10.0.0.236/trunk@43271 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 00:46:16 +00:00
warren%netscape.com
72aec95888 Made Read return as soon as it's got something, rather than waiting until the buffer is full.
git-svn-id: svn://10.0.0.236/trunk@42997 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:48 +00:00
warren%netscape.com
6bde234940 Removed obsolete Fill methods. Added NonBlocking attribute.
git-svn-id: svn://10.0.0.236/trunk@38965 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 11:27:11 +00:00
rpotts%netscape.com
792a71552f Added code to initialize amt (in case it is not zeroed out in the failure case)
git-svn-id: svn://10.0.0.236/trunk@38832 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 23:34:25 +00:00
rpotts%netscape.com
cdf72c2317 Changed the blocking input and output streams to always call Fill/Flush when a nsIBuffer::Read/Write fails...
git-svn-id: svn://10.0.0.236/trunk@38831 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 23:26:52 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
warren%netscape.com
bb21c7ca4f Fixed problems with GetReadSegment after eof.
git-svn-id: svn://10.0.0.236/trunk@36084 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 21:05:07 +00:00
warren%netscape.com
e3b337640c Making buffers work better. Now out-of-memory is handled properly.
git-svn-id: svn://10.0.0.236/trunk@35938 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 22:23:18 +00:00
warren%netscape.com
ff5039c9f6 Fixed bug causing Flush to block forever. Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
git-svn-id: svn://10.0.0.236/trunk@35647 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:15 +00:00
warren%netscape.com
07f8f36a84 Added PR_LOG stuff.
git-svn-id: svn://10.0.0.236/trunk@35355 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:57:07 +00:00
rpotts%netscape.com
273643c438 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!
git-svn-id: svn://10.0.0.236/trunk@34781 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:25:57 +00:00
warren%netscape.com
0a220b88ad Cleaned up the nsIBuffer interface, added comments, etc.
git-svn-id: svn://10.0.0.236/trunk@34376 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 06:41:32 +00:00
warren%netscape.com
d9b1c6a72f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
git-svn-id: svn://10.0.0.236/trunk@34249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:32 +00:00
warren%netscape.com
02a75e5745 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer.
git-svn-id: svn://10.0.0.236/trunk@33892 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:15:00 +00:00
warren%netscape.com
05a6513cf0 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). Added nsIBufferInputStream for peek capability.
git-svn-id: svn://10.0.0.236/trunk@33603 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:51:09 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
1da4ca1637 Added page manager, buffer, buffer streams and pipes stuff.
git-svn-id: svn://10.0.0.236/trunk@29903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:12 +00:00