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

71 Коммитов

Автор SHA1 Сообщение Дата
Gavin Sharp b8cac7f287 Fix comment typo per bug 550611 comment 34 2011-03-30 15:55:00 -04:00
Rafael Ávila de Espíndola 001819c005 Bug 622142 - nsTArray class depends on invalid unqualified lookup into dependent bases of class templates; r,a=bsmedberg 2011-01-12 16:37:20 -05:00
Chris Jones 2ecb79a6ed Bug 610823: Make nsTArray infallible by default. r=sicking a=blocker 2011-01-06 20:49:35 -08:00
Daniel Holbert d6c06c1acf (no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD 2010-12-07 15:54:20 -08:00
Makoto Kato d46d58af0a 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 52d0f01838 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 dfb7e963f1 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 4e0f4c110e 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 30bb6770cb Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Michael Wu aeb2230399 Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
Michael Wu 01e4c19b42 Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Mike Hommey 992145aea6 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 e48c841523 Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey 2f031cdafe 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 342037afb9 Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Jacek Caban aaf24fc497 Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Henri Sivonen 03f6ef64f9 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 24b939e504 Bug 456272: deadlock detector improvements 2009-05-04 21:57:15 -07:00
Chris Jones 6fa9921e11 Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones 47a7c89e54 Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Andrew Sutherland 30ac44edbe 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 3a120c56d3 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 da21efddd5 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 bd25838a7a 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 c936720f0a 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 11e12c4425 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 3d090560b0 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 7ee7fbc33f 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 bc3a0d9070 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 a369b229ee 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 d3a1fc3baa relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu 8dcce35b39 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu 9a3a4249f4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu 1d9282cd47 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu 8345ef1233 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 9972360428 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 18ccb0dcf0 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 6d7584839a 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 5f3f2bb2d3 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 356c992817 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 0577095280 Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking 2006-11-26 22:01:24 +00:00
cvshook%sicking.cc 131b924b08 Back out previous checkin, ENABLE_TESTS is not available inside code 2006-11-03 00:52:40 +00:00
cvshook%sicking.cc d6695ccad2 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 5eb0b60933 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 abafb3f44d fix copy/paste error 2006-11-02 19:50:59 +00:00
cvshook%sicking.cc 6a984be708 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 480afae792 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
bzbarsky%mit.edu 3c0294cc84 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 b31519be79 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +00:00
cvshook%sicking.cc 0aa00ad601 backout of previous patch due to redness and warnings 2006-10-12 19:08:45 +00:00