gecko-dev/xpcom/ds
Eric Rahm ea799cdb96 Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj
This adds an intermediate interface, nsIArrayExtensions, that inherits from
nsIArray. This is necessary as nsISupportsArray implements nsIArray as well
so the methods could not just be addded to nsIArray. nsIMutableArray inherits
from nsIArrayExtensions and so any interface that works with an nsIMutableArray
can be updated to return an nsIArrayExtensions.

This will allow interfaces that currently return an nsISupportsArray to instead
return an nsIArrayExtensions and internally work with an nsIMutableArray.
Consumers of these functions will continue to be able to use
nsISupportsArray-like iteration even though they're now working with an
nsIArray.

MozReview-Commit-ID: 9uRjsJbg9Jp
2016-10-24 13:24:26 -07:00
..
moz.build Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj 2016-10-24 13:24:26 -07:00
nsArray.cpp Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj 2016-10-24 13:24:26 -07:00
nsArray.h Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj 2016-10-24 13:24:26 -07:00
nsAtomService.cpp Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm. 2016-03-29 10:09:43 +11:00
nsAtomService.h
nsAtomTable.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
nsAtomTable.h Bug 1275755 - Use an explicit init routine for the atom table. r=froydnj 2016-05-28 17:08:05 +01:00
nsCharSeparatedTokenizer.h
nsCheapSets.h Bug 1268772 (part 1) - Remove nsCheapSet::Put()'s return value. r=erahm. 2016-04-28 15:59:58 +10:00
nsCRT.cpp
nsCRT.h
nsExpirationTracker.h Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow) 2016-09-13 16:30:57 -07:00
nsHashPropertyBag.cpp
nsHashPropertyBag.h
nsIArray.idl
nsIArrayExtensions.idl Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj 2016-10-24 13:24:26 -07:00
nsIAtom.idl Bug 1261735 (part 3) - De-virtualize nsIAtom::IsStaticAtom(). r=froydnj,erahm. 2016-04-06 11:28:40 +10:00
nsIAtomService.idl Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm. 2016-03-29 10:09:43 +11:00
nsICollection.idl Bug 1310040 - Make nsSupportsArray implement nsIArray. r=froydnj 2016-10-18 11:52:08 -07:00
nsIEnumerator.idl
nsIHashable.idl
nsIINIParser.idl
nsIMutableArray.idl Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj 2016-10-24 13:24:26 -07:00
nsINIParserImpl.cpp
nsINIParserImpl.h
nsINIProcessor.js Bug 1285063 - Part 1: Add a helper to XPCOMUtils to iterate over entries in a category. r=kmag 2016-07-11 17:33:06 -07:00
nsINIProcessor.manifest
nsIObserver.idl
nsIObserverService.idl
nsIPersistentProperties2.idl
nsIPersistentProperties.h
nsIProperties.idl
nsIProperty.idl
nsIPropertyBag2.idl
nsIPropertyBag.idl
nsISerializable.idl
nsISimpleEnumerator.idl
nsIStringEnumerator.idl
nsISupportsArray.idl Bug 1308317 - Part 9: Remove nsSupportsArray::Compact. r=froydnj 2016-10-18 11:36:39 -07:00
nsISupportsIterators.idl
nsISupportsPrimitives.idl
nsIVariant.idl
nsIWindowsRegKey.idl
nsIWritablePropertyBag2.idl
nsIWritablePropertyBag.idl
nsMathUtils.h
nsObserverList.cpp Bug 1268772 (part 5) - Use MOZ_MUST_USE in other parts of xpcom/ds/. r=erahm. 2016-04-28 17:11:17 +10:00
nsObserverList.h Bug 1268772 (part 5) - Use MOZ_MUST_USE in other parts of xpcom/ds/. r=erahm. 2016-04-28 17:11:17 +10:00
nsObserverService.cpp Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
nsObserverService.h Bug 1268772 (part 5) - Use MOZ_MUST_USE in other parts of xpcom/ds/. r=erahm. 2016-04-28 17:11:17 +10:00
nsPersistentProperties.cpp Bug 1295053 (part 4) - Don't use NS_METHOD for remaining xpcom functions. r=froydnj. 2016-08-15 14:49:26 +10:00
nsPersistentProperties.h Bug 1295053 (part 4) - Don't use NS_METHOD for remaining xpcom functions. r=froydnj. 2016-08-15 14:49:26 +10:00
nsProperties.cpp
nsProperties.h
nsStaticAtom.h Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
nsStaticNameTable.cpp Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj. 2016-03-16 15:33:44 +11:00
nsStaticNameTable.h
nsStringEnumerator.cpp Bug 1262399 - remove Impl suffixes from nsSupports* implementations; r=mccr8 2016-05-03 15:25:41 -05:00
nsStringEnumerator.h Bug 1268772 (part 5) - Use MOZ_MUST_USE in other parts of xpcom/ds/. r=erahm. 2016-04-28 17:11:17 +10:00
nsSupportsArray.cpp Bug 1310040 - Make nsSupportsArray implement nsIArray. r=froydnj 2016-10-18 11:52:08 -07:00
nsSupportsArray.h No Bug - Add include to fix unified bustage. r=me 2016-10-18 12:10:35 -07:00
nsSupportsArrayEnumerator.cpp
nsSupportsArrayEnumerator.h
nsSupportsPrimitives.cpp Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
nsSupportsPrimitives.h Bug 1262399 - remove Impl suffixes from nsSupports* implementations; r=mccr8 2016-05-03 15:25:41 -05:00
nsVariant.cpp Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
nsVariant.h Bug 1268772 (part 2) - Make infallible nsVariant methods return |void| instead of |nsresult|. r=erahm. 2016-04-29 13:47:44 +10:00
nsWhitespaceTokenizer.h
nsWindowsRegKey.cpp Bug 1305422 - followup - use correct check for memory allocation failure in nsWindowsRegKey.cpp; r=bustage 2016-09-30 01:56:28 -04:00
nsWindowsRegKey.h Bug 1268772 (part 3) - Remove NS_NewWindowsRegKey()'s return value. r=erahm. 2016-05-02 09:06:45 +10:00
StickyTimeDuration.h Bug 1249212 part 2 - Fix infinity handling in StickyTimeDurationValueCalculator::Multiply; r=froydnj 2016-02-19 08:37:31 +09:00
Tokenizer.cpp Bug 1274583 - Add SkipUntil method to mozilla::Tokenizer, r=froydnj 2016-05-22 07:33:00 -07:00
Tokenizer.h Bug 1274583 - Add SkipUntil method to mozilla::Tokenizer, r=froydnj 2016-05-22 07:33:00 -07:00