Commit Graph

23 Commits

Author SHA1 Message Date
dougt@netscape.com
f2ff87ea7e Freezes nsAString, nsACString, nsAUTF8String. r=dougt, sr=alecf, a=brendan b=125389 2002-08-01 17:52:56 +00:00
dbaron@fas.harvard.edu
840d4d050c Fix HP bustage. 2002-01-16 04:48:24 +00:00
dbaron@fas.harvard.edu
41b4533a89 Create a mechanism for allowing a |Destroy| method to be called on buffer handles whose refcount hits 0 instead of |delete|. Use that mechanism to fix threadsafety problems with shared empty buffer handles, restoring sharable strings to their previous state of threadsafety. b=117153 sr=jag r=alecf 2002-01-16 03:08:22 +00:00
dbaron@fas.harvard.edu
e1d54031ed Fix nsSharableString::SetLength to correctly handle having a shared buffer. Override GetWritableFragment on nsSharableString (perhaps temporarily) to allow use of writing iterators on nsSharableString. b=114438 r=jag sr=jst 2001-12-11 03:33:09 +00:00
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
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
a4e9293700 bug #69872, sr=jst, r=jag. Make |nsDependentC?String|s rebindable. 2001-05-21 23:45:03 +00:00
scc@mozilla.org
773f5e79d0 bug #74726, partial fix, r=vidur, sr=jst: make |nsCommon[C]String| re-bindable; make constructors |explicit|; fix clients. bug #75169, r=jst, sr=waterson: fix string warnings on Windows; fix some typos 2001-05-11 08:41:21 +00:00
scc@mozilla.org
4e56e9386c landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
scc@mozilla.org
185b49471e fix HPUX bustage, and additionally added some comments 2001-03-25 18:06:27 +00:00
disttsc@bart.nl
087d10c303 Fix Win32 bustage by adding NS_COM to declaration of StringAllocator_[char|wchar_t](), r/sr=scc 2001-03-25 02:26:33 +00:00
scc@mozilla.org
3608db716e bug #73297, r=shaver, sr=darin. Give string buffers an allocator hook to tie into js et al 2001-03-25 01:14:26 +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
6ae06767b1 fixed ugly name |nsXXXBufferHandle| --> |nsFlexBufferHandle|; hey, it may not be perfect, but it's better than 'XXX' 2000-09-13 02:27:11 +00:00
scc@mozilla.org
d06630b6e2 more HPUX fixes 2000-09-09 13:26:07 +00:00
scc@mozilla.org
2836d4b8e8 HPUX is smarter than me 2000-09-09 12:53:38 +00:00
scc@mozilla.org
e534451f6d fixing linux bustage 2000-09-09 10:24:45 +00:00
scc@mozilla.org
43d683a0e6 fixes for VC++ 2000-09-09 09:44:45 +00:00
scc@mozilla.org
39fc27fc89 fix |const| errors, this file is not yet part of the build 2000-09-09 06:32:46 +00:00
scc@mozilla.org
17b3f19cdd more work towards a working |nsSlidingString|, |nsSlidingSubstring| for the parser, these files are not yet part of the build 2000-09-09 04:42:19 +00:00
scc@mozilla.org
3c5f4efc15 not part of the build, getting closer to turning on the new parser strings 2000-09-09 00:25:00 +00:00
scc@mozilla.org
0f79c4507d adding license and include guards 2000-09-09 00:02:48 +00:00
scc@mozilla.org
2b3aedf378 not yet part of the build, this is the bulk of the work for the special parser strings 2000-09-08 23:54:23 +00:00