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

5961 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou a051b65f23 Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages.
Backed out changeset 04b7be54155f (bug 1808184)
Backed out changeset e00332f32a2d (bug 1806618)
2023-03-15 18:12:19 +02:00
serge-sans-paille 8c68ceadec Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
This generalizes Bug 1806618 to library files, avoiding a few extra calls
to rustc.

Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-03-15 15:44:29 +00:00
serge-sans-paille 1cb6d68b5a Bug 1806618 - Avoid rebuilding RUST_PROGRAMS based on dependencies r=sylvestre,ahochheiden,firefox-build-system-reviewers
cargo generates dependency file for each program, systematically. Use it
to avoid redundant builds.

This handles the following situations:

* Cargo file is updated
* One of the dependency output by cargo is updated
* Binary is manually removed
* Dependency file is manually removed

Differential Revision: https://phabricator.services.mozilla.com/D165159
2023-03-15 15:44:29 +00:00
Mike Hommey 054dacdca3 Bug 1822216 - Avoid linking C programs with the C++ compiler. r=firefox-build-system-reviewers,ahochheiden
What was added in bug 1378830 was broken by bug 1255485. Not in a super
visible way, but the undesirable side effect is that C programs end up
being linked against the C++ runtime. Which didn't cause practical
problems until bug 1820947.

Differential Revision: https://phabricator.services.mozilla.com/D172519
2023-03-14 03:03:03 +00:00
Sebastian Hengst 21ce1c8805 Merge mozilla-central to autoland. CLOSED TREE 2023-03-13 18:29:02 +01:00
Arthur Carcano ee3f98a749 Bug 1819569 - Remove nss/crmf cluster. r=bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D171338
2023-03-13 11:26:16 +00:00
Mozilla Releng Treescript 9986d4aded Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-03-13 15:37:20 +00:00
Mozilla Releng Treescript b78b0ca988 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-02-13 16:28:07 +00:00
Simon Friedberger 64526ee2d8 Bug 1810790 - Remove Origin Telemetry. r=chutten,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167779
2023-02-04 18:42:16 +00:00
Cristian Tuns 2d820afafb Backed out changeset aefea186c9bc (bug 1810790) for causing mochitest failures on performance/browser_preferences_usage.js CLOSED TREE 2023-02-02 08:48:01 -05:00
Simon Friedberger 19d608932e Bug 1810790 - Remove Origin Telemetry. r=chutten,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167779
2023-02-02 11:57:11 +00:00
Cristian Tuns e2e9e39c80 Backed out changeset 30517fbc6b05 (bug 1810790) for causing multiple failures CLOSED TREE 2023-01-30 13:13:35 -05:00
Simon Friedberger d9e8467b1e Bug 1810790 - Remove Origin Telemetry. r=chutten,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167779
2023-01-30 16:24:45 +00:00
Fabrice Le Fessant 98cfeed071 Bug 1810126 - Add a generic mechanism to run cargo-* commands. r=glandium,firefox-build-system-reviewers,ahochheiden
`mach cargo COMMAND` will run `cargo-COMMAND` using `cargo build`
arguments by default. However, it is possible to tune the arguments
using either command-line arguments, or a YAML file in `config/cargo/`.
A file `config/cargo/template.yaml` can be used to create a new
configuration for a new cargo sub-command.

Differential Revision: https://phabricator.services.mozilla.com/D166780
2023-01-27 01:18:52 +00:00
Mike Hommey e450188d9b Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D167879
2023-01-26 22:21:04 +00:00
Stanca Serban a06825384e Backed out changeset dc600ee31d6f (bug 1812276) for causing shlwapi.h related bustages. CLOSED TREE 2023-01-26 23:37:05 +02:00
Mike Hommey 5b3a349f5e Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D167879
2023-01-26 21:06:10 +00:00
Yannis Juglaret 5725440d8a Bug 1812264 - Add manifests automatically on mingw builds. r=glandium
This is a backout of changeset a47d1c31b581 from bug 1657863; the underlying problem was fixed in bug 1766432.
This backout will homogenize regular builds and MinGW builds.
It will allow MinGW tests to properly identify the running version of Windows, and thus have more realistic coverage.

The full story, as described in bug 1812264:
Bug 1656141 added manifests to MinGW binaries.
This caused TestDllInterceptor.exe to now realize it's not running on Windows 8, thus it can run the tests that make use of the ACG mitigation.
However ACG was broken in MinGW builds, causing perma bug 1657863 in TestDllInterceptor.exe, where we decided to remove the automatic manifests to remove the perma.
The problem with using ACG in MinGW builds was figured out in bug 1766432, and fixed accordingly.
We can thus now restore automatic manifests in MinGW builds.

Differential Revision: https://phabricator.services.mozilla.com/D167828
2023-01-26 08:04:41 +00:00
Lu Yahan 7bbe78478c Bug 1800431 - Add jit build condig for riscv64.r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D163406
2023-01-23 11:51:34 +00:00
Mozilla Releng Treescript d39a17381a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-01-16 14:09:46 +00:00
Arthur Carcano 0a7977a9f9 Bug 1804280 - Refactor cargo subcommands in rust.mk. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D163956
2023-01-11 04:12:41 +00:00
Mike Hommey 015395b015 Bug 1807779 - Stop requiring to set WINEPATH manually when cross-compiling for arm64 windows. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165588
2022-12-28 22:48:50 +00:00
Marco Castelluccio f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Iain Ireland 84a115258d Bug 1805798: Allow-list std::string in RegExpUnparser::VisitClassSetOperand r=sfink
V8 is creating a `std::string` in code that only runs under `--trace-regexp-parser`, which is indirectly calling `new`.

Differential Revision: https://phabricator.services.mozilla.com/D165085
2022-12-22 18:45:11 +00:00
Mozilla Releng Treescript 9f891a508e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-12-12 14:52:47 +00:00
Arthur Carcano aac035a5dd Bug 1803557 - Refactor cargo subcommands in mach_commands.py. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D163588
2022-12-07 06:07:22 +00:00
ahochheiden bf231d4320 Bug 1802097 - Check return code of `cargo udeps` and `cargo audit` to determine if they aren't installed, and provide the necessary commands to install them if they aren't r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D162902
2022-12-01 23:54:17 +00:00
André Bargull 5e2b3f9f08 Bug 1803516: Update time zone data to tzdata2022g. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D163568
2022-12-01 14:05:39 +00:00
Arthur Carcano c14cbced66 Bug 1803492 - Fix linker issues during `mach cargo clippy`
The patch is from Arthur Carcano <arthur.carcano@ocamlpro.com>, r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D163551
2022-12-01 04:23:47 +00:00
Shravan Narayan c6096413c2 Bug 1793734 - update wasm2c to fix wasi stub definitions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162476
2022-11-29 22:53:35 +00:00
Mike Hommey e14cb0f9a3 Bug 1802235 - Configure an AR for host compilation. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162915
2022-11-25 02:04:11 +00:00
Marco Castelluccio e08a6e120b Bug 1790816 - Reformat config/ with isort. r=linter-reviewers,ahal DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162646
2022-11-23 22:04:39 +00:00
Mike Hommey 667209b76a Bug 632224 - Add missing HOST_LDFLAGS when linking HOST_SIMPLE_PROGRAMS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D162819
2022-11-23 20:37:48 +00:00
André Bargull 450cd2c190 Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.

Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 17:56:04 +00:00
Tom Ritter 6badb2f981 Bug 1801758: Fix globbing of .git files/directories in moz.yaml exclusions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162756
2022-11-23 15:00:26 +00:00
Noemi Erli 57fbfda9e8 Backed out 16 changesets (bug 1792775) for causing build bustage in TestDateIntervalFormat.cpp CLOSED TREE
Backed out changeset 240681aef215 (bug 1792775)
Backed out changeset e15aea6bb46b (bug 1792775)
Backed out changeset ee9cd4c8d5cd (bug 1792775)
Backed out changeset 0be61a39756f (bug 1792775)
Backed out changeset 7db4fb376f48 (bug 1792775)
Backed out changeset 7009b35a05a0 (bug 1792775)
Backed out changeset 5abc2704004e (bug 1792775)
Backed out changeset 6d76fe50cf35 (bug 1792775)
Backed out changeset d6300cbbf628 (bug 1792775)
Backed out changeset 8f5e0e60d195 (bug 1792775)
Backed out changeset 0b9cf0354dc0 (bug 1792775)
Backed out changeset 7136c85641b7 (bug 1792775)
Backed out changeset 486778427d64 (bug 1792775)
Backed out changeset 7acee89c2699 (bug 1792775)
Backed out changeset 654c5f659fed (bug 1792775)
Backed out changeset a60b1bc33f91 (bug 1792775)
2022-11-23 17:18:45 +02:00
André Bargull 902df0f4d2 Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.

Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 10:42:32 +00:00
Noemi Erli 001626e217 Backed out 3 changesets (bug 1792775) for causing build bustages in dateTimeField.js CLOSED TREE
Backed out changeset afc4c848f6cd (bug 1792775)
Backed out changeset 3ad9903f28d8 (bug 1792775)
Backed out changeset 838947448110 (bug 1792775)
2022-11-23 11:19:20 +02:00
André Bargull 409ed6f810 Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.

Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 08:38:46 +00:00
Arthur Carcano 5a01512e0f Bug 1798283 - Add a subcommand cargo clippy to mach. r=glandium
Depends on D160749

Differential Revision: https://phabricator.services.mozilla.com/D160750
2022-11-22 23:55:13 +00:00
Arthur Carcano 0b504d3991 Bug 1798282 - Add a subcommand cargo audit to mach. r=glandium
Depends on D159838

Differential Revision: https://phabricator.services.mozilla.com/D160749
2022-11-22 23:55:13 +00:00
Arthur Carcano 0030786063 Bug 1796543 - Add a subcommand cargo udeps to ./mach. r=glandium,firefox-build-system-reviewers
This adds a subcommand ./mach cargo udeps with the following
sub command arguments:

Sub Command Arguments:
  --all-crates          Check all of the crates in the tree.
  crates                The crate name(s) to check.
  --jobs [jobs], -j [jobs]
                        Run the tests in parallel using multiple
processes.
  -v, --verbose         Verbose output.
  --message-format-json
                        Emit error messages as JSON.
  --expect-unused       Do not return an error exit code if udeps
detects unused dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D159838
2022-11-22 06:22:17 +00:00
Mozilla Releng Treescript 456de3449a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-11-14 15:13:23 +00:00
ahochheiden 0760a997f7 Bug 1744340 - Disable colored output from cargo if `NO_ANSI` is set r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D161665
2022-11-09 17:47:51 +00:00
André Bargull 7d0125b8c7 Bug 1799859: Add support for "microsecond" and "nanosecond" units. r=dminor
Steps performed:
- Add "microsecond" and "nanosecond" to "intl/icu/data_filter.json".
- Run "icu_sources_data.py" to update the ICU data file.
- Run "update-tzdata.sh" to reapply the tzdata 2022f changes.
- Add "microsecond" and "nanosecond" to "SanctionedSimpleUnitIdentifiers.yaml".
- Run "make_intl_data.py units" to regenerate additional SpiderMonkey files.

Spec PR: https://github.com/tc39/ecma402/pull/708

Differential Revision: https://phabricator.services.mozilla.com/D161676
2022-11-09 16:45:43 +00:00
ahochheiden 604d394173 Bug 1744340 - Enable colored output on Windows - r=firefox-build-system-reviewers,glandium
- The bug that was constantly disabling `VIRTUAL_TERMINAL_PROCESSING` has been fixed upstream in CYGWIN (fdbd153932) and merged into MSYS2 (e4fdb0cb73)
- The upcoming MozillaBuild `4.0.2` release will have the updated MSYS2 that contains this fix, allowing us to enable colored output on Windows.
- We will enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` once (For each stdout and stderr) on initializing the formatter to ensure that `VIRTUAL_TERMINAL_PROCESSING` is enabled whenever Mach is called..
- These changes will only be active if the MozillaBuild version is greater than or equal to Release `4.0.2`

Differential Revision: https://phabricator.services.mozilla.com/D138256
2022-11-09 04:33:19 +00:00
Butkovits Atila fe7ef22ba5 Backed out 7 changesets (bug 1744340, bug 1798827) for causing mach failures at test_commands.py. CLOSED TREE
Backed out changeset 9cb83a8d1f28 (bug 1798827)
Backed out changeset ebff36a14737 (bug 1744340)
Backed out changeset 5d6aabaf72c4 (bug 1744340)
Backed out changeset 8efafab5495f (bug 1744340)
Backed out changeset 8a873505f17d (bug 1744340)
Backed out changeset 3024fff68f6c (bug 1744340)
Backed out changeset 42a0a61583f0 (bug 1744340)
2022-11-09 04:21:47 +02:00
ahochheiden fbba799d5f Bug 1744340 - Enable colored output on Windows - r=firefox-build-system-reviewers,glandium
- The bug that was constantly disabling `VIRTUAL_TERMINAL_PROCESSING` has been fixed upstream in CYGWIN (fdbd153932) and merged into MSYS2 (e4fdb0cb73)
- The upcoming MozillaBuild `4.0.2` release will have the updated MSYS2 that contains this fix, allowing us to enable colored output on Windows.
- We will enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` once (For each stdout and stderr) on initializing the formatter to ensure that `VIRTUAL_TERMINAL_PROCESSING` is enabled whenever Mach is called..
- These changes will only be active if the MozillaBuild version is greater than or equal to Release `4.0.2`

Differential Revision: https://phabricator.services.mozilla.com/D138256
2022-11-09 00:40:56 +00:00
Mike Hommey 1ed19c9524 Bug 1791476 - When clang is newer than rust's llvm, use clang sanitizer runtimes. r=firefox-build-system-reviewers,ahochheiden
To do so, we move cargo-linker from shell to python because it's more
convenient.

Differential Revision: https://phabricator.services.mozilla.com/D161010
2022-11-08 00:44:27 +00:00
André Bargull 83b9a93f65 Bug 1798623: Update time zone data to tzdata2022f. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D161007
2022-11-04 06:57:16 +00:00