jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu
900c6b8462
Work around misconfiguration in default Apache installs that makes it claim all
...
sorts of stuff as text/plain. Bug 220807, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@151013 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 03:56:02 +00:00
cbiesinger%web.de
4d13cc97b4
bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
...
r=bzbarsky sr=darin
git-svn-id: svn://10.0.0.236/trunk@150988 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 20:23:46 +00:00
bzbarsky%mit.edu
a152f4eba8
Add NSPR logging to content dispatch (not forced on in release builds; the
...
module is "URILoader"). Bug 223694, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@148500 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:03:41 +00:00
bzbarsky%mit.edu
a527291238
Forgot to make these changes per biesi's review. Bug 171025.
...
git-svn-id: svn://10.0.0.236/trunk@147787 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu
0e716d3a6c
Move all URI dispatch code into nsDocumentOpenInfo. This lets us try other
...
content listeners if the first one we find fails, as well as letting us
gracefully handle failures to get content converters. Bug 171025, r=biesi,
sr=darin
git-svn-id: svn://10.0.0.236/trunk@147784 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 04:00:01 +00:00
bryner%brianryner.com
ef58713352
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146625 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:18:24 +00:00
cbiesinger%web.de
958e77488b
188058 r=bzbarsky sr=darin When saving a .zip file "as...," Moz appends a .x after the .zip extension.
...
git-svn-id: svn://10.0.0.236/trunk@144345 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 14:16:06 +00:00
jshin%mailaps.org
d31acaf3a2
bug 209513 : be generous to broken servers emiitng 'filename=...' without
...
specifying the dispositin type spec in Content-Disposition header.
(r/sr=bzbarsky)
git-svn-id: svn://10.0.0.236/trunk@143850 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 09:07:58 +00:00
jshin%mailaps.org
281909a0e0
wrapping up bug 162765 : r=cbiesinger, sr=bz : Make the disposition method
...
comparison use EqualsIgnoreCase without the 2nd argument (length) when
parsing Content-Disposition header in http
git-svn-id: svn://10.0.0.236/trunk@143689 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 21:46:07 +00:00
jshin%mailaps.org
ffbdd48af4
bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
...
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@143647 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 21:57:49 +00:00
bzbarsky%mit.edu
b8e8019889
Clean up nsURILoader.cpp some. Better comments, more understandable code in
...
nsDocumentOpenInfo::DispatchContent, less confusing use of RetargetOutput
(which is now ConvertData). Bug 201618, r=darin, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@141054 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 03:36:53 +00:00
bzbarsky%mit.edu
1ffea9f4ef
Removing unused openURIVia function. Bug 200223, r+sr=sspitzer.
...
git-svn-id: svn://10.0.0.236/trunk@140769 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 20:33:38 +00:00
suresh%netscape.com
d6dfe866a8
bug 49172 - Browser fails to respond correctly to a 205 (reset) status. r-dougt, sr-darin.
...
git-svn-id: svn://10.0.0.236/trunk@139802 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 23:55:12 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
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