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

8385 Коммитов

Автор SHA1 Сообщение Дата
Sandor Molnar c8085bc124 Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE
Backed out changeset 9231b82f6a8b (bug 1805427)
Backed out changeset 9308ede8e265 (bug 1805427)
Backed out changeset b1c44a7274c5 (bug 1805427)
Backed out changeset 39a8c4bff42f (bug 1805427)
2022-12-15 18:43:29 +02:00
Chris H-C 37e15535e6 Bug 1805427 - Update Glean to 52.0.0, uuid to 1.0 r=glandium,janerik,webdriver-reviewers,supply-chain-reviewers
Depends on D164603

Differential Revision: https://phabricator.services.mozilla.com/D164604
2022-12-15 14:04:54 +00:00
Stanca Serban 404b6563bb Backed out changeset 311eb6a3a3ed (bug 1779822) for coverage related failures. CLOSED TREE 2022-12-15 16:25:29 +02:00
andrej 3bebb4742f Bug 1779822 - Create new mozperftest later for Fenix and nightly startup bechmarks. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D154126
2022-12-15 13:54:10 +00:00
Alex Ionescu 3288f620ff Bug 1805143 - Remove output kwarg before calling side by side r=perftest-reviewers,sparky,afinder
Differential Revision: https://phabricator.services.mozilla.com/D164437
2022-12-15 12:18:04 +00:00
Iulian Moraru 4a67cb0362 Backed out changeset 088a627e5772 (bug 1805143) as per Alexandru Ionescu's request. CLOSED TREE 2022-12-14 20:38:58 +02:00
Alex Ionescu 0eef028f67 Bug 1805143 - Remove output kwarg before calling side by side r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164437
2022-12-13 13:30:05 +00:00
Francesco Lodolo (:flod) ac2d5ca725 Bug 1805297 - Update name and description for language packs to fit within manifest.json limits, r=eemeli
manifest.json has character limits for name (45) and description (132).

Language packs now use:

name: Language: {native_name} ({english_name})
description: {app} Language Pack for {native_name} ({locale_code}) – {english_name}

The English name is omitted if identical to the native name, and it's omitted from the name if the resulting name exceeds the character limit.

Longer name or description are always truncated.

Differential Revision: https://phabricator.services.mozilla.com/D164535
2022-12-13 10:12:06 +00:00
Sylvestre Ledru baca9eb94e Bug 1802689 - cargo.toml: more consistency in the author names
Differential Revision: https://phabricator.services.mozilla.com/D163769
2022-12-13 09:14:44 +00:00
Mike Hommey 5fd296e7b8 Bug 1804595 - Update osclientcerts to libloading 0.7. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164177
2022-12-13 00:37:50 +00:00
Mike Hommey 03ce56dee2 Bug 1804570 - Update alsa crate to 0.7. r=gsvelto,supply-chain-reviewers
We also artificially update nix to 0.25 in preparation for bug 1793784.

Differential Revision: https://phabricator.services.mozilla.com/D164165
2022-12-13 00:24:03 +00:00
Mike Hommey 22241fa811 Bug 1804588 - Add a dependency on symbols files for libraries that have one. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D164168
2022-12-08 04:37:39 +00:00
Alex Ionescu 821423400b Bug 1804487 - Update perftest_tools version r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164122
2022-12-07 20:18:14 +00:00
Mark Banner e52e50e446 Bug 1804479 - Add jsm and sjs extensions as associated with JavaScript for VSCode. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D164097
2022-12-07 18:45:09 +00:00
Otto Länd 511e314091 No bug: apply code formatting via Lando
# ignore-this-changeset
2022-12-07 18:10:55 +00:00
Tom Ritter 531fc4de6f Bug 1804298: mach vendor support for an alternate, more terse way of individual-files r=andi
If we want to use individual-files for a lot of files, all
of which are going the same place, it is very verbose and
repetitive.  Create an alternate, mutually-exclusive way of
specifying individual-files in a moz.yaml

Differential Revision: https://phabricator.services.mozilla.com/D163969
2022-12-07 18:08:13 +00:00
Tom Ritter ef24f8ed54 Bug 1804298: mach vendor Fixes/Minor Improvements r=andi
- make sure the patch files are sorted before we apply them
 - strip trailing slashes from the repo url before we add more
 - Allow the individual-files action to be used by individual-files

Differential Revision: https://phabricator.services.mozilla.com/D163968
2022-12-07 18:08:12 +00:00
Tom Ritter 8efd64bdbf Bug 1700396: Bump Updatebot version for phabricator fixes r=andi
Correctly handle group phab reviewers and submit two separate
phabricator revisions for two patches

Differential Revision: https://phabricator.services.mozilla.com/D163872
2022-12-07 17:20:54 +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
Heitor Neiva b71d7b535b Bug 1801381 - Disable run_configure for mac repackaging r=glandium
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+

Differential Revision: https://phabricator.services.mozilla.com/D163129
2022-12-06 21:11:43 +00:00
Đăng Tú dd3c001425 Bug 1803958 - Add bootstrap support for Tuxedo OS. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D163791
2022-12-05 23:19:42 +00:00
Gabriel Bustamante 929a011067 Bug 1799233 - Add tasks to repack Firefox nightly builds into Debian Packages r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D161743
2022-12-05 21:10:07 +00:00
Eemeli Aro fc948aab17 Bug 1802128 - Refactor langpack names & descriptions. r=nalexander,fluent-reviewers,flod
The JSON data added here is derived from mozIntl.sys.mjs for the native names,
and Intl.DisplayNames for the English names. Once it becomes possible to
synchronously import JSON from JS code, this data should be merged with that
used by mozIntl.sys.mjs.

Differential Revision: https://phabricator.services.mozilla.com/D163049
2022-12-05 17:15:53 +00:00
Eemeli Aro c790b3f054 Bug 1802128 - Migrate langpack defines.inc files to Fluent. r=nalexander,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D163048
2022-12-05 17:15:53 +00:00
Cristian Tuns 3ef28fd16c Backed out changeset 93a99f808df6 (bug 1799233) for causing endless exceptions 2022-12-01 18:39:18 -05:00
Gabriel Bustamante 4da6f3c01b Bug 1799233 - Add tasks to repack Firefox nightly builds into Debian Packages r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D161743
2022-12-01 21:26:53 +00:00
Norisz Fay 1235811770 Backed out changeset 632f9747a11e (bug 1801381) for causing build bustages on OSX. CLOSED TREE 2022-12-01 12:01:04 +02:00
Mike Hommey 5549685670 Bug 1803477 - Do not default to one core by default for `mach cargo clippy`. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163540
2022-12-01 07:13:01 +00:00
Heitor Neiva c502d9c55b Bug 1801381 - Disable run_configure for mac repackaging r=glandium
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+

Differential Revision: https://phabricator.services.mozilla.com/D163129
2022-12-01 01:29:27 +00:00
Emilio Cobos Álvarez 6668531256 Bug 1801035 - Stop localizing places initial window size. r=Gijs,fluent-reviewers
According to Transvision, this is barely localized (only two locales set
a non-default width, and they all do it to just slightly more than
usual).

So standardize the initial size on that (800x500), remove the
localization, and remove the minimum size constraint, which wasn't there
before the regressing bug.

Differential Revision: https://phabricator.services.mozilla.com/D163511
2022-11-30 19:31:47 +00:00
Mike Hommey 65c94f1b70 Bug 1798660 - Avoid recursing the objdir for generated sources in symbolstore.py. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D163300
2022-11-30 04:57:38 +00:00
Shane Hughes 8b72d4fad3 Bug 1803225 - [docs] Link to MSYS2 setup guide. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D163385
2022-11-30 04:10:42 +00:00
Iulian Moraru 2837c9d0f4 Backed out 3 changesets (bug 1798660) for causing windows build bustages. CLOSED TREE
Backed out changeset 1f48544c0a43
Backed out changeset 94ebb61f5e56 (bug 1798660)
Backed out changeset 5f7970d19320 (bug 1798660)
2022-11-30 00:29:43 +02:00
Otto Länd 1fecd47c1c No bug: apply code formatting via Lando
# ignore-this-changeset
2022-11-29 21:50:17 +00:00
Mike Hommey 262904bd5f Bug 1798660 - Avoid recursing the objdir for generated sources in symbolstore.py. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D163300
2022-11-29 21:22:08 +00:00
janvi01 d2aa0af52d Bug 1780585 - Enhanced focused states on PiP controls r=kpatenio,niklas,flod
Differential Revision: https://phabricator.services.mozilla.com/D154503
2022-11-29 15:15:20 +00:00
Emilio Cobos Álvarez efd380b425 Bug 1803010 - Use .value consistently for downloads ui. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D163312
2022-11-29 15:14:56 +00:00
Mike Hommey 45e3cb9869 Bug 1386368 - Undo bug 1324040. r=firefox-build-system-reviewers,ahochheiden
Now that we depend on modern versions of python 3, we shouldn't have SNI
problems anymore. OTOH, the S3 address somehow causes certificate
problems on some setups (similar to bug 1787993), while the original
address doesn't, so this is all for the better.

Differential Revision: https://phabricator.services.mozilla.com/D163170
2022-11-28 21:34:55 +00:00
Francesco Lodolo (:flod) 08a9cdce1d Bug 1802837 - Remove Fluent migration recipes for Firefox 105-107, r=eemeli DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D163193
2022-11-28 17:12:02 +00:00
Cristian Tuns 280201b26e Backed out changeset 028a7f4e4b32 (bug 1776255) for causing Linux artifact builds bustages on central CLOSED TREE 2022-11-26 17:13:36 -05:00
Marco Castelluccio 5b82bad791 Bug 1802423 - Add mozharness to the list of Mach dependencies. r=firefox-build-system-reviewers,ahochheiden DONTBUILD
This way it is importable directly without Python scripts having to alter the path.

Differential Revision: https://phabricator.services.mozilla.com/D163085
2022-11-25 22:58:36 +00:00
ahochheiden 3086d55972 Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.

Differential Revision: https://phabricator.services.mozilla.com/D150649
2022-11-25 17:22:03 +00:00
Arthur Carcano ca79059cfb Bug 1802168 - Prevent duplicated variables when generating backend.mk (rust). r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162863
2022-11-25 08:36:37 +00:00
Mike Hommey ed839b8e5c Bug 1802095 - Serialize all calls to cargo. r=firefox-build-system-reviewers,ahochheiden
Before bug 1798291, all rust libraries were built in the same target
directory, and rust programs were built in a separate target directory
each. Cargo would be allowed to run in parallel for each target
directory. After bug 1798291, everything rust hits the same target
directory, so the normal behavior for Cargo is to block itself if run
multiple times. What this means in terms of the build is that now those
Cargos that are waiting are taking a make token, preventing other work
from happening.

It also turns out that on Solaris, Cargo doesn't block, and those Cargos
running in parallel are stepping on each other's toes.

By serializing, we ensure this doesn't happen. This should have been
done at the same time as bug 1798291 but I overlooked this.

Differential Revision: https://phabricator.services.mozilla.com/D163019
2022-11-25 03:48:17 +00:00
Mike Hommey 7b860edce2 Bug 1802271 - Move dnf and apt code to the respective classes that use them. r=firefox-build-system-reviewers,andi
Also remove the long unused add_apt_architecture.

Differential Revision: https://phabricator.services.mozilla.com/D162960
2022-11-25 02:18:50 +00:00
Mike Hommey 4e8439f7ac Bug 1802271 - Remove python 2 compatibility from bootstrap code. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D162959
2022-11-25 02:18:50 +00:00
Mike Hommey 6e198cff35 Bug 1802271 - Avoid the duplication of the run_as_root logic in the voidlinux bootstrapper. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D162958
2022-11-25 02:18:49 +00:00
Mike Hommey 7085021795 Bug 1802271 - Remove redundant ensure_clang_static_analysis_package in the openSUSE bootstrapper. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162957
2022-11-25 02:18:49 +00:00
Mike Hommey 4f5e5231e0 Bug 1802271 - Stop bootstrapping all sorts of packages on Linux distros. r=firefox-build-system-reviewers,ahochheiden
We don't need those anymore, as mentioned in previous change.

Differential Revision: https://phabricator.services.mozilla.com/D162956
2022-11-25 02:18:48 +00:00
Mike Hommey 54fec304f0 Bug 1802271 - Bootstrap the same base packages on all Linux distros. r=firefox-build-system-reviewers,ahochheiden
Nowadays, we don't need to bootstrap as many packages as we used to,
thanks to the bootstrapped tools and sysroots. The first step here is to
install the common base of necessary packages. As a matter of fact, none
of the other packages are necessary anymore, but we'll clean that up in
a followup patch.

This change and the followups have been tested on base docker images of
Arch Linux, Debian 10, 11, 12, Fedora 36, 37, Gentoo, OpenSUSE Leap,
Tumbleweed, Rocky Linux 8, Ubuntu 22.04, 22.10, Void Linux, and a Live
ISO of Solus Linux, with the assumption that actual users would have at
least what those images contain (and some of them are pretty barebones,
to the point that some of the base packages listed seem would seem
ridiculous... in fact we hadn't needed to include them so far).

Differential Revision: https://phabricator.services.mozilla.com/D162955
2022-11-25 02:18:48 +00:00
Mike Hommey 99ed774304 Bug 1802271 - Stop installing python3-dev packages. r=firefox-build-system-reviewers,ahochheiden
With psutil now coming with wheels on Linux, we don't need to be able to
build python modules out of the box.

Differential Revision: https://phabricator.services.mozilla.com/D162954
2022-11-25 02:18:48 +00:00
Mike Hommey 320d218a28 Bug 1802271 - Remove the redundancy in code to bootstrap fix-stack and minidump-stacks. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162953
2022-11-25 02:18:47 +00:00
Mike Hommey ced1d68660 Bug 1802232 - Set CC and CFLAGS for the gyp processor. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162916
2022-11-25 02:10:03 +00:00
Mike Hommey 29ab6a0f40 Bug 1802132 - Remove all bootstrap code that installs packages specific for android builds on Linux. r=firefox-build-system-reviewers,ahochheiden
Nowadays, none of these are necessary. Some were there for compatibility
reasons (old ncurses, 32-bits libraries) that are long gone, and in the
case of openSUSE, it was not updated when we made the generic android
code bootstrap a JDK itself in bug 1740358.

Differential Revision: https://phabricator.services.mozilla.com/D162939
2022-11-25 01:40:01 +00:00
Mike Hommey c874d5e22f Bug 1541310 - Always ensure the necessary rust targets are bootstrapped. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162937
2022-11-25 01:40:01 +00:00
Mike Hommey d9cd356566 Bug 1801768 - Make `mach bootstrap` bootstrap everything that `mach configure --enable-bootstrap` would bootstrap. r=firefox-build-system-reviewers,ahochheiden
--enable-bootstrap doesn't cover everything that `mach bootstrap` deals
with, but the opposite is true, and it's redundant to have to maintain
a list of things to bootstrap when configure already knows what it
wants.

As a side effect, this now makes `mach bootstrap` install wasi-sysroot,
which it wasn't doing before.

Differential Revision: https://phabricator.services.mozilla.com/D162683
2022-11-25 01:40:00 +00:00
ahochheiden 87b6be0757 Bug 1767822 - Drop funcsigs r=jgraham
Python 3.6+ is required to run Mach (and WPT), yet funcsigs was a
backport for Python <3.3.

Differential Revision: https://phabricator.services.mozilla.com/D146077
2022-11-24 22:57:52 +00:00
Mike Hommey 488b1a56d2 Bug 1743651 - Avoid failing to get the download size when a redirect is involved. r=firefox-build-system-reviewers,sergesanspaille
For some reason, in most cases, there is no redirection, but once in a
while, there is, and that breaks the download.

At the same time, make the download messages tell the url that is being
downloaded rather than where it is downloaded to.

Differential Revision: https://phabricator.services.mozilla.com/D162952
2022-11-24 07:23:28 +00:00
ahochheiden 194843dc59 Bug 1801153 - If "pip check" fails, try purging all first-party ".egg-info" dirs then run "pip check" again r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D162807
2022-11-24 05:53:12 +00:00
Mike Hommey 708b07b26e Bug 1802071 - Remove dead code after bug 1801743. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162813
2022-11-24 00:44:55 +00:00
ahochheiden 205ab0b944 Bug 1802177 - Convert "cinnabar_exe" Path object to `str` so bootstrapping with git can succeed on Python versions older than 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D162900
2022-11-23 22:19:40 +00:00
M. Sirringhaus c6b7ac16e0 Bug 1800056 - Replace 'dim' in controller/building.py to fix './mach static-analysis check' . r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162274
2022-11-23 17:17:48 +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
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
Mike Hommey 52e594ffe8 Bug 1801727 - Parallelize PBZX compression. r=hneiva
Differential Revision: https://phabricator.services.mozilla.com/D162607
2022-11-22 22:34:24 +00:00
Mike Hommey e0b8a1c0c2 Bug 1801801 - Allow to bootstrap from another repository than mozilla-unified. r=firefox-build-system-reviewers,nalexander
In the optics of running an end-to-end bootstrap on automation, it can
be useful to allow the standalone bootstrap to start from a repository
that is not mozilla-unified, so that, e.g. changes can be tested on try.

Differential Revision: https://phabricator.services.mozilla.com/D162695
2022-11-22 22:24:48 +00:00
Francesco Lodolo (:flod) dd34dc2343 Bug 1801915 - Migrate confirmation hints to Fluent, r=eemeli,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D162746
2022-11-22 20:12:55 +00:00
Arthur Carcano bb9e2b9f8b Bug 1798291 - Use a common CARGO_TARGET_DIR for all crates.
Differential Revision: https://phabricator.services.mozilla.com/D160777
2022-11-22 19:55:44 +00:00
Eemeli Aro 7fa5435add Bug 1760029 - Migrate tabbrowser.properties strings used by OpenInTabsUtils.jsm to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159020
2022-11-22 17:12:23 +00:00
Eemeli Aro fc6d78c4e0 Bug 1760029 - Migrate tabbrowser.properties strings used by BrowserGlue.jsm to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159019
2022-11-22 17:12:22 +00:00
Eemeli Aro 56c6f8a57f Bug 1760029 - Migrate tabbrowser.properties strings used by tabbrowser-tabs.js to Fluent. r=gregtatum,dao,fluent-reviewers,flod
This removes the `intl:app-locales-changed` event listener that was added in bug 1760825, as it's not longer required.

Depends on D159017

Differential Revision: https://phabricator.services.mozilla.com/D159018
2022-11-22 17:12:22 +00:00
Eemeli Aro f47cf80bc3 Bug 1760029 - Migrate browser.properties strings used by tabbrowser.js to Fluent. r=dao,fluent-reviewers,flod
The autorefresh blocker strings are added to `browser.ftl` as they aren't really "tab" strings.

Differential Revision: https://phabricator.services.mozilla.com/D159017
2022-11-22 17:12:21 +00:00
Eemeli Aro d413d67601 Bug 1760029 - Migrate tabbrowser.properties strings used by tabbrowser.js to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159016
2022-11-22 17:12:21 +00:00
Valentin Rigal e6395a4b2a Bug 1793948 - Softly report mozlint warnings on autoland. r=bastien,linter-reviewers,sylvestre,ahal
Differential Revision: https://phabricator.services.mozilla.com/D158769
2022-11-22 16:23:12 +00:00
Mike Hommey 2bb50e3ee1 Bug 1801726 - Upgrade psutil to 5.9.4. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162606
2022-11-22 09:12:02 +00:00
Mike Hommey 4e9d1c62b6 Bug 1801726 - Upgrade zstandard to 0.19.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162605
2022-11-22 09:12:02 +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
Mike Hommey 98437139e6 Bug 1801743 - Stop bootstrapping uuid. r=firefox-build-system-reviewers,nalexander
It was not installed consistently across platforms, and I think the only
reason we installed it had been superseded by the `mach uuid` command
(which didn't rely on it), and the `mach uuid` command was removed in
bug 1639509.

Differential Revision: https://phabricator.services.mozilla.com/D162636
2022-11-22 04:36:35 +00:00
Mike Hommey 2094c5ed88 Bug 1801742 - Stop bootstrapping zip. r=firefox-build-system-reviewers,nalexander
It has not been required since bug 1717683

Differential Revision: https://phabricator.services.mozilla.com/D162635
2022-11-22 04:36:17 +00:00
Noemi Erli 76383f548e Backed out 2 changesets (bug 1801726) as requested by glandium CLOSED TREE
Backed out changeset 5af80708af6a (bug 1801726)
Backed out changeset c74ad6c6196a (bug 1801726)
2022-11-22 04:55:41 +02:00
Mike Hommey 09c70fcc1a Bug 1801740 - Don't set a target in android artifact bootstrap mozconfig. r=firefox-build-system-reviewers,ahochheiden
It used to be necessary to set the target for android builds, but that
hasn't been the case since bug 1523341. In fact, that bug removed the
--target for non-artifact android builds, but somehow left this one
alone.

Differential Revision: https://phabricator.services.mozilla.com/D162634
2022-11-22 02:09:27 +00:00
Mike Hommey f5b95abfc2 Bug 1801738 - Use --enable-project instead of --enable-application. r=firefox-build-system-reviewers,geckoview-reviewers,calu,ahochheiden
--enable-application is the historic flag, and --enable-project was
added to handle the non-application things we build, while encompassing
the meaning of --enable-application. --enable-project has been preferred
for a while and we should reflect that more consistently in mozconfigs,
documentation, etc.

Differential Revision: https://phabricator.services.mozilla.com/D162625
2022-11-22 02:09:26 +00:00
Mike Hommey a152fc0b61 Bug 1801726 - Upgrade zstandard to 0.19.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162605
2022-11-22 02:03:59 +00:00
Mike Hommey 4a05f3fcdd Bug 1801739 - Don't require mercurial when bootstrapping with git, part 2. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162626
2022-11-22 01:35:34 +00:00
Mike Hommey e6405f5dbd Bug 1801728 - Remove bootstrap message about git-cinnabar failure to install. r=firefox-build-system-reviewers,nalexander
At the time the message is printed, installing git-cinnabar hasn't even
been tried (it happens in the in-tree bootstrap, not the sandalone
bootstrap, which this is) ; we have installed a temporary copy of
git-cinnabar, which may fail, but if it does, we'd throw an exception
before reaching this message anyways.

Differential Revision: https://phabricator.services.mozilla.com/D162611
2022-11-22 01:32:17 +00:00
Heitor Neiva abded1577d Bug 1798589 - Mac repackaging on linux r=glandium,releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D161712
2022-11-21 21:25:46 +00:00
Tom Ritter 8e1c983ccd Bug 1800927: Fix the Updatebot linter and offending moz.yaml files r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162223
2022-11-21 19:35:16 +00:00
Tom Ritter 11ed4ba92d Bug 1800715: Add the ability to put notes in a moz.yaml r=andi
Differential Revision: https://phabricator.services.mozilla.com/D162130
2022-11-21 15:27:49 +00:00
Norisz Fay 4b9873e3ca Backed out changeset 9a33551de4cc (bug 1798589) for causing python failures CLOSED TREE 2022-11-19 01:38:43 +02:00
Heitor Neiva 90792dfcb0 Bug 1798589 - Mac repackaging on linux r=glandium,releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D161712
2022-11-18 23:09:30 +00:00
Norisz Fay 1e5e606512 Backed out changeset 40534e8e5252 (bug 1798589) for causing python failures 2022-11-18 21:54:48 +02:00
Heitor Neiva fc89d904b4 Bug 1798589 - Mac repackaging on linux r=glandium,releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D161712
2022-11-18 19:13:53 +00:00
andrej 445c45dd63 Bug 1796780 - Add missed check to expired API key. r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D162404
2022-11-18 16:25:07 +00:00
Chris H-C fc358ad992 Bug 1799442 - Update Glean to v51.8.2, rkv to 0.18 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162345
2022-11-18 13:56:27 +00:00
Marian-Vasile Laza 023eed4276 Backed out changeset 75acc8e81d81 (bug 1799442) for causing WR tidy bustage. CLOSED TREE 2022-11-18 14:23:58 +02:00
Chris H-C 7655a12f65 Bug 1799442 - Update Glean to v51.8.2, rkv to 0.18 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162345
2022-11-18 10:15:40 +00:00
Itiel 1367cf8302 Bug 1577257 - Share logic behind panel headers across the UI r=willdurand,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D160972
2022-11-17 21:34:34 +00:00
Francesco Lodolo (:flod) 3c01cd430a Bug 1800902 - Remove comm-central from cross-channel generation, r=eemeli DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162201
2022-11-17 12:11:40 +00:00
Nick Alexander 3d1bbcf060 Bug 1666491 - Consume `.xpt` artifacts during artifact builds. r=firefox-build-system-reviewers,glandium
For the specific case of `.xpt` artifacts, we could place them
directly into `$topobjdir/config/makefiles/xpidl`, but I'm wary of
modifying the object directory in this manner.  I'd like the initial
round of tooling building on this capability to look in
`dist/xpt_artifacts` for artifact builds and be able to give detailed
feedback in error situations.  We can revisit the placement of
artifacts in the future as more use cases and shortcomings are
identified.

In the future, this mechanism might be used to include Java code
generated at build-time that exposes IDL constants to GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D161641
2022-11-17 10:57:40 +00:00
Nick Alexander 861d6e9ef6 Bug 1666491 - Pre: Make `BufferedReader(JarFileReader)` work. r=firefox-build-system-reviewers,glandium
On macOS, this allows the `ResignJarWriter` to handle ZIP (JAR) files
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D162071
2022-11-17 10:57:39 +00:00
Nick Alexander 2ad8d1f3cb Bug 1666491 - Pre: Delete failed (likely partially) processed artifacts. r=firefox-build-system-reviewers,glandium
It's possible that the processed file has not been created.

Differential Revision: https://phabricator.services.mozilla.com/D162073
2022-11-17 10:57:39 +00:00
ahochheiden d3ef456d8f Bug 1800056 - Make `mozlog` and `mozterm` fully compatible with `blessed` r=firefox-build-system-reviewers,glandium
- `mozlog` version bump to `7.1.1`
- Changed `mozlog` dependency on `blessings` to `blessed`
- Some sugar lookups in `blessed` (Like `normal`) don't behave the same as the rest, so our code needed to change to handle the case when the lookup didn't return a callable.
- The tests in `test_widgets.py` and `test_terminal.py` were never actually being run (it was skipping because when importing `Blessings` it failed to import `_curses`). Given that, a portion of `test_terminal() never actually worked, and it wasn't known because the test didn't run (I didn't just delete half the test case because it didn't work, I deleted it because it can never work =P).
- I added a `test_terminal_colors.py` just to ensure that there's some coverage there, since `dim` and `normal` were failing (but CI was happy).

Differential Revision: https://phabricator.services.mozilla.com/D161858
2022-11-16 22:33:19 +00:00
Chris H-C 6f4c8a8306 Bug 1800741 - Update Glean to v51.8.1 r=perry.mcmanis,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162150
2022-11-16 14:18:48 +00:00
ahochheiden 9b7eee2c37 Bug 1800225 - Only `realpath` the `prefix` when resolving the sysconfig packages path r=firefox-build-system-reviewers,glandium
On POSIX platforms there can be `lib` and `lib64` for `site-packages`.
On Fedora35 once a virtualenv is created, `lib64` is a symlink of `lib`.
Since we can determine what these paths will be before the virtualenv is
created, `realpath` has different results before/after, which is
problematic for our `pthfile`.

Since we only care about resolving the symlink in the prefix (to keep it
in line with the `topobjdir`, we can simply only `realpath` that and
disregard that there's a symlink between `lib` and `lib64`, which makes
our `pthfile` that's created and expected always the same on all
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D162136
2022-11-16 03:26:58 +00:00
Marian-Vasile Laza 2744551e86 Backed out changeset 4e7cb3268e86 (bug 1798291) for causing python failures on test_recursivemake.py. CLOSED TREE 2022-11-16 02:54:47 +02:00
Arthur Carcano c3c645351f Bug 1798291 - Use a common CARGO_TARGET_DIR for all crates. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D160777
2022-11-16 00:33:08 +00:00
andrej 127249539f Bug 1796780 - WPT Max runtime exceeded failues. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D161084
2022-11-15 14:06:25 +00:00
Mike Hommey b48a9f59f9 Bug 1800572 - Prefer .exes when they exist in bootstrap.py. r=firefox-build-system-reviewers,nalexander
That's what we were doing before bug 1796956. Not preferring .exes
makes us choose hg over hg.exe, and CreateProcess doesn't know how
to execute the former.

Differential Revision: https://phabricator.services.mozilla.com/D162064
2022-11-15 05:04:55 +00:00
Mike Hommey 8667109e65 Bug 1800522 - Avoid failing to remove the old git-cinnabar directory. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D162040
2022-11-15 05:03:26 +00:00
Mike Hommey 30bd6649db Bug 1800113 - Avoid supply-chain changes preventing to vendor rust code. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D162070
2022-11-15 05:01:54 +00:00
ahochheiden 6b4d839e63 Bug 1798827 - Use `packaging.version` instead of `LooseVersion` when comparing MozillaBuild versions r=firefox-build-system-reviewers,glandium
`packaging.version` can handle additional text in the version number (eg: `4.0pre1` and `4.0.2rc1`) that `LooseVersion` cannot.

Differential Revision: https://phabricator.services.mozilla.com/D161756
2022-11-10 16:47:51 +00:00
Andreas Pehrson 2affbb1b21 Bug 1794647 - Pick up specialized cflags flags when processing BUILD.gn files. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D161697
2022-11-10 14:13:50 +00:00
Mathew Hodson 567b4f4679 Bug 1799338 - Fix build with --disable-backgroundtasks. r=glandium
MOZ_BACKGROUNDTASKS should be undefined when the feature is disabled.

Add some more tests for `when` parameter of set_config() and set_define().

Differential Revision: https://phabricator.services.mozilla.com/D161400
2022-11-10 09:57:26 +00:00
Eemeli Aro cfa546ca80 Bug 1791178 - Convert DownloadUIHelper.sys.mjs to Fluent. r=Gijs,fluent-reviewers,flod
The downloadsFolder string is left in the downloads.properties file, at least for now, as it's also used from C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D158468
2022-11-09 23:32:30 +00:00
Eemeli Aro 043b6e3eb8 Bug 1791178 - Convert DownloadUtils.jsm to Fluent. r=Gijs,fluent-reviewers,flod
Depends on D158466

Differential Revision: https://phabricator.services.mozilla.com/D158467
2022-11-09 23:32:30 +00:00
Eemeli Aro 4c0e3b006e Bug 1791178 - Convert nsContextMenu saveHelper() localization to Fluent. r=Gijs,fluent-reviewers,flod
These strings are only used from browser, so it doesn't make sense to keep them under toolkit.

Differential Revision: https://phabricator.services.mozilla.com/D158466
2022-11-09 23:32:29 +00:00
ahochheiden 94e5ad2294 Bug 1795158 - Apply `os.path.realpath` to `topsrcdir` and `topobjdir` in `MozbuildObject` and in `site.py` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D161553
2022-11-09 22:17:48 +00:00
ahochheiden 0fc166b06d Bug 1782785 - Patch poetry inside the virtualenv to fix the PyPi repository hash issue r=firefox-build-system-reviewers,glandium
There is a bug in Poetry 1.2.0a2 caused by a breaking change
on PyPi's end: https://github.com/pypi/warehouse/pull/11775
This bug was fixed in Poetry 1.2.0b3, but 1.2.0b1 dropped
support for Python 3.6, which is a requirement for us.
As a temporary workaround, we can patch the fix into our
virtualenv's copy of Poetry. This patch should be removed
once we switch to using a newer version of Poetry.

Differential Revision: https://phabricator.services.mozilla.com/D161544
2022-11-09 17:35:51 +00:00
ahochheiden 875e963190 Bug 1799566 - Add constructor for `VendorPython` so that the `virtualenv_name` ("vendor") can be specified. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D161538
2022-11-09 17:35:51 +00:00
ahochheiden 0f236879ed Bug 1798827 - Use the new `mozilla_build_version()` function and `LooseVersion` to do a smarter version comparison r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D161103
2022-11-09 04:33:20 +00:00
ahochheiden c6589c6097 Bug 1744340 - Correctly disable only the footer if `MACH_NO_TERMINAL_FOOTER` is set r=firefox-build-system-reviewers,glandium
- The old implementation also disabled the terminal handler and formatter, which also removed certain colored output and we don't want that.

Differential Revision: https://phabricator.services.mozilla.com/D160440
2022-11-09 04:33:20 +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
ahochheiden db6c4f0bb5 Bug 1744340 - Removed the unused `blessings` module r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D160450
2022-11-09 04:33:19 +00:00
ahochheiden a86cf6d1a1 Bug 1744340 - Swap uses of `blessings` to `blessed` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D160406
2022-11-09 04:33:18 +00:00
ahochheiden 1a4af2563a Bug 1744340 - Vendor `blessed` at `1.19.1` r=firefox-build-system-reviewers,glandium
- Also vendored various `blessed` dependencies
- Added an exclusion for "ansicon" and vendored a "dummy" of it so that we don't vendor the DLLs it includes. It should rarely be needed in practice, and with the dummy in place it should just fail gracefully in the event that it is needed.

Differential Revision: https://phabricator.services.mozilla.com/D160405
2022-11-09 04:33:18 +00:00
ahochheiden 3b12c51788 Bug 1744340 - Improved 'exclusion list' code in `./mach vendor python` to also prevent a package from being vendored, rather than just 'not purged' r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D160973
2022-11-09 04:33:17 +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 880d1ba4e9 Bug 1798827 - Use the new `mozilla_build_version()` function and `LooseVersion` to do a smarter version comparison r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D161103
2022-11-09 00:40:57 +00:00
ahochheiden 6b54729107 Bug 1744340 - Correctly disable only the footer if `MACH_NO_TERMINAL_FOOTER` is set r=firefox-build-system-reviewers,glandium
- The old implementation also disabled the terminal handler and formatter, which also removed certain colored output and we don't want that.

Differential Revision: https://phabricator.services.mozilla.com/D160440
2022-11-09 00:40:56 +00: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
ahochheiden 7d56bddfb3 Bug 1744340 - Removed the unused `blessings` module r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D160450
2022-11-09 00:40:55 +00:00
ahochheiden c349fc2ded Bug 1744340 - Swap uses of `blessings` to `blessed` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D160406
2022-11-09 00:40:55 +00:00
ahochheiden d1097b0d9f Bug 1744340 - Vendor `blessed` at `1.19.1` r=firefox-build-system-reviewers,glandium
- Also vendored various `blessed` dependencies
- Added an exclusion for "ansicon" and vendored a "dummy" of it so that we don't vendor the DLLs it includes. It should rarely be needed in practice, and with the dummy in place it should just fail gracefully in the event that it is needed.

Differential Revision: https://phabricator.services.mozilla.com/D160405
2022-11-09 00:40:54 +00:00
ahochheiden 8d20990874 Bug 1744340 - Improved 'exclusion list' code in `./mach vendor python` to also prevent a package from being vendored, rather than just 'not purged' r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D160973
2022-11-09 00:40:54 +00:00
Jan-Erik Rediger 68cd95c000 Bug 1799129 - Vendor Glean v51.8.0 and glean_parser 6.3.0 r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161276
2022-11-08 15:53:07 +00:00
Mike Hommey c0aa1fc7e0 Bug 1799260 - Fixup for Windows after bug 1787993. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D161381
2022-11-06 20:18:59 +00:00
Andrew Halberstadt 57a3ce8eb1 Bug 1759030 - [gecko_taskgraph] Use 'generator.py' from upstream Taskgraph, r=releng-reviewers,jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D161057
2022-11-04 14:14:57 +00:00
Stanca Serban 616c282bed Backed out 3 changesets (bug 1759030) for causing Bug 1799074. CLOSED TREE
Backed out changeset 9c52daf6117c (bug 1759030)
Backed out changeset 9940b1cf6881 (bug 1759030)
Backed out changeset 3f2b2e009c00 (bug 1759030)
2022-11-04 11:22:09 +02:00
ahochheiden c6bf3912bd Bug 1795666 - Monkeypatch `dlmanager.Download` to increase `chunk_size` to 16 MB for `artifact_cache.py` downloads r=firefox-build-system-reviewers,andi,glandium
Differential Revision: https://phabricator.services.mozilla.com/D159658
2022-11-03 21:43:10 +00:00
Nick Alexander e5289052b2 Bug 1792258 - Post: Make it easier to test (Android) multi-locale packages. r=geckoview-reviewers,m_kato
This commit updates the outdated documentation for producing multi-locale
packages, and also arranges for Android multi-locale packages to produce a
GeckoViewExample binary that has `libs` and `assets/omni.ja`.  Together, these
greatly ease multi-locale testing.

Differential Revision: https://phabricator.services.mozilla.com/D160705
2022-11-03 21:36:26 +00:00
Andrew Halberstadt 600e27df8e Bug 1759030 - [gecko_taskgraph] Use 'generator.py' from upstream Taskgraph, r=releng-reviewers,jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D161057
2022-11-03 20:51:15 +00:00
Greg Mierzwinski 35261aea3a Bug 1754823 - Add a flag to allow capturing the push-to-try logs. r=ahal,AlexandruIonescu
This patch adds a `capture_log` flag that will allow a user to capture the logs produced when running the `push_to_try` methods. Currently, we use `subprocess.check_call` which causes hg to hang when we attempt to redirect and gather stdout. Using `subprocess.run` is better as it lets us capture the logs, but the log output is very slow and can easily lead people to believe that hg is hanging when it's not. This results in corrupted repos. Using Popen, the logs are output slower than `check_call`, but faster than `run` so you know something is happening. The speed at which these logs are printed is also why I have this log capturing behind a flag.

This functionality will be used in the `./mach try perf` selector to capture the child revisions produced for the try task config file changes and allow us to produce a PerfCompare link to provide the user.

Differential Revision: https://phabricator.services.mozilla.com/D155980
2022-11-03 20:32:46 +00:00
Alex Finder d9f1a25427 Bug 1793823 disable p2 perf tests r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D159375
2022-11-03 14:42:39 +00:00
Mike Hommey d7d640d992 Bug 1787993 - Update how we install git-cinnabar. r=firefox-build-system-reviewers,andi
The download.py script can now run without a clone, which solves e.g.
problems stemming from the temporary git repository on windows.
It also now pulls from github by default, which doesn't suffer from
certificate validation issues like the taskcluster artifacts urls do.
Also, the self-update git-cinnabar subcommand handles upddates itself,
which leaves python out of the loop.

Differential Revision: https://phabricator.services.mozilla.com/D160997
2022-11-02 22:32:34 +00:00
Mike Hommey a1504241f6 Bug 1798603 - Fix bootstrap.py shebang. r=firefox-build-system-reviewers,andi
While here, also adjust its python version check, since it uses
f-strings, which aren't available before 3.6.

Differential Revision: https://phabricator.services.mozilla.com/D160994
2022-11-02 22:32:22 +00:00
Rob Lemley a044cb65e4 Bug 1789178 - Extend MSIX repackaging to work with other products. r=nalexander
These are changes to decouple the MSIX repackaging from Firefox/browser and
allow repackaging Thunderbird. Branding and MSIX template paths are now found
by inspecting the input file rather than hard-coded values.

Differential Revision: https://phabricator.services.mozilla.com/D159657
2022-11-02 19:31:04 +00:00
ahochheiden 247514d1e6 Bug 1782785 - Remove carriage returns from `./mach vendor python` output files to eliminate the differences from vendoring on Windows r=firefox-build-system-reviewers,glandium
Depends on D153662

Differential Revision: https://phabricator.services.mozilla.com/D153663
2022-11-02 19:08:25 +00:00
ahochheiden f6e9fe980c Bug 1782785 - Make stripping environment markers more robost r=ahal
Depends on D153661

Differential Revision: https://phabricator.services.mozilla.com/D153662
2022-11-02 19:08:24 +00:00
ohall-m 3b204056d6 Bug 1771343 - GeckoView Android API 33 (Android 13) r=geckoview-reviewers,jgraham,jnicol,nalexander,jonalmeida
Updating GeckoView from Android API level 31 to API 33 for target and compile.

Differential Revision: https://phabricator.services.mozilla.com/D159764
2022-11-02 10:53:33 +00:00
ahochheiden a5956a3513 Bug 1796956 - Check for both variants of an executable ('no suffix' and ".exe") on Windows regardless of the executable r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D160570
2022-11-02 01:41:05 +00:00
Makoto Kato 9ca2fca0f7 Bug 1790301 - Allow Unicode-DFS-2016 license to import ICU4X 1.0. r=mhoye,glandium
By bug 1715232, we added ICU4X license SHA256 hash to whitelist. But when
releasing ICU4X 1.0, license becomes Unicode-DFS-2016 like ICU4C. So I would
like to allow this license to import ICU4X 1.0.

Also, due to dependencies, some crates still use old ICU4X license. Although it
will be fixed by 1.1 release, we keep this hash.

Differential Revision: https://phabricator.services.mozilla.com/D160588
2022-11-02 00:13:57 +00:00
Mark Banner b998eb9434 Bug 1798565 - Partner repacks no longer need to handle the 'searchplugins' directory. r=firefox-build-system-reviewers,nalexander
Depends on D160964

Differential Revision: https://phabricator.services.mozilla.com/D160966
2022-11-01 21:45:26 +00:00
Mark Banner b9fbdf7ffa Bug 1798563 - Remove search related python build files that are no longer used. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D160964
2022-11-01 21:45:26 +00:00
Tom Ritter b78b993c98 Bug 1797325: Support try presets in moz.yaml r=andi
Differential Revision: https://phabricator.services.mozilla.com/D160232
2022-11-01 14:13:42 +00:00
Ryan VanderMeulen 8dd1f60e09 Bug 1797588 - Update to JDK 17.0.5+8. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D160396
2022-11-01 12:34:47 +00:00
John Schanck 9a32599fad Bug 1754746 - example tlsserver that fails in handshake. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D148845
2022-11-01 09:52:52 +00:00
ahochheiden 85e7e607e8 Bug 1766497 - Manually copy `pyvenv.cfg` on Windows to workaround a bug with `venv` on Python 3.6 r=firefox-build-system-reviewers,glandium
Depends on D159196

Differential Revision: https://phabricator.services.mozilla.com/D160599
2022-11-01 07:48:07 +00:00
Alex Hochheiden fbe0d1ecd7 Bug 1766497: Remove unused `virtualenv` package r=ahal
Now that Python's stdlib `venv` is used, `virtualenv` is no longer
needed.

Since mozharness depends on the wheels for `setuptools` and `pip`, and
they were vendored within `virtualenv` we must move them somewhere else.

I've chosen to add `third_party/python/venv/wheels` to hold those wheels
now that `virtualenv` is no longer there.

Depends on D145786

Differential Revision: https://phabricator.services.mozilla.com/D145787
2022-11-01 07:48:01 +00:00
Alex Hochheiden edcac27dbf Bug 1766497: Mach: use `venv` instead of `virtualenv` r=ahal
Brew's Python 3.10 causes `virtualenv==20.7.2` to produce a wonky folder
structure (`$venv/opt/homebrew/lib/python3.10/site-packages`?).

This is likely fixed with newer `virtualenv`, but the simpler workaround
here is to use `venv` instead now that Python 3 is always used.

Adds `python3-venv` to docker image so that tests and debian-based tasks
can leverage it.

Differential Revision: https://phabricator.services.mozilla.com/D144872
2022-11-01 07:48:00 +00:00
Mike Hommey 88e00f990e Bug 1797904 - Don't require mercurial when bootstrapping with git. r=firefox-build-system-reviewers,nalexander
The version of git-cinnabar that the bootstrap script pulls now doesn't
require Mercurial. Even older versions have been working fine without
Mercurial for a while.

Differential Revision: https://phabricator.services.mozilla.com/D160601
2022-10-31 22:35:02 +00:00
Mike Hommey a834ef7676 Bug 1797869 - Bump minimum Rust version to 1.63. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D160585
2022-10-28 03:53:25 +00:00
Ray Kraesig 0edcb106e9 Bug 1797399 - fix rust-analyzer's invocation of mach r=andi
The fix for bug 1759555 involves having rust-analyzer invoke `mach`.
However, `mach` can't be executed directly on Windows systems -- it's a
Python script, not an executable, and so `::CreateProcessW` has no idea
what to do with it.

Work around this by having `mach` explicitly direct `rust-analyzer` to
use `sys.executable` to execute `mach`.

Differential Revision: https://phabricator.services.mozilla.com/D160306
2022-10-27 00:10:45 +00:00
Chris H-C de3c85f1cf Bug 1797363 - Vendor Glean SDK v51.7.0 r=TravisLong,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D160269
2022-10-26 13:02:54 +00:00
Sandor Molnar 590f0de714 Backed out changeset b9a80242b74c (bug 1754746) for causing xpc failures in security/manager/ssl/tests/unit/test_ev_certs.js 2022-10-26 14:58:12 +03:00
Mark Banner 7f3cba09e8 Bug 1795322 - Update toolkit modules references in remaining places. r=mossop,zeid,geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D160036
2022-10-26 08:06:37 +00:00
Mike Hommey 76d708ae32 Bug 1797275 - Bootstrap the appropriate clang tidy on arm64 macos. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D160291
2022-10-25 22:55:55 +00:00
Mike Hommey 6fc75fe829 Bug 1797227 - Avoid dependency on wget in bootstrap. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D160174
2022-10-25 22:54:41 +00:00
Csoregi Natalia 5f9da7b301 Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner fc7befc08d Bug 1795322 - Update toolkit modules references in remaining places. r=mossop,zeid,geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D160036
2022-10-25 19:49:28 +00:00
John Schanck c1b0fb0815 Bug 1754746 - example tlsserver that fails in handshake. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D148845
2022-10-25 08:10:30 +00:00
Tom Ritter 6c0ad1d35d Bug 1792627: Use mach vendor-based updating for irregexp r=iain
Differential Revision: https://phabricator.services.mozilla.com/D158289
2022-10-24 16:50:05 +00:00
Jan-Erik Rediger 2003f2a8b0 Bug 1796087 - Update to Glean v51.5.0 and UniFFI 0.21.0. r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D159689
2022-10-20 12:42:47 +00:00
Paul Adenot ca7f20936f Bug 1347955 - Move the logging facilities from about:networking to a new page, about:logging. r=valentin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159606
2022-10-20 12:10:19 +00:00
Alex Ionescu cffbe6faec Bug 1789229 - Create/define the side-by-side job in taskcluster r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D157853
2022-10-20 07:23:10 +00:00
Mike Hommey d42db71402 Bug 1784179 - Don't stop at the first error during CI builds. r=firefox-build-system-reviewers,nalexander
It can be a frustrating experience to push something to e.g. try, get
build errors, fix them, and realize on a subsequent push that there were
other build errors, but since the build failed as soon as it reached the
first error, the logs didn't show them.

While stopping at the first error locally is more helpful locally
(although it still stop immediately and errors are often buried in the
logs), it is actually desirable to avoid stopping on automation.

Differential Revision: https://phabricator.services.mozilla.com/D154327
2022-10-20 01:55:20 +00:00
Kagami Sascha Rosylight 6f77152151 Bug 1793974 - Pass mode=staged for staged files r=tjr DONTBUILD
This argument is not relevant for mercurial, it's only for `git diff` which by default ignores staged files.

Differential Revision: https://phabricator.services.mozilla.com/D159625
2022-10-18 20:25:31 +00:00
Mike Hommey 47ab4d168f Bug 1795209 - Suppress no-error warnings from post-build summary. r=firefox-build-system-reviewers,andi
And count all third-party warnings together.

Differential Revision: https://phabricator.services.mozilla.com/D159359
2022-10-18 19:46:45 +00:00
Mike Hommey 8f4d47c529 Bug 1795207 - Move the remainder of warning flags setup in old-configure to python. r=firefox-build-system-reviewers,andi
While we're here, make the setup more consistent across host/target
c/c++, and remove the C compiler warning flags from the C linker flags,
where they are irrelevant.

Differential Revision: https://phabricator.services.mozilla.com/D159358
2022-10-18 19:46:44 +00:00
Tom Ritter c5b5430369 Bug 1792224: Implement vendoring individual files r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D158051
2022-10-18 16:56:07 +00:00
Tom Ritter 29b7dc88dc Bug 1792224: Do not allow tag tracking with individual-files r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D158050
2022-10-18 16:56:07 +00:00
Tom Ritter 012f41dcbf Bug 1792224: Make the tracking field validation simpler r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D158049
2022-10-18 16:56:07 +00:00
Tom Ritter 8f09cde190 Bug 1792224: Move the Updatebot section below vendoring to make it more logical r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D158048
2022-10-18 16:56:06 +00:00
Tom Ritter 105bb3f2ed Bug 1792224: Do not allow branch in vendoring tasks r=jewilde
I noticed that 'branch' is only used in Updatebot in the
Commit Alert task (we made it for Angle.) It doesn't do
anything anywhere else. So assert this in the validation checks

Differential Revision: https://phabricator.services.mozilla.com/D158047
2022-10-18 16:56:06 +00:00
Tom Ritter c07c036c14 Bug 1792224: Do some refactoring in preparation for real work r=jewilde
If there is a vendoring section missing in the moz.yaml,
we will error out. Detect this right away and give a better error.

Perform some cleanup since we know we have a vendoring section.

Differential Revision: https://phabricator.services.mozilla.com/D158046
2022-10-18 16:56:05 +00:00
Tom Ritter 13b99c9dd4 Bug 1792224: Add tests for individual-files yaml parsing r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D158045
2022-10-18 16:56:05 +00:00
Tom Ritter 7ecc56b0a9 Bug 1792224: Add support for individual-files in the moz.yaml r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D158044
2022-10-18 16:56:05 +00:00
Tom Ritter 0b1b347ce5 Bug 1792744: Remove the update-actions skip step r=jewilde
We can remove one of the steps - if you don't want update-actions
then don't specify any.

Differential Revision: https://phabricator.services.mozilla.com/D158292
2022-10-18 16:17:54 +00:00
Mark Banner 69a9e3e717 Bug 1792341 - Migrate most of the rest of toolkit/modules/ to be system ES modules. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158451
2022-10-18 11:21:25 +00:00
Mike Hommey 99df2caf77 Bug 1795168 - Make `mach cargo check` initialize enough of the build for its own purpose . r=firefox-build-system-reviewers,nalexander
Also change the default value for --jobs to 0 instead of 1, because
`make -j1` doesn't initialize a jobserver, so cargo uses all cores,
which is a fine default, but now that we may also invoke the rest of
the build system, and because `make -j1` for that is slow, we instead
use 0 as the default (which means auto-detect).

Differential Revision: https://phabricator.services.mozilla.com/D159336
2022-10-17 21:53:40 +00:00
Eemeli Aro 1564027eba Bug 1786186 - Migrate mobile about:config to Fluent. r=geckoview-reviewers,fluent-reviewers,flod,owlish. CLOSED TREE
This migration creates the first FTL file under mobile/android/.
As GeckoView isn't actually localised (see bug 1605358), this file
is not exposed to localisers.

A migration script is still included, as previous localisations of
the about:config view's strings are available from its Fennec days.
Running the script will fail in an m-c checkout bootstrapped for
desktop development; it's possible to hack around this by manually
setting the `l10n_toml` value in `python/l10n/test_fluent_migrations/fmt.py`.

Differential Revision: https://phabricator.services.mozilla.com/D155450
2022-09-20 11:53:37 +00:00
Narcis Beleuzu e16ed10e23 Backed out changeset a7e5bcf262cd (bug 1786186) - wrong backout 2022-10-14 09:49:25 +03:00
Eemeli Aro 1d7d01e03d Bug 1786186 - Backed out changeset 24e777435dea for geckoview-junit failures. CLOSED TREE
This migration creates the first FTL file under mobile/android/.
As GeckoView isn't actually localised (see bug 1605358), this file
is not exposed to localisers.

A migration script is still included, as previous localisations of
the about:config view's strings are available from its Fennec days.
Running the script will fail in an m-c checkout bootstrapped for
desktop development; it's possible to hack around this by manually
setting the `l10n_toml` value in `python/l10n/test_fluent_migrations/fmt.py`.

Differential Revision: https://phabricator.services.mozilla.com/D155450
2022-10-14 09:41:21 +03:00
Mike Hommey c3ea8df191 Bug 1795187 - Make packager errors more visible on treeherder. r=firefox-build-system-reviewers,nalexander
Make them match a pattern that will be recognized by mozharness as an
error, which, in turn, will make treeherder log parser find them.

Differential Revision: https://phabricator.services.mozilla.com/D159344
2022-10-14 02:52:07 +00:00
Cosmin Sabou 87e1282cfb Backed out changeset cb56ec6454d6 (bug 1786186) for causing Bug 1792258. 2022-10-14 05:53:47 +03:00
Sammy Khamis 5488aeab97 Bug 1792328 - remove min-height from choose what to sync dialog r=emilio,fluent-reviewers,flod,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D159133
2022-10-13 21:07:55 +00:00
Eemeli Aro 7e78f34160 Bug 1760033 - Convert AboutReaderParent.jsm to Fluent. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D158576
2022-10-13 16:28:32 +00:00
Eemeli Aro f8f531d202 Bug 1760033 - Convert aboutReader.html to Fluent. r=Gijs,fluent-reviewers,geckoview-reviewers,flod,m_kato
The data included in the `Reader:AddButton` message used by SaveToPocket.jsm is slightly modified, as it now includes a localization identifier rather than a preformatted label.

Differential Revision: https://phabricator.services.mozilla.com/D158575
2022-10-13 16:28:31 +00:00
Cristian Tuns c8b4aaeb2d Backed out 5 changesets (bug 1766497) for causing build bustages with "No module named 'encodings'" CLOSED TREE
Backed out changeset 09f7f3d1c6dd (bug 1766497)
Backed out changeset 6bb5f754957a (bug 1766497)
Backed out changeset aedf2d7af408 (bug 1766497)
Backed out changeset 394555265c86 (bug 1766497)
Backed out changeset 41be40696e00 (bug 1766497)
2022-10-12 22:51:51 -04:00
Alex Hochheiden 94d4f41810 Bug 1766497: Remove unused `virtualenv` package r=ahal
Now that Python's stdlib `venv` is used, `virtualenv` is no longer
needed.

Since mozharness depends on the wheels for `setuptools` and `pip`, and
they were vendored within `virtualenv` we must move them somewhere else.

I've chosen to add `third_party/python/venv/wheels` to hold those wheels
now that `virtualenv` is no longer there.

Depends on D145786

Differential Revision: https://phabricator.services.mozilla.com/D145787
2022-10-13 00:40:06 +00:00
Alex Hochheiden 87f032a7a9 Bug 1766497: Mach: use `venv` instead of `virtualenv` r=ahal
Brew's Python 3.10 causes `virtualenv==20.7.2` to produce a wonky folder
structure (`$venv/opt/homebrew/lib/python3.10/site-packages`?).

This is likely fixed with newer `virtualenv`, but the simpler workaround
here is to use `venv` instead now that Python 3 is always used.

Adds `python3-venv` to docker image so that tests and debian-based tasks
can leverage it.

Differential Revision: https://phabricator.services.mozilla.com/D144872
2022-10-13 00:40:05 +00:00
Norisz Fay 474baf5b68 Backed out 3 changesets (bug 1760033) for causing multiple failures ErrorResult.h
Backed out changeset e54df449fbad (bug 1760033)
Backed out changeset f26056c61dc2 (bug 1760033)
Backed out changeset 7f69b83013e1 (bug 1760033)
2022-10-12 17:28:18 +03:00
Eemeli Aro d391f5b3f5 Bug 1760033 - Convert AboutReaderParent.jsm to Fluent. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D158576
2022-10-12 13:55:27 +00:00
Eemeli Aro 6f0bf6e62b Bug 1760033 - Convert aboutReader.html to Fluent. r=Gijs,fluent-reviewers,geckoview-reviewers,flod,m_kato
The data included in the `Reader:AddButton` message used by SaveToPocket.jsm is slightly modified, as it now includes a localization identifier rather than a preformatted label.

Differential Revision: https://phabricator.services.mozilla.com/D158575
2022-10-12 13:55:27 +00:00
Eemeli Aro fc3a1316b3 Bug 1794423 - Make NetError page loading more synchronous. r=Gijs,fluent-reviewers,flod
Also make a few tests be more robust.

Differential Revision: https://phabricator.services.mozilla.com/D159027
2022-10-12 12:34:36 +00:00
Eemeli Aro dc1a3bfffa Bug 1793572 - Convert WebRTCParent.jsm from .properties to Fluent. r=mconley,flod
The code is slightly cleaned up to not construct identifiers by concatenating strings, and to avoid using the requestTypes array when determining the prompt contents.

A few messages are moved to and from browser.ftl to group them better, though all of the "WebRTC Pop-up notifications" messages could also be moved from there to webrtcIndicator.ftl, which is now also included by browser.xhtml.

The message `webrtc-allow-share-audio-capture-unsafe-delegation` is added, as it appears to have been missed previously -- it's referred to in code, but the message itself was not defined.

Differential Revision: https://phabricator.services.mozilla.com/D158762
2022-10-08 07:35:29 +00:00
Eemeli Aro 79d817f2a6 Bug 1793572 - Convert getUserMedia.sharingMenu strings from browser.properties to Fluent. r=mconley,flod
The list of items is now formatted using ListFormat rather than manually, which requires a new message webrtc-sharing-menuitem. Based on a review of the existing solutions [1], it should be acceptable to use the same pattern for all of them, even though this may effect a small change for the zh-TW locale.

[1] https://transvision.flod.org/string/?entity=browser/chrome/browser/browser.properties:getUserMedia.sharingMenuCamera&repo=gecko_strings

Differential Revision: https://phabricator.services.mozilla.com/D158761
2022-10-08 07:35:28 +00:00
Eemeli Aro 2c47f765da Bug 1793572 - Convert webrtcIndicator.properties to Fluent. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D158760
2022-10-08 07:35:28 +00:00
pmcmanis b3d8c6d5d8 Bug 1793786 - Update Glean version to 51.4.0 r=chutten,supply-chain-reviewers,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158759
2022-10-07 20:19:49 +00:00
Eemeli Aro 45a8fe66c1 Bug 1734217 - Merge all about:neterror front-end handling under toolkit. r=mkmelin,smaug,nalexander,flod,Gijs
Following a suggestion from :mkmelin, this seems like an optimal solution: the overriding/duplication in m-c is removed, and all users get a more powerful default choice that they're still able to override with their own, should they so wish.

For clarity and to match other `about:` pages, the shared code is placed under `toolkit/content/`, and all content under `docshell/resources/` is removed.

Differential Revision: https://phabricator.services.mozilla.com/D156478
2022-10-07 18:40:27 +00:00
Eemeli Aro ed0c600d94 Bug 1734217 - Migrate aboutNetError from DTD to Fluent. r=fluent-reviewers,prathiksha,flod
To support and enable the migration, quite a bit of refactoring is needed.

Many of the localised error messages are in fact fragments of HTML, including messages with nesting not supported by Fluent. In the FTL, these have each been split up into multiple messages using a custom migration transform (included directly in the script). This allows for localisers to work with the messages without HTML syntax, but does require the messages' structures to be maintained elsewhere. To that effect, the JS file represents messages as arrays of `[tagName, l10nId, l10nArgs]` tuples from which it builds the messages' elements. This fixex bug 1621895.

Though extensive, the refactoring done here is for the most part limited to what's required by the Fluent migration. For instance, not all issues raised in bug 1722896 are resolved here. Places where the structure was sufficiently messy to have introduced bugs or dead code have been cleaned up a bit, though.

This variant of netError that's used by the browser is not itself overridden by anyone else, which allows for it to be tackled first and independently of the docshell and mobile variants. As a part of its content is still passed in as a query parameter, it's possible that later refactors of the rest of the netError system will allow for further clean-up here.

Differential Revision: https://phabricator.services.mozilla.com/D155951
2022-10-07 18:40:27 +00:00
Butkovits Atila 1bed1fd6e7 Backed out changeset a5df97f61fec (bug 1793786) for causing build bustages. CLOSED TREE 2022-10-07 16:35:21 +03:00
pmcmanis 5d43825505 Bug 1793786 - Update Glean version to 51.4.0 r=chutten,supply-chain-reviewers,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158759
2022-10-07 13:05:21 +00:00
Eemeli Aro b30456f337 Bug 1792464 - Convert findbar.properties to Fluent. r=NeilDeakin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D158768
2022-10-07 08:23:50 +00:00
ahochheiden 1c53d1d491 Bug 1793828 - Always print the reason why the site is not 'up-to-date' r=firefox-build-system-reviewers,nalexander
Previously most 'reasons' could only be seen if using a debugger, which
was not helpful when there was a problem in CI.

Depends on D158703

Differential Revision: https://phabricator.services.mozilla.com/D158704
2022-10-06 18:18:32 +00:00
ahochheiden 6507ca73e7 Bug 1793828 - Also use `normcase` in addition to `normpath` for `site_package_dirs` r=firefox-build-system-reviewers,nalexander
This will resolve issues of drive letter uppercase/lowercase mismatch
causing the venv/site to be considered 'out-of'date'.

Differential Revision: https://phabricator.services.mozilla.com/D158703
2022-10-06 18:02:00 +00:00
Eemeli Aro 54dedbc0c2 Bug 1793581 - Convert ContentCrashHandlers.jsm strings to Fluent. r=gsvelto,fluent-reviewers,flod
Relevant strings from both browser.ftl and browser.properties are collected into a new contentCrash.ftl, which is only loaded when needed.

Differential Revision: https://phabricator.services.mozilla.com/D158649
2022-10-06 12:07:11 +00:00
Eemeli Aro 5ea595e0de Bug 1793570 - Convert AndNMoreFiles string from HtmlForm.properties to Fluent. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D158581
2022-10-05 11:21:34 +00:00
Eemeli Aro f4e7a47db3 Bug 1793548 - Report error rather than fail in fluent-migration-test for missing bug identifier. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D158545
2022-10-05 11:04:34 +00:00
Malte Jürgens de658cd08f Bug 1779931 - Make installing `gconf2-devel` during openSUSE bootstrap optional r=ahochheiden
- Added the variable `OPTIONAL_BROWSER_PACKAGES`, which contains
  a list of packages which should, if possible, be installed with
  zypper. If that isn't possible because the package can't be
  found, just display a warning and continue.
- Add `gconf2-devel` to `OPTIONAL_BROWSER_PACKAGES`, since
  gconf2-devel is not available in Tumbleweed repos and also
  not required to build Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D152217
2022-10-04 16:38:55 +00:00
Emilio Cobos Álvarez d71d3c19ed Bug 1792809 - Make library and other windows keep stretching after bug 1665476. r=eemeli
Much like the dialog changes in bug 1792730.

Differential Revision: https://phabricator.services.mozilla.com/D158351
2022-10-04 10:21:05 +00:00
Emilio Cobos Álvarez 789b0bc2c6 Bug 1792730 - Keep dialogs stretching over their preferred width after bug 1665476. r=Gijs,preferences-reviewers,eemeli
width gets honored properly now. What these want is really a min-width.

Differential Revision: https://phabricator.services.mozilla.com/D158286
2022-10-02 01:40:13 +00:00
Sebastian Hengst e25fe23e90 Bug 1741379 - set 'Mach Vendor & Updatebot' as Bugzilla component for related files. r=tjr
Bugzilla component got added in bug 1740779.

Differential Revision: https://phabricator.services.mozilla.com/D131230
2022-09-30 02:04:59 +00:00
Mike Hommey ff425ddcf1 Bug 1792666 - Use -isysroot instead of --sysroot on mac. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D158302
2022-09-29 07:50:27 +00:00
Alex Ionescu e5da1f325e Bug 1789229 - Add side-by-side docs r=perftest-reviewers,sparky
Add docs and fix a local bug that prevents the command from running.

Differential Revision: https://phabricator.services.mozilla.com/D157920
2022-09-23 14:33:21 +00:00
Olivier Tilloy 1bf47c9302 Bug 1789310 - Add an "Ubuntu" token to the UA string when running as a snap on an Ubuntu host r=mkaply,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156492
2022-09-22 18:52:44 +00:00
Mike Hommey 3ddbde0457 Bug 1791952 - Show suppressed warnings before warning summary. r=firefox-build-system-reviewers,andi
This makes the warning summary more visible at the end of the
build log.

Differential Revision: https://phabricator.services.mozilla.com/D157899
2022-09-22 08:03:02 +00:00
Mike Hommey e019e65008 Bug 1790540 - Gracefully handle when topobjdir is not set in MozbuildObject.mozconfig. r=firefox-build-system-reviewers,nalexander
This is a condition that happens when going through the js/src code path
in build/moz.configure/init.configure:mozconfig.

Differential Revision: https://phabricator.services.mozilla.com/D157769
2022-09-21 03:29:55 +00:00
Eemeli Aro 90bc1261e7 Bug 1786186 - Migrate mobile about:config to Fluent. r=geckoview-reviewers,fluent-reviewers,flod,owlish
This migration creates the first FTL file under mobile/android/.
As GeckoView isn't actually localised (see bug 1605358), this file
is not exposed to localisers.

A migration script is still included, as previous localisations of
the about:config view's strings are available from its Fennec days.
Running the script will fail in an m-c checkout bootstrapped for
desktop development; it's possible to hack around this by manually
setting the `l10n_toml` value in `python/l10n/test_fluent_migrations/fmt.py`.

Differential Revision: https://phabricator.services.mozilla.com/D155450
2022-09-20 11:53:37 +00:00
Johan Lorenzo 0e57af4969 Bug 1784232 - Bump taskgraph to v3.2.0 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D155978
2022-09-20 09:11:45 +00:00
Mike Hommey 35f28283e0 Bug 1791470 - Remove stale webrtc moz.build files. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D157682
2022-09-20 09:11:36 +00:00
Johan Lorenzo b984b3449b Bug 1786291 - Remove esr91 references r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D156972
2022-09-19 13:23:03 +00:00
Jan-Erik Rediger f6a6e37ef5 Bug 1788040 - Update to Glean v51.2.0. r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156937
2022-09-13 12:57:58 +00:00
Eemeli Aro 5992582cb9 Bug 1786185 - Migrate XMLPrettyPrint from DTD to FTL. r=gregtatum,smaug,fluent-reviewers,flod
The synchronous DocumentL10n instance that's created here is not exposed on the root document, as that is the user-defined XML document. The localization root that's connected to it is in a closed shadow root.

This localization won't update on locale changes, but that matches what this view was previously doing.

Differential Revision: https://phabricator.services.mozilla.com/D156544
2022-09-10 08:24:25 +00:00
Valentin Rigal b5432c9812 Bug 1790000 - On Automation mozlint output file handler should be closed. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D156664
2022-09-09 12:02:13 +00:00
criss 52bd999f86 Bug 1789687 - Fix lint failure , r=fix . CLOSED TREE 2022-09-07 22:39:24 +03:00
Tom Ritter 32188211aa Bug 1789687: Fix the replace-regex action for moz.yaml r=jewilde
We accidently passed True when we want a non-regex replacement.
This works for those, but not for the regex ones.

Differential Revision: https://phabricator.services.mozilla.com/D156715
2022-09-07 19:18:33 +00:00
ahochheiden 01d4bb1480 Bug 1789311 - Only attempt to add Microsoft Defender Antivirus Exclusion on Windows r=firefox-build-system-reviewers,nalexander
Since PowerShell is also available on Linux, checking for that is not
sufficient. We must first check if we're on Windows, and if we're not,
return early.

Differential Revision: https://phabricator.services.mozilla.com/D156602
2022-09-06 22:15:14 +00:00
Mike Hommey ef98b71931 Bug 1788854 - Require MacOSX 11.3 SDK. r=firefox-build-system-reviewers,andi
Because the relevant SDK is not installed on the mac workers, we pull it
via fetches and adjust the plain build mozconfig as well as mozconfigs
for rusttest, grouping most things in build/macosx/mozconfig.common.

And because the SDK itself now has all the relevant headers, we don't
need the old check for system C++ headers (which also happens to have
outdated instructions)

Differential Revision: https://phabricator.services.mozilla.com/D156280
2022-09-04 21:07:02 +00:00
Francesco Lodolo (:flod) bcead1dfc0 Bug 1789063 - Remove Fluent migration recipes for Firefox 96-104, r=eemeli DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D156364
2022-09-03 19:04:02 +00:00
Alex Ionescu 6f2827d689 Bug 1774181 - Provide a mozperftest command to generate a side-by-side comparison r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D149230
2022-09-02 15:52:42 +00:00
Eemeli Aro 656bd06683 Bug 1734220 - Migrate translation-notification.js to Fluent. r=jaws,fluent-reviewers,flod
The strings from the translation.dtd and translation.properties files are all
merged into a single translationNotification.ftl file.

The string concatenation used in the original is maintained here, as DOM
Localization does not allow for using a <menulist> as a localized element.

Differential Revision: https://phabricator.services.mozilla.com/D155110
2022-09-02 11:03:31 +00:00
Eemeli Aro 4ce19437ce Bug 1785216 - Migrate notification.dtd to Fluent. r=jaws,fluent-reviewers,flod,mconley
Except for the close-notification-message, all of the notification.dtd
strings are only used by popupnotification.js. Accordingly, the strings
are migrated to two different FTL files.

Differential Revision: https://phabricator.services.mozilla.com/D154890
2022-09-02 11:03:31 +00:00
Eemeli Aro 9e7ffeb5e0 Bug 1446164 - Migrate formautofill edit dialogs to Fluent. r=sgalich,fluent-reviewers,flod
Migrating the strings used by the edit dialogs also allows/requires for their migration elsewhere.

Some streamlining is applied to how autofillEditForms.js gets access to e.g. FormFillUtils methods, so that they are no longer routed via the XHTML files' script tags. The prior independence of this file from internal dependencies appears to have been in place to support its use as a part of the Payments API's UI, but that was dropped in bug 1721229.

The Fluent migration script included in this patch also covers changes from the immediately preceding patch.

The intl documentation change is a typo correction that was noticed while working on this patch.

Differential Revision: https://phabricator.services.mozilla.com/D155705
2022-09-01 20:35:37 +00:00
Norisz Fay e1a0b90205 Backed out 2 changesets (bug 1786708, bug 1446164) for causing multiple failures CLOSED TREE
Backed out changeset 469e2500f00e (bug 1446164)
Backed out changeset 0d298c6f7475 (bug 1786708)
2022-09-01 15:34:56 +03:00
Eemeli Aro 5475c4b139 Bug 1446164 - Migrate formautofill edit dialogs to Fluent. r=sgalich,fluent-reviewers,flod
Migrating the strings used by the edit dialogs also allows/requires for their migration elsewhere.

Some streamlining is applied to how autofillEditForms.js gets access to e.g. FormFillUtils methods, so that they are no longer routed via the XHTML files' script tags. The prior independence of this file from internal dependencies appears to have been in place to support its use as a part of the Payments API's UI, but that was dropped in bug 1721229.

The Fluent migration script included in this patch also covers changes from the immediately preceding patch.

The intl documentation change is a typo correction that was noticed while working on this patch.

Depends on D155478

Differential Revision: https://phabricator.services.mozilla.com/D155705
2022-09-01 08:26:47 +00:00
Ryan VanderMeulen 3d5d730c15 Bug 1785920 - Bump JDK to 17.0.4.1+1. r=geckoview-reviewers,jonalmeida
Depends on D154988

Differential Revision: https://phabricator.services.mozilla.com/D155024
2022-08-31 22:10:38 +00:00
Mike Hommey 0c8fa4d1b1 Bug 1785002 - Update unicode-ident to 1.0.3. r=emilio,supply-chain-reviewers,dnazer
Differential Revision: https://phabricator.services.mozilla.com/D154758
2022-08-31 21:07:19 +00:00
Basix 629076aa17 Bug 1787280 - Always use UTF-8 for reading mozconfig. r=ahochheiden
This prevents certain Windows Python installations from using the locale encoding.

Differential Revision: https://phabricator.services.mozilla.com/D156078
2022-08-31 18:43:07 +00:00
andrej 2afa39dd24 Bug 1786092 - Resolve a few miscalleanous WPT bugs. r=sparky,perftest-reviewers
What are we doing:
- Resolving a few bugs/user requests

Issues being addressed:
- Resolved issue where if the WPT_key.txt file is not available locally it does not affect running ./mach perftest-test
- Added section to WPT where we display the amount of tests we have remaining
- Altered the request_with_timeout function, to better handle requests

Differential Revision: https://phabricator.services.mozilla.com/D155268
2022-08-31 14:06:26 +00:00