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

6281 Коммитов

Автор SHA1 Сообщение Дата
alta88 85b0915a27 Bug 1524638 - Fix some cases of no error feedback via the folderPane icon, check error feeds again on startup (once). r=mkmelin 2019-02-01 12:38:43 -07:00
Neil Rashbrook 85b49f9943 Bug 1523904 - Fix crash in nsAbCardProperty::SetUID(). r=darktrojan 2019-02-06 10:17:00 +01:00
aceman 00f07c3069 Bug 1524751 - make associate_servers() take an incoming account instead of a server. r=jorgk 2019-02-02 23:36:06 +01:00
aceman 659a7e7075 Bug 1512837 - clean up logic in mailnews/base/content/dateFormat.js. r=jorgk 2019-02-02 12:40:00 +01:00
aceman 464883d399 Bug 1523048 - when copying a filter, copy its triggering events too (filterType). r=jorgk 2019-02-02 10:38:00 +01:00
Jorg K ecb3313949 Bug 1520643 - Follow-up: remove accidentally landed dump() calls. r=me DONTBUILD 2019-02-01 23:58:34 +01:00
Jorg K ba67ffefa1 Bug 1463266 - remove \n in NS_ASSERTION(). r=me 2019-02-01 20:30:16 +01:00
Magnus Melin 922650c562 Bug 1524504 - [de-xbl] remove menulist-compact binding (unused in Thunderbird). r=mkmelin 2019-02-01 11:28:40 +02:00
Geoff Lankow f1f10a1423 Bug 1522453 - Prevent mailing list member iteration from failing if a member has no email address. r=mkmelin 2019-01-25 15:51:47 +13:00
aceman aa50eb8889 Bug 1520643 - restore some 'const' imports in Gloda where possible and remove unneeded imports. r=jorgk 2019-02-01 13:03:26 +01:00
aceman bd8a32d2e8 Bug 1523384 - Fix menulists from custom elements inside our XBL bindings; r=darktrojan 2019-02-01 16:55:55 +13:00
Jorg K cf37b2e02a Bug 1520643 - Fix import for feed subscription. r+a=me DONTBUILD
--HG--
extra : amend_source : 36827e09d94f90aa9401bb8cccccff2cf8057b3a
2019-02-01 00:18:07 +01:00
Richard Marti 879d1a43fc Bug 1523384 - Restore the menulist binding after its removal in bug 1518932. r=mkmelin 2019-01-31 16:17:52 +01:00
Jorg K faf3ae81c7 Port bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks). rs=bustage-fix 2019-01-31 15:29:21 +01:00
Kai Engert ec7ddd303a Bug 1523818 - Don't pass null to nsDependentString() to fix crash in nsMapiHook::PopulateCompFieldsW. r=jorgk 2019-01-31 07:23:02 +01:00
Geoff Lankow 067ccad40b Bug 1520643 - Port bug 1514594: Fix some imports with two arguments. rs=bustage-fix,jorgk 2019-01-31 13:50:18 +01:00
Jorg K a3335fe096 Bug 1520643 - Follow-up: Restore line overzealously removed in rev 7f0addfafb82 (found by darktrojan). r=darktrojan DONTBUILD 2019-01-31 10:13:04 +01:00
Frank-Rainer Grahl 9fa3e51c23 Bug 1522761 - Use CC_TYPE in C-C build files. mail/ and mailnews/ part. r=rjl
Ports:
Bug 1031352 [move most of the _MSC_VER references in Makefile.in to moz.build].
Bug 1394734 [Replace CONFIG['CLANG_CXX'], CONFIG['GNU_CXX'] by CONFIG['CC_TYPE']].
2019-01-30 22:59:21 +01:00
Richard Marti 521675d55c Bug 1523527 - Bug 1514208 follow-up: Remove dummy elements in C-C. r=mkmelin
--HG--
extra : rebase_source : 2cd4237f563a83d834934f42b3c438a015640e29
2019-01-29 09:14:00 +01:00
Jorg K 738fdd7fcb Bug 1523846 - Follow-up: set 'rv' depending on alerts service allocation. rs=bustage-fix 2019-01-30 13:13:06 +01:00
Jorg K f1feb4d28f Bug 1523846 - Port bug 1478124: Replace use of NS_ALERTSERVICE_CONTRACTID. r=mkmelin 2019-01-30 12:45:07 +01:00
Jorg K 2aa1428838 Bug 1523846 - Port bug 1478124: Replace use of NS_APPSTARTUP_CONTRACTID and NS_URI_LOADER_CONTRACTID. r=mkmelin 2019-01-30 10:10:56 +01:00
Jorg K 800ba7394a Bug 1520643 - Revert changes to JSM files from rev ca94d6b0a917. a=backout 2019-01-30 09:56:17 +01:00
Geoff Lankow 0a77384a34 Bug 1520643 - Port bug 1514594: Change all call sites of ChromeUtils.import() to the "new" scheme; rs=bustage-fix DONTBUILD 2019-01-30 20:53:39 +13:00
aceman 028474d2b7 Bug 1520643 - convert 'const' imports to 'var' in account manager. r=darktrojan 2019-01-30 20:53:38 +13:00
aceman eb4fcd45e5 Bug 1520643 - convert some more 'const' imports to 'var'. r=darktrojan 2019-01-30 20:53:36 +13:00
Magnus Melin 06179f8d01 Bug 1520643 - Port bug 1514594: correct previous changesets by changing 'const' to 'var', various misc. fixes. rs=bustage-fix,jorgk 2019-01-29 22:21:26 +01:00
Jorg K d62e5fd533 Bug 1520643 - Port bug 1514594: Change import call sites manually in Gloda. rs=bustage-fix DONTBUILD 2019-01-29 16:19:53 +01:00
Geoff Lankow e0e6e32a52 Bug 1520643 - Port bug 1514594: Change import call sites manually which were missed. rs=bustage-fix,jorgk 2019-01-29 14:57:42 +01:00
Geoff Lankow 2efdc7aa13 Bug 1520643 - Port bug 1514594: Change import call sites manually to address linting errors. rs=bustage-fix,jorgk 2019-01-29 12:49:32 +01:00
Geoff Lankow ed26cc6a11 Bug 1520643 - Port bug 1514594: Change import call sites using kmag's script. rs=bustage-fix,jorgk 2019-01-29 11:25:29 +01:00
Ben Campbell 228f5d1f6f Bug 1508931 - Add unit test to check roundtrip maildir->mbox->maildir conversion. r=mkmelin
--HG--
extra : rebase_source : 98c62d7145114c84bb41c5c7be115a77ddd7f752
2018-12-19 13:52:40 +13:00
aceman 7c1976fc0e Bug 1522608 - remove most uses of eval() in C-C tests. r=darktrojan 2019-01-27 16:30:00 +01:00
Geoff Lankow 2dfa4fbed9 Bug 1522608 - remove uses of eval() in IMAP tests and Overlay.jsm. r=aceman 2019-01-26 05:37:00 +01:00
Jorg K 4bf9c01517 Bug 1522847 - Port bug 1522596: Remove reference to nsIIPCSerializableURI and implement Serialize() for AB, mailto and LDAP URLs. r=mkmelin 2019-01-25 22:54:30 +01:00
Geoff Lankow e90afdc7dc Bug 1515877 - Turn on ESLint in mailnews/addrbook; r=aceman 2019-01-25 17:32:10 +13:00
Geoff Lankow 022e117aa0 Bug 1521706 - Remove commented, unimplemented methods NotifyDeleteOrMoveMessagesCompleted, NotifyFolderLoaded; r=mkmelin 2019-01-24 17:53:42 +13:00
Geoff Lankow d1a0c81564 Bug 1521706 - When a listener is passed to nsIMsgFolder.deleteMessages, notify it on completion; r=mkmelin 2019-01-24 17:53:30 +13:00
alta88 87ebb7c86a Bug 1518150 - Don't sanitize folder names from ompl import. r=mkmelin 2019-01-22 18:50:13 -07:00
Jorg K b051dbd19d Bug 594239 - Follow-up: remove trailing space. rs=white-space-only DONTBUILD 2019-01-24 09:28:48 +01:00
Ben Campbell c70ec56d53 Bug 453908 - Add FindFolder() and GetOrCreateFolder() to nsMsgUtils. r=aceman 2019-01-21 14:51:42 +13:00
Ben Campbell e7da0245a6 Bug 453908 - rename GetOrCreateFolder() to GetOrCreateJunkFolder(). r=aceman
Old name is overly-general for what is a very specific function.
2019-01-21 12:17:06 +13:00
Ben Campbell 05d5aa7845 Bug 1491228 - refactored mbox<->maildir conversion (also fixes Bug 1135309). r=mkmelin
Solidifies interface between main thread and worker.
Handles a larger variety of "From " separator lines (Bug 1491228).
Is now tolerant of unquoted "From " lines in message bodies.
Unit tests for various mbox forms added.
The output maildir messages no longer include the "From " line
(Bug 1135309).
2018-12-06 20:46:25 +13:00
Jorg K 9c44c7e7b0 Backed out 3 changesets (bug 1521706) for test failures. a=backout
Backed out changeset 8283e69c9dfa (bug 1521706)
Backed out changeset e8392f4d3862 (bug 1521706)
Backed out changeset 424dfd930d60 (bug 1521706)
2019-01-24 09:04:14 +01:00
Geoff Lankow ace175d25d Bug 1521706 - Fix test function not expecting deleteMessages to notify listeners; rs=bustage-fix 2019-01-24 19:47:52 +13:00
Geoff Lankow 1d26a3998a Bug 1521706 - Remove commented, unimplemented methods NotifyDeleteOrMoveMessagesCompleted, NotifyFolderLoaded; r=mkmelin 2019-01-24 17:53:42 +13:00
Geoff Lankow ed4f9d1c0b Bug 1521706 - When a listener is passed to nsIMsgFolder.deleteMessages, notify it on completion; r=mkmelin 2019-01-24 17:53:30 +13:00
Jorg K cea1f0131c Bug 1521671 - Port bug 1514340: Implement nsIWebProgressListener.onContentBlockingEvent(), JS part. rs=bustage-fix 2019-01-22 09:53:30 +01:00
Jorg K 2b24aaec3a Bug 1521671 - Port bug 1514340: Implement nsIWebProgressListener.onContentBlockingEvent(), C++ part. rs=bustage-fix 2019-01-22 09:53:29 +01:00
Geoff Lankow 38672624a0 Bug 1520737 - Ensure UID property is persistent for mailing list cards; r=mkmelin 2019-01-22 17:09:03 +13:00
Jorg K d886cfea9c Bug 1521024 - Remove unused am-server-top.xul and username.label from am-server-top.dtd. r=Paenglab 2019-01-21 12:53:32 +01:00
Jorg K 582fd265ba Bug 594239 - Follow-up: Don't pass null to nsDependentCString. r=me DONTBUILD 2019-01-21 00:32:16 +01:00
Hiroyuki Ikezoe e410abbd9a Bug 594239 - Fix arguments of Simple MAPI functions that should be LPSTR. r=jorgk 2019-01-19 06:43:00 +01:00
Mike Kaganski a0d8d4db82 Bug 1521007 - Follow-up: also check for UTF-8 when copying file path. r=jorgk DONTBUILD 2019-01-19 03:38:00 +01:00
Jorg K f516ecf426 Bug 1521007 - Follow-up: fix variable name of UTF-8 indicator. r=me DONTBUILD 2019-01-19 08:11:36 +01:00
Mike Kaganski 6192962e26 Bug 1521007 - Support UTF-8 encoded MAPI data to avoid broken document names when sending documents from MS Word. r=jorgk
--HG--
extra : rebase_source : 3815f233bd8a7baaee7312d97a1229e71ed85276
2019-01-17 21:31:00 +01:00
Mike Kaganski 39773cbb15 Bug 1048658 - Implement MAPISendMailW(). r=jorgk
--HG--
extra : rebase_source : b5c18658594d8a723bbd8721a09ac4fbfc284481
2019-01-17 15:38:00 +01:00
Jorg K 3ff141e311 Bug 1520040 - Follow-up: use MOZ_CAN_RUN_SCRIPT_FOR_DEFINITION for function definitions. r=me 2019-01-18 00:28:20 +01:00
Mike Kaganski a2d7dc0217 Bug 393302 - Correct memory handling in MAPISendMail() and CMapiImp::SendMail() to fix "Send to > Mail Recipient" crash. r=jorgk 2019-01-17 01:35:00 +01:00
aceman 641f57d0a7 Bug 1259040 - fix compiler warning at nsMsgMaildirStore.cpp:66 related to const unsigned cast. r=BenC 2019-01-15 15:00:00 +01:00
aceman 58ef6ed8d6 Bug 1519742 - fix tests test_autoconfig*.js to run under Thunderbird. r=BenB
--HG--
rename : mailnews/base/test/unit/data/example.com.xml => mail/components/test/unit/data/example.com.xml
rename : mailnews/base/test/unit/test_autoconfigFetchDisk.js => mail/components/test/unit/test_autoconfigFetchDisk.js
rename : mailnews/base/test/unit/test_autoconfigUtils.js => mail/components/test/unit/test_autoconfigUtils.js
rename : mailnews/base/test/unit/test_autoconfigXML.js => mail/components/test/unit/test_autoconfigXML.js
2019-01-15 12:31:00 +01:00
Kai Engert 597840e0a0 Bug 1386601 - experimental patch to investigate Thunderbird topcrash, serializes S/MIME verification. rs=jorgk 2019-01-15 09:57:00 +01:00
aceman 549fa0765d Bug 1519712 - fix some Javascript errors in xpcshell tests. r=jorgk,jcranmer 2019-01-15 10:38:00 +01:00
Jorg K 396ab0d57e Bug 1518823 - Port bug 1482389: Remove acces via .treeBoxObject and .boxObject. rs=bustage-fix 2019-01-15 10:42:53 +01:00
Jorg K 9913cef015 Bug 1518823 - Port bug 1482389: Replace nsITreeBoxObject with XULTreeElement. rs=bustage-fix 2019-01-15 10:42:51 +01:00
Jorg K 20f5c433d0 Bug 1520040 - Port bug 1486521: Add MOZ_CAN_RUN_SCRIPT to two functions in nsMsgComposeService.cpp. rs=bustage-fix
--HG--
extra : rebase_source : 060662a2b40356975aec682c5236b628421905b6
2019-01-15 01:11:32 +01:00
Richard Marti f4dc0cd54c Bug 1519965 - Restore CSS formerly provided by .inset after its removal in bug 1516089. r=jorgk 2019-01-14 20:31:39 +01:00
Jorg K 1720131f38 Bug 1463266 - remove unneeded namespace qualifier in nsMsgCompose.cpp. r=me
--HG--
extra : rebase_source : f85a311ccb1f75f4dde714654ed9454170d63993
2019-01-14 19:14:04 +01:00
Jorg K 1a1771dd1d Bug 1259040 - Follow-up: Correct typos in logical or. r=me DONTBUILD 2019-01-13 10:31:04 +01:00
Jorg K 362a0870f0 Bug 1519628 - Tweak tests in msgFolderListenerSetup.js to avoid object comparisons. r=aceman 2019-01-12 20:49:59 +01:00
aceman bc642ea26f Bug 1519628 - do not listen for folder events when we do not want to check them in test_nsIMsgFolderListener{IMAP|Local}.js. r=jorgk 2019-01-12 09:12:00 +01:00
Jorg K 936a2719ee Bug 1519630 - Remove deprecated nsIMsgFolder.prettiestName. r=aceman 2019-01-12 13:20:54 +01:00
Jorg K f383ce2e20 Bug 1519387 - Follow-up: remove unneeded \n from logging and assertions in IMAP. r=me DONTBUILD 2019-01-12 10:14:00 +01:00
Jorg K cd33c34a11 Bug 1519554 - Port bug 181137, part 1 and 8: Changes to nsIContentIterator. rs=bustage-fix 2019-01-12 00:37:05 +01:00
Jorg K 4558b3ca8d Bug 1519387 - Follow-up: Add forgotten % in format specifier. rs=bustage-fix DONTBUILD 2019-01-12 00:16:45 +01:00
Gene Smith 0e5e83e448 Bug 1519387 - Implement IMAP cache logging. r=jorgk 2018-08-09 02:52:30 -04:00
Jorg K 6f47e62135 Bug 1519433 - Port bug 1513241: Adjust parameters of nsIWebNavigation.loadURI(). rs=bustage-fix 2019-01-11 17:58:38 +01:00
Ben Campbell ab062df16f Bug 1259040 - use Message-ID as basis for maildir file names, and add ".eml" extension. r=jorgk DONTBUILD 2018-11-23 19:41:53 +13:00
Jorg K bcc9d07056 Backed out changeset 67c263d7544b (bug 1491228) for test failures in test_converterImap.js. a=backout DONTBUILD 2019-01-11 10:41:15 +01:00
Jorg K e8c7994632 Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88
--HG--
extra : rebase_source : 9ea9ff2b422afbad9938aab51e4544172e70f21a
2019-01-11 09:50:24 +01:00
Ben Campbell 65294ab220 Bug 1491228 - refactored mbox<->maildir conversion, also fixing bug 1135309 (don't use "From -" for maildir files). r=mkmelin
Solidifies interface between main thread and worker.
Handles a larger variety of "From " separator lines (Bug 1491228).
Is now tolerant of unquoted "From " lines in message bodies.
Unit tests for various mbox forms added.
The output maildir messages no longer include the "From " line
(Bug 1135309).
2019-01-11 10:48:08 +02:00
aceman 3be8f95cb0 Bug 809066 - In the folder picker, generate the Recent and Favorites menus only if opened. r=mkmelin 2019-01-10 19:56:17 +13:00
Mihai 8dec78d392 Bug 546722 - show Favourite folders as a separate list in the folder picker. r=aceman,ui-r=bwinton 2019-01-05 09:25:00 +01:00
Alfred Peters 45d62c30d6 Bug 1498795 - Be more tolerant of spaces in base64-encoded RFC 2047 tokens. r=jorgk 2019-01-05 10:46:00 +01:00
Jorg K b19525679a Bug 1517464 - Fix crash in SMTP DTOR by properly initialising/testing pointer. r=aceman 2019-01-05 13:58:23 +01:00
Jorg K b468dbfd32 Bug 1517627 - Port bug 1517241: Rename nsIDocument to mozilla::dom::Document. rs=bustage-fix 2019-01-04 01:02:42 +01:00
Jorg K a900d79547 Bug 1517360 - Port bug 1517057, Part 1: Remove use of URI_FORBIDS_COOKIE_ACCESS. r=darktrojan DONTBUILD 2019-01-03 01:09:13 +01:00
Richard Marti fcd4cf69ea Bug 1517045 - Remove reference to the autocomplete-richlistbox binding in glodacomplete.css after its removal in bug 1516876. r=jorgk 2018-12-31 21:25:48 +01:00
Geoff Lankow cff00e9bcd Bug 1515877 - Turn on ESLint in mailnews/local; r=aceman 2019-01-01 11:21:26 +13:00
Richard Marti 0b45039e16 Bug 1516813 - Port Bug 1472557: Remove the "scrollbox" anonymous element from "richlistbox". r=jorgk DONTBUILD 2018-12-30 11:00:35 +01:00
Geoff Lankow ba556b8f42 Bug 1499617 - Folder tab (3-pane) WebExtensions API, mochitests; r=mkmelin 2018-12-30 20:32:50 +13:00
Geoff Lankow d080e8cc4b Bug 1499617 - Folder tab (3-pane) WebExtensions API; r=mkmelin 2018-12-30 20:32:40 +13:00
Jorg K e5b71d14a3 Bug 1516501 - Bug 1333038 follow-up: Convert forgotten use of nsMsgLineStreamBuffer to 'modern' pointer. r=darktrojan 2018-12-28 22:09:31 +01:00
Jorg K 594e7486df Bug 1516509 - add undisclosed-recipients when queueing message. r=aceman DONTBUILD 2018-12-28 10:31:24 +01:00
aceman 4eaa122240 Bug 1390337 - Remove some unused functions in nsIMsgDBView and nsIMsgHeaderParser. r=jcranmer,jorgk 2018-11-23 13:47:00 +01:00
Jorg K bc2c9a1382 Bug 1516320 - Follow-up: Initialise IsQP member variable where appropriate. r=darktrojan DONTBUILD 2018-12-27 09:59:00 +01:00
Jorg K 5e708c91f1 Bug 1516320 - Fix body search for QP-encoded messages using ISO-2022-JP. r=darktrojan 2018-12-26 22:56:53 +01:00
Geoff Lankow 8afdee6a69 Bug 1515877 - Turn on ESLint in mailnews/news; r=aceman 2018-12-24 23:52:29 +13:00
Magnus Melin 02e0c3883c Bug 1512963 - rename XUL .inc files to .inc.xul. r=aceman
find mail mailnews editor -name "*.inc" -type f ! -name defines.inc | xargs -I '{}' sh -c 'b=$(basename $1); find mail mailnews editor -type f  | xargs sed -i -e "s/$b/$b.xul/g"' -- {}
find mail mailnews editor -name "*.inc" -type f ! -name defines.inc | xargs -I {} hg mv {} {}.xul

--HG--
rename : editor/ui/dialogs/content/edImage.inc => editor/ui/dialogs/content/edImage.inc.xul
rename : mail/base/content/editContactPanel.inc => mail/base/content/editContactPanel.inc.xul
rename : mail/base/content/helpMenu.inc => mail/base/content/helpMenu.inc.xul
rename : mail/base/content/macWindowMenu.inc => mail/base/content/macWindowMenu.inc.xul
rename : mail/base/content/mainCommandSet.inc => mail/base/content/mainCommandSet.inc.xul
rename : mail/base/content/mainKeySet.inc => mail/base/content/mainKeySet.inc.xul
rename : mail/base/content/mainMailToolbox.inc => mail/base/content/mainMailToolbox.inc.xul
rename : mail/base/content/mainNavigationToolbox.inc => mail/base/content/mainNavigationToolbox.inc.xul
rename : mail/base/content/mainPopupSet.inc => mail/base/content/mainPopupSet.inc.xul
rename : mail/base/content/mainStatusbar.inc => mail/base/content/mainStatusbar.inc.xul
rename : mail/base/content/msgAttachmentView.inc => mail/base/content/msgAttachmentView.inc.xul
rename : mail/base/content/msgHdrPopup.inc => mail/base/content/msgHdrPopup.inc.xul
rename : mail/base/content/msgHdrView.inc => mail/base/content/msgHdrView.inc.xul
rename : mail/base/content/quickFilterBar.inc => mail/base/content/quickFilterBar.inc.xul
rename : mail/components/addrbook/content/abCard.inc => mail/components/addrbook/content/abCard.inc.xul
rename : mail/components/compose/content/editFormatButtons.inc => mail/components/compose/content/editFormatButtons.inc.xul
rename : mail/components/im/content/chat-menu.inc => mail/components/im/content/chat-menu.inc.xul
rename : mail/components/im/content/chat-messenger.inc => mail/components/im/content/chat-messenger.inc.xul
rename : mail/components/preferences/doctype.inc => mail/components/preferences/doctype.inc.xul
rename : mailnews/base/prefs/content/am-addressing.inc => mailnews/base/prefs/content/am-addressing.inc.xul
rename : mailnews/base/prefs/content/am-copies.inc => mailnews/base/prefs/content/am-copies.inc.xul
rename : mailnews/base/search/content/searchTerm.inc => mailnews/base/search/content/searchTerm.inc.xul
rename : mailnews/extensions/smime/content/am-smime.inc => mailnews/extensions/smime/content/am-smime.inc.xul
2018-12-23 14:49:49 +02:00
Geoff Lankow 11c85f9095 Bug 1515877 - Turn on ESLint in mailnews - move more-specific rules into mailnews/extensions/newsblog. r=aceman 2018-12-21 22:12:14 +13:00
Jorg K d28eed1aef Bug 1516075 - Port bug 1497995: Changed arguments of nsDocShellLoadState CTOR. rs=bustage-fix 2018-12-22 10:13:39 +01:00
Magnus Melin da44e26ec1 Bug 1512884 - remove broadcasters from mailnews/. r=aceman 2018-12-09 23:06:41 +02:00
Jorg K 9ec827c71b Bug 1515337 - Bug 1512356 follow-up: Make nsMsgMailNewsUrl implement nsIIPCSerializableURI. rs=mkmelin DONTBUILD 2018-12-20 10:29:06 +01:00
Gene Smith b81da8a541 Bug 583677 - Fix so custom tags (keywords) are visble to all users. r=jorgk
See Bug 583677 comment 85 for basic description of the fix.
2018-12-18 15:55:57 -05:00
R Kent James 203a3a67d4 Bug 906469 - fix maildir crash while parsing a folder. r=jorgk 2018-12-16 13:28:00 +01:00
Magnus Melin db10aabbca Bug 1514483 - [mail] simplified loops for Services.catMan.enumerateCategory; r=aceman
Paces affected:
 - Options | Attachments | Outgoing | Add...
 - Account manager - extension added panes
 - custom mime encoders [testing covered by unit test]
2018-12-15 15:41:26 +02:00
Magnus Melin 71fceae99f Bug 1514522 - remove link to 3rd party site for account type add-ons. r=jorgk 2018-12-15 23:16:41 +02:00
Ben Bucksch e3b0cf8d63 Bug 1500105 - Support Exchange AutoDiscover and parallelize network calls. r=aceman,mkmelin,Neil
Summary:
* Parallelize network calls
* Exchange AutoDiscover protocol implementation
* Try to find IMAP servers in the server response
* Offer to install an extension which supports the Exchange protocol to get mails

Runs all the ISP config lookup network calls in parallel. Class
PriorityOrderAbortable (subclass of ParallelAbortable) implements a
policy that waits until one of the calls returns successfully, then takes
that result and cancels all pending less desirable calls.

Implements the Exchange AutoDiscover protocol to detect Exchange servers.
If the server gives an IMAP configuration, we offer that to the user.
Alternatively, we offer a compatible verified extension that implements the
specific Exchange protocol that the Exchange server returned.
Exchange has at least 7 protocols, and we show extensions that support the
protocols that the server listed and that are known to work well and actively
maintained. The setup process then continues without interruption.

Test plan:
Exchange autoconfig:
1. To test Exchange AutoDiscover with an hotmail/outlook.com account
   (which has an IMAP config in our ISPDB), set these prefs:
   mailnews.auto_config.guess.enabled = false
   mailnews.auto_config_url = ""
   mailnews.mx_service_url = ""
2. Enter you@outlook.com and a valid password (it will not work without
   valid password, due to the Exchange AutoDiscover protocol design)
3. [Continue]
4. -> TB should find an Exchange server with hostname
5. -> TB will offer you to install an extension that supports this protocol type,
      with explanatory text and a link
6. Click [Install]
7. -> The password is checked, the dialog closes, and the account appears,
      and your emails are downloaded.

Parallel network calls:
1. Open account creation dialog
2. Enter "foo@gmail.com", "foo@yahoo.com", "foo@sys4.de",
   "foo@example.com", or any other domain
3. -> It works functionally as before, see https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration
4. -> It's faster than before

Differential Revision: https://phabricator.services.mozilla.com/D9215
2018-12-14 12:05:14 +01:00
Neil Rashbrook 1d19189bab Bug 1512612 - Don't try to create folders for unloaded extensions. r=aceman 2018-12-07 04:49:00 +01:00
Geoff Lankow 548196f1dc Bug 1513449 - Port bug 1415483: changes to reject-importGlobalProperties rule. r=jorgk DONTBUILD
--HG--
extra : rebase_source : a950d6944b70b4d35d00c0cdf37f2be151e1ceac
extra : amend_source : d17b20436d5a249520ef68b319e5647fdb024a6c
2018-12-12 19:58:45 +13:00
Jorg K d656a7d38f Bug 1512977 - Part 2: Stop relying on x-mac-croatian for testing. r=mkmelin 2018-12-11 23:01:43 +01:00
Jorg K 187a9d5f26 Bug 1512977 - Part 1: Remove charset aliases for unsupported x-mac-NNNNN and MUTF-7, remove hard-coded x-windows-949. r=hsivonen 2018-12-11 23:01:41 +01:00
Geoff Lankow 80063ae271 Bug 1511885 - Stop writing to disk every time a card is accessed. r=jorgk
--HG--
extra : rebase_source : 8cb14447af70f1d71b6ae9385301a6d9b697aacf
2018-12-05 16:15:07 +13:00
Henri Sivonen 780576b181 Bug 820767 - Recognize plausible legacy Java-style encoding names and comment the alias file. r=jorgk DONTBUILD
* ms-prefixed labels for code pages in common with DOS and Windows (excl 866)
 * cp-prefixed labels for code pages in common with DOS and Windows (group existing)
 * No-hyphen label for ISO-2022-JP
 * Underscore labels for Unix CJK encodings
 * Remove some aliases for encodings that aren't supported
 * Map ISO-8859-1 aliases to windows-1252
 * Correct the case of gbk to GBK
 * Group UTF-7 labels together
 * Document all entries (even old ones)
2018-12-09 01:47:00 +01:00
Jorg K c0aedb277d Bug 1297118 - Remove comment referring to bug 1297118. rs=comment-only DONTBUILD 2018-12-10 09:42:56 +01:00
aceman fb815dec04 Bug 1463266 - clean up white-space in mailnews/base/content/dateFormat.js. r=jorgk 2018-12-08 15:07:00 +01:00
aceman 6ff0a001e7 Bug 1512808 - fix date format detection in initLocaleShortDateFormat(). r=jorgk DONTBUILD 2018-12-08 14:57:00 +01:00
Geoff Lankow c92ecd579e Bug 1512557 - Convert nsIStringBundle pointers to nsCOMPtrs and release them when shutting down. r=jorgk DONTBUILD 2018-12-07 14:58:20 +13:00
Jorg K 0b911ce14b Bug 1512356 - Follow-up: Create NS_MSGMAILNEWSURL_CID and related items. rs=bustage-fix 2018-12-08 02:56:25 +01:00
Jorg K 04a8c686be Bug 1512356 - Make nsMsgMailNewsUrl serialisable in a rudimentary way. rs=bustage-fix 2018-12-07 12:10:18 +01:00
Jorg K 68f11f7465 Bug 1511950 - Add GetCharsetAlias() call to JS Mime. r=mkmelin 2018-12-05 23:05:58 +01:00
Richard Marti 6a270f2c4f Bug 1512215 - Port bug 1429940, part 2: Use HTML headings inside the "label" element for labeling "groupbox" elements in Preferences instead of the "caption" element. r=jorgk 2018-11-26 17:50:49 +01:00
aceman 20e22daf68 Bug 1508415 - Convert some remaining cases where MailServices.jsm and Services.jsm can be used in Thunderbird JS files. r=mkmelin 2018-12-01 06:05:00 +01:00
Jorg K ef60e0a0cf Bug 1511950 - Add missing calls to GetCharsetAlias() to take Thunderbird's aliases into account. r=mkmelin 2018-12-05 11:27:59 +01:00
Jorg K c7363436b8 Bug 1512081 - Backed out 4 changesets from bug 1495184. a=backout
Backed out changeset 93d3584af75b (bug 1495184)
Backed out changeset ae62e27f1265 (bug 1495184)
Backed out changeset 17f0a541d7ac (bug 1495184)
Backed out changeset 759a21c4e0f9 (bug 1495184)
2018-12-04 23:26:35 +01:00
Alfred Peters 464f456f29 Bug 390721 - When parsing headers to cancel an article, also use folded lines. r=jorgk 2018-12-02 08:59:00 +01:00
Jorg K 5245dd0271 Bug 1511723 - Change default of mailnews.reply_to_self_check_all_ident to true. r=mkmelin
--HG--
extra : rebase_source : ba070a44fc242753c6371530c00216b6e0c3b7a4
2018-12-02 18:29:45 +01:00
Bill Gianopoulos 168d41e9bc Bug 1511654 - Port bug 1505601 [Change nsIDocShell constant lists to be a CEnum type] to SeaMonkey. r=frg DONTBUILD 2018-11-30 18:27:03 -05:00
Ben Campbell 5da37f6ee9 Bug 1508851 - fix for nsIMsgLocalMailFolder unit test. r=mkmelin
One of the tests was calling an nsIMSgLocalMailFolder method on what _should_ have been an nsIMsgFolder object.
Also a minor typo fix to reuse a previously-defined variable rather than creating a new one.
2018-11-21 12:06:51 +13:00
aceman 1c5daca403 Bug 1426328 - remove surrounding spaces when storing values from textboxes in account manager. r=mkmelin 2018-11-19 15:40:00 +01:00
Jorg K ba544818de Bug 1505911 - Adapt to mozITXTToHTMLConv API changes (AString instead of wstring) in C-C. r=valentin 2018-12-01 14:28:51 +01:00
aceman 4b8113d733 Bug 344157 - properly check success of GetMDBFactory(). r=jorgk 2018-11-30 13:02:00 +01:00
Arshad Khan 6f068fde4b Bug 1489172 - Replace ruleactiontarget bindings with custom element. r=mkmelin,aceman 2018-11-26 13:20:50 +05:30
aceman e4a839d03a Bug 1498041 - Turn on ESLint in mail/base/content: fix one more undefined nsMsgViewCommandType variable. r=jorgk 2018-11-30 14:02:00 +01:00
Jorg K 5700b710ec Bug 809513 - Only notify for new mail in Inbox and non-special/virtual folders. r=aceman 2018-11-30 22:39:30 +01:00
Jorg K 557cc4da75 Bug 809513 - Backed out 2 changesets to make way for a correct solution. a=backout DONTBUILD
Backed out changeset 9063f5e11b9e (bug 809513)
Backed out changeset 6d2e32bd9729 (bug 809513)
2018-11-30 03:11:58 +01:00
Richard Marti be5b04aea3 Bug 1511170 - Port bug 1498448: Migrate Certificate Manager Dialog to use fluent for localization. r=jorgk 2018-11-29 22:10:28 +01:00
Jorg K 8243a964d3 Bug 809513 - Don't notify for new mail in Sent folder. r=me 2018-11-30 00:40:33 +01:00
Gene Smith 846d62bdde Bug 809513 - Prevent unread Drafts from showing in new mail notification. r=aceman
Change mainly affects Windows. However, Linux integration also changed so that it
also allows new mail notification to occur for folder with SentMail flag.

--HG--
extra : rebase_source : a1b89aef043ed6187161f6c853845a569ce219e8
2018-08-06 22:10:03 -04:00
Jorg K 9413e9bd7e Bug 1510943 - make windows.h lowercase as it should be. r=me 2018-11-29 10:32:27 +01:00
Jorg K 55b42db220 Bug 1509685 - Add more bounds checking in nsMsgDBView::UpdateDisplayMessage() to avoid crashes, take 2. r=alta88 2018-11-28 21:48:00 +01:00
Geoff Lankow 0054596a8d Bug 1508942 - Remove more plugins code; disable plugins by content policy. r=mkmelin 2018-11-28 10:29:36 +13:00
Magnus Melin 523beb0cab Bug 1508209 - remove broadcasters from mail/components/addrbook/. r=aceman 2018-11-27 11:28:01 +02:00
Jorg K 33f9baf716 Bug 1510472 - Add null check to avoid crash due to nsDependentCString(null). r=mkmelin DONTBUILD 2018-11-28 10:14:26 +01:00
Jorg K faf481cb2c Bug 1470049 - Partially revert rev 40f5ba35583 (bug 1385573) to fix insertion into threaded unified/search view. a=backout DONTBUILD 2018-11-28 10:06:46 +01:00
Jorg K d3986dbe90 Bug 1510028 - Add null check to avoid crash due to nsDependentCString(null). r=mkmelin 2018-11-27 23:10:19 +01:00
Jorg K e008e05fa1 Bug 1509685 - Add more bounds checking in nsMsgDBView::UpdateDisplayMessage() to avoid crashes. r=alta88 2018-11-27 21:11:03 +01:00
aceman 786a802861 Bug 1509586 - Look for requireEncryptMessage in params.smFields in msgCompSecurityInfo.js. r=mkmelin 2018-11-25 11:55:00 +01:00
Magnus Melin f4a60c026d Bug 1271353 - check own email addresses case-insensitively in correspondents column and ignore plus addressing part. r=jorgk 2018-11-21 10:40:25 +02:00
Jorg K d8f8402679 Bug 1401858 - add null check to avoid crash in EncodedHeader()/DecodedHeader(). r=mkmelin
--HG--
extra : rebase_source : 854c0e9f4a781b30d9fafa5b77a5dd8d24247b4e
2018-11-25 23:28:26 +01:00