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

133 Коммитов

Автор SHA1 Сообщение Дата
Sean Burke d84ea84248 Bug 1786971 - consolidate timezone provider and service interfaces. r=darktrojan,lasana
Differential Revision: https://phabricator.services.mozilla.com/D155541

--HG--
rename : calendar/base/public/calITimezoneProvider.idl => calendar/base/public/calITimezoneService.idl
2022-09-08 01:04:13 +00:00
Martin Schröder 147f92675e Bug 1226851 - Remove export and import of Outlook calendar CSV format. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D122667

--HG--
extra : amend_source : d42107a37f9627b84a6d62583ab31459b1acc4ba
2021-08-16 13:04:52 +03:00
Geoff Lankow 741b4115b1 Bug 1713261 - Remove msgPrintEngine and the old calendar print UI. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D116202

--HG--
extra : rebase_source : 03c9ec79ac6ae6963d0debce8577a64a2a59b40d
2021-05-26 21:01:13 +12:00
Geoff Lankow bb8017a585 Bug 1695584 - Fix conversion of two-digit years when importing events from CSV. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D107010

--HG--
extra : moz-landing-system : lando
2021-03-03 22:05:32 +00:00
Lasana Murray e85e0354ec Bug 1687329 - Part 2: Add isEvent() and isTodo() to calIItemBase. r=darktrojan
This also removed cal.item.isEvent() and cal.item.isTodo.
2021-02-20 12:14:08 +02:00
Rob Lemley 7a4b5328a5 Bug 1678441 - Add license headers to calendar files that do not have one. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D97674
2020-11-19 20:35:02 +00:00
Rob Lemley 74c6535302 Bug 1672798 - Run black formatting on mozbuild and mozconfigure files. r=mkmelin
Bringing some sanity to our Python scripts.

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

--HG--
extra : rebase_source : 7eed46d79663fa1f261bd64d9bc1c83c4867bfc4
extra : histedit_source : b8b700c76ab2fee92eb426b5a5b69dc86376e60f
2020-10-30 14:28:33 -04:00
Paul Morris 4ada409e33 Bug 1659558 - Part 6: Convert `cal.createAlarm()` to `new CalAlarm()`. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D89273

--HG--
extra : rebase_source : f873f68d9591ce9d4f7a32140335f3264a0da11a
2020-09-03 09:31:50 -04:00
Paul Morris 1720739108 Bug 1659558 - Part 2: Convert `cal.createEvent()` to `new CalEvent()`. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D89267

--HG--
extra : rebase_source : c92da480512b285c16d9d991de3ac1dece4c003c
2020-09-01 13:43:59 -04:00
Geoff Lankow 0a60d34265 Bug 1652371 - Port bug 1649221 and bug 1649554. rs=bustage-fix CLOSED TREE
--HG--
extra : amend_source : cfc6361ee102cb0ee2e0c5b3497ec4a9b71688ca
2020-07-13 11:45:03 +12:00
Philipp Kewisch 41733433ed Bug 1634912 - de-xpcom calendar datetime formatter. r=pmorris
Differential Revision: https://phabricator.services.mozilla.com/D73560

--HG--
rename : calendar/base/src/CalDateTimeFormatter.jsm => calendar/base/modules/utils/calDateTimeFormatter.jsm
extra : rebase_source : 0177d70b86d0d000792fa60a45a7869cc4a32ea3
extra : amend_source : a9945da0486e0fe72378d3955dca084f8aba1e53
2020-05-16 14:17:45 +03:00
Paul Morris e5aa90c9e4 Bug 1583595 - Refactor import-export.js to support opening a given ics file. r=darktrojan
Parameterize the file and allow skipping opening a file picker
dialog.
2020-04-17 13:21:02 +03:00
Geoff Lankow 1916fd1eec Bug 1626391 - Fix calendar printing by giving templates URLs that work. r=pmorris
--HG--
extra : rebase_source : 1045c586b48cff5fabb0ef9c80dca67756308a84
extra : amend_source : efda66cf8fa96f704ffb7fe4bf0f4c11bc9868b6
extra : histedit_source : 16fecfab3c06aef1b2111706fed1750902e8f65c%2C4a92eed1233533b7340ba3900fe27928f109d84f
2020-04-17 11:59:57 +12:00
Khushil Mistry cc1231e87d Bug 1562313 - Convert most calendar JavaScript components (not calBackendLoader) to static registration. r=pmorris DONTBUILD
--HG--
rename : calendar/base/src/calAlarm.js => calendar/base/src/CalAlarm.jsm
rename : calendar/base/src/calAlarmMonitor.js => calendar/base/src/CalAlarmMonitor.jsm
rename : calendar/base/src/calAlarmService.js => calendar/base/src/CalAlarmService.jsm
rename : calendar/base/src/calAttachment.js => calendar/base/src/CalAttachment.jsm
rename : calendar/base/src/calAttendee.js => calendar/base/src/CalAttendee.jsm
rename : calendar/base/src/calCalendarManager.js => calendar/base/src/CalCalendarManager.jsm
rename : calendar/base/src/calCalendarSearchService.js => calendar/base/src/CalCalendarSearchService.jsm
rename : calendar/base/src/calDateTimeFormatter.js => calendar/base/src/CalDateTimeFormatter.jsm
rename : calendar/base/src/calDefaultACLManager.js => calendar/base/src/CalDefaultACLManager.jsm
rename : calendar/base/src/calDeletedItems.js => calendar/base/src/CalDeletedItems.jsm
rename : calendar/base/src/calEvent.js => calendar/base/src/CalEvent.jsm
rename : calendar/base/src/calFreeBusyService.js => calendar/base/src/CalFreeBusyService.jsm
rename : calendar/base/src/calIcsParser.js => calendar/base/src/CalIcsParser.jsm
rename : calendar/base/src/calIcsSerializer.js => calendar/base/src/CalIcsSerializer.jsm
rename : calendar/base/src/calItipItem.js => calendar/base/src/CalItipItem.jsm
rename : calendar/base/src/calProtocolHandler.js => calendar/base/src/CalProtocolHandler.jsm
rename : calendar/base/src/calRecurrenceDate.js => calendar/base/src/CalRecurrenceDate.jsm
rename : calendar/base/src/calRecurrenceInfo.js => calendar/base/src/CalRecurrenceInfo.jsm
rename : calendar/base/src/calRelation.js => calendar/base/src/CalRelation.jsm
rename : calendar/base/src/calSleepMonitor.js => calendar/base/src/CalSleepMonitor.jsm
rename : calendar/base/src/calStartupService.js => calendar/base/src/CalStartupService.jsm
rename : calendar/base/src/calTimezoneService.js => calendar/base/src/CalTimezoneService.jsm
rename : calendar/base/src/calTodo.js => calendar/base/src/CalTodo.jsm
rename : calendar/base/src/calTransactionManager.js => calendar/base/src/CalTransactionManager.jsm
rename : calendar/base/src/calWeekInfoService.js => calendar/base/src/CalWeekInfoService.jsm
rename : calendar/import-export/calHtmlExport.js => calendar/import-export/CalHtmlExport.jsm
rename : calendar/import-export/calIcsImportExport.js => calendar/import-export/CalIcsImportExport.jsm
rename : calendar/import-export/calListFormatter.js => calendar/import-export/CalListFormatter.jsm
rename : calendar/import-export/calMonthGridPrinter.js => calendar/import-export/CalMonthGridPrinter.jsm
rename : calendar/import-export/calOutlookCSVImportExport.js => calendar/import-export/CalOutlookCSVImportExport.jsm
rename : calendar/import-export/calWeekPrinter.js => calendar/import-export/CalWeekPrinter.jsm
rename : calendar/itip/calItipEmailTransport.js => calendar/itip/CalItipEmailTransport.jsm
rename : calendar/lightning/components/calItipProtocolHandler.js => calendar/lightning/components/CalItipProtocolHandler.jsm
rename : calendar/lightning/components/lightningTextCalendarConverter.js => calendar/lightning/components/CalMimeConverter.jsm
rename : calendar/providers/caldav/calDavCalendar.js => calendar/providers/caldav/CalDavCalendar.jsm
rename : calendar/providers/composite/calCompositeCalendar.js => calendar/providers/composite/CalCompositeCalendar.jsm
rename : calendar/providers/ics/calICSCalendar.js => calendar/providers/ics/CalICSCalendar.jsm
rename : calendar/providers/memory/calMemoryCalendar.js => calendar/providers/memory/CalMemoryCalendar.jsm
rename : calendar/providers/storage/calStorageCalendar.js => calendar/providers/storage/CalStorageCalendar.jsm
2020-02-25 12:48:44 +02:00
Geoff Lankow 63baa60279 Bug 1616608 - Remove separate ESLint rules in calendar. r=mkmelin,pmorris,fallen
--HG--
extra : rebase_source : 5042b09cb7b5a489b73252a65c64fabc0b8d7eb3
extra : histedit_source : 4a89a83e1f054e061bec9f7a1fb78c1925c0a728
2020-02-20 11:24:47 +13:00
Paul Morris 5548c2cd73 Bug 1612166 - Remove 'chrome://calendar-common/skin/' path. r=Fallen
Use chrome://calendar/skin/shared/ instead, as in mail code.

--HG--
extra : rebase_source : 971ce66763f77dfdd7e117c5f764a3aacfde7e63
extra : histedit_source : 50bda5d021bc1882c196aae1efd9331d7451a079
2020-02-10 13:21:13 -05:00
Paul Morris 01ed1f9cdf Bug 1608610 - Update paths for components and other js/json files. r=darktrojan
--HG--
extra : rebase_source : ec86446a57332ec91e0c5c9f73eeefd114c6fa8f
2020-01-10 22:44:21 -05: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 cf25cdb620 Bug 1608610 - Change build system to integrate calendar. r=darktrojan,Fallen
--HG--
extra : rebase_source : 1c01093c976a13a16c35fdcf9bba8790f1afac4d
2020-01-10 22:30:43 -05:00
Khushil Mistry 7b1df6ab86 Bug 1557504 - remove [array] use in xpidl from calIIcsParser.idl. r=pmorris 2019-11-25 23:28:18 +05:30
Khushil Mistry 14385c885e Bug 1557504 - remove [array] use in xpidl from calIIcsSerializer.idl. r=pmorris 2019-11-21 11:05:15 +13:00
Khushil Mistry aae516e304 Bug 1557504 - remove [array] use in xpidl from calIItipTransport.idl and calIPrintFormatter.idl. r=pmorris 2019-11-14 08:05:00 +01:00
Khushil Mistry 099a43dd6d Bug 1557504 - remove [array] use in xpidl from calIItemBase.idl and calIAlarm.idl. r=pmorris 2019-11-14 21:19:51 +05:30
Khushil Mistry 0d85f311b2 Bug 1557504 - remove [array] use in xpidl from calIImportExport.idl. r=pmorris 2019-11-14 21:03:06 +05:30
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 3d097a233d Bug 1569539 - Flatten chrome folders in Lightning and GData packages; r=Fallen 2019-08-07 22:38:19 +02:00
Geoff Lankow 922646df13 Bug 1561528 - Use CSS variables for calendar colours when printing rather than dynamically adding CSS rules. r=philipp 2019-06-26 20:23:05 +12:00
Jorg K c70f26ca6d Bug 1480919 - fix new typos in calendar/ except calendar/base using codespell. r=darktrojan 2019-03-30 08:40:03 +01:00
Geoff Lankow 90171e45d9 Bug 1534155 - Stop ignoring no-undef linter rule in calendar; r=Fallen 2019-03-15 11:03:39 +13:00
Geoff Lankow 854b5cd72c Bug 1530532 - Minimise uses of Preferences.jsm; r=Fallen DONTBUILD 2019-03-05 21:58:09 +13: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
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
MakeMyDay ceb267da9a Bug 1517155 - fix encoding of calOutlookCSVImportExport.js to be UTF-8 and not windows-1252. r=philipp 2019-01-01 22:24:27 +01:00
Martin Schroeder 957d0cd0bf Bug 1458367 - Mass replace the Components.interface/Components.utils uses with Ci/Cu in Calendar. r=MakeMyDay 2018-09-23 01:20:13 +02: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
MakeMyDay 206b588700 Bug 1101381 - Restore Calendar printing. r=philipp DONTBUILD 2018-07-18 14:31:21 +02:00
Jorg K 907b9f81c6 Backed out changeset 48373a3601ff (bug 1414612) for landing with the wrong bug number. a=backout
--HG--
extra : amend_source : 1becc3837ac5c330251f3e1c8649e546d980bcf3
2018-07-18 20:35:13 +02:00
MakeMyDay d184c5bc21 Bug 1414612 - Restore Calendar printing. r=philipp 2018-07-18 14:31:21 +02:00
Philipp Kewisch aa45564f77 Bug 1457087 - Replace use of XPCOMUtils.generateQI where possible. r=MakeMyDay
MozReview-Commit-ID: 1kMFGQDeANj
2018-05-04 13:04:24 +02:00
Philipp Kewisch c4532cd257 Bug 1452120 - Make icaljs backend loader work with packed extensions. r=MakeMyDay DONTBUILD
MozReview-Commit-ID: 5yWIQUajyLE

--HG--
extra : rebase_source : 4e656a1e80563322d5e73f22dc40a936e4b6b1cc
2018-05-01 14:53:01 +02:00
Philipp Kewisch 2d12ade709 Bug 1440980 - Load sub-modules via calUtils.jsm - calXMLUtils. r=MakeMyDay
MozReview-Commit-ID: 990IG64RTmz

--HG--
extra : rebase_source : a7bfe3223de57f343e5fa216ea2e2cb7cd35c62e
2018-02-24 20:05:29 +01:00
Philipp Kewisch a7b724e47a Bug 1440980 - Load sub-modules via calUtils.jsm - calPrintUtils. r=MakeMyDay
MozReview-Commit-ID: FKBOtJfRrVo

--HG--
extra : rebase_source : 0145bb9fccf32b68d436dc39bca98f5279d8578a
2018-02-24 18:08:49 +01:00
Philipp Kewisch f06a2152ea Bug 1440980 - Load sub-modules via calUtils.jsm - calAlarmUtils. r=MakeMyDay
MozReview-Commit-ID: dQYHSH0FQe

--HG--
extra : rebase_source : 1bd702a1a69a042a41a8149fc43f5aa4430ebc50
2018-02-24 16:08:48 +01:00
Philipp Kewisch f8d50ea48f Bug 1440490 - Move l10n related functions into calL10NUtils.jsm - part 5 - migrate getDateFmtString. r=MakeMyDay
MozReview-Commit-ID: 65lJM28zm91

--HG--
extra : rebase_source : febffeb5c62f659cff081e7262766478aec34804
2018-02-22 09:18:15 +01:00
Philipp Kewisch 7134cde503 Bug 1440490 - Move l10n related functions into calL10NUtils.jsm - part 3 - migrate getCalString. r=MakeMyDay
MozReview-Commit-ID: 4rjjnuh2Du6

--HG--
extra : rebase_source : a5dcc1ef2e34411bf3c8f398179e3879bd4d24e0
2018-02-22 07:43:54 +01:00
Philipp Kewisch 8c59c424e1 Bug 1440490 - Move l10n related functions into calL10NUtils.jsm - part 2 - migrate formatMonth/sortArrayByLocaleCollator/createLocaleCollator. r=MakeMyDay
MozReview-Commit-ID: V07uSxVwgX

--HG--
extra : rebase_source : 0f7a8b816fe404ed0c3fcc7b0e806c3bfc4574de
2018-02-22 07:38:37 +01:00
aceman 931fca452f Bug 1445396 - remove nsIDOMText use in calendar. r=philipp 2018-03-13 17:07:00 +01:00
Philipp Kewisch df27dd0de4 Bug 1436491 - Move category related functions into calCategoryUtils.jsm - automatic changes. r=MakeMyDay
MozReview-Commit-ID: FiYS1ZtzkE7

--HG--
extra : rebase_source : 3e6cadc9a632ff080772ee1e02f46911c45115e1
2018-02-07 20:57:00 +01:00
Philipp Kewisch 1261c91041 Bug 1436490 - Move more data related functions into calDataUtils.jsm - automatic changes. r=MakeMyDay
MozReview-Commit-ID: CNbYWbaDrLj

--HG--
extra : rebase_source : 2b8adafc0faf5eaadf20ce1d0c4bb6612524d724
2018-02-03 22:34:07 +01: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