pollmann%netscape.com
01e6f26d4b
Bug 32898: Fix crash when targetting new window. r=rpotts
2000-05-11 01:33:25 +00:00
ruslan%netscape.com
3ed8b3dc94
Prevent infinite loop in OnStop in case when Cancel is issued
2000-05-10 02:05:54 +00:00
rpotts%netscape.com
cc7abfb7ba
Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly...
2000-05-07 02:01:10 +00:00
mscott%netscape.com
38900201f3
add thread safey addref and release macros to docloader.
2000-05-04 21:34:50 +00:00
davidm%netscape.com
c05d968c8d
First Checked In.
2000-05-03 02:51:51 +00:00
mccabe%netscape.com
b46e6e7a8c
change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413
2000-04-28 10:51:52 +00:00
pavlov%netscape.com
03d4675682
string api changes r=scc
2000-04-25 05:40:45 +00:00
mscott%netscape.com
3fa3bc107a
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
tbogard%aol.net
8ad0294517
Added new flag for a timed out net connection.
2000-04-24 05:03:49 +00:00
cls%seawood.org
33edc21c9c
General cleanup of the shared library rules.
...
Quick fix for bug #36844 .
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk. Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
mscott%netscape.com
d80491ff3b
help support the doc loader using the web progress listener.
2000-04-22 23:17:11 +00:00
mscott%netscape.com
bb5271913c
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
warren%netscape.com
8929701aaa
Bug 34217. Making js protocol not clear window when it returns no result.
2000-04-21 05:18:15 +00:00
mccabe%netscape.com
aa82cfca15
Ignore some generated Makefiles
2000-04-20 01:08:17 +00:00
davidm%netscape.com
699af3fa09
Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list
2000-04-19 04:45:30 +00:00
mscott%netscape.com
bc0039a474
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
5180b02b91
Bug #36218 --> fix ftp! We were unable to open the unknown content handler because we couldn't get
...
the dom window from the original docshell. I changed it to make this possible.
2000-04-18 20:41:38 +00:00
tonyr%fbdesigns.com
5479b98dec
Got rid of the shared library reference. No longer needed.
2000-04-16 15:47:35 +00:00
cls%seawood.org
6bb7a2691f
The extprotocol subproject does not actually build under unix. A bug in the way we handle SHARED_LIBRARY_LIBS is the only reason the tinderboxes didn't go red with the previous checkin.
2000-04-16 08:42:25 +00:00
tonyr%fbdesigns.com
238c161a97
Added the extprotocol subproject
2000-04-16 00:08:40 +00:00
tonyr%fbdesigns.com
e444e53af7
Added the extprotocol subdir
2000-04-15 18:36:11 +00:00
tonyr%fbdesigns.com
a142e4be22
Fix up the unix makefiles so it actually builds
2000-04-15 16:51:51 +00:00
scc%netscape.com
e097771f06
making string conversions explicit
2000-04-15 07:05:34 +00:00
tonyr%fbdesigns.com
b438de70ba
Updated makefiles to almost work.
2000-04-14 14:37:23 +00:00
mscott%netscape.com
2cd0333d85
Pass in the right channel into the web progress listener.
2000-04-14 03:28:23 +00:00
tonyr%fbdesigns.com
b5ac76fa4c
First Checked In.
2000-04-14 03:04:08 +00:00
tbogard%aol.net
33b3f6e837
Removed the viewSource member and the GetStringForCommand as it is no longer used.
2000-04-11 23:52:37 +00:00
davidm%netscape.com
8b9369403e
31054 'TEXT' file which contains non ASCII does not open correctly
2000-04-05 03:03:50 +00:00
cls%seawood.org
372343f97f
Fix for EXTRA_DSO_LIBS in rules.mk
...
OS/2 Makefile.in changes (Patch 4a). Bug #34106
2000-04-04 07:37:50 +00:00
cls%seawood.org
57978e5c23
Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
2000-04-04 04:46:38 +00:00
tbogard%aol.net
8939dda080
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
d7d27f9f48
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
f81f9e1d31
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
scc%netscape.com
2986371863
making string conversions explicit
2000-04-02 09:15:46 +00:00
scc%netscape.com
66f25aff37
making string conversions explicit
2000-04-02 08:34:55 +00:00
valeski%netscape.com
e258827764
29858. special case a */* content type returned from the server. we want to treat it as unknown and ask the user what to do.
2000-03-30 22:24:07 +00:00
jim_nance%yahoo.com
005e33f06e
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
tbogard%aol.net
3841cb4ac4
Updated the documentation to clearly state the parameters of OnChildProgressChange.
2000-03-29 10:14:59 +00:00
warren%netscape.com
d60b12b153
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
scc%netscape.com
ee0efef2a2
small changes to clients of string converting APIs
2000-03-26 08:05:46 +00:00
rickg%netscape.com
4fa6b38b7d
removing references to nsString internals
2000-03-26 07:55:46 +00:00
tbogard%aol.net
4e7bd3d0c3
Removed the cookie from AddProgressListener and RemoveProgressListener because frankly that parameter was dumb. :)
2000-03-26 04:51:38 +00:00
tbogard%aol.net
6a3b8a83b9
Added a new method onLocationChange that is called when the location of the watched window changes.
2000-03-25 01:00:04 +00:00
mscott%netscape.com
59ddfad16f
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
tbogard%aol.net
00671fb6d3
Added a new method to nsIURIContentListener to allow the windowContext listener to get a crack at cancelling a new load that is about to occur.
2000-03-24 00:23:40 +00:00
ftang%netscape.com
979a0eb034
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
danm%netscape.com
560a990b17
adding webProgress interfaces for Travis
2000-03-13 00:24:28 +00:00
tbogard%aol.net
a340f07ca8
HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
2000-03-11 01:24:29 +00:00
mscott%netscape.com
1bb75e24b4
Bug #30553 --> new windows with window targets were getting the target associated with the
...
chrome window instead of with the content window. And the window sizes were coming from the
hidden window instead of the parent window the url originated from.
r=travis
a=jevering
2000-03-09 08:17:40 +00:00
warren%netscape.com
7e37f4f478
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
tbogard%aol.net
03a312018b
Adding the new webProgress interfaces to the build. a=jevering.
2000-03-02 03:03:32 +00:00
tbogard%aol.net
726dfc094b
First cut at new webProgress interfaces. Not yet connected to the build.
2000-03-02 02:24:57 +00:00
tbogard%aol.net
115cf8b371
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
1eab9b52ea
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
0e2e8de464
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
12a6084748
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
14821f13a1
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
5e041e830f
Pro5 update
2000-02-07 23:06:04 +00:00
mscott%netscape.com
d468643d79
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
ca2851f847
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
b174bf571d
fix access paths for move to CW5 (bug #25949 )
2000-02-02 22:45:39 +00:00
mscott%netscape.com
372cc28a15
fix solaris breakage..include nsIChannel.h when using a nsCOMPtr. =)
2000-01-29 08:32:03 +00:00
mscott%netscape.com
88bacad00a
export nsIDocumentLoader.idl nsIDocumentLoaderObserver.idl
2000-01-29 06:13:58 +00:00
mscott%netscape.com
63129f34e6
build nsDocLoader
2000-01-29 06:13:39 +00:00
mscott%netscape.com
29c6f0145d
build nsdocLoader
2000-01-29 06:03:01 +00:00
mscott%netscape.com
6e7a275b77
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
7dd9082279
(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
289eba7e8b
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
1c585fb146
r=rhp. Further extension of the nsIMIMEService.
2000-01-25 02:40:16 +00:00
valeski%netscape.com
57c6e1294b
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
e753eaa792
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
974bf03258
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
466ba23665
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
38a68c5995
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
b410e59d5f
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
42b21237d8
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
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
dp%netscape.com
3c1dbdbe0d
Convering to GenericModule.
1999-11-20 07:28:11 +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
mscott%netscape.com
6c789594a7
make this library 8.3 on windows.
...
(renamed to urildr)
1999-11-18 06:02:00 +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
mscott%netscape.com
16f48bb1cc
First Checked In.
1999-11-17 22:48:42 +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
e99e09958b
(not part of the build)
...
remove obsolete file
1999-11-17 01:46:08 +00:00
mscott%netscape.com
185589817e
(not part of the build)
...
exorcise nsURILoaderCIDs.h
1999-11-17 01:45:25 +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
mscott%netscape.com
7708a448e6
I need to add this bogus file to uriloader\macbuild so my mac will pull the directory...
...
turns out it won't pull empty directories....
1999-11-16 21:16:13 +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
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +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
78817dde5c
(not part of the seamonkey build!!)
...
no longer need nsURILoaderCIDs.h
1999-11-03 03:55:39 +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
fc6f3d118b
Add cvsignore file for uriloader\build
1999-11-02 19:21:49 +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
27c12573bc
this directory is not part of the build!!!
...
add .cvsignore file
1999-11-02 19:18:04 +00:00
mscott%netscape.com
59d4a97719
this directory isn't part of the build!!!!
...
add a Makefile for uriloader\build
1999-11-02 19:09:50 +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
4b86b103f6
(not part of the seamonkey build)
...
top level Makefile for uriloader
1999-11-01 19:56:25 +00:00
mscott%netscape.com
6fc27c2696
not part of the seamonkey build
...
add makefile for the uriloader\build directory.
1999-11-01 19:52:49 +00:00