Commit Graph
9214 Commits
Author SHA1 Message Date
Joel Maher ebaf5be7c4 Bug 1870536 - fix remaining references to .ini in xpcshell. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D196910
2023-12-20 23:16:43 +00:00
Dimi 9840cc215b Bug 1869232 - Refactor credit card doorhanger to use the same architecture as the new address doorhanger r=credential-management-reviewers,fluent-reviewers,joschmidt,bolsson
Besides refactoring, this patch also updates strings for save and update credit card doorhanger.

Differential Revision: https://phabricator.services.mozilla.com/D196054
2023-12-20 07:20:01 +00:00
Logan Rosen d77a3ededc Bug 1870213 - Remove usage of six in python/mozrelease r=mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D196527
2023-12-20 03:05:48 +00:00
Noemi Erli e7acb339cf Backed out changeset fdf4a93ad7b8 (bug 1869232) for causing bc formautofill related failures CLOSED TREE 2023-12-19 11:20:53 +02:00
Dimi fd70bdf3ce Bug 1869232 - Refactor credit card doorhanger to use the same architecture as the new address doorhanger r=credential-management-reviewers,fluent-reviewers,joschmidt,bolsson
Besides refactoring, this patch also updates strings for save and update credit card doorhanger.

Differential Revision: https://phabricator.services.mozilla.com/D196054
2023-12-19 08:14:22 +00:00
Ryan VanderMeulen 2fd9d142b0 Bug 1870252 - Pull the JDK 17.0.9+9.1 build when bootstrapping on Windows. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D196587
2023-12-18 01:40:31 +00:00
Joel Maher 124742d173 Bug 1869204 - Batch 19.1 - migrate python/ mozbuild and mozbase .ini to toml. r=ahal,firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D195995
2023-12-15 20:59:46 +00:00
ahochheiden 4f801ac229 Bug 1870175 - Only run check_for_hgrc_state_dir_mismatch() if hg is installed r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D196507
2023-12-15 20:50:52 +00:00
Kagami Sascha Rosylight 38f50f03a6 Bug 1870318 - Remove remaining warning about targeting Android on Windows r=nalexander DONTBUILD
The followup after D185162. This is the last mention of the bug 1169873 in mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D196595
2023-12-15 19:08:45 +00:00
Joel Maher 6d618a2524 Bug 1869871 - convert perftest.ini -> .toml. r=sparky,perftest-reviewers,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D196334
2023-12-14 19:41:14 +00:00
Noemi Erli c0d334fd7c Bug 1869078 - Fix artefact builds r=fix CLOSED TREE 2023-12-14 08:57:18 +02:00
jneuberger 4c0757c10c Bug 1869024 - P1. Convert strings in LoginManagerPrompter from passwordmgr.properties to Fluent r=credential-management-reviewers,fluent-reviewers,dimi,bolsson
Part 1 of migrating passwordmgr.properties to fluent: Converting the strings from LoginManagerPrompter

1. The following strings [saveLoginMsg2, saveLoginMsgNoUser2, saveLoginButtonDeny.label, saveLoginButtonDeny.accesskey, updateLoginMsg3, updateLoginMsgNoUser3, updateLoginButtonDelete.label, updateLoginButtonDelete.accesskey] are not migrated as the messages are changed. They get replaced by [save-password-message, save-password-button-deny, update-password-messsage, update-password-button-delete]
2. The remaining string from LoginManagerPrompter are migrated by the python script.

Differential Revision: https://phabricator.services.mozilla.com/D195931
2023-12-13 23:10:05 +00:00
ogiorgis d916e7edbe Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
Mike Hommey 2f82879d0f Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-13 02:39:24 +00:00
Anna Yeddi da8c38c385 Bug 1869389 - Provide urlbar-search-mode-indicator-close button with an accessible name. r=Jamie,fluent-reviewers,adw,bolsson
Ensure the focusable and actionable control is also labeled, so an assistive technology user would know the purpose of this control. It should not only be announced as `Close` but also provide a context by referencing the search mode title text as well, so the "History" search would be announced as `Close History mode` or just `Close History` or similar.

Also, since there were a series of test cases failing the a11y-checks because of this unlabeled control, we remove the `fail-if` notations from their test manifests to allow for the accessibility tests to run and expect to pass, as they should be.

Differential Revision: https://phabricator.services.mozilla.com/D196095
2023-12-13 02:31:15 +00:00
Mike Hommey 3ba0f55202 Bug 1868680 - Stop prewarming the ARM AVD. r=geckoview-reviewers,owlish
prewarming the AVDs was done for CI, where AVDs are used only once in
each task using them, and the cost of first use is high. Prewarming
reduces that overhead.

However, the ARM AVD is not used on CI (anymore?), so we don't need
them prewarmed. This unblocks the situation wrt the failure to run
the emulator on CI, while not addressing the underlying issues, so that
CoT keys can be rotated without waiting for the full situation to be
resolved.

Differential Revision: https://phabricator.services.mozilla.com/D195820
2023-12-12 22:15:37 +00:00
ahochheiden 0f3841d860 Bug 1842692 - Check if the paths for extensions in the hg config are referencing the current .mozbuild directory r=firefox-build-system-reviewers,sheehan,glandium
Setting `MOZBUILD_STATE_PATH` and/or moving the `state_dir` can cause
problems with installed hg extensions due to stale references in the
mercurial.ini file. Doing this check should allow the user the fix
the problem without having to deciper the confusing errors that
appear as a result.

An environment variable (MACH_IGNORE_HGRC_STATE_DIR_MISMATCH) was
added to ignore this check if for some reason a user intentionally wants
to use extensions installed elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D183210
2023-12-12 22:02:47 +00:00
Noemi Erli 8c536d621c Backed out changeset 83540e45dfb8 (bug 1860630) for causing mach related bustage 2023-12-12 23:00:01 +02:00
Mike Hommey 04ead7cd7c Bug 1860630 - Upgrade zstandard to 0.22. r=glandium CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-12 20:11:48 +00:00
Joel Maher 93a74ef1b8 Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196124
2023-12-12 17:40:03 +00:00
Joel Maher 6ef3fa1746 Bug 1869437 - support .toml for mozperftest when using xpcshell. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D196190
2023-12-12 17:34:41 +00:00
Ben Dean-Kawamura 79578ec640 Bug 1867639 - Vendor in new application-services / Glean / UniFFI. r=markh,janerik,supply-chain-reviewers,mach-reviewers,ahal
Updated uniffi-bindgen-gecko-js to work with UniFFI 0.25.2:
- Use `config.toml` to list UniFFI sources.  This makes it easier to
  associate data with them, for example the `crate_name` field that's
  now required to generate the sources.
- Enable the `extern-rustbuffer` feature on `uniffi_core`
- Updated the external types fixture to work around
  https://github.com/mozilla/uniffi-rs/issues/1872

Ran mach vendor and mach cargo vet to update the Rust crates.

Differential Revision: https://phabricator.services.mozilla.com/D195163
2023-12-12 14:13:44 +00:00
ahochheiden a7c29534e9 Bug 1843209 - Regenerate the third_party/python lockfile with Python 3.8 as the minimum version r=firefox-build-system-reviewers,glandium,mach-reviewers,ahal
If this is not done, the next person to vendor will also make all of the changes in this commit, which is unnecessary noise.

Differential Revision: https://phabricator.services.mozilla.com/D183450
2023-12-12 03:52:01 +00:00
ahochheiden a7840606de Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-12-12 03:52:00 +00:00
Greg Mierzwinski d00f013bfc Bug 1868937 - Prevent install of opencv during mozperftest unit tests.r=aglavic
This patch prevents the mozperftest unit tests from installing the opencv-python/mozperftest-tools module during unit tests.

Differential Revision: https://phabricator.services.mozilla.com/D195901
2023-12-11 14:56:43 +00:00
Eemeli Aro 9164fd01dc Bug 1868154 - Convert RFPHelper to Fluent. r=timhuang,fluent-reviewers,bolsson
As this code is uncovered by automated tests, I verified the changes manually:

1. In `about:preferences`, set a non-English preferred language.
2. Visit some public page (Perhaps not necessary? Not sure.)
3. In `about:config`, toggle the `privacy.resistFingerprinting` pref to true

This should present you with a confirmation prompt with the migrated message.

Differential Revision: https://phabricator.services.mozilla.com/D195446
2023-12-11 14:30:20 +00:00
ogiorgis b341264881 Bug 1749473 - fix autodoc import warning r=sylvestre DONTBUILD
NameError: name 'self' is not defined

Depends on D196011

Differential Revision: https://phabricator.services.mozilla.com/D196012
2023-12-11 10:09:09 +00:00
Mike Hommey 72a6319312 Bug 1867459 - Avoiding silently dismissing uses of CPU_ARCH. r=firefox-build-system-reviewers,sergesanspaille
In many cases, using CONFIG["CPU_ARCH"] will silently do the unexpected
thing now that it doesn't exist anymore. In case there are in-flight
patches using it, it's better to avoid those causing subtle problems
after a rebase by making most uses of the variable throw an exception.

Differential Revision: https://phabricator.services.mozilla.com/D195158
2023-12-08 10:43:59 +00:00
Mike Hommey 6aa78a25db Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D195157
2023-12-08 10:43:59 +00:00
Logan Rosen f45aacc841 Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre
#ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D193007
2023-12-08 04:26:45 +00:00
Mike Hommey 468fa8a4f5 Bug 1867457 - Make TARGET_CPU in the build system mean the same as target.cpu in configure. r=firefox-build-system-reviewers,sergesanspaille
This is the continuation of what was started with bug 1835189.

Differential Revision: https://phabricator.services.mozilla.com/D195075
2023-12-08 01:11:14 +00:00
Greg Mierzwinski eddbfd58d7 Bug 1867956 - Remove opencv-python 4.5 install, and update mpt to 0.2.9. r=perftest-reviewers,AlexandruIonescu DONTBUILD
This patch updates mozperftest-tools to 0.2.9, and removes the opencv-python 4.5 install since it interferes with the new opencv-python package that has a lower minimum version for python (version 3.7).

Differential Revision: https://phabricator.services.mozilla.com/D195774
2023-12-07 14:17:54 +00:00
Greg Mierzwinski 2e4628dcf9 Bug 1865869 - Allow toml files to be used in perfdocs generation. r=jmarshall,perftest-reviewers,afinder DONTBUILD
This patch fixes an issue where only `perftest.ini` manifests were being parsed for mozperftest tests in perfdocs. It's temporary as we will move all ini manifests to toml in the future. At the same time, this patch adds missing documentation for some new mozperftest tests that use a toml manifest to define the tests.

Differential Revision: https://phabricator.services.mozilla.com/D194251
2023-12-06 13:01:24 +00:00
Narcis Beleuzu 49e6a6d3dc Backed out 2 changesets (bug 1867639) for causing WR bustages
Backed out changeset b77038bd9fee (bug 1867639)
Backed out changeset cf885f915fdf (bug 1867639)
2023-12-05 22:35:09 +02:00
Ben Dean-Kawamura 870b3b7ccc Bug 1867639 - Vendor in new application-services / Glean / UniFFI. r=markh,janerik,supply-chain-reviewers,mach-reviewers,ahal
Updated uniffi-bindgen-gecko-js to work with UniFFI 0.25.2:
- Use `config.toml` to list UniFFI sources.  This makes it easier to
  associate data with them, for example the `crate_name` field that's
  now required to generate the sources.
- Enable the `extern-rustbuffer` feature on `uniffi_core`
- Updated the external types fixture to work around
  https://github.com/mozilla/uniffi-rs/issues/1872

Ran mach vendor and mach cargo vet to update the Rust crates.

Differential Revision: https://phabricator.services.mozilla.com/D195163
2023-12-05 19:55:30 +00:00
Jonathan Watt 52aed64b06 Bug 1411212. Use HOST_OPTIMIZE_FLAGS to compile host tools, even when not cross-compiling. r=glandium
Prior to this change, --disable-optimize clobber builds on macOS took 50%
longer. Build telemetry shows over 80% of developer builds on macOS use
--disable-optimize.

The defaults for HOST_OPTIMIZE_FLAGS that are set in old-configure.in can be
overriden by setting the variable in your mozconfig. For example, setting:

HOST_OPTIMIZE_FLAGS=-O1

Differential Revision: https://phabricator.services.mozilla.com/D195459
2023-12-05 10:30:50 +00:00
Cosmin Sabou 69789fab4c Backed out changeset 975c80dda5fe (bug 1411212) for py3 failures on test_emitter.py. CLOSED TREE 2023-12-05 12:09:26 +02:00
Jonathan Watt 6d98087ce7 Bug 1411212. Use HOST_OPTIMIZE_FLAGS to compile host tools, even when not cross-compiling. r=glandium
Prior to this change, --disable-optimize clobber builds on macOS took 50%
longer. Build telemetry shows over 80% of developer builds on macOS use
--disable-optimize.

The defaults for HOST_OPTIMIZE_FLAGS that are set in old-configure.in can be
overriden by setting the variable in your mozconfig. For example, setting:

HOST_OPTIMIZE_FLAGS=-O1

Differential Revision: https://phabricator.services.mozilla.com/D195459
2023-12-05 09:35:54 +00:00
Jonathan Watt 8c33b11120 Bug 1867968. Remove some unused build telemetry code. r=firefox-build-system-reviewers,glandium
Some time after bug 1237610 originally added telemetry gathering to the build
process, the code changed to gather it via Glean in bug 1651424. Later, bug
1867968 removed some of the old code, but it missed the removal of
get_build_opts. This change removes that function and a few other functions in
the same file that appear to be unused.

Differential Revision: https://phabricator.services.mozilla.com/D195354
2023-12-05 09:21:00 +00:00
Andrew Halberstadt 8d7924010f Bug 1854327 - [docs] Upgrade Sphinx==6.2.1 + other dependencies, r=firefox-source-docs-reviewers,mach-reviewers,sylvestre,championshuttler,ahochheiden
Also remove dependencies that we don't depend on directly. I assume these were
previously added to get a lockfile of sorts, but maintaining our dependencies'
dependencies manually is an excercise in futility.

Let's forget about locking, and if it becomes a problem implement locking into
mach's sites logic.

Differential Revision: https://phabricator.services.mozilla.com/D195300
2023-12-04 21:26:17 +00:00
Andrew Halberstadt ada279d7cb Bug 1867848 - [docs] Stop processing Markdown frontmatter, r=firefox-source-docs-reviewers,necko-reviewers,mach-reviewers,championshuttler,valentin,sylvestre,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D195284
2023-12-04 21:26:13 +00:00
Ray Kraesig 29050fe320 Bug 1866176 - normalize paths in FileFinder r=ahal,firefox-build-system-reviewers,glandium
On Windows, paths provided to FileFinder may contain backslashes, which
will cause uses of `mozpath.match` later on to fail when they try to
compare mixed-path values. To avoid this, normalize those paths on
receipt.

(Also, silence a lint by pulling the global `args` variable into a
function, so that it is no longer occluded by the various function
parameters named `args`.)

Differential Revision: https://phabricator.services.mozilla.com/D194448
2023-12-04 17:14:29 +00:00
Andrew Halberstadt 255518ea5c Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre
These were not caught due to bug 1865672.

Depends on D195431

Differential Revision: https://phabricator.services.mozilla.com/D195432
2023-12-04 14:51:39 +00:00
Eemeli Aro 07145792f8 Bug 1814969: Migrate ContextualIdentityService strings to Fluent r=geckoview-reviewers,fluent-reviewers,mconley,owlish,flod
This includes a containers.json version increment and the necessary migration,
as the StringBundle identifiers are replaced with a Fluent reference.

As it's not possible to filter the attributes that are applied with DOM localization,
the code in utilityOverlay.js is a little clumsy. The non-acceskey versions are needed
due to bug 1297738, i.e. the long-press menu available from the tab bar down arrow.

Previously, the "Manage containers" menu item and its accesskey were defined in two places.
These are here combined into one.

Differential Revision: https://phabricator.services.mozilla.com/D194510
2023-12-04 13:09:15 +00:00
Makoto Kato 95035ce86e Bug 1854031 - Part 2. Allow Unicode License V3 to vendor rust for ICU4X 1.4. r=glandium
See https://phabricator.services.mozilla.com/D193036#6423271 for Unicode License V3.

Depends on D192902

Differential Revision: https://phabricator.services.mozilla.com/D192900
2023-12-04 09:02:27 +00:00
Noemi Erli 36ac1fc131 Backed out 2 changesets (bug 1867639) for causing wrench bustages CLOSED TREE
Backed out changeset 014768de11ca (bug 1867639)
Backed out changeset 375a5bb63fa7 (bug 1867639)
2023-12-01 23:21:07 +02:00
Eemeli Aro 3eceebb1fc Bug 1866268 - Migrate GeckoViewConsole strings to Fluent. r=geckoview-reviewers,fluent-reviewers,owlish,kpatenio
This migration creates a new 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 strings are available from their 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/D194541
2023-12-01 17:38:20 +00:00
Ben Dean-Kawamura e3f087b56c Bug 1867639 - Vendor in new application-services / Glean / UniFFI. r=markh,janerik,supply-chain-reviewers,mach-reviewers,ahal
Updated uniffi-bindgen-gecko-js to work with UniFFI 0.25.2:
- Use `config.toml` to list UniFFI sources.  This makes it easier to
  associate data with them, for example the `crate_name` field that's
  now required to generate the sources.
- Enable the `extern-rustbuffer` feature on `uniffi_core`
- Updated the external types fixture to work around
  https://github.com/mozilla/uniffi-rs/issues/1872

Ran mach vendor and mach cargo vet to update the Rust crates.

Differential Revision: https://phabricator.services.mozilla.com/D195163
2023-12-01 14:26:03 +00:00
Simon Farre f57c6f05fc Bug 1864675 - Add pretty printers for SyncedContext fields r=farre,nalexander
Makes debugging of synced context fields more palatable.

Differential Revision: https://phabricator.services.mozilla.com/D194969
2023-12-01 11:07:22 +00:00
Connor Sheehan 4db8d52a9b Bug 1866395: add get_mozilla_upstream_remote and use it to find Git base ref r=ahochheiden
Add a `get_mozilla_upstream_remote` method for `GitRepository` that
scans the output of `git remote -v` for an official Mozilla URL. Use
this URL in `base_ref` to limit the remotes considered for remote
branches, defaulting to `--remotes` without an argument if one can't
be found.

Differential Revision: https://phabricator.services.mozilla.com/D194881
2023-11-30 22:23:01 +00:00