Commit Graph

63 Commits

Author SHA1 Message Date
alecf@netscape.com
b8c24d3d02 bug 161716 - stop exporting nsStr from xpcom.dll
r=dougt, sr=jag
2002-08-08 18:59:54 +00:00
dougt@netscape.com
5118bc5903 XPCOM_GLUE nsTraceRefcnt problems. r=dp, sr=jag. bug 154319 2002-07-01 22:19:01 +00:00
alecf@netscape.com
71933d6e6d 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
504c94dc64 oops, back myself out - forward declared enums don't work on linux! 2002-02-14 23:14:50 +00:00
alecf@netscape.com
e41036b094 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
1093afbac3 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
9a4edc1569 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
caa4f91f6f fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
alecf@netscape.com
a5a245ff99 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
fb08c06387 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
59452cc56d 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
f9f064aa80 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
9162618250 Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf 2002-01-09 01:44:43 +00:00
jaggernaut@netscape.com
e8068c5c09 Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf 2001-11-14 12:35:52 +00:00
alecf@netscape.com
5fdbdabc9e 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
gerv@gerv.net
58d409fba9 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
518d5e5bf9 bug #74726: sr=waterson, r=beard. Make |nsXPIDLC?String| inherit from |nsSharableC?String|, the new implementation is now in the string hierarchy (and out of string/obsolete). 2001-06-29 12:47:43 +00:00
scc@mozilla.org
8d0f4f0b82 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
4c322a1807 bug #53071: r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities. 2001-02-06 23:07:24 +00:00
vidur@netscape.com
5d0ca658ca 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
scc@mozilla.org
45bc8d60d7 fixed comments (so people are aware of the allocation policy) 2000-10-05 01:07:40 +00:00
scc@mozilla.org
65ca787bc1 making all string construction explicit; plus (now that the DOM APIs are turned on and you can no longer build without NEW_STRING_APIS) chopping out |#ifdef|ed code 2000-09-02 20:53:31 +00:00
warren@netscape.com
8df9a9bce0 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
05b37b954c added some #ifdef logic to allow me to NEW_STRING_APIS off, so I can continue to profile for bloat 2000-06-11 01:03:19 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
scc@netscape.com
24ed6675fa turning on the new strings API. 2000-05-16 07:18:04 +00:00
scc@netscape.com
6008cabfb9 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
4ec15a1e24 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
rickg@netscape.com
7cb791d669 WIP for removal of deprecated string methods 2000-03-12 22:21:14 +00:00
rickg@netscape.com
1796bd286e fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
rickg@netscape.com
c3f3b0402f fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
rickg@netscape.com
6b3a6612fa fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
warren@netscape.com
e1b88657be Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
warren@netscape.com
700394602d Fixed include for non-debug builds. 1999-11-20 05:27:35 +00:00
warren@netscape.com
a5f8b6bb56 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
13053d2ed0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
dmose@mozilla.org
20621227af 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
4380440b94 updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
warren@netscape.com
772fe8a8b4 Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
rickg@netscape.com
e90dcad4bf bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
rickg@netscape.com
078c33e70e perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
rickg@netscape.com
649c85cae9 improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
rickg@netscape.com
29235a113d performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
troy@netscape.com
37d1214515 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1
1999-09-08 20:21:27 +00:00
rickg@netscape.com
f71f3d7054 another tiny tweak to docs 1999-09-02 07:13:56 +00:00
rickg@netscape.com
54c510bd3d better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
rickg@netscape.com
d5053d1b40 improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
rickg@netscape.com
cffe0430a7 odd 'n' ends 1999-07-25 17:21:34 +00:00
scc@netscape.com
3f8ebb2c39 use shared allocator 1999-07-22 18:23:02 +00:00
rickg@netscape.com
854b23387f landing updates to nsString 1999-07-17 07:26:16 +00:00