Commit Graph

48 Commits

Author SHA1 Message Date
dougt@netscape.com
a70fce6f87 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
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
locka@iol.ie
80f0da679b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
mcafee@netscape.com
52f5f83bc1 Rearranging some includes to fix solaris bustage (50876). code=harishd,waterson, r=mcafee 2000-08-31 17:20:58 +00:00
scc@netscape.com
17f4d45fbc making string conversions explicit 2000-04-03 08:04:52 +00:00
tbogard@aol.net
2683d4c42d A docshell is now passed in. Use the nsIWebNavigation for loading an URL rather than nsIWebShell::LoadURL. 2000-03-29 06:13:07 +00:00
tbogard@aol.net
172de88199 HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. 2000-03-11 01:24:29 +00:00
pp@ludusdesign.com
d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rpotts@netscape.com
5d4a8a8ba0 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls@seawood.org
824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
rpotts@netscape.com
0e9ad26987 bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
warren@netscape.com
7530c3227d Fixed warnings. 1999-09-20 20:57:21 +00:00
warren@netscape.com
f62f5c3027 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
valeski@netscape.com
cf4b948f0d converted GetBuffer calls to ToNewCString for prunichar reasons 1999-07-07 14:38:39 +00:00
warren@netscape.com
489c1d2df9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
warren@netscape.com
1496c3eec1 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
warren@netscape.com
753ac43fff Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
valeski@netscape.com
3737aa0d15 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
sspitzer@netscape.com
c0446a9d7f make destructors virtual 1999-05-13 02:25:13 +00:00
rickg@netscape.com
6a68ff995d update to sync up with new nsString 1999-04-05 08:50:07 +00:00
warren@netscape.com
35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rickg@netscape.com
0ce3104c2f improvements to recursively parser calls 1998-11-26 02:55:59 +00:00
warren@netscape.com
10ebd4b998 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
scullin@netscape.com
58fb78605b Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
spider@netscape.com
331ec5cb13 XPCOM'ing the parser. Use repository to get a parser now. 1998-07-30 22:42:27 +00:00
rickg@netscape.com
ea391de441 fixed attribute bug and factored DTDDebug interfaces 1998-07-29 23:43:20 +00:00
rpotts@netscape.com
7367aad321 Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
rpotts@netscape.com
b4d2c9e5a5 IWebShell now supports a single observer... 1998-07-22 11:19:54 +00:00
kipp@netscape.com
0a7ce2204e Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
rpotts@netscape.com
6adb05afe2 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
rpotts
79b0af90e7 Changed nsIStreamListener to nsIStreamObserver... 1998-07-01 11:11:44 +00:00
jevering
e22ae68ee2 Removed parser's knowledge of the Parser Debugger.
The Parser debugger has been moved out and renamed to DTDDebugger since this actually what it is doing.
I cant totally remove the DTDDebugger parameter passed to the parser under the DTD creation is somehow moved from the parser.
1998-06-25 01:42:50 +00:00
rickg
0cc9868da7 fixed API mismatch 1998-06-23 01:35:25 +00:00
rickg
2beb57a9b0 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
jevering
5d3224de87 Forgot to check in the robot changes for new object. 1998-06-18 23:26:55 +00:00
jevering
2ae31c6b67 Fixed up the base dubugrobot function.. mostly cleaning up.
Properly setting the verification directory.
1998-06-12 01:35:36 +00:00
rpotts
5d29026190 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n) 1998-06-04 05:09:32 +00:00
jevering
7b456eb9a5 Dont process anything but html files from within the debug robot.
ProcessLink() ignores anything else using a gawd-awful nasty hack.
1998-06-04 01:19:25 +00:00
kipp
7d6bfd7c70 Use new loadurl api 1998-06-01 19:51:19 +00:00
jevering
f1174128f0 Changing the debug robot to be able to cope with the parser push model.
Updated the robot sink apis.
Fixed the global url holder in the destructor of the parser.
Changed the robot observer to set a flag when completed parsing of a
url so that it doesn't create lottsa little parsers.
1998-05-28 00:21:34 +00:00
rickg
76112e035d temp. comment out call 1998-05-21 22:19:40 +00:00
jevering
43f4c70237 Debug Robot work. 1998-05-19 19:06:59 +00:00
jevering
b8b103dfab Adding visual mode. 1998-05-14 22:16:51 +00:00
jevering
f1363d4558 Fixed robot walking somewhat.. needs more cleaning. 1998-05-14 21:47:33 +00:00
jevering
934bd69a80 used to be the RobotMain but now is the function DebugRobot to be
added to the viewer.
1998-05-14 01:08:06 +00:00