Commit Graph

277 Commits

Author SHA1 Message Date
tbogard%aol.net
b601c2d4b5 First cut at new webProgress interfaces. Not yet connected to the build. 2000-03-02 02:24:57 +00:00
tbogard%aol.net
86df273966 URILoader now will invoke the unkown content handler when the DoContent call fails. This clears the way for the new docShell creation of the content viewer code to land. I'm actually checking this in for mcott. b=13374 r=me a=jevering 2000-02-29 21:33:23 +00:00
mscott%netscape.com
9a7c1b0e8e Bug #27419 --> if uri load had a window target name and a window
with that name didn't exist yet, we weren't creating a new window,
instead we were loading it in the current window. Now we properly
fall through to the create new content handler case.
r=travis
a=phil
2000-02-19 02:05:52 +00:00
mscott%netscape.com
1388ba58b5 Bug #17468 --> if you pass a window target of _new, we weren't creating a new window. We do now.
r=travis
2000-02-16 07:10:42 +00:00
mscott%netscape.com
c8fd767935 Fixes Bug #27419 and various other uri re-targeting bugs. The uri loader now properly implements retargeting.
Allow the load cookie to support nsWeakReference.
r=travis,mscott (we co-authored it).
2000-02-15 04:04:34 +00:00
tbogard%aol.net
84174fe997 Added a Stop method to allow stopping a load that has been requested. r=hyatt 2000-02-14 10:12:55 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
mscott%netscape.com
9a386e5c0a More prepation for docshell landing. Add a IsPreferred method to nsIURIContentListener and use the Ispreferred
method when the load type is user click to find the preferred registered window for handling the content

r=travis
2000-02-04 08:43:34 +00:00
neeti%netscape.com
81b45a50d4 Returning the correct error value instead of NS_OK, from OnStartRequest() and OnStopRequest().r=rpotts 2000-02-04 01:54:47 +00:00
brade%netscape.com
27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
mscott%netscape.com
e707c020b3 fix solaris breakage..include nsIChannel.h when using a nsCOMPtr. =) 2000-01-29 08:32:03 +00:00
mscott%netscape.com
056442c287 export nsIDocumentLoader.idl nsIDocumentLoaderObserver.idl 2000-01-29 06:13:58 +00:00
mscott%netscape.com
90c4118948 build nsDocLoader 2000-01-29 06:13:39 +00:00
mscott%netscape.com
bf0b2945cd build nsdocLoader 2000-01-29 06:03:01 +00:00
mscott%netscape.com
81ddbb480d Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
add get content listener parent and load cookie attributes to nsIURIContentListener
Bug #21173 --> set the redirected flag on the channel if we are going to redirect the url. Add load cookie
support.
build nsDocLoader in the uriloader.
r=travis
2000-01-29 06:02:36 +00:00
mscott%netscape.com
ec5a0e3977 (NOT Part of the build yet!!)
Refacting of doc loader into the uri loader
r=travis
2000-01-29 04:41:04 +00:00
mscott%netscape.com
d33b6baf54 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
These files aren't part of the build yet.
r=travis
2000-01-29 04:26:29 +00:00
valeski%netscape.com
365fede8f7 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com
449efd53a6 r=rhp. nsIMIMEInfo and nsIMIMEService have been revamped (there's one more small iteration coming tomorrow). nsIMIMEInfo has been extended and the service has been multi indexed using file extensions *and* the MIME type as keys. 2000-01-24 15:41:03 +00:00
norris%netscape.com
8507a58ec3 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
mscott%netscape.com
ab00d9bb79 Bug #24174 --> when clicking on a mailto ur, we were bringing up the compose window and
the unknown content handler dialog. we should only be bringing up the compose window =)
r=sspitzer
2000-01-17 22:21:25 +00:00
mscott%netscape.com
a770fdf7e5 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
mscott%netscape.com
0d953fbac3 loading a uri takes the channel instead of the uri. This allows us to remove
several fields from OpenURI interface and allows us to remove the private
post data interface. Now the nsIURILoader interface doesn't need to take
all of the arguments necessary to create a channel.
r=rpotts.
2000-01-17 19:55:27 +00:00
rpotts%netscape.com
be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
mscott%netscape.com
6bbb531aa6 Short term hack...allow the uri loading to proceed even if we don't have a load group. eventually we should try to
create a loadgroup for the caller.
2000-01-09 23:45:36 +00:00
rpotts%netscape.com
5dd5ac6a7e Changed URI loader to properly handle stream decoders (ie. mixed-replace) 2000-01-05 04:44:27 +00:00
rpotts%netscape.com
af4f9c2189 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
rpotts%netscape.com
38fc9e5e0f Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
rpotts%netscape.com
644d8e02cb DocLoader reorg...Removed the implementations of LoadDocument(...), LoadOpenedDocument(...) and the nsDocumentBindInfo. 1999-12-28 23:22:26 +00:00
rpotts%netscape.com
4d0ab7f287 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
2331eb43cb 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
68baca2b6f 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
938c7ea840 back out last change temporarily until we can fix leak 1999-12-17 04:05:53 +00:00
morse%netscape.com
532296dc8f Implement reject-foreign-cookies pref, bug 13655, a=chofmann, r=neeti nsDocLoader.cpp 1999-12-17 02:44:22 +00:00
danm%netscape.com
6ad070506f 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
6e38a72544 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
aa86b996e5 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
6af4802e75 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
9e871b728c fix leak of document bind info when uri loading is turned on. 1999-12-02 09:37:36 +00:00
mscott%netscape.com
a35676baf1 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
6a9f99b938 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
1f400f3b8e 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
550949370d 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
2db26922a6 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
fe78631dc5 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
ba58eb014a Fix warning. 1999-11-29 21:06:49 +00:00
mscott%netscape.com
e7db7b695c fix case sensitivity of include file 1999-11-29 21:03:41 +00:00
mscott%netscape.com
debf580a73 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
5c41a093ed 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
2f9c200f1a 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