33 Commits

Author SHA1 Message Date
warren%netscape.com
0216c948bf Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
git-svn-id: svn://10.0.0.236/trunk@47564 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 09:49:18 +00:00
warren%netscape.com
de60d2685c 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.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
warren%netscape.com
f42f069d47 Ported to the new nsPipe2 implementation.
git-svn-id: svn://10.0.0.236/trunk@44808 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 10:33:37 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
gagan%netscape.com
44ca4005ac Fixes for the libcookie.so problem (thanks to Andreas for the patch) and then some additional fixes for warnings and such.
git-svn-id: svn://10.0.0.236/trunk@39044 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 02:37:08 +00:00
warren%netscape.com
3df124d5df Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change.
git-svn-id: svn://10.0.0.236/trunk@38979 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 02:43:37 +00:00
warren%netscape.com
74ffc2347a Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write.
git-svn-id: svn://10.0.0.236/trunk@38962 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 11:26:59 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
valeski%netscape.com
68d11ccc79 change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls
git-svn-id: svn://10.0.0.236/trunk@37543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:20:17 +00:00
valeski%netscape.com
93b0dbd87b changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID().
git-svn-id: svn://10.0.0.236/trunk@37538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:00:19 +00:00
valeski%netscape.com
863f107e7f nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method.
git-svn-id: svn://10.0.0.236/trunk@37308 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 01:52:30 +00:00
mscott%netscape.com
0688db31b1 nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@37221 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:37:10 +00:00
andreas.otte%primus-online.de
3182d63b9e fixing for new AutoRegistration
git-svn-id: svn://10.0.0.236/trunk@36290 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 18:24:02 +00:00
warren%netscape.com
0a96edf3cb Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup.
git-svn-id: svn://10.0.0.236/trunk@35370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:40 +00:00
andreas.otte%primus-online.de
891f537f8e conversion to wstring / PRUnichar
some cosmetics to various Makefiles


git-svn-id: svn://10.0.0.236/trunk@34798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 15:50:14 +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
andreas.otte%primus-online.de
7b8754c15c removed obsolete (I think) endless while loop from run method
added check for file size zero in SerialTest


git-svn-id: svn://10.0.0.236/trunk@34199 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 12:28:27 +00:00
warren%netscape.com
a42da99b5a New IDL interfaces.
git-svn-id: svn://10.0.0.236/trunk@34087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:30 +00:00
gagan%netscape.com
047f87a3eb Getting it building again... changed the Write call to match its signature in nsIByteBufferInputStream. It will probably change again to FillFrom once we move that to idl.
git-svn-id: svn://10.0.0.236/trunk@33730 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 07:36:04 +00:00
andreas.otte%primus-online.de
04e4e1d9d3 integrating Alec Fletts nsISupportsArray changes
remove manual registration
adding creation of eventqueue
giving EventQueueService the right CIID


git-svn-id: svn://10.0.0.236/trunk@33419 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:42:43 +00:00
valeski%netscape.com
c8867432c8 updated the nsSupportsArray::Count() api usage
git-svn-id: svn://10.0.0.236/trunk@31608 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 17:25:27 +00:00
valeski%netscape.com
6e688bc539 Added Andreas' test program diffs for linux building. Also added an OpenOutputStream test to TestSocketIO.cpp.
git-svn-id: svn://10.0.0.236/trunk@30895 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:18:25 +00:00
valeski%netscape.com
a099c5d361 changed nsIEventQueue->ProcessPendingEvents() to nsIEventQueue->EVentLoop()
git-svn-id: svn://10.0.0.236/trunk@30577 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:47:55 +00:00
valeski%netscape.com
a019a864f3 changed over to nsIEventQueue interface, from straight PL_EventQueue. Also took a whack at getting socketTRansport::OpenOutputSTream to work (hasn't been tested)
git-svn-id: svn://10.0.0.236/trunk@30425 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:41:44 +00:00
valeski%netscape.com
f69b2ce1cf changed us over to regular monitors (prmon.h) in lieu of cached monitors (prcmon.h) for performance increase. cached monitors can be 5 times slower than regular monitors.
git-svn-id: svn://10.0.0.236/trunk@30155 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:33:37 +00:00
warren%netscape.com
9f3f1ef921 Added source offset parameter to OnDataAvailable (for byte-range requests).
git-svn-id: svn://10.0.0.236/trunk@28694 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:47:06 +00:00
warren%netscape.com
f170ef62fa Fixed create/AsyncRead stuff.
git-svn-id: svn://10.0.0.236/trunk@27457 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:13:35 +00:00
warren%netscape.com
96ef3f3cd7 Added synchronous file input. Worked on cancel/suspend/resume work for file transfer.
git-svn-id: svn://10.0.0.236/trunk@27332 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:15 +00:00
warren%netscape.com
2a30aa26cf Fixed to work, but don't try it for a directory with too many files!
git-svn-id: svn://10.0.0.236/trunk@26457 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:11:23 +00:00
warren%netscape.com
efaf46e99f Used nsIByteBufferInputStream. Fixed file transport test.
git-svn-id: svn://10.0.0.236/trunk@26404 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:45:24 +00:00
warren%netscape.com
3daba52e59 Added TestFileInput
git-svn-id: svn://10.0.0.236/trunk@26326 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:06:07 +00:00