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

95 Коммитов

Автор SHA1 Сообщение Дата
masayuki%d-toybox.com 8a7cc628ad Bug 153855 Composer does not display a UTF-16 signature in the right way. (with fix UTF-8 BOM problem) r=jshin, sr=mscott 2006-06-29 00:34:28 +00:00
timeless%mozdev.org a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
masayuki%d-toybox.com 7fcaf1d989 Bug 201071 signature file containing accented characters has become corrupted / Bug 153855 Composer does not display a UTF-8 signature in the right way. r=jshin, sr=bienvenu 2006-04-10 15:27:29 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
gerv%gerv.net dfb29e9236 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 18:33:16 +00:00
jshin%mailaps.org 51bc81fa8a bug 229032 : modernize String usages in mailnews (r=neil, sr=mscott) 2004-04-13 04:07:07 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
jshin%mailaps.org 9ab1afb535 bug 228543 : international domain names in URLs are not recognized in email body (r=mscott, sr=bienvenu). In addition, 'const' is added to 'char *' in the function definition of some functions in libmime. 2004-01-04 07:57:16 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +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
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
caillon%returnzero.com 1c580a85d9 182982 - Mailnews utility library needs to use nsIPrefBranch, nsIPrefService, et alia
r=timeless/nhotta sr=bienvenu
2002-12-10 23:52:28 +00:00
sspitzer%netscape.com f60bd335f1 cid to progid cleanup. no bug. 2002-09-27 09:32:06 +00:00
nhotta%netscape.com d9d5b88bde When parsing HTML attachment, ignore UTF-16 charset label because the function is not supposed to parse it,
also avoid the parse when the attachment already has a charset assigned,
bug 160729, r=ducarroz, sr=bienvenu.
2002-08-12 19:10:18 +00:00
nhotta%netscape.com 89005f01ed Move ASCII check before the Unicode conversion,
label charset as "us-ascii" if the body is ASCII only,
bug 86255, r=ducarroz, sr=bienvenu.
2002-07-02 20:21:00 +00:00
nhotta%netscape.com 006d4e404b Check null pointer for arguments of Unicode conversion util functions,
bug 151769, r=ducarroz, sr=bienvenu.
2002-06-17 21:44:51 +00:00
nhotta%netscape.com 52198c4685 Changed the meta parse function for performance,
bug 144917, r=ducarroz, sr=bienvenu.
2002-05-20 19:51:35 +00:00
mstoltz%netscape.com cc4b5969f8 Bug 140133 - Replace unsafe strcpy with strncpy and null-terminate the result.
r=nhotta, sr=heikki
2002-04-30 04:07:57 +00:00
nhotta%netscape.com 0a4a8eba82 Add charset fallback mechanism to nsISaveAsCharset and use it for message headers and plain text body,
bug 109342, r=ducarroz,ftang, sr=bienvenu,sspitzer.
2002-04-25 22:49:19 +00:00
nhotta%netscape.com 69a973b2a6 Use the correct attribute for transliteration. 'transliterate' is an attribute of nsIEntityConverter,
need to use 'attr_EntityAfterCharsetConv', 'attr_EntityNone' skips transliteration at all,
bug 135538, r=ducarroz, sr=sspitzer, a=asa, adt.
2002-04-06 00:19:39 +00:00
nhotta%netscape.com 97b33d4e03 Adding a check after the conversion to check the consumed length, changed nsMsgI18N7bit_data_part,
bug 128908, r=ducarroz, sr=sspitzer, a=asa.
2002-03-05 23:57:01 +00:00
taka%netscape.com 1bca41b949 Re-write RFC-2047 encoder. bug 73403 12699 37088 98675 102610 104447 119079, r=nhotta, sr=mscott 2002-02-20 07:18:11 +00:00
nhotta%netscape.com 1ee9b14b33 Changed to use the service for nsIMimeConverter, bug 123699, sr=mscott. 2002-02-20 03:05:46 +00:00
nhotta%netscape.com 5f883a9e95 Changed to use the non nsString version of nsITextTransform::Change which saves the allocation for nsString, plus clean up,
bug 125077, r=ducarroz, sr=sspitzer.
2002-02-20 03:04:24 +00:00
dbaron%fas.harvard.edu 59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +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 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
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
nhotta%netscape.com 114cd099c6 Changed to only do the charset conversion when the data is non ASCII, bug 116101, r=naving, sr=sspitzer. 2002-01-09 22:37:28 +00:00
nhotta%netscape.com f06c04cc45 In ConvertToUnicode() call IsAscii before doing the optimization for ASCII, bug 116264, r=ducarroz, sr=sspitzer. 2002-01-09 20:53:11 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
nhotta%netscape.com 89c29421d0 Added default charset to nsIMsgCompFields, removed nsMsgI18NGetDefaultMailCharset, bug 110127, r=ducarroz, sr=bienvenu. 2001-12-01 17:39:17 +00:00
alecf%netscape.com f026e50d2f Fix for bug 110371 - remove uconv dependency from nsFileSpec by moving unicode-related routines into mailnews. sr=sspitzer, r=nhotta 2001-11-19 15:28:56 +00:00
nhotta%netscape.com a1e7be4688 Changed to use char* for charset instead of nsString& for i18n functions, bug 108932, r=ducarroz,sr=sspitzer. 2001-11-15 02:00:32 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
nhotta%netscape.com 307fbadb70 Changed to use local stack for charset conversion util functions, bug 108914, r=ducarroz, sr=sspitzer. 2001-11-09 23:57:15 +00:00
jaggernaut%netscape.com f02611e9eb Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-29 09:27:57 +00:00
nhotta%netscape.com 8465fb9bac Fix the window close problem for saveAs in .js, enable the charset alert in .cpp and some clean up,
bug 89655, r=ducarroz, sr=bienvenu.
2001-10-23 23:25:02 +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
sspitzer%netscape.com c19061cb8d fix for #97585. if the user happens to have a directory for their sig file, don't go into
an infinite loop.  r=ducarroz, sr=bienvenu
2001-09-05 22:24:43 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
nhotta%netscape.com 66c673cd94 When the pref "mail.strictly_mime_headers" is off, send as mail charset instead of UTF-8,
bug 68394, r=ducarroz,sr=bienvenu.
2001-07-18 19:46:03 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00