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

225 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com eb0cf86772 bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
dp%netscape.com 3c1dbdbe0d Convering to GenericModule. 1999-11-20 07:28:11 +00:00
mscott%netscape.com aab5982715 remove two compile warnings to get me off the warnings list... 1999-11-19 03:04:25 +00:00
mcafee%netscape.com 64776b897b Removing const to match IDL spec, fixes Solaris/CC. r=mscott 1999-11-18 20:47:57 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
mscott%netscape.com 4a5f494098 Bug #14928 --> phase one of uri dispatching landing. IF uri dispatching is turned on,
invoke the uri loader instead of opening the document ourselves.

Various changes for uri dispatching....

r=travis
1999-11-18 07:07:33 +00:00
mscott%netscape.com 6c789594a7 make this library 8.3 on windows.
(renamed to urildr)
1999-11-18 06:02:00 +00:00
valeski%netscape.com dcc06e4b83 r=rhp. nsDocumentBindInfo was returning NO_INTERFACE when asked for nsISupports. I can't believe we made it this far w/ that object not able to support nsISupports :/ 1999-11-18 02:19:13 +00:00
mscott%netscape.com e6d4deae8e (not part of the seamonkey build)
CanHandleContent now has an out parameter for desired content type.
Minor re-write of uri loder logic to incorporate stream conversion. If the content listener passes back
a desired content type that is different from the content type that we asked it to handle, we'll
automatically invoke a stream converter. This allows a doc shell which wants to handle say message/rfc822
to request that content be in the form of text/xul (i.e. if it was presenting the content).
1999-11-18 01:02:31 +00:00
mscott%netscape.com e76d332ebd (not part of the seamonkey build)
CanHandleContent now has an out parameter for desired content type.
1999-11-18 01:00:56 +00:00
mscott%netscape.com 16f48bb1cc First Checked In. 1999-11-17 22:48:42 +00:00
warren%netscape.com 6a3064570d Fix for bustage due to channel retargeting changes. 1999-11-17 09:17:04 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
mscott%netscape.com e99e09958b (not part of the build)
remove obsolete file
1999-11-17 01:46:08 +00:00
mscott%netscape.com 185589817e (not part of the build)
exorcise nsURILoaderCIDs.h
1999-11-17 01:45:25 +00:00
mscott%netscape.com 8d9ab75d47 (Not part of the seamonkey build yet)
add manifest idl file for uriloader
1999-11-17 01:43:38 +00:00
mscott%netscape.com 7708a448e6 I need to add this bogus file to uriloader\macbuild so my mac will pull the directory...
turns out it won't pull empty directories....
1999-11-16 21:16:13 +00:00
tbogard%aol.net ec5d11c1be Changed nsDocLoader to get Container by asking nsIWebShell rather than nsIContentViewerContainer. 1999-11-16 01:03:57 +00:00
mscott%netscape.com a072b14273 (not part of the seamonkey build)
Revamp the uri loader to excusively use AsyncRead instead of AsyncOpen and AsyncRead. With these changes,
we now only need to add the ability to retarget to our protocol channels instead of requiring both
retargeting and AsyncOpen support.

In order to do this, the DocumentOpenInfo object needed to become a nsIStreamListener instead of just
a stream observer.
1999-11-15 21:35:40 +00:00
tbogard%aol.net d073f19890 Removed temporary QI to nsIContentViewerContainer as nsISupports is what is needed on the parameter anyway. r=pavlov 1999-11-15 07:47:01 +00:00
tbogard%aol.net 4465f2b8b2 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
mscott%netscape.com 13f5b5a946 (not part of the seamonkey build...yet!)
Clean up OpenURI api. get rid of the verb, the channel context and the loadgroup as required arguments
to OpenURI.

Add nsUriLoaderEventSinkGetter class. Many method signatures
changed to match the changes to nsIURILoader::OpenURI.
1999-11-10 06:24:40 +00:00
mscott%netscape.com 5d17f7f892 (not part of the build yet!)
Clean up OpenURI api. get rid of the verb, the channel context and the loadgroup as required arguments
to OpenURI.

Add the notion of a open uri context as an in and an out parameter. The open uri context is a cookie which
the caller can later give back to the uri loader when running another url in the same context. It's an ISupports
right now and the type should be opaque to the caller.

Don't require the caller to pass in an event sink getter. We can generate this for them. Do give them the ability
to pass in a nsIProgressEventSink. Note: this parameter is actually going to get changed into a nsIProgressListener
real soon as well. So don't get to used to it.
1999-11-10 06:22:29 +00:00
tbogard%aol.net 4fa2b86414 Changed the C++ includes to the equivalent of nsIURI and nsIStreamListener IDL versions. I couldn't find them earlier. Thanks to andreas.otte@primus-online.de for pointing the availability of them out to me. 1999-11-06 19:11:09 +00:00
tbogard%aol.net 9c3c5bfea2 Changed the some of the forward declared interfaces to be includes of the idl files. This makes the usages of these interfaces easier. Also put in the C++ includes for the nasty dumb interfaces nsIURI and nsIStreamListener which haven't found their homes in IDL yet. 1999-11-06 03:58:15 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mscott%netscape.com bacf6681a2 (not part of the build)
GetProtcocolHandler needs to pass in the uri we are trying to open so the
listener can pick an appropriate p.h. based on the protocol of the uri. (if
they so choose).
1999-11-05 23:26:16 +00:00
mscott%netscape.com 3d9164b725 (not part of the build)
1) add OpenURIVia support.
2) reimplent DispatchContent so we ask the listener if it can handle the content. Then when (if) we find
a content listener that can handle it, call DoContent.
3) if we can't find a content listener, go to the registry and try to find a registered content handler.
This part isn't finished as eventually i need to be going to the category manager instead of forming
the progid for the content handler myself.
1999-11-05 23:06:16 +00:00
mscott%netscape.com 3301907ba6 Add OpenURIVia which takes a static IP address.
(not part of the build)
1999-11-05 23:03:58 +00:00
mscott%netscape.com 69b683ebe5 (not part of build)
Add notion of CanHandleContent. This is supposed to be a light weight method for the implementor
such that the uri loader can ask right off the top if the listener can handle a particular content
type. If it can, then later on, the uir loader may call DoContent to actually handle it.
1999-11-05 22:54:53 +00:00
mscott%netscape.com 4f78c74a75 add a new line at the end of the file
(not part of the seamonkey build)
1999-11-05 22:53:21 +00:00
mscott%netscape.com c5c728a09b (not part of the seamonkey build!)
remove CanHandleConent. I don't think we need this. Also remove notion of getting a parent
content handler. This doesn't make sense anymore for how I'm defining a content handler.
Added progid prefix for content handler.
1999-11-05 22:52:35 +00:00
mscott%netscape.com 8824e33e62 (not part of the seamonkey build)
define and implement nsDocumentOpenInfo. Implement uri loader::OpenURI. This is the first pass at
my implementation it isn't complete and it doesn't use the registry for getting
 protocol handlers and content handlers yet...but it's a start
1999-11-05 06:01:40 +00:00
mscott%netscape.com af661431f1 (not part of the seamonkey build)
include nsISupportsUtils.h
1999-11-05 06:01:05 +00:00
mscott%netscape.com d3a550ac00 (not part of the seamonkey build!)
expanded OpenURI interface to take all the required arguments we need in order to really open the uri.
This includes adding the command, window target, event sink getter, load group and channel context.
Added dispatchContent method which is used by the doc open info's to talk back to the uri loader.
DispatchContent takes an opened channel and the uri content listener.
1999-11-05 06:00:36 +00:00
mscott%netscape.com de22561cc7 (not part of the seamonkey build!)
doContent now returns a boolean called abortProcess. if the listener wants to handle the content without
 returning a stream listener, i.e. it wants the uri loader to stop doing anything else with this content,
then it returns true for abort process.
1999-11-05 05:59:42 +00:00
mscott%netscape.com 78817dde5c (not part of the seamonkey build!!)
no longer need nsURILoaderCIDs.h
1999-11-03 03:55:39 +00:00
mscott%netscape.com 7766dd4d2f (not part of the seamonkey build!!!!)
name change of nsURIDispatcher to nsIURILoader
1999-11-03 03:53:33 +00:00
tbogard%aol.net d53012d480 Changed URIDispatcher to URILoader throughout. 1999-11-02 19:36:43 +00:00
mscott%netscape.com fc6f3d118b Add cvsignore file for uriloader\build 1999-11-02 19:21:49 +00:00
mscott%netscape.com b3928b6511 (not part of the build!)
add .cvsignore file
1999-11-02 19:21:01 +00:00
mscott%netscape.com 27c12573bc this directory is not part of the build!!!
add .cvsignore file
1999-11-02 19:18:04 +00:00
mscott%netscape.com 59d4a97719 this directory isn't part of the build!!!!
add a Makefile for uriloader\build
1999-11-02 19:09:50 +00:00
mscott%netscape.com 5af50d2b71 (This directory isn't part of the build!!)
Add a Makefile for the uriloader base directory.
1999-11-02 19:09:15 +00:00
mscott%netscape.com 4b86b103f6 (not part of the seamonkey build)
top level Makefile for uriloader
1999-11-01 19:56:25 +00:00
mscott%netscape.com 6fc27c2696 not part of the seamonkey build
add makefile for the uriloader\build directory.
1999-11-01 19:52:49 +00:00
mscott%netscape.com 9afcbe0d6b not part of the seamonkey build
add CID header file and uri loader module class.
1999-11-01 19:52:25 +00:00
mscott%netscape.com bf2b7b1fa9 not part of the seamonkey build.
add top level makefile.win for uriloader.
1999-11-01 19:51:45 +00:00
mscott%netscape.com 003b427868 not part of the seamonkey build
remove class id and progid from the interface
1999-11-01 19:51:05 +00:00