Commit Graph

36 Commits

Author SHA1 Message Date
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Daniel Holbert
3a38d7f8d2 Bug 723809: Fix signed/unsigned build warning in TestTArray.cpp. r=jlebar 2012-02-03 01:18:58 -08:00
Justin Lebar
a1adc025db Bug 719531 - Part 1: Add test that FallibleTArray returns false instead of crashing. r=bsmedberg 2012-01-26 12:51:34 -05:00
Atul Aggarwal
5f7ec2bf38 Bug 630290 - Fixing compiler warnings. r=cjones 2011-11-06 21:15:44 +05:30
Ehsan Akhgari
478ad1a412 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
Jeff Walden
7d613942b0 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 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Justin Lebar
d2606eb61b Bug 687722 - Make swapping two nsAutoTArrays preserve their auto-ness when possible. r=roc 2011-09-22 11:22:20 -04:00
Ehsan Akhgari
03f689dea6 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
f30ea57e16 Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Michael Kohler
61fec64afe Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Michael Wu
cccc38e517 Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Daniel Holbert
753e38f95f Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg 2010-04-02 09:34:31 -07:00
Neil Rashbrook
7fe610fcb3 Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Andrew Sutherland
b8eca1c529 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
63f970a88c 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
ab3296facb Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 01:43:15 -08: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
bzbarsky@mit.edu
afcd06c060 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
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
cvshook@sicking.cc
13e679935b 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
bde682b618 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
cvshook@sicking.cc
b00a20e1d2 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +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
bsmedberg@covad.net
26b3754236 Fix bug 319068 bustage. 2005-12-13 18:27:04 +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
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