257 Commits

Author SHA1 Message Date
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
mscott%netscape.com
c8e236c42b 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


git-svn-id: svn://10.0.0.236/trunk@54577 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:00:14 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
mscott%netscape.com
96db249ec3 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.


git-svn-id: svn://10.0.0.236/trunk@54265 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 07:14:45 +00:00
rpotts%netscape.com
bf7832c37a bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@54125 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 05:46:03 +00:00
dp%netscape.com
dfd39434e3 Convering to GenericModule.
git-svn-id: svn://10.0.0.236/trunk@54050 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:11 +00:00
mscott%netscape.com
ae45afeab4 remove two compile warnings to get me off the warnings list...
git-svn-id: svn://10.0.0.236/trunk@53959 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 03:04:25 +00:00
mcafee%netscape.com
e6803347f5 Removing const to match IDL spec, fixes Solaris/CC. r=mscott
git-svn-id: svn://10.0.0.236/trunk@53904 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:47:57 +00:00
warren%netscape.com
cbcd671c5d Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:36:41 +00:00
mscott%netscape.com
ca68a03062 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


git-svn-id: svn://10.0.0.236/trunk@53853 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:07:33 +00:00
mscott%netscape.com
c1237abda6 make this library 8.3 on windows.
(renamed to urildr)


git-svn-id: svn://10.0.0.236/trunk@53833 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 06:02:00 +00:00
valeski%netscape.com
0f008d3a79 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 :/
git-svn-id: svn://10.0.0.236/trunk@53803 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:19:13 +00:00
mscott%netscape.com
67e5e83714 (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).


git-svn-id: svn://10.0.0.236/trunk@53798 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 01:02:31 +00:00
mscott%netscape.com
4faf756f66 (not part of the seamonkey build)
CanHandleContent now has an out parameter for desired content type.


git-svn-id: svn://10.0.0.236/trunk@53797 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 01:00:56 +00:00
mscott%netscape.com
31b10b655b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@53790 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 22:48:42 +00:00
warren%netscape.com
7a9dd28d13 Fix for bustage due to channel retargeting changes.
git-svn-id: svn://10.0.0.236/trunk@53766 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 09:17:04 +00:00
warren%netscape.com
d8627fe912 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
mscott%netscape.com
28fcdb480a (not part of the build)
remove obsolete file


git-svn-id: svn://10.0.0.236/trunk@53727 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:46:08 +00:00
mscott%netscape.com
59166f5149 (not part of the build)
exorcise nsURILoaderCIDs.h


git-svn-id: svn://10.0.0.236/trunk@53726 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:45:25 +00:00