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

34094 Коммитов

Автор SHA1 Сообщение Дата
Magnus Melin afff74311f Bug 1668926 - coverity - fix null pointer dereference for m_customDBHeaders in nsParseMailMessageState::​nsParseMailMessageState. r=benc
CID 1137394 Explicit null dereferenced

A null pointer dereference will occur.
In nsParseMailMessageState::​nsParseMailMessageState(): Dereference of an explicit null value

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

--HG--
extra : rebase_source : 94f47aafdcb9bb7c90b17334a4fa0907fd349480
extra : amend_source : ace450ea2cfc174477e9f02eb90e73568c41443f
2021-10-20 13:25:05 +03:00
Alessandro Castellani b50797d1d1 Bug 1734484 - Add telemetry probes for the account creation tab. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128322
2021-10-14 18:06:22 +00:00
Ping Chen cbdacd1a75 Bug 1735458 - Do not show mail notification on Windows if running fullscreen app. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128427

--HG--
extra : amend_source : 3a9d3b7a844a384008d1239aaee8d96c430c8fc6
2021-10-19 22:59:51 +03:00
Lasana Murray 95e44433c6 Bug 1729728 - Display correct troubleshooting mode menu item on all major windows. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128809

--HG--
extra : amend_source : 92af3fc80463c3455492a3639ed6dd226fa8b1f5
2021-10-19 22:59:07 +03:00
Magnus Melin 0f447c394f Bug 1735731 - add koi8r=KOI8-R charset alias. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D128580

--HG--
extra : rebase_source : 06dd9f049a2fdddce5e45c984474ddb0f9467cb8
2021-10-15 10:40:19 +03:00
Richard Marti 3bf3ea313a Bug 1736437 - Port bug 1509931: Simplify titlebar buttons CSS. r=aleca
There's no need to use the media query to set the default styles of the
buttons, we only need to hide them if appropriate.

--HG--
extra : amend_source : 9b3384e4e63509de8d5ba1be1b29e95ed049335b
2021-10-19 13:38:38 +03:00
Ben Campbell b6041197a9 Bug 1734843 - Mark offline-stored messages correctly when using quarantining (mailnews.downloadToTempFile=true). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128839

--HG--
extra : amend_source : 836c23b2b0f25b8a55a5e307495b43a3f00d89ff
2021-10-19 13:38:05 +03:00
Geoff Lankow dca932a6b8 Bug 1736288 - Avoid calling ICAL.parse to create timezones in ICAL.js. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128706

--HG--
extra : rebase_source : b6988dcb8aac216ad696405363c06558d45c630b
extra : histedit_source : 73dbcd20e1bf01addf761944c358c753ded38fcb
2021-10-18 16:57:57 +13:00
Geoff Lankow c8d025f872 Bug 1736261 - Fix test for new agenda when run with libical. r=mkmelin
Libical is more picky when defining durations, it needs a "T" to specify a time. I forgot about this.

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

--HG--
extra : rebase_source : caa6b9758b496584031ff25eec70b85139e815e7
2021-10-12 22:26:32 +13:00
Geoff Lankow 31bb495896 Bug 1736261 - Fix agenda items that finish on the day after the range displayed. r=mkmelin
Events that start in the date range and end just outside it were showing an end time item, when they shouldn't.

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

--HG--
extra : rebase_source : 68bf2444915582615f2eb7587e9e3ac7212326c0
2021-10-18 12:55:41 +13:00
Geoff Lankow 79455d4955 Bug 1736274 - Remove the calendar sleep monitor. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128702

--HG--
extra : rebase_source : f409a92ec3bd30cd39a78f6144d0b7351b777c00
2021-10-18 11:57:46 +13:00
Emilio Cobos Álvarez 8741b5e4c7 Bug 1736252 - Don't mess with ui.systemUsesDarkTheme. r=aleca,Paenglab
Instead do it the way it's supposed to be done, by setting the toolbar-theme as
appropriate for chrome pages.

--HG--
extra : amend_source : cea9865441e2169d5f8a002b116ddc38bdb47b5c
2021-10-18 20:03:05 +02:00
Richard Marti 7a6d0a68c9 Bug 1736327 - Fix the Virtual Folder Properties dialog for locales with long strings. r=aleca
--HG--
extra : rebase_source : a5c93fb9df43976de44c75aeb352bf1c667d7498
2021-10-18 23:16:52 +03:00
Richard Marti dfb5d635d6 Bug 1736392 - Show the Sanitize dialog warning box allways when "Everything" is selected. r=mkmelin
--HG--
extra : rebase_source : 0e23d302d0e21c2d171a0159a8bc35d4eabb99d6
2021-10-18 23:16:16 +03:00
Frank-Rainer Grahl 436c112c5a Bug 1730408 - Add picker for date and time inputs. r=IanN
Port Bug 1288591 "Implement the layout for <input type=time>".
Modern styling by njsg
Add popupAnchor from Bug 691601 "Update browser form validation so that it is e10s compatible"
2021-09-06 19:07:34 +02:00
Nuno Silva dbcb2265c1 Bug 1734407 - Prevent repeated handling of tab handle middle-click event. r=IanN
When the browser is configured so that a middle-click will load a URL
from the clipboard or the primary selection, and such a URL is
present, middle-clicking a tab handle will close that tab and load the
URL in another tab.

contentAreaClick() (from suite/base/content/contentAreaClick.js),
which loads the URL, will check event.defaultPrevented before
proceeding, so use preventDefault() in the onTabClick() handler from
tabbrowser.xml.
2021-10-06 16:02:20 +01:00
Ben Campbell f4ac979871 Bug 1736258 - Fix crashes in test_attachment_intl.js, test_nsMsgCompose2.js (regressed due to Bug 1735601). r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D128696

--HG--
extra : amend_source : a8e3710e4f6ac96866f410b913e3244acca5fa9c
2021-10-18 12:55:12 +03:00
Geoff Lankow af4783ca44 Bug 1735907 - When online state changes, don't refresh disabled calendars or calendars set to manual refresh only. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128533

--HG--
extra : moz-landing-system : lando
2021-10-17 21:40:47 +00:00
Alessandro Castellani 9237a16f8d Bug 1735459 - Fix showing the attach inline overlay when dragging attachments from the message pane. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128659

--HG--
extra : amend_source : 7ef1addd56ec71c5485b866d1f934420e1937355
2021-10-17 13:51:00 +03:00
Richard Marti 2fbe860a3f Bug 1736132 - Port bug 1736038: Remove -moz-toolbar-prefers-color-scheme. r=mkmelin
--HG--
extra : amend_source : 9d9f76d74356c09f99e2f1e19668461a5cf8c973
2021-10-16 13:24:47 +03:00
Richard Marti e4c2a6e93e Bug 1736035 - Make the Import/Export dialogs fully themeable. r=aleca
--HG--
extra : rebase_source : e379ba3b438039d6144d76e37c008f4787f7adc3
2021-10-16 13:23:18 +03:00
Magnus Melin 9185f49e7a Bug 1736090 - move event handling back to feed-subscriptions.xhtml since feed-subscriptions.js is shared. r=aleca
That feed-subscriptions.js is "shared" is of course wrong. Things should be modularized, but since they are not...
Had regressed by https://hg.mozilla.org/comm-central/rev/fa72aeb98faaa70e429cf1ebc46d314866cd571b

I also notice the onClose() did apparently not exist at all.

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

--HG--
extra : rebase_source : 8537dd0840e7b9323088fa5447aaef464a1e0523
2021-10-15 23:11:29 +03:00
Magnus Melin 630d1e696c Backed out changeset a3215bf459e2 (bug 1735458) for test failures
Failures in comm/mail/test/browser/notification/browser_notification.js

--HG--
extra : rebase_source : 828b4887052448e42b8bb29ca074d35ffe257d96
2021-10-15 22:42:39 +03:00
Henry Wilkes 89632cecb2 Bug 1735581 - Remove the isRealAttachment gloda property. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128498

--HG--
extra : moz-landing-system : lando
2021-10-16 00:25:44 +00:00
Ping Chen df3677baf0 Bug 1735601 - Remove temporary attachments in nsMsgCompose dtor. r=mkmelin
nsMsgCompose::CloseWindow may be called multiple times.

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

--HG--
extra : amend_source : f6e281535551979f091dba6021e766479598aaa5
2021-10-15 13:10:43 +03:00
Ping Chen c2be3c081e Bug 1735458 - Do not show mail notification on Windows if running fullscreen app. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128427

--HG--
extra : amend_source : db4b4e7c3baca7329e40eb02ac9918d1961baaf4
2021-10-15 13:10:04 +03:00
Ping Chen df19d1a041 Bug 1727013 - Enable remaining unit tests for nntp-js. r=mkmelin
Do not log authinfo in NntpClient.

Depends on D128454.

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

--HG--
extra : amend_source : 4c72fd223604fdfd1db0ce2655fc026168ed48ac
2021-10-15 13:09:38 +03:00
Ping Chen 55d4e30e2d Bug 1727013 - Support reusing connections in nntp-js. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128454

--HG--
extra : amend_source : e88ed647f52d1bc43311a4ccc0196a8e99e11723
2021-10-15 13:09:24 +03:00
Magnus Melin 5a3975f77f Bug 1677088 - remove EnigmailStdlib. r=PatrickBrunschwig
Differential Revision: https://phabricator.services.mozilla.com/D128068

--HG--
extra : rebase_source : d5c2750e65b9aef4d642afc1199d675595beb8ea
2021-10-13 22:38:32 +03:00
Magnus Melin 5daaa24a23 Bug 1572618 - adjust Thunderbird package-manifest.in for "Allow rlbox Wasm library sandboxes to be linked statically". rs=me 2021-10-15 13:06:46 +03:00
Geoff Lankow 4ef79c7bd6 Port bug 1378173 - Remove Promise.jsm. rs=bustage-fix DONTBUILD 2021-10-15 12:26:13 +13:00
Geoff Lankow 103b67fb4f Bug 1732565 - If a CardDAV address book has no name, use the host name instead. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128323

--HG--
extra : rebase_source : 9b6e91871fd9b145eaee008cf0aca67ba21ff9a3
2021-10-13 16:11:02 +13:00
Henry Wilkes 6462924212 Bug 1734933 - Rename ids for fluent changes in rev a0b86bbaaa09. r=aleca
Also use a span instead of a div for better semantics within a button.

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

--HG--
extra : amend_source : 3c13083d45b17c2f5eecacd01d50c04ec0b97075
2021-10-14 12:50:23 +03:00
Geoff Lankow 7d9abde5ed Bug 1712045 - Disconnect Address Book cards list view when unloading the page. r=mkmelin
Disconnecting the view from the tree tells the view to clean up and stop listening to observer service notifications.
Even if it didn't stop listening, disconnecting the view and tree would allow them to be garbage collected, breaking the weak references the observer service has.

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

--HG--
extra : amend_source : 95fa76147143eb0a6da122729a78eebdf5df5b08
2021-10-14 12:47:26 +03:00
Magnus Melin 730d2e861e Bug 1734428 - handle open pdf attachment during composition using pdf.js if wanted. r=henry
Differential Revision: https://phabricator.services.mozilla.com/D128355

--HG--
extra : rebase_source : 5d92a5ef3509bd5bc4429c8fded9cdfb018106b0
2021-10-13 22:35:07 +03:00
Magnus Melin 1837ca56be Bug 1677088 - clean out unused things from EnigmailCore.jsm. r=PatrickBrunschwig
Differential Revision: https://phabricator.services.mozilla.com/D128067

--HG--
extra : rebase_source : d980b71c5919f56d61d221960083d3e0df252248
2021-10-11 11:52:32 +03:00
Magnus Melin 10912f6511 Bug 1677088 - remove EnigmailCommandLine. r=PatrickBrunschwig
Differential Revision: https://phabricator.services.mozilla.com/D128044

--HG--
extra : rebase_source : 490944563f3be59e637e501930f7226eb0315db1
2021-10-11 09:38:11 +03:00
Magnus Melin 819075427f Bug 1677088 - remove EngimailFiles tempdir handling. r=PatrickBrunschwig
Remove temp dir handling (temp dir must always exist), and also a few other methods never used anymore.

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

--HG--
extra : rebase_source : db9e4fb846a1dbdff965cbc3f9ade4d5c3e59e79
2021-10-11 09:19:52 +03:00
Thomas Duellmann b81182c757 Bug 1727938 - Fix import of ics with VTODOs (tasks) and sort items without start date to the end. r=darktrojan
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/91/bugs/1727938-sort-no-start-date.patch
2021-08-31 01:32:45 +02:00
Geoff Lankow 29047c44b8 Bug 1730425 - Use a singleton to set the calendar "systemcolors" attribute on windows. r=mkmelin
This is probably overkill given that only messenger.xhtml really needs the attribute, and one day we'll kill off the whole systemcolors idea, but I didn't know that when I began and I've done it now.

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

--HG--
extra : rebase_source : 45e30cb69f7ec5829357677809a13b69082bcb5c
extra : amend_source : 24b0e328921ecc8ae731a40be86038031bfa1a76
2021-10-13 21:17:24 +13:00
Geoff Lankow 97dea39467 Bug 1731701 - Wait for new window to be active before use in test browser_focus.js. r=henry
Differential Revision: https://phabricator.services.mozilla.com/D128335

--HG--
extra : rebase_source : ee56a28451a5b0fe2121437d45e56a5b273b4ae5
extra : amend_source : 60f03a1241813cd5b5b01edb5ba572e3a38db08f
2021-10-13 20:18:25 +13:00
Geoff Lankow 83630fb05d Bug 1629492 - Re-enable calendar tests that now pass. r=mschroeder
All of these tests appear to be passing again. If they play up again, we can turn them off again.

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

--HG--
extra : rebase_source : a033e6d68cc9a3d057b670148fe0d6a657306b49
2021-10-13 15:23:00 +13:00
Ben Campbell ebe18516d7 Bug 1733849 - Correct the byte counting in MailTestUtils.loadMessageToString(). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D128133

--HG--
extra : amend_source : 5944e58e01318f44afff8d233fd9972b6f2f17f7
2021-10-13 20:29:32 +03:00
Magnus Melin 7c012c51c8 Bug 1668926 - followup to 821f92c562196e321f474c6404ba19b8518b72cb - fix it null pointer dereference properly. rs=bustage-fix DONTBUILD
--HG--
extra : rebase_source : 673ee0b56ac61f17ca60dbeb35b8ca5c35b96233
2021-10-13 14:44:59 +03:00
Magnus Melin 6c13df12ae Bug 1734818 - clean out browsingContext thunderbird 78 compat layer. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D127939

--HG--
extra : amend_source : e4026eb1b359384d40fa10bd4a102914a18aff47
2021-10-13 13:26:02 +03:00
Magnus Melin e7fef4865f Bug 1668926 - coverity - fix uninitialized scalar field in nsMsgCompose::​nsMsgCompose(). r=benc
CID 1137580 Uninitialized scalar field

The field will contain an arbitrary value left over from earlier computations.
In nsMsgCompose::​nsMsgCompose(): A scalar field is not initialized by the constructor

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

--HG--
extra : rebase_source : 5db1bbca4188b38411fa9c72d277c83a8769d49c
2021-10-11 14:16:58 +03:00
Magnus Melin 3da11db9d1 Bug 1668926 - coverity - fix resource leak in mime_display_stream_complete. r=benc
CID 1137494 Resource leak

The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In mime_display_stream_complete: Leak of memory or pointers to system resources

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

--HG--
extra : rebase_source : 3559808a823f2149f25075d8ed5eedf52cea2798
2021-10-11 14:13:23 +03:00
Magnus Melin 33202f2c1b Bug 1668926 - coverity - fix resource leak in MIMEGetRelativeCryptoNestLevel. r=benc
CID 450579 Resource leak
The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In MIMEGetRelativeCryptoNestLevel(MimeObject *): Leak of memory or pointers to system resources

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

--HG--
extra : rebase_source : 6ca60678114ba81512779c087ee2b30113c95e16
2021-10-11 14:02:38 +03:00
Magnus Melin 3bfcf9ca78 Bug 1668926 - coverity - fix null pointer dereference in nsParseMailMessageState::​nsParseMailMessageState. r=benc
CID 1137394 Explicit null dereferenced

A null pointer dereference will occur.
In nsParseMailMessageState::​nsParseMailMessageState(): Dereference of an explicit null value

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

--HG--
extra : rebase_source : 69990461ef06e4b4b6af1a008e603a72fcc4a0b8
2021-10-11 13:48:10 +03:00
Magnus Melin 8a24e3a6fa Bug 1732570 - clean up remaints of _smimeHeaderSink and maxWantedNesting. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D128208

--HG--
extra : rebase_source : b72e3a556722e45207ee75ca82f0747615847b4f
2021-10-12 16:50:19 +03:00