Wolfgang Rosenauer
ab20c8da7f
Bug 562897 - Add required implementation to open files on Maemo 6. r=dougt
...
--HG--
extra : rebase_source : 49d8fbe234bf447b87486ac4404a148d676e009c
2010-07-30 12:46:20 -07:00
Mike Hommey
9d74ea53a9
Bug 445673 - Rename mType member of class nsMIMEInfoBase to nSchemeOrType to avoid confusion [r=bzbarsky]
2010-05-06 09:22:01 +02:00
Oleg Romashin
53c12b1846
Bug 546074 - nsMIMEInfoUnix and nsOSHelperAppService.cpp does not match to each other. r=dougt
...
--HG--
extra : rebase_source : ad820f70c9a0958311300dc4b2cd72fed6cf21a1
2010-02-19 00:12:33 +02:00
Doug Turner
7892aabac9
Bug 543976 - Clean up Maemo defines. r=ted
2010-02-09 11:02:11 -08:00
Doug Turner
5fea56d790
Bug 528425 - exthandler doesnt compile when using widget=cairo-qt. r=sdwilsh
2009-11-13 11:47:27 -08:00
L. David Baron
6c40ea8bbe
Only call GetFromExtension if we have an extension. (Bug 523672) r=bzbarsky
2009-10-22 16:36:21 -04:00
Wolfgang Rosenauer
3a4c0da63f
Bug 327323 - Can't "Open with" files that are send as application/octet-stream (Linux). r=bzbarsky
2009-10-17 09:53:12 +02:00
jhorak@redhat.com
a5beb085b9
Bug 402892. Support gio as well as gnome-vfs. r=roc
2009-08-25 11:58:11 -07:00
Wolfgang Rosenauer
b61d0f7850
Bug 389732 - Remove GetHandlerAppFromPrefs from unix helper app service, r=biesi
2009-08-19 21:29:42 +02:00
Antonio Gomes (tonikitoo)
100f97a22c
[Bug 455509] Implement system integration via dbus (open_mime) in Fennec. r=sdwilsh,blassey sr=bz
2009-03-30 14:10:26 -04:00
James Boston
ebb622ed2b
Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg
2009-03-09 12:47:39 -04:00
Oleg Romashin
15312a2053
Bug 469023 - network.protocol-handler.warn-external-default does not work with hildon platform. r=bugmail,doug
2009-02-18 08:41:37 -05:00
Brad Lassey
2c9c05cbf8
Bug 437950 - Support for mailto: r=cbiesinger
2008-09-10 12:10:23 -04:00
Oleg Romashin
427aa3fb16
Merging mozilla-central to mozilla-qt.
2008-08-03 20:30:10 +03:00
Brad Lassey
751ab7c99d
relanding Bug 441636 after bad backout
2008-07-27 09:44:20 -04:00
Brad Lassey
9a564dc498
Back out of bug 441636
2008-07-27 09:26:54 -04:00
Mike Hommey
ac5f9d631e
Bug 440840 - "mailcap handling may fail due to race conditions between thread waiting and system()" [p=mh+mozilla@glandium.org (Mike Hommey) r+sr=bzbarsky]
2008-07-12 03:46:11 -05:00
Mike Hommey
08111f0fdc
Bug 442629 - "Ignore mailcap entries with needsterminal" [p=mh+mozilla@glandium.org (Mike Hommey) r=bzbarsky]
2008-07-12 03:45:22 -05:00
romaxa@romaxa.research.nokia.com
7b467210a3
Fixed nsGNOMERegistry building in non-gtk configuration
2008-04-19 16:27:21 +03:00
dolske@mozilla.com
54ae4f3f3e
Bug 423776 - Wrong action shown for protocol in prefs, can't get back to OS default. r=biesi, a=blocking-ff3+
2008-04-08 16:18:16 -07:00
reed@reedloden.com
1c996a05b3
Bug 421879 - "opening a file with the default helper app can fail by using the wrong app in the end" [p=mh+mozilla@glandium.org (Mike Hommey) r=biesi a=blocking1.9+]
2008-03-12 15:53:18 -07:00
reed@reedloden.com
35982d200f
Bug 273524 - "Helper applications with parameters don't work ( GTK2/Gnome )" [p=mh+mozilla@glandium.org (Mike Hommey) r=biesi a1.9=beltzner]
2008-02-26 16:58:15 -08:00
dmose@mozilla.org
fffca71f6a
Fix SunOS build bustage + wrongly typed return value in landing of bug 395277, a=build-bustage
2008-02-19 22:10:33 -08:00
dmose@mozilla.org
aba72c6e99
Add an l10n strategy for web-based protocol handler updating (bug 395277); r=myk, sr=biesi, r=gavin (for browser/ pieces), a=blocking-1.9+; late-l10n checkin
2008-02-19 20:46:35 -08:00
reed@reedloden.com
65994844b2
Bug 373397 - "nsGNOMERegistry could use the mozgnome component" [p=mh+mozilla@glandium.org (Mike Hommey) r=chpe sr=biesi a1.9=beltzner]
2008-01-29 20:36:11 -08:00
reed@reedloden.com
b707196872
Bug 389766 - "Hard-to-understand presentation of protocol-handlers on Linux" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=biesi a=blocking-firefox3+]
2007-12-03 14:18:03 -08: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
dmose@mozilla.org
2b71ae690f
nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols, patch by Karl Tomlinson <mozbugs@karlt.net, r+sr=biesi,dmose; a=roc
2007-07-27 11:31:13 -07:00
sdwilsh@shawnwilsher.com
801e29f7d0
Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. r=cviesinger, sr=dmose
2007-07-26 14:23:56 -07:00
dmose@mozilla.org
c5a45de9ac
Fixes for Linux build bustage
2007-07-25 22:52:27 -07:00
sdwilsh@shawnwilsher.com
bf5d08875c
Linux bustage fix
2007-07-25 22:27:43 -07:00
sdwilsh@shawnwilsher.com
7453de208d
Bustage fix
2007-07-25 21:38:56 -07:00
sdwilsh@shawnwilsher.com
ca6da5a72e
Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner
2007-07-25 21:24:25 -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
sdwilsh@shawnwilsher.com
1b506091b9
Bustage fix
2007-07-22 11:57:08 -07:00
sdwilsh@shawnwilsher.com
d813830a5f
Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose
2007-07-22 11:40:24 -07:00
bienvenu@nventure.com
70c1fbce70
fix 317589 mail body containing ++ produces error message with gnome, patch by brian.lu@sun.com, r=chpe@gnome.org, sr=cbiesinger
2007-06-04 16:07:28 -07:00
dmose@mozilla.org
12f5a83e26
Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc
2007-05-25 08:17:44 -07:00
dbaron@dbaron.org
9b013dc30a
Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg
2007-04-15 15:22:58 -07:00
bzbarsky@mit.edu
dd963af400
If we have an /etc/mime.types extension for a type, that should NOT make/etc/mailcap override the gnome-vfs handler for that type. Patch partially byMike Hommey <mh+mozilla@glandium.org> and partially by me, r+sr=biesi
2007-04-15 13:43:49 -07:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
79156233a9
Bug 321597 LoadVersionedLibrary calls to PR_GetLibraryName must use PR_FreeLibraryName
...
r=roc sr=roc
2006-01-11 08:28:52 +00:00
dveditz%cruzio.com
430d42c69d
bug 263546: move external protocol warning down a level, r=jsr,sr=darin
2004-10-25 07:46:01 +00:00
cbiesinger%web.de
b84daa8a30
add a way to get an application description for a given externally-handled
...
scheme, and use it in the confirmation dialog that asks whether to launch such
links.
bug 258802
windows and cross-platform part: r=ere sr=neil,bz
linux part: r=bz sr=bryner
2004-10-16 13:46:17 +00:00
cbiesinger%web.de
23938c8252
bug 235505 make nsIMIMEInfo::MIMEType readonly
...
r=bzbarsky sr=darin
2004-06-11 15:47:57 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
bienvenu%nventure.com
2b2397bfaa
fix regression in unix file type mapping, 242495,r=bzbarsky, sr=mscott
2004-05-04 01:05:13 +00:00
bienvenu%nventure.com
4d40ab419f
make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538
2004-04-22 15:32:54 +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
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
6da5a56402
Bug 237947 Mozilla Freezes when handling filetypes with an entry in .mailcap that does not exist
...
o) also return from GetFileTokenForPath when the base class implementation failed
with NS_ERROR_FILE_NOT_FOUND.
o) Do not return NS_ERROR_FILE_NOT_FOUND from the
base class impl if the file path is both relative and does not exist in the
mozilla directory.
o) Make sure to break out of the loop in the unix GetFileTokenForPath even if
ApendRelativePath fails
r+sr=bzbarsky a=asa
2004-03-31 19:32:26 +00:00
cbiesinger%web.de
4ca8093ad9
229636 search for helper apps in mozilla directory before $PATH
...
r=bzbarsky sr=darin
2004-03-08 20:15:09 +00:00
cbiesinger%web.de
d0fdabc0c9
Bug 124307, respect umask for downloaded files.
...
r=bzbarsky sr=darin
2004-03-06 19:37:22 +00:00
cbiesinger%web.de
43561e082b
bug 235201, return an error instead of crashing if we can't find an application for a mime type
...
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bryner
2004-03-06 14:41:00 +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
7b72a95123
bug 232219, memory leak in nsGNOMERegisty::GetFromType
...
patch by Christian Persch <chpe@gnome.org> r=darin sr=bryner
2004-01-29 22:20:44 +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
0b241c5f1b
Don't claim to have a GNOME registry handler if it's disabled. Bug 226576,
...
patch by chpe@gnome.org (Christian Persch), r=bryner, sr=bzbarsky
2004-01-21 04:52:10 +00:00
cbiesinger%web.de
413b5f69f6
Bug 229969 Fix 'Warning: "/*" within comment'
...
patch by gautheri@noos.fr (Serge GAUTHERIE) r+sr=bzbarsky
2004-01-04 21:50:19 +00:00
peter%propagandism.org
feda8614f8
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 16:48:40 +00:00
cbiesinger%web.de
e92cc5ddfd
78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
...
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin
2003-11-15 15:01:39 +00:00
bryner%brianryner.com
a634aa9436
Only call gnome_program_init() if it hasn't already been called (bug 221012). r=blizzard, not part of the default build.
2003-10-27 10:08:10 +00:00
bzbarsky%mit.edu
13fdf8a043
Return a more useful error code. Partial fix for bug 222501, r=biesi, sr=darin
2003-10-16 23:53:45 +00:00
bryner%brianryner.com
13b10ee36e
Fix two problems with the GNOME helper app code:
...
- Bail out correctly if we failed to open a library
- Open the soname of the library (i.e. foo.so.0 instead of foo.so)
Bug 221217, r=blizzard, sr=darin.
2003-10-15 20:24:45 +00:00
bryner%brianryner.com
82db2f65e9
Assuming bz didn't mean to completely disable GNOME helper apps...
2003-10-12 09:19:15 +00:00
bzbarsky%mit.edu
2adc227764
Make sure we look at ~/.mailcap before going out to the GNOME settings. Bug
...
221042, r=biesi, sr=bryner
2003-10-10 16:18:16 +00:00
bryner%brianryner.com
5eba154d79
Use GNOME application associations for GTK2 builds (bug 128668). r=bzbarsky, sr=blizzard.
2003-09-29 22:04:05 +00:00
cbiesinger%web.de
25a717addf
Bug 33282
...
enable external scheme handlers (like aim: and telnet:) in Linux
This allows setting external protocol handlers via a preference setting:
network.protocol-handler.app.<scheme>
This is supposed to be a string value.
Mozilla will first try to interpret this as an absolute path, then as a filename
relative to $MOZILLA_FIVE_HOME, then as a file in $PATH.
If an application is found in one of these places, it will be called and passed
the complete url as first (and only) argument.
r=jesup/bz sr=bz/darin
2003-09-17 12:47:56 +00:00
bzbarsky%mit.edu
52ab0e743e
Update to take advantage of the new overall logic by returning a MIME info from
...
GetFromType even if there is no handler. Also move some repeated code out into
a function. Bug 214006, r=biesi, sr=darin
2003-07-27 16:27:15 +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
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +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
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
dougt%netscape.com
f2a00efc93
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
2002-09-03 23:36:13 +00:00
alecf%netscape.com
f7b1f37cdf
oops, forgot to check this file in from unix for bug 157624
2002-08-26 22:19:43 +00:00
alecf%netscape.com
f7ad4265ef
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bzbarsky%mit.edu
c6b1e39242
Bug 136670, bug 132688, add PR_LOG capability. r=jkeiser,sr=darin
2002-06-17 23:20:46 +00:00
darin%netscape.com
6fd5862e6e
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
2002-05-07 23:07:19 +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
bzbarsky%mit.edu
97aad157b6
Relanding the Compare --> Equals conversion. a=mcafee
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
98afc5ee0f
Testing performance impact of backout of what's left of the patch from
...
bug 115289. See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
aa018e0dfe
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
2002-02-06 03:35:31 +00:00
bzbarsky%mit.edu
40d60f39ec
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
bzbarsky%mit.edu
9980f27b9c
Make the unix GetFromMIMEType and GetFromExtension functions not clobber
...
the user's neverAsk prefs. Bug 113908, r=law, sr=mscott
2001-12-11 02:56:29 +00:00
darin%netscape.com
b639381424
fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
...
r=dougt, sr=mscott
2001-12-07 00:40:55 +00:00
pete%alphanumerica.com
85d0b5722c
b=112515, r=douft, sr=jst
...
remove spawn method from nsIFile.
/**
Warning nsIFile API change
*/
--pete
2001-12-04 00:27:43 +00:00
bzbarsky%mit.edu
40836c7a18
Don't return a mime info based on mime type if we didn't get a helper to
...
use. Bug 109897, r=cbiesinger@web.de , sr=rpotts
2001-11-27 21:24:32 +00:00
alecf%netscape.com
04bfbdf153
more straggelers from bug 100214 - just adding #includes
2001-10-29 23:14:05 +00:00
bzbarsky%mit.edu
fe3f078d7e
Workaround for RealPlayer abusing mime.types files and fix for broken
...
behavior if an absolute nonexistent path is listed for a helper in
mailcap. Bugs 106380, 106381. r=law, sr=mscott
2001-10-25 14:26:07 +00:00
bzbarsky%mit.edu
b5931459cb
Fixing extension matching for mime.types files so "c" won't match
...
"doc". bug 103489, r=jag, sr=scc
2001-10-18 03:38:52 +00:00
bzbarsky%mit.edu
5fb69e4cb4
Do a case-insensitive compare on the extensions fetched from mime.types
...
files. Bug 101014, r=bbaetz, sr=jst
2001-09-22 01:23:55 +00:00
bzbarsky%mit.edu
90c4609d57
Fix topcrash bug 99057 (crash @
...
GetExtensionsAndDescriptionFromMimetypesFile). r=dbaron, sr=scc
2001-09-18 03:53:25 +00:00
jaggernaut%netscape.com
4c7a6b6ffe
Fixing typo for bz. r=mozbot
2001-08-16 10:22:07 +00:00
bzbarsky%mit.edu
631f1e2203
Adding support for .mailcap and .mime.types files. Bug 52441, r=jag,
...
sr=scc
2001-08-15 22:17:32 +00:00
mscott%netscape.com
4db17fe50b
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
2001-02-07 02:43:18 +00:00
mscott%netscape.com
ac8cc6c8b1
Bug 57347 --> add a null ptr check to prevent a crash.
...
patch contributed by waterson
r=brendan
sr=mscott
2000-12-18 21:46:35 +00:00
mscott%netscape.com
c054dd3653
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
2000-10-04 06:54:47 +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