Граф коммитов

75 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dbaron%fas.harvard.edu b76c746e26 Fix OS/2 bustage from dougt's changes with PR_STATIC_CALLBACK. 2001-02-10 02:54:47 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
warren%netscape.com 7ac7233df8 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
valeski%netscape.com 7c817de52d making urlinfo threadsafe for test harness a=granrose 2000-06-23 18:49:07 +00:00
valeski%netscape.com fd15d7c70f 42767. AsyncOpen (dead code) removal. 2000-06-16 14:59:30 +00:00
pavlov%netscape.com 03d4675682 string api changes r=scc 2000-04-25 05:40:45 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
gagan%netscape.com 0838bccbab New event sink changes for the test case. 2000-03-08 00:35:24 +00:00
warren%netscape.com 7e37f4f478 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
jdunn%netscape.com bf9205fff0 Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com
2000-01-12 00:54:10 +00:00
warren%netscape.com bf4ef9672f Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
dougt%netscape.com 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com 00dfd9d907 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
warren%netscape.com d4f45caf5a Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
dp%netscape.com a0fb38f551 Fixed build bustage caused by undefined min() 1999-10-05 06:28:17 +00:00
rpotts%netscape.com d0f5978a61 Fixed up broken test case while investigating bug #14181... 1999-10-05 05:02:56 +00:00
valeski%netscape.com 0155919623 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 48cf4685a9 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
warren%netscape.com e6619b2ad6 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
rpotts%netscape.com 9ed88d7a2f ug #8443. Added GetCharset to nsIHTTPChannel 1999-08-31 04:46:05 +00:00
rickg%netscape.com b6e32796c8 converted an instance to nsCString and replaced deprecated nsString call 1999-08-29 17:42:34 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
rpotts%netscape.com 73266ec8fb Added code to dump all headers in the OnHeadersAvailable() notification. 1999-08-05 08:29:36 +00:00
warren%netscape.com bba02d9418 Added NS_ERROR_UNKNOWN_PROTOCOL, and changed dns error to NS_ERROR_UNKNOWN_HOST. 1999-07-30 04:17:23 +00:00
valeski%netscape.com d1c3201cd9 added dns failure check to output 1999-07-30 02:35:12 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren%netscape.com c5684bf4d7 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 d29aad6b3b Added HTTP Status to printout. 1999-07-15 22:57:50 +00:00
gagan%netscape.com f2399d4e5b 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
warren%netscape.com 5d32aee9fc Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren%netscape.com 9efa754f74 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
rpotts%netscape.com 5c46454a6d Changes to build without NECKO defined... 1999-07-03 04:14:44 +00:00
warren%netscape.com 8462929dda 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 855db69b79 necko bustage 1999-06-30 20:48:49 +00:00
valeski%netscape.com a754d778e7 change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski%netscape.com a8b4609040 changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID(). 1999-06-30 20:00:19 +00:00
rpotts%netscape.com cf3f1d021d replaced a call to nsIHTTPChannel::GetResponseHeader(...) with a call to nsIChannel::GetContentType(...) 1999-06-30 06:05:10 +00:00
rpotts%netscape.com 39f0c7490f Fixed up a divide by zero bug... 1999-06-29 06:54:05 +00:00
valeski%netscape.com 65011fa313 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 aad910c48a nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00