Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor
c78113906d
Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg
2012-07-09 11:13:23 +03:00
Jim Mathies
2bc95dca5d
Bug 761279 - Temporary work around for a VS 2012 RC compiler crash in nsTArray's Init. r=bsmedberg
2012-06-13 08:37:24 -05:00
Cameron McCormack
75dbe30fac
Fix a couple of typos in comments. No bug, no review.
2012-05-31 10:32:17 +10:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Cameron McCormack
2ea93b529b
Bug 739129 - Add LastElement and SafeLastElement functions to nsTArray. r=dbaron
2012-03-27 09:48:25 +11:00
Chris Lord
aa2bb6dae0
Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
...
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Matias Juntunen
702f8921b8
Bug 617947 - Merge 'class nsQuickSortComparator' into 'nsTArray'. r=bsmedberg
2012-03-21 19:52:24 -04:00
Jesse Ruderman
f4c11108ff
Bug 732607 - make nsTArray assertions fatal. r=bz
2012-03-03 13:16:13 -08:00
Justin Lebar
c27428d068
Bug 719531 - Part 2: Make FallibleTArray use moz_malloc rather than NS_Alloc, because only the former is fallible. r=bsmedberg
...
--HG--
extra : rebase_source : 9259871f86b6fcaa805b0e042c52e10b751acdf5
2012-01-26 12:51:45 -05:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Jeff Walden
a158abd5b6
Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke
2011-12-19 16:58:30 -05:00
Nicholas Nethercote
0089711fa7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Justin Lebar
ddd947bba0
Bug 701210 - nsTArray::SizeOf() should use malloc_usable_size. r=roc
2011-11-09 20:40:09 -05:00
Boris Zbarsky
7b835d497d
Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug
2011-10-28 13:06:39 -04:00
Boris Zbarsky
03b0b4eeb8
Bug 696195. Add single-argument SafeElementAt specializations for nsTArrays of smart pointers. r=jlebar
2011-10-25 12:58:01 -04:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jonathan Kew
b679a433d9
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Ehsan Akhgari
ce7741a910
Bug 692782 - Bug 690670 broke clang builds; r=cjones
2011-10-07 15:31:12 -04:00
Justin Lebar
f89c7adf4f
Bug 689433 - Align nsAutoTArray<E> to E's natural alignment. r=roc
...
--HG--
extra : rebase_source : f7062f251f6905a58145ed6d94680f076dabbef7
2011-10-05 09:11:17 -04:00
Chris Jones
31b4fa2a5b
Bug 690670, part 0: Add helpers for copy-constructing auto arrays from regular arrays. r=roc
...
--HG--
extra : rebase_source : e586553e4a2cf344f72347e195f42762f0183c99
2011-10-05 15:15:45 -07:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Justin Lebar
1489bf12ab
Bug 687722 - Make swapping two nsAutoTArrays preserve their auto-ness when possible. r=roc
2011-09-22 11:22:20 -04:00
Atul Aggarwal
82ec5ca411
Bug 685905 - Adding ReplaceElementAt to nsTArray. r=sicking
2011-09-20 21:04:35 +05:30
Justin Lebar
453d7ec72a
Bug 686597 - Add a copy constructor to nsAutoTArray and friends. r=bz
2011-09-15 22:16:14 -07:00
Ehsan Akhgari
523ebb7851
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Kyle Huey
0492f29d4b
Bug 674284: Add nsTArray::SizeOf. r=bsmedberg
2011-08-01 14:37:00 -04:00
Kyle Huey
c67e76416e
Backed out changeset 030c419226ed
2011-08-01 08:26:15 -04:00
Kyle Huey
dc7b23c122
Bug 674284: Add nsTArray::SizeOf. r=bsmedberg
2011-08-01 08:11:26 -04:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
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