gecko-dev/xpcom/base
serge-sans-paille 8a0a0f7524 Bug 1920718 - Annotate all global variable with runtime initialization attributes r=glandium,application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh,geckoview-reviewers,win-reviewers,gstoll,m_kato
MOZ_RUNINIT => initialized at runtime
MOZ_CONSTINIT => initialized at compile time
MOZ_GLOBINIT => initialized either at runtime or compile time, depending on template parameter, macro parameter etc
This annotation is only understood by our clang-tidy plugin. It has no
effect on regular compilation.

Differential Revision: https://phabricator.services.mozilla.com/D223341
2024-10-30 11:05:24 +00:00
..
AppShutdown.cpp Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang 2024-10-28 08:21:19 +00:00
AppShutdown.h
AutoRestore.h
AvailableMemoryTracker.cpp Bug 1852806 - Remove macros for older Windows SDK from xpcom/. r=xpcom-reviewers,glandium 2023-09-15 03:19:28 +00:00
AvailableMemoryTracker.h
AvailableMemoryWatcher.cpp Bug 1920562 - Remove C++ Telemetry::SetEventRecordingEnabled r=florian,necko-reviewers,valentin 2024-10-08 20:14:41 +00:00
AvailableMemoryWatcher.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
AvailableMemoryWatcherLinux.cpp Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
AvailableMemoryWatcherMac.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
AvailableMemoryWatcherUtils.h
AvailableMemoryWatcherWin.cpp Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
CFTypeRefPtr.h Bug 1884832 - Move CFTypeRefPtr.h to xpcom. r=nika 2024-03-13 20:54:20 +00:00
ClearOnShutdown.cpp
ClearOnShutdown.h
CodeAddressService.h
components.conf Bug 1834278 - Get rid of nsIMessageLoop. r=emilio 2023-08-01 13:15:50 +00:00
CountingAllocatorBase.h
CycleCollectedJSContext.cpp Bug 1911021 - Add an API tp CycleCollectedJSContext to enable/disable tracing r=smaug 2024-10-16 05:50:11 +00:00
CycleCollectedJSContext.h Bug 1911021 - Add an API tp CycleCollectedJSContext to enable/disable tracing r=smaug 2024-10-16 05:50:11 +00:00
CycleCollectedJSRuntime.cpp Backed out 5 changesets (bug 1904429) for causing ThreadSanitizer linux tsan failures. 2024-08-22 23:57:12 +03:00
CycleCollectedJSRuntime.h Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
CycleCollectorStats.cpp Bug 1766044 - Give every cycle collecting thread a stats struct r=mccr8 2024-06-25 22:14:08 +00:00
CycleCollectorStats.h Bug 1766044 - Give every cycle collecting thread a stats struct r=mccr8 2024-06-25 22:14:08 +00:00
DarwinObjectPtr.h Bug 1881636 - Part 1: Add DarwinObjectPtr, r=glandium,sylvestre 2024-03-26 22:56:26 +00:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu 2023-10-10 08:51:12 +00:00
DebuggerOnGCRunnable.h
DeferredFinalize.cpp
DeferredFinalize.h
EnumeratedArrayCycleCollection.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
ErrorList.py Backed out changeset 816825f333b7 (bug 1909110) for causing bc failures @ browser_bug575561.js. CLOSED TREE 2024-10-29 16:27:31 +02:00
ErrorNames.cpp
ErrorNames.h
GkRustUtils.cpp
GkRustUtils.h
HoldDropJSObjects.cpp Backed out changeset 316531363a05 (bug 1904810) for not fixing the regressions. CLOSED TREE 2024-07-09 19:31:17 +03:00
HoldDropJSObjects.h Backed out changeset 316531363a05 (bug 1904810) for not fixing the regressions. CLOSED TREE 2024-07-09 19:31:17 +03:00
IntentionalCrash.h
JSObjectHolder.cpp
JSObjectHolder.h
JSONStringWriteFuncs.h
LogCommandLineHandler.cpp
LogCommandLineHandler.h
Logging.cpp Bug 1924821: increase default log module array count r=nika 2024-10-23 16:21:40 +00:00
Logging.h Bug 1717448 - Teach MOZ_LOG to use {fmt}. r=nika 2024-10-21 12:54:55 +00:00
LogModulePrefWatcher.cpp Bug 1894703 - When the modules preference is removed or absent, use the MOZ_LOG env variable if present r=padenot 2024-05-23 08:14:17 +00:00
LogModulePrefWatcher.h
MacHelpers.h
MacHelpers.mm Bug 1843207 - Rename CopyCocoaStringToXPCOMString to CopyNSStringToXPCOMString. r=nika 2024-03-13 20:54:19 +00:00
MacStringHelpers.h Bug 1843207 - Add a XPCOMStringToNSString function that similar to nsCocoaUtils::ToNSString. r=nika 2024-03-13 20:54:20 +00:00
MacStringHelpers.mm Bug 1843207 - Add a XPCOMStringToNSString function that similar to nsCocoaUtils::ToNSString. r=nika 2024-03-13 20:54:20 +00:00
MemoryInfo.cpp
MemoryInfo.h
MemoryMapping.cpp Bug 1850948 - Use std::string::data() as strtok param in GetMemoryMappings, avoiding a buffer copy in the process r=emilio 2023-09-07 16:36:38 +00:00
MemoryMapping.h
MemoryPressureLevelMac.h Bug 1791961 - xpcom: Fix C++20 -Wambiguous-reversed-operator warnings. r=emilio 2023-05-26 04:51:44 +00:00
MemoryReportingProcess.h
MemoryTelemetry.cpp Bug 1794529 - Report MEMORY_TOTAL only if there were no errors calculating it r=xpcom-reviewers,emilio 2024-05-10 04:12:24 +00:00
MemoryTelemetry.h Bug 1794529 - Report MEMORY_TOTAL only if there were no errors calculating it r=xpcom-reviewers,emilio 2024-05-10 04:12:24 +00:00
moz.build Bug 1766044 - Move CycleCollectorStats from nsJSEnvironment.cpp to its own file r=mccr8 2024-06-25 22:14:08 +00:00
nsAlgorithm.h
nsAutoRef.h
nsClassInfoImpl.cpp
nsCom.h
nsCOMPtr.cpp Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag 2023-05-31 21:58:43 +00:00
nsCOMPtr.h Bug 1843477, make nsCOMPtr use RefPtrTraits, r=nika 2023-09-26 12:36:21 +00:00
nsConsoleMessage.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
nsConsoleMessage.h
nsConsoleService.cpp Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
nsConsoleService.h
nscore.h Bug 1841178 - Remove xpcom-config.h. r=xpcom-reviewers,mccr8 2023-06-29 23:02:15 +00:00
nsCrashOnException.cpp
nsCrashOnException.h
nsCRTGlue.cpp Bug 1790873 - Move printf_stderr() to mozglue so it can be used within js/src r=glandium,nika 2024-01-11 02:09:30 +00:00
nsCRTGlue.h Backed out changeset 4b7fe66103e5 (bug 1891234) for causing multiple failures CLOSED TREE 2024-05-06 22:28:08 +03:00
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h
nsCycleCollectionTraversalCallback.h
nsCycleCollector.cpp Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig 2024-10-22 09:38:16 +00:00
nsCycleCollector.h Bug 1766044 - Move ForgetSkippable marker from mainthread only to a common place r=mccr8 2024-06-25 22:14:09 +00:00
nsCycleCollectorTraceJSHelpers.cpp
nsDebug.h Bug 1790873 - Move printf_stderr() to mozglue so it can be used within js/src r=glandium,nika 2024-01-11 02:09:30 +00:00
nsDebugImpl.cpp Bug 1855070 - Have NS_ASSERTION print a stack trace on Android as well. r=nika 2024-10-29 19:47:53 +00:00
nsDebugImpl.h
nsDumpUtils.cpp Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig 2024-10-22 09:38:16 +00:00
nsDumpUtils.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
nsError.h
nsGZFileWriter.cpp Bug 1910796 - Use deflate API directly in nsGZFileWriter. r=xpcom-reviewers,nika 2024-08-15 11:33:39 +00:00
nsGZFileWriter.h Bug 1910796 - Use deflate API directly in nsGZFileWriter. r=xpcom-reviewers,nika 2024-08-15 11:33:39 +00:00
nsIAvailableMemoryWatcherBase.idl
nsIClassInfoImpl.h Bug 1920718 - Annotate all global variable with runtime initialization attributes r=glandium,application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh,geckoview-reviewers,win-reviewers,gstoll,m_kato 2024-10-30 11:05:24 +00:00
nsIConsoleListener.idl
nsIConsoleMessage.idl
nsIConsoleService.idl Bug 1872969 - Avoid js keywords as argument names r=nika 2024-01-05 22:17:01 +00:00
nsICycleCollectorListener.idl Bug 1865826 - Add a way to get CC logs without GC logs. r=smaug 2024-03-20 13:40:44 +00:00
nsID.cpp
nsID.h
nsIDebug2.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIDUtils.h
nsIException.idl Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
nsIInterfaceRequestor.idl
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsIMacPreferencesReader.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIMemoryInfoDumper.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIMemoryReporter.idl
nsINIParser.cpp Bug 1919745: nsINIParser should use C++ lambdas instead of C callback functions. r=nika 2024-09-20 11:40:34 +00:00
nsINIParser.h Bug 1919745: nsINIParser should use C++ lambdas instead of C callback functions. r=nika 2024-09-20 11:40:34 +00:00
nsInterfaceRequestorAgg.cpp
nsInterfaceRequestorAgg.h
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsISupports.idl
nsISupportsImpl.cpp Bug 1882698 - Fix ref counting in nsAutoOwningEventTarget; r=xpcom-reviewers,nika 2024-03-14 08:51:56 +00:00
nsISupportsImpl.h Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang 2024-10-28 08:21:19 +00:00
nsISupportsUtils.h
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl
nsIWeakReferenceUtils.h
nsMacPreferencesReader.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
nsMacPreferencesReader.mm Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
nsMacUtilsImpl.cpp Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig 2024-10-22 09:38:16 +00:00
nsMacUtilsImpl.h
nsMaybeWeakPtr.h Bug 1860952 warn when nsMaybeWeakPtr::GetValue() returns null for unexpected reasons r=xpcom-reviewers,mccr8 2023-10-26 00:22:49 +00:00
nsMemory.h
nsMemoryImpl.cpp Bug 1893683 - Remove ns{A,C}String and other xpcom dependencies from nsStringBuffer. r=smaug,media-playback-reviewers,karlt 2024-05-09 08:34:35 +00:00
nsMemoryInfoDumper.cpp Bug 1920718 - Annotate all global variable with runtime initialization attributes r=glandium,application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh,geckoview-reviewers,win-reviewers,gstoll,m_kato 2024-10-30 11:05:24 +00:00
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
nsMemoryReporterManager.h
nsObjCExceptions.h
nsObjCExceptions.mm Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
NSPRLogModulesParser.cpp
NSPRLogModulesParser.h
nsQueryObject.h
nsrootidl.idl Bug 1881863 - Part 3: Use the XPIDL-generated PRTime typedef, r=xpcom-reviewers,emilio 2024-04-04 18:45:22 +00:00
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSystemInfo.cpp Bug 1907575 - Part 1: Add telemetry for pointing device existence r=win-reviewers,rkraesig,geckoview-reviewers,m_kato 2024-10-29 19:16:35 +00:00
nsSystemInfo.h Bug 1926292: Add heterogeneous core information to the CPU information. r=nika,chutten 2024-10-23 17:21:51 +00:00
nsTraceRefcnt.cpp Bug 1920718 - Annotate all global variable with runtime initialization attributes r=glandium,application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh,geckoview-reviewers,win-reviewers,gstoll,m_kato 2024-10-30 11:05:24 +00:00
nsTraceRefcnt.h Bug 1909125 - Fix FDs situation to ensure prefs map will not collide r=nika 2024-08-05 08:11:45 +00:00
nsUUIDGenerator.cpp
nsUUIDGenerator.h
nsVersionComparator.cpp
nsVersionComparator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakReference.cpp
nsWeakReference.h
nsWindowsHelpers.h Bug 1843701 - Unconditionally use LOAD_LIBRARY_SEARCH_SYSTEM32. r=handyman 2023-07-17 18:13:51 +00:00
OwningNonNull.h
PHCManager.cpp Bug 1896551 - Add new PHC prefs for content processes r=gcp 2024-05-15 03:30:21 +00:00
PHCManager.h Bug 1829127 - Add telemetry for PHC slop r=glandium 2023-11-06 04:59:33 +00:00
RLBoxSandboxPool.cpp
RLBoxSandboxPool.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
RLBoxUtils.h
ShutdownPhase.h
SizeOfState.h
StaticLocalPtr.h
StaticMonitor.h
StaticMutex.h
StaticPtr.h