dbaron%fas.harvard.edu
|
865e4ed64a
|
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
git-svn-id: svn://10.0.0.236/trunk@112277 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-01-16 03:08:22 +00:00 |
|
dbaron%fas.harvard.edu
|
3855c146ac
|
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
git-svn-id: svn://10.0.0.236/trunk@110214 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-11 03:33:09 +00:00 |
|
dbaron%fas.harvard.edu
|
34df01adc8
|
Fix appending to nsSharableString by always null-terminating in SetLength. b=113188 r=jag sr=jst
git-svn-id: svn://10.0.0.236/trunk@110099 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-08 22:50:34 +00:00 |
|
dbaron%fas.harvard.edu
|
0739da3e8c
|
Make nsSharableString::Assign set the length correctly when it's reusing its existing buffer. b=112483 r=scc sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109561 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-03 23:14:15 +00:00 |
|
dbaron%fas.harvard.edu
|
77c606ffad
|
Make nsSharableString::Assign set the length when it's reusing its existing buffer. b=112483 r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109509 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-03 03:54:32 +00:00 |
|
dbaron%fas.harvard.edu
|
c0b306795b
|
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
git-svn-id: svn://10.0.0.236/trunk@109114 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-11-28 05:22:57 +00:00 |
|
jaggernaut%netscape.com
|
39042c626f
|
Use typedefs throughout the string code. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@105374 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-10-13 15:01:21 +00:00 |
|
scc%mozilla.org
|
1256e0e034
|
bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|
git-svn-id: svn://10.0.0.236/trunk@95100 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-05-16 04:41:32 +00:00 |
|
scc%mozilla.org
|
7cbb7b5ebd
|
attempting to fix AIX, et al, bustage
git-svn-id: svn://10.0.0.236/trunk@91061 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-04-02 23:05:55 +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 |
|