pavlov%netscape.com
4af9c6adc5
string api changes r=scc
...
git-svn-id: svn://10.0.0.236/trunk@67088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:40:45 +00:00
mscott%netscape.com
eff72069e6
need to fake a onprogress change for the parent
...
docloader...Fix viewer crash by returning aChannel instead of the
doc channel.
git-svn-id: svn://10.0.0.236/trunk@67026 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:45:37 +00:00
tbogard%aol.net
0c0a490183
Added new flag for a timed out net connection.
...
git-svn-id: svn://10.0.0.236/trunk@66962 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:03:49 +00:00
mscott%netscape.com
0c02c5b5b3
help support the doc loader using the web progress listener.
...
git-svn-id: svn://10.0.0.236/trunk@66881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:17:11 +00:00
mscott%netscape.com
2693ece9ce
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.
git-svn-id: svn://10.0.0.236/trunk@66879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:16:31 +00:00
warren%netscape.com
c22d12ae9b
Bug 34217. Making js protocol not clear window when it returns no result.
...
git-svn-id: svn://10.0.0.236/trunk@66661 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:18:15 +00:00
mscott%netscape.com
6b14d19867
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.
git-svn-id: svn://10.0.0.236/trunk@66312 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:39:09 +00:00
mscott%netscape.com
cbd589f16e
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.
git-svn-id: svn://10.0.0.236/trunk@66301 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 20:41:38 +00:00
mscott%netscape.com
c776f5aa61
Pass in the right channel into the web progress listener.
...
git-svn-id: svn://10.0.0.236/trunk@65943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:28:23 +00:00
tbogard%aol.net
d135c517d8
Removed the viewSource member and the GetStringForCommand as it is no longer used.
...
git-svn-id: svn://10.0.0.236/trunk@65627 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:37 +00:00
tbogard%aol.net
213b98cae5
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.
...
git-svn-id: svn://10.0.0.236/trunk@65129 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:45:32 +00:00
mscott%netscape.com
3dca74d3bf
Bug #34321,34350 --> be sure to set the web progress listener on the doc loader
...
before every load.
r=travis
git-svn-id: svn://10.0.0.236/trunk@65062 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:41:26 +00:00
mscott%netscape.com
03e4b44c53
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.
git-svn-id: svn://10.0.0.236/trunk@64991 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:26:05 +00:00
scc%netscape.com
5c300ab8b2
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:15:46 +00:00
valeski%netscape.com
a2c2b14947
29858. special case a */* content type returned from the server. we want to treat it as unknown and ask the user what to do.
...
git-svn-id: svn://10.0.0.236/trunk@64618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:24:07 +00:00
jim_nance%yahoo.com
b1ccfbf2cb
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
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
tbogard%aol.net
5fdaece541
Updated the documentation to clearly state the parameters of OnChildProgressChange.
...
git-svn-id: svn://10.0.0.236/trunk@64481 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:14:59 +00:00
warren%netscape.com
9fa657f1cd
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.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
scc%netscape.com
3f67e90cfa
small changes to clients of string converting APIs
...
git-svn-id: svn://10.0.0.236/trunk@64156 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:05:46 +00:00
tbogard%aol.net
5bda0c3c44
Removed the cookie from AddProgressListener and RemoveProgressListener because frankly that parameter was dumb. :)
...
git-svn-id: svn://10.0.0.236/trunk@64145 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:51:38 +00:00
tbogard%aol.net
fd0967d82d
Added a new method onLocationChange that is called when the location of the watched window changes.
...
git-svn-id: svn://10.0.0.236/trunk@64083 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:00:04 +00:00
mscott%netscape.com
bb5fc949ce
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
git-svn-id: svn://10.0.0.236/trunk@63998 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:45:31 +00:00
tbogard%aol.net
6a0120def8
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.
...
git-svn-id: svn://10.0.0.236/trunk@63947 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:23:40 +00:00
ftang%netscape.com
18b8424048
change the interface and pass nsISupport* for document instead of PRInt32 so we won't drop
...
data on 64-bits machine. r=harishd
git-svn-id: svn://10.0.0.236/trunk@63800 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:53:53 +00:00
tbogard%aol.net
c2a00e2a9b
HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
...
git-svn-id: svn://10.0.0.236/trunk@62599 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:24:29 +00:00
mscott%netscape.com
283d1b57b0
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
git-svn-id: svn://10.0.0.236/trunk@62463 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:17:40 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
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
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
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
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
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