54 Commits

Author SHA1 Message Date
myk%mozilla.org
e006f726ee bug 389969: followup patch that makes the protocol handling dialog work on Mac as well;
r=biesi
sr=dmose
a=schrep for M7


git-svn-id: svn://10.0.0.236/trunk@231211 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 04:57:37 +00:00
sdwilsh%shawnwilsher.com
5f1e8511af Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep
git-svn-id: svn://10.0.0.236/trunk@231202 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 23:33:17 +00:00
dmose%mozilla.org
e3ed12c932 nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols (bug 389632), patch by Karl Tomlinson <mozbugs@karlt.net>, r+sr=biesi,dmose; a=roc
git-svn-id: svn://10.0.0.236/trunk@231110 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 18:31:13 +00:00
sdwilsh%shawnwilsher.com
9b36ce8382 Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@231019 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:24:31 +00:00
myk%mozilla.org
c604d64c24 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
git-svn-id: svn://10.0.0.236/trunk@230963 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 20:40:42 +00:00
dmose%mozilla.org
98eb2d9168 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.
git-svn-id: svn://10.0.0.236/trunk@230815 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 23:38:31 +00:00
myk%mozilla.org
d2059ea375 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
git-svn-id: svn://10.0.0.236/trunk@230806 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:29:52 +00:00
sdwilsh%shawnwilsher.com
a47c8fe37e Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@230596 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 18:40:25 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
dmose%mozilla.org
3dc245e9c4 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@227015 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 15:17:45 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mozilla.mano%sent.com
118e0b469a Bug 264648 - Implement nsOSHelperAppService::GetApplicationDescription for OS X (in order to show an application description in the confirmation dialog for). r=jhpedemonte, sr=smfr, a=asa.
git-svn-id: svn://10.0.0.236/trunk@176349 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 19:03:41 +00:00
bsmedberg%covad.net
f4f72beaa1 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
git-svn-id: svn://10.0.0.236/trunk@170499 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 04:38:35 +00:00
bzbarsky%mit.edu
d1350f8017 Add the prompt-service contract to nsEmbedCID.h
git-svn-id: svn://10.0.0.236/trunk@170283 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 16:07:11 +00:00
dveditz%cruzio.com
afe1e85825 bug 263546: move external protocol warning down a level, r=jsr,sr=darin
git-svn-id: svn://10.0.0.236/trunk@164343 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 07:46:01 +00:00
cbiesinger%web.de
a57ea7b105 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@157780 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 15:47:57 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
cbiesinger%web.de
d448c99844 backing out last patch for bug 240771 - causes crashes on mac.
git-svn-id: svn://10.0.0.236/trunk@155024 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 12:13:55 +00:00
cbiesinger%web.de
4b5a2ece3d more mac bustage...
git-svn-id: svn://10.0.0.236/trunk@154946 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:38:31 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
cdd38aafe6 fixing bug 235832 in a better way, by using dynamic_cast.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154818 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 19:40:08 +00:00
cbiesinger%web.de
70d8ae809b bug 235832, dynamic_cast crashes. replace with static_cast.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153404 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 21:18:19 +00:00
cbiesinger%web.de
030baf0831 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.


git-svn-id: svn://10.0.0.236/trunk@153118 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 22:49:28 +00:00
pinkerton%aol.net
426e441409 fix bad merging of code for 183848 when moving from camino 1.0 branch to trunk
(r=biesi, sr=sfraser)


git-svn-id: svn://10.0.0.236/trunk@153098 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 15:20:55 +00:00
cbiesinger%web.de
80f05f9dbd bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151954 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 14:48:22 +00:00
justdave%syndicomm.com
38fe8ad293 Bug 166369: Documents that require a helper app to view were not viewable if you chose your helper apps using an old CFM version of Mozilla. The old pathname format is now supported again (in addition to the new one).
r= mozeditor@floppymoose.com, sr= bz-vacation@mit.edu, a= asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@149604 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 06:45:25 +00:00
cbiesinger%web.de
8e398d1990 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@149358 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 15:29:14 +00:00
cbiesinger%web.de
2513e3d54b 78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@149357 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 15:01:39 +00:00
bzbarsky%mit.edu
9613fc72bd Report a useful error when encountering a CFM app path in a Mach-o build. Bug
166369, patch by biesi, r=bzbarsky, sr=sfaser.


git-svn-id: svn://10.0.0.236/trunk@148138 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 21:36:39 +00:00
cbiesinger%web.de
72ffd605aa 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension


git-svn-id: svn://10.0.0.236/trunk@145198 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 16:48:00 +00:00
sfraser%netscape.com
dd8b6bea79 Fix bug 183848: if Internet Config fails to give us info about the app used to launch a file, ask Launch Services directly. Patch by sdagley, r=ccarlen, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@141574 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 04:16:49 +00:00
bzbarsky%mit.edu
0d696693b6 Fix mac bustage...
git-svn-id: svn://10.0.0.236/trunk@136205 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 02:22:23 +00:00
bzbarsky%mit.edu
20729b1b47 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.


git-svn-id: svn://10.0.0.236/trunk@136204 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 01:14:35 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
timeless%mac.com
30f1ba30c9 Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
r=danm sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114238 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:32:14 +00:00
bzbarsky%mit.edu
c33a4dabe3 Fix helper apps not starting when the filename in the url is empty.
Also turn off caching of mime infos since we have no way to invalidate
this cache yet.  Bug 121644, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@113742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:35:31 +00:00
ccarlen%netscape.com
021c9dac7f Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
valeski%netscape.com
1bca7e6e2d fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@93317 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 22:35:13 +00:00
pchen%netscape.com
db1b1d6f54 bug 49758, r=alecf, sr=sfraser, implement nsOSHelperAppService::ExternalProtocolHandlerExists() and implement nsOSHelperAppService::LoadURL() for mac
git-svn-id: svn://10.0.0.236/trunk@92413 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:16:41 +00:00
mscott%netscape.com
032cc5948d Bug #74783 --> don't read the mac file creator and type values from our hard coded table of content types. Always use the values from internet config.
r=sspitzer
sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@92142 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 00:44:55 +00:00
mscott%netscape.com
336f3c5ff8 Bug #67598 --> remove CanHandleContent and DoContent
as this code has been reconsolidated in the base class for
all to use. For everyone, if the mime type is unknown or octet,
then try to guess a content type by file extension in doContent.
Also, if we can't find a mime type, create a new one for all platforms
so we don't need to bring up the ucth dialog.

sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86441 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:43:18 +00:00
mscott%netscape.com
4f76352803 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts


git-svn-id: svn://10.0.0.236/trunk@80335 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:54:47 +00:00
mscott%netscape.com
384b790f6e Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@79260 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:58 +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
25f11245c2 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78448 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:12:51 +00:00
pchen%netscape.com
4c2f6dc696 bug #43585, r=sfraser, call new nsIInternetConfigService to help with helper app stuff
git-svn-id: svn://10.0.0.236/trunk@78273 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:12:53 +00:00
mscott%netscape.com
e07b1b0394 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73806 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:48:17 +00:00
sspitzer%netscape.com
fe883b7d25 get launching of external apps working on the mac.
also, on the mac only, dump the temp file to the desktop.
r=mscott #38374.


git-svn-id: svn://10.0.0.236/trunk@73028 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:43:13 +00:00