Граф коммитов

11202 Коммитов

Автор SHA1 Сообщение Дата
renevietnam29@gmail.com c0f7841e56 Bug 1842987 Remove dom.forms.enterkeyhint r=emilio,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D184620
2023-08-14 13:52:35 +00:00
Rob Lemley 232ef086e2 Bug 1848232 - Allow building notificationserver.dll with Thunderbird. r=nalexander
Goes with bug 1838139 (for comm-central) for the packaging code.

Differential Revision: https://phabricator.services.mozilla.com/D185954
2023-08-12 17:50:28 +00:00
Mike Hommey 4027128b33 Bug 1845498 - Use a response file with ar/llvm-lib when possible. r=firefox-build-system-reviewers,ahochheiden
We've apparently hit a threshold in non-unified builds where there are
too many files on the command line when creating the js_static library
on Windows. The way around that is to do something similar to shared
library linking, using a response file (shared library linking has more
possibilities, but it's a different story). Unfortunately, not all
static library creation tools are equal, and while llvm-lib, GNU ar and
llvm-ar support response files, BSD ar and probably others (e.g. the one
on Solaris?) don't, so we have to try and detect whether that works.

Differential Revision: https://phabricator.services.mozilla.com/D185419
2023-08-10 21:47:08 +00:00
Mike Hommey bba33ffab4 Bug 1847190 - Don't use the configure_cache in the packed relative relocations configure check. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185418
2023-08-09 22:54:23 +00:00
Mike Hommey d66980ade7 Bug 1720484 - Add /usr/lib64/pkgconfig to the list of pkg-config directories we try in sysroots. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185375
2023-08-09 22:53:18 +00:00
Mike Hommey 51de975dd9 Bug 1847101 - Define WORDS_BIGENDIAN when targeting big endians. r=firefox-build-system-reviewers,ahochheiden
Some third party code (cairo, pixman, some media libs) rely on this
define being set. When they are built standalone, they get it from
autoconf, but we don't run their configure scripts, so that's missed.

Differential Revision: https://phabricator.services.mozilla.com/D185351
2023-08-09 22:25:07 +00:00
Mike Hommey 44b24790fa Bug 1847199 - Add toolchains for clang 17.0.0-rc2. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185424
2023-08-09 20:26:14 +00:00
Mike Hommey 3cb3ea3b50 Bug 1847198 - Update builders to clang 16.0.6. r=firefox-build-system-reviewers,ahochheiden
Remove llvmorg-17-init-11952-g2f0a1699eab7.patch as it was applied
upstream.

Differential Revision: https://phabricator.services.mozilla.com/D185423
2023-08-09 20:26:14 +00:00
Cristian Tuns ff69e79f19 Backed out changeset a8267c9267da (bug 1840902) for causing mochitest failures in automation.py CLOSED TREE 2023-08-08 19:40:55 -04:00
Harshit Sohaney d79723acb5 Bug 1840902 - Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot
Depends on D182366

Differential Revision: https://phabricator.services.mozilla.com/D184979
2023-08-08 20:21:44 +00:00
Tom Marble 1566d8b177 Bug 1847587 - convert .ini manifests to .toml: batch 1 fixups r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D185591
2023-08-07 20:45:46 +00:00
Narcis Beleuzu 8a4a9fad67 Backed out changeset 588b596bcb73 (bug 1847587) for mochitest failures on test_focusrings.xhtml . CLOSED TREE 2023-08-08 02:04:14 +03:00
Tom Marble 87a9d38a88 Bug 1847587 - convert .ini manifests to .toml: batch 1 fixups r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D185591
2023-08-07 20:45:46 +00:00
Kagami Sascha Rosylight 9308e83bc6 Bug 1844843 - Remove warning about targeting Android on Windows r=m_kato,nalexander DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D185162
2023-08-03 19:35:46 +00:00
Mike Hommey 4a05ff7242 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,ahochheiden
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-08-02 06:12:51 +00:00
Brad Werth 945241d7f5 Bug 1845144 Part 1: Update build configs with minimum macOS 10.15 target, update docs. r=glandium
This changes the minimum macOS target from 10.12 to 10.15 in several build
scripts and in documentation that references the minimum version
requirement.

Differential Revision: https://phabricator.services.mozilla.com/D184432
2023-08-02 02:26:14 +00:00
Mike Hommey eb6bdd90e5 Bug 1835053 - Remove syn v1 from the workspace-hack. r=firefox-build-system-reviewers,ahochheiden
It's the last crate with a remaining dependency on syn v1. The
transition is over.

Differential Revision: https://phabricator.services.mozilla.com/D184999
2023-08-02 00:25:47 +00:00
Mike Hommey 8196877812 Bug 1846406 - Update derive_more to 1.0.0-beta-2 to switch it to syn 2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184998
2023-08-02 00:25:47 +00:00
ahochheiden 05f6219e68 Bug 1846068 - Load all command modules for `./mach busted` r=firefox-build-system-reviewers,glandium
Since it depends on the `command_handlers` from `Registrar` for the
`file` `sub_command` to determine the appropriate component, we need to
load all command modules so that we can file against any of them.

Differential Revision: https://phabricator.services.mozilla.com/D184853
2023-08-01 19:59:26 +00:00
ahochheiden f71b25f3ce Bug 1845833 - Add the ability to specify command dependencies for commands r=firefox-build-system-reviewers,glandium
This just forces other command modules to be loaded in addition to the
'base' command. We need this so that decorators needed by the 'base'
command that are in another command module are ran during initialization
(eg: `@SettingsProvider`).

I thought about centralizing the `@SettingsProvider` decorators into one
module and always loading it, but they can depend on the
'command_handlers' in `Registrar`, so the modules they're currently in
have to be loaded for them to execute, so there wasn't a way around
this.

Differential Revision: https://phabricator.services.mozilla.com/D184852
2023-08-01 19:59:25 +00:00
Jesse Schwartzentruber a6d836c979 Bug 1844595 - Enable fuzzing when snapshot-fuzzing is specified. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D184756
2023-08-01 16:49:56 +00:00
Noemi Erli 72a3108e1e Backed out changeset a2017655dd34 (bug 1844484) for causing failures in test_crash_purevirtual.js 2023-08-01 15:09:51 +03:00
Mike Hommey cf3f361146 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,ahochheiden
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-08-01 05:32:00 +00:00
Iulian Moraru f8b5b0e9dc Backed out 3 changesets (bug 1845144) for causing py3 failures on test_toolchain_configure.py. CLOSED TREE
Backed out changeset 5168c7b1cf04 (bug 1845144)
Backed out changeset 6afda17fe413 (bug 1845144)
Backed out changeset d233c63f8121 (bug 1845144)
2023-08-01 06:06:53 +03:00
Brad Werth 9d9f16fe05 Bug 1845144 Part 1: Update toolchain.configure with minimum macOS 10.15 target. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D184432
2023-07-31 22:18:09 +00:00
Kershaw Chang d773f6d866 Bug 1844387 - Update neqo and remove env_logger, r=glandium,supply-chain-reviewers,sunil
Differential Revision: https://phabricator.services.mozilla.com/D184096
2023-07-31 21:06:08 +00:00
Dave Townsend 60c7c71e2d Bug 1842620: Add overviews of the main applications to the docs. r=Gijs,geckoview-reviewers,owlish,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D183173
2023-07-26 18:22:32 +00:00
ahochheiden 739e9af89c Bug 1845306 - Make some additional commands load all modules so that @SettingsProvider is ran when needed r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D184505
2023-07-25 19:51:32 +00:00
Mike Hommey 47ee59e2d4 Bug 1845175 - Undo bug 1811960. r=firefox-build-system-reviewers,ahochheiden
Now that we have upgraded to a version of rustc that uses LLVM 16, it
can read profile data from LLVM 16, so we don't need to artificially
make the profile data look like LLVM 15's anymore.

Differential Revision: https://phabricator.services.mozilla.com/D184413
2023-07-25 04:50:45 +00:00
Stanca Serban fd0573c717 Backed out changeset 9f805dc435b5 (bug 1839832) as requested by glandium for causing shippable build bustages. CLOSED TREE 2023-07-25 04:13:29 +03:00
Mike Hommey bc2d454559 Bug 1844925 - Error out when sccache is enabled but it can't actually be used. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184436
2023-07-25 01:11:04 +00:00
Mike Hommey 38aba1f33c Bug 1844925 - Make it an error to have both SCCACHE_DISABLE and USE_SCCACHE set. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184422
2023-07-25 01:11:04 +00:00
ahochheiden 8e819ce0b9 Bug 1695312 - Add the ability for `dispatch` to ad-hoc load command modules that aren't already loaded r=firefox-build-system-reviewers,glandium
This is really just shuffling a bunch of things around. None of the
'load_*' member functions of the `Mach` class actually needed to be
member functions. They can all be static so that they can be used
anywhere. That combined with moving all the other 'mach_command' logic
to a different file, allows us to load the module for any command so
that we can successfully dispatch it.

Differential Revision: https://phabricator.services.mozilla.com/D184060
2023-07-25 00:24:53 +00:00
ahochheiden 918f331078 Bug 1695312 - Selectively load only the mach command modules needed for the command about to be run r=firefox-build-system-reviewers,glandium
This makes loading almost all commands faster, since only one module
file is loaded rather than all of them. There is one main exception,
dealing with 'help'. Running `./mach help` (or -h or --help) requires
the description text for every command, so every module file is still
loaded.

We could expand this improvement here to consolidate all commands and
their parameters in this `MACH_COMMANDS` dict, but the only two benefits
are improving help, and not having two places where the commands are
specified (their file, and this dict).

There's a lot of extra work needed to do that, especially for handling
sub commands, and it did not seem worth the cost for the benefit at this
time.

Depends on D180499

Differential Revision: https://phabricator.services.mozilla.com/D180500
2023-07-25 00:24:53 +00:00
ahochheiden 85bd65e288 Bug 1695312 - Activate the virtualenv associated with a mach command much earlier r=firefox-build-system-reviewers,glandium
This activated virtualenv for a command is managed
`CommandSiteManager` and it is passed down to where it was activated
before to prevent a second, redundant, activation.

Differential Revision: https://phabricator.services.mozilla.com/D180499
2023-07-25 00:24:53 +00:00
ahochheiden cff561db42 Bug 1695312 - Add missing commands to the `MACH_COMMANDS` dict r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181032
2023-07-25 00:24:52 +00:00
ahochheiden 9359c26d78 Bug 1695312 - Sort the `MACH_COMMANDS` dict alphabetically r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181031
2023-07-25 00:24:52 +00:00
ahochheiden 5d7f61d985 Bug 1842700 - Fix l10n-cross-channel MachCommandReference module path r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183217
2023-07-25 00:24:52 +00:00
Ben Visness 67731fc42a Bug 1831176: Update wast crate. r=yury,glandium,supply-chain-reviewers
Updating wast to the latest version in order to get the new binary encoding for cast instructions.

Differential Revision: https://phabricator.services.mozilla.com/D184022
2023-07-21 22:00:04 +00:00
Gabriele Svelto 9e6f16b062 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-21 12:05:38 +00:00
Mike Hommey a0d77ff7b8 Bug 1844538 - Properly split environment variables in cargo-linker. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184182
2023-07-21 08:16:42 +00:00
Sandor Molnar 22b794a8f1 Backed out 2 changesets (bug 1844484) for causing toolchain bustages in build/pure_virtual/pure_virtual.c CLOSED TREE
Backed out changeset 750b3385f0aa (bug 1844484)
Backed out changeset a8537b37554e (bug 1844484)
2023-07-21 04:08:47 +03:00
Mike Hommey 61b29c44a4 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,nalexander
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-07-21 00:27:34 +00:00
Sandor Molnar 241cba7e1f Backed out changeset 3dcccc40be04 (bug 1839832) for causing shippable build bustage.CLOSED TREE 2023-07-21 03:27:21 +03:00
Natalia Kulatova e2b607f89a Bug 1841111 - land NSS NSS_3_92_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D184127
2023-07-20 18:39:05 +00:00
serge-sans-paille e0bf5df1bc Bug 1839832 - Use PGO-based orderfile when possible r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181750
2023-07-20 08:57:33 +00:00
Iulian Moraru ee29435daf Backed out changeset 9a6d93f12d75 (bug 1844484) for causing xpcshell failures on test_crash_purevirtual.js. CLOSED TREE 2023-07-20 12:07:30 +03:00
Mike Hommey 51f3aef8c3 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,nalexander
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-07-20 07:39:27 +00:00
Cristian Tuns e2ec1b8c2c Backed out changeset 2bd2112ff7c0 (bug 1844484) for causing lint failures and build bustages CLOSED TREE 2023-07-20 00:23:44 -04:00
Mike Hommey 8dbc768ee1 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,nalexander
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-07-20 03:48:44 +00:00