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

392 Коммитов

Автор SHA1 Сообщение Дата
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
alfred.peng%sun.com d54f29958e 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 218045e9fd fixing win32 bustage 2006-06-28 22:54:40 +00:00
darin%meer.net 1bda9a04bc 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 4a2fa425a7 bug 284219 addendum, missed biesi's review comment 2006-06-22 22:21:52 +00:00
dveditz%cruzio.com 506140bd0c 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 f51ee5d8fd Bug 339726 - getter_Copies (internal API) should work with nsString, r=darin 2006-05-31 14:28:14 +00:00
benjamin%smedbergs.us 08887664c9 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 621c803bd5 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
timeless%mozdev.org 1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bryner%brianryner.com ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
timeless%mozdev.org 9b0852aaf7 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 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 11d61012cd Fix stupid mistake in previous commit. Bug 316394, caught by smontagu 2005-11-17 15:13:25 +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
bsmedberg%covad.net a4d3866df3 Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 14:43:22 +00:00
bsmedberg%covad.net a7253270ad 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 33ca187193 Bug 315438 - Want nsTAString const char_type* BeginWriting() const; signature r=darin 2005-11-08 14:16:16 +00:00
bzbarsky%mit.edu aee1056ad7 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 acf28ad4d1 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 ddd7501923 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
bsmedberg%covad.net f0d2e05a7e 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
bsmedberg%covad.net 8992fb4c7d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net e9c48557e9 Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard 2005-08-11 20:40:53 +00:00
darin%meer.net 08464ff71a fixes bug 297973 "It's possible to allocate a nsAString in the Gecko SDK" r=bryner sr=dbaron a=asa 2005-06-20 17:26:56 +00:00
darin%meer.net 3b218b11f8 fixes bug 288786 "Add BeginWriting equivalent to frozen string API" r=biesi sr=dbaron a=asa 2005-04-27 01:38:35 +00:00
bsmedberg%covad.net 7e03c0b224 Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
dbaron%dbaron.org 34a6bff9a1 Calculator should not underestimate converter. b=241440 Patch from <wind.li@sun.com>. r=dbaron sr=dveditz a=dveditz 2005-02-17 20:17:13 +00:00
darin%meer.net c4287b12c7 fixes bug 277549 "Out of memory in MutatePrep is not well handled" r=dveditz sr=dbaron a=asa 2005-02-16 07:20:20 +00:00
darin%meer.net dd78f625f5 landing xpcom patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=dbaron sr=jst 2005-02-02 22:18:37 +00:00
bryner%brianryner.com 742738a46c Add --disable-v1-string-abi option to remove backwards-compatible support for the nsAString vtable. Bug 273424, r+sr=darin. 2005-01-24 16:44:41 +00:00
cbiesinger%web.de 13bd35b35a Bug 274086 fix "unused variable" warning in opt builds, which prevent building
with -Werror
patch by Crispin Flowerday <crispin@flowerday.cx> r=bsmedberg sr=darin
2004-12-15 17:25:42 +00:00
darin%meer.net 9aee2fe67a fixes bug 270110 "Add versions of nsDependentString and friends to the Gecko SDK" r=bsmedberg 2004-11-30 00:57:24 +00:00
darin%meer.net e149e8077b fixes bug 271630 "XPCOM glue broken on Linux/PPC [monkeypox orange]" r=bsmedberg 2004-11-30 00:28:48 +00:00
bryner%brianryner.com 2a500b8d07 Reduce string copying and allocation in the parser by only copying the scanner buffer when we need to mutate the string. Allow a nsDependentString / nsDependentSubstring to be created without being bound to anything. Move StripChar() onto nsSubstring from nsString. Bug 269853, r=jst, sr=darin. 2004-11-25 07:03:20 +00:00
timeless%mozdev.org 6abcae9c71 Bug 270768 spelling
rs=brendan
2004-11-24 00:54:11 +00:00
darin%meer.net 90246214db fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
bsmedberg%covad.net 82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
darin%meer.net 52ac61d678 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
bryner%brianryner.com 60809809d5 HPUX aCC A.01.21 can't deal with the literal string template, so disable it, at least for this compiler version. Bug 239465, r=dbaron. 2004-09-05 22:55:34 +00:00
db48x%yahoo.com 71f9388bc5 bug 244956: Small correction to comments in nsStringAPI.h
patch by Jonathan Watt <jonathan.watt@strath.ac.uk>, r/sr=shaver
2004-07-30 16:00:59 +00:00
cbiesinger%web.de 07e6f643be adding missing NS_COM to fix win bustage 2004-07-25 13:58:47 +00:00
cbiesinger%web.de 95f74ea211 remove InsertWithConversion
Bug 113234 r=darin sr=dbaron
2004-07-25 12:25:43 +00:00
cbiesinger%web.de 8148905a30 Bug 113243 Get rid of (Compare|Equals)WithConversion
r=darin sr=dbaron
2004-07-25 12:23:28 +00:00
cbiesinger%web.de edd98105f6 Bug 252541 remove nsString::IsSpace and nsString::IsASCII
r=darin sr=dbaron
2004-07-25 12:12:39 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +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
cbiesinger%web.de c36edfc815 fixing bustage... 2004-06-11 16:39:38 +00:00