Commit graph

67 commits

Author SHA1 Message Date
Matt A. Tobin
af2693fe73 Bug 342632 - Allow defaultAccount to return success with nullptr result when there is no usable account.
Tag #1273
2019-11-17 00:10:45 +08:00
Matt A. Tobin
14590876b2 Bug 1333038 - Use 'modern' pointers to fix crash due to nsMsgLineStreamBuffer object being deleted while still in use.
Suspected "use after free" in nsMsgLineStreamBuffer::ReadNextLine() leading to crash since object may be destroyed while still in use on another thread.

Tag #1273
2019-11-17 00:10:35 +08:00
Matt A. Tobin
3f68fdb0f4 Bug 1442648 - Fix mismatched types in mingw-w64 builds (const char16_t*/char16ptr_t).
When cross-compiling for Windows on Linux, fix mismatched types in nsMsgImapSearch.cpp. nsString::get() returns a char16ptr_t (with MOZ_USE_CHAR16_WRAPPER) and that causes a mismatch so we cast it to a const char16_t*. usAsciiCharSet is declared as a nsAutoString so we instead declare it as a char16_t* to avoid subsequent type mismatches.

Tag #1273
2019-11-17 00:10:29 +08:00
Matt A. Tobin
0f885aaad1 Bug 1317117 - call msgStore folder deletion during imap/news empty trash.
Also factors out some common code into nsMSgDBFolder::Delete(), and makes a couple of incidental changes to try and clarify the responsibilies of nsIMsgPluggableStore::DeleteFolder().

Tag #1273
2019-11-17 00:10:28 +08:00
Matt A. Tobin
497286a00b Bug 1416033 - remove some unneeded includes in mailnews
Tag #1273
2019-11-17 00:10:21 +08:00
Matt A. Tobin
c021f0c983 Bug 1393219 - Code clean-up: Style nits, typos and trailing spaces
Tag #1273
2019-11-17 00:10:17 +08:00
Matt A. Tobin
3141e9940a Bug 646901 - add error checking to fix crash in nsMsgXFVirtualFolderDBView::OnSearchHit().
dbToUse was null

Rag #1273
2019-11-17 00:10:12 +08:00
Matt A. Tobin
eaac1c967d Bug 1487082 - Resolve potential for build bustage regarding bad implicit conversion constructors
* Part 1: make conversion CTORs explicit.
  Minor tweaks to conform with new(ish) static analysis rule which flags up implicit single-argument conversion constructors.
* Part 2: fix a couple of double-mRefCnt declaration errors.
* Part 3: Fix unsafe use of NS_ConvertASCIItoUTF16().

Tag #1273
2019-11-17 00:10:10 +08:00
Matt A. Tobin
11084d5e8c Bug 1427732 - fix newline handling when copying messages and compacting folders.
Tag #1273
2019-11-17 00:10:07 +08:00
Matt A. Tobin
86d4e9d3a6 Bug 516464 - Remove passwords from cache when password manager contents are changed to prevent stale password attempts.
Tag #1273
2019-11-17 00:09:59 +08:00
Matt A. Tobin
d0d5ec75d5 Bug 1328847 - Change SEC_NORMAL to SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL where system principal is used.
Tag #1273
2019-11-17 00:09:57 +08:00
Matt A. Tobin
1531d6498d Issue #1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
2019-11-17 00:09:28 +08:00
Matt A. Tobin
971009881c Issue #1258 - Part 7: UXP Specific fixes
* This includes Bug 1326433 for Janek fallout (ldap already had this fix)
2019-11-17 00:09:17 +08:00
Matt A. Tobin
8c31c0427a Issue #1258 - Part 5: Only IceDove cares about Thunderbird's baby mode account creation 2019-11-17 00:09:14 +08:00
Matt A. Tobin
0641178442 Issue #1258 - Part 4: Remove Add IM Account from Account Manager 2019-11-17 00:09:12 +08:00
Matt A. Tobin
18ffebc2a1 Issue #1258 - Part 3: Make mailnews and friends build 2019-11-17 00:09:10 +08:00
Matt A. Tobin
e400f4130a Issue #1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1 2019-11-17 00:08:36 +08:00