16 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
99d8ad569c Bug 401433, leak in nsTArray, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@243979 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 11:32:59 +00:00
neil%parkwaycc.co.uk
fdc67ab660 Bug 411061 nsAutoTArray uses an inefficient first-time allocation strategy r=bsmedberg a=schrep
git-svn-id: svn://10.0.0.236/trunk@243540 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-19 13:47:46 +00:00
jruderman%hmc.edu
4d8b46e2bf Fix typo
git-svn-id: svn://10.0.0.236/trunk@243100 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 04:49:38 +00:00
dwitte%stanford.edu
81bb2aa273 backing out change.
git-svn-id: svn://10.0.0.236/trunk@241834 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 09:33:03 +00:00
dwitte%stanford.edu
d62beece33 relanding part of 407442.
git-svn-id: svn://10.0.0.236/trunk@241831 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 07:30:06 +00:00
dwitte%stanford.edu
7094b241c3 back out changes.
git-svn-id: svn://10.0.0.236/trunk@241739 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 11:07:42 +00:00
dwitte%stanford.edu
f5308f9f7a test growing the array by a minimum amount (taken from nsVoidArray).
git-svn-id: svn://10.0.0.236/trunk@241738 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 09:56:28 +00:00
dwitte%stanford.edu
b83e4d6111 testing allocator change for Ts impact.
git-svn-id: svn://10.0.0.236/trunk@241737 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 09:14:15 +00:00
bent.mozilla%gmail.com
5adef2ffb2 Bug 387584 - "ASSERTION: should not have buffer of zero size [@nsTArray_base::EnsureCapacity]". Patch by Sergey Yanovich <ynvich@gmail.com>. r+a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@233415 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 16:59:34 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu
e06d5e4bdc Remove now-useless include. Bug 359224 followup, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@214693 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 02:00:31 +00:00
cvshook%sicking.cc
af80b3f1c9 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@214616 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 19:33:10 +00:00
cvshook%sicking.cc
081ea7a664 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@214614 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 19:31:05 +00:00
bzbarsky%mit.edu
c6fc07a257 Add a way to efficiently insert a bunch of identically constructed elements at a
given location in an nsTArray.  Bug 357630, r=sicking, sr=darin


git-svn-id: svn://10.0.0.236/trunk@214577 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 04:12:24 +00:00
darin%meer.net
1f014ca92b fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg
git-svn-id: svn://10.0.0.236/trunk@187255 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 20:38:54 +00:00
darin%meer.net
973ce6aa62 fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner
git-svn-id: svn://10.0.0.236/trunk@185211 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 19:44:16 +00:00