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

16 Коммитов

Автор SHA1 Сообщение Дата
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +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
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +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
warren%netscape.com 9e08bb8519 Added stream buffering. Made file transport use it. Bug #19233 r=dougt 2000-02-04 07:31:43 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +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
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
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 279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +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
dougt%netscape.com 5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
valeski%netscape.com fe56395bae change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
andreas.otte%primus-online.de 18c2fd395a fixing for new AutoRegistration 1999-06-22 18:24:02 +00:00
warren%netscape.com cd8ca675cb New and improved. 1999-06-16 04:15:29 +00:00
warren%netscape.com e9aa4d8cae New file transport test using nsFileChannels instead. 1999-06-15 05:22:25 +00:00