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

65 Коммитов

Автор SHA1 Сообщение Дата
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