71 Commits

Author SHA1 Message Date
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
locka%iol.ie
cc8edeccc2 Updated GetTarget so windows are created if the named target cannot be found and for _new & _blank targets. b=72491, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@91179 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:56:02 +00:00
alecf%netscape.com
4ebe32a8dd fix for bug 73640 - make uri loader support "true" weak references so we can implement them from JavaScript
sr=mscott
r=jag


git-svn-id: svn://10.0.0.236/trunk@90665 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 18:09:03 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
dougt%netscape.com
175245e2de 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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
mscott%netscape.com
0771bb3280 Bug #67598 --> we no longer need to invoke the ucth dialog here.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86442 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:44:09 +00:00
locka%iol.ie
bb1c820b2e 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
git-svn-id: svn://10.0.0.236/trunk@86213 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:50:33 +00:00
pollmann%netscape.com
f75f6c4d49 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81659 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:35:25 +00:00
pollmann%netscape.com
c08a906df3 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts
git-svn-id: svn://10.0.0.236/trunk@81449 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 10:25:49 +00:00
mscott%netscape.com
02fd4611b5 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


git-svn-id: svn://10.0.0.236/trunk@80964 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:14:38 +00:00
mscott%netscape.com
e0e55dc33f Bug #47203 --> force more code to use the helper app dialog.
sr=alecf,rpotts


git-svn-id: svn://10.0.0.236/trunk@80334 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:53:52 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mscott%netscape.com
3ba51bf6e1 Fix unix breakge by using .get()
git-svn-id: svn://10.0.0.236/trunk@77954 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:07:57 +00:00
mscott%netscape.com
03028d636f Bug #47365 --> set the retargeting URL flag when we are retargeting to another window
r=radha


git-svn-id: svn://10.0.0.236/trunk@77943 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:28:37 +00:00
vidur%netscape.com
b10d4adc57 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
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
heikki%netscape.com
5ff983885a Fixed bug 41772, if XLink target was XML file it never opened it in new window. r=jst.
git-svn-id: svn://10.0.0.236/trunk@76016 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:18:49 +00:00
mscott%netscape.com
6f9957f6d8 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


git-svn-id: svn://10.0.0.236/trunk@73808 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 02:23:19 +00:00
dougt%netscape.com
d3d5fc8a04 Check for null. If a NS_EXTERNALHELPERAPPSERVICE_PROGID was not found,
crash would occur.


git-svn-id: svn://10.0.0.236/trunk@73330 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:43:17 +00:00
mscott%netscape.com
b5e2f56993 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


git-svn-id: svn://10.0.0.236/trunk@73029 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:43:28 +00:00
rpotts%netscape.com
406f61beb3 Reworked the nsIWebProgress interfaces and implementation...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
mscott%netscape.com
a8d1fa1f0e Bug #40116 --> check to see if the channel was canceled before
propogating calls to the content listener...
r=valeski


git-svn-id: svn://10.0.0.236/trunk@72410 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:21:04 +00:00
rpotts%netscape.com
d2142ef832 bug #29178. Do not show a blank document when a HTTP server returns a status 204 - No Content
git-svn-id: svn://10.0.0.236/trunk@70805 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:12:58 +00:00
pollmann%netscape.com
eaf09f080a Bug 32898: Fix crash when targetting new window. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@69131 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:33:25 +00:00
ruslan%netscape.com
c2bc395a0c Prevent infinite loop in OnStop in case when Cancel is issued
git-svn-id: svn://10.0.0.236/trunk@68969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:05:54 +00:00
rpotts%netscape.com
88299ce209 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly...
git-svn-id: svn://10.0.0.236/trunk@68565 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 02:01:10 +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
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
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
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
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
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
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
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
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
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
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