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

155 Коммитов

Автор SHA1 Сообщение Дата
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
mscott%netscape.com fe1d0067c7 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski
2000-09-08 00:12:51 +00:00
mscott%netscape.com ec140450ed Bug #43583 --> updates for helper app launching to work with the dialog. 2000-07-07 01:48:57 +00:00
sspitzer%netscape.com b4bc92c13e work for bug #38374
helperApps.rdf is now mimeTypes.rdf.
use the file locator to get the mimeTypes file.
fix the unix implementation of nsOSHelperAppService.cpp
to go to the base class to determine what application to launch.

r=mscott
2000-06-22 22:14:53 +00:00
mscott%netscape.com 12c698bd7d Bug #38374 --> NOT PART OF THE BUILD YET!!!!
more unix updates for helper application support
2000-06-21 08:37:32 +00:00
mscott%netscape.com aa9a9a15c6 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

unix updates
2000-06-21 08:34:58 +00:00
sspitzer%netscape.com 5614a99a6a Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD) r=mscott 2000-06-20 20:43:54 +00:00
mscott%netscape.com 3b25aa7f15 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Unix stub files for the OS helper app service implementation.

a=granrose
2000-06-20 18:22:47 +00:00