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

6809 Коммитов

Автор SHA1 Сообщение Дата
aceman a2b3e6c5ce Bug 949135 - make number of items in Recent folders list configurable. r=jorgk,ui-r=aleca 2019-10-12 13:06:00 +02:00
Paul Morris 75c5a2a25a Bug 1587587 - Show an alert if a new mailing list name won't work. r=darktrojan 2019-10-12 23:32:03 +02:00
Jorg K a2b1e0c74a Bug 1588006 - Port bug 1553804: Use correct window opener when opening LDAP panel for add/edit. r=aceman 2019-10-12 22:38:29 +02:00
Alessandro Castellani 52b2b42f36 Bug 1583415 - Autoresize askSendFormat dialog to not let the buttons go out of view. r=Paenglab 2019-10-08 16:39:21 -07:00
Jorg K 21358aa201 Bug 1588057 - Port bug 1578624: Add 'set navigating' argument of nsIDocShell.loadURI() calls. Also hack namespace issue in nsDocShellLoadState.h. rs=bustage-fix 2019-10-11 13:13:59 +02:00
Jonathan Kamens 30e95fd412 Bug 1587551 - Fix address book CSV export when Notes field contains quotation marks. r=jorgk 2019-10-09 23:00:01 +02:00
Geoff Lankow 18cf043d58 Bug 1587012 - Create header files for nsImportAddressBooks.cpp and nsImportMail.cpp. r=jorgk 2019-10-09 18:44:11 +02:00
Jorg K becdd368fb Bug 1463266 - remove \n in MOZ_LOG and NS_ERROR. r=me DONTBUILD 2019-10-09 11:43:54 +02:00
Jorg K dea52ed838 Bug 1586494 - Follow-up: Reformat. rs=reformat 2019-10-09 11:36:04 +02:00
Richard Marti 47852c89a9 Bug 1586566 - Tweaks for the input type="number" to make the spinbuttons align better. r=aleca,jorgk DONTBUILD 2019-10-08 11:43:51 +02:00
Geoff Lankow 82eae45e13 No bug - Tidy some poor formatting in IDL files; rs=white-space-only 2019-10-08 20:34:06 +13:00
Geoff Lankow 3a2df0ff45 Bug 1581765 - Migrate existing Mork address books to JS provider - tests; r=mkmelin 2019-10-02 17:14:17 +13:00
Geoff Lankow 70a7f8692d Bug 1581765 - Migrate existing Mork address books to JS provider; r=mkmelin
--HG--
extra : amend_source : 2b569a88452da1c056f727c83900be36986da4e2
2019-10-07 20:31:06 +13:00
Emilio Cobos Álvarez e3a4ce7e10 Bug 1586494 - Strengthen threading assertions in IMAP code. r=jorgk
I've been crashing on imap code two or three times. It wouldn't be fun if these
assertions were the culprit, but an NS_WARNING_ASSERTION is not going to find out.

So make these MOZ_DIAGNOSTIC_ASSERT.

Differential Revision: https://phabricator.services.mozilla.com/D48251
2019-10-05 11:14:17 +00:00
Jorg K 6c35d7efb9 Backed out 2 changesets (bug 1581765) for Xpcshell failures on Windows. a=backout DONTBUILD
Backed out changeset 72b1cec1260e (bug 1581765)
Backed out changeset f8e09ea17f2a (bug 1581765)
2019-10-07 12:37:50 +02:00
Richard Marti 823abcb520 Bug 1586572 - Let the msgTrashFolderPicker menulist flex to show more of the label. r=jorgk DONTBUILD 2019-10-07 10:59:37 +02:00
Ben Campbell b77a40b9cd Bug 1562158 - Remove xpidl [array] use from nsIMsgHeaderParser. r=jorgk 2019-10-07 10:34:11 +02:00
Ben Campbell 31b6198a05 Bug 1562158 - Remove xpidl [array] use from nsIMsgTagService. r=jorgk 2019-10-07 10:30:15 +02:00
Geoff Lankow 71cfd0f310 Bug 1581765 - Migrate existing Mork address books to JS provider - tests; r=mkmelin
--HG--
extra : rebase_source : 788b9db210e0bd4d47fa89895ba0e40b4dad4add
extra : amend_source : 6a871e4099b4dc09b5877285cf525325954ab99c
extra : histedit_source : 3e32858956c90ebaa9b866d33bf24744943e3f27
2019-10-02 17:14:17 +13:00
Geoff Lankow 2e0cbeb75c Bug 1581765 - Migrate existing Mork address books to JS provider; r=mkmelin
--HG--
extra : rebase_source : 4197159e2a396cd45b9b8dcf8f478a37228acee5
extra : histedit_source : 127595cfe4d9f986ef21f8cfeef1bbba8f25956c%2C5c3580d3a58b15c5ecd25fe7a91ec36e7c0f2d2c
2019-10-07 20:31:06 +13:00
aceman 42a255f54b Bug 1586613 - move msgFolderPickerOverlay.js to suite/ as it isn't used in Thunderbird. r=jorgk,frg
--HG--
rename : mailnews/base/content/msgFolderPickerOverlay.js => suite/mailnews/content/msgFolderPickerOverlay.js
2019-10-06 13:31:00 +02:00
Ben Campbell 7393acaee0 Bug 1562158 - Remove xpidl [array] use from msgIStructuredHeaders. r=mkmelin DONTBUILD 2019-10-04 11:59:29 +13:00
Ben Campbell d418ff2bc7 Bug 1562158 - Remove xpidl [array] use from nsIImapMailFolderSink. r=jorgk
--HG--
extra : rebase_source : 311256a0adf860f67e35fd5db5265615023a80dc
2019-09-26 13:53:44 +12:00
Paul Morris 3c562e0572 Bug 1584211 - Fix mailing list edit dialog bugs. r=mkmelin
--HG--
extra : rebase_source : 0f3642cc1664866802e43d9c3890f13a6631a02e
2019-10-03 10:05:05 -04:00
Geoff Lankow d4ff0e213d Bug 1586167 - Change AddrBookCard.generateName function to match old behaviour. r=mkmelin 2019-10-04 16:27:16 +13:00
Alessandro Castellani eb48022ca7 Bug 1584450 - replace <textbox> in folderProps.xul, markByDate.xul, *FolderDialog.xul, virtualFolderProperties.xul. r=mkmelin
Replace <textbox> in mailnews/base/content/.
2019-10-03 18:53:01 -07:00
Ben Campbell 8301a9dc6e Bug 1585512 - Remove deprecated nsIMsgHeaderParser::parseHeadersWithArray. r=mkmelin 2019-10-03 23:02:57 +02:00
Magnus Melin 2cbe201be3 Bug 1584462 - replace <textbox> in am-newsblog.xul, feed-subscriptions.xul, feedAccountWizard.xul, am-smime.inc.xul. r=aleca 2019-10-02 22:36:15 +03:00
Alessandro Castellani 3aad859820 Bug 1584459 - replace <textbox> in am-copies*.xul, am-identity-edit.xul, am-main.xul, am-server*.xul, am-smtp.xul. r=mkmelin 2019-10-02 12:49:12 -07:00
Geoff Lankow da1c9fb3f2 Bug 1577436 - Re-enable tests fixed by bug 1576525; rs=me DONTBUILD
--HG--
extra : rebase_source : b52b51fdb21c7769d782bc39c67302e88f3dd332
extra : amend_source : 8fc7390ab03a55f8ec4ae821b6b3b438c8474def
2019-10-02 17:15:05 +13:00
Khushil Mistry c1eb386b96 Bug 1585244 - remove <row> usage from am-server-advanced.xul. r=mkmelin 2019-10-01 00:35:00 +02:00
Alessandro Castellani e58e53f950 Bug 1584460 - replace <textbox> in CustomHeaders.xul, FilterListDialog.xul, FilterEditor.xul. r=mkmelin 2019-09-27 18:32:14 -07:00
alta88@fixall.com 46e8adc389 Bug 1584748 - Do not clear secondary sort if sort is byDate. r=jorgk 2019-09-27 22:26:02 -06:00
Jorg K b70619d394 Bug 1584558 - Replace clumsy loops using Replace() with single character replacement in nsMsgBodyHandler::Base64Decode(). r=aceman 2019-09-30 10:02:38 +02:00
aceman 52226ddc49 Bug 820604 - check if m_dbFolderInfo is set in nsNewsDatabase::SyncWithReadSet. r=jorgk 2019-09-29 23:43:17 +02:00
Ben Campbell 89c2dfeec9 Bug 1584473 - Fix undefined HRESULT codes in class CMapiApi in MapiApi.cpp. r=jorgk 2019-09-30 09:56:25 +13:00
Jorg K d0671f3bcc Bug 1584822 - add try/catch around MimeTextDecoder() in convert8BitHeader(). r=aceman 2019-09-29 19:16:54 +02:00
Jorg K b737b6ba2e Bug 1555471 - add try/catch around MimeTextDecoder() in MimeParser._startBody(). r=aceman 2019-09-29 23:13:55 +02:00
Jorg K 6d27bff487 Bug 726655 - Add null check in nsMsgDBView::GetThreadContainingMsgHdr() to avoid crash. r=alta88 DONTBUILD 2019-09-29 10:25:14 +02:00
Ben Campbell a3914ac40b Bug 1562158 - Remove xpidl [array] use from nsIMsgTraitService. r=jorgk 2019-09-26 11:16:06 +12:00
Ben Campbell 6ac0670a6e Bug 1562158 - Remove xpidl [array] use from nsIMsgSearchValidityTable. r=aceman 2019-09-25 17:06:26 +12:00
aceman 43d2e12281 Bug 786683 - check success of GetFilePath() throughout nsMsgBrkMBoxStore.cpp. r=jorgk 2019-09-28 12:40:00 +02:00
Jorg K bf32667c36 Bug 1584473 - Fix doubled up sub-expressions in MIME and MAPI. r=aceman 2019-09-28 21:45:25 +02:00
Richard Marti 2845fa0a2a Bug 1584697 - Let the values in the serverInfoBox use the whole width. r=jorgk 2019-09-28 20:25:14 +02:00
Alessandro Castellani 057ef2bd71 Bug 1584458 - replace <textbox> in SmtpServerEdit.xul. r=mkmelin
--HG--
extra : rebase_source : c80f08dffe4652f2f8628e6a0816cd03fbfab4ee
2019-09-27 14:25:04 -07:00
Magnus Melin bc328ef17a Bug 1584463 - replace <textbox> in importDialog.xul. r=aleca DONTBUILD 2019-09-27 11:09:15 +03:00
Jorg K 1c909104d5 Bug 1376189 - Make VCFullNameProp a field so VCQuotedPrintableProp can be stored with it. r=aceman 2019-09-22 19:47:11 +02:00
Jorg K 28b6fe1c34 Bug 1584648 - Port bug 1402957: Replace TestPermission with TestPermissionFromOrigin in tests. rs=bustage-fix 2019-09-28 03:30:18 +02:00
Jorg K 669185db4a Bug 1584648 - Port bug 1402957: Replace TestPermission with TestPermissionFromOrigin. rs=bustage-fix 2019-09-28 00:52:25 +02:00
Alessandro Castellani a96de11cc6 Bug 1584457 - replace <textbox> in AccountWizard.xul. r=mkmelin 2019-09-27 13:29:30 -07:00
Alessandro Castellani cef782e5bf Bug 1584454 - replace <textbox> in mailnews/addrbook/content/abAddressBookNameDialog.xul. r=mkmelin 2019-09-27 10:58:51 -07:00
Magnus Melin b93692f4b0 Bug 1584122 - clean out some xbl related functionality: getAnonymousElementByAttribute, getAnonymousNodes. r=pmorris 2019-09-26 15:59:36 +03:00
Jorg K d400e30967 Bug 1584026 - Follow-up: Fix linting. rs=white-space-only DONTBUILD 2019-09-27 09:44:29 +02:00
Geoff Lankow 85e495d01e Bug 1584026 - Fix broken field map dialog checkboxes for address book import. r=mkmelin DONTBUILD 2019-09-27 09:24:43 +02:00
Jorg K 139be1bd31 Bug 1584124 - Add missing wildcard asterisk to 'Supported Address Book Files' file filter. r=Paenglab 2019-09-26 19:09:26 +02:00
Magnus Melin a8c6db8009 Bug 1583713 - Port bug 1581956: Replace textbox is="search-textbox" with search-textbox. rs=jorgk DONTBUILD
grep -rl 'is="search-textbox"' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/textbox is="search-textbox"/search-textbox/g'
2019-09-26 12:43:32 +03:00
Jorg K 6bba4882b2 Bug 1583934 - Make HWND hwndForDOMWindow() static so it doesn't clash with the M-C version. r=me 2019-09-25 23:47:11 +02:00
Richard Marti 8d971e8fef Bug 1583728 - Port bug 1583377: Migrate xul:page to xul:window. r=mkmelin 2019-09-25 10:06:04 +02:00
Ben Campbell f239851543 Bug 1562158 - Remove xpidl [array] use from nsIMsgSearchCustomTerm. r=mkmelin DONTBUILD 2019-09-25 12:51:40 +12:00
Jorg K 5819800bc8 Bug 1534163 - Follow-up: Reformat. rs=reformat 2019-09-25 09:06:00 +02:00
Ben Campbell 17856fad45 Bug 420506 - Remove RDF code forked in bug 1459748 and mailnews/base/src/nsMsgRDFUtils.{cpp|h}. r=jorgk 2019-09-24 18:32:29 +12:00
Ben Campbell 0f7f116a1b Bug 420506 - Disable building of RDF code. r=jorgk 2019-09-24 17:20:58 +12:00
Ben Campbell fa74e0958f Bug 1527772 - Move folder-factory lookup out of RDF. r=aceman 2019-09-24 17:11:51 +12:00
Ben Campbell fe8502c3f6 Bug 1527764 - Remove RDFResource inheritance from nsMsgDBFolder. r=aceman 2019-04-01 17:02:52 +13:00
Ben Campbell 8c94e0d72b Bug 1527764 - Remove rdf use from folder-lookup-service. r=aceman 2019-01-28 16:42:35 +13:00
Kai Engert 851d3fddbb Bug 1577353 - Add a mozmill test for S/MIME. r=mkmelin 2019-09-24 19:57:20 +02:00
Jorg K 26afcebfc7 Backed out changeset 58abe7a403aa (bug 1577353) for failures on Windows. a=backout DONTBUILD 2019-09-24 11:08:45 +02:00
Kai Engert 0073bc839c Bug 1577353 - Add a mozmill test for S/MIME. r=mkmelin 2019-09-24 10:48:48 +02:00
Jorg K 7cd196e1aa Bug 1534163 - Fix test_rdfmigration.js on Windows. rs=bustage-fix DONTBUILD 2019-09-24 10:34:30 +02:00
Ben Campbell 24425fbaa5 Bug 1534163 - Add unit test to cover feeds config migration. r=mkmelin 2019-09-21 10:58:49 +12:00
Ben Campbell f36d531745 Bug 1534163 - Remove nsIRDF* use from newsfeed support. r=mkmelin 2019-05-29 11:16:43 +12:00
Richard Marti 623e4811c2 Bug 1583316 - Fix CSS broken by un-blockification of display: -moz-box in bug 1580012. r=mkmelin 2019-09-23 22:03:08 +02:00
Jorg K 82c328c4be Bug 1579698 - Don't call nsDependentCString(nullptr) since it crashes TestMailCookie. r=aceman 2019-09-23 22:16:36 +02:00
Ben Campbell bba896a733 Bug 1562158 - remove xpidl [array] use from nsIAbLDAPAttributeMap. r=jorgk 2019-09-22 08:22:59 +12:00
aceman 30e45aa3a6 Bug 679873 - Select newly created server in the account manager. r=jorgk,IanN 2019-09-22 23:49:06 +02:00
Jorg K d7a4182aef Bug 1536477 - When no body is supplied via MAPI, honour default compose format. r=aceman 2019-09-22 22:30:51 +02:00
Paul Morris 1b81c589fc Bug 1582573 - Re-indent XUL strings in non-calendar custom elements. r=mkmelin 2019-09-19 21:18:40 -04:00
Alessandro Castellani db83c81aa3 Bug 1565075 - Fix autocomplete click behavior. r=mkmelin,jorgk DONTBUILD 2019-09-20 10:17:50 +02:00
Geoff Lankow d885fa4e6f Bug 1576525 - Use JS address book provider for the default address books in new profiles; r=mkmelin 2019-08-28 12:32:06 +12:00
Jorg K 11202b91d7 Bug 1240290 - Follow-up: Reformat. rs=reformat DONTBUILD 2019-09-20 01:02:13 +02:00
Kai Engert 523bdf8a20 Bug 1240290 - Improve handling of nested S/MIME messages, test data. r=mkmelin 2019-09-19 23:29:52 +02:00
Kai Engert acb078f7c9 Bug 1240290 - Improve handling of nested S/MIME messages. r=mkmelin 2019-09-20 00:49:39 +02:00
Magnus Melin ddeecd9070 Bug 1582533 - remove <observes> usage from mailnews/. r=alta88 2019-09-19 22:51:48 +03:00
Alessandro Castellani 68954f15c4 Bug 1565075 - Convert textbox type=autocomplete to HTML input, part 4, a11y. r=mkmelin 2019-09-19 10:54:33 -07:00
Jorg K 7c7357cc5a Backed out changeset 23362b85a4fa (bug 1576525) for test failures. a=backout 2019-09-19 23:04:22 +02:00
Kai Engert a0d8cebe03 Bug 1577359 - Follow-up: Add NSSBase64Decoder_* symbols to nss-extra.symbols (again). r=jorgk DONTBUILD 2019-09-19 14:28:51 +02:00
Jorg K 0915bcc481 Bug 1577359 - Follow-up: remove NSSBase64Decoder_* symbols again. r=me DONTBUILD 2019-09-19 12:45:10 +02:00
Kai Engert acabeb1b98 Bug 1577359 - Follow-up: Add NSSBase64Encoder_* symbols to nss-extra.symbols. r=jorgk 2019-09-19 11:46:38 +02:00
Kai Engert 170186fbde Bug 1577359 - Follow-up: Add NSSBase64Decoder_* symbols to nss-extra.symbols. r=jorgk
--HG--
extra : amend_source : 635348284c7abc068cc50cb2f698095334cff534
2019-09-19 01:33:00 +02:00
Geoff Lankow 2af1fe8a7c Bug 1576525 - Use JS address book provider for the default address books in new profiles; r=mkmelin 2019-08-28 12:32:06 +12:00
Jorg K 79cb172202 Port bug 1490601 to comm-central: s/IsUTF8/IsUtf8/. rs=bustage-fix 2019-09-19 00:59:16 +02:00
Alessandro Castellani d6d198d047 Bug 1565075 - Convert textbox type=autocomplete to HTML input, part 2, mailing lists. rs=bustage-fix,jorgk 2019-09-17 15:27:08 -07:00
Rob Lemley d9a90e0339 Bug 1579698 - Temporarily disable TestMailCookie gtests. r=jorgk
Disable TestMailCookie by renaming to DISABLED_TestMailCookie.
2019-09-10 22:37:11 -04:00
Alessandro Castellani ext:(%20and%20aceman%20%3Cacelists%40atlas.sk%3E) 3a81dcb150 Bug 1580950 - Make click onto auto-complete results popup accept suggestion and move to the next line again. r=jorgk DONTBUILD 2019-09-14 00:00:02 +02:00
Jorg K b2c2cd60f4 Bug 1580187 - Add null check to avoid crash in nsImapService::NewChannel(). r=mkmelin 2019-09-13 10:34:17 +02:00
Jorg K fd3b91ad23 Bug 1581054 - Simplify nsMailDirProvider::GetFiles() after removal of XRE_EXTENSIONS_DIR_LIST in bug 1580282. r=mkmelin 2019-09-13 10:29:12 +02:00
aceman 13dfa57e71 Bug 1579987 - Use folderURI parameter from document's location.search when loading Account Central. r=mkmelin 2019-09-11 14:05:00 +02:00
Ben Campbell 53f5a5f531 Bug 1562157 - Remove xpidl [array] use from nsIAbLDAPCard and nsILDAPService. r=jorgk 2019-09-11 22:36:10 +02:00
Ben Campbell 281585d815 Bug 1562157 - Remove remaining [array] use in nsILDAPBERMessage xpidl. r=jorgk 2019-09-11 22:35:07 +02:00
Ben Campbell 229b10bd51 Bug 1562157 - Remove [array] use in xpidl for nsILDAPBERMessage.getAttributes(). r=jorgk 2019-09-11 22:34:58 +02:00
Richard Marti ext:(%2C%20Jorg%20K%20%3Cjorgk%40jorgk.com%3E%20and%20Geoff%20Lankow%20%3Cgeoff%40darktrojan.net%3E) 5973a5df06 Bug 1580098 - Port bug 1496746: Remove VPATH (add $(srcdir)/ where required). rs=bustage-fix 2019-09-10 11:17:36 +02:00
Magnus Melin d645c4c1c1 Bug 1059988 - follow-up to only replace semicolons with commas in case the semicolons aren't within a quote. r=jorgk
Explanation from https://stackoverflow.com/questions/15741243/replace-string-everywhere-except-if-its-within-quotes:
This regex is using a positive lookahead that is basically matching 0 or more occurrences of a pair of some text until
a double quote is found i.e. ([^"]*"){2} on the right hand side (RHS) of every match of ; .

Which in simple term means: replace a ; only if it is outside double quotes since all the matches inside double quotes
will have odd number of [^"]*" matches on the RHS.
2019-09-09 19:37:25 +02:00
Magnus Melin 90a8e53eeb Bug 1336785 - follow-up for handling of multiple commas in entered address. r=jorgk DONTBUILD 2019-09-09 11:50:43 +03:00
Ian Neal 6a26764735 Bug 1578463 - Mop up ondialogaccept in mail(news). r=aceman,jorgk DONTBUILD 2019-09-09 09:35:12 +02:00
Jorg K da9b315eb3 Bug 1579304- Revert changes from bug 1175446 but also check the pref. r=GeneSmith
Backed out changeset b1e49a0013b6 (bug 1175446) but with a tweak
2019-09-08 20:28:05 +02:00
aceman bcf328da9b Bug 1560307 - Handle missing server type description for addon-provided server types in account manager. r=jork DONTBUILD 2019-06-26 13:37:00 +02:00
Alessandro Castellani c048a6b630 Bug 1563125 - Use HTML input instead of XUL textbox in mailViewSetup.xul. r=mkmelin
--HG--
extra : rebase_source : e88d79a90057d02d1b14920123f7296b5b5e21e8
2019-09-04 10:41:47 -07:00
Paul Morris 526d09e204 Bug 1575046 - Allow users to edit existing mailing lists. r=mkmelin
If a user opened a saved mailing list (from the address book
dialog) and tried to edit or delete one of the addresses,
then clicked the OK button, the changes were not saved.

Perhaps this was caused by de-XBL changes? The fix was to
not set the 'textbox.value' property (as introduced by
the fix for bug 37435), since that was preventing that
property from updating to what the user typed in.

I tested to see if the problem from bug 37435 returned
after this change and was not able to reproduce it.
All message recipients were sent the message as expected.

--HG--
extra : rebase_source : abb81e2b19942c44733a807bae680b709b751ce7
2019-09-06 12:14:51 -04:00
Magnus Melin b1c49ba1f9 Bug 1059988 - handle semicolons as mailbox separators gracefully when when parsing email addresses. r=jorgk
--HG--
extra : rebase_source : 1bdad83d178713bfd5477b831c09cf8ba371340d
2019-09-06 13:06:07 +03:00
Magnus Melin 90d756d832 Bug 1567424 - remove some leftover broadcaster references. r=jorgk 2019-09-06 13:17:07 +03:00
Magnus Melin 319e40c450 Bug 1336785 - account for multiple commas when parsing email addresses. r=jorgk 2019-09-04 14:32:55 +03:00
Geoff Lankow 3769c28982 Bug 1578523 - Fix deletion of LDAP address book. r=mkmelin 2019-09-04 11:23:59 +12:00
Jorg K 64d03d83c5 Bug 1576365 - Prettier fix. r=me DONTBUILD 2019-09-04 00:27:04 +02:00
Alessandro Castellani b603532564 Bug 1576365 - Fix richlistbox losing focus when editing listitem. r=jorgk
--HG--
extra : rebase_source : 1085baf42e9bbda7fc2e28d9339cf23f1fca1165
2019-09-03 23:03:55 +02:00
Richard Marti f77d674769 Bug 1578109 - Make the statusText crop long text. r=mkmelin 2019-09-01 23:15:31 +02:00
Paul Morris 1bd77215b1 Bug 1577835 - Reformat the .eslintrc.js files with Prettier. r=mkmelin
# ignore-this-changeset

These changes were achieved by deleting the .eslintrc.js
line from the .prettierignore file and running:
|mach eslint --fix|
2019-08-31 08:56:13 -04:00
Paul Morris 24a23166e4 Bug 1577835 - Fix 'function and comments' formatting in mailnews/. r=mkmelin 2019-08-31 08:16:12 -04:00
Paul Morris 450ca25c14 Bug 1577835 - Fix 'if and comments' formatting in mailnews/. r=mkmelin 2019-08-31 08:09:06 -04:00
Paul Morris f7ed34e2d3 Bug 1577835 - Fix 'else and comments' formatting in mailnews/. r=mkmelin 2019-08-30 23:37:40 -04:00
Paul Morris 3819bf478e Bug 1577835 - Fix eslint "no-useless-concat" errors in mailnews/. r=mkmelin 2019-08-30 22:28:12 -04:00
Paul Morris 8575f6cbbe Bug 1577835 - Rewrite atypical for loops in mailnews/ for Prettier. r=mkmelin 2019-08-30 22:21:29 -04:00
Paul Morris 8057711ec3 Bug 1577835 - Reformat mailnews/ code with eslint and Prettier. r=mkmelin
# ignore-this-changeset

These changes were achieved by:

1. Using eslint to add curly brackets to control
statements that did not have them (if, else, etc.),
thanks to the eslint rule: "curly": ["error", "all"]

Done by running |mach eslint mailnews/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the mailnews/ line from
the .prettierignore file and running:
|mach eslint mailnews/ --fix|
2019-08-30 22:10:02 -04:00
Paul Morris b3abdea1a6 Bug 1573670 - Remove redundant menulist creation code. r=mkmelin
It is unnecessarily duplicated at both the top and the bottom of the file.
2019-08-13 17:24:38 -04:00
Paul Morris 425d00717a Bug 1573670 - Wrap all Thunderbird custom elements in curly bracket blocks. r=mkmelin
Leave re-indentation to Prettier's auto-formatting, to happen
in a subsequent patch. Use `const` instead of `let` for imports.
2019-08-27 12:26:37 -04:00
Jorg K 70a90f7b9d Bug 1572324 - Follow-up: Reformat. rs=reformat DONTBUILD 2019-08-31 09:20:31 +02:00
Gene Smith f1206a8814 Bug 1175446 - Allow Gmail account to work correctly with a custom Trash folder. r=mkmelin
With this a user can choose a folder other than [Gmail]/Trash to move trash to on delete.
2019-08-31 09:20:28 +02:00
Khushil Mistry 61d6d659d9 Bug 1577659 - remove statusbarpanel custom element. r=mkmelin 2019-08-30 02:16:00 +02:00
Paul Morris 18b8c2a066 Bug 1575046 - Improve adding lists of addresses into mailing list dialogs. r=mkmelin
Separate comma-separated lists of addresses into separate rows, one address per row.
2019-08-30 08:54:12 +02:00
Ben Campbell 81b82e1fe1 Bug 1562158 - Remove [array] use in xpidl for nsIMsgDBView::getSelectedMsgHdrs(). r=jorgk 2019-08-21 10:51:42 +02:00
Geoff Lankow 2e1cb35df3 Bug 1577436 - switch off xpcshell-jsaddrbook on Mac. rs=bustage-fix,jorgk
--HG--
extra : rebase_source : 30a48d5fcd1ab93451d7ac9becb62893aea6f016
2019-08-29 21:43:11 +12:00
Magnus Melin 92dece93fd Bug 1571481 - Improve multipart/alternative. r=kaie DONTBUILD 2019-08-28 11:37:12 +02:00
Jorg K 753e6d9df9 Bug 1463266 - Fix some ugly comments in nsMsgCompUtils.cpp. rs=comment-only DONTBUILD 2019-08-26 10:48:26 +02:00
Geoff Lankow 3408ed123b Bug 1572324 follow-up - Replace mistaken uint with uint32_t; rs=bustage-fix 2019-08-26 14:48:28 +12:00
Geoff Lankow 517082ce5b Bug 1572324 - Run the address book tests for both Mork and JS/SQLite providers; r=mkmelin
--HG--
rename : mailnews/addrbook/test/unit/test_bug_448165.js => mailnews/addrbook/test/unit/test_bug448165.js
2019-08-26 12:13:46 +12:00
Geoff Lankow 0007c6ffb1 Bug 1572324 - Enable JS address book provider for new address books behind a pref; r=mkmelin
Setting the pref "mail.addr_book.newDirType" to 101 will mean any new address
books use the JS provider instead of the Mork provider.
2019-08-26 12:13:45 +12:00
Geoff Lankow 165ba75997 Bug 1572324 - Create a JS/SQLite address book directory provider; r=mkmelin
An implementation of the existing address book interfaces in javascript,
using SQLite as a database. This is an intermediate step towards an
asynchronous address book, probably using IndexedDB as a database.

As a consequence of crossing the XPCOM boundary, JS nsIAbDirectory objects
are not considered equal by C++, so nsAbBSDirectory's cache now refers to
them by URI instead.
2019-08-26 12:13:43 +12:00
Alex Vincent 785e9edaa7 Bug 1508169 - Remove performAction* from nsITreeView.idl in comm-central. r=jorgk
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called. This is to remove these methods.
The mozilla-central patch is https://phabricator.services.mozilla.com/D39273.

Differential Revision: https://phabricator.services.mozilla.com/D39274
2019-08-24 10:42:07 +02:00
Jorg K aacc16815e Bug 1463266 - Fix some ugly comments in nsMsgAttachment*.cpp. rs=comment-only 2019-08-22 23:44:14 +02:00
Jorg K 46148e4795 Bug 1575781 - Port bug 1575420: Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=mkmelin 2019-08-22 14:56:38 +02:00
Geoff Lankow 1d7ef6b76f Bug 1575777 - Fix various issues after linting changes in M-C. rs=bustage-fix, r=jorgk DONTBUILD 2019-08-22 11:55:03 +02:00
Ben Campbell 3d360e8903 Bug 1562158 - Remove [array] use in xpidl for nsIMsgDBView::getURIsForSelection(). r=jorgk DONTBUILD 2019-08-21 10:47:52 +02:00
Ben Campbell 36f647c4e3 Bug 1562158 - Remove [array] use in xpidl for nsIMsgDBView::getIndicesForSelection(). r=jorgk 2019-08-21 09:41:28 +02:00
aceman 8ff175fc85 Bug 1571813 - do not assign a non-existent array elements in nsMsgSend::HackAttachments() and nsAbView::SwapFirstNameLastName(). r=jorgk 2019-08-21 09:30:43 +02:00
Alessandro Castellani 5355073fcb Bug 1574590 - Change MozMenulistAddrbooks CE to fix LDAP auto-complete and LDAP server pref. r=mkmelin 2019-08-20 22:28:44 +02:00
Jorg K 2e39752bf7 Bug 1572864 - Follow-up: Add comment. r=aceman 2019-08-20 22:13:06 +02:00
Jorg K b15ca5b265 Bug 1572864 - Follow-up: Remove query from base URL as well. rs=bustage-fix 2019-08-20 19:28:56 +02:00
Jorg K 0765d7b06f Bug 1572864 - Backed out changeset 1c5dad422769 to make way for a different solution. a=backout 2019-08-20 19:27:23 +02:00
Jorg K e31c90b4a7 Bug 1572864 - Follow-up: Transfer message number before comparing. rs=bustage-fix
--HG--
extra : rebase_source : d6a2baffe96f14fb1386f63702b05aa15f5bb579
2019-08-20 10:06:15 +02:00
Jorg K 7b9cf44b8b Bug 1572864 - Use common function to remove query part of URL in nsMsgCompose::IsEmbeddedObjectSafe(). r=aceman 2019-08-19 22:08:15 +02:00
Jorg K db6ec0cdb0 Bug 1540943 - Use DecodeWithoutBOMHandling() in nsMsgI18NConvertToUnicode() to handle bad characters better. r=hsivonen 2019-08-19 09:53:28 +02:00