Commit Graph

291 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
jaggernaut%netscape.com
85174f51b9 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00
dougt%netscape.com
3b838a1833 Fixing crash in NS_MsgStripRE() due to multiply-linked strings. b=189591, sr=dbaron, r=me 2003-01-22 00:21:48 +00:00
timeless%mozdev.org
58d1e9667c fixing comment about PRUnichar* ToNewUnicode
rs=brendan
2002-11-08 11:43:58 +00:00
jaggernaut%netscape.com
0355aca524 Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc 2002-11-06 21:11:24 +00:00
dougt%netscape.com
ff5fb46b69 177173 - Exports required string headers to SDK, r=jag, sr=alecf, a=robert@ocallahan.org 2002-10-30 14:11:03 +00:00
dougt%netscape.com
20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
bryner%netscape.com
025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dougt%netscape.com
1891cc66bb Freezes nsAString, nsACString, nsAUTF8String. r=dougt, sr=alecf, a=brendan b=125389 2002-08-01 17:52:56 +00:00
dbaron%fas.harvard.edu
e9a21ed5cb Make GetImplementationFlags more useful/extensible by changing the default implementation to return zero rather than returning the flags from the shared buffer handle, and add a constant for one expected future use. b=109571 r=jag sr=scc 2002-05-17 02:53:34 +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
336c5502e1 Bug 139649: Fix string code to use IsDependentOn instead of depending on nsAPromiseString type. r=scc, sr=darin 2002-05-15 03:28:44 +00:00
alecf%netscape.com
9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
dbaron%fas.harvard.edu
9980cfd68d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 02:28:08 +00:00
dbaron%fas.harvard.edu
6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dp%netscape.com
5e6e8206e8 bug 119631 nsSlidingString using a delete callback function r=dbaron@fas.harvard.edu, sr=jaggernaut, a=asa 2002-03-02 21:22:41 +00:00
dbaron%fas.harvard.edu
16aa3888b2 nsDependentSingleFragmentSubstring shouldn't pretend to have a flat buffer, since it's only guaranteed to be single fragment, not null-terminated. b=122727 sr=jag r=alecf 2002-02-19 02:17:09 +00:00
hwaara%chello.se
4f52a4c146 #123347, "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
#123354, "Remove nsAFlatString.cpp and nsDependentString.cpp"

r/sr=jag, shaver
2002-02-06 15:39:52 +00:00
hyatt%netscape.com
5a9651340a Fix string fragments to compile in Objective C++ (for Cocoa widgets). r=danm, sr=brendan 2002-01-24 23:05:18 +00:00
jst%netscape.com
50295b2702 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com 2002-01-17 04:08:14 +00:00
dbaron%fas.harvard.edu
576dd5d5d9 Fix HP bustage. 2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu
805497ce05 Create a mechanism for allowing a |Destroy| method to be called on buffer handles whose refcount hits 0 instead of |delete|. Use that mechanism to fix threadsafety problems with shared empty buffer handles, restoring sharable strings to their previous state of threadsafety. b=117153 sr=jag r=alecf 2002-01-16 03:08:22 +00:00
jaggernaut%netscape.com
977fa5cca7 Hitching a ride with bug 117440: Make nsPrintfCString inherit from nsAFlatCString instead of nsACString, r=darin, sr=alecf 2002-01-09 04:35:28 +00:00
jaggernaut%netscape.com
6cb69b170f Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc 2001-12-23 02:56:41 +00:00
jaggernaut%netscape.com
cd66e519ad Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms. 2001-12-20 06:12:49 +00:00