fune/xpcom/base
Julien Wajsberg bafb803cd9 Bug 1894703 - When the modules preference is removed or absent, use the MOZ_LOG env variable if present r=padenot
The previous patchset got backed out. Indeed it broke MOZ_LOG using the
environment variable. The reason is that the preference watcher was
called with an empty value after the log modules were set by the
enviroment variable handler at init time.

To fix this, now we read the environment variable as well when the pref
is handled. If the pref is empty but the environment variable is set,
the environment variable is used.

This also fixes an issue where profiler stacks wouldn't be disabled.

Differential Revision: https://phabricator.services.mozilla.com/D210785
2024-05-23 08:14:17 +00:00
..
AppShutdown.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
AppShutdown.h
AutoRestore.h
AvailableMemoryTracker.cpp
AvailableMemoryTracker.h
AvailableMemoryWatcher.cpp
AvailableMemoryWatcher.h
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 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
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
CountingAllocatorBase.h
CycleCollectedJSContext.cpp Bug 1892257 - Move nsStringBuffer to mfbt. r=nika,xpcom-reviewers,glandium 2024-05-14 14:24:26 +00:00
CycleCollectedJSContext.h Bug 1620223 - Part 2: Do not assert the job queue emptiness if the job queue itself is interrupted. r=jandem 2024-03-19 02:06:33 +00:00
CycleCollectedJSRuntime.cpp Bug 1892257 - Move nsStringBuffer to mfbt. r=nika,xpcom-reviewers,glandium 2024-05-14 14:24:26 +00:00
CycleCollectedJSRuntime.h Bug 1787526 - Part 18: Browser integration for semispace nursery r=sfink 2024-03-18 16:13:58 +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
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 Bug 1878039 - part1 : implement getStatusPolicy for WMFCDM. r=jolin 2024-02-10 00:24:33 +00:00
ErrorNames.cpp
ErrorNames.h
GkRustUtils.cpp
GkRustUtils.h
HoldDropJSObjects.cpp
HoldDropJSObjects.h
IntentionalCrash.h
JSObjectHolder.cpp
JSObjectHolder.h
JSONStringWriteFuncs.h
LogCommandLineHandler.cpp
LogCommandLineHandler.h
Logging.cpp Bug 1894703 - Set logging modules from a single preference r=padenot 2024-05-23 08:14:16 +00:00
Logging.h Bug 1894703 - Set logging modules from a single preference r=padenot 2024-05-23 08:14:16 +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
MemoryMapping.h
MemoryPressureLevelMac.h
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 1881636 - Part 1: Add DarwinObjectPtr, r=glandium,sylvestre 2024-03-26 22:56:26 +00:00
nsAlgorithm.h
nsAutoRef.h
nsClassInfoImpl.cpp
nsCom.h
nsCOMPtr.cpp
nsCOMPtr.h
nsConsoleMessage.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
nsConsoleMessage.h
nsConsoleService.cpp
nsConsoleService.h
nscore.h
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 1890208 - Consider to drop non-purple entries from the nursery and not move them to the purple buffer, r=mccr8 2024-04-08 23:07:38 +00:00
nsCycleCollector.h Bug 1865826 - Add a way to get CC logs without GC logs. r=smaug 2024-03-20 13:40:44 +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 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
nsDebugImpl.h
nsDumpUtils.cpp
nsDumpUtils.h
nsError.h
nsGZFileWriter.cpp
nsGZFileWriter.h
nsIAvailableMemoryWatcherBase.idl
nsIClassInfoImpl.h
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
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 1893340: Test nsINIParser for string and section deletion r=mccr8 2024-05-02 10:46:41 +00:00
nsINIParser.h
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 1882698 - Fix ref counting in nsAutoOwningEventTarget; r=xpcom-reviewers,nika 2024-03-14 08:51:56 +00:00
nsISupportsUtils.h
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl
nsIWeakReferenceUtils.h
nsMacPreferencesReader.h
nsMacPreferencesReader.mm
nsMacUtilsImpl.cpp
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 1865826 - Add a way to get CC logs without GC logs. r=smaug 2024-03-20 13:40:44 +00:00
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1885466 - Rename jemalloc_stats::page_cache to pages_dirty r=glandium 2024-03-28 02:41:09 +00:00
nsMemoryReporterManager.h
nsObjCExceptions.h
nsObjCExceptions.mm
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 1892051: Only call WinUtils::GetPointerExplanation in the parent process. r=cmartin 2024-05-07 16:24:29 +00:00
nsSystemInfo.h
nsTraceRefcnt.cpp Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium 2024-05-15 20:29:07 +00:00
nsTraceRefcnt.h
nsUUIDGenerator.cpp
nsUUIDGenerator.h
nsVersionComparator.cpp
nsVersionComparator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakReference.cpp
nsWeakReference.h
nsWindowsHelpers.h
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
RLBoxUtils.h
ShutdownPhase.h
SizeOfState.h
StaticLocalPtr.h
StaticMonitor.h
StaticMutex.h
StaticPtr.h