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

25 Коммитов

Автор SHA1 Сообщение Дата
Martin Giger 248961fb85 Bug 1889348 - Ignore built documentation with prettier. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D206480

--HG--
extra : amend_source : fac7626ff645350393b7d6ebe5c9ff961922258c
extra : absorb_source : 5bb98cde329872cb3a704aca03e91db3b7d68e09
2024-04-05 11:47:41 +02:00
Magnus Melin 1c3e3d799e Bug 1886828 - follow-up, ignore prettier for packaged dumps. rs=lint DONTBUILD
--HG--
extra : amend_source : 86fb053d2b45a0afdf1a66641dc2ec8af38fe8b5
2024-04-04 14:22:43 +03:00
Magnus Melin bf0cc3ae17 Bug 1824260 - Update outdated .jsm references. r=freaktechnik
Update outdated .jsm references in the tree.

Depends on D204766

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

--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin 8aa3e4cdc2 Bug 1824260 - esmify Ical.jsm. r=aleca,leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D204763

--HG--
rename : calendar/base/modules/Ical.jsm => calendar/base/modules/Ical.sys.mjs
rename : calendar/base/src/calICSService-worker.js => calendar/base/src/CalICSService.worker.mjs
extra : rebase_source : f5dc549aa0f7ca19b3d8bcffdb447a0b536d4995
extra : amend_source : 04f2309e0e818a907e16367557a7024cd3063826
2024-03-21 19:43:48 +02:00
Rob Lemley 4d16ffb274 Bug 1869653 - Checksum upstream inputs to tb-rust vendor. r=ikey
Provides a quick check to see if comm/third_party/rust is in sync with upstream.

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

--HG--
extra : moz-landing-system : lando
2024-01-02 18:22:44 +00:00
Magnus Melin 14bb156e3c Bug 1867860 - Make starting with `--migration` open the import tab. r=aleca
Removes the old migrator that - when it worked - would open an import wizard (which hasn't worked since tb91, since it would need to include customElements.js directly and it doesn't).
Instead, if starting with --migration, show the import tab. --migration is listed for all toolkit, so might as well make it do something useful.
The migration is now instead handled where Thunderbird normally handles command line arguments.

Also convert MessengerContentHandler.jsm to MessengerContentHandler.sys.mjs.

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

--HG--
rename : mail/components/MessengerContentHandler.jsm => mail/components/MessengerContentHandler.sys.mjs
2023-12-11 20:19:49 +00:00
Magnus Melin 76be383081 Backed out changeset a1077a48dd8b (bug 1867860)
Test failues in comm/mail/test/browser/composition/browser_attachment.js

--HG--
rename : mail/components/MessengerContentHandler.sys.mjs => mail/components/MessengerContentHandler.jsm
extra : amend_source : bacf02fd31542b3e93931147abd80cc55fedd97b
2023-12-10 22:22:05 +02:00
Magnus Melin 3b19f9bf59 Bug 1867860 - Make starting with `--migration` open the import tab. r=aleca
Removes the old migrator that - when it worked - would open an import wizard (which hasn't worked since tb91, since it would need to include customElements.js directly and it doesn't).
Instead, if starting with --migration, show the import tab. --migration is listed for all toolkit, so might as well make it do something useful.
The migration is now instead handled where Thunderbird normally handles command line arguments.

Also convert MessengerContentHandler.jsm to MessengerContentHandler.sys.mjs.

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

--HG--
rename : mail/components/MessengerContentHandler.jsm => mail/components/MessengerContentHandler.sys.mjs
extra : rebase_source : 7a157820a46880aa6c7358f40befd2160ed88e4b
2023-12-10 12:56:59 +02:00
Magnus Melin d2a137bf64 Bug 1703164 - convert mail/components/preferences/cookies.xhtml to top level <html>. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D193181

--HG--
extra : rebase_source : 7ccb919972b5ed4fbeccf6dfe84a67f75593bed7
extra : amend_source : b53386705480005b36b7aeb0d129596ad48f0f77
2023-11-23 20:04:40 +02:00
Magnus Melin d7b69e2b76 Bug 1703164 - convert mail/components/preferences/tagDialog.xhtml to top level <html>. r=freaktechnik
... and also merge tagDialog.xhtml to newTagDialog.xhtml.

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

--HG--
extra : rebase_source : d28f538eb155806980e0f78f11d8e74493330e1f
2023-11-11 21:36:05 +02:00
Rob Lemley f60b45ca6f Bug 1845794 - Create a "beta" branding directory. r=dandarnell#!thunderbird-build-system-reviewers,#thunderbird-reviewers
This patch covers the non-image assets for "tb_beta" branding.

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

--HG--
rename : mail/branding/thunderbird/pref/thunderbird-branding.js => mail/branding/include/release-prefs.js
rename : mail/branding/thunderbird/LICENSE => mail/branding/tb_beta/LICENSE
rename : mail/branding/thunderbird/branding.nsi => mail/branding/tb_beta/branding.nsi
rename : mail/branding/thunderbird/configure.sh => mail/branding/tb_beta/configure.sh
rename : mail/branding/thunderbird/jar.mn => mail/branding/tb_beta/jar.mn
rename : mail/branding/thunderbird/locales/Makefile.in => mail/branding/tb_beta/locales/Makefile.in
rename : mail/branding/thunderbird/locales/en-US/brand.dtd => mail/branding/tb_beta/locales/en-US/brand.dtd
rename : mail/branding/thunderbird/locales/en-US/brand.ftl => mail/branding/tb_beta/locales/en-US/brand.ftl
rename : mail/branding/thunderbird/locales/en-US/brand.properties => mail/branding/tb_beta/locales/en-US/brand.properties
rename : mail/branding/thunderbird/locales/jar.mn => mail/branding/tb_beta/locales/jar.mn
rename : mail/branding/thunderbird/locales/moz.build => mail/branding/tb_beta/locales/moz.build
rename : mail/branding/thunderbird/moz.build => mail/branding/tb_beta/moz.build
rename : mail/branding/thunderbird/pref/thunderbird-branding.js => mail/branding/tb_beta/pref/thunderbird-branding.js
rename : mail/branding/thunderbird/thunderbird.VisualElementsManifest.xml => mail/branding/tb_beta/thunderbird.VisualElementsManifest.xml
extra : moz-landing-system : lando
2023-10-23 13:34:38 +00:00
Magnus Melin e46ee7e77a Bug 1859273 - Port bug 1857999 to Thunderbird - Stop using xml-stylesheet processing instructions for styling non-test xhtml documents. r=freaktechnik
Using https://github.com/Mossop/depi

find -name "*.xhtml" -not -path "./suite/*" > /tmp/depi/filelist.txt
node index.js path-to/comm/

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

--HG--
extra : amend_source : 9b289924f64aa4b22a9ebfaaf3c8853bc1d2f69d
extra : absorb_source : 3aa297db246dfd7ebcbac5d8465f4b639c054c54
2023-10-18 11:00:28 +01:00
Rob Lemley 0ac395c9b7 Bug 1834327 - Port bug 1826063: Prettier config for HTML files. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D178814

--HG--
extra : moz-landing-system : lando
2023-05-31 22:33:21 +00:00
Kai Engert be9ec34f56 Bug 1832516 - Don't run prettier on intentionally broken file mailnews/test/data/alias-9.json. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D177740

--HG--
extra : moz-landing-system : lando
2023-05-11 10:03:06 +00:00
Rob Lemley 2b226a774c Bug 1831101 - Port bug 1829618: Format JSON files with Prettier (config update). r=dandarnell
Depends on D177275

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

--HG--
extra : moz-landing-system : lando
2023-05-10 22:02:33 +00:00
Sean Burke cbb6191d49 Bug 1830560 - ESMify our enterprise policy schema. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D176773

--HG--
rename : mail/components/enterprisepolicies/schemas/schema.jsm => mail/components/enterprisepolicies/schemas/schema.sys.mjs
extra : moz-landing-system : lando
2023-04-29 00:27:03 +00:00
Geoff Lankow 266f6e6ecb Bug 1828634 - Copy some exclusion entries to .prettierignore. r=leftmostcat DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D175750

--HG--
extra : rebase_source : 254be0eea604b064201e7bb1ea0ad9c1997043ab
extra : amend_source : 99550c3d0ca582599b28832dab8202b9defa03e1
2023-04-18 23:15:05 +12: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 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 bbcaaa4b09 Bug 1577835 - Reformat mail/ 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 mail/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the mail/ line from
the .prettierignore file and running:
|mach eslint mail/ --fix|
2019-08-30 16:19:44 -04:00
Paul Morris 9c14bf57b9 Bug 1577835 - Reformat editor/ 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 editor/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the editor/ line from
the .prettierignore file and running:
|mach eslint editor/ --fix|
2019-08-30 15:45:11 -04:00
Paul Morris 7cb3fd44f2 Bug 1577835 - Reformat common/ and ldap/ code. 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 common/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the common/ and ldap/ lines from
the .prettierignore file and running:
|mach eslint chat/ --fix|
2019-08-30 15:15:33 -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
Paul Morris 7015786614 Bug 1577606 - Adjust eslint and prettier config for reformatting. r=darktrojan 2019-08-29 15:09:53 -04:00
Paul Morris 9bcc5607c2 Bug 1577606 - Turn on Prettier but ignore all directories. r=darktrojan 2019-08-12 13:53:43 -04:00