Commit Graph

27 Commits

Author SHA1 Message Date
dougt%netscape.com
175245e2de 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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
danm%netscape.com
3918a72341 removing nsIWebBrowserChrome::FindNamedBrowserItem per 5 Feb 01 API review. functionality has been moved to nsDocShellTreeOwner. r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86480 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:59:43 +00:00
locka%iol.ie
71f99fce9b Major resync to track recent embedding API changes. Persistence code updated, web browser listener updated, clipboard commands updated. Removal of a lot of STL templates to reduce bloat. Implemented popup menu actions b=59040
git-svn-id: svn://10.0.0.236/trunk@86217 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:29:05 +00:00
locka%iol.ie
aebc8bbb67 Changed control to use nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86101 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:49:16 +00:00
valeski%netscape.com
9d0b443a39 r=ccarlen, sr=rpotts. 65925. adding support for listener queueing in the webbrowser, and weak reference support to webprogress listeners.
git-svn-id: svn://10.0.0.236/trunk@85869 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:03:40 +00:00
locka%iol.ie
ee1b0d8035 Fix for the crashing NewWindow2 event mechanism & new IMozControlBridge COM interface for ActiveX programmers who want to get at the Gecko APIs via the control. b=58471, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83535 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 13:05:35 +00:00
danm%netscape.com
b99b753bfb empty implementations for new method IsModal. bug 56677 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@82447 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:17:09 +00:00
dougt%netscape.com
5b5da682a9 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts


git-svn-id: svn://10.0.0.236/trunk@79206 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:56 +00:00
locka%iol.ie
0bec30a06f Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:09:51 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
locka%iol.ie
7c63d2a576 Changed implementation of OnShowContextMenu to reflect updated IDL. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76438 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 09:00:44 +00:00
locka%iol.ie
8c586d9150 Reinstated macro that prevented browser site from being QI'd for its nsISupports interface
git-svn-id: svn://10.0.0.236/trunk@74842 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:46:05 +00:00
warren%netscape.com
997161d193 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
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
vidur%netscape.com
ffd0cb1a4e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski
git-svn-id: svn://10.0.0.236/trunk@74129 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:56:14 +00:00
locka%iol.ie
c811c9255a Fixed problem with chrome content docshells
git-svn-id: svn://10.0.0.236/trunk@73590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 12:40:52 +00:00
locka%iol.ie
404dd0fb6d Added nsIContextMenuListener. Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@73438 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:29:49 +00:00
bryner%uiuc.edu
0c97e4d4cb Moving persistence-related methods from nsIXULWindow to
nsIWebBrowserChrome as a basis for fixing bug 15555.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@72820 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:05:28 +00:00
rpotts%netscape.com
406f61beb3 Reworked the nsIWebProgress interfaces and implementation...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
warren%netscape.com
662f0fe1e7 Bug 41390. js prompt() contains remember this value checkbox. r=morse
git-svn-id: svn://10.0.0.236/trunk@72472 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:57:36 +00:00
locka%iol.ie
9f4460e53c Changed a few calls to GetIID to use the NS_GET_IID macro.
Put in a mouse listener on the web shell container (non functional at present)


git-svn-id: svn://10.0.0.236/trunk@70113 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:07:09 +00:00
warren%netscape.com
1958638f6c Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
locka%iol.ie
277f072a6c Fixed the popup window code
git-svn-id: svn://10.0.0.236/trunk@69223 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:55:48 +00:00
locka%iol.ie
4cb23c6456 Added a cast to a return value to stop a pointer comparison assert from firing.
git-svn-id: svn://10.0.0.236/trunk@68180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:44:15 +00:00
locka%iol.ie
f9e7254eca Fixed more coding style issues
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68087 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 17:56:02 +00:00
locka%iol.ie
97898500af Renamed WebShellContainer.cpp to this
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67599 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:06:12 +00:00