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

7935 Коммитов

Автор SHA1 Сообщение Дата
Byoungchan Lee 19b528dd85 Bug 1785953 - Ignore another ccache stats output. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D155762
2022-08-30 00:05:38 +00:00
Eemeli Aro dd06d4be67 Bug 1786027 - Migrate appPicker.dtd to Fluent. r=jaws,fluent-reviewers,flod
I was not able to test this manually as it's a Windows-only component,
but it's at least somewhat covered by the tests in
    browser/components/preferences/tests/browser_change_app_handler.js
which pass in CI.

Differential Revision: https://phabricator.services.mozilla.com/D155105
2022-08-27 07:58:29 +00:00
ahochheiden 700d2d5ffb Bug 1777414 - Replace all uses of `distutils.version.LooseVersion` with `looseversion.LooseVersion` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D151064
2022-08-26 23:05:25 +00:00
ahochheiden 934d2e7234 Bug 1777414 - Remove Python2 specific code from our `Version` subclass r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D151063
2022-08-26 19:11:12 +00:00
Eemeli Aro fc7b79586e Bug 1786055 - Migrate styleeditor DTD localization to Fluent. r=nchevobbe,fluent-reviewers,flod
After the preceding change, the editMenuOverlay strings are only used by the styleeditor.
Therefore it makes sense to migrate them here specifically to its localization file.

Differential Revision: https://phabricator.services.mozilla.com/D155449
2022-08-26 16:31:40 +00:00
Tom Ritter 8c11e2117e Bug 1786948: Remove dead code from the moz.yaml schema validation r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D155596
2022-08-25 19:37:49 +00:00
Ted Campbell 12c4c6324a Bug 1786142 - Use actual git clone when bootstrapping git-cinnabar in mozboot r=firefox-build-system-reviewers,andi
The upstream git-cinnabar repo no longer has the `git-cinnabar` scripts which
breaks the logic in mozboot. We no longer need to worry about making those files
executable and can simply use the download.py script to do the work. For the
current versions of download.py to work correctly, we need the git metadata to
exist, so use a --depth=1 clone instead.

Differential Revision: https://phabricator.services.mozilla.com/D155502
2022-08-24 19:33:53 +00:00
Nika Layzell 7bf48df86c Bug 1786062 - Part 2: Fix pylint failure in vendor_rust.py CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D155474
2022-08-24 14:04:48 +00:00
Nika Layzell b9da521e9e Bug 1786062 - Stop discarding non-vet errors from cargo vet in ./mach vendor rust, r=tjr,glandium
This should make handling errors more reliable in this situation.

Unfortunately I was unable to test this change, as on my local machine,
`./mach vendor rust` fails with an error even on a fresh checkout of
mozilla-central due to what appears to be an issue with loading
jsparagus sources.

Differential Revision: https://phabricator.services.mozilla.com/D155090
2022-08-24 13:40:03 +00:00
Eemeli Aro 0b78e9e392 Bug 1734221 - Migrate datetimebox strings from DTD to FTL. r=emilio,fluent-reviewers,flod
As the widget requires the individual fields' placeholder values to
be known during their build, the DOMLocalization instance used here
needs to have sync methods enabled. For the same reason, the
placeholder strings need to be separate messages, rather than
attributes on the same message as the corresponding label.

Differential Revision: https://phabricator.services.mozilla.com/D154448
2022-08-24 08:32:13 +00:00
Tom Ritter 05eb26435b Bug 1785139 - linting fixup for vendor_manifest. r=lint-fix CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D155109
2022-08-19 19:49:26 +00:00
Tom Ritter 1931664d08 Bug 1785139: Try the shorthash when running ./mach vendor on a rust create r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D154827
2022-08-19 19:36:52 +00:00
Butkovits Atila 22480aa8be Backed out changeset d937f31a99c1 (bug 1785139) for causing linting failures. CLOSED TREE 2022-08-18 17:36:14 +03:00
Tom Ritter 696b99e059 Bug 1785139: Try the shorthash when running ./mach vendor on a rust create r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D154827
2022-08-18 14:19:35 +00:00
Sean Pedigo c8c055c4f4 Bug 1752202 - Updated documentation to better inform contributers how to debug Mach. r=ahal
Depends on D137058

Differential Revision: https://phabricator.services.mozilla.com/D137066
2022-08-17 21:18:08 +00:00
Marian-Vasile Laza 2dac282ab0 Backed out changeset a36fe75347a1 (bug 1785174) for causing linting failures. 2022-08-17 20:51:11 +03:00
Ryan VanderMeulen e2fec65aa0 Bug 1785174 - Bump JDK to 18.0.2+9. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D154858
2022-08-17 15:20:24 +00:00
Ryan VanderMeulen f4b6916589 Bug 1785174 - Update bundletool to 1.11.0. r=geckoview-reviewers,calu
Depends on D154848

Differential Revision: https://phabricator.services.mozilla.com/D154849
2022-08-17 15:20:23 +00:00
Ryan VanderMeulen 229bea0e22 Bug 1785174 - Update cmdline-tools to 7.0. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D154848
2022-08-17 15:20:23 +00:00
Eemeli Aro c48445143e Bug 1731351 - Move restoreColumnOrder.label from DTD to FTL. r=fluent-reviewers,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D154517
2022-08-17 08:06:41 +00:00
Makoto Kato 32efa4b16e Bug 1783959 - Add --profile argument when using custom profile. r=firefox-build-system-reviewers,glandium
This is regression by bug 1581971.

When using custom profile to run GVE via `./mach run --profile <directory>`,
we add "--profile" argument on `adb`. But, after landing bug 1581971, we
don't pass any profile arguments unfortunately.

So we should add it to use custom profile.

Also, This fixes that `./mach run --enable-fission` is broken. We don't need
`--profile` argument to run GVE with fission.

Differential Revision: https://phabricator.services.mozilla.com/D154772
2022-08-17 03:13:55 +00:00
Eemeli Aro 28bccea7aa Bug 1771752 - Migrate notification alert DTD strings to Fluent. r=fluent-reviewers,flod,jaws
The alert.properties file is not migrated here, as its contents are
also used by OS-specific alert notifications:
- widget/cocoa/OSXNotificationCenter.mm
- widget/windows/ToastNotificationHandler.cpp

Differential Revision: https://phabricator.services.mozilla.com/D154380
2022-08-16 16:24:23 +00:00
Kershaw Chang 35d82ae8cc Bug 1783822 - Add node 'ws' library for xpcshell test, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D154097
2022-08-16 07:39:34 +00:00
Mike Hommey 656eca9622 Bug 1783985 - Bump MSRV to 1.61.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D154340
2022-08-16 00:56:23 +00:00
Sylvestre Ledru e9eade44dc Bug 1784857 - ride along: fix some 'line too long' r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D154641
2022-08-15 20:09:05 +00:00
Tom Ritter ec23b10cb4 Bug 1783494: Keep moz.build files within the full directory tree; not just the top level directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D154002
2022-08-15 18:54:47 +00:00
Eemeli Aro eda109bfb2 Bug 1771126 - Migrate resetProfileProgress strings from DTD to FTL. r=fluent-reviewers,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D154523
2022-08-15 13:54:19 +00:00
Eemeli Aro ad69671da6 Bug 1731353 - Migrate TabModalPrompt strings from DTD to FTL. r=fluent-reviewers,mossop,flod
This migrates the remaining strings from both commonDialog.dtd and
dialogOverlay.dtd into a single new tabprompts.ftl file, as they are
only used by TabModalPrompt.

Differential Revision: https://phabricator.services.mozilla.com/D154423
2022-08-15 11:45:04 +00:00
Eemeli Aro a23d23117d Bug 1731353 - Migrate commonDialog strings from DTD to FTL. r=fluent-reviewers,mossop,flod
This migrates only the strings used by commonDialog.xhtml

Differential Revision: https://phabricator.services.mozilla.com/D154422
2022-08-15 11:45:03 +00:00
Marian-Vasile Laza 64e5059d3d Backed out 2 changesets (bug 1731353) for causing mochitest failures on test_ui_modalprompt.html and multiple bc failures. CLOSED TREE
Backed out changeset 50a6a70d01fd (bug 1731353)
Backed out changeset 123d9498cd15 (bug 1731353)
2022-08-15 10:10:54 +03:00
Eemeli Aro bff9e7482d Bug 1731353 - Migrate TabModalPrompt strings from DTD to FTL. r=fluent-reviewers,mossop,flod
This migrates the remaining strings from both commonDialog.dtd and
dialogOverlay.dtd into a single new tabprompts.ftl file, as they are
only used by TabModalPrompt.

Differential Revision: https://phabricator.services.mozilla.com/D154423
2022-08-15 06:07:33 +00:00
Eemeli Aro efbe90cdd8 Bug 1731353 - Migrate commonDialog strings from DTD to FTL. r=fluent-reviewers,mossop,flod
This migrates only the strings used by commonDialog.xhtml

Differential Revision: https://phabricator.services.mozilla.com/D154422
2022-08-15 06:07:32 +00:00
Mike Hommey 78274e3bef Bug 1784178 - Set host compiler flags in directories with rust code. r=firefox-build-system-reviewers,andi
While here, square off the situation wrt compiler flags:
- target compiler flags used to be set conditionally but have been made
  unconditional in bug 1409276, while leaving a hack around that adds
  them under some conditions for host directories. We remove the hack
  but keep the corresponding comment that is still relevant and should
  be taken into account if target compiler flags are made conditional
  later on.
- host compiler flags were excluded for host rust libraries, but that
  was an oversight of bug 1409276, which should have applied the same
  logic for host compilations.
- host compiler flags are actually potentially necessary for target rust
  compilations because rust build scripts may build host C/C++ code
  (that's the case for GLSL). We have no idea when that may happen, so
  we always propagate them. config/makefiles/rust.mk then further
  propagates the flags to cargo, but they have to be set in the backend
  in the first place for that to happen.

Differential Revision: https://phabricator.services.mozilla.com/D154326
2022-08-12 20:16:11 +00:00
Jan-Erik Rediger 72b2c1829e Bug 1783754 - Update to Glean v51.1.0. r=TravisLong,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D154088
2022-08-09 15:58:51 +00:00
Nika Layzell 665766a29c Bug 1759555 - Part 2: Partially configure rust-analyzer for ./mach ide vscode, r=glandium,andi
In order to allow rust-analyzer to be able to use the build script in
the mozbuild crate to discover the configuration information, this patch
adds new flags to the vscode config to tell rust-analyzer to invoke
cargo through `./mach cargo check`, and use the correct target directory
within the objdir rather than `$(topsrcdir)/target`.

Due to the virtual filesystem used by rust-analyzer not including files
in the object directory, this is not sufficient to get suggestions for
symbols from the included files, however it will accurately fetch
diagnostics upon save and run things like proc macros.

A new feature will likely need to be added to rust-analyzer to allow us
to specify additional paths to add to the source root for packages to
fix that issue.

Due to this change using `./mach cargo check`, rather than running it
independently, we don't run into issues caused by running `check`
against crates in the workspace which aren't being used, making the
diagnostics more useful.

An additional feature needed to be added to `./mach cargo check` to
allow specifying `--message-format=json`. I am open to suggestions for a
more elegant way to communicate this flag into the makefile.

Depends on D153269

Differential Revision: https://phabricator.services.mozilla.com/D153270
2022-08-09 14:12:12 +00:00
Nicholas Rishel 6e432b193e Bug 1782818 - Use COM notification server for toast notifications in MSIX packages. r=nalexander,Jamie
This converges Windows native notification behavior across all installers to use the COM notification server.

This also fixes an issue where interacting with an MSIX notification opened a new window with new tabs correlated to the toast notification launch arguments. MSIX by default calls the application sending a notification with the provided launch arugments, which was an problem as we use launch arguments in the COM server to reconstruct the origin of a notification.

Differential Revision: https://phabricator.services.mozilla.com/D153538
2022-08-04 21:46:15 +00:00
Tom Ritter a0aee377f9 Bug 1778567: Add GECKO_PATH to any scripts or commands we run via run- action r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D151746
2022-08-04 14:09:39 +00:00
Butkovits Atila c2863c1282 Bug 1782857 - Lint fix. a=fix. CLOSED TREE 2022-08-03 18:04:17 +03:00
Nick Alexander 78a085fbe8 Bug 1782857 - Ignore (drive letter, on Windows) case in Python path. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D153546
2022-08-03 14:29:52 +00:00
Mark Banner a335851da6 Bug 1782523 - Update NodeJS to latest versions for the branches. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D153445
2022-08-03 07:29:08 +00:00
Jan-Erik Rediger 94b2463ce2 Bug 1781030 - Upgrade to Glean v51.0.1. r=perry.mcmanis,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152626
2022-08-01 10:50:47 +00:00
ahochheiden 18358a968b Bug 1777414 - Vendor standalone 'looseversion' at version 1.0.1 r=firefox-build-system-reviewers,glandium
This will be used to replace the `LooseVersion` within `distutils`.
`StrictVersion` from `distutils` will need something else, as swapping
usages of `StrictVersion` with `LooseVersion` does not result in the
desired behavior.

Differential Revision: https://phabricator.services.mozilla.com/D151062
2022-07-29 02:03:37 +00:00
Ryan Hunt 5b07c7d827 Bug 1781425 - wasm: Remove baldrdash. r=jseward,supply-chain-reviewers
The baldrdash integration of Cranelift is agreed between SM and CL
to be the wrong shape. Our import of the code base is also old and
causes difficulties for us when upgrading some crates (see bug
1774829). We should remove it for now to unblock bug 1774829.

Differential Revision: https://phabricator.services.mozilla.com/D152806
2022-07-27 22:30:17 +00:00
Jan-Erik Rediger 8dcad8e62e Bug 1781085 - Update to Glean v50.1.3 r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152770
2022-07-27 10:24:48 +00:00
criss e3d5438abb Backed out changeset 581d7209c242 (bug 1781085) for causing build bustages. CLOSED TREE 2022-07-27 12:19:52 +03:00
Jan-Erik Rediger a3f580ed1f Bug 1781085 - Update to Glean v50.1.3 r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152770
2022-07-27 08:58:11 +00:00
Marian-Vasile Laza 26bcf8de12 Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-07-21 15:53:39 +03:00
Marian-Vasile Laza 007a92ab7e Backed out 3 changesets (bug 1776642) for Pip version update causes CI tasks to fail. CLOSED TREE
Backed out changeset 450e42238ace (bug 1776642)
Backed out changeset 40cfebba22ac (bug 1776642)
Backed out changeset c4534787d467 (bug 1776642)
2022-07-21 15:50:20 +03:00
Nicklas Boman d99f46f0ad Bug 1780449 - If mercurial is not installed mach will not recognize your source folder as a hg checkout r=firefox-build-system-reviewers,ahochheiden
fix if mercurial is not installed when running mach bootstrap, it will return None and mach will be confused if you are in a hg or git directory at all.

Differential Revision: https://phabricator.services.mozilla.com/D152310
2022-07-21 09:12:21 +00:00
Jim Blandy 5528bb5fa6 Bug 1772635: Handle some new ccache categories. r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D151570
2022-07-20 23:38:16 +00:00