From e4ea54bbe8848233d0f59ecd9bb553add4344269 Mon Sep 17 00:00:00 2001 From: Paul Morris Date: Tue, 2 Jul 2019 00:04:04 +0200 Subject: [PATCH] Bug 1534774 - [de-xbl] Convert minimonth bindings to custom elements. r=philipp Thanks to aleca for help with getting mozmill tests working on macos. --HG-- rename : calendar/base/content/widgets/minimonth.xml => calendar/base/content/widgets/calendar-minimonth.js --- .eslintignore | 3 +- .../calendar-event-dialog-attendees.xul | 1 + .../calendar-event-dialog-recurrence.js | 4 +- .../calendar-event-dialog-recurrence.xul | 7 +- .../calendar-event-dialog-reminder.xul | 1 + .../calendar-event-dialog-timezone.xul | 1 + .../content/dialogs/calendar-print-dialog.xul | 1 + calendar/base/content/today-pane.js | 4 +- calendar/base/content/today-pane.xul | 12 +- .../content/widgets/calendar-minimonth.js | 959 ++++++++++++++ .../widgets/calendar-widget-bindings.css | 8 - calendar/base/content/widgets/minimonth.xml | 1176 ----------------- calendar/base/jar.mn | 2 +- .../base/themes/common/widgets/minimonth.css | 16 +- .../content/lightning-item-iframe.xul | 1 + .../content/messenger-overlay-sidebar.xul | 3 +- .../datetimepickers/datetimepickers.js | 8 +- .../cal-recurrence/testAnnualRecurrence.js | 11 +- .../cal-recurrence/testBiweeklyRecurrence.js | 2 +- .../cal-recurrence/testDailyRecurrence.js | 4 +- .../testLastDayOfMonthRecurrence.js | 2 +- .../testWeeklyUntilRecurrence.js | 2 +- .../testWeeklyWithExceptionRecurrence.js | 2 +- .../recurrenceRotated/testAnnualRecurrence.js | 9 +- .../testBiweeklyRecurrence.js | 3 +- .../recurrenceRotated/testDailyRecurrence.js | 4 +- .../testLastDayOfMonthRecurrence.js | 3 +- .../testWeeklyUntilRecurrence.js | 2 +- .../testWeeklyWithExceptionRecurrence.js | 2 +- .../shared-modules/test-calendar-utils.js | 29 +- .../test/mozmill/testBasicFunctionality.js | 2 +- calendar/test/mozmill/views/testMonthView.js | 2 +- .../test/mozmill/views/testMultiweekView.js | 2 +- 33 files changed, 1045 insertions(+), 1243 deletions(-) create mode 100644 calendar/base/content/widgets/calendar-minimonth.js delete mode 100644 calendar/base/content/widgets/minimonth.xml diff --git a/.eslintignore b/.eslintignore index 6f5ac23baa..9c46e25e34 100644 --- a/.eslintignore +++ b/.eslintignore @@ -16,10 +16,11 @@ db/** other-licenses/** testing/** -# Temporarily disabled until the XUL parser is fixed. +# Temporarily disabled until the XUL parser is fixed (see bug 1542548). calendar/lightning/content/messenger-overlay-sidebar.xul calendar/providers/gdata/content/gdata-calendar-creation.xul common/src/viewSource.xul +calendar/base/content/today-pane.xul # We ignore all these directories by default, until we get them enabled. # If you are enabling a directory, please add directory specific exclusions diff --git a/calendar/base/content/dialogs/calendar-event-dialog-attendees.xul b/calendar/base/content/dialogs/calendar-event-dialog-attendees.xul index 3ce4194fad..342795845e 100644 --- a/calendar/base/content/dialogs/calendar-event-dialog-attendees.xul +++ b/calendar/base/content/dialogs/calendar-event-dialog-attendees.xul @@ -33,6 +33,7 @@