Commit Graph

220 Commits

Author SHA1 Message Date
cbiesinger%web.de
8f369f59f4 Bug 220198
helperappservice qi's to httpchannel when it wants encodedchannel
r=bzbarsky sr=darin
2003-09-25 12:51:45 +00:00
cbiesinger%web.de
a67ce6b555 143570 r=bzbarsky sr=darin
Allow assigning helper apps to mailnews attachments by extension.

do this by only getting the query off the uri for HTTP/HTTPS urls - mailnews
uris always have a query string, and if there is a query string the file
extension is ignored because a CGI script is assumed, which has no useful
extension.
2003-09-24 20:21:09 +00:00
cbiesinger%web.de
98f3008774 219681 r=bzbarsky sr=darin
log save/launch errors to nspr log
This converts a printf inside #ifdef DEBUG_law to use nspr logging (module HelperAppService)
2003-09-23 19:27:07 +00:00
cbiesinger%web.de
2feccd7112 219608 r=bzbarsky sr=darin compile warning in helperappservice (size/unsigned mismatch) 2003-09-23 19:24:26 +00:00
cbiesinger%web.de
1f6b877479 Bug 218820
remove useless nsIExternalHelperAppService::canHandleContent
mozilla never calls this function; and it always returns PR_FALSE
r=bz sr=darin
2003-09-17 12:31:39 +00:00
cbiesinger%web.de
cbddc9a5fb per clarification via email from bz (reviewer of previous checkin to this file, for Bug 216417), using .xht, not .xhtm in the defaultMimeEntries array (matches the XHTML entry in the extraMimeEntries array) 2003-09-14 15:54:57 +00:00
cbiesinger%web.de
9effbc9a16 Bug 216417
about: page has major errors
r+sr=bz
fix this by mapping all .xhtm and .xhtml files to application/xhtml+xml, not overridable by user or os
2003-09-14 11:41:22 +00:00
cbiesinger%web.de
46b4508e80 Bug 120045
Multi-character character constants in nsExternalHelperAppService.cpp
r=bz sr=darin
2003-09-11 20:44:25 +00:00
cbiesinger%web.de
f9a15025a5 fix off-by-one error 2003-09-11 16:14:58 +00:00
cbiesinger%web.de
7204f246e1 Bug 65827
File extension (.php) determined from Content-Type header (or url extension) overrides filename in Content-Disposition header.
r=bz sr=darin
2003-09-11 13:27:06 +00:00
ben%bengoodger.com
28f386412d The Mother Of All Download Landings, Phase I
http://bugzilla.mozilla.org/show_bug.cgi?id=214259
Firebird Download System Upgrades.

exthandler/nsExternalHelperAppService.cpp
- update EHAS to use updated version of PromptForSaveToFile
- make the EHAS not set the MIME Info object's alwaysAskBeforeHandling flag
  to false to make the UCT dialog's show behaviour consistent

bug 214985, r=  sr=hyatt
2003-08-04 22:31:14 +00:00
bzbarsky%mit.edu
29cbc4d6a3 Fix build bustage 2003-07-30 18:56:12 +00:00
bzbarsky%mit.edu
197b0af015 Reverse some backwards assumptions to make things a little safer for users.
Bug 213921, r=biesi, sr=darin
2003-07-30 17:47:26 +00:00
cbiesinger%web.de
2ac5385322 fixing windows bustage 2003-07-26 22:09:37 +00:00
cbiesinger%web.de
0a7a152685 213882 r=bzbarsky sr=darin consider making aFileExt the primary extension if it is an extension 2003-07-26 21:01:08 +00:00
cbiesinger%web.de
bb37693039 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
cbiesinger%web.de
a1b49091f7 162249 r=bzbarsky sr=darin Running external program - lack of decent error messages
This adds a useful error message in case the specified helper application does not exist
2003-07-22 17:25:02 +00:00
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
dbaron%dbaron.org
c8d988bce3 Fix firebird and thunderbird bustage by unforking contents of nsIGlobalHistory (which was frozen) and by tweaking the root Makefile.in. b=212509 r=mscott 2003-07-19 21:19:12 +00:00
cbiesinger%web.de
ebe19365ed 212468 r=bzbarsky sr=darin rethink the hashtable usage in helperappservice 2003-07-14 22:30:52 +00:00
cbiesinger%web.de
ebd1eb4d26 212110 r=bzbarsky sr=darin misc cleanup of externalhelperappservice 2003-07-14 21:09:11 +00:00
cbiesinger%web.de
7d10504897 78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute
to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.
2003-07-08 13:52:46 +00:00
cbiesinger%web.de
473175175e no bug, r+sr=bzbarsky; remove MNG and JNG types from defaultMimeEntries array so
that users can have a helper app for MNG/JNG images
2003-07-07 19:27:48 +00:00
cbiesinger%web.de
805bd84854 193698 r=bzbarsky sr=darin "attachment" content shows a checkbox for "don't ask"
This checkin makes it so that we grey out the "Always ask me" checkbox for files sent
with content-disposition:attachment, and show another text indicating that the server
asked to not display the file.
2003-07-03 13:55:17 +00:00
bzbarsky%mit.edu
ff56070f4a random array cleanup. Bug 211193, r=biesi, sr=alecf 2003-07-02 00:29:26 +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
cbiesinger%web.de
4c96aae9a9 73757 r=bzbarsky sr=darin Local files not handled by moz should not be copied to temp directory 2003-06-30 22:33:36 +00:00
dbaron%dbaron.org
4d36cb7adf Fix MOZ_PHOENIX bustage. 2003-06-30 20:29:59 +00:00
cbiesinger%web.de
dd0fc2d465 124014 r=bzbarsky sr=darin URL handled by helper app never marked visited 2003-06-30 19:00:46 +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
alecf%flett.org
f43f8eebe9 fix for bug 205895 - make nsIMIMEInfo.getFileExtensions use a string enumerator, to avoid excess allocation at startup
r=bz, sr=darin
2003-06-17 17:00:40 +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
cbiesinger%web.de
f874fa8926 140301 patch by egnor@ofb.net r=biesi sr=bz tgz files get silently unzipped 2003-06-02 14:03:55 +00:00
cavin%netscape.com
a58b5ef4fa Fix for 202355. Turn on apple single/double code for MacOSX. r=ccarlen, sr=sfraser. 2003-04-25 21:18:10 +00:00
mkaply%us.ibm.com
ae709df785 Fixing comment 2003-04-22 02:44:21 +00:00
sfraser%netscape.com
7c6ac50920 Fix nsExternalAppHandler::SaveToDisk when aNewFileLocation is non-null, for Camino. Bug 197745. r=sdagley, sr=bz 2003-03-17 23:39:13 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
peterlubczynski%netscape.com
d1b6c0d64d Fixing the DOM navigator.mimeType array to be able to test for installed helper applications, bug 58811, patch by bzbarsky@mit.edu r=peter, sr=jst 2003-02-26 23:54:55 +00:00
cbiesinger%web.de
9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
pkw%us.ibm.com
68df4a7747 Bug 188724 - clicking cancel in filepicker, then clicking file again leads to filepicker
r=cbiesinger@web.de, sr=bzbarsky@mit.edu, a=asa@mozilla.org
2003-02-03 20:36:12 +00:00
bzbarsky%mit.edu
8423ead416 Don't try to uncompress .Z files when saving them. Bug 162271, patch by harm
ten Napel <harm.ten.napel@oracle.com> and Smaug <smaug@jippii.fi>, r=dwitte,
sr=bzbarsky, a=dbaron
2003-01-25 21:00:28 +00:00
timeless%mozdev.org
9f04591a8c Bug 180384 nsExternalHelperAppService should observe profile changes
r=ccarlen sr=dmose
2003-01-22 06:57:15 +00:00
bzbarsky%mit.edu
d27a72563e Back out part of patch from bug 172693 until we can do it better. Bug 189602,
r=timeless, sr=heikki
2003-01-21 18:32:20 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
bzbarsky%mit.edu
8368c5f241 Ignore file extensions for urls to obvious CGI scripts. Bug 172693, patch by
law@netscape.com (Bill Law), r=bzbarsky, sr=heikki
2003-01-14 22:12:10 +00:00
bzbarsky%mit.edu
4d2505d4e4 Fix bug 86640 -- change helper app dialog to properly remember the selected
course of action, move the "neverAsk" information from prefs back to
mimeTypes.rdf, remove the "Reset" button from helper app prefs, set up a way to
select "use default OS helper" for a given type.  Patch by Bill Law
<law@netscape.com> and Philip K. Warren <pkw@us.ibm.com>, r=biesi, sr=bzbarsky,
what passes for moa in helper apps=bzbarsky.
2003-01-12 01:14:35 +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
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
timeless%mozdev.org
1a0f253e45 fix off-by-one error in parsing out extension
change by bz
2002-11-06 23:59:36 +00:00