This file is very old and very outdated. Please use jslib for local file i/o
jslib.mozdev.org.
Not part of the build
--pete
git-svn-id: svn://10.0.0.236/trunk@113384 18797224-902f-48f8-a5cc-f745e15eee43
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.comsr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
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.comsr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
permissions and dateModified
did some style cleanup and tested out each function
a=brendan
--pete
git-svn-id: svn://10.0.0.236/trunk@78071 18797224-902f-48f8-a5cc-f745e15eee43
that i found running in strict mode.
cleaned up some of the syntax to make Brendan happy.
r=dougt
--pete
git-svn-id: svn://10.0.0.236/trunk@77474 18797224-902f-48f8-a5cc-f745e15eee43
Also fixed a small bug in copy to return if the source file is a dir.
r=dougt
--pete
git-svn-id: svn://10.0.0.236/trunk@76328 18797224-902f-48f8-a5cc-f745e15eee43
* 9. copy(source, dest);
* 10.leaf(path);
Fixed a bug i found in exists() member function.
Expanded tabs out of file. Tested.
not part of the build.
r=dougt
--pete
git-svn-id: svn://10.0.0.236/trunk@76283 18797224-902f-48f8-a5cc-f745e15eee43
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories
git-svn-id: svn://10.0.0.236/trunk@73324 18797224-902f-48f8-a5cc-f745e15eee43