Commit graph

7952 commits

Author SHA1 Message Date
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
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