Commit Graph

273 Commits

Author SHA1 Message Date
myk@mozilla.org
332c59f2aa bug 393492: move mimeTypes.rdf datasource access code from nsExternalHelperAppService.cpp to nsHandlerService.js, fixing bug 393500 (auto-add preferred handler to possible handlers when retrieving them, since they won't be in there already on legacy datasources) in the process; r=biesi; sr=dmose; a=bsmedberg for 1.9 2007-09-04 13:45:57 -07:00
dmose@mozilla.org
4ad19860ce Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
bzbarsky@mit.edu
57b1b90f4d Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking 2007-08-20 20:26:12 -07:00
dmose@mozilla.org
99d771c3e9 Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-08-20 17:47:47 -07:00
sdwilsh@shawnwilsher.com
7d5925b0fb Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose 2007-08-14 09:47:41 -07:00
myk@mozilla.org
6f7b4ae700 bug 385740: support multiple apps per nsIHandlerInfo via a new nsIHandlerInfo::possibleApplicationHandlers attribute; r=biesi, sr=dmose 2007-08-13 13:41:34 -07:00
sdwilsh@shawnwilsher.com
09e384652c Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep 2007-07-30 16:33:16 -07:00
myk@mozilla.org
236dc4d488 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-25 13:40:41 -07:00
dmose@mozilla.org
bdec3dea6b Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage. 2007-07-24 16:38:29 -07:00
myk@mozilla.org
d97160dca2 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-24 13:29:50 -07:00
dmose@mozilla.org
8753e89bc4 Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -07:00
dmose@mozilla.org
ec036ba262 Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
jshin%mailaps.org
05377e6a08 bug 227290 : be generous to overlong (invalid) B-encoded words in RFC 2047 encoded header (r=smontagu, sr=bienvenu) 2006-01-09 18:05:25 +00:00
pedemont%us.ibm.com
d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
cbiesinger%web.de
b13a9a6994 Bug 288787 Remove NS_MIMEINFO_{CID,CONTRACTID}
r+sr=bz
2005-04-03 17:25:14 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
jshin%mailaps.org
623640f8f8 bug 278200 : get rid of unnecessary warnings in debug build (nsIMIMEHeaderParam implementation) r=cbie, sr=darin 2005-01-13 18:24:17 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
pedemont%us.ibm.com
3fc9433171 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner. 2004-12-01 17:56:52 +00:00
jshin%mailaps.org
bb156473d4 bug 269806 : aTryLocaleCharset assertion : implemented aTryLocaleCharset case (r=cbie, sr=bz) 2004-11-16 18:04:45 +00:00
cbiesinger%web.de
8e63886ee0 Bug 80787 support non-ascii extensions in mime service, mime info, and
exthandler
r=bzbarsky sr=darin
2004-08-09 21:27:24 +00:00
bzbarsky%mit.edu
ff376b3812 Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
cbiesinger%web.de
23938c8252 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin
2004-06-11 15:47:57 +00:00
cbiesinger%web.de
8db9df04b7 239394 nsIMIMEInfo should use interCaps for methods and attributes
r=bzbarsky sr=darin
2004-05-08 18:37:06 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +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
cbiesinger%web.de
7ea034fb6b bug 78919, last part. r=bzbarsky sr=darin.
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.
2004-02-23 22:49:28 +00:00
cbiesinger%web.de
242ffb7490 bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
r=bzbarsky sr=darin
2004-01-28 14:48:22 +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
86a6cb09ce bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)
2003-11-13 23:00:55 +00:00
cbiesinger%web.de
def44d8c8b Bug 217509
wrong app description shown in helper app dialog
r=bz sr=darin
2003-09-11 12:13:06 +00:00
bryner%brianryner.com
63fa99c65e Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
cls%seawood.org
1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +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
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +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
68f7034972 211889 r=bzbarsky sr=darin - remove DataURI attribute from nsIMIMEInfo (unused and not really implemented) as well as the mURI member of nsMimeInfoImpl 2003-07-07 22:49:35 +00:00
jshin%mailaps.org
9ac6ce9f32 bug 210109 : fix crash due to misaligned address (use PRUintn for '%2X' in PR_sscanf instead of char) r=wtc, sr=darin 2003-06-26 23:53:26 +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
245a450695 a part of bug 162765 (r=cbiesinger, sr=alecf) missed in the previous commit.
RFC 2231 support (with RFC 2047 fallback) in Content-Disposition header
in http for file download.
2003-06-13 04:18:01 +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
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dwitte%stanford.edu
270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
sspitzer%netscape.com
985e9ef0d6 fix for bug #119964. implement yEnc decoding.
note, we have no plans to support yEnc encoding.
thanks to ducarroz for the patch.  r/sr=sspitzer
2003-04-10 02:19:35 +00:00
bzbarsky%mit.edu
83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bzbarsky%mit.edu
fe3e3cb6a8 Make defaultDescription and applicationDescription use the handler's leafname
if no description is set.  Bug 190409, r=pkw@us.ibm.com, sr=darin
2003-02-22 20:06:56 +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
954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
darin%netscape.com
106b80519b remove dead mime code, b=172963 r=dougt sr=alecf 2002-11-24 03:31:47 +00:00
kaie%netscape.com
68f0cbb93c b=175012 Mozilla don't support multipart/signed mail with md5 micalg parameter
r=ducarroz sr=darin a=asa
2002-10-22 14:48:14 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
darin%netscape.com
70e5d7d189 fixing bustage 2002-10-08 22:15:57 +00:00
darin%netscape.com
c8c13bf0a8 fixes bug 172963 "remove dead mime code" r=dougt sr=alecf 2002-10-08 21:31:54 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu
7f484ee985 Allow view-source to handle arbitrary content (as text-plain, in the
worst case).  Bug 77337, r=jst, sr=darin
2002-09-03 22:10:08 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
kaie%netscape.com
97f44797bc b=148232 Support application/pkcs7-signature mime type on incoming S/Mime messages.
r=ducarroz sr=darin
2002-08-06 13:29:12 +00:00
bryner%netscape.com
caa52be426 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
cbiesinger%web.de
1a92e0f845 bug 8031 r=tor sr=dveditz
XBM support
2002-06-04 08:48:12 +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
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
kaie%netscape.com
cc964d5bed b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf
2002-04-12 04:26:40 +00:00
darin%netscape.com
edab6546f5 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 23:33:19 +00:00
darin%netscape.com
171c8b28ee backing out changes (for bug 116365) to fix btek page-loader crash. 2002-03-26 08:47:10 +00:00
darin%netscape.com
f2d3a0287d fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 06:54:07 +00:00
bzbarsky%mit.edu
abe192dbf6 Do not apply content decoding if the url ends in .gz or .zip. The
content-encoding battle never ends...  Bug 128199, r=law, sr=darin,
a=asa
2002-03-14 00:51:28 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
201fa7ccf6 fix regression of bug 124741. r=law, sr=alecf, a=asa 2002-03-05 22:35:56 +00:00
alecf%netscape.com
cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
bzbarsky%mit.edu
de5d5de7c2 Make us handle type:application/x-gunzip, encoding:gzip. Bug 128177,
r=bbaetz, sr=darin, a=shaver
2002-02-28 23:54:58 +00:00
cathleen%netscape.com
a6a1655268 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
bzbarsky%mit.edu
53494d3eb3 Make it possible to save files of types for which we have mimeinfos but
no extensions.  Bug 68801, r=law, sr=jag
2002-02-12 02:22:39 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
bzbarsky%mit.edu
5a1b42ffbb Bug 90633. Use the URL extension for the temp file we pass to helpers
if it matches the extension list in the mime info.  r=law, sr=mscott.
2002-01-16 04:28:06 +00:00
brade%netscape.com
d731bdbcec remove unused const kMIME saving 9 bytes (bug 117927; rs=darin) 2002-01-09 14:25:58 +00:00
ccarlen%netscape.com
525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
timeless%mac.com
c27d88c251 Bug 115594 Support .CUR files patch by cbiesinger@web.de r=pavlov sr=tor 2001-12-18 13:40:06 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
tor%cs.brown.edu
073a7c9d91 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser
2001-12-17 22:07:03 +00:00
jaggernaut%netscape.com
e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
bbaetz%cs.mcgill.ca
5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
bzbarsky%mit.edu
637153585a Make the helper app dialog report the correct mime type after we've
tried to use extensions to guess the type.  Bug 78943, r=law, sr=mscott
2001-12-12 01:02:26 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
bzbarsky%mit.edu
b394eea231 Add detection of PDF and PostScript to the unknown content decoder.
Bugs 110662 and 110663, r=bbaetz, sr=rpotts
2001-11-19 20:25:53 +00:00
hyatt%netscape.com
79f6e4162f Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband 2001-11-03 07:10:51 +00:00
alecf%netscape.com
fe03cfa32e REQUIRES cleanup 2001-11-03 00:16:29 +00:00
jaggernaut%netscape.com
9bcc72064d Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-02 06:39:49 +00:00
jaggernaut%netscape.com
06f4e59853 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-24 23:47:43 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +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
bzbarsky%mit.edu
24754bce41 Fix linux topcrash bug 97970. Make AddMimeInfoToCache do some more
error checking than it used to.  r=timeless, sr=mscott
2001-09-24 22:39:17 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
8bf5905937 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +00:00
jat%princeton.edu
27970beec2 Fixes bug 91076 with w3c specs. r=gagan. sr=darin 2001-08-10 23:59:12 +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
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00