Thunderbird 24 for developers 编辑
Interfaces
nsIImportService
CreateRFC822Message: removed argument aBodyLength
nsIMimeConverter
encodeMimePartIIStr: removed
nsIMimeHeaders
initialize: removed function argument allHeadersSize
nsIMsgAccount
- identities: type changed from nsISupportsArray to nsIArray
- setDefaultIdentity: method now changes identity order permanently
nsIMsgAccountManager
- accounts: type changed from nsISupportsArray to nsIArray
- allIdentities: type changed from nsISupportsArray to nsIArray
- allServers: type changed from nsISupportsArray to nsIArray
- GetIdentitiesForServer: renamed to getIdentitiesForServer and type changed from nsISupportsArray to nsIArray
- GetServersForIdentity: renamed to getServersForIdentity and type changed from nsISupportsArray to nsIArray
nsIMsgCompFields
nsIMsgFilter
- actionList: removed
- getSortedActionList: changed type
nsIMsgFilterService
applyFiltersToFolders: changed function argument type
nsIMsgFolder
- allowsPosting: removed
- knowsSearchNntpExtension: removed
- getExpansionArray: removed
- clearRequiresCleanup: removed
- requiresCleanup: removed
- ListDescendants: function argument type changed from nsISupportsArray to nsIMutableArray
nsIMsgProtocolInfo
The boolean attribute foldersCreateAsync has been added.
nsIMsgSearchAdapter
CurrentUrlDone: Type of function argument changed
nsIMsgSend
- createAndSendMessage: removed argument aBodyLength
- createRFC822Message: removed argument aBodyLength
nsISmtpService
- createSmtpServer: renamed to createServer
- deleteSmtpServer: renamed to deleteServer
- GetSmtpServerByIdentity: renamed to getServerByIdentity
- smtpServers: renamed to servers
nsISupportsArray
prplIAccount
noNewlines: removed
Global Functions and Objects
- accountManagerContractID: Removed from accountUtils.js
- addEditorClickEventListener: removed from /editor/ui/composer/content/editor.js
- AlertWithTitle: removed from /editor/ui/composer/content/editorUtilities.js, use Services.prompt instead
- ArrangeAccountCentralItems: changed in /mailnews/base/prefs/content/AccountWizard.js
- cleanUpHostname|removed from aw-incoming.js
- CreateHTTPEquivElement: removed from /editor/ui/dialogs/content/EdDialogCommon.js
- CreateHTTPEquivMetaElement: removed from /editor/ui/dialogs/content/EdDialogCommon.js
- determineFilterType: removed from FilterEditor.js
- disableEditableFields: removed from MsgComposeCommands.js
- enableEditableFields: removed from MsgComposeCommands.js
- enabling: renamed to LDAPenabling in am-addressing.js
- FinishHTMLSource: removed from /editor/ui/composer/content/editor.js
- FocusManager: removed from quickFilterManager.js, use Services.focus instead
- gAccountManager: removed from /mail/components/compose/content/MsgComposeCommands.js, use MailServices.accounts instead
- gAccountManager: removed from am-server-advanced.js, use MailServices.accounts instead
- gAttachmentNotifier.EditAction(): Removed from MsgComposeCommands.js
- gAttachmentNotifier.handleMutations: removed from MsgComposeCommands.js
- GetHTTPEquivMetaElement: removed /editor/ui/dialogs/content/EdDialogCommon.js, use document.querySelector instead
- GetWindowByWindowType: removed form mailWindowOverlay.js, use Services.wm.getMostRecentWindow instead
- getInterfaceForType: removed from /mailnews/base/prefs/content/AccountWizard.js
- GetIOService: removed from /editor/ui/composer/content/editorUtilities.js, use Services.io instead
- GetPromptService: removed from /editor/ui/composer/content/ComposerCommands.js, use Services.prompt instead
- GetLoginManager: removed from /editor/ui/composer/content/publishprefs.js, use Services.logins instead
- gFilterContext: removed from FilterEditor.js
- gIdentity: removed from am-addressing.js
- gIOService: removed from MsgComposeCommands.js, use Services.io instead
- gIsOffline: removed from MsgComposeCommands.js, use Services.io.offline instead
- gLastPurpleConvId: renamed to gLastPrplConvId in imConversations.js
- gMailSession: removed from /mail/components/compose/content/MsgComposeCommands.js, use MailServices.mailSession instead
- gMimeHeaderParser: removed from /mail/components/compose/content/addressingWidgetOverlay.js
- gObserver: removed from am-server.js, use Services.obs instead
- gPrefBranch: removed from am-junk.js, use Services.prefs instead
- gPrefBranch: removed form mailWindowOverlay.js, use Services.prefs instead
- gPrefBranch: removed from am-copies.js, use Services.prefs instead
- gPrefInt: removed from am-addressing.js, use Services.prefs.getIntPref instead
- gPrefs: removed from mailnewsMigrator.js, , use Services.prefs instead
- gPromptService: removed from MsgComposeCommands.js, use Services.prompt instead
- gSelectionSummaryStrings.Nmessages: removed from /mailnews/base/public/nsIMsgFolder.idl
- gServer: Removed from am-serverwithnoidentities.js
- gSmtpHostNameIsIllegal: removed from AccountManager.js
- hasOnlyWhitespaces: removed from /mailnews/addrbook/prefs/content/pref-directory-add.js, use (<string>.trim() == "") instead
- hostnameIsIllegal: removed from amUtils.js
- hostnameIsIllegal: removed from aw-incoming.js
- InitAppEditMessagesMenu: renamed to InitAppFolderViewsMenu in /mail/base/content/mailWindowOverlay.js
- initContactList: Removed from chat-messenger-overlay.js
- ircChannel.prototype.setMode: Non backwards compatible change to parameters (second parameter changed)
- IsEventHandler: removed from /editor/ui/dialogs/content/EdAEJSEAttributes.js
- IsWhitespace: removed from /editor/ui/composer/content/editorUtilities.js, use <string>.trim() == "" instead
- KEY_ISP_DIRECTORY_LIST: removed from am-junk.js
- kHighestPort: removed from /mailnews/base/prefs/content/accountcreation/emailWizard.js
- nsIWindowMediator: removed from nsMailDefaultHandler.js, use Services.wm instead
- nsIWindowWatcher: removed from nsMailDefaultHandler.js, use Services.ww instead
- onChooseFolder: removed from /mail/base/content/SearchDialog.js
- pref: removed from mailWindow.js, use Services.prefs instead
- prefs: removed from nsMsgTraitService.js, use Services.prefs instead
- queryISupportsArray(supportsArray, iid): Removed from MsgComposeCommands.js
- selectFolder: removed from /mail/base/content/SearchDialog.js
- SetUpToolbarButtons(uri): Removed from mailWindowOverlay.js
- specialTabs.getApplicationUpgradeVersions: removed function argument in specialTabs.js
- specialTabs.shouldShowTelemetryNotification: removed function argument in specialTabs.js
- specialTabs.showTelemetryNotification: removed function argument in specialTabs.js
- specialTabs.shouldShowAboutRightsNotification: removed function argument in specialTabs.js
- specialTabs.showAboutRightsNotification: removed function argument in specialTabs.js
- toggleFilter: Removed second function argument
- trim: removed from amUtils.js, use <string>.trim() instead
- updateInboxAccount: changed in /mailnews/base/prefs/content/am-server-advanced.js
- updateMoveTargetMode(aEnable): Removed from am-junk.js
- updatePurgeSpam(aEnable): Removed from am-junk.js
- updateSearchFolderPicker: changed in /mail/base/content/SearchDialog.js
Further changes
- Server name validation for incoming servers has been added: If an add-on created a fake account with an incoming server which does not validate, this can cause issues on re-validation.
- The sort order of accounts has been defined for new account types changed and centralized. Extensions can also use the allAccountsSorted() function to retrieve this common sort order of the accounts in the profile. In all list widgets the accounts should be shown in this order:
- default account
- other mail accounts
- Local Folders
- chat accounts
- feeds
- newsgroups
- The Local directory used for mail storage is now checked for validity and safeness. Filesystem directories deemed inappropriate are rejected by the account manager. Extensions can add theirs own lists of file directories which can (or should not) be used for mail storage by extending the global gDangerousLocalStorageDirs array in /mailnews/base/prefs/content/AccountManager.js.
- Support for nsIEnumerator has been removed /from mailnews/base/util/iteratorUtils.jsm
Platform changes and web standards support
For information about changes to the underlying Gecko platform and changes to the support of web technologies, please read the following information for developers:
- Firefox 18 for developers
- Firefox 19 for developers
- Firefox 20 for developers
- Firefox 21 for developers
- Firefox 22 for developers
- Firefox 23 for developers
- Firefox 24 for developers
Strings
advanced.dtd
checkNow.acesskey renamed to checkDefaultsNow.accesskey
checkNow.label renamed to checkDefaultsNow.label
viewCRLs.label removed
viewCRLs.accesskey removed
am-identities-list.dtd
identitiesListDesc.label removed
am-server-advanced.dtd
globalInbox.label removed
globalInbox.accesskey removed
am-smime.properties
ErrorCanNotEncrypt renamed to ErrorEncryptMail
ErrorCanNotSign renamed to ErrorCanNotSignMail
mime_multipartSignedBlurb removed
composeMsgs.properties
display.dtd
editorOverlay.dtd
filter.properties
searchTermsInvalidMessage renamed to searchTermsInvalidRule
FilterEditor.dtd
contextDesc.accesskey renamed to contextIncomingMail.accesskey
contextIncoming.label renamed to contextIncomingMail.label
contextBoth.label removed
contextPostPlugin.label removed
contextPostPluginBoth.label removed
imapMsgs.properites
irc.properties
command.mode removed
message.mode removed
command.wallops removed
command.whois removed
connection.error.certError removed
localMsgs.properties
main.properties
source: /mail/locales/en-US/feedback/main.properties
File removed
messenger.dtd
moved to viewZoomOverlay.dtd:
fullZoomEnlargeCmd.label
fullZoomReduceCmd.label
fullZoomResetCmd.label
fullZoomToggleCmd.label
internal:
appmenuButton.tooltip renamed to appmenuButton1.tooltip
contextForwardAsAttachment.label renamed to contextMultiForwardAsAttachment.label
contextForwardAsAttachment.accesskey renamed to contextMultiForwardAsAttachment.accesskey
contextKillSubthreadMenu.accesskey
contextWatchThreadMenu.accesskey
folderContextOpenNewWindow.label renamed to folderContextOpenInNewWindow.label
folderContextOpenNewWindow.accesskey renamed to folderContextOpenInNewWindow.accesskey
openFeedMessage.label renamed to openFeedMessage1.label
openFeedMessage.accesskey renamed to openFeedMessage1.accesskey
openAttachmentCmd.label renamed to openAttachmentListCmd.label
openAttachmentCmd.accesskey renamed to openAttachmentListCmd.accesskey
openFeedWebPageInWindow.label removed
openFeedWebPageInWindow.accesskey removed
openFeedSummaryInWindow.label removed
openFeedSummaryInWindow.accesskey removed
messenger.properties
applyNowButton removed
applyToCollapsedAlwaysAskCheckbox removed
applyToCollapsedMsgsTitle removed
applyToCollapsedMsgs removed
confirmMsgDelete.shiftDel.desc renamed to confirmMsgDelete.deleteNoTrash.desc
getNextNMessages renamed to getNextNewsMessages
growlNotification removed
openWindowWarningText renamed to openWindowWarningConfirmation
messengercompose.dtd
msgHdrViewOverlay.dtd
multimessageview.properties
preferences.properties
alreadyDefaultClientTitle removed
alreadyDefault removed
prefs.properties
confirmDeferAccount renamed to confirmDeferAccountWarning
directoryUsedByOtherAccount renamed to directoryAlreadyUsedByOtherAccount
serverNameEmpty removed
sanitize.dtd
SearchDialog.dtd
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论