Commit Graph

85 Commits

Author SHA1 Message Date
valeski@netscape.com
872d65d425 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 15298 r=gagan, FTP threads are now synched w/ ftp handler shutdown, removed extraneous buffer work, added ftp authentication, and ftp channel content length 1999-10-01 23:32:12 +00:00
warren@netscape.com
f62f5c3027 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
warren@netscape.com
ac2b52462a Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +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
warren@netscape.com
df52fff52c Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
gordon@netscape.com
0cbbf3283d This is just a NECKO test app. Updating to work on Mac. 1999-08-13 22:18:34 +00:00
warren@netscape.com
11778189fd Added NS_ERROR_UNKNOWN_PROTOCOL, and changed dns error to NS_ERROR_UNKNOWN_HOST. 1999-07-30 04:17:23 +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
warren@netscape.com
61a33642b8 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
gagan@netscape.com
5e7d8049c8 Fixes for the libcookie.so problem (thanks to Andreas for the patch) and then some additional fixes for warnings and such. 1999-07-13 02:37:08 +00:00
rpotts@netscape.com
273925f170 Added a -sync flag for testing sync streams with the socket transport... 1999-07-12 06:22:39 +00:00
warren@netscape.com
e3e427bf7e 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. 1999-07-11 02:43:37 +00:00
warren@netscape.com
1dceb783a6 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren@netscape.com
489c1d2df9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
mcafee@netscape.com
a2da412bcd Fixing linux bustage, rv needs declaration. 1999-07-03 05:50:56 +00:00
rpotts@netscape.com
aee0af8ccf Got the TestSocketTransport test working again after removing the nsIEventQueue argument to AsyncRead and AsyncWrite... 1999-07-03 04:14:28 +00:00
warren@netscape.com
1496c3eec1 Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
valeski@netscape.com
2ac7459a2d change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski@netscape.com
379d1b5a82 nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method. 1999-06-29 01:52:30 +00:00
mscott@netscape.com
b8fa1a696b nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00
andreas.otte@primus-online.de
3a0b2617c4 fixing for new AutoRegistration 1999-06-22 18:24:02 +00:00
rpotts@netscape.com
848aff2ede Fixed a bug due to nsIBufferInputStreams... GetLength(...) does *not* necessarily return the total amount of data in the stream (only the contiguous amount). 1999-06-19 09:42:59 +00:00
warren@netscape.com
5bf684e0c2 Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup. 1999-06-15 05:18:40 +00:00
rpotts@netscape.com
44c97bf623 Changed printf(...) to puts(...) in OnDataAvailable(...) calls. This allows % characters to be present in the output stream without crashing the test app... Added call to AsyncRead(... )in Testprotocols.cpp to get http working again... 1999-06-14 23:42:12 +00:00
andreas.otte@primus-online.de
d6c5416225 conversion to wstring / PRUnichar
some cosmetics to various Makefiles
1999-06-11 15:50:14 +00:00
rpotts@netscape.com
498ec9f2ac changed some printf around... 1999-06-11 08:36:40 +00:00
warren@netscape.com
4d299d62ae Added range offsets to open stream methods. 1999-06-11 01:37:43 +00:00
warren@netscape.com
835f1bb281 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
andreas.otte@primus-online.de
1d91a81f2f use new HandleEvent method of EventQueue 1999-06-08 12:24:10 +00:00
warren@netscape.com
0db129ed26 New IDL interfaces. 1999-06-07 21:33:30 +00:00
rpotts@netscape.com
78bbd7e0c5 Fixed up uninitialized variable... Oops 1999-06-07 07:12:56 +00:00
rpotts@netscape.com
617aab49ca Added PLEvent pump for unix... 1999-06-04 09:03:45 +00:00
rpotts@netscape.com
aa87296ea5 Added support for testing Sync transport access and Suspending and resuming transports... 1999-06-03 05:45:23 +00:00
andreas.otte@primus-online.de
225fd5e405 removed manual registration 1999-06-02 11:29:26 +00:00
rpotts@netscape.com
8265ed541a Added a new test for the socket transport... 1999-05-31 05:18:19 +00:00