dbaron%dbaron.org
2f9ee1d02f
Make ns[C]String::AppendFloat locale-independent. b=209569 r=jag sr=bzbarsky
2003-07-09 06:53:44 +00:00
jshin%mailaps.org
875f814f7e
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
dbaron%dbaron.org
fe123b96af
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
dbaron%dbaron.org
658c2c6f6b
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
f7f050082f
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
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
dbaron%fas.harvard.edu
0bea4c5247
Go back to PR_strtod since strtod does different things in different locales. b=183211 sr=bzbarsky r=caillon
2002-12-04 04:43:30 +00:00
bratell%lysator.liu.se
4910d76401
Bug 165877 - ToFloat never reported when the string wasn't a legal float. Also switch to strtod for a small performance win. r=jaggernaut@netscape.com, sr=alecf@netscape.com
2002-12-02 09:30:59 +00:00
jaggernaut%netscape.com
7147157dc4
Bug 162017: first step to inlining nsStr. r=kaie, sr=alecf
2002-09-17 13:56:34 +00:00
henry.jia%sun.com
a91d8eb112
Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
...
Patch by bratell@lysator.liu.se
r=jag, sr=alecf
2002-08-14 04:13:38 +00:00
bzbarsky%mit.edu
3fa8d76548
Change ToInteger to not silently drop '+' and '#' in mid-string. Bug
...
54142, r=timeless, sr=jag
2002-06-21 02:22:48 +00:00
timeless%mac.com
44d11ca826
Bug 136756 http://bugzilla.mozilla.org/show_bug.cgi?id=136756#c29
...
from the book of this can't be good by leaf
bonsai answer's leaf's question thusly:
No files matched this file name. It may have been added recently.
it does indicate that a file by the correct spelling exists...
2002-05-16 03:26:40 +00:00
dougt%netscape.com
e96df2ad1b
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +00:00
alecf%netscape.com
09ce09edfb
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
92aa754e0a
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
30260b9c1e
bug 127091 - big string cleanup, removing old APIs
...
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
cathleen%netscape.com
8d48d2e7e6
eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
2002-02-19 16:01:45 +00:00
alecf%netscape.com
932ea50178
re-land fix for bug 107575, moving nsStr static routines into a private class/namespace
2002-02-14 23:23:55 +00:00
alecf%netscape.com
2b3f1e813f
oops, back myself out - forward declared enums don't work on linux!
2002-02-14 23:14:50 +00:00
alecf%netscape.com
1b25620781
make all static nsStr:: members private, so they are not exported, and so the linker can cull them out
...
r=dbaron, sr=blake, jag
bug 125093
2002-02-14 23:08:38 +00:00
alecf%netscape.com
634e2f6f0c
one more part of fix for bug 107575, including the much coveted whitespace
...
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
alecf%netscape.com
b417379c8c
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
alecf%netscape.com
7a7dec2c27
bug 108962 - shrink nsStr by 4 bytes by packing mCharSize and mOwnsBuffer into bits of mCapacity
...
r=dbaron, sr=jst, with an almost-sr=jag
2002-01-24 23:46:56 +00:00
alecf%netscape.com
0b5abd6365
fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
...
sr=jag, r=dbaron
2002-01-24 19:14:18 +00:00
alecf%netscape.com
e26f0caa39
factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag
2002-01-15 22:57:29 +00:00
alecf%netscape.com
a0cec66019
bug 114450 sr=jag
...
remove table-based comparison functions so we can actually remove them later
2002-01-09 02:28:28 +00:00
jaggernaut%netscape.com
febd9de87f
Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst
2002-01-05 11:18:57 +00:00
jaggernaut%netscape.com
4a93e62264
Bug 103342, 113590: ns{C}String::SubstituteString hangs/crashes. r=dbaron, sr=alecf
2002-01-02 23:54:25 +00:00
jaggernaut%netscape.com
3ed2626ddd
Add assertion to ns{C}String::Adopt. r=/sr=mozbot
2002-01-02 09:00:02 +00:00
jaggernaut%netscape.com
2e4cf1866d
Bug 116957: Put Adopt on ns{C}String, and use it in nsStandardURL. r=dbaron, rs=scc
2001-12-26 23:14:12 +00:00
jaggernaut%netscape.com
c892a468bd
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
2001-12-08 07:08:38 +00:00
alecf%netscape.com
61f5ed73c5
fix for bug 108597 - move mOwnsBuffer and mCharSize into smaller variables to reduce nsStr's overall size
...
r=jag, sr=waterson
2001-11-06 22:50:13 +00:00
dbaron%fas.harvard.edu
ffdfa54db5
Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc
2001-10-16 05:35:38 +00:00
dbaron%fas.harvard.edu
3dac3645cb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com
ff64daf338
Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc
2001-10-14 05:06:53 +00:00
jaggernaut%netscape.com
fdc4078bc4
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2001-09-29 08:28:41 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
ec980ce4fb
Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc
2001-09-25 09:35:50 +00:00
jaggernaut%netscape.com
5979297126
Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
2001-09-05 10:46:45 +00:00
jaggernaut%netscape.com
03ab87e4a1
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
scc%mozilla.org
8a9d1f4a8c
bug #78658 : checking in Chris Seawoods trivial fix to prevent writing to the console in optimized builds, sr=scc (myself)
2001-05-07 23:36:59 +00:00
scc%mozilla.org
c355507eda
landing string branch; see bug #73786
2001-04-02 19:40:52 +00:00
disttsc%bart.nl
0b98c23d64
Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver
2001-03-20 05:37:56 +00:00
scc%mozilla.org
97df62b78a
bug #65219 : (work done by dbaron) r=jag, sr=scc. Remove leaking string recyclers.
2001-02-23 02:03:02 +00:00
scc%mozilla.org
e767c98b62
bug #53067 : r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers
2001-02-06 23:18:20 +00:00
scc%mozilla.org
b7608f5134
bug #53071 : r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities.
2001-02-06 23:07:24 +00:00
disttsc%bart.nl
20381d5f97
Add |.get()| to nsCString. Bug=58284,r=dbaron, a=scc.
2000-12-23 06:45:54 +00:00
vidur%netscape.com
ba827dfaf8
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
2000-12-12 21:58:14 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00