alecf%netscape.com
d07f537d7f
bug 114450 sr=jag
...
remove table-based comparison functions so we can actually remove them later
git-svn-id: svn://10.0.0.236/trunk@111630 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:28:28 +00:00
jaggernaut%netscape.com
3fddc3c879
Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@111619 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:44:43 +00:00
alecf%netscape.com
71dee0899c
fix for bug 108597 - move mOwnsBuffer and mCharSize into smaller variables to reduce nsStr's overall size
...
r=jag, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107478 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:50:13 +00:00
ducarroz%netscape.com
38011f6783
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
git-svn-id: svn://10.0.0.236/trunk@106694 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:42:41 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
scc%mozilla.org
7b06841b03
landing string branch; see bug #73786
...
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
scc%mozilla.org
f3c858afc8
bug #69907 : rs=brendan. Fix file-level comments in (to be) obsolete string files so they are clearer in LXR directory views.
...
git-svn-id: svn://10.0.0.236/trunk@87763 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:43:42 +00:00
scc%mozilla.org
028f9f3180
bug #53071 : r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities.
...
git-svn-id: svn://10.0.0.236/trunk@86357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:07:24 +00:00
scc%mozilla.org
c06e84b625
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.
...
git-svn-id: svn://10.0.0.236/trunk@80401 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:22:00 +00:00
warren%netscape.com
895569159c
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
...
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
scc%mozilla.org
900f215543
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
...
git-svn-id: svn://10.0.0.236/trunk@72327 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 22:13:19 +00:00
scc%mozilla.org
330107a3e1
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.
...
git-svn-id: svn://10.0.0.236/trunk@72019 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 02:54:22 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
scc%netscape.com
daa22be30a
turning on the new strings API.
...
git-svn-id: svn://10.0.0.236/trunk@70010 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 07:18:04 +00:00
scc%netscape.com
4108d844a4
more work bringing |ns[C]String| into line with the new implementations. Again, this is no change when |NEW_STRING_APIS| is not defined.
...
git-svn-id: svn://10.0.0.236/trunk@64724 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:13 +00:00
scc%netscape.com
9121343202
adjustments to the string interfaces that should have no effect in the non-|NEW_STRING_APIS| case (yes, I built all changes to verify)
...
git-svn-id: svn://10.0.0.236/trunk@64635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:51:51 +00:00
scc%netscape.com
50e2ee0edc
fixing an off-by-one bug, and the associated problem when |mCapacity| and |mLength| are both |0|. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@64249 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:13:41 +00:00
jst%netscape.com
9137d08f83
Backing out scc's last checking to this file, it causes linux builds to dump core on startup. a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@64232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 15:10:12 +00:00
scc%netscape.com
67117f4462
fixing an off-by-one bug
...
git-svn-id: svn://10.0.0.236/trunk@64224 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:46:02 +00:00
rickg%netscape.com
39a364f3bd
correct off-by-one error (edge case); r=buster
...
git-svn-id: svn://10.0.0.236/trunk@64013 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:19:00 +00:00
scc%netscape.com
5fcf54179f
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.
...
git-svn-id: svn://10.0.0.236/trunk@63813 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:12:23 +00:00
rickg%netscape.com
0528624083
partial fix for 23418; r=rhp; a=phil
...
git-svn-id: svn://10.0.0.236/trunk@61359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 09:17:14 +00:00
rickg%netscape.com
a1de8e5158
major perf mods for bug 27524, and removed deprecated methods; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@60648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 17:46:15 +00:00
rickg%netscape.com
85cc90a499
fixing tiny menu bug by backing out partial update to nsStr; r=none
...
git-svn-id: svn://10.0.0.236/trunk@60499 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 16:21:53 +00:00
rickg%netscape.com
4209916b0d
fixed25049; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@60477 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:11:03 +00:00
rickg%netscape.com
9568c0a1e2
fixed bug in nsStr::Compare(); r=dveditz (who also found the bug)
...
git-svn-id: svn://10.0.0.236/trunk@55577 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 09:52:43 +00:00
rickg%netscape.com
e99aad53d3
fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd
...
git-svn-id: svn://10.0.0.236/trunk@55066 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:14:38 +00:00
sfraser%netscape.com
50952e0fee
Include stdio.h with system paths, not user paths. No bug, r=mozbot.
...
git-svn-id: svn://10.0.0.236/trunk@54874 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 06:12:01 +00:00
warren%netscape.com
aeadc2d08d
Changed ifdefs to this stuff is off for debug builds too.
...
git-svn-id: svn://10.0.0.236/trunk@54052 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:45 +00:00
warren%netscape.com
cde014ca66
Added isascii for mac
...
git-svn-id: svn://10.0.0.236/trunk@54040 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 05:46:04 +00:00
warren%netscape.com
eff6e0fd5e
Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg
...
git-svn-id: svn://10.0.0.236/trunk@54036 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 04:22:26 +00:00
rickg%netscape.com
3cd1a47af6
corrected type mismatch in memory error status of nsStrings; r=none
...
git-svn-id: svn://10.0.0.236/trunk@53986 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 08:10:40 +00:00
rickg%netscape.com
6e4e20009b
bug18337 and fixes for embedded nulls; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@53450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:22:52 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
rickg%netscape.com
ac6276e5cd
fixed leak using patch from beard; verified in purify. r=rgess; bug=15751
...
git-svn-id: svn://10.0.0.236/trunk@50090 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 07:22:57 +00:00
rickg%netscape.com
4a9749eec3
bugs 13038 and 14920; also improved comments. r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@49803 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:47:19 +00:00
rickg%netscape.com
3ee654688b
perf update and bug fix: a=chofmann r=buster
...
git-svn-id: svn://10.0.0.236/trunk@49399 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 04:03:49 +00:00
waterson%netscape.com
1b81ec1ab1
Fix memmove() stuff.
...
git-svn-id: svn://10.0.0.236/trunk@48326 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:11:36 +00:00
rickg%netscape.com
b32eca31ce
improved safety of CBufDescriptor
...
git-svn-id: svn://10.0.0.236/trunk@48257 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 16:43:09 +00:00
rickg%netscape.com
944a022ec9
performance improvements and larger default buffer size
...
git-svn-id: svn://10.0.0.236/trunk@48092 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:46:55 +00:00
troy%netscape.com
e0f2971552
Fixed build bustage
...
git-svn-id: svn://10.0.0.236/trunk@46415 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 21:26:24 +00:00
troy%netscape.com
2d23954843
Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
...
size 1
git-svn-id: svn://10.0.0.236/trunk@46398 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:21:27 +00:00
rickg%netscape.com
fbbac7b078
improved docs, bug fixes, removed outdated APIs
...
git-svn-id: svn://10.0.0.236/trunk@45129 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 06:55:13 +00:00
rickg%netscape.com
59133b416a
odd 'n' ends
...
git-svn-id: svn://10.0.0.236/trunk@41053 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 17:21:34 +00:00
rickg%netscape.com
8efbb96fe9
try to improve append performance and allow non-null term buffers when count is given
...
git-svn-id: svn://10.0.0.236/trunk@40248 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 06:58:41 +00:00
rickg%netscape.com
41e3aa10d7
improved api's
...
git-svn-id: svn://10.0.0.236/trunk@40070 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:10:41 +00:00
rickg%netscape.com
06bf60610d
landing updates to nsString
...
git-svn-id: svn://10.0.0.236/trunk@39848 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 07:26:16 +00:00
rickg%netscape.com
0dd1673f17
back out erroneously updated files
...
git-svn-id: svn://10.0.0.236/trunk@38890 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 06:01:55 +00:00
rickg%netscape.com
627e7710d1
added nsStringTokenizer.* files; but not in the makefiles yet
...
git-svn-id: svn://10.0.0.236/trunk@38888 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 05:11:25 +00:00