275 Commits

Author SHA1 Message Date
tbogard%aol.net
1c1c693a21 Adding the new webProgress interfaces to the build. a=jevering.
git-svn-id: svn://10.0.0.236/trunk@62023 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 03:03:32 +00:00
tbogard%aol.net
54ed0b35a1 First cut at new webProgress interfaces. Not yet connected to the build.
git-svn-id: svn://10.0.0.236/trunk@62019 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 02:24:57 +00:00
tbogard%aol.net
ecdc49bc84 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
git-svn-id: svn://10.0.0.236/trunk@61895 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:33:23 +00:00
mscott%netscape.com
c975a0c98b 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


git-svn-id: svn://10.0.0.236/trunk@61345 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 02:05:52 +00:00
mscott%netscape.com
be4adf2441 Bug #17468 --> if you pass a window target of _new, we weren't creating a new window. We do now.
r=travis


git-svn-id: svn://10.0.0.236/trunk@61097 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:10:42 +00:00
mscott%netscape.com
c2447aa875 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).


git-svn-id: svn://10.0.0.236/trunk@60791 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:04:34 +00:00
tbogard%aol.net
235d835475 Added a Stop method to allow stopping a load that has been requested. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60727 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 10:12:55 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
mscott%netscape.com
5099d9d1c1 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


git-svn-id: svn://10.0.0.236/trunk@59758 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 08:43:34 +00:00
neeti%netscape.com
1f4ed0f0e7 Returning the correct error value instead of NS_OK, from OnStartRequest() and OnStopRequest().r=rpotts
git-svn-id: svn://10.0.0.236/trunk@59714 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 01:54:47 +00:00
brade%netscape.com
903ef4f864 fix access paths for move to CW5 (bug #25949)
git-svn-id: svn://10.0.0.236/trunk@59549 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:45:39 +00:00
mscott%netscape.com
df1bc4c68c fix solaris breakage..include nsIChannel.h when using a nsCOMPtr. =)
git-svn-id: svn://10.0.0.236/trunk@59185 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 08:32:03 +00:00
mscott%netscape.com
5f3f2ec2bc export nsIDocumentLoader.idl nsIDocumentLoaderObserver.idl
git-svn-id: svn://10.0.0.236/trunk@59176 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:13:58 +00:00
mscott%netscape.com
79cb644563 build nsDocLoader
git-svn-id: svn://10.0.0.236/trunk@59175 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:13:39 +00:00
mscott%netscape.com
32a5b8396c build nsdocLoader
git-svn-id: svn://10.0.0.236/trunk@59160 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:03:01 +00:00
mscott%netscape.com
73f723ed77 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


git-svn-id: svn://10.0.0.236/trunk@59159 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:02:36 +00:00
mscott%netscape.com
19fd67c1b6 (NOT Part of the build yet!!)
Refacting of doc loader into the uri loader
r=travis


git-svn-id: svn://10.0.0.236/trunk@59154 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:41:04 +00:00
mscott%netscape.com
261feca219 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


git-svn-id: svn://10.0.0.236/trunk@59152 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:26:29 +00:00
valeski%netscape.com
76d72ee785 r=rhp. Further extension of the nsIMIMEService.
git-svn-id: svn://10.0.0.236/trunk@58510 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:40:16 +00:00
valeski%netscape.com
a83ae5bf68 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.
git-svn-id: svn://10.0.0.236/trunk@58478 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 15:41:03 +00:00
norris%netscape.com
e4653042f2 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


git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
mscott%netscape.com
16c7a7e3b1 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


git-svn-id: svn://10.0.0.236/trunk@58039 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:21:25 +00:00
mscott%netscape.com
30c9c2ebf9 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.


git-svn-id: svn://10.0.0.236/trunk@58024 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 19:56:31 +00:00
mscott%netscape.com
0fbaa29e8d 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.


git-svn-id: svn://10.0.0.236/trunk@58022 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 19:55:27 +00:00
rpotts%netscape.com
8457af366d bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs
git-svn-id: svn://10.0.0.236/trunk@57915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:12:54 +00:00
mscott%netscape.com
17723e9ea8 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.


git-svn-id: svn://10.0.0.236/trunk@57245 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 23:45:36 +00:00
rpotts%netscape.com
3738c0f4ad Changed URI loader to properly handle stream decoders (ie. mixed-replace)
git-svn-id: svn://10.0.0.236/trunk@56817 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 04:44:27 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
rpotts%netscape.com
6c8a79d72b Removed obsolete method nsIDocumentLoader::LoadOpenedDocument.
git-svn-id: svn://10.0.0.236/trunk@56596 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 05:10:21 +00:00
rpotts%netscape.com
7edf0d4069 DocLoader reorg...Removed the implementations of LoadDocument(...), LoadOpenedDocument(...) and the nsDocumentBindInfo.
git-svn-id: svn://10.0.0.236/trunk@56585 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 23:22:26 +00:00
rpotts%netscape.com
63244bbcfb tweaked the way stream converters are applied to make multipart/x-mixed-replace work without the DocLoader...
git-svn-id: svn://10.0.0.236/trunk@56568 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 09:20:05 +00:00
rpotts%netscape.com
371f386d8d 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.
git-svn-id: svn://10.0.0.236/trunk@56566 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 09:16:15 +00:00
morse%netscape.com
3bd5c1ab59 needed for foreign-cookie pref, bug 13655, coded by rpotts, r=morse, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56187 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 05:16:18 +00:00
morse%netscape.com
2212bec5c1 back out last change temporarily until we can fix leak
git-svn-id: svn://10.0.0.236/trunk@56136 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 04:05:53 +00:00
morse%netscape.com
7f4753e6d3 Implement reject-foreign-cookies pref, bug 13655, a=chofmann, r=neeti nsDocLoader.cpp
git-svn-id: svn://10.0.0.236/trunk@56127 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 02:44:22 +00:00
danm%netscape.com
7fc2e6b04a added deathgrip to survive window destruction during onload handler. part of fix for bug 19302. r:hyatt a:chofmann
git-svn-id: svn://10.0.0.236/trunk@56015 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 02:18:52 +00:00
mscott%netscape.com
15b1fec8af 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.


git-svn-id: svn://10.0.0.236/trunk@55555 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:14:40 +00:00
mscott%netscape.com
8d56484c5e Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
style version.
r=travis


git-svn-id: svn://10.0.0.236/trunk@55452 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:32:06 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
mscott%netscape.com
e699b3af5a fix leak of document bind info when uri loading is turned on.
git-svn-id: svn://10.0.0.236/trunk@55058 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:37:36 +00:00
mscott%netscape.com
ead0de0810 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


git-svn-id: svn://10.0.0.236/trunk@55042 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:00:17 +00:00
mscott%netscape.com
9a83fb8aac 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


git-svn-id: svn://10.0.0.236/trunk@55041 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:59:39 +00:00
mscott%netscape.com
c9ce94ef8e 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.


git-svn-id: svn://10.0.0.236/trunk@54854 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:21:51 +00:00
mscott%netscape.com
c45d366abf 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.


git-svn-id: svn://10.0.0.236/trunk@54775 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:15:35 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
mscott%netscape.com
80b21e9dce 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.


git-svn-id: svn://10.0.0.236/trunk@54634 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:10:17 +00:00
mscott%netscape.com
2060747c79 Fix warning.
git-svn-id: svn://10.0.0.236/trunk@54583 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:06:49 +00:00
mscott%netscape.com
7e5647a068 fix case sensitivity of include file
git-svn-id: svn://10.0.0.236/trunk@54582 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:03:41 +00:00
mscott%netscape.com
4628698254 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


git-svn-id: svn://10.0.0.236/trunk@54579 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:01:15 +00:00
mscott%netscape.com
b6e7fb0d50 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


git-svn-id: svn://10.0.0.236/trunk@54578 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:00:52 +00:00