Commit Graph

9 Commits

Author SHA1 Message Date
dbaron@fas.harvard.edu
3e64e33073 Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc 2001-11-28 05:22:57 +00:00
dbaron@fas.harvard.edu
130be4eb02 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc 2001-11-07 04:12:20 +00:00
jaggernaut@netscape.com
c68d22e6fd Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc 2001-10-28 08:24:55 +00:00
jaggernaut@netscape.com
e76b8751f7 Use typedefs throughout the string code. r=dbaron, sr=scc 2001-10-13 15:01:21 +00:00
scc@mozilla.org
f103c9ff95 OK, Windows is going to complain about the change from unsigned to signed, so we'll save that for later 2001-06-29 12:58:44 +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
vidur@netscape.com
546e07e2f9 Changes necessary for fixes to bug 18843. Better handling of string implementations without an underlying buffer handle. r/sr=scc@mozilla.org 2001-05-17 05:53:16 +00:00
scc@mozilla.org
480317f0f1 bug #74866, r=dbaron, sr=shaver. |nsPromiseFlat[C]String| needs to forward more functions when the promised string doesn't implement the buffer handle magic, i.e., in |ns[C]String| derived classes. Also change |char_type| back to the real type because jag suggests it's more readable that way. 2001-04-06 14:04:29 +00:00
scc@mozilla.org
4e56e9386c landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00