gecko-dev/xpcom/ds
Simon Giesecke 58d0171406 Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj
To correctly implement this, it must be known on instantiation whether E is
copy-constructible, which is not the case if only a forward declaration is
available. This can be resolved either by making sure a full definition of E is
available, which is preferable. But in cases where this is not (easily) possible,
the information can be explicitly provided by the MOZ_DECLARE_COPY_CONSTRUCTIBLE
and MOZ_DECLARE_NON_COPY_CONSTRUCTIBLE macros. In particular, declarations for
IPDL-declared types are added to nsTArray.h itself, like it was already done
for MOZ_DECLARE_RELOCATE_USING_MOVE_CONSTRUCTOR.

Differential Revision: https://phabricator.services.mozilla.com/D66244

--HG--
extra : moz-landing-system : lando
2020-03-20 17:13:51 +00:00
..
tools Bug 1618620 - Convert gen_static_components.py to py3; r=firefox-build-system-reviewers,rstewart 2020-02-28 21:27:17 +00:00
ArenaAllocator.h
ArenaAllocatorExtensions.h
ArrayIterator.h Bug 1578649 - Make ArrayIterator<Element&, ArrayType> convertible to ArrayIterator<const Element&, ArrayType>. r=froydnj 2019-09-04 18:48:05 +00:00
Atom.py
AtomArray.h
Dafsa.cpp Bug 1534878 - xpcom: Make some global functions static. r=erahm 2019-02-24 17:35:59 -08:00
Dafsa.h
HTMLAtoms.py
IncrementalTokenizer.cpp
IncrementalTokenizer.h
MruCache.h
Observer.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
PLDHashTable.cpp Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
PLDHashTable.h Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
PerfectHash.h
SimpleEnumerator.h
StaticAtoms.py Bug 1618260 - Fix number input so that it honors overflow-clip-box-block. r=mats 2020-03-18 09:21:44 +00:00
StickyTimeDuration.h
Tokenizer.cpp
Tokenizer.h
components.conf Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj 2019-04-09 21:13:16 +00:00
moz.build Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart 2020-02-21 00:05:17 +00:00
nsArray.cpp
nsArray.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsArrayEnumerator.cpp
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsAtom.h Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
nsAtomTable.cpp Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
nsAtomTable.h
nsBaseHashtable.h Bug 1617898 - Add nsBaseHashtable::RemoveIf function. r=froydnj 2020-02-25 15:31:07 +00:00
nsCOMArray.cpp Bug 1587176 - Fix UBSAN complaints about nsCOMArray. r=erahm 2019-11-05 00:14:10 +00:00
nsCOMArray.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsCRT.cpp
nsCRT.h Bug 1575495: part 4) Add `AddLineBreak` to `CurrentLineContent`. r=hsivonen 2019-08-23 14:00:50 +00:00
nsCharSeparatedTokenizer.h
nsCheapSets.h Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
nsClassHashtable.h Bug 1617841 - Add nsClassHashtable::Put overloads accepting a UniquePtr rvalue. r=froydnj 2020-02-25 14:36:59 +00:00
nsDataHashtable.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsDeque.cpp
nsDeque.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsEnumeratorUtils.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsEnumeratorUtils.h
nsExpirationTracker.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsGkAtoms.cpp
nsGkAtoms.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
nsHashKeys.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsHashPropertyBag.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsHashPropertyBag.h Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
nsIArray.idl
nsIArrayExtensions.idl
nsIINIParser.idl
nsIMutableArray.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsINIParserImpl.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsINIParserImpl.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsIObserver.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIObserverService.idl Bug 1612724 - Part 1: Add a NotifyWhenScriptSafe helper method to nsIObserverService, r=froydnj 2020-02-04 22:09:34 +00:00
nsIPersistentProperties.h
nsIPersistentProperties2.idl
nsIProperties.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIProperty.idl
nsIPropertyBag.idl
nsIPropertyBag2.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsISerializable.idl
nsISimpleEnumerator.idl
nsIStringEnumerator.idl
nsISupportsIterators.idl
nsISupportsPrimitives.idl Bug 1545851, part 2 - Mark nsISupportsPrimitive and subinterfaces as builtinclass. r=froydnj 2019-04-22 14:35:18 +00:00
nsIVariant.idl Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika 2019-05-13 19:51:49 +00:00
nsIWindowsRegKey.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIWritablePropertyBag.idl
nsIWritablePropertyBag2.idl
nsInterfaceHashtable.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsJSThingHashtable.h
nsMathUtils.h Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium 2019-03-21 01:28:50 +00:00
nsObserverList.cpp Bug 1241518 - Part 1: Remove unused nsAutoPtr.h includes in xpcom/ r=kmag 2020-01-07 00:06:01 +00:00
nsObserverList.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
nsObserverService.cpp Bug 1612724 - Part 1: Add a NotifyWhenScriptSafe helper method to nsIObserverService, r=froydnj 2020-02-04 22:09:34 +00:00
nsObserverService.h
nsPersistentProperties.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsPersistentProperties.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsPointerHashKeys.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsProperties.cpp Bug 1551647. Stop using [array] in nsIProperties. r=froydnj 2019-05-14 18:46:13 +00:00
nsProperties.h
nsQuickSort.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsQuickSort.h
nsRefPtrHashtable.h Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
nsSimpleEnumerator.cpp
nsSimpleEnumerator.h
nsStaticAtomUtils.h
nsStaticNameTable.cpp Bug 1591132 - Make it easy to switch on and off these assertions in different build configurations. r=froydnj 2019-10-28 23:27:30 +00:00
nsStaticNameTable.h
nsStringEnumerator.cpp Bug 1122740 - remove useless null checks after allocating memory with |new| r=erahm 2019-06-04 04:43:11 +00:00
nsStringEnumerator.h
nsSupportsPrimitives.cpp Bug 1591823 - Part 1: Remove the unused nsIComponentRegistrar.enumerateCIDs() method; r=froydnj 2019-10-28 13:26:17 +00:00
nsSupportsPrimitives.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsTArray-inl.h Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj 2020-03-20 17:13:51 +00:00
nsTArray.cpp
nsTArray.h Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj 2020-03-20 17:13:51 +00:00
nsTArrayForwardDeclare.h Bug 1289211 - Remove InfallibleTArray alias r=erahm 2019-07-10 03:34:19 +00:00
nsTHashtable.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsTObserverArray.cpp
nsTObserverArray.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsTPriorityQueue.h
nsVariant.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
nsVariant.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
nsWhitespaceTokenizer.h
nsWindowsRegKey.cpp Bug 1241518 - Part 1: Remove unused nsAutoPtr.h includes in xpcom/ r=kmag 2020-01-07 00:06:01 +00:00
nsWindowsRegKey.h