gecko-dev/xpcom/glue
Nicholas Nethercote 949658eb73 Bug 1329857 - Remove NS_METHOD and NS_CALLBACK. r=froydnj.
Bug 1295053 removed most uses of NS_METHOD and NS_CALLBACK, but one use was
unintentionally left behind (in the XPIDL parser) and another has since crept
in (in MediaDrmCDMProxy.h).

So this patch removes NS_METHOD and NS_CALLBACK. NS_METHOD_(nsresult) and
NS_CALLBACK_(nsresult, T) can still be used for the same purpose, but those
alternatives are less likely to be used unintentionally.

--HG--
extra : rebase_source : a50fc7b2a64a36d1ca9beda81bc0edb8f2ec1934
2017-01-10 14:08:43 +11:00
..
standalone Bug 1317954 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in xpcom/. r=froydnj 2016-11-16 14:24:59 +02:00
staticruntime Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
tests/gtest Backed out 2 changesets (bug 1329319) because it will not build a=backout 2017-01-09 15:46:42 -08:00
AutoRestore.h Bug 1272831 - Add AutoRestore::SavedValue() to retrieve the saved value. r=froydnj 2016-05-14 09:47:14 +08:00
BlockingResourceBase.cpp Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
BlockingResourceBase.h
CondVar.h Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
DeadlockDetector.h Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
EnumeratedArrayCycleCollection.h
FileUtils.cpp
FileUtils.h
GenericFactory.cpp
GenericFactory.h
GenericModule.cpp
IntentionalCrash.h
MainThreadUtils.h Bug 1295053 (part 1) - Don't use NS_METHOD for xpcom thread utility functions. r=froydnj. 2016-08-15 14:29:43 +10:00
Monitor.h
Mutex.h Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Observer.h Bug 1307858 - Use a copy of the list of observers to broadcast. r=froydnj 2016-12-16 14:49:25 -06:00
PLDHashTable.cpp Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm 2016-08-22 18:40:10 -04:00
PLDHashTable.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
ReentrantMonitor.h Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
XREAppData.cpp Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium 2016-12-02 09:07:24 -05:00
moz.build Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium 2016-12-02 09:07:24 -05:00
nsArrayEnumerator.cpp Bug 1317954 - Replace default bodies of special member functions with = default; in xpcom/. r=froydnj 2016-11-16 14:25:31 +02:00
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsBaseHashtable.h bug 1316119 - add a GetOrInsert to nsBaseHashtable that returns a reference to the value r=froydnj 2016-11-16 23:46:45 -05:00
nsCOMArray.cpp Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm 2016-08-22 18:40:10 -04:00
nsCOMArray.h Bug 1289890 - Change nsCOMArray::ReplaceObjectAt() return type from "bool" to "void", since it always succeeds. r=froyndnj 2016-08-02 16:20:00 +02:00
nsCOMPtr.cpp Bug 1316432 - Replace 0's with nullptr in nsCOMPtr.* - r=froydnj 2016-11-10 14:19:56 +11:00
nsCOMPtr.h Bug 1280295 - Remove MOZ_HAVE_REF_QUALIFIERS. r=froydnj 2017-01-03 22:42:33 -08:00
nsCRTGlue.cpp Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
nsCRTGlue.h
nsCategoryCache.cpp Bug 1317954 - Replace default bodies of special member functions with = default; in xpcom/. r=froydnj 2016-11-16 14:25:31 +02:00
nsCategoryCache.h Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm 2016-06-20 18:38:10 -04:00
nsClassHashtable.h Bug 1290524: Allow nsClassHashTable::LookupOrAdd to provide arguments to construct the new object. 2016-07-30 15:03:11 -07:00
nsClassInfoImpl.cpp
nsComponentManagerUtils.cpp Bug 1262400 - remove outer pointers from nsCreateInstance* classes; r=erahm 2016-04-14 11:30:59 -04:00
nsComponentManagerUtils.h Bug 1262400 - remove outer pointers from nsCreateInstance* classes; r=erahm 2016-04-14 11:30:59 -04:00
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h Bug 1326507, rename Traverse to TraverseNative, r=mccr8 2017-01-03 21:50:10 +02:00
nsCycleCollectionTraversalCallback.h Bug 1301301, part 1 - Unify NoteJSObject and NoteJSScript into NoteJSChild. r=smaug 2016-09-23 15:42:13 -07:00
nsDataHashtable.h Bug 1291707 part 2 - Add GetAndRemove to nsDataHashtable. r=froydnj 2016-08-23 10:31:26 +10:00
nsDebug.h Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
nsDeque.cpp Bug 1264199: P0. Fix nsDequeue/MediaQueue methods constness. r=jwwang 2016-04-25 12:13:55 +10:00
nsDeque.h Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj. 2016-04-27 14:16:50 +10:00
nsEnumeratorUtils.cpp Bug 1317954 - Replace default bodies of special member functions with = default; in xpcom/. r=froydnj 2016-11-16 14:25:31 +02:00
nsEnumeratorUtils.h
nsHashKeys.h Bug 1262826 - specialize nsTHashtable<nsPtrHashKey<T>> to share a common implementation; r=erahm 2016-08-22 18:45:47 -04:00
nsIClassInfoImpl.h Bug 1329857 - Remove NS_METHOD and NS_CALLBACK. r=froydnj. 2017-01-10 14:08:43 +11:00
nsID.cpp Bug 1317954 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in xpcom/. r=froydnj 2016-11-16 14:24:21 +02:00
nsID.h Bug 1242963 - nsID stringification helper for logging; r=froydnj 2015-10-08 13:11:04 -04:00
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsINIParser.cpp
nsINIParser.h
nsISupportsImpl.cpp
nsISupportsImpl.h Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
nsISupportsUtils.h
nsIWeakReferenceUtils.h
nsInterfaceHashtable.h
nsJSThingHashtable.h
nsMemory.cpp
nsMemory.h
nsPointerHashKeys.h Bug 1262826 - specialize nsTHashtable<nsPtrHashKey<T>> to share a common implementation; r=erahm 2016-08-22 18:45:47 -04:00
nsProxyRelease.cpp Bug 1247972 - specialize NS_ProxyRelease for nsISupports to be out-of-line; r=erahm 2016-06-29 18:56:41 -04:00
nsProxyRelease.h Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
nsQuickSort.cpp
nsQuickSort.h
nsRefPtrHashtable.h Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj. 2016-04-27 14:16:50 +10:00
nsServiceManagerUtils.h
nsStringAPI.cpp Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
nsStringAPI.h Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsStringGlue.h
nsTArray-inl.h Bug 1271751 - part 6 - make ShiftData actually move its elements rather than copying; r=erahm 2016-07-08 16:59:05 -04:00
nsTArray.cpp Bug 1317954 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in xpcom/. r=froydnj 2016-11-16 14:24:59 +02:00
nsTArray.h Bug 1322843 part 1 - Add Reverse method to nsTArray. r=froydnj 2016-12-30 18:23:26 +11:00
nsTArrayForwardDeclare.h Bug 1288077: Cleanup forward declarations of array types, r=froydnj 2016-07-20 17:29:36 +02:00
nsTHashtable.h Bug 1262826 - specialize nsTHashtable<nsPtrHashKey<T>> to share a common implementation; r=erahm 2016-08-22 18:45:47 -04:00
nsTObserverArray.cpp
nsTObserverArray.h Bug 1320752 - remove mozilla/Function.h; r=gerald 2016-11-28 11:03:53 -05:00
nsTPriorityQueue.h
nsTWeakRef.h
nsTextFormatter.cpp Bug 1296231 - Fix some missing "Missing varargs cleanup" and "Resource leaks" r=froydnj 2016-08-18 10:46:05 +02:00
nsTextFormatter.h
nsThreadUtils.cpp Bug 1323100 - Remove NS_SetThreadName which is now unused. r=froydnj 2016-12-20 14:43:11 +01:00
nsThreadUtils.h Bug 1329319 - Allow NewRunnableMethod to method of a non-refcounted base class - r=froydnj 2017-01-10 10:49:08 +11:00
nsVersionComparator.cpp
nsVersionComparator.h Bug 1322465 part 15 - Use explicit/MOZ_IMPLICIT for the unary constructors in xpcom/. r=bobowen,Ehsan 2016-12-16 16:01:11 +08:00
nsWeakReference.cpp Bug 1317954 - Use C++11's override and remove virtual where applicable in xpcom/. r=froydnj 2016-11-16 14:27:07 +02:00
nsWeakReference.h Bug 956338 - Add checks to WeakPtr/nsWeakReference and related classes to assert single-thread usage. r=nfroyd 2016-08-01 13:16:16 +02:00
nsXPTCUtils.h
objs.mozbuild Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium 2016-12-02 09:07:24 -05:00