106 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
d795c711b3 more nsCOMArray goodness -- uriloader, this time. Bug 183656, r=timeless,
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@135081 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:15:19 +00:00
timeless%mozdev.org
f03fa70722 Bug 183623 malformed for loop results in infinite loop in [@ nsURILoader::DispatchContent]
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@134854 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 21:44:28 +00:00
bzbarsky%mit.edu
a90238e37d Any disposition that's not "inline" should be treated as "attachment".
Bug 172003, r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@133765 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 21:17:40 +00:00
scc%mozilla.org
a911ffae5e bug #167722, patch by Donnie Cranford, r=gisburn, sr=scc; ports bustage,
must include "nsReadableUtils.h"


git-svn-id: svn://10.0.0.236/trunk@130563 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 01:30:04 +00:00
rpotts%netscape.com
3a57250c07 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail...
git-svn-id: svn://10.0.0.236/trunk@130365 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 19:53:43 +00:00
bzbarsky%mit.edu
ccde92f9ab Honor content-disposition: attachment even when it's set on content we
can handle internally. Bug 98360, r=law,rpotts, sr=darin. Correct
whitespace this time.


git-svn-id: svn://10.0.0.236/trunk@128739 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:00:22 +00:00
bzbarsky%mit.edu
dd584a1b1c doh. Wrong patch version (-w). backing it out and fixing the whitespace...
git-svn-id: svn://10.0.0.236/trunk@128732 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu
d6efaf6bdf Honor content-disposition: attachment even when it's set on content we
can handle internally.  Bug 98360, r=law,rpotts, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128731 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:46:25 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bzbarsky%mit.edu
811129713e Make it possible to save parts of multipart streams. Bug 117958, patch
by rpotts@netscape.com, r=bzbarsky, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116078 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:57:55 +00:00
rpotts%netscape.com
d3d1f630c6 Backing out the patch for bug #120113. To clear smoketest blocker...
git-svn-id: svn://10.0.0.236/trunk@112348 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 19:01:43 +00:00
rpotts%netscape.com
03c727b10a bugscape #11602. Embedding clients were unable to render data if no content-type was available... This is a temporary patch that will be replaced with a correct fix soon...
git-svn-id: svn://10.0.0.236/trunk@112150 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 02:41:05 +00:00
kaie%netscape.com
79b0d6b360 b=109777 Make sure certificate downloading works immediately
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109281 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:07:13 +00:00
rpotts%netscape.com
168c3705c6 bug #106558 (r=darin) again! make sure that all initial stream errors prevent the creation of a content viewer!
git-svn-id: svn://10.0.0.236/trunk@107950 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-13 07:47:22 +00:00
blizzard%redhat.com
e31fa995ed back out rpotts' checkin for bug #106558 since it caused blocker bug #108869. r=mscott
git-svn-id: svn://10.0.0.236/trunk@107614 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 19:56:27 +00:00
rpotts%netscape.com
784b2dd57b bug #106558 (r=darin@netscape.com, sr=mscott@netscape.com) Do not call a consumers OnStartRequest() if an error has already occurred...
git-svn-id: svn://10.0.0.236/trunk@107566 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:50:35 +00:00
rpotts%netscape.com
9c186d4664 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface...
git-svn-id: svn://10.0.0.236/trunk@106446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:52:39 +00:00
jaggernaut%netscape.com
ab31de16ae Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106241 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:49:28 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
blizzard%redhat.com
64c08dd915 Fix bug #98600. Handle the return of NS_ERROR_NO_CONTENT in the URI loader. mailto: urls shouldn't assert now. r=rpotts, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@102580 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 04:58:59 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
rpotts%netscape.com
52ded30b9f bug #96029 (r=valeski, sr=mscott) Loading cnn.com caused the sav-as dialog to appear...
git-svn-id: svn://10.0.0.236/trunk@101491 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 06:26:59 +00:00
javi%netscape.com
24184d0c7e Fix for Bug 84336, Checking in for Kai Engert
r=bbaetz, sr=mscot

Check return value from GetResponseStatus so that if a lower layer
failed we don't deliver a blank page.


git-svn-id: svn://10.0.0.236/trunk@100121 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 22:52:42 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
rpotts%netscape.com
c63ee7acf7 bug #87370 (r=dougt sr=mscott). Allow OnStopRequest to be called multiple times (more multipart content) and make sure that OnStopRequest is called even if the channel load fails...
git-svn-id: svn://10.0.0.236/trunk@98238 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 03:09:59 +00:00
dougt%netscape.com
f3017b86b9 Fixes 87370. This allows multiple onStopRequest. r=harishd@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@97991 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 22:58:18 +00:00
rpotts%netscape.com
9c40a95650 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
git-svn-id: svn://10.0.0.236/trunk@94842 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 02:16:27 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
law%netscape.com
edd6b3b03b Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@93843 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 21:24:36 +00:00
rpotts%netscape.com
67ab2e854f Reverting to rev 1.72
git-svn-id: svn://10.0.0.236/trunk@93314 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 22:17:30 +00:00
rpotts%netscape.com
e8ce898932 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski)
git-svn-id: svn://10.0.0.236/trunk@93297 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:05:52 +00:00
darin%netscape.com
afd4500f54 Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)


git-svn-id: svn://10.0.0.236/trunk@92271 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 02:02:19 +00:00
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