gecko/xpcom/glue
Jeff Walden b01c238639 Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer.  (Examples are provided in NullPtr.h comments.)  The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes.  This problem is unavoidable without true nullptr.  Currently, the only valid use for NullptrT is believed to be in operator overloads.  All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.

--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
..
nomozalloc Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
standalone Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
staticruntime Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
tests/gtest Bug 939206 - Fix build error in test code on B2G r=me 2013-12-07 16:09:12 +00:00
AppData.cpp
AppData.h
AutoRestore.h
BlockingResourceBase.cpp Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs. 2013-11-21 09:39:38 -05:00
BlockingResourceBase.h Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs. 2013-11-21 09:39:38 -05:00
CondVar.h
DeadlockDetector.cpp Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs. 2013-11-21 09:39:38 -05:00
DeadlockDetector.h Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs. 2013-11-21 09:39:38 -05:00
FileUtils.cpp Bug 927427 - use __LP64__ in FileUtils.cpp for Linux; r=bsmedberg 2013-10-16 11:14:05 -04:00
FileUtils.h
GenericFactory.cpp
GenericFactory.h
GenericModule.cpp
HoldDropJSObjects.h
IntentionalCrash.h
MainThreadUtils.h
Makefile.in Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Monitor.h
moz.build Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Mutex.h
nsArrayEnumerator.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsBaseHashtable.h Bug 947578 - Expose Contains on nsBaseHashtable. r=froydnj 2013-12-08 11:08:58 +11:00
nsCategoryCache.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsCategoryCache.h
nsClassHashtable.h
nsClassInfoImpl.cpp
nsCOMArray.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsCOMArray.h Bug 947626 - Fix index types in nsCOMArray CC helpers and remove whitespace. r=froydnj 2013-12-08 08:56:00 -08:00
nsComponentManagerUtils.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsComponentManagerUtils.h
nsCOMPtr.cpp
nsCOMPtr.h Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan 2014-01-02 17:27:41 -06:00
nsCRTGlue.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsCRTGlue.h Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h
nsCycleCollectionTraversalCallback.h Bug 937303 - Make CC logger to pass information about compartments, r=mccr8 2013-11-12 15:53:51 +02:00
nsDataHashtable.h
nsDebug.h Bug 944410 - add missing #include <stdarg.h> for va_list on OpenBSD after bug 942483 r=bgirard 2013-11-30 13:48:34 +01:00
nsDeque.cpp
nsDeque.h Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj 2013-11-25 15:06:17 -05:00
nsEnumeratorUtils.cpp
nsEnumeratorUtils.h
nsHashKeys.h Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsIClassInfoImpl.h
nsID.cpp
nsID.h
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsINIParser.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsINIParser.h
nsInterfaceHashtable.h
nsISupportsImpl.cpp Bug 950882 - micro-optimize NS_TableDrivenQI calling sequence by reordering argument list; r=bsmedberg 2013-12-13 19:50:02 -05:00
nsISupportsImpl.h Bug 950882 - micro-optimize NS_TableDrivenQI calling sequence by reordering argument list; r=bsmedberg 2013-12-13 19:50:02 -05:00
nsISupportsUtils.h
nsIWeakReferenceUtils.h
nsJSThingHashtable.h
nsMemory.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsMemory.h
nsProxyRelease.cpp
nsProxyRelease.h
nsQuickSort.cpp Bug 941405 - Remove the usages of the register keyword from XPCOM; r=froydnj 2013-11-21 10:42:40 -05:00
nsQuickSort.h
nsRefPtrHashtable.h
nsServiceManagerUtils.h
nsStringAPI.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsStringAPI.h Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsStringGlue.h
nsTArray-inl.h Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj 2013-11-25 15:06:17 -05:00
nsTArray.cpp
nsTArray.h Bug 939206 - Fix nsTArray post barriers for JS::Heap<T> elements r=bsmedberg 2013-12-07 12:50:28 +00:00
nsTArrayForwardDeclare.h
nsTextFormatter.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsTextFormatter.h Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsTHashtable.cpp
nsTHashtable.h Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj 2013-11-25 15:06:17 -05:00
nsThreadIDs.h
nsThreadUtils.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsThreadUtils.h Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsTObserverArray.cpp
nsTObserverArray.h
nsTPriorityQueue.h
nsTraceRefcnt.h
nsTWeakRef.h
nsVersionComparator.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsVersionComparator.h Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsVoidArray.cpp Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan 2013-11-12 18:22:38 -06:00
nsVoidArray.h
nsWeakReference.cpp
nsWeakReference.h
nsXPTCUtils.h
objs.mozbuild Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Observer.h
pldhash.cpp Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan 2013-11-12 18:22:38 -06:00
pldhash.h Bug 933605 (part 1) - Remove DEBUG_XXXbrendan-only code. r=jorendorff. 2013-10-31 22:30:45 -07:00
ReentrantMonitor.h b=928222 move ReentrantMonitorAutoExit from VideoUtils.h to ReentrantMonitor.h r=bsmedberg 2013-10-24 07:22:53 +13:00
unused.cpp
unused.h