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

25 Коммитов

Автор SHA1 Сообщение Дата
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
valeski%netscape.com 998b3f60b0 changed mime map service to use nsHashtabel 1999-07-16 21:56:54 +00:00
valeski%netscape.com e234ad9dc3 adding warning comment 1999-07-13 23:39:31 +00:00
valeski%netscape.com ad4fca8f6b adding mime type resolver module. 1999-07-02 20:08:27 +00:00