rpotts%netscape.com
f7d245cbec
bug #73244 (r=darin, sr=mscott). The DocLoader cannot assume that an nsIRequest is necessarily an nsIChannel...
2001-03-29 00:12:49 +00:00
alecf%netscape.com
7faaf5ce07
fix for bug 73640 - make uri loader support "true" weak references so we can implement them from JavaScript
...
sr=mscott
r=jag
2001-03-28 18:09:03 +00:00
valeski%netscape.com
c1098ac6ac
r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
2001-03-24 00:22:18 +00:00
alecf%netscape.com
ba4cbf83ce
no bug - just reworking nsIURIContentListener to be more easily implemented in JS - does not affect any C++ interface signatures
...
sr=mscott
2001-03-21 19:21:34 +00:00
timeless%mac.com
d44332bdf7
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
disttsc%bart.nl
744785129a
Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
2001-02-22 09:35:51 +00:00
dougt%netscape.com
eab041f43f
Relanding Necko Changes.
...
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
76fbedadc5
Back out dougt's channel changes
2001-02-12 03:14:23 +00:00
dougt%netscape.com
69415757ab
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
...
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
The full details of the change on written up in the netlib newsgroup.
r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
mscott%netscape.com
046815e46f
Bug #67598 --> we no longer need to invoke the ucth dialog here.
...
sr=sspitzer
2001-02-07 02:44:09 +00:00
locka%iol.ie
9db70cf0e6
Added code to create a new window for _blank, _new targets before URI loader tries to push content into it and fails. sr=mscott@netscape.com b=41241
2001-02-05 10:50:33 +00:00
valeski%netscape.com
eee4b1785e
r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners.
2001-01-31 21:02:08 +00:00
rpotts%netscape.com
c1ae871c79
bug #62955 - Dialog boxes are the wrong size.
2000-12-23 06:07:38 +00:00
mscott%netscape.com
1590b3bb12
Bug #59827 --> pass the redirect flag up via a OnStatechange if we get a redirect. Also set the is document
...
flag if the original channel matches mDocumentChannel.
sr=rpotts
2000-12-19 22:07:58 +00:00
rpotts%netscape.com
289298c3f5
bug #46866 . Added a read-only DOMWindow attribute to nsIWebProgress.
2000-12-14 23:26:35 +00:00
cls%seawood.org
8bd122b3d5
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
2000-11-20 07:16:06 +00:00
mscott%netscape.com
a82d2ce063
Bug #56938 --> add a method for retrieving the doc loader's
...
document channel.
r=sspitzer, sr=rpotts
2000-11-01 08:04:49 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
4e1ac5ce9d
Removed extra 0 arg
2000-10-27 23:21:30 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
mscott%netscape.com
e90a0debb8
Bug #56934 --> properly determine the status for on end document load. We used to
...
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer
2000-10-26 06:34:20 +00:00
pollmann%netscape.com
54e2b01df6
Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur
2000-10-24 04:35:25 +00:00
pollmann%netscape.com
87208694ab
Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts
2000-10-19 10:25:49 +00:00
mscott%netscape.com
daddb42477
Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
...
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type. This allows the uriloader to pass the correct load info
from the docshell that originates the load over to the docshell that actually
ends up loading the url.
r=radha, sr=rpotts
2000-10-11 23:14:38 +00:00
mscott%netscape.com
06d01e3ae1
Bug #47203 --> force more code to use the helper app dialog.
...
sr=alecf,rpotts
2000-10-04 06:53:52 +00:00
dougt%netscape.com
c3c864a472
+ Added OnSecurityChange() to nsIWebProgressListener interface.
...
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.
Fixes bug 46872. r=valeski/rpotts
2000-09-14 22:56:56 +00:00
rayw%netscape.com
6cc70ebd6c
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
mscott%netscape.com
71c9706151
Fix unix breakge by using .get()
2000-09-01 23:07:57 +00:00
mscott%netscape.com
566891d436
Bug #47365 --> set the retargeting URL flag when we are retargeting to another window
...
r=radha
2000-09-01 22:28:37 +00:00
mscott%netscape.com
19bab062a6
Bug #50427 --> comment out our OnRedirect implementation. It was causing nasty side effects
...
because we aren't told if the main document url is getting redirected or if a part (like an
image) is getting redirected. This caused the urlbar to get incorrectly updated.
r=sspitzer
2000-09-01 22:26:32 +00:00
vidur%netscape.com
4a41eee18d
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
2000-09-01 01:54:35 +00:00
locka%iol.ie
c52f68cce4
API changes for embedding. b=46847, r=dougt, a=valeski
2000-08-25 18:39:46 +00:00
mscott%netscape.com
044a5c69ef
Bug #27048 --> implement nsIHTTPEventSink
...
r=valeski
2000-08-25 01:32:40 +00:00
rpotts%netscape.com
485ab5e6ec
bug #39381 . The last channel in a document was not firing a request done notification - only a document done...
2000-08-24 00:08:15 +00:00
heikki%netscape.com
caf2b9c19a
Fixed bug 41772, if XLink target was XML file it never opened it in new window. r=jst.
2000-08-10 20:18:49 +00:00
warren%netscape.com
7ac7233df8
Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
2000-07-25 05:45:56 +00:00
valeski%netscape.com
15f12b146e
45723. r=rpotts. webshell-docshell consolodation changes.
2000-07-18 23:37:53 +00:00
mscott%netscape.com
a7f1423f02
Bug #41707 , #43652 --> JS urls aren't working. We need to check for the correct return value and don't propogate
...
the on start request in that case.
r=alecf
2000-07-07 02:23:19 +00:00
dougt%netscape.com
272cb0629a
Check for null. If a NS_EXTERNALHELPERAPPSERVICE_PROGID was not found,
...
crash would occur.
2000-06-27 21:43:17 +00:00
mscott%netscape.com
1e9f6530d8
Bug #38374 , 30157, 10802 --> turn on launching of helper applications to handle content types we don't know how to handle!!
...
turn on the ability to launch urls using OS default protocol handlers.
uri loader modifications to make open attachment possible.
r=sspitzer
2000-06-23 04:43:28 +00:00
rpotts%netscape.com
6053291afd
Fixed memofy leak of StdURLs introduced by the last checkin...
2000-06-20 05:14:42 +00:00
jdunn%netscape.com
d113a74b58
adding newline, required by HPUX
2000-06-19 13:03:52 +00:00
rpotts%netscape.com
49c54755fc
Reworked the nsIWebProgress interfaces and implementation...
2000-06-19 05:54:37 +00:00
mscott%netscape.com
dd5ce2dd58
Bug #40116 --> check to see if the channel was canceled before
...
propogating calls to the content listener...
r=valeski
2000-06-16 21:21:04 +00:00
rpotts%netscape.com
62822b5dda
bug #29178 . Do not show a blank document when a HTTP server returns a status 204 - No Content
2000-05-25 05:12:58 +00:00
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
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
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
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
mscott%netscape.com
2cd0333d85
Pass in the right channel into the web progress listener.
2000-04-14 03:28:23 +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
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
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
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
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
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
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
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
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