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

43 Коммитов

Автор SHA1 Сообщение Дата
dbaron@dbaron.org d7e5cb7c5b Fix -Wconversion warnings that prevent compiling netwerk/cookie/src/ (which makes warnings fatal) with gcc 4.3 on x86_64. b=409384 r=bsmedberg a=beltzner 2008-03-06 15:03:50 -08:00
benjamin@smedbergs.us 4d7ff5db89 Bug 409384 - Firefox 3.0b2 fauks to compile with gcc 4.3, r=dwitte+dbaron a=damons 2008-02-26 14:44:41 -08:00
dwitte@stanford.edu 84e6172062 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep 2008-01-03 16:07:06 -08:00
benjamin@smedbergs.us fd5b74bf13 Bug 396052 - Firefox fails to start when run from a directory with non-native characters, r=luser sr=neil 2007-12-31 07:15:43 -08:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
timeless%mozdev.org cfde29cd47 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
updating comment
2006-12-24 12:27:45 +00:00
timeless%mozdev.org f2a71aa0dd Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:13:58 +00:00
smontagu%smontagu.org 63552c0f0c Prevent the IS_*_SURROGATE macros from identifying code points in supplementary planes as surrogates. Bug 347867, r+sr=darin 2006-08-10 10:12:37 +00:00
jshin%mailaps.org 29c5a75f9a bug 317281 : Make UCS4 to High/Low surrogate pair a little bit more efficient (r=smontagu, sr=bz) 2005-11-22 07:48:49 +00:00
bzbarsky%mit.edu add8c53fcc Fix build bustage. Bug 316394 2005-11-15 19:18:26 +00:00
bzbarsky%mit.edu 79da4ded63 Move some basic macros for working with UTF16 from intl to XPCOM; use them in
some places including the HTML parser.  Part of fix for bug 316394; the CSS
parser changes are still coming.  r=smontagu, r=mrbkap on parser changes, sr=dbaron
2005-11-15 18:17:22 +00:00
roc+%cs.cmu.edu 442a384196 Bug 226439. Make nsCharTraits<PRUnichar>::ASCIIToLower handle Unicode characters whose lowercase form is ASCII. r+sr=darin 2004-06-16 23:29:49 +00:00
roc+%cs.cmu.edu 07612ec0fd Bug 226439. Add ASCII and Literal versions of Append, EqualsIgnoreCase, and Assign. r+sr=darin 2004-06-06 02:17:00 +00:00
roc+%cs.cmu.edu 0cd525a091 Bug 226439. Add EqualsASCII(char*) string method that compares with a null-terminated char* in a single pass. Have the non-templated EqualsLiteral use it. r+sr=dbaron 2004-04-30 12:05:14 +00:00
roc+%cs.cmu.edu a1950ea73d Bug 226439. Use templates for ultra-efficient EqualsLiteral string method. r=darin,sr=dbaron. THIS MAY CAUSE BUSTAGE. DO NOT BE ALARMED. 2004-04-24 22:02:22 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
dwitte%stanford.edu 857bdeb8cf fix regression due to silly casting fu.
b=225887, r=bryner, sr=alecf, a=dbaron.
2003-11-20 21:33:50 +00:00
dwitte%stanford.edu a80c072618 removing unnecessary branch.
b=225887, r=jag, sr=alecf.
2003-11-18 12:31:25 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jaggernaut%netscape.com 3757c27e22 Bug 105987: Clean up nsCharTraits.h, use slightly faster implementations where possible, r=dbaron, sr=scc. 2001-10-27 09:40:08 +00:00
jaggernaut%netscape.com e11ae39556 Bug 102523: Non-ASCII characters are showing up as '?'s in certain cases because the ASCII to UCS2 code which we recently started using more was doing an incorrect conversion. r=bbaetz, r=dbaron, rs=scc 2001-10-02 10:18:31 +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
scc%mozilla.org 244db7b43b bug #74726: sr=waterson, r=beard. Make |nsXPIDLC?String| inherit from |nsSharableC?String|, the new implementation is now in the string hierarchy (and out of string/obsolete). 2001-06-29 12:47:43 +00:00
scc%mozilla.org 70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
scc%mozilla.org 3cbbb0afad fix |const| error 2000-09-09 10:17:45 +00:00
scc%mozilla.org 13b55a5fda time to add that specialization of |nsCharSourceTraits<PRUnichar>|, not having it is probably hosing speedracer, r=waldemar 2000-09-02 06:03:50 +00:00
scc%mozilla.org c18e089b7a oops. fix windows bustage 2000-09-02 04:57:36 +00:00
scc%mozilla.org e52e438806 bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge 2000-09-02 04:10:44 +00:00
scc%mozilla.org 332cbbead7 fixed |nsCharSinkTraits<T>::write| as per bug #46462; r=beard, a=waterson 2000-08-09 08:26:12 +00:00
scc%mozilla.org 3446bda5c3 fixing OS/2 VisualAge platform bustage, and bad dates in licenses 2000-06-18 05:00:31 +00:00
scc%mozilla.org 752a6ca4ce Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. These are stragglers missed in an earlier checkin. 2000-06-03 00:38:06 +00:00
scc%mozilla.org 80e3b6a3ae Bug #39686. Made an |NS_COUNT|. Put it in the new file "nsAlgorithm.h", to which I also moved |NS_MIN| and |NS_MAX| from "nscore.h", and |copy_string| and |copy_string_backward| from "nsAReadableString.h". Also fixed non-standard include-guards. r={sford, jag} 2000-05-20 20:43:26 +00:00
scc%mozilla.org 3730f50409 ugh. Fix to placate egcs. |static_cast| should be sufficient for a |void*|, but egcs seems to need |reinterpret_cast| 2000-05-20 19:08:36 +00:00
scc%mozilla.org 82bbf19a82 Fixing platform bustage only caught by SunOS Workshop. Need a |const| in a cast to avoid casting away |const|-ness. r=jdunn 2000-05-20 18:22:05 +00:00
scc%netscape.com e55217832f getting ready to turn this stuff on, changes related to that: empty strings specified with null pointer, a couple of other fixes. 2000-05-13 20:17:35 +00:00
scc%netscape.com d3d0b85749 Changed some comments 2000-05-12 05:17:51 +00:00
mjudge%netscape.com 3c00091d57 scc string fixes 2000-04-26 00:55:37 +00:00
pavlov%netscape.com 64baf8c0ac add typename to make linux compiler happy r=scc 2000-04-23 05:54:36 +00:00
scc%netscape.com 44d068215d Added |nsCharSourceTraits| and |nsCharSinkTraits| to better facilitate copying from arbitrary char sources into arbitrary char consumers 2000-04-21 01:20:55 +00:00
scc%netscape.com f0e3d7164f Added a new type, |incompatible_char_type| to help build signatures that prevent automatic incorrect promotion from |char| to |PRUnichar|. Kind of a hack, but the right way (specializing |nsAWritable| for |PRUnichar| can't be made to compile everywhere) 2000-04-14 23:19:14 +00:00
scc%netscape.com 045cc4e9ba resolving ambiguities; getting the new string APIs to build everywhere 2000-03-23 22:42:34 +00:00
scc%netscape.com 931f86c6b0 First Checked In. 2000-03-23 21:09:27 +00:00