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

730 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com 05f83fbe5d Fixing bug 230849. Making LossyCopyUTF16toASCII() and CopyASCIItoUTF8() truncate the destination even when the source is null. r=jshin@mailaps.org, sr=peterv@propagandism.org 2004-01-14 19:26:17 +00:00
peter%propagandism.org 21e7e7a67f Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:24:11 +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
peter%propagandism.org 93e0a01614 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 12:58:29 +00:00
peter%propagandism.org 0b431feb53 Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 11:59:54 +00:00
peter%propagandism.org 8658999689 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 09:35:48 +00:00
timeless%mozdev.org 346f57ac0a Bug 221826 only create stack objects in Cut if they'll be used
r=dbaron sr=dbaron
2003-10-12 23:28:31 +00:00
peter%propagandism.org 4c00c9dd8c trying to fix bustage. 2003-10-09 17:02:05 +00:00
peter%propagandism.org 9059682e5b Move voidable string into xpcom. Part of fix for bug 221387 (XPathExpression.createExpression doesn't throw NAMESPACE_ERR). r=bz, sr=dbaron. 2003-10-09 16:15:29 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
cls%seawood.org 74a903bcdb Move mozilla/string into mozilla/xpcom/.
Bug #214700 r=dougt sr=leaf a=mkaply
2003-08-14 23:50:21 +00:00
dougt%meer.net ed09f93043 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
jaggernaut%netscape.com ac2ee6a6b1 Bug 151916: substring helpers for start and end (StringHead, StringTail, Substring(string, start)). r=dbaron, sr=bzbarsky 2003-07-14 07:42:24 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dwitte%stanford.edu d78b684d26 Bug 113733: nsXPIDLCString doesn't have an assignment operator.
adds |operator=( const self_type& )| to nsSharable{C}String and nsXPIDL{C}String, to prevent the compiler from synthesizing its own (which won't do the right thing).

This should fix a bunch of XPIDLString-related cfront compile warnings.

original patch by jag, updated by me; r=dbaron, sr=jag.
2003-07-12 07:14:37 +00:00
dbaron%dbaron.org 7f9ed75392 Make ns[C]String::AppendFloat locale-independent. b=209569 r=jag sr=bzbarsky 2003-07-09 06:53:44 +00:00
darin%netscape.com ca48f5672f fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag 2003-07-02 21:20:14 +00:00
jshin%mailaps.org 4f939c139c bug 183156 (a part of) : rename CopyUTF16toASCII as LossyCopyUTF16toASCII (r,sr=jag) 2003-06-27 07:44:13 +00:00
dbaron%dbaron.org 3852bff4c9 Keep the pointer version of NS_ConvertUTF8toUTF16 null-safe. b=210279 r+sr=jag 2003-06-24 05:42:05 +00:00
jshin%mailaps.org b33261e746 bug 183156 : replace UCS2 in function/method names with UTF16 and update the
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
jaggernaut%netscape.com 6d16320259 Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
jst%netscape.com 2d0b6d2c00 Fixing part of bug 209699 (and more of bug 87677). Implement char* and PRUnichar* versions of Copy/AppendUTF*toUTF*(). r=alecf@flett.org, r=dbaron@dbaron.org, sr=jaggernaut@netscape.com 2003-06-19 05:17:55 +00:00
jst%netscape.com 3624ae8b21 Fixing typo in comment. 2003-06-18 06:52:16 +00:00
jst%netscape.com d98c2ff1e8 Fixing typo in comment. 2003-06-17 16:30:35 +00:00
jst%netscape.com 5e31f0fbb6 Fixing bug 87677. Making AppendUTF[8|16]toUTF[16|8]() not copy the string twice when not needed. r=jaggernaut@netscape.com, sr=dbaron@dbaron.org 2003-06-17 16:30:17 +00:00
dbaron%dbaron.org 18b8c334fb Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Make various tweaks to improve performance of conversion between UCS2 and UTF-8 (both ways). b=206682 r=jag sr=jst 2003-06-11 04:27:13 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
jshin%mailaps.org ff38b26577 bug 183156 : the first step : replace UCS2 in function names with UTF16
(r=peterv, sr=alecf)
2003-06-05 11:44:06 +00:00
jst%netscape.com a159b5a1eb Fixing bug 87677. Implementing {Copy,Append}[UCS2|UTF8]to[UTF8|UCS2](). Lame implementations for now, but at least people can start using these methods to avoid double copying all over (this doesn't eliminate the double copy, but it isolates it). r=jaggernaut@netscape.com, sr=alecf@flett.org. 2003-05-31 06:03:18 +00:00
dbaron%dbaron.org c6ff914d34 Backing out my checkin for bug 206682 due to performance regression (slowing down NS_ConvertUCS2toUTF8). 2003-05-23 00:32:54 +00:00
dbaron%dbaron.org 06133b6d3c Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Fix null-termination bug in UTF8ToNewUnicode. b=206682 r=jag sr=alecf a=brendan 2003-05-22 21:25:43 +00:00
dbaron%dbaron.org 77bf6f4e26 Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293 2003-05-21 22:20:27 +00:00
darin%netscape.com 4363120933 fixes bug 199221 "provide inline implementations of common string methods" r=dbaron sr=jag 2003-04-02 06:24:47 +00:00
jshin%mailaps.org a5ddc8b721 bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf 2003-03-25 08:11:13 +00:00
seawood%netscape.com b92a5778a0 Fix signature of standalone embedstring version of |Distance|.
Bug #198276 r=jag sr=dbaron
2003-03-25 06:46:49 +00:00
seawood%netscape.com dca257bd56 Change |Distance| definitions to match forward declaration in nsReadableUtils.h. Fixing Forte bustage.
Thanks to David Baron <dbaron@dbaron.org> for the patch.
Bug #198276 r=jag sr=bz
2003-03-20 04:52:54 +00:00
dougt%netscape.com 4a82c99291 defined correctly fixed 2003-03-19 02:16:07 +00:00
dougt%netscape.com 205012131f pilot error 2003-03-19 02:11:34 +00:00
dougt%netscape.com d4aa052205 relanding dwitte's string work "Excessive inlining in string libs" with a minor change to fix a build bustage. bug 196506. r=dbaron, sr=alec 2003-03-18 23:48:44 +00:00
heikki%netscape.com 96cf1d190e Backing out bug 196506 and build fix attempt. 2003-03-18 01:58:15 +00:00
heikki%netscape.com 315a64bb5c Bustage fix from dwitte. 2003-03-18 01:17:18 +00:00
timeless%mozdev.org 62c1c6702e Bug 196506 Excessive inlining in string libs: Substring()
patch by mvl@exedo.nl r=dougt sr=alecf
2003-03-17 23:16:16 +00:00
alecf%netscape.com 4358844234 update API docs so that I don't get false positives for GetUnicode()
(not part of build, just a doc)
2003-03-11 23:26:18 +00:00
glazman%netscape.com df24ff7c3f backing out dwitte's changes from last bbaetz check in (at his request) 2003-03-10 10:28:40 +00:00
bbaetz%acm.org 0faaca3203 Bug 196506 - Excessive inlining in string libs: Substring()
patch by dwitte@stanford.edu, r=timeless, sr=dbaron
2003-03-10 08:10:20 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
jaggernaut%netscape.com 85174f51b9 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00