Commit Graph

62 Commits

Author SHA1 Message Date
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
warren%netscape.com
5b2d5696f3 Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg 1999-11-20 04:22:26 +00:00
rickg%netscape.com
51573db439 corrected type mismatch in memory error status of nsStrings; r=none 1999-11-19 08:10:40 +00:00
rickg%netscape.com
bd46d8d5f0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
rickg%netscape.com
f66add4c0e fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
rickg%netscape.com
a0d9a79a54 bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
rickg%netscape.com
6f744b281a perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
waterson%netscape.com
a6ce109fb6 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
rickg%netscape.com
73c490c4d3 improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
rickg%netscape.com
f4fbb6fd09 performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
troy%netscape.com
476f0be19f Fixed build bustage 1999-09-08 21:26:24 +00:00
troy%netscape.com
68bf056cd9 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1
1999-09-08 20:21:27 +00:00
rickg%netscape.com
011055adde improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
rickg%netscape.com
d9e840013c odd 'n' ends 1999-07-25 17:21:34 +00:00
rickg%netscape.com
bbf641cba9 try to improve append performance and allow non-null term buffers when count is given 1999-07-20 06:58:41 +00:00
rickg%netscape.com
f3021fdfb3 improved api's 1999-07-19 03:10:41 +00:00
rickg%netscape.com
8b2dc96c17 landing updates to nsString 1999-07-17 07:26:16 +00:00
rickg%netscape.com
6ae572e3bd back out erroneously updated files 1999-07-09 06:01:55 +00:00
rickg%netscape.com
805dbdcc10 added nsStringTokenizer.* files; but not in the makefiles yet 1999-07-09 05:11:25 +00:00
rickg%netscape.com
fd74705b41 fixes Churchill's search bug, and crash bug 6469 1999-06-18 04:51:11 +00:00
rickg%netscape.com
d22b6af279 perf improvements, bug fix in insert(), better error reporting in ToInteger() 1999-06-13 21:23:04 +00:00
rickg%netscape.com
ead59aac8f fixed warnings 1999-06-03 23:03:08 +00:00
rickg%netscape.com
4750d8ff9b fixed offset error in FindCharInSet() and RFindCharInSet() 1999-06-03 22:12:27 +00:00
rickg%netscape.com
71405a906b fix bug 7479 per Erik VanDerPoel 1999-06-03 18:45:39 +00:00
jdunn%netscape.com
7535af1408 change false to PR_FALSE 1999-06-03 17:57:36 +00:00
rickg%netscape.com
7d255a1bd9 fix searching errors; safeguard assign 1999-06-03 10:49:14 +00:00
rickg%netscape.com
9f99b05dc8 searching should be slightly faster now 1999-05-29 09:40:49 +00:00
rickg%netscape.com
fd7edc13b6 using brute-force search for now 1999-05-29 09:28:56 +00:00
rickg%netscape.com
8f2ceea3de final update to nsString2 before switchover 1999-05-29 07:29:46 +00:00
rickg%netscape.com
dafc322589 fixed bug in nsString2::find() -- this will soon use boyer-moore 1999-05-27 07:59:16 +00:00