Commit Graph

200 Commits

Author SHA1 Message Date
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
benjamin@smedbergs.us
288d64e6e8 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
darin@meer.net
6aef55bf80 fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg (relanding) 2006-02-08 01:23:26 +00:00
darin@meer.net
4b9f1858a8 reverting last change since it makes vc6 unhappy. 2006-02-04 01:21:54 +00:00
darin@meer.net
c17a916243 fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg 2006-02-03 21:41:31 +00:00
darin@meer.net
a19378f122 fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg 2006-01-30 17:16:50 +00:00
darin@meer.net
6cd221a09e fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg 2006-01-10 20:38:54 +00:00
darin@meer.net
b0efedd9a7 fixes bug 319068 "problems with older compilers" r=bsmedberg 2005-12-13 18:00:35 +00:00
darin@meer.net
e77d4d9673 fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg 2005-12-12 21:28:29 +00:00
bsmedberg@covad.net
65dbb3e899 Re-land bug 318625 that was backed out accidentally with bug 316416 (r=darin) 2005-12-12 14:11:01 +00:00
bsmedberg@covad.net
6bad7c90d3 Reverting bug 316416 due to Ts regression and mysterious monkey orange :-( 2005-12-03 15:27:17 +00:00
bsmedberg@covad.net
489c776123 Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin 2005-12-02 16:34:42 +00:00
bryner@brianryner.com
4c9568c079 Fix crashes when dealing with 0-sized arrays (bug 317959). Patch by darin, r+sr=me. 2005-11-28 20:27:42 +00:00
darin@meer.net
149ff16202 fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner 2005-11-23 19:44:16 +00:00