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

18 Коммитов

Автор SHA1 Сообщение Дата
Magnus Melin 658036deef Bug 1779145 - Port bug 1667455 to Thunderbird - Expose a "Services" property on all privileged JS scopes (like Cu/Cc/Ci). r=leftmostcat
Changed prettier printWidth to 100 to put Services.jsm on one line, prettified and then
   grep -rEl "/Services.jsm" --exclude-dir=.hg --exclude-dir=suite --include="*.js" --include="*.jsm" --exclude=".*" . | xargs xargs sed -i -e '/\/Services.jsm/d'

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

--HG--
extra : rebase_source : 43da2706d3b30f5062511cedd527e9fb65631f02
extra : amend_source : 863bfd4ad3930f4fe4ed0b3dba6061370118f9a5
2022-07-18 20:26:40 +10: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
Jorg K 1eb42af37e Bug 1550945 - Part 5: Fix tests so they don't create URL via protocol handler, rework SMTP URL creation. rs=bustage-fix 2019-05-29 23:29:55 +02: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
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
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
Geoff Lankow 8afdee6a69 Bug 1515877 - Turn on ESLint in mailnews/news; r=aceman 2018-12-24 23:52:29 +13:00
Geoff Lankow 3e7829922b Bug 1487572 - Rename mailServices.js to MailServices.jsm. r=mkmelin
--HG--
rename : mailnews/base/util/mailServices.js => mailnews/base/util/MailServices.jsm
extra : rebase_source : 7ecd648075015c893ae9c8e4860541744261557c
2018-08-31 12:43:20 +12:00
Florian Quèze 6289b61981 Bug 1436605 - script generated patch to replace the Components.interface/Components.utils uses with Ci/Cu in C-C (without calendar). r=philipp 2018-02-28 18:33:34 +01:00
Jorg K 32dd7e60a1 Bug 1399756 - remove trailing spaces from JS/JSM files in mailnews/. rs=white-space-only
[skip-blame]
2018-02-10 00:38:07 +01:00
Philipp Kewisch 5563e369fc Bug 1434737 - Move to ChromeUtils.import() - Mail/Common/Ldap/Editor part. r=jorgk
MozReview-Commit-ID: 8jabalzJIdA
2018-01-31 23:41:33 +01:00
Florian Queze d8733aa4e4 Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents in C-C. rs=philipp 2017-12-20 15:44:11 +01:00
Florian Quèze e060e71b1e Bug 1329958 - remove trailing newURI null parameters in comm-central. r=philipp,aleth 2017-01-10 14:16:22 +01:00
Joshua Cranmer a277df832e Bug 905910: Run comm-central xpcshell tests in parallel, r=Standard8, a=jcranmer 2014-04-28 10:30:57 -05:00
Sebastian Hengst 3b65a54d6f Bug 852690 - Remaining conversion to mailServices.js: news. r=jcranmer 2013-03-25 19:48:49 +01:00
Joshua Cranmer 8590f2c793 Bug 226890 - Thunderbird doesn't handle news URIs properly, part 9: Parser fixups and more testing. r=bienvenu 2011-01-03 13:45:34 -05:00
Joshua Cranmer 4b7f487a64 Bug 226890 - Thunderbird doesn't handle news URIs properly, part 6: Move the message key to nsNntpUrl as well. r=Standard8, sr=bienvenu 2010-12-30 22:19:46 -05:00
Makoto Kato db70852b9c Bug 392729 - Links for nntp and news Protocols Ignored or crash [@ nsNntpService::MessageURIToMsgHdr(char const*, nsIMsgDBHdr**) ]. r=bienvenu+jcranmer 2010-12-06 14:16:46 +09:00