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

174 Коммитов

Автор SHA1 Сообщение Дата
disttsc%bart.nl 277181c660 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 128f95aa9b 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 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dbaron%fas.harvard.edu 43b0b182ef Fix OS/2 bustage from dougt's changes with PR_STATIC_CALLBACK. 2001-02-10 02:54:47 +00:00
dougt%netscape.com 1b9ca82439 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 6a7567992b 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 e05eef45e9 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 2b01440bc0 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 0bc53b49eb making urlinfo threadsafe for test harness a=granrose 2000-06-23 18:49:07 +00:00
valeski%netscape.com 3a21f2c4f8 42767. AsyncOpen (dead code) removal. 2000-06-16 14:59:30 +00:00
pavlov%netscape.com a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
warren%netscape.com 727f312b32 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 3706905e67 New event sink changes for the test case. 2000-03-08 00:35:24 +00:00
warren%netscape.com c0497e31be 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 370313154b 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 6af4802e75 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 f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
dmose%mozilla.org 5312eacf8c 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 bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com f50d3df7c0 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 8603974025 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 a46d351a91 Fixed build bustage caused by undefined min() 1999-10-05 06:28:17 +00:00
rpotts%netscape.com 94023176e2 Fixed up broken test case while investigating bug #14181... 1999-10-05 05:02:56 +00:00
valeski%netscape.com 57515c5355 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 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
warren%netscape.com 40ed9d6ad2 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 89e414a3f4 ug #8443. Added GetCharset to nsIHTTPChannel 1999-08-31 04:46:05 +00:00
rickg%netscape.com 5fa59a798b converted an instance to nsCString and replaced deprecated nsString call 1999-08-29 17:42:34 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
rpotts%netscape.com 37703cf101 Added code to dump all headers in the OnHeadersAvailable() notification. 1999-08-05 08:29:36 +00:00
warren%netscape.com ec14999c47 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 8cf1dba87f added dns failure check to output 1999-07-30 02:35:12 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren%netscape.com 84bd74a4fd 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 e15fd6bba9 Added HTTP Status to printout. 1999-07-15 22:57:50 +00:00
gagan%netscape.com d4bf35fcb7 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 e9f97d9c22 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
rpotts%netscape.com 6e12231ccf Changes to build without NECKO defined... 1999-07-03 04:14:44 +00:00
warren%netscape.com bd73f68e8b 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 892bf11d83 necko bustage 1999-06-30 20:48:49 +00:00
valeski%netscape.com fe56395bae change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski%netscape.com 578e858da5 changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID(). 1999-06-30 20:00:19 +00:00
rpotts%netscape.com 87e871a39c replaced a call to nsIHTTPChannel::GetResponseHeader(...) with a call to nsIChannel::GetContentType(...) 1999-06-30 06:05:10 +00:00
rpotts%netscape.com 6ab2f111a9 Fixed up a divide by zero bug... 1999-06-29 06:54:05 +00:00
valeski%netscape.com bec54efcc1 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 5d01523ea0 nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00
rpotts%netscape.com 85fffec863 Fix to avoid those nasty divide by zero errors :-) 1999-06-27 11:14:35 +00:00
rpotts%netscape.com 7a9792088c Added support for loading a bunch of URLs from a file which is specified on the command-line... 1999-06-27 11:02:40 +00:00
rpotts%netscape.com 9f171eb0dd Added a -verbose flag in preparation for batching URLs from a file... 1999-06-25 07:52:12 +00:00
rpotts%netscape.com d8a7ec1cda Fixed bug where extra garbage was being read from the stream... 1999-06-25 06:28:58 +00:00
valeski%netscape.com 7c8a0879d9 not in main pull - added cookie test stuff 1999-06-24 21:41:19 +00:00
rpotts%netscape.com fb38d9854a Oops... Forgot to check this in... Allow multiple URLs to be processed before exiting the app. 1999-06-23 19:27:44 +00:00
andreas.otte%primus-online.de 18c2fd395a fixing for new AutoRegistration 1999-06-22 18:24:02 +00:00
rpotts%netscape.com d36d171220 I'm beginning to rework this test to handle multiple URL loads... This is WIP :-) 1999-06-17 07:46:00 +00:00
warren%netscape.com ecd211644b Added missing addref 1999-06-17 03:38:49 +00:00
rpotts%netscape.com ce2c24bc6a Separated the Event Sink from the nsIStreamListener... 1999-06-16 09:40:40 +00:00
gagan%netscape.com 15a7f1be6d Added nsIChannel::Open temporarily to get the test working. There is a problem with the nsIBuffer search routine (see news://npm.netlib) which causes an assertion since refcnt gets reset after a Read following a Search on nsIBuffer. 1999-06-15 04:30:34 +00:00
rpotts%netscape.com e5c9cbeb18 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 19b6475c9e conversion to wstring / PRUnichar
some cosmetics to various Makefiles
1999-06-11 15:50:14 +00:00
rpotts%netscape.com 127f6c0732 Fixed up the event-sink-getter to correctly addref and QI the InputTestConsumer... 1999-06-11 09:18:25 +00:00
warren%netscape.com b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
andreas.otte%primus-online.de 629596441c use new HandleEvent method of EventQueue
removed obselete stuff from manual registration
added two printf failure messages
1999-06-08 12:26:12 +00:00
andreas.otte%primus-online.de a57dfa00be changed nsIUrl.h to nsIURL.h 1999-06-08 09:46:10 +00:00
warren%netscape.com c0797ee094 New IDL interfaces. 1999-06-07 21:33:30 +00:00
rpotts%netscape.com 141fc00e61 Added unix support for processing PLEvents... 1999-06-07 20:06:41 +00:00
rpotts%netscape.com e967a22d9f Fixes to build on Linux... 1999-06-03 21:56:56 +00:00
gagan%netscape.com fb4ee522c2 Test case changes 1999-06-02 23:02:53 +00:00
andreas.otte%primus-online.de 239dfd63c5 removed manual registration 1999-06-02 11:29:26 +00:00
andreas.otte%primus-online.de 0b3baf7402 Some fixes to build TestProtocols under linux 1999-06-01 22:02:40 +00:00
valeski%netscape.com 297ce5b121 removed #include "nsXPComCIID.h" as it is no longer pertinent 1999-05-26 20:51:19 +00:00
gagan%netscape.com 3887cf6de0 Added TestProtocols.cpp and renamed nettest to testnet since that was conflicting with nettest in dist. 1999-05-21 06:29:13 +00:00