Commit Graph
11060 Commits
Author SHA1 Message Date
Alex Hochheiden 9546d39834 Bug 2038789 - Add extra_deps to GeneratedFile for hidden runtime prereqs, and use it for application.ini r=firefox-build-system-reviewers,sergesanspaille
Some `GeneratedFile` scripts open additional files at runtime
(e.g. #include @TOPOBJDIR@/...), so backends need a way to
declare those as prerequisites without passing them as
positional args.

Also normalizes the `_target_per_file` key to an absolute
path so `GENERATED_FILES` dependencies that cross directory
boundaries actually resolve.

Differential Revision: https://phabricator.services.mozilla.com/D302161
2026-06-01 20:49:44 +00:00
Alex Hochheiden dddf950d42 Bug 2038789 - Replace JSSHELL_BINS with a JS_SHELL_ARCHIVE_FILES moz.build primitive r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300878
2026-06-01 20:49:41 +00:00
Atila Butkovits 57580e540b Revert "Bug 2018245 - Give firefox-devtools-mcp better defaults r=ai4dev-reviewers,padenot" for causing failures at test_devtools_mcp.py.
This reverts commit b207c82cd9.
2026-06-01 18:07:01 +00:00
Dan Mosedale b207c82cd9 Bug 2018245 - Give firefox-devtools-mcp better defaults r=ai4dev-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D294087
2026-06-01 17:17:08 +00:00
Atila Butkovits 0f83429bd7 Revert "Bug 2018245 - Give firefox-devtools-mcp better defaults r=ai4dev-reviewers,padenot" for causing failures at test_devtools_mcp.py.
This reverts commit a7ecdc80fe.
2026-06-01 17:07:49 +00:00
Dan Mosedale a7ecdc80fe Bug 2018245 - Give firefox-devtools-mcp better defaults r=ai4dev-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D294087
2026-06-01 16:32:55 +00:00
Jonathan Watt 7cae31af0b Bug 2043912. Generate .clangd in both the source and object directory. r=aryx
This is part of fixing clangd indexing for out-of-tree object
directories. For example:

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj/$(basename $PWD)-no-opt

The problem is that clangd (at least in VSCode) doesn't index files
outside the project root(s). You can add directories as extra project
roots, but it will still fail to index them, since when it walks up the
parent directory chain it won't encounter the .clangd that `mach ide
vscode` creates at the root of the source directory.

This patch does two things:

  - When the .clangd file is created in the root of the source
    directory, it also copies it to the root of the object directory.

  - It protects the .clangd file in the object directory from being
    removed during a clobber, since users aren't going to know they'd
    need to make a manual intervention to restor it, or to re-run `mach
    ide vscode`, which wouldn't be great anyway).

Having a copy of .clangd in the object directory is harmless for in-tree
object directories, so no effort is make to avoid that.

Differential Revision: https://phabricator.services.mozilla.com/D303661
2026-06-01 13:10:54 +00:00
Jonathan Watt e414aaaa34 Bug 2043910. Don't throw away the clangd index when clobbering. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D303656
2026-06-01 13:10:51 +00:00
Sylvestre Ledru ed312a73d2 Bug 2040162 - Add rumdl Markdown linter to mozlint r=linter-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D301350
2026-05-30 13:11:39 +00:00
Kalen Lu 4815cbc76b Bug 2042944 - Add Nova styling for primary password settings dialog. r=mtigley,fluent-reviewers,mconley,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D302894
2026-05-29 23:23:44 +00:00
Max Emig 347c40d15f Bug 2041134 - Fix invalid Thunderbird tarball sourcestamp.txt regression. r=ahochheiden,sking,dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D303205
2026-05-29 20:39:10 +00:00
Andrew Halberstadt 82d8fe66d6 Bug 2042926 - [mozversioncontrol] Adjust branch prefix used when pushing to Git try, r=ahochheiden
We decided to namespace user branches under `user/<username>/`

Differential Revision: https://phabricator.services.mozilla.com/D303074
2026-05-28 23:44:05 +00:00
Andrew Halberstadt 8511f5cebe Bug 2042926 - [mozversioncontrol] Refactor try push logic into base class, r=ahochheiden
The logic to push to try is almost entirely shared between jj and git,
so move it to the base class.

Differential Revision: https://phabricator.services.mozilla.com/D303073
2026-05-28 23:44:02 +00:00
Heitor Neiva b631498c8f Bug 1812480 - Change Mac pkgs contents mode r=spohl,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D291640
2026-05-28 21:19:58 +00:00
abhishekmadan30 ad968b39f6 Bug 2037130 - upgraded taskgraph version to v23.1.0 and mozilla-taskgraph version to v4.1.12. r=taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D299805
2026-05-28 19:40:23 +00:00
Sylvestre Ledru 2a18995caa Bug 2043239 - Update to ruff 0.15.15 r=linter-reviewers,sergesanspaille DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D303050
2026-05-28 19:36:34 +00:00
Dineth fef5161685 Bug 2042443 - Changed strings with percentage formats to fstrings with formatting specifiers. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D303093
2026-05-28 16:43:58 +00:00
Alex Hochheiden 0346e7cfb6 Bug 2036604 - Resolve callable choices when listing settings in ./mach settings r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300106
2026-05-28 16:33:54 +00:00
Andrew Halberstadt 7e845fb55f Bug 2042926 - [mozversioncontrol] Namespace try branches under a <username>/ prefix, r=ahochheiden
With dozens to potentially hundreds of developers all pushing to the
same repo, namespacing branches will help avoid conflicts and gives us a
point of contact if we ever need to find a branch's owner.

Differential Revision: https://phabricator.services.mozilla.com/D302867
2026-05-28 03:23:32 +00:00
Andrew Halberstadt 4c4932b749 Bug 2041426 - [tryselect] Create bookmark if necessary when pushing with jj, r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D302086
2026-05-27 21:58:05 +00:00
Andrew Halberstadt 727a3c7fbe Bug 2041426 - [mozversioncontrol] Consolidate try push logic into 'push_to_try' method, r=ahochheiden
This allows consumers like `mach try` to call into a single entrypoint
regardless of which vcs type is being pushed to.

Differential Revision: https://phabricator.services.mozilla.com/D302380
2026-05-27 21:58:02 +00:00
Marco Castelluccio 69f4cfdc8d Bug 2041157 - Track per-manifest skip-if metadata in ReftestManifest.manifests. r=ahal
Track include_skip_if (the skip condition inherited from the enclosing
include directive) and tests_skip_if (AND-accumulated from all protocol-URL
test lines in the manifest) for each visited manifest path.

Differential Revision: https://phabricator.services.mozilla.com/D302340
2026-05-27 09:12:47 +00:00
rperta cf8569eaf3 Revert "Bug 2034256: Add Nova styling for password doorhanger. r=dimi,desktop-theme-reviewers,mkennedy,dao,mtigley,fluent-reviewers,bolsson" for causing bc failures at browser_doorhanger_generated_password.js
This reverts commit 74430bc719.
2026-05-26 21:50:45 +00:00
tmanku 74430bc719 Bug 2034256: Add Nova styling for password doorhanger. r=dimi,desktop-theme-reviewers,mkennedy,dao,mtigley,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D296008
2026-05-26 19:36:55 +00:00
Andrew Halberstadt 7fdd4e65da Bug 2041426 - [mozversioncontrol] Use bookmark on head_ref as value for JujutsuRepository.branch, r=ahochheiden
This is essentially what we're looking for when trying to figure out
where to push.

Differential Revision: https://phabricator.services.mozilla.com/D302085
2026-05-26 19:34:47 +00:00
Andrew Halberstadt d318d6be1e Bug 2041426 - [mozversioncontrol] Resolve jj refs to commit ids when dest_branch exists, r=ahochheiden
This way if ref happens to be a change id, it'll be converted to
something Git understands. If it's a bookmark, it's fine to convert it
to a commit sha regardless as the dest_branch was explicitly provided.

Differential Revision: https://phabricator.services.mozilla.com/D302084
2026-05-26 19:34:44 +00:00
Andrew Halberstadt 89cdd810e8 Bug 2041426 - [mozversioncontrol] Use closest remote bookmark when printing list of changes pushed to try with Jujutsu, r=ahochheiden
If you pushed a branch not based on `trunk()`, this would result in many
unrelated commits (possibly hundreds) to your terminal. The new revset
finds the closest remote bookmark and compares off of that.

Differential Revision: https://phabricator.services.mozilla.com/D301888
2026-05-26 19:34:40 +00:00
serge-sans-paille 91ce4472e9 Bug 2042114 - Only increase mach static-analysis processed file count upon successful match r=sylvestre
Otherwise some lines that contain the clang-tidy pattern are
incorrectly counted as processed file lines.

Differential Revision: https://phabricator.services.mozilla.com/D302299
2026-05-25 21:13:21 +00:00
Andrew Overholt d7f272c970 Bug 2040939 - Append URL to saved qrcode image filename r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D301655
2026-05-25 16:09:47 +00:00
Alex Hochheiden 04b0d53cc5 Bug 2038789 - Migrate locale-manifest.in recipe to locale_manifest action r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300067
2026-05-25 15:58:24 +00:00
Alex Hochheiden 82b2a716c1 Bug 2038789 - Migrate make-sourcestamp-file recipe to make_sourcestamp_file action r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D299940
2026-05-25 15:58:21 +00:00
Cosmin Sabou bf9e72f148 Revert "Bug 2038789 - Migrate locale-manifest.in recipe to locale_manifest action r=firefox-build-system-reviewers,sergesanspaille" for causing macosx64-rusttests/debug build bustages.
This reverts commit 428bc19014.

Revert "Bug 2038789 - Migrate `make-sourcestamp-file` recipe to `make_sourcestamp_file` action r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 1e229bf258.

Revert "Bug 2038789 - Move `PKG_LANGPACK_PATH` from `package-name.mk` to `toolkit/moz.configure` r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit acedf1e8c8.

Revert "Bug 2038789 - Move format package args from `upload-files.mk` to `toolkit/moz.configure` r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 60ce7c8dfc.
2026-05-23 09:21:27 +00:00
Alex Hochheiden 428bc19014 Bug 2038789 - Migrate locale-manifest.in recipe to locale_manifest action r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300067
2026-05-23 00:07:49 +00:00
Alex Hochheiden 1e229bf258 Bug 2038789 - Migrate make-sourcestamp-file recipe to make_sourcestamp_file action r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D299940
2026-05-23 00:07:47 +00:00
Atila Butkovits 992f182153 Revert "Bug 2038789 - Migrate locale-manifest.in recipe to locale_manifest action r=firefox-build-system-reviewers,sergesanspaille" as per request.
This reverts commit 88a8166034.

Revert "Bug 2038789 - Migrate `make-sourcestamp-file` recipe to `make_sourcestamp_file` action r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 8b1f9bbf53.

Revert "Bug 2038789 - Move `PKG_LANGPACK_PATH` from `package-name.mk` to `toolkit/moz.configure` r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 69cffbf488.

Revert "Bug 2038789 - Move format package args from `upload-files.mk` to `toolkit/moz.configure` r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 37574d1c07.
2026-05-22 20:16:56 +00:00
Alex Hochheiden 88a8166034 Bug 2038789 - Migrate locale-manifest.in recipe to locale_manifest action r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300067
2026-05-22 19:02:23 +00:00
Alex Hochheiden 8b1f9bbf53 Bug 2038789 - Migrate make-sourcestamp-file recipe to make_sourcestamp_file action r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D299940
2026-05-22 19:02:21 +00:00
rperta c983b985e4 Revert "Bug 1812480 - Switch mac pkg source to repackaged instead of iscript r=releng-reviewers,taskgraph-reviewers,ahal" for causing Beetmover repackages build bustages
This reverts commit 454142c389.

Revert "Bug 1812480 - Change Mac pkgs contents mode r=spohl,releng-reviewers,bhearsum"

This reverts commit 1a92842445.
2026-05-22 13:27:46 +00:00
Alex Hochheiden 56dd53bd1b Bug 2038789 - Emit install-manifest rules from the backend instead of Makefile.in r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D299842
2026-05-22 02:32:30 +00:00
Alex Hochheiden d04178dec5 Bug 2038789 - Migrate INNER_MAKE_PACKAGE from upload-files.mk to mozbuild.action.package r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D299840
2026-05-22 02:32:27 +00:00
Alex Hochheiden d8d44a3df4 Bug 1281618 - Move WebIDL binding sources from Makefile.in to backend.mk r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D299932
2026-05-22 02:32:19 +00:00
Andrew Halberstadt 4fab5b98ea Bug 2041432 - Skip mozversioncontrol hg tests when hg is unavailable, r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D301887
2026-05-21 21:33:39 +00:00
Gijs Kruitbosch cba032ad09 Bug 2041342 - add stmo-cli to mach bootstrap, r=ai4dev-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D301790
2026-05-21 19:25:25 +00:00
Heitor Neiva 1a92842445 Bug 1812480 - Change Mac pkgs contents mode r=spohl,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D291640
2026-05-21 19:22:53 +00:00
adewaleomosanya 95a2f904cd Bug 2031352 - Fix ruff UP031 in decorators.py r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D298305
2026-05-21 14:25:23 +00:00
pstanciu 524c505b0b Revert "Bug 2023603 - Update MyST-Parser to 5.1.0 to fix links with multiple query parameters r=ahal" for causing python failures @ test_site_compatibility.py
This reverts commit 2dd71ebdc3.
2026-05-21 10:07:07 +00:00
Manuel Bucher 2dd71ebdc3 Bug 2023603 - Update MyST-Parser to 5.1.0 to fix links with multiple query parameters r=ahal
This bumps the minimum python version to 3.11 for the `mach doc`
command. Bug 1998780 previously restore python 3.9 support.
However, due to the new requirements that come with the new MyST-Parser
version 5.1.0, keeping python 3.9 support is less feasible.

Sphinx version is bumped due to new version requirement by MyST-Parser.

In myst-parser 5.x the cross-reference warning message for source-tree
documents changed from "WARNING: 'myst' cross-reference target not
found" to "WARNING: Unknown source document". Both patterns are kept in
docs/config.yml since the old format still appears for generated
documents in the obj-directory.

Differential Revision: https://phabricator.services.mozilla.com/D301562
2026-05-21 09:42:05 +00:00
Rebecca King a34c15a316 Bug 2040965 - Add Not now as a label attribute for secondary button dropdown in ipProtection.ftl - r=ip-protection-reviewers,fluent-reviewers,flod,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D301524
2026-05-20 17:00:14 +00:00
rperta 3a7b8eaf95 Revert "Bug 1812480 - Switch mac pkg source to repackaged instead of iscript r=releng-reviewers,taskgraph-reviewers,ahal" for causing gecko decision failures
This reverts commit e40679fc71.

This reverts commit 9d0a9a94b7.
2026-05-19 23:48:56 +00:00
Heitor Neiva 9d0a9a94b7 Bug 1812480 - Change Mac pkgs contents mode r=spohl,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D291640
2026-05-19 23:39:43 +00:00