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

40298 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lankow bab4b4b540 Bug 1869998 - Port bug 1869078 - Filter-out target_cpu from substs provided by old-configure. rs=bustage-fix
https://hg.mozilla.org/mozilla-central/rev/722156e33a15 made lower-case target_cpu unavailable. Looks like we should've been using upper-case TARGET_CPU anyway.

--HG--
extra : amend_source : 23e2de96ef1469a0ee32ea09b8cbe7bc5637e0f9
2023-12-14 23:05:45 +13:00
Geoff Lankow 70000cfe66 Bug 1867532 follow-up - Fix a broken test. r=leftmostcat
I don't really understand why this broke. There must be other things on the event queue when `scrollToIndex` is called.

Also removed the opening of a different menu which doesn't test what it was originally intended for, and is called badly anyway.

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

--HG--
extra : rebase_source : 8613a8663c07faee57c44722dc74652662060287
extra : amend_source : 6c1dc109a8a19089a7c9c67ff2d2a22f3a0d5721
2023-12-14 12:06:56 +13:00
Geoff Lankow 4b34f1e382 Bug 1764895 - Fix build bustage on comm-central. rs=bustage-fix
--HG--
extra : rebase_source : 021a59dd4c7a314fce389ccd99b2186274bbdbbd
2023-12-14 13:06:34 +13:00
Masayuki Nakano 61ef12c3aa Bug 1764895 - part 2: Make comm-central stop using `nsIEditor.setShouldTxnSetSelection` r=mkmelin
It'll be removed and `nsIEditor.insertNode()` and `nsIEditor.deleteNode()`
have new optional parameter which if you set to true, selection won't be
modified by the editor (except `beforeinput` and `input` event listeners).

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

--HG--
extra : amend_source : 4ac61cde6cdb49db4b77406c55442b762faee442
2023-12-11 05:36:02 +00:00
Richard Marti 227e141c49 Bug 1868938 - Follow-up: Fix bad selector in aboutDownloads.css. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D196322

--HG--
extra : moz-landing-system : lando
2023-12-13 22:27:38 +00:00
Daniel Darnell c243e55f6a Bug 1860654 - Vendor in new application-services / Glean / UniFFI. r=thunderbird-build-system-reviewers,rjl
Depends on D196323

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

--HG--
rename : third_party/rust/uniffi_bindgen/src/interface/attributes.rs => third_party/rust/uniffi_udl/src/attributes.rs
extra : moz-landing-system : lando
2023-12-13 18:29:28 +00:00
Daniel Darnell 57104721c0 Bug 1860654 - Update .hgignore to allow for JetBrains .idea directories outside of root directory. r=thunderbird-build-system-reviewers,rjl
Differential Revision: https://phabricator.services.mozilla.com/D196323

--HG--
extra : moz-landing-system : lando
2023-12-13 18:29:28 +00:00
welpy-cw efd73857b1 Bug 1864149 - Prevent TypeError when handling S/MIME messages. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D193293

--HG--
extra : amend_source : 804e38658bf65d0e673dc0b19f7dc7f6781161c2
2023-12-13 17:58:25 +02:00
Magnus Melin 2f3f0d441d Bug 1868079 - Make sure all folder properties dialog tabs are visible. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195405

--HG--
extra : rebase_source : 6c197fb5ae17be655c519bfe43077d913896612e
extra : amend_source : 70b0fd4ad1a1baa1a9fa133e40006b675d84c9d1
2023-12-13 17:57:48 +02:00
Geoff Lankow 5e62055ce2 Bug 1869684 - Fix browser_applyView.js to use explicit values. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D196246

--HG--
extra : amend_source : ca4ca9dce2c9988d07d4392711f23793f419c434
2023-12-13 11:51:32 +02:00
Richard Marti 1a551439c8 Bug 1869362 - Use nested CSS for accountCentral.css and accountManage.css. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D196075

--HG--
extra : amend_source : 85a0ea9009ebbcdede03d6446688a3f8d4920ed7
2023-12-13 11:51:03 +02:00
Richard Marti 69a1ebb329 Bug 1868938 - Use nested CSS for some About files. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195846

--HG--
extra : amend_source : d8916ab53c49709de822f7f4715a176dbcccffae
2023-12-13 11:50:16 +02:00
welpy-cw 6e6937143e Bug 1868794 - Skip applying additional sort order after creating a Grouped By view. r=mkmelin
The fix for bug 1860322 opens a Grouped By view directly with the most specific sort, as the groups
themselves are always sorted by date. As a follow-up to that, this patch skips applying other sorts
immediately afterwards.

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

--HG--
extra : amend_source : fce2cf8e2121242ba773f67b6a520088364a5252
2023-12-13 11:49:48 +02:00
welpy-cw ea5c87a7a3 Bug 1867532 - Scroll selected row into view when opening thread pane context menu by keyboard. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195104

--HG--
extra : amend_source : 807182ccdea7437575006e8e6a403850559fcc1f
2023-12-13 11:49:18 +02:00
welpy-cw 5db19f1a8a Bug 1867407 - Prevent mouse clicks on empty space in thread pane from triggering any actions. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195242

--HG--
extra : amend_source : 4fed0cabaad0f77b7b7ff1d7cbc5e07b84e9151b
2023-12-13 11:48:33 +02:00
Magnus Melin 7047332d4b Bug 1703164 - convert mail/extensions/openpgp/content/ui/enigmailMsgBox.xhtml to top level <html>. r=aleca
This is used internally by EnigmailMsgBox. Can be tested in the console e.g. by
```
var { EnigmailDialog } = ChromeUtils.import("chrome://openpgp/content/modules/dialog.jsm");
EnigmailDialog.alert(null, "hey hey hey!");
```


Most/all of this usage should be removed to use standard prompts. But I'm leaving that for now.

On trunk (and sadly I think 115 too) many of the dialogs have their buttons cut off or out of view. This patch fixes that by removing the custom broken dialog resizing.

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

--HG--
extra : rebase_source : f6d8d3e2cdcd4a680b6edb4f482fbce6b667c6c6
extra : amend_source : fad9f453275a78400c44ab707eebc99ed58b9ac6
2023-12-13 11:47:45 +02:00
Magnus Melin 03102a0435 Bug 1703164 - convert mail/extensions/openpgp/content/ui/keyWizard.xhtml to top level <html>. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D196158

--HG--
extra : rebase_source : 3283ee89ec87e2057f2dbd0fcc346541c8360ff8
extra : amend_source : c1106357f0aebf15d9993fc160f82efd44306ae8
2023-12-13 11:47:10 +02:00
Magnus Melin 9a95cf8e82 Bug 1703164 - convert mail/extensions/openpgp/content/ui/confirmPubkeyImport.xhtml to top level <html>. r=vineet
The first/main dialog when you try to import a public key from file.

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

--HG--
extra : rebase_source : 2334edd523d7ae71f06a3cb133348de69c57f880
extra : amend_source : 8b11cf6804db01d0c317d3e4ee4219459a99f39d
2023-12-13 11:46:34 +02:00
Magnus Melin 73a2b3b013 Bug 1703164 - convert mail/extensions/mailviews/content/mailViewList.xhtml to top level <html>. r=aleca
Customize toolbar, add View. From the View widget, choose the Customize...

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

--HG--
extra : rebase_source : 565eba6462c03f8805fb9a4c58b25335df568cbf
extra : amend_source : 889c1688a7ce04d70610da554e915db5fa4788d7
2023-12-13 11:46:05 +02:00
Magnus Melin f43a03c5de Bug 1703164 - convert mail/components/compose/content/dialogs/EdTableProps.xhtml to top level <html>. r=elizabeth
Compose | Insert | Table...

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

--HG--
extra : rebase_source : 7ee0756fb90502ea651aa05806c490c0ae369e80
extra : amend_source : fa1022c58ab4f8663df0df649014213c109c23fd
2023-12-13 11:45:32 +02:00
Magnus Melin 8cb20e26d8 Bug 1703164 - convert mail/components/compose/content/dialogs/EdInsertMath.xhtml to top level <html>. r=elizabeth
Compose | Insert | Math...

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

--HG--
extra : rebase_source : 3aa7d25025d37b380616b0c3645fef7d1ccaa104
extra : amend_source : b0033a90ac9102c2e749aef4792a1521df74d7cd
2023-12-13 11:44:51 +02:00
Magnus Melin a42458beba Bug 1703164 - follow-up to 88ef6e291837 - add missing comma. rs=me
Was causing `Missing search l10n id "connection-dialog-title                     connection-dns-over-https-url-resolver" 2 findInPage.js:546:21`

--HG--
extra : rebase_source : 2b34e2be1a330df25a8dfbb52ed887d243ad4f0b
extra : amend_source : 25640f33d129aad7ac70a5ef33d82cae64f75f0d
2023-12-13 11:44:17 +02:00
Magnus Melin e45b7df5dd Bug 1703164 - convert mail/components/compose/content/dialogs/EdNamedAnchorProps.xhtml to top level <html>. r=elizabeth
Differential Revision: https://phabricator.services.mozilla.com/D194593

--HG--
extra : rebase_source : 7c36db216cb2db060fd1c5362792d9950027d90c
extra : amend_source : f5686585319113636a57e103bd19a63b3706e9bc
2023-12-13 11:43:45 +02:00
solange valverde 8907d00a4b Bug 1863614 - Card View: hover, focused not-selected and context menu target states implementation. r=elizabeth
Differential Revision: https://phabricator.services.mozilla.com/D193956

--HG--
extra : amend_source : a2cf8042e0786f96fff3a49333d49bb0099425a8
2023-12-12 18:33:31 +00:00
welpy-cw e659c2a184 Bug 1862774 - Fix missing message counts in collapsed accounts at startup. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D195961

--HG--
extra : amend_source : 5fb2f5f3d29778a9331ac6d03fda13f93a26afef
2023-12-09 20:52:43 +00:00
welpy-cw 61a40d71b9 Bug 1861886 - Don't close tab/window when completing POP3 message. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D196118
2023-12-11 22:02:31 +00:00
solange valverde 5e7df2b046 Bug 1854393 - Message List Header - Message List display options icon drop down option outside of Thunderbird window. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D195506

--HG--
extra : amend_source : 28af61114ae952be0244d3c83d44839ba71b680d
2023-12-11 23:09:29 +00:00
Rob Lemley 94f8f9398c Bug 1860654 - Add vendored Rust deps. rs=me
This is a reproducible commit. Running mach tb-rust vendor again
with mozilla-central and comm-central on the same head revs will
produce the same output.

https://hg.mozilla.org/mozilla-central/rev/55cd203304b8d5343dd941d772085dc25fd278c4
https://hg.mozilla.org/comm-central/rev/8a0750b85f6d85fbf5c2e17a29fbc8112112c374
2023-12-12 14:05:09 -05:00
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