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

41198 Коммитов

Автор SHA1 Сообщение Дата
John Bieling 7a9ebe66a5 Bug 1877390 - Move special custom column sort handling into DBViewWrapper.jsm and primarily use columnIds instead of sortTypes for sorting. r=aleca
This is the last patch for the stack of Bug 1877390. Everything outside
of DBViewWrapper now uses columnIds to for sorting. The special
handling for custom column sort has been moved entirely into the
DBViewWrapper.

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

--HG--
extra : rebase_source : 20120c5c4dd999e8de965e20b812f923d95e3b5a
2024-03-27 09:04:59 +02:00
John Bieling a373c96c7d Bug 1877390 - Simplify the DBViewWrapper.primarySortColumnId getter and remove redundancy. r=aleca
This continues the effort to remove redundant code. The relation
between sortType and columnId is defined in DEFAULT_COLUMNS and does not
need to be hard-coded in the DBViewWrapper.primarySortColumnId getter.

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

--HG--
extra : rebase_source : 58a956816dbc9d4c536712484273c39071a08ee3
2024-03-27 09:05:12 +02:00
John Bieling e11923411c Bug 1877390 - Generate the BUILTIN_SORT_COLUMNS Map and the BUILTIN_NOSORT_COLUMNS Set, and simplify HandleColumnClick() in threadPane.js. r=aleca
Both can be generated from DEFAULT_COLUMNS and do not need to be
maintained manually.

While modifying them, I learned that one of their use-cases in
HandleColumnClick() in threadPane.js can be simplified using the new
getter for primarySortColumnId.

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

--HG--
extra : rebase_source : 4bea1ba0fdf8b5a2c4b87328b4c569bb6a386742
2024-03-27 09:05:30 +02:00
John Bieling efd02ab3e8 Bug 1877390 - Reduce code duplication in about3pane.js and threadPane.js. r=aleca
In threadPane.js exists similar code as in about3pane.js, to convert the
sort type of the current sort column into a columnId.
This patch moves these functions as an additional getter into
DBViewWrapper.jsm.

To avoid circular dependencies, this patch moves OUTGOING_FOLDER_FLAGS
from DBViewWrapper.jsm to FolderUtils.jsm.

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

--HG--
extra : rebase_source : 1e47ef7b626915999d743915cd842d55fc3bb7d9
2024-03-27 09:05:51 +02:00
John Bieling ff677d05c9 Bug 1877390 - Rework sortController.convertSortTypeToColumnID() to sortControler.getCurrentSortColumnId(). r=freaktechnik
The function convertSortTypeToColumnID() uses dbView.curCustomColumn to
convert the "byCustom" sort type to a columnID. This however only works
for the current custom sort column, and not for any custom column. It is
also only used with the primarySortType (and not with any sort type) as
input.

To improve readability of this code, this patch reworks this function to
always return to columnID of the current sort column.

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

--HG--
extra : rebase_source : 219d43da8faa064fdd95bc14388c1bc185aceb23
2024-03-27 09:06:08 +02:00
solange valverde 0ee16d11de Bug 1849315 - Apply correct style on unread badge when a collapsed parent folder has unread messages and a subfolder with read messages. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D205625

--HG--
extra : rebase_source : 06c99d888fd9e53ce7c2ec6fbf48ee135f5ad584
2024-03-27 09:02:06 +02:00
Daniel Darnell 917770f399 Bug 1887772 - Port bug 1885956: Make it possible to use a different python version to run taskcluster task. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D205746

--HG--
extra : amend_source : fed31e169e5f564e3d7390afd5d5e6a7fa6c7abc
2024-03-26 18:32:47 +00:00
Geoff Lankow 532f34ab4e Bug 1888066 - Port bug 1839052: Remove NS_QuickSort from the tree. rs=bustage-fix 2024-03-27 20:10:46 +13:00
Rob Lemley 52ceb33bb0 Bug 1887951 - Add MOZ_THUNDERBIRD_RUST to DEFINEs to support existing code. r=leftmostcat
This will be set in mozilla-config.h which is force-included in all C++ code so it's
easy to use in #ifdef's or #if defined().

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

--HG--
extra : moz-landing-system : lando
2024-03-26 21:42:55 +00:00
Rob Lemley dadeeb054d Bug 1887743 - Fix typo in macOS entitlements browser.xml. rs=comment-only 2024-03-26 14:08:12 -04:00
Magnus Melin eb6f310e4b Bug 1887617 - follow-up, add missing colon. rs=bustage-fix DONTBUILD
--HG--
extra : amend_source : 2d2e3472673ace9e76ec34c15299f358358fd9f0
2024-03-26 14:06:49 +02:00
Richard Marti d826581795 Bug 1887617 - Port bug 1886960: Land the more native-looking macOS theme behind a pref. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D205550

--HG--
extra : amend_source : f363d2246fe329b08813acdeceeffadccd1e4e6a
2024-03-26 12:38:07 +02:00
Rob Lemley 735376a106 Bug 1887743 - [macOS] Allow loading 3rd party libraries for GPGME support. r=kaie
Firefox restored the ability to load 3rd party libraries without validation in
bug  to fix pkcs11 security modules. The same problem occurs with libgpgme
from Homebrew, needed for external GPG smartcard support.

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

--HG--
extra : amend_source : 0d5b9436012392b58d045f9fa8fb343503ce5a0e
2024-03-26 07:53:33 +02:00
Rob Lemley c63cfeca80 Bug 1887656 - Add macosx64-rust/opt to allowed mac-signing build platforms. r=rjl
The macOS Rust builds were falling back to the v1 macOS hardened signing configs (for
Firefox). Those were removed in bug 1886051 causing these signing jobs to fail.
Just needed to add the build platform to only-for-build-platforms so the transform picks
it up.

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

--HG--
extra : amend_source : 62fe74963cf78544e4f5c201967e235c946c954d
2024-03-26 07:52:26 +02:00
Daniel Darnell 10f4a548e5 Bug 1885164 - Drop support for .jsm files from JSDoc file include regex pattern. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D205476

--HG--
extra : amend_source : 101eba155db7679405cd804ff03bde64515d8bf3
2024-03-26 07:51:55 +02:00
Daniel Darnell 46de3fb729 Bug 1850043 - Move redundant files from tb-flatpak Docker image to recipes directory. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D203351

--HG--
extra : amend_source : 1a96725ccd4f95762fa6a320b74da9c2b287b0e4
2024-03-26 07:50:31 +02:00
Daniel Darnell 12b544cad7 Bug 1498413 - Move redundant files from tb-snap Docker image to recipes directory. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D203303

--HG--
rename : taskcluster/docker/tb-snap/build_desktop_file.py => taskcluster/docker/recipes/build_desktop_file.py
rename : taskcluster/docker/tb-snap/fluent_requirements.txt => taskcluster/docker/recipes/fluent_requirements.txt
rename : taskcluster/docker/tb-snap/org.mozilla.thunderbird.desktop.jinja2 => taskcluster/docker/recipes/org.mozilla.thunderbird.desktop.jinja2
extra : amend_source : f744c9806b998e0133debc189ce5d4438c3818df
2024-03-26 07:50:02 +02:00
Rob Lemley bd51efcdd9 Bug 1861703 - Follow-up: Fix incorrect reference to .jsm module file. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205583

--HG--
extra : moz-landing-system : lando
2024-03-25 21:53:17 +00:00
Magnus Melin 25469af4d7 Backed out changeset a5a9210fed2d (bug 1855643) for test failures DONTBUILD
Failing at least comm/mail/components/extensions/test/browser/browser_ext_messages_open_attachment.js

--HG--
extra : amend_source : cfb6455a4d8c64f36dddcd841e011a7b7dbe10f6
2024-03-25 15:27:11 +02:00
Magnus Melin 823c41b6c5 Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=me 2024-03-25 12:33:39 +02:00
Martin Giger 7a201d83c7 Bug 1887022 - Ignore files downloaded/generated for documentation build. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D205451

--HG--
extra : amend_source : e8731ca37fdb6841345ebc90128e033cf10d8978
2024-03-25 12:30:11 +02:00
Geoff Lankow 67e4a11ebe Bug 1886239 - Remove obsolete prompting code. r=leftmostcat
The pref removal is a port of bug 1705440. Everything else is dead code.

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

--HG--
extra : amend_source : 9cfb59c281c34a705231816429826dc48c1251e3
2024-03-25 12:29:40 +02:00
Magnus Melin 041dd7ff37 Bug 1824260 - Don't use mozmill in the name for the testing-common modules. r=darktrojan
Depends on D204769

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

--HG--
extra : rebase_source : 50e5dd28fd88e3f4dedea2377edfca4cea504ba8
extra : amend_source : 491028478c02b7e1140f5bf43559638b50c24fc9
2024-03-25 12:28:56 +02:00
Silvia Bonavista i Serrat 39bdfefcfe Bug 1855643 - Fix undo/redo menu activation for stand-alone window. r=mkmelin
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1855643-fix-undo-redo-stand-alone.patch

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

--HG--
extra : rebase_source : 2a2519811e06bd93429bc9fb2bbb9919fa731dd4
extra : amend_source : eea5d12feaac9bb2b94b3625df853c893b540922
2024-03-25 12:26:42 +02:00
Geoff Lankow 2d7276d75b No bug - Fix spelling of descendant in mailnews. rs=me 2024-03-25 13:56:22 +13:00
Magnus Melin 44b90f5a7e Bug 1886051 - Follow-up, remove Thunderbird v1 browser.xml files. rs=bustage-fix 2024-03-24 12:35:30 +02:00
Magnus Melin fb69c53dd8 Bug 1883846 - Rework/reinstate the GPGMELib debug output. r=kaie
Adding back debugging infor for GPGMELib.
This should not be using global console for debug info, if such info is warranted.
For error cases, we can log errors. To see debug only info, people should set `openpgp.loglevel` to `All`.

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

--HG--
extra : rebase_source : f5399a64a9b0bfc18a60e89f9e1faf51f9ea0410
extra : amend_source : f87ec4551da5615a96bce2a0b23548b4a15077fa
2024-03-23 14:46:04 +02:00
Magnus Melin b45d6d3277 Bug 1886051 - Port to Thunderbird - Cleanup old macOS signing config. rs=bustage-fix
--HG--
extra : amend_source : 7f4a616458b96415de80ae098f8d7900d8548e64
2024-03-23 13:37:16 +02:00
Kai Engert 01bdc364df Bug 1829881 - Disable support for permissive OpenPGP key import by default. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203130

--HG--
extra : amend_source : 66b51bb617ea2286e627e7986f3f7a82d44ad48b
extra : absorb_source : bd65510ee86a513f96c08dfc4446a86c341d3ec6
2024-03-23 11:20:07 +02:00
Kai Engert 637e1e4b11 Bug 1861703 - Support viewing nested signed messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D192087

--HG--
extra : amend_source : 0fa4be4ca9b5f660376cc8d7f2fe2357b8fe2157
extra : absorb_source : 8779f1581ae59869dcbdf5dae035fe07333567ca
2024-03-23 11:19:47 +02:00
Rob Lemley 243f114c92 Bug 1887051 - Add missing argument to tryLoadGPGME(). r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D205464

--HG--
extra : amend_source : ebd4b00c4de8c2d79721619fdc4964ad3a0b6b4f
2024-03-23 11:19:11 +02:00
John Bieling f8b28cc1de Bug 1886948 - Part 6: Fix remaining lint issues. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D205463

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:06 +00:00
John Bieling a9cc912f8e Bug 1886948 - Part 5: Remove unused context variables in WebExtension APIs. r=mkmelin
After recent linter changes, these are reported as

`'context' is assigned a value but never used. (no-unused-vars)`

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:05 +00:00
John Bieling 57edc3dbaf Bug 1886948 - Part 4: AutoFix for ./mail directory. r=mkmelin
Using D194522 for auto-fixing unused variables.

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:05 +00:00
John Bieling c6e7173d08 Bug 1886948 - Part 3: AutoFix for ./mailnews directory. r=mkmelin
Using D194522 for auto-fixing unused variables.

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
John Bieling c53b19fa17 Bug 1886948 - Part 2: AutoFix for ./chat directory. r=freaktechnik
Using D194522 for auto-fixing unused variables.

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
John Bieling 621fded4c5 Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik
Using D194522 for auto-fixing unused variables.

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
Magnus Melin 7dc5369bf3 Bug 1886417 - remove HashedArray. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D205206

--HG--
extra : rebase_source : f205ecf13436076a9c409ab1c87d26b38ef530ba
2024-03-22 09:50:18 +02:00
Magnus Melin 319ed56ad7 Bug 1870376 - follow-up, fix incorrect overflow css. r=freaktechnik
Noticed by comm/mail/test/static/browser_parsable_css.js

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

--HG--
extra : amend_source : 7ad02c2c5e0295f5a55e47c8a04aca591a9bac1b
2024-03-22 11:28:21 +02:00
Micah Ilbery 991f3c6f88 Bug 1870376 - [Cards View] Show new icon on replies button if there is a new message in the thread. r=leftmostcat,sol
Differential Revision: https://phabricator.services.mozilla.com/D205264

--HG--
extra : amend_source : 4a97bd9560aa3be7fa87a4cc85285c171198607b
2024-03-22 09:09:16 +02:00
Micah Ilbery a9bbf2cd67 Bug 1863403: follow up to fix browser_columns.js test not knowing about unreadCol. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D205408

--HG--
extra : amend_source : 87b263bc658b4985120e1fa3d491fd5010bb1065
2024-03-22 09:08:36 +02:00
Thunderbird Updatebot 957d25c4f4 Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=mkmelin
mozilla-central: a64d6cbeaa4f78ec1f700f6123469eb1b3a31608
comm-central: f985a698d4744d2e2c4895cf318b52ecd55680e4

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

--HG--
extra : amend_source : 790438c6d0d5f64abedcab9af1f7cba6a9617ca8
2024-03-22 09:06:59 +02:00
John Bieling d6d06fb4b2 Bug 1861816 - Attempt to fix intermittent caused by dynamic import of search-bar.mjs. r=vineet
It looks like the import statement is async. Mozilla-central uses a
catch(). Maybe that could improve the situation?

https://searchfox.org/mozilla-central/rev/f63ca2952da98e0817bdae0ddf1314281a497106/browser/base/content/browser.js#2355

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

--HG--
extra : amend_source : 3898ade9b5a6b020b69daf98fc129a49a1cae22f
2024-03-22 09:03:07 +02:00
Micah Ilbery b2535bf482 Bug 1863403: [Cards View] Style Group by Sort headers. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D205152

--HG--
extra : moz-landing-system : lando
2024-03-21 22:02:52 +00:00
Rob Lemley 51ba018f34 Bug 1885663 - Update vendored copy of fluent.migratetb to v0.13.0.1. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D204822

--HG--
extra : moz-landing-system : lando
2024-03-21 22:02:52 +00:00
Kai Engert c911998f43 Bug 1886396 - Minimize false positive reporting of partial OpenPGP message. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D205196

--HG--
extra : moz-landing-system : lando
2024-03-21 22:02:51 +00:00
Rob Lemley bec624ce10 Bug 1886448 - Port bug 1817296: get rid of duplication in update verify treeherder symbols. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D205220

--HG--
extra : moz-landing-system : lando
2024-03-21 22:02:51 +00:00
Thunderbird Updatebot 6ee339952f Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=babolivier
mozilla-central: d9466bebb4c96b99a227f35b5a7e86bd0c8f5bb5
comm-central: 1e64f166abe2eb6b4d04e2eec1c73e17f27684b8

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

--HG--
extra : amend_source : 37a6dadea80a1533847e6496d529d1e2afdae42c
2024-03-21 19:45:44 +02:00
Magnus Melin bf0cc3ae17 Bug 1824260 - Update outdated .jsm references. r=freaktechnik
Update outdated .jsm references in the tree.

Depends on D204766

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

--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin 2615cd2059 Bug 1824260 - remaining esmification of comm-central. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D204766

--HG--
extra : rebase_source : b4dd77adbe10cdafdcc28bbe14a499a1423ab48d
extra : amend_source : 522c351546a787d91f9a43cddb0e1eee114a4d0f
2024-03-21 19:44:13 +02:00