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
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@86704 18797224-902f-48f8-a5cc-f745e15eee43
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown
r=jst
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@86373 18797224-902f-48f8-a5cc-f745e15eee43
48256 - Verify hierarchy requested by a child tag.
43678 - Make TABLE a legal child of P.
58942 - MAP is not a legal child of TR!
57999 - When the parser is enabled make sure to pass correct information to ResumeParse().
59669 - Remove a warning.
r=heikki
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@85991 18797224-902f-48f8-a5cc-f745e15eee43
54448 - Allow param to be a kid of BODY for compatibility ( r=jst, a=vidur ).
53935 - Failed to reinitialize a variable "theIndex" that provoked a crash ( r=jst, a=buster)
53695 - Keep a reference to the first misplaced token for later use ( r=jst, a=buster ).
git-svn-id: svn://10.0.0.236/trunk@80464 18797224-902f-48f8-a5cc-f745e15eee43
44178 - Enabled SERVER tag
43005 - Made HR a block element per spec.
43499 - Made XML document with .txt extension to be rendered as plain text
45437 - Enabled META charset notification in strict DTD.
r=pollmann
git-svn-id: svn://10.0.0.236/trunk@75912 18797224-902f-48f8-a5cc-f745e15eee43
37247 (nsbeta2+) - XIF DTD / HTMLContentSinkStream shouldn't add end tags
for IMG,PARAM,SOUND,INPUT..etc., ( leaf tags ).
r=akkana.
41427 (nsbeta2+) - Avoid transient style handling in a head context.
40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
40741 (nsbeta2+) - Text, only document, was getting sucked up into <!DOCTYPE>
40143 (nsbeta2+) - Use scanner's mIncremental memeber wisely when data is
supplied through document.write();
40552 (nsbeta2+) - Contain default <!DOCTYPE> to html documents only.
r=rickg
30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.
r=vidur.
git-svn-id: svn://10.0.0.236/trunk@71802 18797224-902f-48f8-a5cc-f745e15eee43
38601 - Calling DidBuildModel(), through nsParser::Terminate(),
for documents stopped abruptly ( stopped before a complete load ).
Fixed a few warnings.
r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@69863 18797224-902f-48f8-a5cc-f745e15eee43
34351 ( nsbeta2+ ) - Made webshell service available to
observer base through parser bundle.
37503,36852 ( nsbeta2+ ) - Fixed crash in Observer base...
( caused by a wrong assumtion for document key ). The key now is
always nsISupports*.
24474 - Fixed content leakage in my.netscape.com caused by a script
entity in LAYER.
31890 - Mlk fix ( patch provided by Patrick ) ( r=me )
r= nisheeth
git-svn-id: svn://10.0.0.236/trunk@69671 18797224-902f-48f8-a5cc-f745e15eee43
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann
git-svn-id: svn://10.0.0.236/trunk@68152 18797224-902f-48f8-a5cc-f745e15eee43