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

30 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -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
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
Chris Jones 30bb6770cb Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Michael Kohler 6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Michael Wu 01e4c19b42 Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Daniel Holbert b5eb8254ec Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg 2010-04-02 09:34:31 -07:00
Neil Rashbrook 342037afb9 Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Andrew Sutherland d6ed9baeaa Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. unit test that fails without patch, succeeds with patch. r=bsmedberg 2009-04-10 18:08:08 -07:00
Benjamin Smedberg 212b417b73 Bug 450137 - Add namespaces to multiple classes with the same name in xpcom/tests, to avoid automated tool confusion, r=dbaron 2008-08-18 12:45:38 -04: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
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
bzbarsky%mit.edu 75e2b326ac Fix some compiler bustage over here and eliminate compiler warnings by being
very clear that it's all unsigned.  No bug, r+sr=sicking
2006-11-04 05:14:55 +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
cvshook%sicking.cc 26afccc177 Disable test_autoarray in non-debug builds since it relies on debug-only code 2006-11-02 20:26:05 +00:00
cvshook%sicking.cc 480afae792 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
cvshook%sicking.cc b31519be79 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +00:00
darin%meer.net f1141fd8e2 fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg (relanding) 2006-02-08 01:23:26 +00:00
darin%meer.net effdd39acc reverting last change since it makes vc6 unhappy. 2006-02-04 01:21:54 +00:00
darin%meer.net 7293ef5468 fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg 2006-02-03 21:41:31 +00:00
darin%meer.net c7c435dffa fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg 2006-01-30 17:16:50 +00:00
darin%meer.net 3f64b82bb8 fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg 2006-01-10 20:38:54 +00:00
bsmedberg%covad.net 642bc5b68e Fix bug 319068 bustage. 2005-12-13 18:27:04 +00:00
darin%meer.net 83d3a41589 fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg 2005-12-12 21:28:29 +00:00
bryner%brianryner.com 767508e177 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 b69c78251e fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner 2005-11-23 19:44:16 +00:00