Граф коммитов

181 Коммитов

Автор SHA1 Сообщение Дата
jshin%mailaps.org da3ad9140c bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz 2004-11-07 02:22:55 +00:00
cbiesinger%web.de 281c8602e1 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
darin%meer.net bb70f70378 landing additional patch for bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-17 20:33:25 +00:00
cbiesinger%web.de 6263ab98d2 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2004-06-29 16:45:07 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
gerv%gerv.net f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
cbiesinger%web.de f028ea412d bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
cbiesinger%web.de 14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu 5351f884f1 Temporarily disable type-guessing for content-encoded text/plain content. Bug
233047, r=biesi, sr=darin, a=chofmann
2004-03-15 02:00:15 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu 6ccc20cdbe Work around misconfiguration in default Apache installs that makes it claim all
sorts of stuff as text/plain.  Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
cbiesinger%web.de 94dbdd84e4 bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
r=bzbarsky sr=darin
2004-01-07 20:23:46 +00:00
bzbarsky%mit.edu e85e912e39 Add NSPR logging to content dispatch (not forced on in release builds; the
module is "URILoader").  Bug 223694, r=biesi, sr=darin
2003-10-30 02:03:41 +00:00
bzbarsky%mit.edu 9d0aeeab9d Forgot to make these changes per biesi's review. Bug 171025. 2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu 9d4af46a60 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
2003-10-09 04:00:01 +00:00
bryner%brianryner.com 377bfd51dd Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:18:24 +00:00
cbiesinger%web.de c4641b8725 188058 r=bzbarsky sr=darin When saving a .zip file "as...," Moz appends a .x after the .zip extension. 2003-07-01 14:16:06 +00:00
jshin%mailaps.org bc9eb3ea37 bug 209513 : be generous to broken servers emiitng 'filename=...' without
specifying the dispositin type spec in Content-Disposition header.
(r/sr=bzbarsky)
2003-06-18 09:07:58 +00:00
jshin%mailaps.org c1c5164316 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
2003-06-13 21:46:07 +00:00
jshin%mailaps.org eb93104d96 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
2003-06-12 21:57:49 +00:00
bzbarsky%mit.edu ca44279106 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.
2003-04-12 03:36:53 +00:00
bzbarsky%mit.edu a4cf9a723d Removing unused openURIVia function. Bug 200223, r+sr=sspitzer. 2003-04-06 20:33:38 +00:00
suresh%netscape.com 0dd2d570e3 bug 49172 - Browser fails to respond correctly to a 205 (reset) status. r-dougt, sr-darin. 2003-03-19 23:55:12 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu 0a0c68ca0b more nsCOMArray goodness -- uriloader, this time. Bug 183656, r=timeless,
sr=rpotts
2002-12-11 00:15:19 +00:00
timeless%mozdev.org b2b5ce1025 Bug 183623 malformed for loop results in infinite loop in [@ nsURILoader::DispatchContent]
r=bz sr=darin a=asa
2002-12-05 21:44:28 +00:00
bzbarsky%mit.edu e3273e17d0 Any disposition that's not "inline" should be treated as "attachment".
Bug 172003, r=bbaetz, sr=rpotts
2002-11-13 21:17:40 +00:00
scc%mozilla.org 593c4835df bug #167722, patch by Donnie Cranford, r=gisburn, sr=scc; ports bustage,
must include "nsReadableUtils.h"
2002-09-27 01:30:04 +00:00
rpotts%netscape.com dc675a9675 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
bzbarsky%mit.edu 98dea7435c 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.
2002-09-03 22:00:22 +00:00
bzbarsky%mit.edu a8e1beb0d2 doh. Wrong patch version (-w). backing it out and fixing the whitespace... 2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu 371890dd60 Honor content-disposition: attachment even when it's set on content we
can handle internally.  Bug 98360, r=law,rpotts, sr=darin
2002-09-03 21:46:25 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
bzbarsky%mit.edu 17030cc1da Make it possible to save parts of multipart streams. Bug 117958, patch
by rpotts@netscape.com, r=bzbarsky, sr=darin, a=asa
2002-03-07 20:57:55 +00:00
rpotts%netscape.com 3fd1f474e4 Backing out the patch for bug #120113. To clear smoketest blocker... 2002-01-16 19:01:43 +00:00
rpotts%netscape.com 6e4b22e068 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... 2002-01-15 02:41:05 +00:00
kaie%netscape.com 7ae25bdb4b b=109777 Make sure certificate downloading works immediately
r=javi sr=mscott
2001-11-30 00:07:13 +00:00
rpotts%netscape.com 09cb09c5cf bug #106558 (r=darin) again! make sure that all initial stream errors prevent the creation of a content viewer! 2001-11-13 07:47:22 +00:00
blizzard%redhat.com 7fcab3457c back out rpotts' checkin for bug #106558 since it caused blocker bug #108869. r=mscott 2001-11-07 19:56:27 +00:00
rpotts%netscape.com 141ebb9b14 bug #106558 (r=darin@netscape.com, sr=mscott@netscape.com) Do not call a consumers OnStartRequest() if an error has already occurred... 2001-11-07 04:50:35 +00:00
rpotts%netscape.com ae53430684 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
jaggernaut%netscape.com 66cbbb8a07 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 03:49:28 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
blizzard%redhat.com 6003c43280 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 2001-09-08 04:58:59 +00:00
valeski%netscape.com 93959d48cc 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. 2001-09-05 21:28:38 +00:00
rpotts%netscape.com f5ce40fc78 bug #96029 (r=valeski, sr=mscott) Loading cnn.com caused the sav-as dialog to appear... 2001-08-21 06:26:59 +00:00
javi%netscape.com 710ca72921 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.
2001-08-01 22:52:42 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
rpotts%netscape.com bd79912193 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... 2001-06-29 03:09:59 +00:00
dougt%netscape.com 5d5f1e3826 Fixes 87370. This allows multiple onStopRequest. r=harishd@netscape.com, sr=mscott@netscape.com 2001-06-26 22:58:18 +00:00
rpotts%netscape.com f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
darin%netscape.com b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
jst%netscape.com ea706038cf 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. 2001-05-08 17:42:36 +00:00
law%netscape.com d56b479417 Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com 2001-05-03 21:24:36 +00:00
rpotts%netscape.com a7c30069fd Reverting to rev 1.72 2001-04-27 22:17:30 +00:00
rpotts%netscape.com 259fce8009 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
darin%netscape.com 9deb4986e3 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 ;-)
2001-04-14 02:02:19 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
locka%iol.ie 082e014189 Updated GetTarget so windows are created if the named target cannot be found and for _new & _blank targets. b=72491, sr=mscott 2001-04-03 21:56:02 +00:00
alecf%netscape.com fcaf601272 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
timeless%mac.com e76ccfd647 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
dougt%netscape.com 128f95aa9b 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 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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 2019b92f07 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 06506207df 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
pollmann%netscape.com 8911ee3487 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
pollmann%netscape.com 3da7c0c668 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
mscott%netscape.com 07637ef394 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 7cb10d986d Bug #47203 --> force more code to use the helper app dialog.
sr=alecf,rpotts
2000-10-04 06:53:52 +00:00
rayw%netscape.com 0257791053 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 91c59f8553 Fix unix breakge by using .get() 2000-09-01 23:07:57 +00:00
mscott%netscape.com 14371bacb4 Bug #47365 --> set the retargeting URL flag when we are retargeting to another window
r=radha
2000-09-01 22:28:37 +00:00
vidur%netscape.com e153192875 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
heikki%netscape.com 418d0168ea 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
mscott%netscape.com 2bdc7ded6d 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 17461eaf11 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 5ce6a320cc 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 44dfb4b825 Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
mscott%netscape.com 6e2ee7ff03 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 9c4c702bdc 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 ae19609176 Bug 32898: Fix crash when targetting new window. r=rpotts 2000-05-11 01:33:25 +00:00
ruslan%netscape.com e7d80eb3ca Prevent infinite loop in OnStop in case when Cancel is issued 2000-05-10 02:05:54 +00:00
rpotts%netscape.com d6a55e5b45 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly... 2000-05-07 02:01:10 +00:00
mscott%netscape.com e80ecd5bda help support the doc loader using the web progress listener. 2000-04-22 23:17:11 +00:00
warren%netscape.com eeb4df595e Bug 34217. Making js protocol not clear window when it returns no result. 2000-04-21 05:18:15 +00:00
mscott%netscape.com c4a408e35b 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
tbogard%aol.net 1e930b11ae Removed the viewSource member and the GetStringForCommand as it is no longer used. 2000-04-11 23:52:37 +00:00
mscott%netscape.com c075035b09 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 ccd7510b99 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 d8f4cef205 making string conversions explicit 2000-04-02 09:15:46 +00:00
valeski%netscape.com 45a4daefea 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 dc0e139673 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
warren%netscape.com 727f312b32 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 b9eb8da352 small changes to clients of string converting APIs 2000-03-26 08:05:46 +00:00
tbogard%aol.net 549310ce03 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
mscott%netscape.com 333edb2c69 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