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

12 Коммитов

Автор SHA1 Сообщение Дата
Martin Giger ff911384e3 Bug 1881745 - Convert all registered components from JSM to ESM. r=thunderbird-reviewers,ikey
Differential Revision: https://phabricator.services.mozilla.com/D202568

--HG--
rename : calendar/base/src/CalAlarm.jsm => calendar/base/src/CalAlarm.sys.mjs
rename : calendar/base/src/CalAlarmMonitor.jsm => calendar/base/src/CalAlarmMonitor.sys.mjs
rename : calendar/base/src/CalAlarmService.jsm => calendar/base/src/CalAlarmService.sys.mjs
rename : calendar/base/src/CalAttachment.jsm => calendar/base/src/CalAttachment.sys.mjs
rename : calendar/base/src/CalAttendee.jsm => calendar/base/src/CalAttendee.sys.mjs
rename : calendar/base/src/CalCalendarManager.jsm => calendar/base/src/CalCalendarManager.sys.mjs
rename : calendar/base/src/CalDateTime.jsm => calendar/base/src/CalDateTime.sys.mjs
rename : calendar/base/src/CalDefaultACLManager.jsm => calendar/base/src/CalDefaultACLManager.sys.mjs
rename : calendar/base/src/CalDeletedItems.jsm => calendar/base/src/CalDeletedItems.sys.mjs
rename : calendar/base/src/CalDuration.jsm => calendar/base/src/CalDuration.sys.mjs
rename : calendar/base/src/CalEvent.jsm => calendar/base/src/CalEvent.sys.mjs
rename : calendar/base/src/CalFreeBusyService.jsm => calendar/base/src/CalFreeBusyService.sys.mjs
rename : calendar/base/src/CalICSService.jsm => calendar/base/src/CalICSService.sys.mjs
rename : calendar/base/src/CalIcsParser.jsm => calendar/base/src/CalIcsParser.sys.mjs
rename : calendar/base/src/CalIcsSerializer.jsm => calendar/base/src/CalIcsSerializer.sys.mjs
rename : calendar/base/src/CalItipItem.jsm => calendar/base/src/CalItipItem.sys.mjs
rename : calendar/base/src/CalMimeConverter.jsm => calendar/base/src/CalMimeConverter.sys.mjs
rename : calendar/base/src/CalPeriod.jsm => calendar/base/src/CalPeriod.sys.mjs
rename : calendar/base/src/CalProtocolHandler.jsm => calendar/base/src/CalProtocolHandler.sys.mjs
rename : calendar/base/src/CalRecurrenceDate.jsm => calendar/base/src/CalRecurrenceDate.sys.mjs
rename : calendar/base/src/CalRecurrenceInfo.jsm => calendar/base/src/CalRecurrenceInfo.sys.mjs
rename : calendar/base/src/CalRecurrenceRule.jsm => calendar/base/src/CalRecurrenceRule.sys.mjs
rename : calendar/base/src/CalRelation.jsm => calendar/base/src/CalRelation.sys.mjs
rename : calendar/base/src/CalStartupService.jsm => calendar/base/src/CalStartupService.sys.mjs
rename : calendar/base/src/CalTimezoneService.jsm => calendar/base/src/CalTimezoneService.sys.mjs
rename : calendar/base/src/CalTodo.jsm => calendar/base/src/CalTodo.sys.mjs
rename : calendar/base/src/CalWeekInfoService.jsm => calendar/base/src/CalWeekInfoService.sys.mjs
rename : calendar/import-export/CalHtmlExport.jsm => calendar/import-export/CalHtmlExport.sys.mjs
rename : calendar/import-export/CalIcsImportExport.jsm => calendar/import-export/CalIcsImportExport.sys.mjs
rename : calendar/itip/CalItipEmailTransport.jsm => calendar/itip/CalItipEmailTransport.sys.mjs
rename : calendar/itip/CalItipProtocolHandler.jsm => calendar/itip/CalItipProtocolHandler.sys.mjs
rename : calendar/providers/caldav/CalDavCalendar.jsm => calendar/providers/caldav/CalDavCalendar.sys.mjs
rename : calendar/providers/composite/CalCompositeCalendar.jsm => calendar/providers/composite/CalCompositeCalendar.sys.mjs
rename : calendar/providers/memory/CalMemoryCalendar.jsm => calendar/providers/memory/CalMemoryCalendar.sys.mjs
rename : calendar/providers/storage/CalStorageCalendar.jsm => calendar/providers/storage/CalStorageCalendar.sys.mjs
rename : mail/components/AboutRedirector.jsm => mail/components/AboutRedirector.sys.mjs
rename : mail/components/MailGlue.jsm => mail/components/MailGlue.sys.mjs
rename : mail/components/StartupRecorder.jsm => mail/components/StartupRecorder.sys.mjs
rename : mail/components/activity/Activity.jsm => mail/components/activity/Activity.sys.mjs
rename : mail/components/activity/ActivityManager.jsm => mail/components/activity/ActivityManager.sys.mjs
rename : mail/components/activity/ActivityManagerUI.jsm => mail/components/activity/ActivityManagerUI.sys.mjs
rename : mail/components/devtools/devtools-loader.jsm => mail/components/devtools/devtools-loader.sys.mjs
rename : mail/components/migration/src/ThunderbirdProfileMigrator.jsm => mail/components/migration/src/ThunderbirdProfileMigrator.sys.mjs
rename : mail/components/prompts/PromptCollection.jsm => mail/components/prompts/PromptCollection.sys.mjs
rename : mail/extensions/am-e2e/AME2E.jsm => mail/extensions/am-e2e/AME2E.sys.mjs
rename : mailnews/addrbook/modules/AddrBookCard.jsm => mailnews/addrbook/modules/AddrBookCard.sys.mjs
rename : mailnews/addrbook/modules/AddrBookManager.jsm => mailnews/addrbook/modules/AddrBookManager.sys.mjs
rename : mailnews/addrbook/modules/CardDAVDirectory.jsm => mailnews/addrbook/modules/CardDAVDirectory.sys.mjs
rename : mailnews/addrbook/modules/LDAPConnection.jsm => mailnews/addrbook/modules/LDAPConnection.sys.mjs
rename : mailnews/addrbook/modules/LDAPDirectory.jsm => mailnews/addrbook/modules/LDAPDirectory.sys.mjs
rename : mailnews/addrbook/modules/LDAPDirectoryQuery.jsm => mailnews/addrbook/modules/LDAPDirectoryQuery.sys.mjs
rename : mailnews/addrbook/modules/LDAPOperation.jsm => mailnews/addrbook/modules/LDAPOperation.sys.mjs
rename : mailnews/addrbook/modules/LDAPProtocolHandler.jsm => mailnews/addrbook/modules/LDAPProtocolHandler.sys.mjs
rename : mailnews/addrbook/modules/LDAPReplicationService.jsm => mailnews/addrbook/modules/LDAPReplicationService.sys.mjs
rename : mailnews/addrbook/modules/LDAPService.jsm => mailnews/addrbook/modules/LDAPService.sys.mjs
rename : mailnews/addrbook/modules/LDAPSyncQuery.jsm => mailnews/addrbook/modules/LDAPSyncQuery.sys.mjs
rename : mailnews/addrbook/modules/LDAPURLParser.jsm => mailnews/addrbook/modules/LDAPURLParser.sys.mjs
rename : mailnews/addrbook/modules/SQLiteDirectory.jsm => mailnews/addrbook/modules/SQLiteDirectory.sys.mjs
rename : mailnews/addrbook/modules/VCardUtils.jsm => mailnews/addrbook/modules/VCardUtils.sys.mjs
rename : mailnews/addrbook/src/AbAutoCompleteMyDomain.jsm => mailnews/addrbook/src/AbAutoCompleteMyDomain.sys.mjs
rename : mailnews/addrbook/src/AbAutoCompleteSearch.jsm => mailnews/addrbook/src/AbAutoCompleteSearch.sys.mjs
rename : mailnews/addrbook/src/AbLDAPAttributeMap.jsm => mailnews/addrbook/src/AbLDAPAttributeMap.sys.mjs
rename : mailnews/addrbook/src/AbLDAPAutoCompleteSearch.jsm => mailnews/addrbook/src/AbLDAPAutoCompleteSearch.sys.mjs
rename : mailnews/base/src/FolderLookupService.jsm => mailnews/base/src/FolderLookupService.sys.mjs
rename : mailnews/base/src/MailNotificationManager.jsm => mailnews/base/src/MailNotificationManager.sys.mjs
rename : mailnews/base/src/MailNotificationService.jsm => mailnews/base/src/MailNotificationService.sys.mjs
rename : mailnews/base/src/MsgAsyncPrompter.jsm => mailnews/base/src/MsgAsyncPrompter.sys.mjs
rename : mailnews/base/src/OAuth2Module.jsm => mailnews/base/src/OAuth2Module.sys.mjs
rename : mailnews/compose/src/MailtoProtocolHandler.jsm => mailnews/compose/src/MailtoProtocolHandler.sys.mjs
rename : mailnews/compose/src/MessageSend.jsm => mailnews/compose/src/MessageSend.sys.mjs
rename : mailnews/compose/src/SMTPProtocolHandler.jsm => mailnews/compose/src/SMTPProtocolHandler.sys.mjs
rename : mailnews/compose/src/SmtpServer.jsm => mailnews/compose/src/SmtpServer.sys.mjs
rename : mailnews/compose/src/SmtpService.jsm => mailnews/compose/src/SmtpService.sys.mjs
rename : mailnews/db/gloda/components/GlodaAutoComplete.jsm => mailnews/db/gloda/components/GlodaAutoComplete.sys.mjs
rename : mailnews/db/gloda/components/MimeMessageEmitter.jsm => mailnews/db/gloda/components/MimeMessageEmitter.sys.mjs
rename : mailnews/extensions/mdn/MDNService.jsm => mailnews/extensions/mdn/MDNService.sys.mjs
rename : mailnews/extensions/newsblog/NewsBlog.jsm => mailnews/extensions/newsblog/NewsBlog.sys.mjs
rename : mailnews/extensions/offline-startup/OfflineStartup.jsm => mailnews/extensions/offline-startup/OfflineStartup.sys.mjs
rename : mailnews/imap/src/ImapModuleLoader.jsm => mailnews/imap/src/ImapModuleLoader.sys.mjs
rename : mailnews/import/src/SeamonkeyImport.jsm => mailnews/import/src/SeamonkeyImport.sys.mjs
rename : mailnews/import/src/ThunderbirdImport.jsm => mailnews/import/src/ThunderbirdImport.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/TestJaMsgProtocolInfoComponent.jsm => mailnews/jsaccount/test/unit/resources/TestJaMsgProtocolInfoComponent.sys.mjs
rename : mailnews/local/src/Pop3IncomingServer.jsm => mailnews/local/src/Pop3IncomingServer.sys.mjs
rename : mailnews/local/src/Pop3ProtocolHandler.jsm => mailnews/local/src/Pop3ProtocolHandler.sys.mjs
rename : mailnews/local/src/Pop3ProtocolInfo.jsm => mailnews/local/src/Pop3ProtocolInfo.sys.mjs
rename : mailnews/local/src/Pop3Service.jsm => mailnews/local/src/Pop3Service.sys.mjs
rename : mailnews/mime/src/MimeJSComponents.jsm => mailnews/mime/src/MimeJSComponents.sys.mjs
rename : mailnews/news/src/NewsAutoCompleteSearch.jsm => mailnews/news/src/NewsAutoCompleteSearch.sys.mjs
rename : mailnews/news/src/NntpIncomingServer.jsm => mailnews/news/src/NntpIncomingServer.sys.mjs
rename : mailnews/news/src/NntpMessageService.jsm => mailnews/news/src/NntpMessageService.sys.mjs
rename : mailnews/news/src/NntpProtocolHandler.jsm => mailnews/news/src/NntpProtocolHandler.sys.mjs
rename : mailnews/news/src/NntpProtocolInfo.jsm => mailnews/news/src/NntpProtocolInfo.sys.mjs
rename : mailnews/news/src/NntpService.jsm => mailnews/news/src/NntpService.sys.mjs
rename : mailnews/search/src/MsgTraitService.jsm => mailnews/search/src/MsgTraitService.sys.mjs
extra : moz-landing-system : lando
2024-02-23 12:50:48 +00:00
Ping Chen c451516dc2 Bug 1729862 - Implement nsILDAPSyncQuery in JS. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D131113

--HG--
rename : mailnews/addrbook/test/unit/test_nsLDAPSyncQuery.js => mailnews/addrbook/test/unit/test_LDAPSyncQuery.js
2021-11-18 00:18:42 +00:00
Ping Chen b75a50db5e Bug 1729862 - Move ldap/* into mailnews/addrbook. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D130955

--HG--
rename : ldap/modules/LDAPClient.jsm => mailnews/addrbook/modules/LDAPClient.jsm
rename : ldap/modules/LDAPConnection.jsm => mailnews/addrbook/modules/LDAPConnection.jsm
rename : ldap/modules/LDAPMessage.jsm => mailnews/addrbook/modules/LDAPMessage.jsm
rename : ldap/modules/LDAPOperation.jsm => mailnews/addrbook/modules/LDAPOperation.jsm
rename : ldap/xpcom/src/LDAPProtocolHandler.jsm => mailnews/addrbook/modules/LDAPProtocolHandler.jsm
rename : ldap/modules/LDAPService.jsm => mailnews/addrbook/modules/LDAPService.jsm
rename : ldap/modules/LDAPURLParser.jsm => mailnews/addrbook/modules/LDAPURLParser.jsm
rename : ldap/xpcom/public/nsILDAPBERElement.idl => mailnews/addrbook/public/nsILDAPBERElement.idl
rename : ldap/xpcom/public/nsILDAPBERValue.idl => mailnews/addrbook/public/nsILDAPBERValue.idl
rename : ldap/xpcom/public/nsILDAPConnection.idl => mailnews/addrbook/public/nsILDAPConnection.idl
rename : ldap/xpcom/public/nsILDAPControl.idl => mailnews/addrbook/public/nsILDAPControl.idl
rename : ldap/xpcom/public/nsILDAPErrors.idl => mailnews/addrbook/public/nsILDAPErrors.idl
rename : ldap/xpcom/public/nsILDAPMessage.idl => mailnews/addrbook/public/nsILDAPMessage.idl
rename : ldap/xpcom/public/nsILDAPMessageListener.idl => mailnews/addrbook/public/nsILDAPMessageListener.idl
rename : ldap/xpcom/public/nsILDAPModification.idl => mailnews/addrbook/public/nsILDAPModification.idl
rename : ldap/xpcom/public/nsILDAPOperation.idl => mailnews/addrbook/public/nsILDAPOperation.idl
rename : ldap/xpcom/public/nsILDAPService.idl => mailnews/addrbook/public/nsILDAPService.idl
rename : ldap/xpcom/public/nsILDAPSyncQuery.idl => mailnews/addrbook/public/nsILDAPSyncQuery.idl
rename : ldap/xpcom/public/nsILDAPURL.idl => mailnews/addrbook/public/nsILDAPURL.idl
rename : ldap/xpcom/src/nsLDAPProtocolModule.cpp => mailnews/addrbook/src/nsLDAPProtocolModule.cpp
rename : ldap/xpcom/src/nsLDAPSyncQuery.cpp => mailnews/addrbook/src/nsLDAPSyncQuery.cpp
rename : ldap/xpcom/src/nsLDAPSyncQuery.h => mailnews/addrbook/src/nsLDAPSyncQuery.h
rename : ldap/xpcom/src/nsLDAPURL.cpp => mailnews/addrbook/src/nsLDAPURL.cpp
rename : ldap/xpcom/src/nsLDAPURL.h => mailnews/addrbook/src/nsLDAPURL.h
extra : amend_source : 4e030a2f095f74be70a91df8c060419eb68a7224
2021-11-12 12:54:55 +02:00
Ping Chen bfa413fff8 Bug 1724178 - Make LDAPDirectory.jsm the only implementation of nsIAbLDAPDirectory. r=darktrojan
- Remove LDAPModuleLoader.jsm and mailnews.ldap.jsmodule
- Unregister C++ LDAP xpcoms

Differential Revision: https://phabricator.services.mozilla.com/D125037
2021-09-17 01:48:11 +00:00
Ping Chen 07a04c6aed Bug 1708349 - Implement nsIAbDirectoryQuery in JS. r=darktrojan
Depends on D116805.

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

--HG--
extra : amend_source : a501bf9b43320ed6cdd1873b1bc82ce83164ec87
2021-06-08 13:24:20 +03:00
Geoff Lankow 04cec75a7e Bug 1713247 - Move common CardDAV functions into a separate file. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D116333

--HG--
rename : mailnews/addrbook/modules/CardDAVDirectory.jsm => mailnews/addrbook/modules/CardDAVUtils.jsm
extra : amend_source : ae70d4f645fdc56a7ff9c21ee4a9155edbac4346
2021-05-31 13:49:58 +03:00
Ping Chen 2b0661af2f Bug 1709021 - Implement nsIAbLDAPReplicationService in JS. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D114573

Depends on D115041
2021-05-07 08:13:32 +00:00
Ping Chen 668785669e Bug 1696626 - Implement online search in LDAPDirectory.jsm. r=darktrojan
This patch parses query string to nsIAbBooleanExpression and reuses nsAbLDAPDirectoryQuery.cpp for online search.

Depends on D113277.

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

--HG--
extra : moz-landing-system : lando
2021-05-04 03:53:54 +00:00
Ping Chen 32fda205b1 Bug 1696626 - Add LDAPModuleLoader.jsm to prepare for rewriting LDAP in JS. r=darktrojan
Add a `mailnews.ldap.jsmodule` pref to control using nsLDAPService.cpp or LDAPService.jsm.

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

--HG--
extra : moz-landing-system : lando
2021-05-04 03:53:54 +00:00
Geoff Lankow 51ad486532 Bug 1698434 - Create a base class for address book directory implementations. r=mkmelin
This looks like a lot of code removal but it isn't. I'm copying a file then removing half of each copy.

In this patch I've also added a cleanUp function to nsIAbDirectory. It's essentially an async destructor that runs at shutdown or if the directory is deleted.
This allowed me to tidy up the shutdown process and block shutdown until the databases are closed.

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

--HG--
rename : mailnews/addrbook/modules/AddrBookDirectory.jsm => mailnews/addrbook/modules/SQLiteDirectory.jsm
extra : moz-landing-system : lando
2021-03-28 22:38:53 +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
Geoff Lankow 86e7d9ac85 Bug 1665231 - Rename mailnews/addrbook/jsaddrbook to mailnews/addrbook/modules. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D90336

--HG--
rename : mailnews/addrbook/jsaddrbook/AddrBookCard.jsm => mailnews/addrbook/modules/AddrBookCard.jsm
rename : mailnews/addrbook/jsaddrbook/AddrBookDirectory.jsm => mailnews/addrbook/modules/AddrBookDirectory.jsm
rename : mailnews/addrbook/jsaddrbook/AddrBookMailingList.jsm => mailnews/addrbook/modules/AddrBookMailingList.jsm
rename : mailnews/addrbook/jsaddrbook/AddrBookManager.jsm => mailnews/addrbook/modules/AddrBookManager.jsm
rename : mailnews/addrbook/jsaddrbook/AddrBookUtils.jsm => mailnews/addrbook/modules/AddrBookUtils.jsm
rename : mailnews/addrbook/jsaddrbook/CardDAVDirectory.jsm => mailnews/addrbook/modules/CardDAVDirectory.jsm
rename : mailnews/addrbook/jsaddrbook/VCardUtils.jsm => mailnews/addrbook/modules/VCardUtils.jsm
rename : mailnews/addrbook/jsaddrbook/components.conf => mailnews/addrbook/modules/components.conf
rename : mailnews/addrbook/jsaddrbook/moz.build => mailnews/addrbook/modules/moz.build
extra : rebase_source : ce0ee5c6b088ab694223360765d2670c5b9e9b72
extra : histedit_source : d41fb847443d1a131de01848c42999f457cbdbe8
2020-09-15 12:48:48 +12:00