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

868 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.org 67a43f7d06 Fixing bug 395651. Make our UTF-8 and UTF-16 comparison code etc more robust when dealing with invalid UTF-16 data. r+sr=jonas@sicking.cc, a=jst@mozilla.org/jonas@sicking.cc 2007-09-14 23:09:49 +00:00
jst%mozilla.org c88ff4b755 Fixing bug 394275. Fix problem with UTF16 to UTF8 character conversions when dealing with broken UTF16 characters. r+sr=jonas@sicking.cc 2007-09-07 20:28:27 +00:00
jwalden%mit.edu f49fc51830 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-05 06:41:37 +00:00
bent.mozilla%gmail.com 0faf4e19d2 Bug 385250 - "IsVoid and IsTerminated may return something other than PR_TRUE and PR_FALSE". r=dbaron, sr=jag, a=bz. 2007-08-20 03:09:30 +00:00
philringnalda%gmail.com 37dcc4ebb0 Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz 2007-08-18 03:48:17 +00:00
aaronr%us.ibm.com 8828d0b026 make nsStringContainer_base smaller bug 390849, r+sr+a=bsmedberg 2007-08-07 23:37:44 +00:00
benjamin%smedbergs.us a311b83259 Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 20:13:19 +00:00
asqueella%gmail.com 443eac5de1 Bug 339069 - Optimization for RFindInReadable
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dbaron
2007-07-24 01:30:19 +00:00
jst%mozilla.org 59a9df672e Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org 2007-07-11 20:46:43 +00:00
neil%parkwaycc.co.uk 11d0936e48 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 08:46:49 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
jruderman%hmc.edu 39c5dfdac4 Fix bug 383426 (OOM crash). r=peterv, sr=roc. 2007-07-03 06:03:11 +00:00
bent.mozilla%gmail.com 2da8518721 Bug 379565 - "Figure out a way to prevent people from using static ns(C)String instances". r=bsmedberg. 2007-05-16 20:10:18 +00:00
timeless%mozdev.org 3d7df47eff Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
updating comment
2006-12-24 12:27:45 +00:00
timeless%mozdev.org ff9c853c48 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:13:58 +00:00
timeless%mozdev.org 4c88c8a7ac Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
mozilla%weilbacher.org 549a7d3575 Fix XPCOM build break on OS/2, see bug 345517. p=abwillis1, r=benjamin 2006-12-07 22:54:18 +00:00
benjamin%smedbergs.us 77343e76ae From bug 345517 - fix adoptcount logging for the frozen string API, r=darin 2006-11-10 20:05:04 +00:00
smontagu%smontagu.org c43db5189e 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
alfred.peng%sun.com e2f791fe98 Bug 347170 nsAString.h and nsSubstring.h should use && instead of &
jst: review+
darin: superreview+
2006-08-04 08:36:36 +00:00
darin%meer.net 2b3e7293f4 fixing win32 build bustage 2006-06-28 23:49:57 +00:00
darin%meer.net d15d2cd88d fixing win32 bustage 2006-06-28 22:54:40 +00:00
darin%meer.net f82984eee5 fixes bug 335957 "Provide method to resize-and-get mutable string data" r=dbaron 2006-06-28 22:11:39 +00:00
dveditz%cruzio.com 07b9556dd1 bug 284219 addendum, missed biesi's review comment 2006-06-22 22:21:52 +00:00
dveditz%cruzio.com f3e1ecabf0 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
benjamin%smedbergs.us 4d5d0f8fb0 Bug 339726 - getter_Copies (internal API) should work with nsString, r=darin 2006-05-31 14:28:14 +00:00
bzbarsky%mit.edu dd44729d20 Do better logging of string leaks. Bug 336914, r+sr=darin 2006-05-12 03:36:37 +00:00
benjamin%smedbergs.us 6cb145f253 Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
darin%meer.net aed45f7b66 fixes bug 327719 "Passing a big double serialize a rounded double" patch by afatecha@idea.com.py r=dbaron sr=darin 2006-03-15 14:23:11 +00:00
bryner%brianryner.com e4a4946189 Backing out patch for bug 328755 due to crash regression bug 328842. r=darin. 2006-03-01 00:38:15 +00:00
bryner%brianryner.com 19a0c4915e Don't allocate a buffer when assigning a zero-length string, just call Truncate() instead (bug 328755). r=darin. 2006-02-27 19:44:48 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
darin%meer.net 61e0f802ae fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard and doesn't clear F_VOIDED flag" r=bzbarsky 2006-02-04 00:42:18 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bryner%brianryner.com 82d6fa213e Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
timeless%mozdev.org 3db428f6ac Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
jshin%mailaps.org 63deef0005 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 b62746498b Make definition match declaration for AppendUCS4ToUTF16. Bug 316859, patch by
Greg Onufer <gonufer@yahoo.com>, r+sr=bzbarsky
2005-11-20 19:21:48 +00:00
bzbarsky%mit.edu c839e0fd36 Fix stupid mistake in previous commit. Bug 316394, caught by smontagu 2005-11-17 15:13:25 +00:00
bzbarsky%mit.edu 68ad0ac6e7 Fix build bustage. Bug 316394 2005-11-15 19:18:26 +00:00
bzbarsky%mit.edu c53597de74 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
bsmedberg%covad.net 123e65e0e5 Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 14:43:22 +00:00
bsmedberg%covad.net 1172c33dfc Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
bsmedberg%covad.net f863dad70b Bug 315438 - Want nsTAString const char_type* BeginWriting() const; signature r=darin 2005-11-08 14:16:16 +00:00
bzbarsky%mit.edu e64707f230 Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
hashtable lookups zero-copy.  Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net fabafe8410 Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
2005-11-02 20:38:21 +00:00
bryner%brianryner.com ae4d72a21a Don't use memcpy for single-character Replace/Assign since it performs worse than simple assignment. Bug 312681, r+sr=darin. 2005-10-17 16:28:21 +00:00
dbaron%dbaron.org b0c000815d Back out bug 311456, at least for now, because it caused bug 311676. 2005-10-09 09:48:25 +00:00
darin%meer.net d1167d4472 fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard" r+sr=bzbarsky 2005-10-07 21:52:18 +00:00
bsmedberg%covad.net b1280c03e0 Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00