6 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
317d5732c2 Fixing bug 236595. Making nsAdoptingString not adopt strings that aren't owned by the string that's adopted from. Also un-inlining operator=(const self_type&). r+sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@153602 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 03:29:49 +00:00
jst%mozilla.jstenback.com
f38dcaa4ad Duh, silly me. Fixing bogus attempt at casting...
git-svn-id: svn://10.0.0.236/trunk@153056 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-21 01:02:26 +00:00
darin%meer.net
643ea6b51f removing bogus const type qualifier to fix IRIX compiler warning (thanks to dbaron for noticing this)
git-svn-id: svn://10.0.0.236/trunk@153051 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 23:28:49 +00:00
jst%mozilla.jstenback.com
a2eb2c1513 Fixing bug 235041. Adding nsAdoptingString, a string class that can be returned by value from functions returning malloc'ed strings, w/o the overhead of extra string copying/mallocs. r=dbaron@dbaron.org, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@153050 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 23:23:35 +00:00
darin%meer.net
a01e1c2f7f landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.


git-svn-id: svn://10.0.0.236/trunk@152994 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 01:53:23 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00