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

205 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com d6a55e5b45 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly... 2000-05-07 02:01:10 +00:00
mscott%netscape.com 2b7f09c1b0 add thread safey addref and release macros to docloader. 2000-05-04 21:34:50 +00:00
pavlov%netscape.com a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
mscott%netscape.com 96bcbcb394 need to fake a onprogress change for the parent
docloader...Fix viewer crash by returning aChannel instead of the
doc channel.
2000-04-25 01:45:37 +00:00
mscott%netscape.com a9b0a90d18 Bug #33156 --> implment onChildStatusChanged AND progress notifications for the doc loader
through the web progress interfaces. In order to implement progress, the doc loader now implements
nsIProgressEventSink and receives events directly from the channels.
2000-04-22 23:16:31 +00:00
mscott%netscape.com 9671270568 Bug #36221 --> throbber never stops when loading a frameset doc.
I was signaling the stop notification via a OnchildStatus in this scenario. We should always signal the start
and stop of documents as a status change even if a child is originating the change.
2000-04-18 21:39:09 +00:00
mscott%netscape.com 59ef60bcc9 Pass in the right channel into the web progress listener. 2000-04-14 03:28:23 +00:00
tbogard%aol.net 3cbce7298c Changed the Status flags to be transition flags rather than flat current state. This makes it easier to implement a listener. Otherwise you are forced to cache the last status and then determine transitions based on the deltas. 2000-04-04 02:45:32 +00:00
mscott%netscape.com c075035b09 Bug #34321,34350 --> be sure to set the web progress listener on the doc loader
before every load.
r=travis
2000-04-03 22:41:26 +00:00
mscott%netscape.com ccd7510b99 Bug #33156 --> the doc loader now implements nsIWebProgress and makes basic notifications to a registered
nsIWebProgressListener.

Right now, the only methods that are hooked up are signaling when the doc loader is busy loading a document and
when it is done loading a document.
2000-04-03 02:26:05 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
mscott%netscape.com f6d844d6cb Bug #28776,28569 --> add method for clearing out the parent doc loader
now that we don't leak the global doc loader, there are times when it gets destroyed b4 it's children during
the shutdown process.
r=sspitzer
2000-03-24 05:45:31 +00:00
ftang%netscape.com 8e1d13ceca change the interface and pass nsISupport* for document instead of PRInt32 so we won't drop
data on 64-bits machine. r=harishd
2000-03-23 00:53:53 +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
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 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
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
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 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 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
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 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 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 add180df18 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 8026dca974 bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
mscott%netscape.com 48c40aade9 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 442edcfdf4 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
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net 0e82732097 Changed nsDocLoader to get Container by asking nsIWebShell rather than nsIContentViewerContainer. 1999-11-16 01:03:57 +00:00
tbogard%aol.net 2611ac719c 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 c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
bienvenu%netscape.com 7a53af86e4 add accessor for load group on doc loader r=rpotts 1999-10-27 04:44:42 +00:00
rpotts%netscape.com 08c8e88004 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:42:55 +00:00
gagan%netscape.com 19e35c44ca Removed an unneccesary include statement. No bug number. 1999-10-13 10:28:10 +00:00
rpotts%netscape.com 8bd067892e Removed dead code inside of #if 0 blocks... 1999-10-06 21:43:21 +00:00
warren%netscape.com 8603974025 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 dd815430d4 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