gecko-dev/toolkit/xre
Nicholas Nethercote bcac800a39 Bug 1346132 (part 1) - Initialize Mozilla logging earlier in nsAppRunner.cpp. r=erahm.
The following functions all call NS_LogInit() (either directly or via
ScopedLogging) and then call LogModule::Init() very shortly after:
XRE_InitChildProcess(), NS_InitXPCOM2(), NS_InitMinimalXPCOM(),
XRE_XPCShellMain().

XREMain::XRE_main() does not, however. This prevents us from using MOZ_LOG
easily in the profiler, because the profiler starts up earlier than logging in
the browser.

This patch adds an early LogModule::Init() to XRE_main(), just after the
NS_LogInit().

--HG--
extra : rebase_source : c25fc891da78755e2f38f4dc672d503734990c47
2017-03-10 18:55:40 +11:00
..
test Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
Bootstrap.cpp Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin 2017-03-07 22:34:39 -05:00
Bootstrap.h Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin 2017-03-07 22:34:39 -05:00
CreateAppData.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
EventTracer.cpp Bug 1337189 (part 3) - Remove profiler_responsiveness. r=mstange. 2017-02-07 14:15:10 +11:00
EventTracer.h
MacApplicationDelegate.h
MacApplicationDelegate.mm
MacAutoreleasePool.h
MacAutoreleasePool.mm
MacLaunchHelper.h
MacLaunchHelper.mm
Makefile.in
MozMeegoAppService.h
ProfileReset.cpp Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj 2016-12-14 09:32:21 -07:00
ProfileReset.h Bug 883627 - Updated CreateResetProfile() to use the existing profile name for the newly created profile, r=gijs 2017-02-09 15:29:58 -08:00
UIKitDirProvider.h
UIKitDirProvider.mm
glxtest.cpp Backed out changeset cf43cacdb262 (bug 1294232) for XPCShell failures 2016-09-21 14:24:26 +08:00
moz.build Bug 1348609 - Use the installation dir path CityHash hash for the updates directory even when the hash hasn't been written to the registry by the installer. r=mhowell, r=dtownsend 2017-03-22 11:45:11 -07:00
nsAndroidStartup.cpp Bug 1306327 - Move reading application.ini to XRE_main. r=bsmedberg 2017-01-10 16:43:23 +09:00
nsAppRunner.cpp Bug 1346132 (part 1) - Initialize Mozilla logging earlier in nsAppRunner.cpp. r=erahm. 2017-03-10 18:55:40 +11:00
nsAppRunner.h Bug 1345978, part 1 - Add a way to get the platform build id without the service manager. r=froydnj 2017-03-11 08:01:34 -08:00
nsAppStartupNotifier.cpp Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00
nsAppStartupNotifier.h Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00
nsCommandLineServiceMac.cpp
nsCommandLineServiceMac.h
nsConsoleWriter.cpp
nsEmbedFunctions.cpp Bug 1320134 - Part 2: Initialize and shutdown the TLS allocation tracker in the content process. r=froydnj 2017-03-16 14:06:35 +08:00
nsEmbeddingModule.cpp Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00
nsGDKErrorHandler.cpp
nsGDKErrorHandler.h
nsIAppStartupNotifier.h Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00
nsINativeAppSupport.idl Bug 1332892 - Remove obsolete hackaround from nsDefaultURIFixup.cpp. r=bz 2017-01-22 14:32:37 +09:00
nsIWinAppHelper.idl
nsNativeAppSupportBase.cpp
nsNativeAppSupportBase.h
nsNativeAppSupportCocoa.mm
nsNativeAppSupportDefault.cpp
nsNativeAppSupportUnix.cpp
nsNativeAppSupportWin.cpp Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
nsNativeAppSupportWin.h
nsSigHandlers.cpp
nsSigHandlers.h
nsUpdateDriver.cpp Bug 1342887 - Detect and log failures to dispatch SetupMacCommandLine to the main thread. r=rstrong 2017-02-27 13:57:11 -08:00
nsUpdateDriver.h
nsWindowsRestart.cpp
nsWindowsWMain.cpp
nsX11ErrorHandler.cpp bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium 2017-01-13 20:50:58 +13:00
nsX11ErrorHandler.h bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium 2017-01-13 20:50:58 +13:00
nsXREDirProvider.cpp Bug 1348609 - Use the installation dir path CityHash hash for the updates directory even when the hash hasn't been written to the registry by the installer. r=mhowell, r=dtownsend 2017-03-22 11:45:11 -07:00
nsXREDirProvider.h
platform.ini
updaterfileutils_osx.h
updaterfileutils_osx.mm