Joe Crawford
75560bd06b
Bug 1889422 - Fluent Migration for accounts.dtd. r=aleca,rjl
...
Differential Revision: https://phabricator.services.mozilla.com/D206531
--HG--
extra : amend_source : d5e05a1e0814daa0ae303390ea9b97590fd7c275
2024-04-16 23:10:44 +01:00
Alessandro Castellani
5baedc86b4
Bug 1854255 - Enforce prefer-const eslint rule in the chat/ and mailnews/export/ directories. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D190142
--HG--
extra : amend_source : 78bfca186ff84e4454838d84c258e8456566dd57
2023-10-06 12:57:59 +03:00
Richard Marti
350e18ed50
Bug 1828132 - Port bug 1820878: Convert toolkit/mozapps/downloads to ESmodules. r=elizabeth
...
Differential Revision: https://phabricator.services.mozilla.com/D175480
--HG--
extra : amend_source : 8a7047732a3fc2f3102a4b07b6af3f9fc15da876
2023-04-15 20:51:38 +10:00
Magnus Melin
fe9d2f7246
Bug 1801529 - mozilla/valid-jsdoc automatic fixups across the Thunderbird codebase. r=aleca
...
This is the automatic fixes + whitespace fixup:
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\* @returns +/* @returns /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\* @returns +/* @returns /g' {} \;
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\* (@returns \{.+\}) +/* \1 /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\* (@returns \{.+\}) +/* \1 /g' {} \;
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\*( @param)( \S+ \S+ ) +/*\1\2- /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\*( @param)( \S+ \S+ ) +/*\1\2- /g' {} \;
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\*( @param[^-]*)( - - )/*\1 - /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\*( @param[^-]*)( - - )/*\1 - /g' {} \;
Differential Revision: https://phabricator.services.mozilla.com/D162704
--HG--
extra : rebase_source : 4307935e658ce38943af522b17ce6b1c0d99dfdd
2022-11-23 15:43:25 +11:00
Martin Giger
7404ae8c2f
Bug 1793275 - Convert all imports of chat frontend to esm. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D158447
Depends on D158446
--HG--
extra : histedit_source : e125b1b5e31f6c18c5c2ba7326bab3175aecca84
2022-10-01 12:27:32 +00:00
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
Henry Wilkes
b1933bd0b4
Bug 1683865 - Replace xul:image usage for chat user, protocol and status icons. r=freaktechnik
...
Also, as part of this:
+ Reduced styling repetitions, and some coding repetitions.
+ Dropped some stylesheets because they were no longer needed or the few rules could be merged.
+ Moved logic related to chat-conversation-info into internal methods.
+ Removed some old styling hacks that were used to show the user name and status in chat-tooltip, chat-conversation-info and imAccounts, and replaced them with a grid.
Differential Revision: https://phabricator.services.mozilla.com/D113683
--HG--
extra : amend_source : a89ad51da34bd50b544628ca1781ecff5dfa7a7c
2021-04-30 13:52:21 +03:00
Magnus Melin
ff0d94d5de
Bug 1699809 - Remove event.originalTarget from Thunderbird code. r=freaktechnik
...
# originalTarget -> target
find . -type f -not -path "*.hg/*" -not -path "./suite/*" -not -path "./third_party/*" -exec sed -i -E 's/\.originalTarget/.target/g' {} \;
Differential Revision: https://phabricator.services.mozilla.com/D113790
--HG--
extra : rebase_source : e162bbbf76ad771cf4bcef2a5ed74c252fe51c17
2021-04-29 22:46:13 +03:00
Magnus Melin
476e20b8c4
Bug 1590471 - fix ability to add certificate exceptions for XMPP. r=clokep
2020-12-08 12:53:02 +02:00
Geoff Lankow
c5db9accc0
Bug 1655687 - Port bug 1620537 - Fix no-setter-return ESLint errors. r=pmorris
...
--HG--
extra : rebase_source : 52e8ef443440a08e35c7a8fc11286463ead170b7
extra : amend_source : 6a14cf180c6603955893401c2b5938ad7937a90b
extra : histedit_source : ca6fd64f1f165c92523e82ccc26f5d72fc8477d0
2020-07-28 12:54:32 +12:00
Jorg K
93db6b3c14
Bug 1647104 - Fix typos in chat, common, db, editor, mail, mailnews found with codespell. rs=comment-only,typo-fix r=mkmelin DONTBUILD
...
This excludes OpenPGP code in mail/extensions.
2020-06-21 20:27:10 +02:00
Kai Engert
6c7626bd9a
Bug 1647104 - Backed out changeset 9ca3551392f6. a=mkmelin
2020-06-22 14:09:32 +02:00
Jorg K
1a94f7447e
Bug 1647104 - Fix typos in chat, common, db, editor, mail, mailnews found with codespell. rs=comment-only,typo-fix DONTBUILD
2020-06-21 20:27:10 +02:00
Magnus Melin
94591fcbae
Bug 1599548 - rewrite Thunderbird consumers of the deprecated "top" and "bottom" align values to "start" and "end" (port bug 1592369). r=pmorris
...
* align="top" -> align="start"
* align="bottom" -> align="end"
* setAttribute("align", "top") -> setAttribute("align", "start")
* setAttribute("align", "bottom") -> setAttribute("align", "end")
grep -rl 'align="top"' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\balign="top"/align="start"/g'
grep -rl 'align="bottom"' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\balign="bottom"/align="end"/g'
grep -rl 'setAttribute("align", "top")' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/setAttribute("align", "top")/setAttribute("align", "start")/g'
grep -rl 'setAttribute("align", "bottom")' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/setAttribute("align", "bottom")/setAttribute("align", "end")/g'
2019-11-27 15:03:43 +02:00
Magnus Melin
6719394cd8
Bug 1596385 - remove XUL [dir="reverse"] usage whose support was removed in bug 1596296. r=clokep,pmorris
2019-11-16 22:23:27 +02:00
Khushil Mistry
368cedeb12
Bug 1591506 - Fixed context menu in chat's IM status dialog. r=mkmelin
...
--HG--
extra : rebase_source : a9ff3a93549beae5bc4eb1adadfa7f52bc1303be
2019-10-29 08:06:00 +01:00
Khushil Mistry
48834fa331
Bug 1585302 - Thunderbird CE <richlistitem> related fixes. r=mkmelin
...
--HG--
extra : rebase_source : dbcdf7bc93e834634886d3a29434ad3b9a8fd031
2019-10-14 05:01:00 +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
Khushil Mistry
e0b9e01e89
Bug 1581152 - fix invocation of proceedDefaultAction() in chat-account-richlistitem.js. r=clokep
2019-09-13 09:17:00 +02: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
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
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
Khushil Mistry
7ed2802b61
Bug 1531312 - [de-xbl] convert account and buttons bindings to custom element. r=mkmelin
2019-03-22 06:43:00 +01:00