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

223 Коммитов

Автор SHA1 Сообщение Дата
Khushil Mistry 242ba0656f Bug 1562313 - Convert javascript components from chat to static registration. r=mkmelin DONTBUILD
--HG--
rename : chat/components/src/imAccounts.js => chat/components/src/imAccounts.jsm
rename : chat/components/src/imCommands.js => chat/components/src/imCommands.jsm
rename : chat/components/src/imContacts.js => chat/components/src/imContacts.jsm
rename : chat/components/src/imConversations.js => chat/components/src/imConversations.jsm
rename : chat/components/src/imCore.js => chat/components/src/imCore.jsm
rename : chat/components/src/logger.js => chat/components/src/logger.jsm
rename : chat/components/src/smileProtocolHandler.js => chat/components/src/smileProtocolHandler.jsm
rename : chat/protocols/facebook/facebook.js => chat/protocols/facebook/facebook.jsm
rename : chat/protocols/gtalk/gtalk.js => chat/protocols/gtalk/gtalk.jsm
rename : chat/protocols/irc/irc.js => chat/protocols/irc/irc.jsm
rename : chat/protocols/jsTest/jsTestProtocol.js => chat/protocols/jsTest/jsTestProtocol.jsm
rename : chat/protocols/matrix/matrix.js => chat/protocols/matrix/matrix.jsm
rename : chat/protocols/odnoklassniki/odnoklassniki.js => chat/protocols/odnoklassniki/odnoklassniki.jsm
rename : chat/protocols/skype/skype.js => chat/protocols/skype/skype.jsm
rename : chat/protocols/twitter/twitter.js => chat/protocols/twitter/twitter.jsm
rename : chat/protocols/xmpp/xmpp.jsm => chat/protocols/xmpp/xmpp-base.jsm
rename : chat/protocols/yahoo/yahoo.js => chat/protocols/yahoo/yahoo.jsm
extra : amend_source : f471a238a214802f9a73b64272457c5b6b713833
2019-12-05 21:52:12 +13:00
Patrick Cloke af6b834da3 Bug 1592505 - Require prepareForSending to return a message. r=mkmelin 2019-11-06 07:35:29 -05:00
Patrick Cloke 72796f4106 Backed out changeset faa7e3cc7838 (bug 1562313) for various issues missed in review. a=backout 2019-10-29 11:07:44 -04:00
Khushil Mistry 59d6cea70f Bug 1562313 - Convert JavaScript components to use static registration in chat/. r=mkmelin
--HG--
rename : chat/components/src/imAccounts.js => chat/components/src/IMAccounts.jsm
rename : chat/components/src/imCommands.js => chat/components/src/IMCommands.jsm
rename : chat/components/src/imContacts.js => chat/components/src/IMContacts.jsm
rename : chat/components/src/imConversations.js => chat/components/src/IMConversations.jsm
rename : chat/components/src/imCore.js => chat/components/src/IMCore.jsm
rename : chat/components/src/logger.js => chat/components/src/Logger.jsm
rename : chat/components/src/smileProtocolHandler.js => chat/components/src/SmileProtocolHandler.jsm
rename : chat/protocols/facebook/facebook.js => chat/protocols/facebook/Facebook.jsm
rename : chat/protocols/gtalk/gtalk.js => chat/protocols/gtalk/Gtalk.jsm
rename : chat/protocols/irc/irc.js => chat/protocols/irc/IRC.jsm
rename : chat/protocols/jsTest/jsTestProtocol.js => chat/protocols/jsTest/JSTestProtocol.jsm
rename : chat/protocols/matrix/matrix.js => chat/protocols/matrix/Matrix.jsm
rename : chat/protocols/odnoklassniki/odnoklassniki.js => chat/protocols/odnoklassniki/Odnoklassniki.jsm
rename : chat/protocols/skype/skype.js => chat/protocols/skype/Skype.jsm
rename : chat/protocols/twitter/twitter.js => chat/protocols/twitter/Twitter.jsm
rename : chat/protocols/xmpp/xmpp.js => chat/protocols/xmpp/XMPPProtocol.jsm
rename : chat/protocols/yahoo/yahoo.js => chat/protocols/yahoo/Yahoo.jsm
extra : amend_source : d9f7fa84e7f2d93d811954aac64fbbafa03efea9
2019-10-29 00:29:00 +01:00
Jorg K 7d26720e7f Bug 1463266 - fix typos in comm-central using codespell. rs=comment-only,typo-fix
--HG--
extra : rebase_source : 4c38b107758d9093d0c886495ee467f9373b3ec5
2019-10-22 15:23:42 +02:00
Patrick Cloke 9eb55c7f57 Bug 1586264 - Only import the used objects with ChromeUtils.import. r=aleca 2019-10-04 09:13:58 -04:00
Patrick Cloke c0fb2575fb Bug 1581202 - Convert interface comments to jsdoc for chat. r=mkmelin 2019-09-17 07:21:26 -04:00
Patrick Cloke 79027d0dae Bug 1557506 - Remove [array] use in xpidl from chat/. r=mkmelin 2019-09-13 11:26:06 -04:00
Paul Morris f771fe4f4d Bug 1577835 - Fix 'if, else, comments', other formatting in chat/. r=mkmelin 2019-09-01 21:45:34 +02:00
Paul Morris ca6e0c7a6e Bug 1577835 - Fix remaining linting errors in chat/. r=mkmelin
These include:
- The "no-useless-concat" eslint rule.
- Convert an atypical for loop into a while loop
  to satisfy Prettier.
- Move "eslint-disable-" comments so they still work.
2019-08-30 14:01:37 -04:00
Paul Morris aeee638528 Bug 1577835 - Reformat chat/ 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 chat/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the chat/ line from
the .prettierignore file and running:
|mach eslint chat/ --fix|
2019-08-30 13:43:03 -04:00
Jorg K 78fee7253c Bug 1574863 - Follow-up: remove trailing spaces. rs=white-space-only DONTBUILD 2019-08-19 19:51:26 +02:00
Jorg K cc41dbda86 Bug 1574863 - Handle 'foreign' files in logs directory gracefully. r=florian 2019-08-19 19:29:16 +02:00
Kai Engert 657751236e Bug 1536104 - OTR: Allow the user to disable logging of encrypted conversations. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D32840
2019-05-28 17:07:40 +02:00
Geoff Lankow 8f20d493be Bug 1557829 - Port bug 1557793: Adapt to array changes in nsIStringBundle.formatStringFromName (JS changes). r=jorgk 2019-06-12 16:12:00 +12:00
Jorg K 848770a276 Bug 1550945 - Part 4: Flesh out NS_NewMailnewsURI(). rs=bustage-fix
--HG--
extra : rebase_source : 39d7ec5cfe59e606e82283662299ec02099dd40e
2019-05-29 19:53:26 +02:00
Patrick Cloke 25b74fc170 Bug 1549166 - Use centralized ESLint configuration for chat tests. r=darktrojan 2019-05-20 13:29:08 -04:00
Geoff Lankow 73dd48c46c Bug 1552059 - Port bug 1551657: Adapt to array changes of nsILoginManager.findLogins, JS part; r=benc 2019-05-16 12:48:38 +12:00
Geoff Lankow 46c9d9466a Port bug 1246594 - Enable ESLint rule no-throw-literal by default; rs=bustage-fix DONTBUILD 2019-03-21 20:45:20 +13:00
Patrick Cloke 9732b77045 Bug 1525190 - Run eslint over the chat code. r=florian 2019-02-05 14:50:43 +13:00
Florian Quèze 88d6d64e12 Bug 1525190 - Fix instances of sstream in imAccounts. r=clokep 2019-02-28 13:32:21 -05:00
Patrick Cloke 7986b2cf84 Bug 1525190 - Manual changes to abide by eslint in chat. r=florian 2019-02-28 09:49:44 -05:00
Patrick Cloke d5a2d6493d Bug 1525190 - Run eslint --fix over chat components code. r=florian 2019-02-27 10:13:06 -05:00
Patrick Cloke cd342a0dfe Bug 1529287 - Port more of bug 1526382 to Thunderbird chat. r=florian 2019-02-26 12:22:39 -05:00
Geoff Lankow fca9678179 Port bug 1528971: Move newChannel2 being the only implementation within nsIProtocolHandler.idl; rs=bustage-fix 2019-02-21 18:58:12 +13:00
Sebastian Hengst 72159e289e Bug 1526754 - also import nsSimpleEnumerator into imCore.js to fix empty chat account creation. r=jorgk 2019-02-10 14:32:29 +01:00
Magnus Melin 6727d11606 Bug 1525695 - fix a bunch of missing imports in IRC and IM related code. r=florian 2019-02-07 20:13:40 +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 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
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 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
Jorg K 2ae64ee9b5 Bug 1364645 - Follow-up: Remove left-over reference to Task.jsm. r=florian 2019-01-03 18:35:04 +01:00
Jorg K 91ac8497e8 Bug 1364645 - Replace Task.async()/Task.spawn() with async function and yield with await. r=florian 2018-11-21 13:16:01 +01:00
Jorg K 105e71c4fd Bug 1504986 - Port bug 1504574: replace XPCOM use of nsDocumentEncoder. rs-bustage-fix 2018-11-06 12:41:17 +01:00
Jorg K 82ce7dd116 Bug 1490265 - Port bug 1468222: Replace nsISSLStatus with nsITransportSecurityInfo. r=mkmelin 2018-09-11 22:09:15 +02:00
Jorg K fea831b62e Bug 1490265 - Port bug 1468222: remove use of nsISSLStatus. rs=bustage-fix 2018-09-11 13:55:29 +02:00
Jorg K 5862032a95 Bug 1485820 - add [Symbol.iterator] in chat's logger.js, fix spurious }. rs=bustage-fix DONTBUILD 2018-08-26 15:03:37 +02:00
Jorg K dabe2d8ea0 Bug 1485820 - add [Symbol.iterator] in chat's logger.js. r=aceman 2018-08-25 03:27:00 +02:00
Jorg K 4a561279f5 Bug 1457713 - Port bug 1456035: Change XPCOMUtils.generateQI to ChromeUtils.generateQI in chat. r=aceman 2018-05-21 00:59:52 +02:00
Jorg K 1742df497d Bug 1455536 - Port bug 1453881: add_task() doesn't accept generators any more (chat part, take 2). r=florian 2018-04-20 20:31:26 +02:00
Jorg K f5ef7fafd2 Bug 1455536 - Port bug 1453881: add_task() doesn't accept generators any more (chat part). rs=bustage-fix CLOSED TREE 2018-04-20 12:50:10 +02:00
Jorg K cf5c982eb4 Bug 1399756 - fix typos in chat/ using codespell. r=florian
[skip-blame]
2018-03-20 05:21:00 +01:00
Jorg K 8be6f75899 Bug 1448719 - Bug 1447272 follow-up: Replace createInstance(Ci.nsIURI) with mutator. r=me 2018-03-26 10:47:51 +02: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
Richard Marti 990dd0f68c Bug 1436310 - Port bug 1432992 to chat: Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-07 12:19:12 +01:00
Philipp Kewisch 9efb30606f Bug 1434737 - Move to ChromeUtils.import() - Chat part. r=florian
MozReview-Commit-ID: 4nli30dK4Lu
2018-01-31 23:25:50 +01:00
Jorg K 6f737728f0 Bug 1434515 - Port bug 1434318: Replace various uses of IDOMDocument. r=bz 2018-02-01 00:26:30 +01:00
Tom Prince 2d84327123 Bug 1433211: Remove unused `purpleIProxyInfo`; r=florian
MozReview-Commit-ID: 1bxX3WD0ush

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

--HG--
extra : rebase_source : 0faa7d59789c962fc0dc7ac2ce1fe0a812393c2e
2018-01-25 11:25:02 -07:00
Philipp Kewisch f74961c1be Bug 1431913 - Adapt to nsIURI.spec being made readonly in chat. r=florian 2018-01-20 22:36:43 +01:00