Граф коммитов

78 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 8955d8bd97 (no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD 2010-12-07 15:54:20 -08:00
Makoto Kato f9ecadec37 Bug 592551 - dist\include\nsTArray.h(416) : warning C4244: 'return' : conversion from '__int64' to 'nsTArray_base::index_type', possible loss of data. r=bsmedberg a=bsmedberg 2010-11-17 14:51:05 +09:00
Chris Jones 900d7c9e15 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Robert O'Callahan 5c93d12d42 Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Daniel Holbert 710f9de58f Bug 575014: cast pointer-subtraction in nsTArray to produce index_type instead of (64-bit) size_t, to fix build warning on Win64. (bustage fix) rs=timeless pending-r=bsmedberg 2010-06-26 17:50:36 -07:00
Chris Jones a042fcb159 Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Michael Wu 485bf66bbc Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
Michael Wu db9dd1ff0d Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Mike Hommey 2d0eb18e31 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 53e5f98a71 Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey 2db087f703 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 35f4db9e0a Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Jacek Caban a4dab0be7d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Henri Sivonen 8b87e97dd6 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 144096a53a Bug 456272: deadlock detector improvements 2009-05-04 21:57:15 -07:00
Chris Jones 0674bd910e Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones 7919f8c91c Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Andrew Sutherland a70d6ea65e 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 94595f2f88 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 c674a753b4 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 caf423a97a 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 77c163c9a9 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 038026b7b5 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 0e185f2bc0 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 3c4144d0e6 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 c2ad629f9e 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
neil@parkwaycc.co.uk 5cce9fe374 Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 01:43:15 -08:00
dwitte@stanford.edu 48af83fba0 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu 5c0212e27a back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu 8fdae1fc6e reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu 0720a11afd backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu beed785dd1 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
roc+@cs.cmu.edu 53ca6e7cdc 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
bent.mozilla@gmail.com f82dda090a 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
jwalden@mit.edu 12e960c504 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
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
neil%parkwaycc.co.uk 5eefaca9ec Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 09:43:15 +00:00
dwitte%stanford.edu ff1801fc3e relanding part of 407442. 2007-12-20 07:30:06 +00:00
dwitte%stanford.edu 74ca1dddc8 back out changes. 2007-12-19 11:07:42 +00:00
dwitte%stanford.edu fc96d0299b reland nsTObserverArray changes only. 2007-12-19 06:03:06 +00:00
dwitte%stanford.edu 6d7ab720e9 backing out to investigate Ts increase 2007-12-19 04:12:13 +00:00
dwitte%stanford.edu f0e0d60f6b 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-19 01:06:36 +00:00
roc+%cs.cmu.edu df1d8efba7 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 23:12:10 +00:00
bent.mozilla%gmail.com feceeb80aa 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 16:59:34 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
bmlk%gmx.de 973f09c535 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 9e8c9730ea 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 4482b64219 Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking 2006-11-26 22:01:24 +00:00
cvshook%sicking.cc 45d11c34f5 Back out previous checkin, ENABLE_TESTS is not available inside code 2006-11-03 00:52:40 +00:00
cvshook%sicking.cc c7b1028be8 Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds. 2006-11-02 22:42:34 +00:00