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

212 Коммитов

Автор SHA1 Сообщение Дата
Martin Giger 3e51356e3e Bug 1814664 - Add calendar and task unified toolbar buttons. r=aleca,rjl
Some actions are duplicated between the mail space. However, the two implementations can't currently use the same code paths.

Differential Revision: https://phabricator.services.mozilla.com/D168691

--HG--
extra : amend_source : d069561bbf11a258f7db251bfcdd2ae362b234bc
2023-02-03 18:36:33 +11:00
Rob Lemley 39cd2be227 No bug - Run fluent migrations. rs=me DONTBUDILD
--HG--
rename : python/l10n/tb_fluent_migrations/bug_1703164_calendar_uri_redirect_dialog.py => python/l10n/tb_fluent_migrations/completed/bug_1703164_calendar_uri_redirect_dialog.py
rename : python/l10n/tb_fluent_migrations/bug_1814393_unified_toolbar_customization_tabs.py => python/l10n/tb_fluent_migrations/completed/bug_1814393_unified_toolbar_customization_tabs.py
2023-02-02 11:15:20 -05:00
Magnus Melin 77baebdb78 Bug 1703164 - followup - fix linting for 2bc6f7dff22b. rs=black-lint DONTBUILD 2023-02-02 22:09:12 +11:00
Magnus Melin 225ab2c1aa Bug 1703164 - convert calendar/base/content/dialogs/calendar-uri-redirect-dialog.xhtml to top level <html>. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D166751

--HG--
extra : rebase_source : 599f171bf2eb3af26858cf041ddd853f43b716e7
extra : amend_source : e146854f4c309cd0b8a31b77283b7169e45b4532
2023-02-02 21:45:46 +11:00
Martin Giger 382db2ed33 Bug 1814393 - Improve layout resizing in unified toolbar customization. r=rjl,aleca
Differential Revision: https://phabricator.services.mozilla.com/D168548

--HG--
extra : moz-landing-system : lando
2023-02-01 22:43:40 +00:00
Rob Lemley 1123ef87b9 No bug - Move fluent migration scripts to completed directory. rs=me
--HG--
rename : python/l10n/tb_fluent_migrations/bug_1703164_calendar_ics_file_dialog.py => python/l10n/tb_fluent_migrations/completed/bug_1703164_calendar_ics_file_dialog.py
rename : python/l10n/tb_fluent_migrations/bug_1798509_unified_toolbar_customization.py => python/l10n/tb_fluent_migrations/completed/bug_1798509_unified_toolbar_customization.py
rename : python/l10n/tb_fluent_migrations/bug_1803705_thread_pane.py => python/l10n/tb_fluent_migrations/completed/bug_1803705_thread_pane.py
rename : python/l10n/tb_fluent_migrations/bug_1805746_calendar_view.py => python/l10n/tb_fluent_migrations/completed/bug_1805746_calendar_view.py
rename : python/l10n/tb_fluent_migrations/bug_1805938_calendar_recurrence_ux.py => python/l10n/tb_fluent_migrations/completed/bug_1805938_calendar_recurrence_ux.py
rename : python/l10n/tb_fluent_migrations/bug_1806567_quick_filter_bar_migration.py => python/l10n/tb_fluent_migrations/completed/bug_1806567_quick_filter_bar_migration.py
rename : python/l10n/tb_fluent_migrations/bug_1809312_unified_toolbar_buttons.py => python/l10n/tb_fluent_migrations/completed/bug_1809312_unified_toolbar_buttons.py
rename : python/l10n/tb_fluent_migrations/bug_1811400_thread_pane_column_picker.py => python/l10n/tb_fluent_migrations/completed/bug_1811400_thread_pane_column_picker.py
2023-01-30 10:20:26 -05:00
Alessandro Castellani ba0b5fc4e1 Bug 1811400 - Reimplement restore and apply columns and current view in the message thread pane. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D167343

--HG--
extra : moz-landing-system : lando
2023-01-29 06:50:14 +00:00
Rob Lemley 10b21d5584 Bug 1805938 - Calendar recurrence string migration. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D167191

--HG--
extra : moz-landing-system : lando
2023-01-25 18:41:48 +00:00
Martin Giger 47391b6340 Bug 1798509 - Add fluent migration for unified toolbar customization. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D166952

Depends on D166951

--HG--
extra : rebase_source : 078443296f02eafa1f7558ad1f5b89e6035be227
extra : absorb_source : e1b5f1dd8db8937ec61cf0ae0c97305038a1dbd1
2023-01-17 18:59:40 +00:00
Martin Giger a69ee81a65 Bug 1809312 - Add fluent migration for unifiedToolbarItems.ftl. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D166951

--HG--
extra : rebase_source : 0c188a3bfc905ddce538d6e7b17bd93c59859519
extra : absorb_source : cbe5a4ce6de209734266c6ebb2a990a484858946
2023-01-17 18:59:36 +00:00
Geoff Lankow 6eb7ae86a4 Bug 1806567 - Migrate Quick Filter Bar strings to Fluent. r=aleca,rjl
Differential Revision: https://phabricator.services.mozilla.com/D166641

--HG--
extra : histedit_source : e7b4a99745cf2d3d0897be6a2d420dfb4739f9e1
extra : rebase_source : dcb7e0610167329d9028118a0c1338ba0ad78188
extra : source : cae0e7cd5315ce0fa603e020c45cec935b8ac3ed
extra : amend_source : f0f0f8b3f142fac8ca7d22f421abb9390161020c
extra : intermediate-source : 6fbb2f651bd9cac032a3a79be3c5446f00e75575
2023-01-12 21:42:16 +13:00
Alessandro Castellani 73c539aa50 Bug 1803705 - Migrate thread tree strings to fluent. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D167175
2023-01-18 18:00:09 +00:00
solange valverde d1aaa777bd Bug 1805746 - Update Calendar View selection from tabs to toggle. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164763

--HG--
extra : moz-landing-system : lando
2023-01-18 10:03:33 +00:00
Ping Chen 5c7d0f4eee Bug 1766080 - Follow-up: Pass str to file_copier, fix destination path for local l10n builds. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D166413

--HG--
extra : moz-landing-system : lando
2023-01-11 11:56:51 +00:00
Rob Lemley e95024cbb1 Bug 1809169 - Add mach tb-fluent-migration-test command. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D166454

--HG--
extra : moz-landing-system : lando
2023-01-10 22:34:23 +00:00
Rob Lemley 113c6094fe Bug 1703164 - Fluent2Fluent migration for calendar-ics-file-window-title. r=mkmelin
Goes with D165114 that already landed to avoid re-translation.

Differential Revision: https://phabricator.services.mozilla.com/D165925

--HG--
extra : moz-landing-system : lando
2023-01-04 18:38:06 +00:00
Rob Lemley 46be3f7b69 Bug 1807089 - Remove Fluent migrations that have run. r=aleca
They are archived in https://github.com/jfx2006/tb-migration-scripts - they are
probably useful as examples.
The copies in that repo are what actually ran, not what's in the tree since the
in-tree copies have been auto-formatted and such since.

Differential Revision: https://phabricator.services.mozilla.com/D165412

--HG--
extra : amend_source : 7e6008e7991db2ccb085fa4988a8d4a9134cb032
2022-12-29 20:48:10 +11:00
Rob Lemley 0a3539e523 Bug 1803829 - Reformat Python files to standard line length of 99 via black. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164734

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:10 +00:00
Rob Lemley 3105a1a7dc Bug 1799140 - Fix isort lint warnings. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164906

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:08 +00:00
Rob Lemley f630ae1787 Bug 1801226 - Follow-up: Remove extraneous slash in quarantine URL. r=thunderbird-reviewers,Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D164574

--HG--
extra : moz-landing-system : lando
2022-12-14 21:40:59 +00:00
Rob Lemley 1e2185744a Bug 1802387 - Port bug 1802128: Migrate defines.inc to Fluent. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D163732

--HG--
extra : moz-landing-system : lando
2022-12-05 22:56:01 +00:00
Daniel Darnell b20aed3483 Bug 1803012 - Port bug 1801738: Use --enable-project instead of --enable-application in mozconfig. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D163452

--HG--
extra : histedit_source : dc8f1b5ff011a51ca13ac2e730ae58d94854887a
2022-12-02 22:27:49 +00:00
Alessandro Castellani baa39b2e16 Backed out changeset 54467c2affde (Bug 1803012) for causing build bustage 2022-12-02 14:55:49 -08:00
Daniel Darnell 5cb63f3296 Bug 1803012 - Port bug 1801738: Use --enable-project instead of --enable-application in mozconfig. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D163452

--HG--
extra : moz-landing-system : lando
2022-12-02 22:27:49 +00:00
Rob Lemley fcc92f7c9a Bug 1801226 - Follow-up: Fix the link to the pushed changes. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D163483
2022-11-30 16:02:50 +00:00
Rob Lemley a46de8d3c9 Bug 1766080 - Support l10n-comm split for developers building localized builds. r=dandarnell
Developers that want to produce localized builds and/or langpacks can do so
with mach build installers-$LANG. This is implemented in toolkit/locales/l10n.mk.
There's support for automatically cloning a l10n-central repository into
$HOME/.mozbuild. To avoid confusion, the installers-$LANG make target should
download what's needed from the l10n-central repository and comm-l10n and merge
them like CI language repacks will do.

L10N_CO is defined in l10n.mk as a single "hg clone" command. It's executed
when necessary for local developers. This patch overwrites L10N_CO with a
Python script that clones the two repositories and copies them to the expected
location.

Unfortunately, this breaks updating the translations via hg pull since what ends
up in ~/.mozbuild/l10n-central/{lang} is no longer a repository clone that
the developer can run "hg pull" in to get the latest changes. To update,
remove the directory and a fresh copy will get built. This should get fixed
in a follow-up bug.

Differential Revision: https://phabricator.services.mozilla.com/D144502
2022-11-16 22:50:51 +00:00
Rob Lemley 65592ebd9a Bug 1801226 - Send email notification when tb-x-channel pushes string updates. r=dandarnell
If a diff file is found after running the cross-channel script, get the head
revision and send an email with a link to it for easy review.

Differential Revision: https://phabricator.services.mozilla.com/D162418

Depends on D162417
2022-11-18 16:31:53 +00:00
Rob Lemley 7328667ae8 Bug 1801226 - rocbuild.notify utility package. r=dandarnell
Just a wrapper for Taskcluster email notifications.

Differential Revision: https://phabricator.services.mozilla.com/D162417
2022-11-18 16:31:49 +00:00
Rob Lemley 5ee242bc28 Bug 1765629 - Create shippable-l10n-pre job to create strings archive. r=dandarnell
shippable-l10n-pre combines l10n-central/{locales} with a l10n-comm monorepo
that contains all Thunderbird locales. It packages them into a taskcluster
artifact that will be used by shippable-l10n, which will no longer need to
run the "clone-locales" action.

Mercurial revisions for l10n-central repositories are taken from
browser/locales/l10n-changesets.json, while the actual locales are taken from
comm/mail/locales/{all-locales,shipped-locales} as appropriate.

This initial version does not have any support for l10n-comm being pinned
to a revision as would be needed for release builds.

Differential Revision: https://phabricator.services.mozilla.com/D144219

--HG--
extra : moz-landing-system : lando
2022-11-16 17:52:33 +00:00
Rob Lemley 66a89e3156 Bug 1790890 - Fix flake8-isort error messages. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D161280

--HG--
extra : amend_source : bfe6ab4f6c0a6f149afd13b40a44c21f9e8f7598
2022-11-05 20:33:41 +11:00
Rob Lemley f179dbc00f Bug 1794145 - Update tb-x-channel config and create automation job. r=dandarnell
Final configuration for the Thunderbird cross-channel quarantine automation
job.
This will also create the job, will add to .cron.yml later.

Differential Revision: https://phabricator.services.mozilla.com/D159894

--HG--
extra : moz-landing-system : lando
2022-10-26 17:44:53 +00:00
Rob Lemley 58c2ab35a3 Backed out changeset fbace99c4a1f (bug 1794145) for Decision task bustage. r=backout a=rjl 2022-10-26 08:43:29 -04:00
Rob Lemley 33f015c667 Bug 1794145 - Update tb-x-channel config and create automation job. r=dandarnell
Final configuration for the Thunderbird cross-channel quarantine automation
job.
This will also create the job, will add to .cron.yml later.

Differential Revision: https://phabricator.services.mozilla.com/D159894

--HG--
extra : amend_source : fbb24c071a152ba6944e6a87f9cd203602c9db64
2022-10-26 21:49:15 +11:00
Rob Lemley 5160d515ee Bug 1793625 - Misc mozlint related fixes: codespell and flake8. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D158728

--HG--
extra : amend_source : 59abe8bc90a1e7f9d1882faa154f05df3ef61935
extra : absorb_source : 644ca1288fc1e698752a4074dc71c4284e03d10d
2022-10-12 21:39:08 +11:00
Rob Lemley 304fb533f5 Bug 1793860 - Include upstream changes in Thunderbird build bootstrapping script. r=dandarnell
Most interesting change is automatically disabling MS Defender AV for the
source and .mozbuild directories as this makes a huge difference in compile
times.

Differential Revision: https://phabricator.services.mozilla.com/D158727

--HG--
extra : moz-landing-system : lando
2022-10-07 23:56:22 +00:00
Rob Lemley 9cf338bcac Bug 1790116 - mozbuild changes for RNP v0.16.2. r=kaie
hash_sha1cd.cpp moved up to its parent directory.

ENABLE_IDEA needs to be set to keep support enabled.
17972d0238

Update rnp_symbols.py to not include deprecated functions.
Added new symbols to rnp.symbols for export.

Differential Revision: https://phabricator.services.mozilla.com/D157012

--HG--
extra : rebase_source : 82fa2fd982dd7999a773ee67a75ddea90d0e6156
extra : source : 445e72242c320fa52aa89976e2f22378fa559e9b
extra : histedit_source : cd763976ac2d065d890570fff7f59674ad16281b
2022-09-22 13:09:17 -04:00
Rob Lemley d87891f46e Bug 1790446 - Add build script to preprocess CMake config.h templates. r=dandarnell
Right now config.h.in is rewritten when the RNP source is updated.
This has caused problems when new lines are added to it.

Depends on D157151

Differential Revision: https://phabricator.services.mozilla.com/D157152

--HG--
extra : rebase_source : d7a684d7086dd3054fc0e0056f1ae5804eee256f
extra : histedit_source : 3ed504cc8654589fda22146e4a08554d1fe43d62
2022-09-12 15:28:49 +00:00
Rob Lemley f2e7148ccd Bug 1790446 - Stop rewriting RNP config.h.in when updating the source from upstream. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D157151

--HG--
extra : rebase_source : 51e8a817c4ea1bb49f379785ee4d058b955643df
extra : histedit_source : 980ff3699015e8f6bf1eb0f51673af32b12a35e8
2022-09-12 15:22:10 +00:00
Rob Lemley a3950be105 Bug 1779330 - Add missing ftl files during l10n packaging. r=dandarnell
Add a new mach command to add missing Fluent files in a localized build and
hook it in as part of "mach build installers-$AB_CD". This is to prevent Fluent
from falling back to en-US strings due to a missing localized strings file, and
will remove a manual process in the localization chain.

See bug 1586984.

The output logs when files are added.

Differential Revision: https://phabricator.services.mozilla.com/D151675
2022-07-19 15:54:54 +00:00
Daniel 61b38d782a Bug 1753683 - Replace distutils (deprecated) with packaging. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D152123

--HG--
extra : moz-landing-system : lando
2022-07-18 22:49:42 +00:00
Rob Lemley ee6ab5b920 Bug 1742711 - Follow-up: Fix black linter failure. rs=lintina DONTBUILD
--HG--
extra : amend_source : 2f8cafc0567e11d7fec769e81a961b02a2678667
2022-04-22 20:03:05 -04:00
Rob Lemley 5965e2ce51 Bug 1742711 - tb-l10n-x-channel mach command for comm-strings-quarantine. r=aleca
Thunderbird variant of "mach l10n-cross-channel". tb-l10n-x-channel generates
a single "comm-strings" repository containing all strings from the currently
active code repositories (comm-central, comm-beta, etc).
This mach command is mostly meant to run as a Taskcluster "cron" job and
will push changes to a "quarantine" repository for further review.
The URL for the quarantine repository is not final.

Differential Revision: https://phabricator.services.mozilla.com/D131977

--HG--
extra : moz-landing-system : lando
2022-04-22 23:20:34 +00:00
Richard Marti 222918c812 Bug 1733210 - Port bug 1729738: Migrate usages of extension.(.*)@mozilla.org.* from properties to Fluent. r=mkmelin 2021-10-02 13:40:35 +03:00
Lasana Murray 1ef8189963 Bug 1728893 - Update fluent names of strings that were changed. Follow up to bug 1692289. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D125207

--HG--
extra : amend_source : 4456c91d30034ed24f9be7c31efa1b6717ffd264
extra : histedit_source : eeeca869d1da44c889af37b41dc49775bca7b682
2021-09-16 12:54:46 +03:00
Magnus Melin 1d8dc9f1a6 Bug 1719780 - followup to fix linting. rs=black-lint
./mach lint -l black --fix comm/python/rocboot/bin/bootstrap.py
2021-07-11 13:35:10 +03:00
Rob Lemley ade24718df Bug 1719780 - Thunderbird local development environment bootstrap script. r=justdave
This is a fork of Firefox's bootstrap.py script that handles the two-repo
situation and sets up a simple mozconfig that builds Thunderbird instead of
Firefox.

I opted to change the application argument to an artifact mode argument since
there's only one application to build.

Only tested on my machine (Arch) so far. Mercurial and Git work.

Differential Revision: https://phabricator.services.mozilla.com/D119481

--HG--
extra : histedit_source : 7333fef69ce578c9ab7d801c5b7dd2d3153759e1
2021-07-09 04:37:51 +00:00
Rob Lemley dc88fb6d82 Bug 1676896 - Remove pycparser dependencies from rnp_symbols.py to make it more accessible. r=kaie
The recently added RNP_API macro makes it much easier to find the necessary functions to export
with a simple regex.

Differential Revision: https://phabricator.services.mozilla.com/D96839

--HG--
extra : moz-landing-system : lando
2020-12-09 03:46:42 +00:00
Rob Lemley 74c6535302 Bug 1672798 - Run black formatting on mozbuild and mozconfigure files. r=mkmelin
Bringing some sanity to our Python scripts.

Differential Revision: https://phabricator.services.mozilla.com/D95402

--HG--
extra : rebase_source : 7eed46d79663fa1f261bd64d9bc1c83c4867bfc4
extra : histedit_source : b8b700c76ab2fee92eb426b5a5b69dc86376e60f
2020-10-30 14:28:33 -04:00
Rob Lemley 94b17a5d1c Bug 1672798 - Run black formatting on all python files. r=mkmelin
Bringing some sanity to our Python scripts.

Differential Revision: https://phabricator.services.mozilla.com/D95400

--HG--
extra : rebase_source : 932e2174a7322a3e2dcde9bf002093e3f895a73f
extra : histedit_source : 6bb0f8818d40de39811c621d6bf12026af999bf6
2020-10-30 13:41:24 -04:00
Rob Lemley 49bf6cfa98 Bug 1675368 - Update rnp_symbols.py and generate new symbols file. r=kaie
When rnp_export.h was created in bug 1651031, the export symbols update script
stopped working as the C preprocessor could not find rnp_export.h in its include
path.
New symbols were also added.

Differential Revision: https://phabricator.services.mozilla.com/D95945

--HG--
extra : moz-landing-system : lando
2020-11-05 14:05:57 +00:00
Rob Lemley dc1ba36a4b Bug 1643164 - Fix rnp.py maintenance script for Python 3 compatibility. r=kaie
"mach python" is using Python 3 now. StringIO was not imported or used
correctly in rnp.py so it did not work.
This patch removes Python 2 compatibility.

Differential Revision: https://phabricator.services.mozilla.com/D79402
2020-06-12 01:45:27 +00:00
Magnus Melin 4dd79f2722 Bug 1615501 - fix fluent id duplications in mail/. r=me 2020-06-01 12:57:42 +03:00
Magnus Melin 618851e30d Bug 1615501 - fix fluent id duplications in calendar/. r=me 2020-06-01 12:57:52 +03:00
Magnus Melin 3b1543bb53 Bug 1640897 - Update UI for Data Collection and Use to match Firefox's. r=Paenglab 2020-06-01 12:51:51 +03:00
Alessandro Castellani 3f979a6122 Bug 1615501 - migrate preferences subdialog ll0n to Fluent. r=mkmelin 2020-05-31 23:06:44 +03:00
Alessandro Castellani 3bfa862299 Bug 1615501 - migrate calendar preferences l10n to Fluent. r=mkmelin 2020-05-31 22:28:54 +03:00
Alessandro Castellani b010a9b217 Bug 1615501 - Migrate Preferences Tab l10n to Fluent. r=mkmelin, ui-r=Paenglab
--HG--
rename : mail/components/preferences/aboutPreferences.xhtml => mail/components/preferences/preferences.xhtml
2020-05-31 21:45:40 +03:00
Khushil Mistry a868474e56 Bug 1567070 - Migrate about:rights to Fluent. r=mkmelin 2020-05-31 14:23:30 +03:00
Rob Lemley 1d68def8c0 Bug 1636240 - Add script to generate rnp.symbols file. r=kaie
rnp.symbols is the list of symbols that are exported from librnp.
When our copy of RNP gets updated, there may be new symbols that
need to be exported.
The script reads rnp/include/rnp/rnp.h pycparser, which needs to be
provided by the developer.

--HG--
extra : rebase_source : e509fed858f7dcc02ef76f3f7dd541ba9936555b
extra : histedit_source : 00b0e067c5ace310c931353288efba461d6ac31c
2020-05-06 19:21:45 -04:00
Rob Lemley ba96d00476 Bug 1621785 - Follow-up: Fix lint tests. rs=butsage-fix
The third-party code should not be checked, added fixes for remaining failures.
2020-04-15 14:10:17 -04:00
Rob Lemley 83cbd28a24 Bug 1621782 - Import RNP sources into comm-central. r=kaie
Modifications are documented in README.rnp and update-rnp.sh

Differential Revision: https://phabricator.services.mozilla.com/D70738

--HG--
rename : third_party/README.libotr => third_party/README.rnp
extra : moz-landing-system : lando
2020-04-14 22:28:53 +00:00
Rob Lemley 3a3fa438fc Bug 1622301 - Establish comm/python directory. r=mkmelin
--HG--
extra : amend_source : f0c509f60bcc8fa735bd59e2f2f38e2e12cafff8
2020-03-13 12:18:02 -04:00