Geoff Lankow
57782ef9cb
Bug 1917411 - Stop assembling date, time, and interval strings from localised parts. r=aleca
...
This patch removes all (that I could find) attempts to assemble localised strings from their
various components (e.g. day + " " + monthName + " " + year) and replaces then with standard
methods using Intl.DateTimeFormatter.
After the change, the preference intl.regional_prefs.use_os_locales should behave as intended for
all calendar code. That is:
- if the pref is false, and the application and operating system use different languages (ignoring
regional variations), the application's language will be used to format date and times.
- if the pref is true, or the both use the same language, that language will be used.
Differential Revision: https://phabricator.services.mozilla.com/D221752
--HG--
extra : rebase_source : 5f2e9a6bad6df04c3cb54721a4a90d70c83c6814
2024-09-09 20:52:39 +12:00
Magnus Melin
a2f2951dd6
Bug 1912710 - Reinstate unifinder matching for "LOCATION", "DESCRIPTION", "URL". r=john.bieling
...
Differential Revision: https://phabricator.services.mozilla.com/D224582
2024-10-09 17:49:06 +00:00
Magnus Melin
004297a431
Bug 334657 - follow-up, fix linting. rs=lint DONTBUILD
2024-09-27 14:42:25 +03:00
Magnus Melin
5a7518ff13
Bug 334657 - make ics parsing more tolerant to non-utf8 data. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D223675
--HG--
rename : calendar/test/unit/data/import.ics => calendar/test/unit/data/importLatin1.ics
extra : rebase_source : 84382d48d1517b381fdbab641fb7d6315d614a0d
2024-09-27 10:34:18 +03:00
Magnus Melin
03004531ab
Bug 1906077 - ICS calendar subscriptions should use the original URI for temporary redirects. r=aleca
...
To test, subscribe to https://github.com/othyn/go-calendar/releases/latest/download/gocal__community_day.ics
Also
* don't fail for cases there content-type is null
* accept for content-type=application/octet-stream where the Content-Disposition says it's an .ics
Differential Revision: https://phabricator.services.mozilla.com/D220872
--HG--
extra : rebase_source : a3e7e2cc8f56bdf7e7968b1a2863bbfa8002b9a2
extra : absorb_source : 3e9d607dfd459e5ad8f87348838f9667711f8cd8
2024-09-05 13:42:16 +03:00
Magnus Melin
bc70dfc148
Bug 1855900 - Add Past Events and All Events options to unifinder. r=aleca,leftmostcat
...
Parts by Geoff Lankow.
Differential Revision: https://phabricator.services.mozilla.com/D212771
--HG--
extra : rebase_source : 26338545611a2facdb1e0ca6f9f489d4ffadefa6
extra : amend_source : 76944f98df4cec14db2900c50444d84f2da68d75
2024-09-02 17:09:47 +03:00
Antonin Delpeuch
700ce73ce5
Bug 1716745 - Fix CalDav import of ICS events with special characters in the UID. r=darktrojan
...
Makes sure the PUT request has a valid URL to avoid import errors.
Differential Revision: https://phabricator.services.mozilla.com/D215445
--HG--
extra : amend_source : 6b510f3e96c6b8fb202db547094f7f519652f6cf
extra : absorb_source : e27745c77a3c24887e3b4b815d7c5273d0fdd5ab
2024-07-03 11:58:11 +02:00
Magnus Melin
3203350ac9
Bug 1890975 - When updating start time of recurring event series, should not move the time of event exceptions. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D211507
--HG--
extra : rebase_source : 6f91bdc1dcf966c5a6c62267dac6e4e10f0312cf
2024-05-29 07:47:25 +00:00
Geoff Lankow
ccc0a780ec
Bug 1890731 - Begin replacing nsITreeView with TreeDataAdapter. r=freaktechnik,aleca
...
Creates and heavily modifies a copy of PROTO_TREE_VIEW from jsTreeView.js. I've removed a bunch of
things that are no longer needed because we don't need to implement nsITreeView, and tidied up
what remains, while keeping the general concepts intact.
Differential Revision: https://phabricator.services.mozilla.com/D208446
--HG--
rename : mail/base/content/modules/thread-pane-columns.mjs => mail/base/content/modules/ThreadPaneColumns.mjs
rename : mailnews/base/content/jsTreeView.js => mail/base/content/modules/TreeDataAdapter.mjs
rename : mail/base/content/widgets/tree-selection.mjs => mail/base/content/modules/TreeSelection.mjs
rename : mail/base/test/widgets/files/autoTreeView.js => mail/base/test/widgets/files/autoTreeView.mjs
rename : mail/base/test/widgets/files/tree-element-test-common.js => mail/base/test/widgets/files/tree-element-test-common.mjs
rename : mail/base/test/widgets/files/tree-element-test-header.js => mail/base/test/widgets/files/tree-element-test-header.mjs
rename : mail/base/test/widgets/files/tree-element-test-no-header.js => mail/base/test/widgets/files/tree-element-test-no-header.mjs
extra : moz-landing-system : lando
2024-05-21 04:33:23 +00:00
Geoff Lankow
af6b9ac74a
Bug 1824264 - Update ical.js to ES6 version. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D205739
--HG--
extra : amend_source : 7500126b545d60f2fd1558bdf7e750fe0fbf333e
2024-04-22 10:57:29 +01:00
Stephan Raab
cbaf3f3d77
Bug 1878944 - Fixing the sometimes not sent e-mail about the acceptance/rejection of appointments r=mkmelin
...
Currently, the email address in the account and the one used in the invitation must match one to one. This means that emails cannot be sent if there is a difference in capitalization.
This is now fixed by this code change.
Differential Revision: https://phabricator.services.mozilla.com/D207474
--HG--
extra : amend_source : 5892eae5c102b4f18876e917d7a45611797451fd
2024-04-16 23:07:08 +01:00
John Bieling
621fded4c5
Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik
...
Using D194522 for auto-fixing unused variables.
Differential Revision: https://phabricator.services.mozilla.com/D205426
--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
Magnus Melin
7dc5369bf3
Bug 1886417 - remove HashedArray. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D205206
--HG--
extra : rebase_source : f205ecf13436076a9c409ab1c87d26b38ef530ba
2024-03-22 09:50:18 +02: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
Magnus Melin
6a784829d2
Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat
...
Ical.jsm doesn't want to be converted over so leaving it for now.
Will figure out how to resolve the issues there, or take bug 1824264 in next step.
Differential Revision: https://phabricator.services.mozilla.com/D204606
--HG--
rename : calendar/base/modules/calCalendarDeactivator.jsm => calendar/base/modules/calCalendarDeactivator.sys.mjs
rename : calendar/base/modules/calExtract.jsm => calendar/base/modules/calExtract.sys.mjs
rename : calendar/base/modules/calHashedArray.jsm => calendar/base/modules/calHashedArray.sys.mjs
rename : calendar/base/modules/calRecurrenceUtils.jsm => calendar/base/modules/calRecurrenceUtils.sys.mjs
rename : calendar/base/src/calCachedCalendar.js => calendar/base/src/CalCachedCalendar.sys.mjs
rename : calendar/base/src/CalMetronome.jsm => calendar/base/src/CalMetronome.sys.mjs
rename : calendar/base/src/CalReadableStreamFactory.jsm => calendar/base/src/CalReadableStreamFactory.sys.mjs
rename : calendar/base/src/CalTimezone.jsm => calendar/base/src/CalTimezone.sys.mjs
rename : calendar/base/src/CalTransactionManager.jsm => calendar/base/src/CalTransactionManager.sys.mjs
rename : calendar/extract/CalExtractParser.jsm => calendar/extract/CalExtractParser.sys.mjs
rename : calendar/extract/CalExtractParserService.jsm => calendar/extract/CalExtractParserService.sys.mjs
rename : calendar/itip/CalItipMessageSender.jsm => calendar/itip/CalItipMessageSender.sys.mjs
rename : calendar/itip/CalItipOutgoingMessage.jsm => calendar/itip/CalItipOutgoingMessage.sys.mjs
rename : calendar/providers/caldav/CalDavProvider.jsm => calendar/providers/caldav/CalDavProvider.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequest.jsm => calendar/providers/caldav/modules/CalDavRequest.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequestHandlers.jsm => calendar/providers/caldav/modules/CalDavRequestHandlers.sys.mjs
rename : calendar/providers/caldav/modules/CalDavSession.jsm => calendar/providers/caldav/modules/CalDavSession.sys.mjs
rename : calendar/providers/caldav/modules/CalDavUtils.jsm => calendar/providers/caldav/modules/CalDavUtils.sys.mjs
rename : calendar/providers/ics/CalICSProvider.jsm => calendar/providers/ics/CalICSProvider.sys.mjs
rename : calendar/providers/storage/CalStorageCachedItemModel.jsm => calendar/providers/storage/CalStorageCachedItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageDatabase.jsm => calendar/providers/storage/CalStorageDatabase.sys.mjs
rename : calendar/providers/storage/CalStorageItemModel.jsm => calendar/providers/storage/CalStorageItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageMetaDataModel.jsm => calendar/providers/storage/CalStorageMetaDataModel.sys.mjs
rename : calendar/providers/storage/CalStorageModelBase.jsm => calendar/providers/storage/CalStorageModelBase.sys.mjs
rename : calendar/providers/storage/CalStorageModelFactory.jsm => calendar/providers/storage/CalStorageModelFactory.sys.mjs
rename : calendar/providers/storage/CalStorageOfflineModel.jsm => calendar/providers/storage/CalStorageOfflineModel.sys.mjs
rename : calendar/providers/storage/CalStorageStatements.jsm => calendar/providers/storage/CalStorageStatements.sys.mjs
rename : calendar/providers/storage/calStorageHelpers.jsm => calendar/providers/storage/calStorageHelpers.sys.mjs
rename : calendar/providers/storage/calStorageUpgrade.jsm => calendar/providers/storage/calStorageUpgrade.sys.mjs
rename : calendar/test/CalDAVServer.jsm => calendar/test/CalDAVServer.sys.mjs
rename : calendar/test/CalendarTestUtils.jsm => calendar/test/CalendarTestUtils.sys.mjs
rename : calendar/test/CalendarUtils.jsm => calendar/test/CalendarUtils.sys.mjs
rename : calendar/test/ICSServer.jsm => calendar/test/ICSServer.sys.mjs
rename : calendar/test/ItemEditingHelpers.jsm => calendar/test/ItemEditingHelpers.sys.mjs
extra : amend_source : 180eac675e4893d841f439bd0f6e1d4ed292c783
2024-03-15 17:45:58 -07:00
Geoff Lankow
990daa6277
Bug 1880211 - Convert the OAuth2 code to use Promises instead of callbacks. r=leftmostcat,mkmelin
...
This is a prerequisite for the next patch (and a tidy up of some quite ugly code, frankly) – using
Promises instead of callbacks, it's much easier to have two things waiting on the same result.
Differential Revision: https://phabricator.services.mozilla.com/D201795
--HG--
extra : rebase_source : 2f0eaac2bba5302588bfa540143b53e5ba9fd0c1
extra : amend_source : e6e96f0ea3f1eddf664ff3865ab1bafdbc9cffab
2024-02-14 12:06:09 +13:00
Martin Giger
9ef60e63ff
Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier
...
Differential Revision: https://phabricator.services.mozilla.com/D202578
--HG--
extra : histedit_source : cf86a38881db2e15fa5665e86a444ac9091357a0
2024-02-23 13:54:58 +00:00
Magnus Melin
2cbcc82537
Bug 1875495 - Port bug 1780071 - Linter should yell if using assignment or comparisons inside assertion conditions. r=aleca
...
Didn't spot any direct errors, but these are the rewrites the plugin does for `--fix`
Differential Revision: https://phabricator.services.mozilla.com/D199105
--HG--
extra : amend_source : aa962db6dbcba906fb65b8a74ce1c0ad4f367d9f
2024-01-22 11:21:09 +01:00
Magnus Melin
28e54a7819
Bug 1874187 - Port bug 1873914 - Remove PromiseUtils module. r=babolivier
...
Differential Revision: https://phabricator.services.mozilla.com/D198283
--HG--
extra : rebase_source : 3fd3488856cbdfbe05d3b6e4fc100d69b7feb413
extra : amend_source : 41f394264192ffce3d81b901da745283964f8369
2024-01-11 19:55:47 +02:00
Magnus Melin
87b2fa80d3
Bug 1873189 - Port bug 1845586 - Replace PromiseUtils.defer with Promise.withResolvers. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D197777
--HG--
extra : moz-landing-system : lando
2024-01-05 17:10:16 +00:00
Brendan Abolivier
9406e5818b
Bug 1846837 - Use the FQDN identity attribute to generate Message-Id headers, if set. r=mkmelin
...
Also update the message ID generation to use nsACString instead of raw strings.
Differential Revision: https://phabricator.services.mozilla.com/D191842
--HG--
extra : amend_source : c19f9f6703a28a24ba3010f1e0f1172a840bfbff
2023-11-03 12:02:51 +02:00
Magnus Melin
91e0f92d72
Bug 1861355 - Event cancellation should not be sent for ones own events. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D192214
--HG--
extra : rebase_source : d89b05f85c8f872f188e55eea8bf441b24a847c4
extra : amend_source : a56b272e722f1b886010a192b682166ee9dda667
2023-11-03 08:53:19 +02:00
Martin Giger
250b7b346b
Bug 1860082 - Catch up on remaining module imports with mozilla-central ES module conversion. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D191455
--HG--
extra : amend_source : 4b62de902b3273a2d7320266c81e3fc582370265
extra : histedit_source : e5d6f14765bb4ff950a2885b61bfb1e3c8fe2c8a
2023-10-24 17:37:01 +01:00
Martin Giger
36434e77f0
Bug 1860082 - Import NetUtil as an ES module. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D191454
--HG--
extra : amend_source : 154391ab3f189d0bb0aa8e89c165c4d398787e5c
extra : histedit_source : 7a9452a144010f7fe4fb92751cb57ed51fc891af
2023-10-24 17:36:42 +01:00
Magnus Melin
33e8b36813
Bug 1803986 - Remove nsIScriptableUnicodeConverter usage from OpenPGP code. Part 1: UTF-8 to bytestring cases. r=john.bieling
...
Use standard means to get bytestring from utf-8 data.
```
var {EnigmailData} = ChromeUtils.import("chrome://openpgp/content/modules/data.jsm");
var {MailStringUtils} = ChromeUtils.import("resource:///modules/MailStringUtils.jsm");
var text = "blä";
var A = EnigmailData.convertFromUnicode(text, "utf-8")
var B = MailStringUtils.stringToByteString(text);
A + " vs " + B;
```
Differential Revision: https://phabricator.services.mozilla.com/D190387
2023-10-11 09:48:00 +00:00
Geoff Lankow
823e32b095
Bug 1856509 - Prevent the Find Events pane loading all events at start-up. r=leftmostcat
...
The Find Events tree view is activated at start-up whether it is open or not, and without a start and end date set.
This causes it to load all events in the calendar, which can take a long time, for no reason.
I've prevented the problem in two ways:
- Only activate the view when the Calendar tab is in the foreground and the Find Events panel is opened.
Deactivate it again if the panel is closed.
- Stop the calendar view mixin from reading from calendars without all of the item type, start date, and end date set.
ISTR this was the original intention but it got lost somewhere along the way.
Differential Revision: https://phabricator.services.mozilla.com/D189888
--HG--
extra : rebase_source : 5329cfeddaaf6d573158ffb07ef0753f35b79607
2023-10-08 23:39:44 +00:00
Magnus Melin
4d8ea93e63
Bug 1857196 - CalIcsParser error with empty ATTENDEE:. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D190271
--HG--
extra : moz-landing-system : lando
2023-10-06 16:21:34 +00:00
Geoff Lankow
8fe91f3310
Bug 1847658 follow-up - Fix a broken test. rs=bustage-fix
2023-10-02 11:50:28 +13:00
Sean Burke
38b9c6416a
Bug 1847658 - Account for organizer as attendee of sent invite in iTIP. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D189023
--HG--
extra : amend_source : 0b68acfae8702e1e669b68faf4845b5ac30b1474
2023-09-30 12:49:13 +03:00
Geoff Lankow
1b576ee18d
Bug 1854422 - Set ICAL.design.strict to false in the main thread. r=mkmelin
...
Setting this property disappeared when libical was removed. I've added it to calUtils.jsm because that should get loaded before anything tries to use ical.js.
Differential Revision: https://phabricator.services.mozilla.com/D189603
--HG--
extra : moz-landing-system : lando
2023-09-29 09:47:31 +00:00
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
Alessandro Castellani
991fae5d76
Bug 1854255 - Enable `prefer-const` as linting rule for some tests head files. r=vineet
...
Differential Revision: https://phabricator.services.mozilla.com/D188765
--HG--
extra : moz-landing-system : lando
2023-09-21 05:40:50 +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
Brendan Abolivier
afb10a9c42
Bug 1727181 - Generate the Message-ID header using the From address when sending a message from the composer. r=leftmostcat
...
Loosely inspired by the patch from @lkkmpn.
Differential Revision: https://phabricator.services.mozilla.com/D182347
--HG--
extra : amend_source : bc36b297b144db56c22b681480a66a5c99e98f24
2023-07-13 15:48:27 +03:00
Martin Giger
c5224dd83b
Bug 1840077 - Port Bug 1820599: addLogin interface change. r=elizabeth
...
Differential Revision: https://phabricator.services.mozilla.com/D181885
--HG--
extra : moz-landing-system : lando
2023-06-23 16:41:36 +00:00
Rob Lemley
5af325a42f
Bug 1833949 - Port bug 1826062: Automatic reformatting for Prettier 2.8.8. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D178538
--HG--
extra : amend_source : 1f4ecb957a2e2bf2bf6353b9ef43269d53ebab42
2023-05-21 15:05:52 +10:00
Rob Lemley
58f2dc08f0
Bug 1833949 - Port bug 1826062: Automatic reformatting for Prettier 2.0.5. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D178537
--HG--
extra : amend_source : 4c543c3aeea4bb0a59407f358166956d9026e6a2
2023-05-21 15:05:24 +10:00
Sean Burke
5532cff70b
Bug 1829257 - rename system timezone pref and add telemetry probe. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D177401
--HG--
extra : moz-landing-system : lando
2023-05-09 10:58:47 +00:00
Geoff Lankow
16c0bb426b
Bug 1791459 - Convert more test setup functions to add_setup. rs=me
2023-05-01 10:31:39 +12:00
Geoff Lankow
839268f38e
Bug 1763752 - Create an nsITreeView backed by CalendarFilteredViewMixin. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D169138
--HG--
extra : amend_source : 4898bd6d1608ad065df83ac94380f03a415870bc
2023-04-19 20:56:45 +10:00
Sean Burke
7d9d8ef5e5
Bug 1822846 - remove dead code from calendar utils and controller files. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D173092
--HG--
extra : moz-landing-system : lando
2023-03-22 21:06:48 +00:00
Geoff Lankow
09ceec6b19
Bug 1818989 - Port bug 1772089 p3: Remove content temp dir from PathUtils. r=mkmelin
...
Port of https://hg.mozilla.org/mozilla-central/rev/5851b2b1d419b37656d0275e89be53690c95962b
Differential Revision: https://phabricator.services.mozilla.com/D171036
2023-02-26 23:41:18 +00:00
Sean Burke
53972b713c
Bug 1816168 - use time zone offset for date formatting instead of tzid. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D169521
--HG--
extra : amend_source : 650713df7618ea39a0d85821cb0a77c07e659484
2023-02-22 21:30:20 +11:00
Geoff Lankow
01873f11ca
Bug 1762335 - Replace uses of nsIScriptableUnicodeConverter. r=mkmelin,leftmostcat
...
Removes all but one linter warning (in mail/extensions/openpgp/content/modules/data.jsm).
Differential Revision: https://phabricator.services.mozilla.com/D163302
--HG--
extra : rebase_source : b160ed38b53520c9ac8b786271a9189ae4f4beb3
extra : amend_source : 78ff1159a9b6d79a0df207d315a384774529ab7b
2022-11-28 12:00:59 +13:00
Magnus Melin
ce399a22e9
Bug 1803332 - Port bug 1801092 to Thunderbird - Add an ESLint rule to disallow single-argument use of Cu.reportError. rs=eslint DONTBUILD
2022-11-30 21:43:13 +11: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
5f617743e0
Bug 1801272 - Convert imports of modules from testing/ to ESM. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D162373
--HG--
extra : rebase_source : cf6272b43faaea35793235708edbfc94c407fc9f
2022-11-19 20:04:39 +11:00
Sean Burke
bcc779b1be
Bug 1794029 - create ICU timezone database service. r=darktrojan,mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D159285
--HG--
extra : moz-landing-system : lando
2022-10-26 17:44:52 +00:00
Geoff Lankow
61a9cafb6f
Bug 1795797 - Await CalDAVServer.putItemInternal wherever it is called. r=mkmelin
...
I missed one of these in a review comment. It turns out there are many calls which do not await, although it doesn't appear to make any difference.
Differential Revision: https://phabricator.services.mozilla.com/D159823
--HG--
extra : moz-landing-system : lando
2022-10-24 22:35:42 +00:00