Commit Graph

92 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
7001d81cad Bug 162017: step 2: remove aIgnoreCase from FindChar1. r=peterv, sr=dbaron 2002-09-17 22:49:00 +00:00
henry.jia%sun.com
d5bcedda4f fix of Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
Fix by Henry.Jia@sun.com
r=bryner
2002-08-14 05:37:48 +00:00
henry.jia%sun.com
0f450debc8 fix of Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
Fix by Henry.Jia@sun.com
r=jag, sr=alecf
2002-08-14 05:06:09 +00:00
henry.jia%sun.com
2ed04a52f2 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
alecf%netscape.com
98fb638c96 bug 161716 - stop exporting nsStr from xpcom.dll
r=dougt, sr=jag
2002-08-08 18:59:54 +00:00
alecf%netscape.com
bb0caa0b95 fix for bug 149102 - fix a harmless UMR in the string code
sr=jag, r=dbaron
2002-06-13 20:31:14 +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
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
alecf%netscape.com
cd8f07f3e8 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
a6a1655268 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
dc82c0f060 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
d58be8a57c oops, back myself out - forward declared enums don't work on linux! 2002-02-14 23:14:50 +00:00
alecf%netscape.com
dcd2452a74 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
jaggernaut%netscape.com
3423a63ce7 Bug 122083: Typing "v", "vi", "vie" ... "view-source" into URL bar and pressing enter freezes Mozilla. r=dbradley, sr=alecf 2002-02-01 14:22:22 +00:00
alecf%netscape.com
5483b6f627 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
28b3772942 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
958260821a 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
a7e8646371 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
4390fff47d 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
4df42fac94 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
7229a6a608 Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf 2002-01-09 01:44:43 +00:00
alecf%netscape.com
1996026eb4 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
ducarroz%netscape.com
321184f9e3 Fix for bug 86089. Replace attachments string in message compose fields by an array of nsIMsgAttachment objects. This architecture change allow us to dissocie the attachment name from the attachment url. We can also now carry over extra information like the attachment content type or Mac file type. This check in contains also fix for related bug 52428, bug 80895, bug 87765 and bug 89090.
R=varada, SR=sspitzer
2001-10-30 14:42:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
scc%mozilla.org
70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
scc%mozilla.org
98d9d2ebaf bug #69907: rs=brendan. Fix file-level comments in (to be) obsolete string files so they are clearer in LXR directory views. 2001-02-23 02:43:42 +00:00
scc%mozilla.org
89f6b7263b bug #53071: r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities. 2001-02-06 23:07:24 +00:00
scc%mozilla.org
6c61076b41 bug #54601: r=waterson, a=brendan. Fix string allocation policy -- allocate exact size, double on fault ... thanks to everybody who helped me test this patch. 2000-10-05 01:19:59 +00:00
warren%netscape.com
a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
scc%mozilla.org
9461eb8980 undo the change of the 10th. The code is still in, conditioned on |NS_DONT_USE_CHUNKY_STRING_ALLOCATION|. The performance hit was unacceptable, and checking the original change in on the tip was a mistake. r=rpotts; a=leaf, phil 2000-06-15 22:13:19 +00:00
scc%mozilla.org
2a994e534b reduce bloat by not chunk-allocating strings (in |nsStr::Alloc|). Clients that don't benefit from this can explicitly call |SetCapacity|. We may re-introduce this functionality in the append of a single character when no space remains, if it turns out to be a problem. This optimization was suggested by profiling done by sfraser, who now promises to find out where it hurts us. 2000-06-12 02:54:22 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
scc%netscape.com
b04f4b0861 turning on the new strings API. 2000-05-16 07:18:04 +00:00
scc%netscape.com
f563b72b38 more work bringing |ns[C]String| into line with the new implementations. Again, this is no change when |NEW_STRING_APIS| is not defined. 2000-03-31 07:26:13 +00:00
scc%netscape.com
e6ae3320f8 adjustments to the string interfaces that should have no effect in the non-|NEW_STRING_APIS| case (yes, I built all changes to verify) 2000-03-30 22:51:51 +00:00
scc%netscape.com
9308429766 fixing an off-by-one bug, and the associated problem when |mCapacity| and |mLength| are both |0|. r=waterson 2000-03-27 22:13:41 +00:00
jst%netscape.com
ace64521af Backing out scc's last checking to this file, it causes linux builds to dump core on startup. a=leaf 2000-03-27 15:10:12 +00:00
scc%netscape.com
2ae71a7fb2 fixing an off-by-one bug 2000-03-27 07:46:02 +00:00
rickg%netscape.com
e01fb3441b correct off-by-one error (edge case); r=buster 2000-03-24 07:19:00 +00:00
scc%netscape.com
21601d71fa Conditionally enable the new string APIs. Don't worry, they're not turned on yet. All changes r=waterson. Changes that effect |nsString| unconditionally, r=rickg. 2000-03-23 02:12:23 +00:00
rickg%netscape.com
386500ccac partial fix for 23418; r=rhp; a=phil 2000-02-19 09:17:14 +00:00
rickg%netscape.com
050c633ce6 major perf mods for bug 27524, and removed deprecated methods; r=harishd 2000-02-13 17:46:15 +00:00
rickg%netscape.com
5480bb3143 fixing tiny menu bug by backing out partial update to nsStr; r=none 2000-02-11 16:21:53 +00:00
rickg%netscape.com
4d12935e0e fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
rickg%netscape.com
a3187e2ff2 fixed bug in nsStr::Compare(); r=dveditz (who also found the bug) 1999-12-07 09:52:43 +00:00
rickg%netscape.com
1a75640583 fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
sfraser%netscape.com
dacf66a5bf Include stdio.h with system paths, not user paths. No bug, r=mozbot. 1999-12-01 06:12:01 +00:00
warren%netscape.com
7b7c64390a Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
warren%netscape.com
d6c2199dcd Added isascii for mac 1999-11-20 05:46:04 +00:00