8521 Commits

Author SHA1 Message Date
Valentin Gosu
50fdf1286d Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-06-02 12:49:33 +00:00
Kelly Cochrane
19abba01c7 Bug 1832668 - Add new side navigation component to Firefox View Next page r=fxview-reviewers,fluent-reviewers,flod,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D179215
2023-06-02 12:39:50 +00:00
Mike Hommey
e97e5246fd Bug 1834436 - Upgrade minimum supported GCC version to 8. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178736
2023-06-01 20:09:19 +00:00
Mike Hommey
b16e80067e Bug 1835431 - Parallelize pbzx decompression. r=gsvelto
For larger packages (e.g. Xcode), it makes a big difference.

Differential Revision: https://phabricator.services.mozilla.com/D179283
2023-05-31 22:24:34 +00:00
Mike Hommey
c6281d6814 Bug 1835431 - Handle hardlinks when unpacking a SDK. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D179281
2023-05-31 22:24:34 +00:00
Rob Wu
fcdd79b348 Bug 1835559 - Ensure that text content survives translation r=application-update-reviewers,flod,fluent-reviewers,nalexander,settings-reviewers,Gijs
When an element is re-translated, the textContent is currently dropped.
To avoid that, make it an explicit part of the message.

This requires changing the l10n message ID.
Ideally, the message ID wouldn't change, but that is not possible until
the content can be preserved as a feature, i.e.
https://github.com/projectfluent/fluent.js/issues/169

Differential Revision: https://phabricator.services.mozilla.com/D179323
2023-05-31 19:58:55 +00:00
Cosmin Sabou
8dd0d2bebe Backed out changeset 81758aba6ab3 (bug 1835559) for causing bc failures on browser_aboutDialog_fc_downloadOptIn.js. CLOSED TREE 2023-05-31 22:28:23 +03:00
Rob Wu
910882d447 Bug 1835559 - Ensure that text content survives translation r=application-update-reviewers,flod,fluent-reviewers,nalexander,settings-reviewers,Gijs
When an element is re-translated, the textContent is currently dropped.
To avoid that, make it an explicit part of the message.

This requires changing the l10n message ID.
Ideally, the message ID wouldn't change, but that is not possible until
the content can be preserved as a feature, i.e.
https://github.com/projectfluent/fluent.js/issues/169

Differential Revision: https://phabricator.services.mozilla.com/D179323
2023-05-31 15:43:24 +00:00
Natalia Csoregi
448ccac0b9 Backed out changeset af645c9220f1 (bug 1835805) for causing bustage on DNSPacket.cpp. CLOSED TREE 2023-05-31 18:52:13 +03:00
Valentin Gosu
7ba32109b0 Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-05-31 15:05:06 +00:00
Tooru Fujisawa
2fa61e06de Bug 1834673 - Part 2: Replace incompatible characters in LCOV error reporting. r=ahochheiden,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179052
2023-05-30 23:49:28 +00:00
Tooru Fujisawa
cb7c44703f Bug 1834673 - Part 1: Use UTF-8 in LCOV rewriter. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D179051
2023-05-30 23:49:28 +00:00
Mike Hommey
fd126d15a5 Bug 1834955 - Upgrade minimum supported Clang-cl version to 9. r=firefox-build-system-reviewers,sergesanspaille
We have less constraints on the minimum supported clang-cl version, and
it would unlock C++17 inline variables (which had a bug on Windows
targets in clang up-to 8.x).

Differential Revision: https://phabricator.services.mozilla.com/D179037
2023-05-29 20:31:08 +00:00
Mike Hommey
5e446e5a60 Bug 1835198 - Remove mozbuild.util.write_indented_repr. r=firefox-build-system-reviewers,nalexander
Its implementation in python3 is just wrapping pprint.pprint, and
there's only one use.

The python2 implementation is obviously dead code.

Differential Revision: https://phabricator.services.mozilla.com/D179179
2023-05-29 20:28:56 +00:00
Eemeli Aro
0997552230 Bug 1831872 - Migrate client.name2 string from sync.properties to Fluent. r=markh,fluent-reviewers,geckoview-reviewers,sync-reviewers,flod,m_kato
As this is the only string in `services/`, let's simplify by moving it under `toolkit/` and removing `services/sync/locales/` as empty.

On advice from markh, the ON_NEW_DEVICE_ID notification is delayed during device registration & updates until the update has been written to storage.

Differential Revision: https://phabricator.services.mozilla.com/D178805
2023-05-29 15:24:38 +00:00
Gabriele Svelto
64a8ebc1bf Bug 1834958 - Bump the minimum version of Rust to 1.66.0 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D179070
2023-05-26 12:56:07 +00:00
Mike Hommey
463113cd50 Bug 1796380 - Remove -Qunused-arguments flag. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178734
2023-05-26 08:53:41 +00:00
Mark Banner
2f338da056 Bug 1834967 - Add HTML to the list of items to automatically format with Prettier in VS Code. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D179042
2023-05-25 16:34:51 +00:00
Mike Hommey
04d95a11e2 Bug 1833998 - Switch Firefox builds to macOS 13.3 SDK. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178500
2023-05-25 09:48:54 +00:00
ahochheiden
483267f020 Bug 1833448 - Mention that the configure mercurial step also updates version-control-tools r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D178830
2023-05-24 01:44:50 +00:00
Heitor Neiva
de10bf9824 Bug 1774273 - Transition mac notarization to signingscript r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D176162
2023-05-23 17:31:37 +00:00
Eemeli Aro
4470f15b3c Bug 1793557 - Convert ExtensionsUI.jsm strings to Fluent. r=extension-reviewers,fluent-reviewers,flod,robwu
Differential Revision: https://phabricator.services.mozilla.com/D178236
2023-05-23 12:00:02 +00:00
Eemeli Aro
9b69167750 Bug 1793557 - Migrate add-on notification strings to Fluent. r=extension-reviewers,flod,robwu
The l10n migration shows a diff for `addon-downloading-and-verifying`,
`addon-confirm-install-message`, and `addon-confirm-install-unsigned-message`
due to the en-US source having `1` rather than `one` variants.
For `addon-confirm-install-some-unsigned-message`,
the en-US source has a single-variant plural selector for localization to new languages.

In addition to moving strings from `browser.properties` to the new `addonNotifications.ftl`,
there's some shuffling of strings to & from `browser.ftl` as well.
The intent is to collect the more rarely used strings out of files loaded during startup,
especially as many of the notification strings need to be formatted in a sync context.

For the most part, string keys are left roughly the same as they were in .properties.
With some guidance, some rationalisation might make sense as a part of this for the
rather wide selection of prefixes in this set:
- `addon-`
- `site-permission-install-`
- `webext-`
- `xpinstall-`

The `addon-install-started` and `addon-install-failed` notifications appear to need sync l10n formatting,
as using async format calls before their `PopupNotifications.show()` leads to test failures in
`toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js`.

Differential Revision: https://phabricator.services.mozilla.com/D178235
2023-05-23 12:00:01 +00:00
Eemeli Aro
411a529019 Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish
This changes the arguments of `ExtensionData.formatPermissionStrings()`.
The second `bundle` arg is dropped, and a `localization` option is added.
Call sites in m-c are updated, but this will also need a matching update for Thunderbird.
A few Thunderbird test cases will also need to be updated,
as they currently point to a non-existing localization file paths
"messenger/addons.ftl" and "messenger/addonPermissions.ftl".

As discussed at the addon workweek,
the Fluent l10n keys for extension permissions match the pattern:

    webext-perms-description-{name}

where `{name}` is the permission's sanitized name.
A fluent-lint exception is added for the capitalization of these generated names.
To allow for message updates and subsequent l10n identifier updates,
a `PERMISSION_L10N_ID_OVERRIDES` map is provided.

Because Fluent localization keys are not enumerable
and attempting to format a missing key is an error,
the `PERMISSIONS_WITH_MESSAGE` set must be kept in sync with message updates.

Differential Revision: https://phabricator.services.mozilla.com/D158663
2023-05-23 12:00:01 +00:00
Eemeli Aro
2ae8dc3662 Bug 1812539 - Drop vendored pytoml as unused. r=glandium
As far as I've understood, compare-locales was the last user of this.

Depends on D178299

Differential Revision: https://phabricator.services.mozilla.com/D178300
2023-05-23 10:58:34 +00:00
Eemeli Aro
85f64eeb4a Bug 1812539 - Update to compare-locales 9.0.1, fluent.migrate 0.12.0, and fluent.syntax 0.19.0. r=flod,glandium
Differential Revision: https://phabricator.services.mozilla.com/D178299
2023-05-23 10:58:33 +00:00
Mike Hommey
c95c96ee73 Bug 1833958 - Upgrade minimum supported Clang version to 7. r=firefox-build-system-reviewers,sergesanspaille
Per
https://glandium.github.io/firefox-linux-compat-matrix/#scope=build&version=115&show_eol=false
this leaves out Ubuntu 16.04, which hasn't built a newer version of
Firefox since version 88.0, and SUSE SLE-12-SP4, which goes EOL next
month, so before 115 is released.

Differential Revision: https://phabricator.services.mozilla.com/D178485
2023-05-22 23:07:29 +00:00
James Teh
c5ad4ea790 Bug 1821963 part 1: Remove NSIS and MSIX pieces supporting the old accessibility architecture based on content process COM proxies. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D177961
2023-05-22 20:19:44 +00:00
Narcis Beleuzu
ed1139f199 Backed out 6 changesets (bug 1821963) for build bustages. CLOSED TREE
Backed out changeset a92c62e304f0 (bug 1821963)
Backed out changeset da6cba0b0dd4 (bug 1821963)
Backed out changeset 4ed7ca0eb04a (bug 1821963)
Backed out changeset f2fba0ef15d9 (bug 1821963)
Backed out changeset 706e46fc2688 (bug 1821963)
Backed out changeset 6de2b9548dc6 (bug 1821963)
2023-05-22 14:05:20 +03:00
James Teh
fb07ae800d Bug 1821963 part 1: Remove NSIS and MSIX pieces supporting the old accessibility architecture based on content process COM proxies. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D177961
2023-05-22 10:00:20 +00:00
Narcis Beleuzu
7e5789cdf8 Backed out 2 changesets (bug 1834172, bug 1827747) for breaking local artifacts . a=backout
Backed out changeset 0ceb457743b4 (bug 1834172)
Backed out changeset 7ad6a3ad9db7 (bug 1827747)
2023-05-22 12:42:00 +03:00
Haik Aftandilian
a34208222c Bug 1827747 - Use a new executable for the macOS GMP process r=nika,glandium
Use a new executable for the GMP process named "<App Name> Media Plugin Helper" so that the content processes (using the plugin-container executable) and the GMP process can be signed with different entitlements allowing for the use of more secure entitlements.

To get the benefits of using a new executable for GMP, additional changes are needed in the codesigning infrastructure repo to enable signing plugin-container and the new executable with a reduced set of entitlements.

The executable is built as media-plugin-helper and then renamed to "<App Name> Media Plugin Helper" so it appears with a user friendly name in Activity Monitor. For example, "Firefox Media Plugin Helper". (The GMP process runs with limited privileges preventing it from setting its own "nice" process name.)

Limit the change to Nightly at this time to allow validation of using a new executable and then enabling the strong entitlements.

Differential Revision: https://phabricator.services.mozilla.com/D175796
2023-05-19 16:47:28 +00:00
Kelly Cochrane
7e0b29e0b9 Bug 1833228 - Update naming for new TabList reusable component files to be domain-specific r=mstriemer,fluent-reviewers,fxview-reviewers,flod,sclements
Differential Revision: https://phabricator.services.mozilla.com/D178191
2023-05-17 14:35:53 +00:00
Mike Hommey
8fe167ce01 Bug 1833391 - Convert data from bytes to string before using toml.loads. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D178238
2023-05-16 22:34:47 +00:00
Gabriel Bustamante
5ae21f830f Bug 1824327 - Generate linux .desktop entry file for browser .deb packages r=bhearsum,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D176588
2023-05-16 21:50:36 +00:00
Mike Hommey
606c537229 Bug 1833254 - Undo toml->pytoml changes from bug 1790816. r=rkraesig
These changes were originally done in bug 1804178 but were accidentally
undone by bug 1790816.

Differential Revision: https://phabricator.services.mozilla.com/D178117
2023-05-15 22:10:07 +00:00
Mike Hommey
71bcf54e47 Bug 1832700 - Set MSVS_VERSION according to the MSVC version. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D177836
2023-05-15 21:56:37 +00:00
andrej
83b857cb58 Bug 1826162 - mach try perf gitcinnibar issues. r=perftest-reviewers,kshampur
Issue:
When using git cinnibar it does the appropriate pushes but gives a perf compare url of:
https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=None&newProject=try&newRevision=None

Resolution:
It turns out that when the data related to the try push is returned from try it returns and displays it using stderr not stdout, our logic of monitoring the stdout stream does not find the data and returns None as a result for the revision.
Modifying the output stream of stderr to go to stdout resolved the issue

Differential Revision: https://phabricator.services.mozilla.com/D177816
2023-05-15 16:43:18 +00:00
Eemeli Aro
feea556fc5 Bug 1832186 - Migrate popup warning strings to Fluent. r=mconley,fluent-reviewers,flod
The Fluent migration will show a diff for two en-US messages:

- `popup-warning-message` singular variant does not include `{ $popupCount }`, so is more appropriately using `1` rather than `one` as its key.
- `popup-warning-exceeded-message` has only one variant in English, but using the plural selector forces its use for new locales.

Differential Revision: https://phabricator.services.mozilla.com/D177666
2023-05-15 10:52:25 +00:00
Jan-Erik Rediger
9db3021bfb Bug 1828066 - Update to Glean v52.7.0 r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D177617
2023-05-11 11:25:33 +00:00
serge-sans-paille
694be1a2bf Bug 1730960 - Detect ambiguous preprocessor.py commands r=glandium
Because the preprocessor handles both comments in the form of

  # some comment

And commands in the form of

  #some command

And due to C preprocessor heritage, people tend to write

  # some command

which is considered a comment and not a command. Detect this situation
and generate an hard error when meeting such ambiguous commands.

Differential Revision: https://phabricator.services.mozilla.com/D176912
2023-05-11 07:37:15 +00:00
Eemeli Aro
f68d8caa90 Bug 1832141 - Migrate strings to recentlyClosed.ftl. r=Gijs,flod
The five strings used by the component are collected into one new file.
The dropped `menuUndoCloseWindowSingleTabLabel` is the same in all locales,
so it was easier to recreate its contents in the custom Fluent migration transform.

Differential Revision: https://phabricator.services.mozilla.com/D177614
2023-05-11 07:29:34 +00:00
Eemeli Aro
9384b63fa5 Bug 1831851 - Migrate accounts.properties strings used by preferences/sync.js to Fluent. r=sync-reviewers,fluent-reviewers,settings-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D177603
2023-05-11 06:27:42 +00:00
Eemeli Aro
f602e87933 Bug 1831851 - Migrate accounts.properties strings used by BrowserGlue.jsm to Fluent. r=sync-reviewers,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D177602
2023-05-11 06:27:41 +00:00
Eemeli Aro
4014fa31de Bug 1831851 - Migrate accounts.properties strings used by browser-sync.js to Fluent. r=sync-reviewers,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D177601
2023-05-11 06:27:41 +00:00
Eemeli Aro
6eb17d551a Bug 1832179 - Convert sendTabsToDevice.label string to Fluent. r=sync-reviewers,fluent-reviewers,flod,markh
The l10n migration shows a diff, as the singular form of the en-US source string is more appropriately categorized as `1` rather than `one` due to its lack of a `{ $tabCount }` reference.

Differential Revision: https://phabricator.services.mozilla.com/D177612
2023-05-10 18:35:53 +00:00
Eemeli Aro
412cb17e99 Bug 1832138 - Migrate the ctrlTab.listAllTabs.label string to Fluent. r=dao,fluent-reviewers,flod
The Fluent migration script for this will show a diff,
as the en-US source includes a plural selector with only one variant.
This is intentional, as it'll make new localizations use a plural editor.

Differential Revision: https://phabricator.services.mozilla.com/D177605
2023-05-10 18:24:49 +00:00
Sandor Molnar
110cdae0fd Backed out changeset 9ee47853c14c (bug 1730960) for causing build bustages in causing build bustages in modules/libpref/init/StaticPrefList.yaml CLOSED TREE 2023-05-10 18:16:18 +03:00
serge-sans-paille
da6d02d102 Bug 1730960 - Detect ambiguous preprocessor.py commands r=glandium
Because the preprocessor handles both comments in the form of

  # some comment

And commands in the form of

  #some command

And due to C preprocessor heritage, people tend to write

  # some command

which is considered a comment and not a command. Detect this situation
and generate an hard error when meeting such ambiguous commands.

Differential Revision: https://phabricator.services.mozilla.com/D176912
2023-05-10 14:58:13 +00:00
Sandor Molnar
217f14d806 Backed out changeset 51302571bf80 (bug 1730960) for causing build bustage in modules/libpref/init/StaticPrefList.yaml CLOSED TREE 2023-05-10 11:20:47 +03:00