Commit Graph

213 Commits

Author SHA1 Message Date
Chris Jones
f30ea57e16 Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Michael Wu
10042667dc Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
Michael Wu
cccc38e517 Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Mike Hommey
7a2be18f48 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Dão Gottwald
78742671c0 Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey
b8cfc4a044 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Neil Rashbrook
7fe610fcb3 Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Jacek Caban
2b75c73a3d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Henri Sivonen
2d88c7a4f7 Bug 517943 - Need a way to append the contents of an nsTArray to another without copying. r=benjamin, sr=dbaron. 2009-09-24 20:26:31 +03:00
Chris Jones
27f03a979f Bug 456272: deadlock detector improvements 2009-05-04 21:57:15 -07:00
Chris Jones
5cd39f36b0 Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones
216af6e5ad Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Andrew Sutherland
e456ded1f6 Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. fix: base 'end' off of Elements rather than iter. r=bsmedberg 2009-04-10 18:08:00 -07:00
L. David Baron
baa53e65cc Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
3d8a852124 Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
60747c305a Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
56c33cf7b8 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
766bd91820 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
204c9f0ed9 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
eaa0c627dd Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
L. David Baron
c8f3af9230 Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg 2009-01-06 15:21:00 -08:00
ab3296facb Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 01:43:15 -08:00
1564bcefff relanding part of 407442. 2007-12-19 23:30:04 -08:00
ab5d10abc9 back out changes. 2007-12-19 03:07:41 -08:00
e9fe6c3fb4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
ebee84c369 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
ec4d8e5431 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
6519320457 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
1ae857ad43 Bug 387584 - "ASSERTION: should not have buffer of zero size [@nsTArray_base::EnsureCapacity]". Patch by Sergey Yanovich <ynvich@gmail.com>. r+a=bsmedberg. 2007-08-30 09:59:34 -07:00
98de634631 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. 2007-07-08 00:08:04 -07:00
bmlk@gmx.de
49fb9c1ea8 be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc 2006-12-26 14:24:15 +00:00
roc+@cs.cmu.edu
20a502c497 Bug 363767. Add AppendElements() API (that appends empty elements) to nsTArray. r=sicking,sr=darin 2006-12-18 01:17:23 +00:00
roc+@cs.cmu.edu
40295d8e5b Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking 2006-11-26 22:01:24 +00:00
cvshook@sicking.cc
699169cf58 Back out previous checkin, ENABLE_TESTS is not available inside code 2006-11-03 00:52:40 +00:00
cvshook@sicking.cc
9c8a0c3eaa Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds. 2006-11-02 22:42:34 +00:00
tor@cs.brown.edu
e1f9294d7d Bug 359224 - include nsTraceRefcnt.h so NS_BUILD_REFCNT_LOGGING is valid.
Patch by amenzie@us.ibm.com, r+sr=sicking.
2006-11-02 21:09:47 +00:00
cvshook@sicking.cc
b389d040fa fix copy/paste error 2006-11-02 19:50:59 +00:00
cvshook@sicking.cc
88c09e6028 Ugh, too many versions of this patch that builds on different places. This should be right. 2006-11-02 19:44:06 +00:00
cvshook@sicking.cc
bde682b618 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
bzbarsky@mit.edu
d722b3dcf9 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
2006-11-02 04:12:24 +00:00
cvshook@sicking.cc
b00a20e1d2 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +00:00
cvshook@sicking.cc
7948ff8433 backout of previous patch due to redness and warnings 2006-10-12 19:08:45 +00:00
cvshook@sicking.cc
186153b981 Bug 355754: Add nsTPtrArray and nsTConstPtrArray. r=darin/bz sr=bz 2006-10-12 18:35:12 +00:00
darin@meer.net
ec38b3bad2 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-27 23:13:48 +00:00
darin@meer.net
e6fb2de3e8 backing out patch for bug 332730 2006-06-20 17:50:49 +00:00
darin@meer.net
eb650e0c65 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-20 02:05:10 +00:00
brettw@gmail.com
872495e50b Bug 340595 r+a=darin Bug in nsTArray::SetLength 2006-06-07 17:00:18 +00:00
peterv@propagandism.org
02c89c0b77 Fix for bug 333839 (nsTArray::SetLength doesn't increase array's length). r=bsmedberg, sr=darin. 2006-04-17 17:11:14 +00:00
benjamin@smedbergs.us
5aa9f28958 Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
darin@meer.net
2076aee8b1 backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00