gecko-dev/toolkit/xre
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

Differential Revision: https://phabricator.services.mozilla.com/D26076

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
..
test Bug 1531902: Enable launcher process pref on beta; r=mhowell 2019-03-11 23:26:00 +00:00
AutoSQLiteLifetime.cpp Bug 1523874 - Restore the use of sqlite memory hooks. r=mak 2019-01-30 13:00:21 +00:00
AutoSQLiteLifetime.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Bootstrap.cpp Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp 2019-03-18 23:52:31 +00:00
Bootstrap.h Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp 2019-03-18 23:52:31 +00:00
CmdLineAndEnvUtils.cpp Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj 2019-01-14 17:27:34 +00:00
CmdLineAndEnvUtils.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
CreateAppData.cpp Bug 1520530: Remove the usage of deprecated OSX APIs in nsCommandLineService. r=spohl 2019-01-30 22:28:56 +00:00
EventTracer.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
EventTracer.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
LauncherRegistryInfo.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
LauncherRegistryInfo.h Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre 2019-01-18 10:12:56 +01:00
LauncherResult.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
MacApplicationDelegate.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MacApplicationDelegate.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
MacAutoreleasePool.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MacAutoreleasePool.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
MacLaunchHelper.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MacLaunchHelper.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
ModuleEvaluator_windows.cpp Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz 2019-01-15 22:29:28 +00:00
ModuleEvaluator_windows.h Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz 2019-01-15 22:29:28 +00:00
ModuleVersionInfo_windows.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ModuleVersionInfo_windows.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MozMeegoAppService.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PolicyChecks.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
ProfileReset.cpp Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE 2019-01-29 10:03:06 +02:00
ProfileReset.h Bug 1474285: Implement dedicated profiles per install. r=froydnj, r=Gijs 2019-01-25 16:02:28 -08:00
SafeMode.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
UIKitDirProvider.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
UIKitDirProvider.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
WinDllServices.cpp Bug 1460433: Part 1 - Change BasicDllServices to not do any dll notification callbacks; r=mhowell 2019-02-20 06:18:45 +00:00
WinDllServices.h Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz 2019-01-15 22:29:28 +00:00
components.conf Bug 1524687: Part 2 - Convert most of the embedding module to static registration. r=mossop 2019-01-24 15:32:56 -08:00
glxtest.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-31 15:12:55 +00:00
moz.build Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp 2019-03-18 23:52:31 +00:00
nsAndroidStartup.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsAppRunner.cpp Bug 1541792 - Replace linker magic with manual component registration. r=froydnj 2019-04-05 02:30:56 +00:00
nsAppRunner.h Bug 1528963 - Attach console before launching child. r=aklotz 2019-03-29 18:05:03 +00:00
nsAppStartupNotifier.cpp Bug 1523969 part 23 - Move method definition inline comments to new line in 'toolkit/'. r=ehsan 2019-02-25 16:12:51 -06:00
nsAppStartupNotifier.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsCommandLineServiceMac.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsCommandLineServiceMac.mm Bug 1523613: Fix memory leaks during updates. r=rstrong 2019-02-25 10:16:15 -05:00
nsConsoleWriter.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsEmbedFunctions.cpp Bug 1539577 - Avoid calling InitUIThread when native event processing is turned off. r=bobowen 2019-04-01 08:13:11 +00:00
nsEmbeddingModule.cpp Bug 1541792 - Replace linker magic with manual component registration. r=froydnj 2019-04-05 02:30:56 +00:00
nsGDKErrorHandler.cpp Bug 288704 part 1 - [css-lists] Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant decendants. r=emilio 2019-03-24 23:13:52 +01:00
nsGDKErrorHandler.h
nsIAppStartupNotifier.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsINativeAppSupport.idl Bug 1533708: Properly shut down the remote service before launching Firefox again. r=jmathies 2019-03-11 14:58:08 +00:00
nsIWinAppHelper.idl
nsIXREDirProvider.idl Bug 1493310: Add a way to access certain functionality of nsXREDirProvider for testing purposes. r=froydnj 2018-09-24 14:55:37 +00:00
nsNativeAppSupportBase.cpp Bug 1533708: Properly shut down the remote service before launching Firefox again. r=jmathies 2019-03-11 14:58:08 +00:00
nsNativeAppSupportBase.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsNativeAppSupportCocoa.mm Bug 1540821: Accept `--no-remote` as equivalent of `-no-remote` and `--headless` as equivalent of `-headless` command line arguments on macOS. r=spohl 2019-04-03 10:19:59 -04:00
nsNativeAppSupportDefault.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsNativeAppSupportUnix.cpp Backed out 11 changesets (bug 1518639, bug 513742) for chrome failures at browser/components/shell/test/test_headless_screenshot.html 2019-03-06 21:28:49 +02:00
nsNativeAppSupportWin.cpp Bug 1528963 - Attach console before launching child. r=aklotz 2019-03-29 18:05:03 +00:00
nsNativeAppSupportWin.h Backed out 11 changesets (bug 1518639, bug 513742) for chrome failures at browser/components/shell/test/test_headless_screenshot.html 2019-03-06 21:28:49 +02:00
nsSigHandlers.cpp Bug 1539459 - Fix Unused variable warning in nsSigHandlers.cpp on non-x86/x86_64 Linux. r=gsvelto 2019-03-27 15:21:52 +00:00
nsSigHandlers.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsUpdateDriver.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
nsUpdateDriver.h Backed out changeset 2fc5715105a2 due to bug 1524496. r=me 2019-02-02 23:01:23 -08:00
nsWindowsRestart.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsWindowsWMain.cpp Bug 1460433: Part 2 - Log launcher process failures to a telemetry ping; r=mhowell 2019-02-25 21:14:07 +00:00
nsX11ErrorHandler.cpp Bug 288704 part 1 - [css-lists] Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant decendants. r=emilio 2019-03-24 23:13:52 +01:00
nsX11ErrorHandler.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsXREDirProvider.cpp Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
nsXREDirProvider.h Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
platform.ini
updaterfileutils_osx.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
updaterfileutils_osx.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00