rpotts%netscape.com
da0b15064e
Changed URI loader to properly handle stream decoders (ie. mixed-replace)
2000-01-05 04:44:27 +00:00
rpotts%netscape.com
e4d36a4fca
Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
1999-12-29 07:32:59 +00:00
rpotts%netscape.com
aac5b48a2f
Removed obsolete method nsIDocumentLoader::LoadOpenedDocument.
1999-12-29 05:10:21 +00:00
rpotts%netscape.com
e6395f9b31
DocLoader reorg...Removed the implementations of LoadDocument(...), LoadOpenedDocument(...) and the nsDocumentBindInfo.
1999-12-28 23:22:26 +00:00
rpotts%netscape.com
c4324a3078
tweaked the way stream converters are applied to make multipart/x-mixed-replace work without the DocLoader...
1999-12-28 09:20:05 +00:00
rpotts%netscape.com
77c5b0f08c
Starting to integrate the DocLoader and URI loader... Removed the Channel listener and the need for nsDocumentBindInfo objects. Now all URI loading is done by the URI loader.
1999-12-28 09:16:15 +00:00
morse%netscape.com
ce961d7c5c
needed for foreign-cookie pref, bug 13655, coded by rpotts, r=morse, a=chofmann
1999-12-18 05:16:18 +00:00
morse%netscape.com
2f3c8ee1ee
back out last change temporarily until we can fix leak
1999-12-17 04:05:53 +00:00
morse%netscape.com
c947de468d
Implement reject-foreign-cookies pref, bug 13655, a=chofmann, r=neeti nsDocLoader.cpp
1999-12-17 02:44:22 +00:00
danm%netscape.com
57c824513b
added deathgrip to survive window destruction during onload handler. part of fix for bug 19302. r:hyatt a:chofmann
1999-12-15 02:18:52 +00:00
mscott%netscape.com
19498045c0
Bug #20698 --> add new uri load command for loading in the background.
...
When creating the channel, if the uri load command is viewBackground then set the load flag
on the channel appropriately.
1999-12-07 07:14:40 +00:00
mscott%netscape.com
1297839dc5
Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
...
style version.
r=travis
1999-12-06 22:32:06 +00:00
warren%netscape.com
bf4ef9672f
Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
1999-12-04 10:01:32 +00:00
mscott%netscape.com
8074916324
fix leak of document bind info when uri loading is turned on.
1999-12-02 09:37:36 +00:00
mscott%netscape.com
c25647e8e7
openuri now takes a nsURILoaderCommand
...
remove protocol scheme check before using the uri loader. this
means that all urls will run through the uriloader regardless of
type when it gets turned on.
webshell:
doContent and canHandleContent now take a nsURILoaderCommand
modify the handle link click event method to pass in
in the nsIURILoader::viewUserClick command to the uri loader
r=travis
1999-12-02 07:00:17 +00:00
mscott%netscape.com
f86d242032
add enumerated type for uri load command. This will allow us
...
// to distinguish between incoming urls that are a result of user
// clicks vs. normal views, view source and requires new window
nsIURIContentListener.idl--> doContent and canHandleContent now take a nsIURILoadCommand enum
nsURILoader.cpp --> changes to account for load command enum.
AsyncRead pass in the window context as the url context
(waterson will need this for his chrome cache work)
if we can't find a content handler for the content then go
back to the original window that loaded the url and force
them to handle the content...this is a HACK to force us to run
through the old code path for handling unknown content types
until the new version is online.
r=travis
1999-12-02 06:59:39 +00:00
mscott%netscape.com
c7ca68d7c9
Add chrome and res urls specs to the list of urls which now work with the uri loader.
...
Note: you need to enable uri loading under the debug menu for this code to be executed.
1999-12-01 03:21:51 +00:00
mscott%netscape.com
a41c25650e
fix back and forward buttons when using uri dispatching. When we're about to call into the uri loader,
...
set the mLoadingDocument flag on the doc loader to true.
1999-11-30 22:15:35 +00:00
warren%netscape.com
a265a32348
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
mscott%netscape.com
7ac3e408d1
uri dispatching nit....retarget the load group if we are opening a channel which has a load group
...
different from our own.
THIS CODE IS NOT executed unless uri dispatching is turned on.
1999-11-30 00:10:17 +00:00
mscott%netscape.com
d33e82b36d
Fix warning.
1999-11-29 21:06:49 +00:00
mscott%netscape.com
69dfb4790a
fix case sensitivity of include file
1999-11-29 21:03:41 +00:00
mscott%netscape.com
aaa0a6e533
temporary tweak to doc loader to use private uri loader
...
with post data stream support if we are trying to load
a url that has a post data stream.
r=travis
1999-11-29 21:01:15 +00:00
mscott%netscape.com
e869c2a7ad
changes to support private post stream data interface.
...
changes to support aWindowContext parameter and to remove
the content listener and progress sink as arguments. Instead,
use an interface requestor on the window context to get these.
I was also able to take out the capabilities class as well.
r=travis
1999-11-29 21:00:52 +00:00
mscott%netscape.com
7beb523ec1
add private interface for opening a url with post data
...
removed content listener and progress sink interfaces from
OpenURI and friends. Instead, pass in a nsISupports window
context. We can use the requestor interface to ask the
window context for the content listener and progress sink.
This reduced the number of arguments to OpenURI by one.
And eventually we'll query the window context for a
docshell / webshell interface which we could pass around.
r=travis
1999-11-29 21:00:14 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
mscott%netscape.com
28cb768635
force uri dispatching to always be on if the url we are trying to load
...
is a mailto url. why? because it works so well for mailto =). No sense
in only allowing people turning uri dispatching on to get the benefits.
r=travis.
1999-11-23 07:14:45 +00:00
rpotts%netscape.com
eb0cf86772
bug #15342 and #15560 . Refactored the LoadGroup and DocumentLoader...
1999-11-22 05:46:03 +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
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
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
8d9ab75d47
(Not part of the seamonkey build yet)
...
add manifest idl file for uriloader
1999-11-17 01:43:38 +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
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
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
b3928b6511
(not part of the build!)
...
add .cvsignore file
1999-11-02 19:21:01 +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
003b427868
not part of the seamonkey build
...
remove class id and progid from the interface
1999-11-01 19:51:05 +00:00
mscott%netscape.com
e8633fd853
(not part of the seamonkey build!)
...
export nsURIDispatcher.h
1999-11-01 19:49:09 +00:00
mscott%netscape.com
3484bf2344
first created.
1999-10-29 21:49:19 +00:00
mscott%netscape.com
6d59c5d592
Moving URI dispatching code into its new home in mozilla\uriloader. I'll be removing
...
the existing files that I put in netwerk very soon.
1999-10-29 21:46:18 +00:00
bienvenu%netscape.com
212c946904
add accessor for load group on doc loader r=rpotts
1999-10-27 04:44:42 +00:00
rpotts%netscape.com
d8d872c4b0
bug #15560 . Changed the LoadGroup to fire notifications via PLEvents to stop reenterency.
1999-10-19 19:42:55 +00:00
gagan%netscape.com
8d3080bc29
Removed an unneccesary include statement. No bug number.
1999-10-13 10:28:10 +00:00
rpotts%netscape.com
c2038977cf
Removed dead code inside of #if 0 blocks...
1999-10-06 21:43:21 +00:00
warren%netscape.com
d4f45caf5a
Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski)
1999-10-06 08:26:01 +00:00
kipp%netscape.com
ae138fb1ee
Work around a flaw in the doc-loader not handling a RemoveObserver call during an observer notification
1999-10-05 23:57:20 +00:00
rpotts%netscape.com
248e31bd70
bug #15341 and bug #15344 . Use the documentloader observer instead of a stream observer.
1999-10-05 04:04:16 +00:00
rpotts%netscape.com
c924d68b90
bug #14457 . Getting the webcrawler working again for QA...
1999-09-22 22:58:29 +00:00
scc%netscape.com
feee7fb939
take action to prevent re-entering the destructor
1999-09-21 21:10:22 +00:00
mscott%netscape.com
f4d75a8c84
The doc loader should release the underlying channel once the channel issues a OnStopRequest. This allows the
...
channel to go away after we load the url instead of making it stick around until the next url comes in (that's
when we used to get rid of the previous channel).
r=rpotts.
1999-09-21 05:36:49 +00:00
bienvenu%netscape.com
3b77a14a9a
fix listener leak r+a=mscott,valeski
1999-09-20 21:10:46 +00:00
warren%netscape.com
1c51d9a00b
Fixed warnings.
1999-09-20 20:57:21 +00:00
rpotts%netscape.com
3bb0c7a102
DocLoader cleanup... Also trying to get the notifications correct :-)
1999-09-17 07:56:03 +00:00
vidur%netscape.com
384c09eb30
Document referrer propagation through webshell and docloader.
1999-09-17 04:26:02 +00:00
warren%netscape.com
48cf4685a9
Factored file transport service out of file: protocol.
1999-09-16 01:16:22 +00:00
vidur%netscape.com
b7d78b67ae
Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process.
1999-09-09 23:53:55 +00:00
mscott%netscape.com
9a2e367e96
LoadDocument and LoadSubDocument now take an nsIURI instead of a unicode string. This is part of a webshell optimization
...
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 03:58:57 +00:00
mscott%netscape.com
05b68c4102
If the to content type is message/rfc822 then we need to call into the stream converter service to find an appropriate
...
converter.
1999-09-05 19:54:28 +00:00
valeski%netscape.com
495413a62e
added a context param to the stream converter service
1999-09-02 02:18:28 +00:00
beard%netscape.com
13d317565d
fixed a memory leak (was leaking the strdup("?"), landed stream converter stuff on Mac.
1999-09-01 21:50:32 +00:00
danm%netscape.com
227237a9c8
removing groady hack from rev 3.140, unnecessary since yesterday's changes in security (caps)
1999-09-01 20:26:04 +00:00
danm%netscape.com
5c43dbc2ce
temporary groady hack to fix breakage in NS_OpenURI
1999-08-31 06:49:26 +00:00
rickg%netscape.com
b7ed202275
enlarged the buffer size used for logging
1999-08-30 05:54:37 +00:00
valeski%netscape.com
bcadc45307
added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell
1999-08-29 14:31:08 +00:00
sspitzer%netscape.com
6bea9e87eb
fix warning
1999-08-28 17:32:51 +00:00
rpotts%netscape.com
3ed5c99db2
M9 BRANCH landing...
1999-08-26 22:45:55 +00:00
mccabe%netscape.com
2290033202
NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
...
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
nisheeth%netscape.com
9e5e191a16
Fix for bug 7401. We now print out error messages for failed url loads.
1999-08-06 21:54:25 +00:00
rpotts%netscape.com
6a5e493ee7
Removed an *extra* release of the PostData stream... This was causing random crashes...
1999-08-06 21:38:09 +00:00
valeski%netscape.com
493ae6bd9e
api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
...
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
gagan%netscape.com
d550f5831d
POST requests for HTTP work now! Go file bugs using apprunner now...
1999-08-04 15:06:51 +00:00
mcafee%netscape.com
451c4afcee
Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
1999-08-03 20:51:41 +00:00
warren%netscape.com
af95e38fc8
Reverted yesterday's change to solve the timing/perf measurement problem. Now I think the main problem was caused by the fact that redirects weren't getting inserted into the group, causing the load to terminate prematurely. That's now solved in the http protocol code.
1999-07-31 06:33:50 +00:00
warren%netscape.com
6b3a89d3bc
Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load.
1999-07-30 07:50:35 +00:00
warren%netscape.com
b21ffb563b
Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure.
1999-07-30 04:20:34 +00:00
valeski%netscape.com
20de55f858
necko - had to turn off www.*.com trick until we can identify dns failures
1999-07-21 16:41:07 +00:00
valeski%netscape.com
97080d487c
necko www.*.com trick
1999-07-21 14:54:45 +00:00
warren%netscape.com
7bcb94a320
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
beard%netscape.com
fad627620a
added <iostream.h>
1999-07-17 01:58:38 +00:00
sspitzer%netscape.com
6556418b3b
warren blew away my DEBUG_pnunn changes. Adding it back.
1999-07-17 01:51:27 +00:00
warren%netscape.com
c5684bf4d7
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
sspitzer%netscape.com
d312fd533a
wrap with DEBUG_pnunn. pnunn owns bug #8244 . the rest of us don't need to see this message a billion times a day.
1999-07-13 23:57:47 +00:00
sspitzer%netscape.com
41c776abc0
only spit out this on debug builds.
1999-07-13 19:06:22 +00:00
warren%netscape.com
fcd36cebd4
Added outer param to NewLoadGroup.
1999-07-10 11:27:05 +00:00
warren%netscape.com
0cd57746e8
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
warren%netscape.com
9efa754f74
Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
1999-07-07 08:08:40 +00:00
warren%netscape.com
0b1dedd43f
Fixed GetContentType error handling for necko.
1999-07-03 05:49:12 +00:00
warren%netscape.com
8462929dda
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
troy%netscape.com
c12c5044a2
Removed some assignment of nsnull to nsCOMPtr obejects that was hitting
...
an assert
1999-06-30 04:13:21 +00:00
valeski%netscape.com
2cb7f0ca72
yanked the hardcoded content type
1999-06-29 23:25:17 +00:00
valeski%netscape.com
9381d90062
NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load.
1999-06-29 21:48:35 +00:00
valeski%netscape.com
3889dddb60
removing extraneous nsIEventQueue stuff
1999-06-29 01:55:35 +00:00
warren%netscape.com
28d53ce097
Necko cleanup.
1999-06-29 00:37:14 +00:00
valeski%netscape.com
5621f3c7b4
optimized build fix.
1999-06-28 22:50:14 +00:00
mscott%netscape.com
19e27ea0e4
necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
1999-06-28 20:43:28 +00:00
valeski%netscape.com
34a671540b
necko builds
1999-06-28 14:02:28 +00:00
warren%netscape.com
f5e1196f42
Last of the necko ifdefs. Now we link with necko.
1999-06-28 10:35:57 +00:00
warren%netscape.com
41b5fcddad
Changed URLGroup to LoadGroup
1999-06-25 02:31:51 +00:00
warren%netscape.com
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
valeski%netscape.com
487d9ea921
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
radha%netscape.com
3f48e3a051
OnEndDocumentLoad now has a handle to the observer
1999-06-14 22:12:19 +00:00
nisheeth%netscape.com
9f508b62a0
Fix for bug 7401. Made error message more descriptive.
1999-06-11 23:13:03 +00:00
nisheeth%netscape.com
f81a85b697
Fix for bug 7401. Output an error message to the console when a URL load fails.
1999-06-11 23:07:09 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
kipp%netscape.com
9ddc4046f7
Ripped out the old doc-loader hackery and use the component manager to find viewers instead
1999-05-06 19:31:59 +00:00
nisheeth%netscape.com
80fcadde79
The document loader that initiates the nsIDocumentLoaderObserver notifications is now passed up the document loader hierarchy. This was needed because external services that register as observers to the top level document loader expect to receive the document loader that is initiating the notification as a parameter in the notification. Earlier, they were always receiving the top level document loader regardless of which document loader initiated the notification.
1999-05-06 06:52:05 +00:00
nisheeth%netscape.com
bd92244027
- Implemented GetContentViewerContainer() in the nsDocLoaderImpl() object.
...
- Added charset parameters to LoadDocument(), a method defined in nsIWebShellServices
1999-05-06 03:54:40 +00:00
nisheeth%netscape.com
066767c792
- adding stubs for the methods in nsIWebShellServices implemented by the nsWebShell object.
...
- adding a stub implementation of the GetContentViewerContainer() method to nsDocLoaderImpl.
1999-05-06 01:58:48 +00:00
pinkerton%netscape.com
013355114c
pinkerton/scc. appr chofmann. Bug #4127 , et al. Fixing ownership models (more work to come).
1999-04-30 09:04:36 +00:00
kipp%netscape.com
aaa907cf24
Cleaned up log messages; fixed doc loader to fire the OnEndDocumentLoad properly
1999-04-30 00:10:27 +00:00
nisheeth%netscape.com
4fb57d23eb
Passing in nsIDocumentLoader as a parameter to all functions in nsIDocumentLoaderObserver...
1999-04-28 06:47:40 +00:00
nisheeth%netscape.com
59f677783b
- Backed out changes that sent notifications out to observers via the nsIExternalDocumentLoadObserver interface.
...
- Thanks a lot to Eric Burley (ericb@neoplanet.com ) for fixing refcount related bugs. His patch is included in this checkin.
1999-04-28 04:57:06 +00:00
nisheeth%netscape.com
af374973b0
Shortened filename to nsIExternalDocLoadObs.h to work around Mac build bustage. Filenames longer than 31 characters are a bad thing on the Mac.
1999-04-26 14:54:03 +00:00
nisheeth%netscape.com
b8c7dc3717
The doc loader sends out document load progress notifications to external observers. The list of external observers is built up on each new top level document load by consulting the nsObserver service.
1999-04-26 10:51:52 +00:00
scc%netscape.com
ff6d3ed60a
s/false/0/ in my do-while
1999-04-23 19:03:01 +00:00
akkana%netscape.com
00f6fb9ac1
Fix for scc to work around an apparent egcs bug
1999-04-23 17:38:13 +00:00
scc%netscape.com
fc18ccf168
Added the ability to construct a XUL document from a stream
1999-04-23 16:48:30 +00:00
waterson%netscape.com
295796c6fd
Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
1999-04-14 23:06:22 +00:00
waterson%netscape.com
1ddd81bfbf
nsISupportsArray::RemoveElement() returns an nsresult, not a PRBool.
1999-04-14 20:42:48 +00:00
radha%netscape.com
e4694758f1
Fix for bug 4668. Make sure that all children documents have finished loading
...
before calling OnEndDocumentLoading.
1999-04-13 00:19:48 +00:00
law%netscape.com
bd438feb37
File download; approved by chofmann
1999-04-08 04:21:15 +00:00
radha%netscape.com
06190bab0a
Remove few debug printfs
1999-04-06 21:25:06 +00:00
radha%netscape.com
76ab858a99
Webshell implements the new nsIDocumentLoaderObserver interface
1999-04-06 21:01:04 +00:00
sspitzer%netscape.com
8ffc8ea5bd
use nsString instead of of nsAutoString, since that is what the function takes
1999-03-31 19:08:53 +00:00
sspitzer%netscape.com
0879ecbbcc
fix build breakage on Linux
...
the build breakage only happens if you build with -pedantic
1999-03-29 22:04:04 +00:00
rpotts%netscape.com
60cb857615
Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell...
1999-03-29 09:21:01 +00:00
hyatt%netscape.com
618e91aa29
Enhanced the document loader to handle subdocuments.
1999-03-12 05:20:29 +00:00
amusil%netscape.com
b4857ef200
Added some mimetypes. Fixed bugs.
1999-03-11 22:49:51 +00:00
ramiro%netscape.com
7e12a4b568
Use the macro on all platforms. Thanks to pierre for helping me make sure
...
it doesnt break the mac. I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
ramiro%netscape.com
869b29d48d
Templates in nsXPComFactory exorcism. Part I.
...
Replaced the template code with a NS_DEF_FACTORY.
This is temporary. As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +00:00
rickg%netscape.com
7ba3b9726d
allow plain text file to be handled by HTML document
1999-02-16 07:37:53 +00:00
waterson%netscape.com
a5f0d1d47c
Got rid of #include's, too.
1999-02-15 19:56:47 +00:00
waterson%netscape.com
d03a226d75
Got rid of nsIRDFDocument: we never use it here anyway.
1999-02-15 19:53:55 +00:00
kipp%netscape.com
da9235b4aa
Removed some warnings
1999-02-12 17:14:26 +00:00
waterson%netscape.com
99c2d83700
RDFDocument is now XULDocument.
1999-02-09 03:16:17 +00:00
hyatt%netscape.com
ffa4515868
Implementing the XUL content sink. Teaching the document loader that it
...
can instantiate files of type "text/xul" using RDF.
1999-02-03 02:43:32 +00:00
waterson%netscape.com
bd96012fa8
Content model builder CID now specified by XML processing instruction.
1999-02-01 22:30:42 +00:00
rpotts%netscape.com
956dd49596
fixed bug when firing the OnConnectionsComplete() notification. If one of the listeners initiated a new URL load then state in the doc loader became inconsistent...
1999-01-19 22:48:05 +00:00
rpotts%netscape.com
3ee6fff37f
The DocumentLoader is now a global service. Rather than creating document loaders via the factory, they are now created as child loaders of the global DocumentLoader service which is accessable via GetService.
1999-01-17 11:48:58 +00:00
pierre%netscape.com
e702fb1de1
no longer ignores the returned value from m_Observer->OnStartBinding(). This allows embedding apps (eg. Intuit) to intercept and filter URLs.
1999-01-15 22:34:46 +00:00
rpotts%netscape.com
e8e49e2114
Added some more debug trace messages...
1999-01-15 10:10:46 +00:00
rpotts%netscape.com
ea75730edd
Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver...
1999-01-14 06:44:23 +00:00
waterson%netscape.com
ae2d963b77
Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources.
1999-01-12 19:41:06 +00:00
rpotts%netscape.com
90aadf1c55
Fixed the firing of the OnConnectionsComplete(...) notification so it worked correctly in framesets...
1998-12-29 04:45:00 +00:00
ramiro%netscape.com
7234d89b72
Change #include "nsIHttpUrl.h" to #include "nsIHttpURL.h" for case sensitive
...
anality.
1998-12-16 10:27:49 +00:00
warren%netscape.com
b22a4e72fd
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
waterson%netscape.com
00654b366c
Changed RDF document CID.
1998-12-04 10:01:42 +00:00
waterson%netscape.com
7458263089
Added factory method for RDF documents.
1998-12-02 00:28:27 +00:00
kipp%netscape.com
e70c6a6330
Removed duplicate init
1998-11-26 18:06:08 +00:00
peterl%netscape.com
4222f0257e
style change notification support
1998-11-26 01:34:53 +00:00
kipp%netscape.com
d05da4c0bc
Added some debug noise (disabled by default) for document creation
1998-11-23 17:18:08 +00:00
rpotts%netscape.com
6985b41afa
Return NS_BINDING_FAILED if nw stream was created...
1998-11-22 09:28:44 +00:00
pnunn%netscape.com
ec5890f908
png is an interal format... -pnunn
1998-11-20 23:33:46 +00:00
rickg%netscape.com
1a47a78ee2
allow view-source on XML
1998-11-13 04:36:46 +00:00
vidur%netscape.com
f0f05ab336
Added XML display support. Creation of XML document for text/xml and application/xml
1998-11-11 22:07:03 +00:00
rickg%netscape.com
bac5cf794d
first pass support for view-source
1998-11-11 11:55:32 +00:00
rpotts%netscape.com
091d1a0344
do not allow the stream listener to be freed during a call to OnDataAvailable... It is possible, that OnStopBinding() wil lbe called while the listener is processing the data (ie. the URL load is interrupted). If this happens, do not free the listener until the OnDataAvailable() call has finished...
1998-11-10 07:06:02 +00:00
rpotts%netscape.com
a4f960b29f
fix bug #1112 . Free the next stream listener as soon as OnStopBinding(...) is called...
1998-11-05 05:39:16 +00:00
rpotts%netscape.com
49615952b2
Added a skidmark when a content viewer cannot be found for a given content-type...
1998-11-04 08:49:05 +00:00
rpotts%netscape.com
db8dc09180
Removed the implementation of the nsIDocumentLoadInfo interface. This is an obsolete interface.
1998-11-03 10:09:42 +00:00
rpotts%netscape.com
f5882fe29f
Removed the implementation of nsINetSupport...
1998-11-03 08:02:33 +00:00
rpotts%netscape.com
4d2a8e2210
Release the stream observer when stopping a document load. This will break the circular reference between the webshell and the docloader...
1998-10-30 07:10:10 +00:00
rpotts%netscape.com
66e4ecdc2b
Call nsINetService::InterruptStream() when stopping a URL...
1998-10-16 22:30:57 +00:00
rpotts%netscape.com
4dea19ddd4
Only fire the OnConnectionsComplete(...) notification once per document...
1998-10-10 05:54:58 +00:00
rpotts%netscape.com
7564874853
Removed assert that was not threadsafe...
1998-10-10 05:00:17 +00:00
rpotts%netscape.com
c1d06bb6c4
Added support for the loading of background URLs...
1998-10-10 04:33:29 +00:00
rpotts%netscape.com
4f313f0ccd
Wired up notifications of URLs loaded via OpenStream out to the StreamObserver...
1998-10-09 05:49:34 +00:00
rpotts%netscape.com
a6bf7303fd
The document loader now supports nsIURLGroup interface.
1998-10-01 21:48:12 +00:00
michaelp%netscape.com
f13a0d58f0
changes for new nsiplugininstanceowner.
1998-09-27 22:46:41 +00:00
vidur%netscape.com
5875cb774f
Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry.
1998-09-17 01:53:52 +00:00
valeski%netscape.com
81cdcbe581
? network/module/nsNetFactory.cpp
...
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.
M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.
M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.
M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.
M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.
M network/module/nsNetFile.cpp
Fixed memory leak.
M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.
M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID
M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
valeski%netscape.com
ad6e1f0a3f
M webshell/public/nsIDocumentLoader.h
...
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.
M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.
M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).
2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.
M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.
M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.
1998-09-16 00:40:20 +00:00
kipp%netscape.com
aa732131d6
Use traceable ctor design pattern
1998-09-15 00:17:53 +00:00
kipp%netscape.com
64b63ba5c6
Use NS_ADDREF macros to enable refcnt tracing
1998-09-12 19:30:49 +00:00
kipp%netscape.com
406fcd2c21
Support (in a shaky way) some various and sundry mime types for plugins
1998-09-09 23:51:43 +00:00
vidur%netscape.com
17af65fb8b
Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory.
1998-08-20 22:28:52 +00:00
valeski%netscape.com
f933b44c7a
webshell/public/nsIDocumentLoader.h
...
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.
webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.
webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.
webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.
1998-08-19 23:01:52 +00:00
valeski%netscape.com
a3dab18b8b
webshell/public/nsIDocumentLoader.h
...
Removed support for the underlying timer/refreshurl infrastructure.
webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.
webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).
1998-08-18 23:25:17 +00:00
valeski%netscape.com
732cc1445e
webshell/src/nsDocLoader.cpp -
...
310133 - 1. added LoadURLOnTimer() and CancelLoadURLTimer() implementations to the nsDocLoaderImpl class.
2. Changed nsDocumentBindInfo class to support the nsIRefreshUrl interface.
3. Changed the nsDocumentBindInfo contructor to set the m_ExtraInfo variable to the aExtraInfo pointer passed in. This must have been an oversight on the part of the original implementor.
4. Added a simple data placeholder class to hold the data that will be used to load the url on the timer.
webshell/src/nsWebShell.cpp -
1. 310133 - When the webshell is destructed or about to load a new url, the loader now calls CancelLoadURLTimer() which cancels and releases the timers.
1998-08-13 20:08:19 +00:00
joki%netscape.com
939f9a50d7
Adding partial load event support, removing script context Run_GC method adding partial script error support
1998-08-12 04:56:40 +00:00
michaelp%netscape.com
446cb50e92
changes for plugins.
1998-08-05 04:23:21 +00:00
pierre%netscape.com
f477da03eb
fixing Windows build bustage: moved NS_IMPL_IDS
1998-07-29 22:33:29 +00:00
pierre%netscape.com
b8903f097b
fixing Mac build: moved NS_IMPL_IDS
1998-07-29 21:06:19 +00:00
kipp%netscape.com
b2d5de9aa4
Some hackery for image documents
1998-07-27 18:05:34 +00:00
rpotts%netscape.com
f82bae51c2
Get rid of those unix warnings...
1998-07-24 21:03:33 +00:00
rpotts%netscape.com
bd11b1339b
Added IStreamListener::OnStatus(...)...
1998-07-24 10:02:50 +00:00
rpotts%netscape.com
404e814932
Removed an incorrect comment...
1998-07-24 05:33:29 +00:00
rpotts%netscape.com
573e5a2152
Fixed uninitialized variable...
1998-07-23 04:25:20 +00:00
kipp%netscape.com
468ebb1450
Init mStatus
1998-07-22 23:41:36 +00:00
rpotts%netscape.com
0fa486b54f
First pass at nested document loaders...
1998-07-22 11:23:32 +00:00
scullin%netscape.com
3dd5471954
Propagate alerts, confirms and prompts up to browser window.
1998-07-22 00:26:23 +00:00
kipp%netscape.com
3573f82d52
Normalized factory code
1998-07-19 01:18:15 +00:00
kipp%netscape.com
a7c3b9080c
Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance
1998-07-18 21:50:29 +00:00
kipp%netscape.com
4de7beafcc
Init unintialized variable
1998-07-17 17:54:46 +00:00
rpotts%netscape.com
5465bbd7a8
Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...
1998-07-17 06:32:39 +00:00
rpotts%netscape.com
14a8c49f35
Added nsIURL argument to the nsIStreamListener interface
1998-07-15 22:38:01 +00:00
rickg
665f63b9f3
dynamic DTD support
1998-07-10 05:35:23 +00:00
kipp
f97bf0ca47
Eliminate some compiler warnings
1998-07-03 23:14:21 +00:00
rpotts
8c8d2118f3
Added error checking to the document creation. IF a document cannot be found, the network load will fail and the old document will not be deleted...
1998-07-03 06:16:02 +00:00
rpotts
f19f8d7f14
Added nsDocLoader.cpp...
1998-07-01 11:29:20 +00:00