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

3265 Коммитов

Автор SHA1 Сообщение Дата
Richard Marti ext:(%2C%20Magnus%20Melin%20%3Cmkmelin%2Bmozilla%40iki.fi%3E) 50cf02f907 Bug 1653751 - Inject a rule into junk log to style it with dark system theme. r=mkmelin DONTBUILD 2020-07-23 12:41:51 +03:00
Khushil Mistry 858c5e698a Bug 1653588 - Fix preference mail.server.serverX.server_sub_directory not saved when set through GUI. r=mkmelin 2020-07-23 12:41:11 +03:00
aceman e3ec4fdf72 Bug 1652115 - declare constants in nsMsgDBFolder.cpp:156:16 as nsLiteralCString instead of 'auto' to compile with GCC9. r=sg,mkmelin DONTBUILD 2020-07-19 12:42:00 +02:00
Geoff Lankow ec5a97dca4 Bug 1607613 - Fix keyboard navigation errors in junk settings address book list. r=khushil
--HG--
extra : rebase_source : db3fbce212030158cccc8c0b8bec860dbc0a177b
extra : histedit_source : a02ae71ad6b735766d76a19fde4aa27d5fe7ce71
2020-07-15 21:53:09 +12:00
Alessandro Castellani d8dd202c6c Bug 1653118 - Port bug 1366973 - Rename security flags within nsILoadInfo to not contain '_DATA_'. rs=bustage-fix
--HG--
extra : amend_source : 5a49356a43141f3f622db2de96100ec8649fac50
2020-07-15 15:41:10 -07:00
Alessandro Castellani ca6436dae9 Bug 1651808 - Fix OpenPGP key identity manager for non-default identities. r=KaiE
--HG--
extra : rebase_source : ab3f340ac13f2e572277e2e125061aa45a2cefba
2020-07-14 11:15:43 -07:00
Richard Marti 1c9b328960 Bug 1652015 - Make the folder pane dialogs themeable. r=aleca 2020-07-08 11:52:27 +02:00
Richard Marti 1511ba655c Bug 1652057 - Port bug 1650794: Refactor subdialogs.js to reusable JSM. r=mkmelin 2020-07-10 18:12:24 +02:00
Kai Engert f0256f9109 Bug 1652475 - mailnews/base/src/nsMsgPrintEngine.cpp fails with no member named 'GetGlobalPrintSettings' in 'nsIWebBrowserPrint'. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D83333

--HG--
extra : amend_source : 18727e0b905b40af18a0ad5b210f20ccc6132200
2020-07-13 16:34:10 +02:00
Ping Chen f17b6b7d64 Bug 1652029 - Port bug 1464542 to fix opening devtools. r=darktrojan DONTBUILD
--HG--
extra : rebase_source : 351ab6f4d883f64c8193944c92d4042a563f5afc
extra : amend_source : c0f3dad582797bd38fb59c63049eb7b005f0ca1c
2020-07-13 15:31:51 +09:00
Geoff Lankow 0a60d34265 Bug 1652371 - Port bug 1649221 and bug 1649554. rs=bustage-fix CLOSED TREE
--HG--
extra : amend_source : cfc6361ee102cb0ee2e0c5b3497ec4a9b71688ca
2020-07-13 11:45:03 +12:00
Richard Marti f0c910412c Bug 1650791 - Make the messagefilter dialogs themeable. r=aleca 2020-07-08 11:52:25 +02:00
Richard Marti 9bec08c5a1 Bug 1628296 - Remove the AppConstants check in accountUtils.js. r=mkmelin 2020-07-03 21:23:30 +02:00
Magnus Melin 7336730297 Bug 1648802 - Replace Thunderbird constant uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros . r=sg
# NS_LITERAL_CSTRING(ABC) -> nsLiteralCString(ABC)
find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_CSTRING\(([^\)]*)\)/nsLiteralCString(\1)/g' {} \;

# NS_LITERAL_STRING(FOO) -> NS_LITERAL_STRING_FROM_CSTRING(FOO)
find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_STRING\(([^\)]*)\)/NS_LITERAL_STRING_FROM_CSTRING(\1)/g' {} \;

 + some manual adjustments
 + clang-format
2020-07-03 20:34:57 +03:00
Ping Chen b3ca7aea8c Bug 1636665 - Support petabyte in imap folder quote size and percentage calculations. r=mkmelin 2020-07-02 19:23:43 +03:00
Magnus Melin ebdfde4d2e Bug 1648802 - Replace Thunderbird uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals.. r=sg
compare https://phabricator.services.mozilla.com/D80861#change-Yu2oZ2Beo1MA

# NS_LITERAL_CSTRING("foo") -> "foo"_ns
find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_CSTRING\("([^\)]+)"\)/"\1"_ns/g' {} \;

# NS_LITERAL_STRING("foo") -> u"foo"_ns
find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_STRING\("([^\)]+)"\)/u"\1"_ns/g' {} \;

 + manual replacements at least in

mailnews/imap/src/nsImapService.cpp
mailnews/local/src/nsPop3Sink.cpp
mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp
mailnews/base/test/TestMsgStripRE.cpp
mailnews/base/util/nsMsgIncomingServer.cpp
mailnews/base/util/nsMsgDBFolder.cpp
mailnews/mime/src/mimemult.cpp
mailnews/mime/src/mimethtm.cpp


mailnews/compose/src/nsMsgCompose.cpp
mailnews/import/text/src/nsTextImport.cpp
mailnews/import/outlook/src/nsOutlookMail.cpp
mailnews/import/winlivemail/nsWMUtils.cpp
mailnews/import/becky/src/nsBeckyUtils.cpp
mailnews/extensions/smime/src/nsCertPicker.cpp
calendar/base/backend/libical/calUtils.cpp
suite/components/shell/nsWindowsShellService.cpp
mail/components/search/nsMailWinSearchHelper.cpp

+ clang-format
2020-07-01 16:15:43 +03:00
Magnus Melin 7dcaba3667 Bug 1648802 - remove Thunderbird usage of NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros (removed in bug 1648010). r=sg
# NS_NAMED_LITERAL_CSTRING(foo, "bar") -> constexpr auto foo = "bar"_ns;
find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_NAMED_LITERAL_CSTRING\(([^,]+),\s*([^)]+)\)/constexpr auto \1 = \2_ns/g' {} \;

# NS_NAMED_LITERAL_STRING(foo, "bar") -> constexpr auto foo = u"bar"_ns;
find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_NAMED_LITERAL_STRING\(([^,]+),\s*([^)]+)\)/constexpr auto \1 = u\2_ns/g' {} \;

 + a few manual replacements in nsMsgDBFolder.cpp and nsProfileMigrator.cpp
 + clang-format
2020-07-01 16:15:15 +03:00
Magnus Melin 42ab19506c Bug 1648001 - Set forced character encoding via docshell instead of via content viewer (content viewer will drop support for that). r=hsivonen DONTBUILD 2020-07-01 13:54:14 +03:00
Magnus Melin 0ad6e57dd5 Bug 1518025 - clarify catch-all strings with stars, only allow matching whole domains with stars, not partial addresses. r=khushil
https://bugzilla.mozilla.org/show_bug.cgi?id=1518025#c118
2020-06-26 21:58:58 +03:00
Ping Chen aacea87386 Bug 272292 - Support importing accounts and mails from SeaMonkey. r=benc 2020-06-26 13:37:29 +03:00
Khushil Mistry 889d63d62f Bug 1646529 - Fix unable to change Adaptive Junk Mail settings. r=mkmelin 2020-06-25 13:39:48 +03:00
Lasana Murray 3ff2109411 Bug 1646154 - Include donation link in accountCentral.ftl instead of doing it manually. r=mkmelin 2020-06-25 13:39:13 +03:00
Alessandro Castellani 46ada055e6 Bug 1645647 - handle the case where the virtual folder properties dialog was not given an initial folder. r=darktrojan
--HG--
extra : amend_source : 7978f9a00266f3fedcfc47dc660fcdf5881de451
2020-06-25 13:35:09 +03:00
Lasana Murray 02c973f61b Bug 1629360 - Use async l10n for donation link and setup title. r=mkmelin 2020-06-04 13:47:37 -04:00
Jorg K 93db6b3c14 Bug 1647104 - Fix typos in chat, common, db, editor, mail, mailnews found with codespell. rs=comment-only,typo-fix r=mkmelin DONTBUILD
This excludes OpenPGP code in mail/extensions.
2020-06-21 20:27:10 +02:00
Kai Engert 6c7626bd9a Bug 1647104 - Backed out changeset 9ca3551392f6. a=mkmelin 2020-06-22 14:09:32 +02:00
Jorg K 1a94f7447e Bug 1647104 - Fix typos in chat, common, db, editor, mail, mailnews found with codespell. rs=comment-only,typo-fix DONTBUILD 2020-06-21 20:27:10 +02:00
Ben Campbell edb8e187f9 Bug 1643561 - Reformat C++ to M-C clang-format rules (mainly PointerAlignment: Left). rs=mkmelin
--HG--
extra : rebase_source : b016214d8010531b3e277be07bdccbbbf1637e29
extra : amend_source : c056647392ab31b921b4d19029e694391ffd1894
2020-06-20 10:26:35 +12:00
Richard Marti 2cc922b7a3 Bug 1639107 - Port bug 1638153 part 2: Fix uses of .rootTreeItem to get top browser window. r=mkmelin 2020-06-18 13:56:03 +03:00
Ben Campbell 9d992aa957 Bug 1612239 - Remove nsIArray use in nsIMsgFolder markMessagesRead, markMessagesFlagged, setLabelForMessages, setJunkScoreForMessages. r=mkmelin 2020-06-05 23:47:16 +12:00
Magnus Melin 217c5b0698 Bug 1645307 - Port bug 1603712 to Thunderbird (remove intl.charset.detector.ng.enabled). r=pmorris CLOSED TREE
Port of https://hg.mozilla.org/mozilla-central/rev/e53396cf1039

--HG--
extra : amend_source : 603de403bc4a4033b8f12b2a0774437573c309ee
2020-06-16 14:58:03 +03:00
Magnus Melin 25bea63139 Bug 1625299 - Reinstate print-progress dialog (can't print with print progress dialog). r=benc
Was disabled in bug 1620314, but can be re-enabled now since bug 1639816 fixed it for non-e10s.
2020-06-10 15:21:35 +03:00
Magnus Melin 442ed34f88 Bug 1642935 - remove TestMailCookie Gtest since it's testing thing that can't work for real. r=benc 2020-06-12 23:12:31 +03:00
Geoff Lankow 5473ff6e58 Port bug 1640623 - Use enum classes for LookAndFeel int and float IDs. rs=bustage-fix 2020-06-12 15:49:51 +12:00
Alessandro Castellani ccaf4819c0 Bug 1645271 - Prevent the opening of links in the Account Central content Tab. r=darktrojan 2020-06-11 18:45:29 -07:00
Magnus Melin 5f339386c0 Bug 1632845 - add userAllowedQuit argument to appStartup->Quit call in Thunderbird. rs=bustage-fix 2020-06-10 11:08:58 +03:00
Alessandro Castellani af886b93f1 Bug 1637668 - Follow up improvements to Folder Pane icons colour customization. r=mkmelin DONTBUILD 2020-06-07 13:37:40 +03:00
Ben Campbell adf336206c Bug 1612239 - Remove nsIArray usage from nsIMsgFolder.getFoldersWithFlags(). r=mkmelin 2020-06-05 23:24:18 +03:00
Ben Campbell 2f950afa71 Bug 1612237 - Remove nsIArray use from nsIMsgFilterService. r=mkmelin 2020-06-05 13:56:32 +03:00
Ben Campbell 7903647268 Bug 1612239 - Remove nsIArray usage from nsIMsgPluggableMailStore.copyMessages. r=mkmelin 2020-06-04 22:36:51 +03:00
Ben Campbell fbb3a9701a Bug 1612239 - Remove nsIArray use from nsIMsgCopyService.copyFolders. r=mkmelin 2020-06-04 22:36:27 +03:00
Richard Marti d37057d516 Bug 1643088 - Add in the preferences around the <html:fieldset> a <html:div> for correct expanding when content is wrapping. r=mkmelin 2020-06-03 23:15:22 +03:00
Magnus Melin 771b2328aa Bug 1642966 - Port bug 1606797 to Thunderbird (nsIExternalProtocolService::loadURI now takes 3 args). rs=bustage-fix DONTBUILD 2020-06-03 16:07:42 +03:00
Ben Campbell 24d7049dd2 Bug 1612239 - Remove nsIArray usage from nsIMsgFolderCompactor. r=mkmelin 2020-05-28 16:20:15 +12:00
Ben Campbell 01217a9d31 Bug 1612239 - Remove redundant nsIMsgFolder.ListDescendants(). r=mkmelin DONTBUILD 2020-06-01 13:59:00 +03:00
Ben Campbell efd6582a5a Bug 1612239 - Remove nsIArray usage from nsIMsgFolder.descendants. r=mkmelin 2020-06-01 13:58:48 +03:00
Magnus Melin 1caf86b49b Bug 1518025 - catchall - make it apply to general case, not just domain. r=khushil DONTBUILD
--HG--
extra : amend_source : c743bb515efca2c1e3f221f8bb1122802a5507d7
2020-05-31 13:53:36 +03:00
rene 9a2f04b0d6 Bug 1518025 - Implemented handling of catchAll mail identities. r=mkmelin 2020-05-31 13:53:23 +03:00
Magnus Melin 6846d83862 Bug 1639680 - fix wrong assertion, ensure nsMessenger::SaveAllAttachments arguments are correct with runtime check instead. r=benc 2020-05-29 13:44:21 +03:00
Ping Chen 9e9c4d9878 Bug 1494584 - show other users on IMAP folder sharing tab. r=mkmelin
--HG--
extra : rebase_source : 4370c82083b4e90b633e9ef8f27fec3dc3edee4b
2020-05-28 19:03:58 +03:00
Richard Marti 363a09fb16 Bug 1628497 - Revert to dot-ID for identityHtmlSigFormat to fix the "Use HTML" checkbox. r=mkmelin
The wsm_persist looks at the ids this way...

--HG--
extra : rebase_source : 5f0d34aa3b8faa97bbaa3308165b08456c6f41b8
2020-05-28 18:58:36 +03:00
Geoff Lankow 239949f709 Port bug 1641245 - Make string comparators not virtual. rs=bustage-fix
--HG--
extra : rebase_source : 37fbc2421c805891dd1f0a68ca826471a8d86e9b
extra : amend_source : c19bbe4a00ece7b4fd9a454885e9bb1c140074b2
extra : histedit_source : 69509a206ac2663b393c12e373cce03c9b5832d9
2020-05-28 16:11:57 +12:00
Richard Marti 89c30dfce0 Bug 1641141 - Port bug 1466532: Drop nsIFile::followLinks. r=mkmelin, a=me
--HG--
extra : amend_source : 89120a36d02858341d8b1c3f365aaa50d882ac8b
2020-05-27 09:53:58 +03:00
Geoff Lankow 4e71c8460d No bug - Fix ESLint failures. rs=linting a=me 2020-05-27 11:26:36 +12:00
Geoff Lankow e95460a9a3 Port bug 1640501 - Remove toolkit.cosmeticAnimations.enabled from all.js. rs=bustage-fix a=me
--HG--
extra : rebase_source : bddd9b82b85f60ae317eb9883b08f373df656637
extra : amend_source : ae80446ccc5d5df3b4a1f6fcddff455da07b3648
2020-05-26 17:12:19 +12:00
Richard Marti 9e2f612d40 Bug 1628497 - Improve Account Manager UI. r=aleca 2020-05-23 13:13:51 +03:00
Richard Marti 4a9b18ee83 Bug 1618616 - Move the manageIdentities box inside of the fieldset to workaround rendering problems for narrow screens. r=mkmelin 2020-05-23 13:12:08 +03:00
Alessandro Castellani c13afab8ed Bug 1637668 - Implement colour customization option for Folder Pane icons. r=mkmelin, ui-r=paenglab 2020-05-22 12:53:51 +03:00
Richard Marti 48cfaaf366 Bug 1639699 - Remove unnecessary stylesheet files from the virtualFolderProperties.xhtml dialog. r=aleca
--HG--
extra : rebase_source : 87faf6dbcfb122c282c94846324ba9609bcc9440
2020-05-20 22:47:06 +02:00
Richard Marti d6cfee6160 Bug 1638863 - Calendar: convert more images to SVG. r=pmorris, ui-r=aleca 2020-05-18 20:58:01 +02:00
Ben Campbell 93c523a2c4 Bug 1612239 - Remove nsIArray usage for msgsMoveCopyCompleted notification. r=mkmelin DONTBUILD 2020-05-19 12:58:38 +03:00
Ben Campbell b7923c08e7 Bug 1612239 - Remove nsIArray use from nsIMsgPluggableStore.changeKeywords(). r=mkmelin 2020-05-19 12:58:11 +03:00
Magnus Melin 45acec6df8 Bug 1634052 - getOrCreateFolderForURL should handle bad uris. r=benc DONTBUILD 2020-05-17 13:56:33 +03:00
Magnus Melin b80b99b5ac Bug 1638288 - fix mistake in previous patch. r=benc 2020-05-15 23:30:57 +03:00
Magnus Melin 50e3d4332c Bug 1638288 - Port Bug 1636148 - Make calling nsIPrincipal->GetURI a clang-error. rs=bustage-fix DONTBUILD 2020-05-15 22:00:29 +03:00
Magnus Melin 5b01fc6743 Bug 1627649 - Unable to use WebSocket in Thunderbird. r=benc DONTBUILD 2020-05-14 12:58:52 +03:00
Khushil Mistry 4fce35f488 Bug 1631577 - Fix Cannot delete entries within Customize Headers. r=mkmelin 2020-05-13 16:47:15 +12:00
Neil Rashbrook f313b3750d Bug 1634052 - Make FOlderLookupService match the same schemes that the RDF service supported. r=benc 2020-05-11 19:20:22 +03:00
Magnus Melin f3c8a8cb32 Bug 1604157 - Remove XUL minwidth, maxwidth, minheight and maxheight attributes in Thunderbird. r=pmorris DONTBUILD
# minwidth -> style min-width
find . -type f -not -path "*.hg/*" -not -path "editor/*" -not -path "suite/*"  -regex ".*\.xhtml$" -exec sed -i -E 's/minwidth="([^"]+)(px)?/style="min-width:\1px;/g' {} \;

# maxwidth -> style max-width
find . -type f -not -path "*.hg/*" -not -path "editor/*" -not -path "suite/*"  -regex ".*\.xhtml$" -exec sed -i -E 's/maxwidth="([^"]+)(px)?/style="max-width:\1px;/g' {} \;

# minheight -> style min-height
find . -type f -not -path "*.hg/*" -not -path "editor/*" -not -path "suite/*"  -regex ".*\.xhtml$" -exec sed -i -E 's/minheight="([^"]+)(px)?/style="min-height:\1px;/g' {} \;

# maxheight -> style max-height
find . -type f -not -path "*.hg/*" -not -path "editor/*" -not -path "suite/*"  -regex ".*\.xhtml$" -exec sed -i -E 's/maxheight="([^"]+)(px)?/style="max-height:\1px;/g' {} \;

... and then manual fixups of what went wrong (duplicate style etc.)
2020-05-10 13:48:45 +03:00
Richard Marti 40d1a7fe16 Bug 1636429 - Use SVG icons for the checkmarks in trees. r=aleca DONTBUILD
--HG--
rename : mail/themes/windows/mail/filterDialog.css => mail/themes/shared/mail/filterDialog.css
rename : mail/themes/windows/mail/msgSelectOffline.css => mail/themes/shared/mail/msgSelectOffline.css
rename : mail/themes/windows/mail/subscribe.css => mail/themes/shared/mail/subscribe.css
2020-05-09 13:53:30 +03:00
Ben Campbell ea45d2a800 Bug 1612247 - Remove nsIMsgDatabase.nextMatchingHdrs. r=mkmelin DONTBUILD 2020-05-08 13:35:06 +03:00
Ben Campbell 84adfc9cbe Bug 1612247 - Remove nsIArray usage from nsIMsgDatabase.openDBs. r=mkmelin 2020-05-08 13:34:48 +03:00
Ben Campbell a98308011a Bug 1612247 - Remove nsIArray usage from nsIMsgDatabase.getFilterEnumerator(). r=mkmelin 2020-05-08 13:34:29 +03:00
Ben Campbell b3f07efa7b Bug 1636047 - Handle non-copyable nsTArray and AutoTArray (introduced in bug 1626570). r=mkmelin 2020-05-08 13:33:19 +03:00
Geoff Lankow 01598dc505 Bug 1635889 - Fix test failure in comm/mailnews/base/test/unit/test_compactFailure.js. rs=bustage-fix
--HG--
extra : rebase_source : 4c11ec4d9a341e2f5be2ef3c1a9a055fb2a07e8b
extra : histedit_source : 5b9f34a2ba206f5e17d08321d10b07ec791f4f54
2020-05-07 15:33:20 +12:00
Geoff Lankow ba527aea7b Port bug 1536556 - Replace new Error(Cr.ERROR) with new Component.Exception. rs=linting DONTBUILD
This was done automatically with `mach eslint --fix`
2020-05-06 11:10:50 +12:00
Magnus Melin 9b1fec385c Bug 1609760 - Stop assigning properties to the global `this` in mailnewx/ JSMs (port bug 1608278). r=pmorris DONTBUILD
cp ../.gitignore .rgignore && rg -l -g '*.jsm' '' mailnews | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-assign.js

(Script from d2bbd6c459/no-this-property-assign.js)
2020-05-05 11:56:01 +03:00
Magnus Melin 7407ad1dea Bug 1634866 - remove StringBundle.jsm in favour of Services.strings. r=khushil 2020-05-04 13:56:33 +03:00
Ben Campbell 5b36009845 Bug 1612244 - Remove nsIArray usage from nsIMsgLocalMailFolder. r=mkmelin DONTBUILD 2020-05-03 13:53:40 +03:00
Magnus Melin 4eca7148be Bug 1630330 - followup - fix linting. rs=eslint 2020-05-02 13:55:24 +03:00
Thomas Duellmann 65761ef550 Bug 1630330 - Ensure AB search matches Last, First. r=darktrojan CLOSED TREE
--HG--
extra : histedit_source : a2771e396e9042db668d4585b040a087ee9db831
2020-05-01 08:52:55 +02:00
Ben Campbell f19c8962a3 Bug 1629204 - Avoid performing folder discovery during shutdown. r=mkmelin 2020-04-29 13:34:08 +03:00
Magnus Melin 8a6241e47f Bug 1632115 - disable TestMailCookie on windows (faking a channel is needed, but hard to do). r=rjl 2020-04-29 13:30:45 +03:00
Magnus Melin f8c283ee21 Bug 1631437 - fix display of smtp authentication method. r=khushil 2020-04-28 13:51:31 +03:00
Ben Campbell 0992f803c3 Bug 1612239 - Remove nsIArray use in nsIMsgFolderListener.msgsClassified(). r=mkmelin 2020-04-22 15:04:54 +12:00
Magnus Melin b00df3b6a9 Bug 1633144 - adjust array methods that are now infallible following bug 1628715. rs=bustage-fix
Build bustage 2020-04-25: nsAbView.cpp:298:25: error: no viable conversion from 'mozilla::NotNull<elem_type *>' (aka 'NotNull<AbCard **>') to 'DebugOnly<bool>'
2020-04-25 15:37:59 +03:00
Magnus Melin e5238e67fc Bug 1632847 - Port bug 1632021 to Thunderbird (Avoid QI between transaction classes). rs=bustage-fix 2020-04-24 17:06:56 +03:00
Magnus Melin 3210947429 Bug 1632115 - adjust gtest TestMailCookie.TestMailCookieMain for bug 1631565. rs=bustage-fix DONBTUILD
Channel is no longer allowed to be null
2020-04-22 15:14:44 +03:00
Geoff Lankow 6d378dfc7d Port bug 1631523 - Remove unused params in nsICookieService methods. rs=bustage-fix
--HG--
extra : amend_source : 7f7d4efc8cb56b3b2b947203cf8c443f994cdb7d
2020-04-21 17:24:26 +12:00
Magnus Melin ac0d3152e1 Bug 1528136 - add details to enable OAuth2 for Office 365. r=aleca 2020-04-20 20:28:09 +03:00
Ben Campbell d9cc983e28 Bug 1627437 - Add attributes to cope with [can_run_script] methods in nsITransaction (Bug 1619914). r=mkmelin DONTBUILD 2020-04-20 13:49:34 +03:00
Ben Campbell 76156bb896 Bug 1612239 - Remove nsIArray usage from various calls related to message deletion. r=mkmelin 2020-04-19 12:52:38 +03:00
Magnus Melin a135545ee1 Bug 1528136 - rename loginUrl to loginOrigin, since it's an Origin and not a URL. r=Fallen DONTBUILD 2020-04-16 13:51:23 +03:00
Magnus Melin aed31b2fbe Bug 1528136 - refactor OAuth2 variable namings to use normal terminology from RFC 6749. r=Fallen
Use standard terminology, and actually use the passed in endpoints! Not just setting them from outside later...
2020-04-16 13:51:12 +03:00
Rob Lemley 6d008137f1 Bug 1624429 - Remove execute bit from source files. r=darktrojan
This greens-up the mozlint "file-perm" check.

--HG--
extra : histedit_source : d8e2715f295c5375e882a024adf042c7d06b59e7
2020-04-02 15:03:58 -04:00
Magnus Melin cf3e85f8f8 Bug 1629275 - part3 - better fix for porting bug 1621674 to Thunderbird (Unify Localization.jsm, mozILocalization and Localization IDL). r=Paenglab DONTBUILD 2020-04-13 13:35:47 +03:00
Magnus Melin 40ab079168 Bug 1629275 - Port bug 1621674 to Thunderbird: Unify Localization.jsm, mozILocalization and Localization IDL. rs=bustage-fix
DONTBUILD

--HG--
extra : amend_source : d6300b6a0b8381112f718ca6f2c092e82c438ac6
2020-04-11 22:10:29 +03:00
Geoff Lankow e209f0fc8f Port bug 1620594 part 1: Change NS_ReleaseOnMainThreadSystemGroup to NS_ReleaseOnMainThread. rs=bustage-fix
--HG--
extra : amend_source : 28b6afaaceb561daf078588ca1c671e022ad7ea1
extra : histedit_source : 9b46a1a1b3bdb2cd4ad6e125262ba70a7a3bb4ce
2020-04-08 10:46:32 +12:00
Magnus Melin 818ec176e7 Bug 1627927 - Rewrite callers of chrome "redirects" chrome://messenger/skin/ to chrome://messenger/skin/messenger.css. r=pmorris
# Rewrite chrome://messenger/skin/ to chrome://messenger/skin/messenger.css
find . -type f -not -path "*.hg/*" -not -path "./suite/*" -not -path "./editor/*" -regex ".*\.\(js\|jsm\|css\|xhtml\)$" -exec sed -i -E 's#(chrome://messenger/skin/)"#\1messenger.css"#g' {} \;
2020-04-07 20:32:37 +03:00
Geoff Lankow 1fd52d986d Port bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. rs=bustage-fix 2020-04-07 17:30:20 +12:00
Magnus Melin 89f79029d9 Bug 1619914 - mark AddMarkAllReadUndoAction with MOZ_CAN_RUN_SCRIPT to make Thunderbird build again. rs=bustage-fix
--HG--
extra : amend_source : 2bc88c0342b9b7ad967d22c11b9e4a9b439ea77b
2020-04-04 15:23:36 +03:00
Ben Campbell 9629df0f2e Bug 1612239 - Remove nsIArray usage in nsIMsgAccount. r=mkmelin,pmorris DONTBUILD
--HG--
extra : amend_source : b649729b1240ab3ecd7f1274e780c5b32595c905
2020-04-04 13:54:36 +03:00
Alessandro Castellani 10390bdf7d Bug 1589005 - Implement new Account Hub for users with existing account. r=mkmelin, ui-r=paenglab 2020-03-31 11:01:02 -07:00
Magnus Melin 0ddefcdee3 Bug 1626161 - followup - rs=clang-format 2020-04-03 13:38:10 +03:00
Ben Campbell 60bff7fe42 Bug 1614846 - Remove nsIArray use in nsIMsgAccountManager.allFolders. r=mkmelin 2020-04-03 13:39:10 +03:00
Magnus Melin 5ac542c81b Bug 1627110 - Fix crash [@ nsMsgIncomingServer::GetDeferredServers]. r=benc
From https://searchfox.org/comm-central/diff/24d388390295016c8c3667b7ce46470d462cae0e/mailnews/base/util/nsMsgIncomingServer.cpp#1992
2020-04-03 13:39:03 +03:00
Ben Campbell 7dbc33f903 Bug 1614846 - Remove nsIArray use in nsIMsgAccountManager.getServersForIdentity(). r=mkmelin 2020-04-02 13:40:06 +03:00
Ben Campbell 143b1e4232 Bug 1614846 - Remove nsIArray use in nsIMsgAccountManager.getIdentitiesForServer(). r=mkmelin 2020-04-02 13:39:46 +03:00
Magnus Melin 8bd358de3c Bug 1626694 - <wizard> consumers need a linkset element with at least 1 FTL link (e.g. toolkit/global/wizard.ftl) to avoid missing button labels - following bug 1608200. r=darktrojan 2020-04-02 13:38:17 +03:00
Khushil Mistry c614b230a7 Bug 1626185 - Remove checked=false attribute from checkbox for the default unchecked. r=mkmelin
--HG--
extra : histedit_source : f1530564ed1526d645247efa326a09abe994b9ca
2020-04-02 20:03:19 +13:00
Geoff Lankow b907a037b5 Bug 1626161 - Minimize to tray on Windows. r=mkmelin
--HG--
extra : rebase_source : fa73d845780023ec680d9c3e17cf42049ce9dd6a
extra : amend_source : 96476da087e181ca751b059b34318794cfad3da7
2020-03-10 21:49:26 +13:00
Ben Campbell 24d3883902 Bug 1614846 - Remove nsIArray use in nsIMsgAccountManager.allServers. r=mkmelin
--HG--
extra : histedit_source : 46d8ceb77a0e906928f6c6b904d5046922dc9a79
2020-03-28 07:53:42 +13:00
Gene Smith ext:(%2C%20Magnus%20Melin%20%3Cmkmelin%2Bmozilla%40iki.fi%3E) 76628268ff Bug 841906 - make all the quotas the IMAP server sends us show up in the folder props. r=aleca,mkmelin 2020-03-31 16:20:25 +03:00
Ben Campbell 905f6832e3 Bug 1614846 - Add some more unit tests for nsIMsgAccountManager. r=mkmelin 2020-03-30 13:56:37 +03:00
Ben Campbell a1f9609134 Bug 1614846 - remove nsIArray use in nsIMsgAccountManager.allIdentities. r=mkmelin,pmorris 2020-03-30 13:56:24 +03:00
Magnus Melin e75d4aaecf Bug 1625792 - Remove nsIURIContentListener.onStartURIOpen (comm-central parts) r=emilio DONTBUILD 2020-03-30 13:11:57 +03:00
Magnus Melin f8194bc981 Bug 1625679 - Port bug 1551306: Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus(). r=Paenglab 2020-03-28 21:18:59 +02:00
Ben Campbell ea1625e0c7 Bug 1622979 - Ongoing comment improvements in IMAP code. r=mkmelin 2020-03-17 11:13:18 +13:00
Ben Campbell 1ff3b86940 Bug 1620314 - Disable print-progress dialog. It would fail to open and abort the print. r=mkmelin 2020-03-26 13:53:36 +13:00
Ben Campbell fa7d2d76ec Bug 1515254 - Loosen restrictive "From "-line matching during mbox->maildir conversions. r=mkmelin 2020-03-25 12:46:59 +02:00
Ben Campbell 619ea1c03e Bug 1515254 - Make mbox->maildir conversion 8-bit safe. r=mkmelin 2020-03-25 12:45:06 +02:00
Kai Engert d80579ad54 Bug 1603809 - Unified account preferences for S/MIME and OpenPGP. r=PatrickBrunschwig,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D65618

--HG--
rename : mailnews/extensions/smime/src/SMIMEService.jsm => mail/extensions/am-e2e/AME2E.jsm
rename : mailnews/extensions/smime/content/am-smime.inc.xhtml => mail/extensions/am-e2e/am-e2e.inc.xhtml
rename : mailnews/extensions/smime/content/am-smime.js => mail/extensions/am-e2e/am-e2e.js
rename : mailnews/extensions/smime/content/am-smime.xhtml => mail/extensions/am-e2e/am-e2e.xhtml
rename : mailnews/extensions/smime/src/components.conf => mail/extensions/am-e2e/components.conf
rename : mail/extensions/openpgp/prefs/openpgp-prefs.js => mail/extensions/am-e2e/prefs/e2e-prefs.js
extra : rebase_source : 2e190e1974693b218abd1a162589a55ad62c8420
2020-03-05 22:59:12 +01:00
Alessandro Castellani 5edc58a270 Bug 1589005 - Implement new Account Hub for centralized set ups. r=mkmelin, ui-r=paenglab 2020-03-16 12:55:31 -07:00
Magnus Melin cc92d6e091 Bug 1621587 - remove external API compatibility functions from nsMsgUtils.h. r=benc DONTBUILD
#define MsgLowerCaseEqualsLiteral(str, l) (str).LowerCaseEqualsLiteral(l)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgLowerCaseEqualsLiteral\((.+), (.+)\)/\1.LowerCaseEqualsLiteral(\2)/g" {} \;
sed -i -E "s/MsgLowerCaseEqualsLiteral\(([^,]+), */\1.LowerCaseEqualsLiteral(/g" mailnews/base/util/nsMsgDBFolder.cpp mailnews/compose/src/nsURLFetcher.cpp

#define MsgRFindChar(str, ch, len) (str).RFindChar(ch, len)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgRFindChar\(([^,]+), */\1.RFindChar(/g" {} \;

#define MsgCompressWhitespace(str) (str).CompressWhitespace()
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgCompressWhitespace\(([^,]+)\)/\1.CompressWhitespace()/g" {} \;

#define MsgReplaceSubstring(str, what, replacement) (str).ReplaceSubstring(what, replacement)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgReplaceSubstring\(([^,]+), */\1.ReplaceSubstring(/g" {} \;

#define MsgIsUTF8(str) mozilla::IsUtf8(str)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i 's/MsgIsUTF8/mozilla::IsUtf8/g' {} \;

#define MsgNewInterfaceRequestorAggregation(aFirst, aSecond, aResult) NS_NewInterfaceRequestorAggregation(aFirst, aSecond, aResult)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i 's/MsgNewInterfaceRequestorAggregation/NS_NewInterfaceRequestorAggregation/g' {} \;

#define MsgNewNotificationCallbacksAggregation(aCallbacks, aLoadGroup, aResult) NS_NewNotificationCallbacksAggregation(aCallbacks, aLoadGroup, aResult)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i 's/MsgNewNotificationCallbacksAggregation/NS_NewNotificationCallbacksAggregation/g' {} \;

#define MsgReplaceChar(aString, aNeedle, aReplacement) (aString).ReplaceChar(aNeedle, aReplacement)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgReplaceChar\(([^,]+), */\1.ReplaceChar(/g" {} \;

#define MsgFind(str, what, ignore_case, offset) (str).Find(what, ignore_case, offset)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgFind\(([^,]+), */\1.Find(/g" {} \;

#define MsgCountChar(aString, aChar) (aString).CountChar(aChar)
find . -type f -not -path "*.hg/*" -regex ".*\.\(c\|h\|cpp\)$" -exec sed -i -E "s/MsgCountChar\(([^,]+), */\1.CountChar(/g" {} \;

# Find files using mozilla:IsUTF8 but not including the header
grep --exclude-dir=.hg -rl "mozilla::IsUtf8" | xargs grep -L "mozilla/Utf8.h"

# Now remove defines from mailnews/base/util/nsMsgUtils.h manually
# + remove IsUtf8 from nsMSgUtils.h
cd ..
./mach clang-format -p comm/mailnews
2020-03-16 12:54:02 +02:00
Geoff Lankow 1710848fd7 Bug 1617960 follow-up - remove a stray semicolon. rs=linting-only DONTBUILD 2020-03-13 12:33:22 +13:00
Richard Marti ext:(%2C%20Khushil%20Mistry%20%3Ckhushil324%40gmail.com%3E) e69c5d38b2 Bug 1617960 - Add a favicon for the Account Manager tab. r=mkmelin 2020-03-12 21:41:35 +02:00
Richard Marti 60b9c24fe0 Bug 1617449 - Make the "Remove Account" dialog in-content. r=mkmelin 2020-02-24 12:44:26 +02:00
Geoff Lankow f43343ff15 Port bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. rs=linting-only DONTBUILD
--HG--
extra : amend_source : ac9f2ea254b5fbc66e2ef9ff52f3b659fc3d8c2b
2020-03-09 17:44:07 +13:00
Ben Campbell cdc5f11293 Bug 1614846 - Tweaks requested by clang-format. r=mkmelin
--HG--
extra : rebase_source : a0f81bbc5e3ee412a5ed6699d4e9b615fda1e78e
extra : histedit_source : ed61c2e701057264874a8c9564c682b2ed310c8b
2020-02-13 13:21:14 +13:00
Ben Campbell 64f99a59c4 Bug 1614846 - remove nsIArray use in nsIMsgAccountManager (part one: accounts). r=mkmelin
--HG--
extra : histedit_source : 0ae61a3d840bf390ad0175c1048195915e692910
2020-02-16 08:48:01 +13:00
Ben Campbell 16c1e1709b Bug 1618960 - Remove redundant MsgGetHdrsFromKeys() in nsMsgUtils. r=mkmelin 2020-03-06 10:04:26 +02:00
Geoff Lankow 16602ec6e7 Port bug 1619875 - Remove the third argument from nsICookieService.setCookieStringFromHttp. rs=bustage-fix 2020-03-05 18:53:27 +13:00
Jorg K 3209d5fd82 Bug 1618507 - Port bug 1604212: Set network.cookie.sameSite.laxByDefault to false for now. rs=bustage-fix 2020-02-29 20:50:40 +01:00
Magnus Melin 431bdfdec9 Bug 1604081 - Avoid using nsIURILoader::registerContentListener if possible. r=benc DONTBUILD 2020-02-26 12:55:33 +02:00
Magnus Melin 159c291b9a Bug 1612717 - the case where the OAuth2 token expired should be handled with success to retrigger the authentication flow. r=Fallen 2020-02-25 10:44:33 +02:00
Magnus Melin 17db13fe3a Backed out changeset 2a7bb79c9728 (bug 1617449) for test failures in comm/mail/test/browser/account/browser_deletion.js, comm/mail/test/browser/account/browser_settingsInfrastructure.js and comm/mail/test/browser/account/browser_tree.js 2020-02-24 14:54:57 +02:00
Richard Marti 73a32ff77f Bug 1617449 - Make the "Remove Account" dialog in-content. r=mkmelin 2020-02-24 12:44:26 +02:00
Magnus Melin 8d8e87a4df Bug 1606091 - make sure to remove folder listener before adding another one, to avoid crash [@ nsMsgMailSession::AddFolderListener(nsIFolderListener *,unsigned int)]. r=benc DONTBUILD 2020-02-24 11:59:49 +02:00
Ben Campbell fe88ef8962 Bug 1610406 - Make nsMsgWindow::GetMessageWindowDocShell() fail if docshell is being destroyed. r=mkmelin 2020-02-24 11:56:08 +02:00
Ben Campbell 090b8ae456 Bug 1610406 - Remove superfluous 'if' in nsMsgWindow::GetMessageWindowDocShell(). r=mkmelin 2020-02-24 11:55:55 +02:00
Jorg K 8ca5007982 Bug 1614796 - Body search: Strip soft line breaks in QP parts when assembling HTML body. r=benc 2020-02-23 08:59:56 +01:00
Kai Engert ba488ae32c Bug 1617371 - Remove callers to GetSelectedLocale. r=mkmelin 2020-02-22 14:24:39 +01:00
Richard Marti 6e3eab6ebb Bug 1615417 - Implement the subdialogs in Account Manager. r=mkmelin DONTBUILD 2020-02-19 12:36:42 +02:00
Gene Smith 03afe1aad4 Bug 1593611 - For accounts with OAuth2 authentication, make passwordPromptRequired false since the normal password won't be used. r=mkmelin
Having passwordPromptRequired true for accounts with OAuth2 authentication prevented them from being checked on "Get All New Messages" which do not include accounts which would need to ask for password in the process (and cause many prompts in the process).
2020-02-19 12:35:39 +02:00
Paul Morris 9e38602c05 Bug 1612166 - Move calendar skin files in 'lightning' directory into 'base' directory. r=Fallen,Paenglab
Eliminate the "chrome://lightning/skin/" and the
"chrome://lightning-common/skin/" paths.

--HG--
rename : calendar/lightning/themes/common/accountCentral.css => calendar/base/themes/common/accountCentral.css
rename : calendar/lightning/themes/common/html-item-editing.css => calendar/base/themes/common/html-item-editing.css
rename : calendar/lightning/themes/common/images/todayButton-arrow.svg => calendar/base/themes/common/images/todayButton-arrow.svg
rename : calendar/lightning/themes/common/imip.css => calendar/base/themes/common/imip.css
rename : calendar/lightning/themes/common/lightning-toolbar.css => calendar/base/themes/common/lightning-toolbar.css
rename : calendar/lightning/themes/common/lightning.css => calendar/base/themes/common/lightning.css
rename : calendar/lightning/themes/common/suite-accountCentral.css => calendar/base/themes/common/suite-accountCentral.css
rename : calendar/lightning/themes/linux/imip.css => calendar/base/themes/linux/imip.css
rename : calendar/lightning/themes/linux/lightning-toolbar.css => calendar/base/themes/linux/lightning-toolbar.css
rename : calendar/lightning/themes/linux/lightning.css => calendar/base/themes/linux/lightning.css
rename : calendar/lightning/themes/osx/imip.css => calendar/base/themes/osx/imip.css
rename : calendar/lightning/themes/osx/lightning-toolbar.css => calendar/base/themes/osx/lightning-toolbar.css
rename : calendar/lightning/themes/osx/lightning.css => calendar/base/themes/osx/lightning.css
rename : calendar/lightning/themes/windows/imip.css => calendar/base/themes/windows/imip.css
rename : calendar/lightning/themes/windows/lightning-toolbar.css => calendar/base/themes/windows/lightning-toolbar.css
rename : calendar/lightning/themes/windows/lightning.css => calendar/base/themes/windows/lightning.css
extra : rebase_source : 5a95c360872330fd1ec971c9af9844cac8e1a73f
extra : histedit_source : 376909b2d546d00d87490579ce373daa37015ef1
2020-02-10 15:36:59 -05:00
Magnus Melin dfc7cc0eeb Bug 1612776 - Remove usages of `display: -moz-groupbox` and `-moz-appearance: groupbox`, convert xul:groupbox to html:fieldset (port bug 1590180 to Thunderbird). r=khushil,pmorris
Lots of manual changes, and

grep -rl "<groupbox" --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -E -i "s/<groupbox/<html:fieldset/g"
grep -rl "</groupbox" --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -E -i "s#</groupbox#</html:fieldset#g"
grep -rEl "<label><html:h2>.*</html:h2></label>" --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor --include="*.xhtml" --exclude=".*" . | xargs sed -E -i "s#<label><html:h2>(.*)</html:h2></label>#<html:legend>\1</html:legend>#g"
2020-02-13 21:52:32 +02:00
Khushil Mistry 5bf9e210b3 Bug 1614469 - fix account settings tab is not necessarily going to the right account (when opened from chat accounts dialog). r=mkmelin 2020-02-13 12:25:18 +02:00
Richard Marti 93e30df23b Bug 1613758 - Update the Account Manager in Tab UI to match the Preferences Tab UI. r=aleca 2020-02-11 21:16:14 +01:00
Ben Campbell 5315df009e Bug 1612237 - Remove nsIArray use from nsIMsgFilter interface. r=mkmelin
--HG--
extra : amend_source : c5d07179e00a5c6ac0a3d2fcb83c8d09884fb59d
2020-01-30 13:00:05 +13:00
Paul Morris 6e32ae1683 Bug 1608610 - Integrate messenger-overlay-accountCentral.xhtml. r=Fallen
--HG--
extra : rebase_source : 7f082cbb0475ab86620dd7c69893238af3104228
2020-01-13 11:50:24 -05:00