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

11 Коммитов

Автор SHA1 Сообщение Дата
Alessandro Castellani c919ceff4b Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D188868

--HG--
extra : moz-landing-system : lando
2023-09-22 00:41:53 +00:00
Sean Burke 151cb9e647 Bug 1847647 - ESMify calendar utility modules. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D185875

--HG--
rename : calendar/base/modules/calUtils.jsm => calendar/base/modules/calUtils.sys.mjs
rename : calendar/base/modules/utils/calACLUtils.jsm => calendar/base/modules/utils/calACLUtils.sys.mjs
rename : calendar/base/modules/utils/calAlarmUtils.jsm => calendar/base/modules/utils/calAlarmUtils.sys.mjs
rename : calendar/base/modules/utils/calAuthUtils.jsm => calendar/base/modules/utils/calAuthUtils.sys.mjs
rename : calendar/base/modules/utils/calCategoryUtils.jsm => calendar/base/modules/utils/calCategoryUtils.sys.mjs
rename : calendar/base/modules/utils/calDataUtils.jsm => calendar/base/modules/utils/calDataUtils.sys.mjs
rename : calendar/base/modules/utils/calDateTimeFormatter.jsm => calendar/base/modules/utils/calDateTimeFormatter.sys.mjs
rename : calendar/base/modules/utils/calDateTimeUtils.jsm => calendar/base/modules/utils/calDateTimeUtils.sys.mjs
rename : calendar/base/modules/utils/calEmailUtils.jsm => calendar/base/modules/utils/calEmailUtils.sys.mjs
rename : calendar/base/modules/utils/calInvitationUtils.jsm => calendar/base/modules/utils/calInvitationUtils.sys.mjs
rename : calendar/base/modules/utils/calItemUtils.jsm => calendar/base/modules/utils/calItemUtils.sys.mjs
rename : calendar/base/modules/utils/calIteratorUtils.jsm => calendar/base/modules/utils/calIteratorUtils.sys.mjs
rename : calendar/base/modules/utils/calItipUtils.jsm => calendar/base/modules/utils/calItipUtils.sys.mjs
rename : calendar/base/modules/utils/calL10NUtils.jsm => calendar/base/modules/utils/calL10NUtils.sys.mjs
rename : calendar/base/modules/utils/calPrintUtils.jsm => calendar/base/modules/utils/calPrintUtils.sys.mjs
rename : calendar/base/modules/utils/calProviderDetectionUtils.jsm => calendar/base/modules/utils/calProviderDetectionUtils.sys.mjs
rename : calendar/base/modules/utils/calProviderUtils.jsm => calendar/base/modules/utils/calProviderUtils.sys.mjs
rename : calendar/base/modules/utils/calUnifinderUtils.jsm => calendar/base/modules/utils/calUnifinderUtils.sys.mjs
rename : calendar/base/modules/utils/calViewUtils.jsm => calendar/base/modules/utils/calViewUtils.sys.mjs
rename : calendar/base/modules/utils/calWindowUtils.jsm => calendar/base/modules/utils/calWindowUtils.sys.mjs
rename : calendar/base/modules/utils/calXMLUtils.jsm => calendar/base/modules/utils/calXMLUtils.sys.mjs
extra : amend_source : c2e9643e8c3f953786dd86e61743c299214d5c48
2023-08-15 11:08:52 +01:00
Sean Burke 48350ef5e2 Bug 1759768 - use standard lazy getters for cal services. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D141897

--HG--
extra : rebase_source : 04fa44e10268a8a15d1672f3c567ab773d25d7eb
extra : histedit_source : 42ebdf5ffc87b7d2a0167d4a2ee020687e7955be
2022-03-23 20:15:31 +00:00
Paul Morris 9d5775e45b Bug 1608610 - Update 'modules' paths. r=darktrojan
--HG--
extra : rebase_source : 49552a947fa8c03751c369e7d206d54c4f08439d
2020-01-10 22:41:34 -05:00
Paul Morris ebeef1abf8 Bug 1577606 - Reformat calendar code with eslint and Prettier. r=darktrojan
# ignore-this-changeset

These changes were achieved by:

1. Using eslint to re-indent calendar code with 2 space
indent instead of 4.

Done by temporarily adding the following rule to the
calendar/.eslintrc.js file:

  "indent-legacy": [2, 2, { SwitchCase: 1, }],

Then temporarily turning off Prettier by adding to that
file the rule:

  "prettier/prettier": "off",

Then running |mach eslint calendar/ --fix|

2. Reformatting the calendar code using Prettier.

Done by removing those two temporary additions from the
calendar/.eslintrc.js file and running
|mach eslint calendar/ --fix|.
2019-08-29 15:15:53 -04:00
Geoff Lankow aea48ffad0 Bug 1520643 - Port bug 1514594: Change import call sites using kmag's script (calendar/). rs=bustage-fix,jorgk 2019-01-29 11:24:57 +01:00
Geoff Lankow b641cb088b Bug 1480393 - Explicitly declare what is being imported with ChromeUtils.import; r=Fallen 2018-08-22 10:44:43 +12:00
Philipp Kewisch ffa3049d17 Bug 1434737 - Move to ChromeUtils.import() - Calendar part. r=MakeMyDay
MozReview-Commit-ID: 4ahbZ5P9Ad
2018-01-31 13:31:28 +01:00
Kushan Joshi 65c4dd512f Fix bug 1022342 - Make use of Assert.jsm in xpcshell tests. r=philipp 2015-02-23 01:24:29 +01:00
Gervase Markham d9160e1ab8 Bug 757018 - upgrade license to MPL 2. 2012-05-30 17:48:24 +01:00
Philipp Kewisch 65f0fc5b8c Fix bug 523860 - Do not escape double quote character " to \" in iCalendar output (potential RFC 2445 violation). r=mmecca 2011-07-28 03:05:00 +02:00