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

40270 Коммитов

Автор SHA1 Сообщение Дата
Ikey Doherty e906c84d0d Bug 1860654 - Support Rust for Thunderbird development. r=rjl
Adds a new `comm/rust` directory used to build the upstream `gkrust-shared`
library within the newly provided `gkrust` Rust library.

Expose a new dedicated workspace and vendoring system, allowing for
Thunderbird-only dependencies within the tree, and solve the issue of having
drift in Cargo.lock between Thunderbird and Firefox.

New mach commands for managing the workflow around Rust with Thunderbird:

    ./mach tb-rust sync
    ./mach tb-rust vendor

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

--HG--
extra : amend_source : ca6dc59ef386f4c62f53e79dac8cdb6caef8104e
2023-12-01 12:15:13 +00:00
Rob Lemley 2deb321659 Bug 1869405 - Ensure vendored Rust code and associated generated files are not linted. r=ikey
Differential Revision: https://phabricator.services.mozilla.com/D196102

--HG--
extra : rebase_source : 3cc65b7b7518afaeb2d5ae26ce0aaa1f9e618cb0
extra : histedit_source : 343877af30d665ea39291f17bba3920a93b44b52
2023-12-11 20:32:03 +00:00
Rob Lemley 9e2790ddf3 Bug 1869405 - mach commlint should not use unconfigured linters. r=dandarnell
This change will ensure that `mach commlint` only presents linters with config
files in /comm/tools/lint as valid. There is no fallback to using configs in
/tools/lint.

Originally mach commlint was set up to use linter config files from /tools/lint
(mozilla-central) as a fallback when a linter had no file in /comm/tools/lint.

Thunderbird's needs have evolved since, and using linter configs from gecko cause
more problems than useful feedback, mostly due to missing path excludes.

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

--HG--
extra : amend_source : 57490f4ed2869df09ee834586cde6d5a3aa7419d
extra : histedit_source : 5244b076909ee856b240a88fac334df6d2f5a7bd
2023-12-12 11:16:29 -05:00
Magnus Melin 14eec52348 Bug 1703164 - convert mail/extensions/openpgp/content/ui/enigmailKeyImportInfo.xhtml to top level <html>. r=freaktechnik
Import a public key. Once import is done a confirmation dialog is shown - this is that dialog.
It's completely terrible. But, fixing that is not in scope for this bug.

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

--HG--
extra : rebase_source : d7c3a32865b1472c93caf6e564832900ac4f1fdf
2023-12-08 10:20:54 +02:00
welpy-cw 888ba3e6b3 Bug 1868974 - Fix regression caused by bug 1864338. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D195863
2023-12-08 14:34:29 +00:00
Martin Giger 28bdb11caa Bug 1868799 - Fix dropmarker in account manager actions button. r=Paenglab,aleca
Differential Revision: https://phabricator.services.mozilla.com/D195787

--HG--
extra : amend_source : 6b368ee6ca4945853edb235f62ffc4224788a129
2023-12-07 22:16:59 +00:00
Yury Ivanovich 500d23daab Bug 1868631 - remove dysfunctional fallbacks to LoginManagerAuthPrompter. r=mkmelin
Services.ww.getNewAuthPrompter() returns LoginManagerAuthPrompter which implements nsIAuthPrompt
but since bug 1832490 no longer implements nsIAuthPrompt.promptPassword() and nsIAuthPrompt.promptUsernameAndPassword():
https://hg.mozilla.org/mozilla-central/rev/05a4a11191f0#l2.12
https://hg.mozilla.org/mozilla-central/rev/05a4a11191f0#l2.61

Also see note here:
https://hg.mozilla.org/mozilla-central/rev/d619ad58f951#l1.12

So remove any fallbacks from MsgAuthPrompt to those methods.

Differential Revision: https://phabricator.services.mozilla.com/D195693
2023-12-11 13:38:11 +00:00
Magnus Melin 14bb156e3c Bug 1867860 - Make starting with `--migration` open the import tab. r=aleca
Removes the old migrator that - when it worked - would open an import wizard (which hasn't worked since tb91, since it would need to include customElements.js directly and it doesn't).
Instead, if starting with --migration, show the import tab. --migration is listed for all toolkit, so might as well make it do something useful.
The migration is now instead handled where Thunderbird normally handles command line arguments.

Also convert MessengerContentHandler.jsm to MessengerContentHandler.sys.mjs.

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

--HG--
rename : mail/components/MessengerContentHandler.jsm => mail/components/MessengerContentHandler.sys.mjs
2023-12-11 20:19:49 +00:00
Kai Engert 11c1a3650b Bug 1867765 - Fix RnpPrivateKeyUnlockTracker.unprotect(). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195904

Depends on D195903
2023-12-11 20:54:33 +00:00
Kai Engert ce928487ea Bug 1867765 - Add a test for importing and exporting untweaked ECC keys. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195903
2023-12-11 20:54:28 +00:00
Geoff Lankow 582ab9e66c Bug 1854587 - Request longer timeout in browser_navigation.js. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195984

--HG--
extra : amend_source : b254276817c2dc01d8eb4e5bb4c57ada63eb7e5c
2023-12-10 22:21:19 +00:00
welpy-cw 979ce2a1e4 Bug 1842585 - Invalidate thread tree when live language switching. r=mkmelin
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1842585-fix-live-language-switch.patch

Differential Revision: https://phabricator.services.mozilla.com/D195962
2023-12-09 23:15:03 +00:00
John Bieling f557dca75d Bug 1868512 - Use a dedicated MessageId type to improve the documentation. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195621

--HG--
extra : moz-landing-system : lando
2023-12-11 10:06:04 +00:00
Magnus Melin 76be383081 Backed out changeset a1077a48dd8b (bug 1867860)
Test failues in comm/mail/test/browser/composition/browser_attachment.js

--HG--
rename : mail/components/MessengerContentHandler.sys.mjs => mail/components/MessengerContentHandler.jsm
extra : amend_source : bacf02fd31542b3e93931147abd80cc55fedd97b
2023-12-10 22:22:05 +02:00
Magnus Melin 52d1dd009e Bug 1703164 - convert mail/components/compose/content/dialogs/EdImageProps.xhtml to top level <html>. r=elizabeth
Compose | Insert | Image...

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

--HG--
extra : rebase_source : d2a269add1e59159ff93b82a6fa80298c54c4862
2023-12-10 12:58:02 +02:00
Magnus Melin 277b114ca2 Bug 1703164 - convert mail/components/compose/content/dialogs/EdLinkProps.xhtml to top level <html>. r=elizabeth
Compose | Insert | Link...

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

--HG--
extra : rebase_source : d23443daee6b0bf9c8042a05e960da5b64833a60
2023-12-10 12:57:32 +02:00
Magnus Melin 3b19f9bf59 Bug 1867860 - Make starting with `--migration` open the import tab. r=aleca
Removes the old migrator that - when it worked - would open an import wizard (which hasn't worked since tb91, since it would need to include customElements.js directly and it doesn't).
Instead, if starting with --migration, show the import tab. --migration is listed for all toolkit, so might as well make it do something useful.
The migration is now instead handled where Thunderbird normally handles command line arguments.

Also convert MessengerContentHandler.jsm to MessengerContentHandler.sys.mjs.

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

--HG--
rename : mail/components/MessengerContentHandler.jsm => mail/components/MessengerContentHandler.sys.mjs
extra : rebase_source : 7a157820a46880aa6c7358f40befd2160ed88e4b
2023-12-10 12:56:59 +02:00
Magnus Melin cf0fae3983 Bug 1868718 - follow-up, fix linting. rs=eslint DONTBUILD
Expected to return a value at the end of async function 'toImport'. (consistent-return)
2023-12-09 20:10:06 +02:00
Micah Ilbery e34ef36f26 Bug 1868865 - Extend browser_rightClickMiddleClickFolders test timeout. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195813

--HG--
extra : amend_source : 01e2d59d9067670227d0ce43167ea946882a3bf3
extra : absorb_source : a9e1e206574bc7309127277b17011178ecb1ba83
2023-12-09 11:50:46 +02:00
Alessandro Castellani f8837ad977 Bug 1868718 - [macOS] fix menu bar items not working when all windows are closed. r=micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D195747

--HG--
extra : amend_source : 2f6eacb11f729a986ee0934189ccc56b7b68f5c8
extra : absorb_source : 83fd66ed66e1edce8937abb68270325bb3c3409b
2023-12-09 11:50:09 +02:00
Yury Ivanovich a28b86ca2c Bug 1868607 - Fix logic error in searching one-part base64 messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195667

--HG--
extra : amend_source : 6d72b9bd58ba112ae60e4e904e35ece1837e6318
2023-12-09 11:49:44 +02:00
welpy-cw de2895199f Bug 1866951 - Fix sort order of threads in Grouped By views. r=mkmelin
When Grouped By Date, the selected sort order is already used for the messages in each of the
groups. This patch applies this behavior to Grouped By Received as well.

For all other sort types the `mailnews.default_sort_order` or `mailnews.default_news_sort_order`
preference is now used.

Also fixes a bug where messages without `Received:` information (e.g. newsgroup messages) were
always sorted into the "Older" group.

In addition, the sort order is determined only once for each group, not for each individual
message as before.

As another simple improvement, when Grouped By Subject, "Re: " is removed from the dummy rows.

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

--HG--
extra : amend_source : cacf5c5deb66bb8d80575969f3494053c93875c5
2023-12-09 11:49:10 +02:00
John Bieling e66a9e4ff4 Bug 1862387 - Add support for data: and blob: urls to be used as menu icons. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195639

--HG--
extra : amend_source : 6d0d625a34d7d1fe080f85f57b1c7ef1abfdf13e
2023-12-09 11:48:12 +02:00
Rob Lemley 621e9aa45f Bug 1869066 - Port bug 1867459: Replace CPU_ARCH with TARGET_CPU. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D195939

--HG--
extra : amend_source : 0d629e19df6f406882f9207a5a748a6d2914ff06
2023-12-09 11:47:32 +02:00
Rob Lemley a5186837df No bug - Archive completed Fluent migrations. rs=me DONTBUILD
--HG--
rename : python/l10n/tb_fluent_migrations/bug_1703164_compactFoldersDialog.py => python/l10n/tb_fluent_migrations/completed/bug_1703164_compactFoldersDialog.py
rename : python/l10n/tb_fluent_migrations/bug_1703164_enigmailKeyManager.py => python/l10n/tb_fluent_migrations/completed/bug_1703164_enigmailKeyManager.py
rename : python/l10n/tb_fluent_migrations/bug_1703164_systemIntegrationDialog.py => python/l10n/tb_fluent_migrations/completed/bug_1703164_systemIntegrationDialog.py
2023-12-08 10:28:47 -05:00
Ben Campbell 9a5c89275e Bug 1868705 - Fix nullptr dereference in StoreIndexer::OnStopRequest(). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195840

--HG--
extra : rebase_source : 35f3e558d23978640670dc4284e8a7d18ac38a80
2023-12-08 12:05:24 +02:00
Martin Giger 6d6455467a Bug 1868796 - Fix chat acount settings scrolling. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195786

--HG--
extra : rebase_source : eabec3506a771c592aac0d145cb458881c2c7849
2023-12-08 12:03:13 +02:00
Magnus Melin 6ce05ee48e Bug 1703164 - follow-up to 85350f460e08, untangle pointless dependency. rs=bustage-fix
--HG--
extra : amend_source : 9f122b72f5a4838987455da5f0ce85126b089f31
2023-12-08 12:06:26 +02:00
Magnus Melin a1589c9c10 Bug 1860239 - Try to fix intermittent comm/mail/test/browser/folder-display/browser_deletionWithMultipleDisplays.js. r=aleca
Lots of failures for debug. And looks like ccov also needs a little bit more.

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

--HG--
extra : rebase_source : d287e0b441327e8c94b8b1e283f784232fddf4eb
2023-12-08 09:39:24 +02:00
Magnus Melin 8aee2ba153 Bug 1703164 - convert mail/extensions/openpgp/content/ui/enigmailKeyManager.xhtml to top level <html>. r=freaktechnik
Tools | OpenPGP Key Manager

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

--HG--
extra : rebase_source : 5384884ee114aba7f8ad1ff74ebc178de57de5f3
2023-12-08 09:38:33 +02:00
Magnus Melin 152c73b467 Bug 1867521 - Clean up nsICMSMessage. r=kaie
Fixing the interfaces, with some minor adjustments needed in cpp.

Also fixing Coverity
CID 1558168:  Null pointer dereferences  (REVERSE_INULL)
Null-checking "o2" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

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

--HG--
extra : rebase_source : ee728e1a8a240a104ac3b308730501b943c28172
2023-12-08 09:37:45 +02:00
Magnus Melin 4f1f1146b9 Bug 1703164 - convert mail/base/content/hiddenWindowMac.xhtml to top level <html>. r=micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D195029

--HG--
extra : rebase_source : 4ff9dec0c6f029a2c8f12b7b466d345b5e439fc2
2023-12-08 09:36:47 +02:00
Magnus Melin c48a4b36e1 Bug 1703164 - convert mail/base/content/commonDialog.xhtml to top level <html>. r=aleca
Common dialogs, like alerts and prompts.

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

--HG--
extra : rebase_source : 9e7f50ac46e2af1d652d5a5018af189bac6673dc
2023-12-08 09:36:10 +02:00
Magnus Melin ae0f919ebe Bug 1703164 - convert mail/components/compose/content/dialogs/EdAdvancedEdit.xhtml to top level <html>. r=elizabeth
E.g. add a bullet list. Format | List Properties... | Advanced Edit...

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

--HG--
extra : rebase_source : a7f9393adca1e4e498552cc8953fee16969442ae
extra : amend_source : ec3f3be4addede292c721c5f6c188f238cea0d53
2023-12-08 09:34:45 +02:00
Magnus Melin 050f153b23 Bug 1703164 - convert mail/components/compose/content/dialogs/EdInsertTOC.xhtml to top level <html>. r=elizabeth
Differential Revision: https://phabricator.services.mozilla.com/D194562

--HG--
extra : rebase_source : a7389634ead87a45ddfd8474f3b4cfdd9bdfb986
extra : amend_source : 9b300f5d412ac09fc9932e47b81832aa0089024c
2023-12-08 09:34:06 +02:00
Alessandro Castellani 6cc041af2c Bug 1867878 - Convert UIDensity to es6 module. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D195320

--HG--
rename : mail/modules/UIDensity.jsm => mail/modules/UIDensity.sys.mjs
extra : moz-landing-system : lando
2023-12-07 17:36:43 +00:00
Rob Lemley 1cc192bce6 Bug 1867318 - Port bug 1867207: Remove Debian 11-based docker images. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D195002

--HG--
extra : moz-landing-system : lando
2023-12-07 11:21:00 +00:00
Ben Campbell 7f3486d1b9 Bug 1668926 - Explicitly clear members in StoreIndexer ctor. r=leftmostcat
Not strictly needed - fields are initialised when the index operation kicks off,
but static analysis doesn't know that.

CID 1558793 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)12. uninit_member: Non-static class member mIsStupidlyLongLine is not initialized in this constructor nor in any functions that it calls.

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

--HG--
extra : moz-landing-system : lando
2023-12-07 11:14:35 +00:00
Alessandro Castellani 7e3d374e07 Bug 1866725 - Convert remaining Actors to ES modules. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195322

Depends on D195615

--HG--
rename : mail/actors/LinkClickHandlerChild.jsm => mail/actors/LinkClickHandlerChild.sys.mjs
rename : mail/actors/LinkClickHandlerParent.jsm => mail/actors/LinkClickHandlerParent.sys.mjs
rename : mail/actors/MailLinkChild.jsm => mail/actors/MailLinkChild.sys.mjs
rename : mail/actors/MailLinkParent.jsm => mail/actors/MailLinkParent.sys.mjs
rename : mail/actors/PromptParent.jsm => mail/actors/PromptParent.sys.mjs
rename : mail/actors/VCardChild.jsm => mail/actors/VCardChild.sys.mjs
rename : mail/actors/VCardParent.jsm => mail/actors/VCardParent.sys.mjs
extra : rebase_source : 20ec6c453fb4207fe0ebf841a1eb1c60f0136cfb
2023-12-06 23:43:09 +00:00
Alessandro Castellani a2778199b0 Bug 1866725 - Move link helper methods to a system modules. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D195615

--HG--
extra : rebase_source : 72840d875913eac42dde0c35922eb36ad55dc5bf
2023-12-06 23:43:06 +00:00
John Bieling 31ee337444 Bug 1862978 - Add drag'n'drop capabilities to the add-on manager, if opened from a unified toolbar button. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195657

--HG--
extra : rebase_source : 4ca6ddcf2610611578beebb1d8fde458ab56d8c6
2023-12-06 16:00:07 +00:00
Richard Marti 2dc3bc2dda Bug 1867728 - Better approach to style the search bar focus for Windows. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195205

--HG--
extra : rebase_source : 6ab73ef3eec37a898046468845c836aa3789e582
2023-12-01 08:36:55 +00:00
Ben Campbell d4e7d3e3e7 Bug 1868504 - Fix crash bug in mbox parsing. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D195738

--HG--
extra : moz-landing-system : lando
2023-12-07 01:09:49 +00:00
Elizabeth Mitchell ebffe3ab67 Bug 1866054: Minor code cleanup of CSS and JS. r=aleca
- Code cleanup for card sizing in Cards View
- Fix CSS in inContentDialog.css

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

--HG--
extra : moz-landing-system : lando
2023-12-06 23:58:31 +00:00
Daniel Darnell 1dd4dd82cf Bug 1859112 - Port bug 1855878: Remove binutils dependencies from tasks. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D195580

--HG--
extra : rebase_source : b17a2e65383bcce5d6616946067310e9c9b9a47f
extra : histedit_source : 98990e83d619ebe46295145d58a36cfd136fccdc
2023-12-05 19:34:20 +00:00
solange valverde 72c878a521 Bug 1866061 - Message list: unread message should have its text to full white in dark mode. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195491

--HG--
extra : rebase_source : 3c70884b9eab65650d899722e9e72f7e37d3024b
extra : histedit_source : 73ade72dc011c3fdb7e3772b3e79efeef0fa227e
2023-12-04 22:52:04 +00:00
Richard Marti 40eed1f346 Bug 1868015 - Port bug 1867769 - Remove custom styling for radio/checkbox. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195401

--HG--
extra : rebase_source : a8fa5b36047b38ac2365974be17bd1f4e92c9246
extra : histedit_source : 3b174ca3cd95abee53a9eb6efe08c15a44ce85ad
2023-12-06 16:00:28 +00:00
Vineet Deo 01eedd611f Bug 1867473 - Update all references of non-existing STARTTLS to alwaysSTARTTLS in accountsetup.js. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D195530

--HG--
extra : rebase_source : 87748a4b5ca5d24915f0b066acd4cf4fe1c76278
extra : histedit_source : 6d6f798944c793b0d9a34e3eb57eaab296355c76
2023-12-05 10:25:04 +00:00
Daniel Darnell 63b4092d6e Bug 1867428 - Set Flathub scope in release-flatpak-push kind.yml. r=rjl DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D195193

--HG--
extra : moz-landing-system : lando
2023-12-06 14:56:19 +00:00
Alessandro Castellani c8694c71e3 Bug 1868471 - Update the donation appeal URL for end of year campaign. r=sancus
Differential Revision: https://phabricator.services.mozilla.com/D195600
2023-12-05 22:18:29 +00:00