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

53 Коммитов

Автор SHA1 Сообщение Дата
ben%bengoodger.com 100019a66e 282196 - need to access arbitrary metdata on default application handler (windows) - make nsMIMEInfoWin implement nsIPropertyBag with property keys to access moz-icon URIs for default and preferred application handlers. r=biesi sr=bz
252189 - retrieve proper application handler names from windows registry/binary VERSIONINFO metadata r=biesi sr=bz
2005-02-25 09:02:14 +00:00
cbiesinger%web.de 23938c8252 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin
2004-06-11 15:47:57 +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 6ad20397bf Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
cbiesinger%web.de f37da693e3 bug 235695, one constructor is enough for nsMIMEInfoBase and subclasses
r=bzbarsky sr=darin
2004-03-06 14:43:30 +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 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
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
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
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
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
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 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 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
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
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
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
mscott%netscape.com 8c372a328b Bug #80866 --> new helper app dialog design. Re-implement Get/SetAlwaysAskBeforeHandling to remember in two
sets of preferences.

r=hewitt
sr=sspitzer
2001-06-28 02:18:13 +00:00
valeski%netscape.com b0217bd1ff whoops, that's supposed to be a 32bit int 2000-09-27 20:25:15 +00:00
valeski%netscape.com 8e3f2ce2da r=brendan,a=brendan. 54127. This change cleans up a leak when we run out of memory, and reduces allocation of the file extension buffer by 2x. it also dumps the count to a local variable to do away w/ memory ambiguity using a pointer to elementCount 2000-09-27 19:50:59 +00:00
scc%mozilla.org ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org 3f0620d231 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
valeski%netscape.com 83689d9542 39797. r=mscott. MAC was sending back an empty string as the mime type down in the MIMEService, now we return an error in the mime service if we confront this, and that causes HTTP to produce a default type 2000-07-21 23:52:36 +00:00
mscott%netscape.com 3ddf6e8910 Bug #43583 --> new state for using system default. Add a separate boolean
for asking the user before handling.
r=alecf
2000-07-11 23:11:59 +00:00
mscott%netscape.com 0a50c9d984 Bug #38374 --> fix refcounting problem on the application field
r=sspitzer
2000-06-21 20:38:52 +00:00
mscott%netscape.com 7e2fbded6f Bug #38374 --> add application and user preferred handle action to mime info.
I'm going to be storing this information in the helper app code.
r=valeski
2000-06-21 06:34:43 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mccabe%netscape.com e9209489d7 change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
davidm%netscape.com 9f33ae5ce0 Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list 2000-04-19 04:45:30 +00:00
scc%netscape.com 94b0861716 making string conversions explicit 2000-04-15 07:05:34 +00:00
davidm%netscape.com e5bf8b4556 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
scc%netscape.com 8b2f93643b making string conversions explicit 2000-04-02 08:34:55 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
valeski%netscape.com 365fede8f7 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com 449efd53a6 r=rhp. nsIMIMEInfo and nsIMIMEService have been revamped (there's one more small iteration coming tomorrow). nsIMIMEInfo has been extended and the service has been multi indexed using file extensions *and* the MIME type as keys. 2000-01-24 15:41:03 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
kipp%netscape.com 78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
valeski%netscape.com 99a28ebe09 factored repeated mime type retrieval implementations into mime mapping service methods 1999-08-01 16:42:25 +00:00
warren%netscape.com 7b13572242 Fixed UMR / refcounting problem (purify). 1999-07-28 04:02:07 +00:00