From 302bf1b523012e11b60425d6eee1221ebc2724eb Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 3 Nov 2019 00:17:46 -0400 Subject: Issue #1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1 --- .../addrbook/content/abAddressBookNameDialog.js | 72 + .../addrbook/content/abAddressBookNameDialog.xul | 26 + mailnews/addrbook/content/abDragDrop.js | 424 + mailnews/addrbook/content/abEditCardDialog.xul | 17 + mailnews/addrbook/content/abMailListDialog.js | 613 ++ mailnews/addrbook/content/abNewCardDialog.xul | 33 + mailnews/addrbook/content/abResultsPane.js | 502 + mailnews/addrbook/content/abResultsPaneOverlay.xul | 90 + mailnews/addrbook/content/addrbookWidgets.xml | 439 + mailnews/addrbook/content/print.css | 94 + mailnews/addrbook/moz.build | 9 + .../addrbook/prefs/content/pref-directory-add.js | 394 + .../addrbook/prefs/content/pref-directory-add.xul | 152 + .../addrbook/prefs/content/pref-editdirectories.js | 142 + .../prefs/content/pref-editdirectories.xul | 43 + mailnews/addrbook/public/moz.build | 47 + mailnews/addrbook/public/nsAbBaseCID.h | 445 + mailnews/addrbook/public/nsIAbAddressCollector.idl | 58 + .../addrbook/public/nsIAbAutoCompleteResult.idl | 36 + .../addrbook/public/nsIAbBooleanExpression.idl | 122 + mailnews/addrbook/public/nsIAbCard.idl | 358 + mailnews/addrbook/public/nsIAbCollection.idl | 92 + mailnews/addrbook/public/nsIAbDirFactory.idl | 35 + .../addrbook/public/nsIAbDirFactoryService.idl | 28 + .../addrbook/public/nsIAbDirSearchListener.idl | 15 + mailnews/addrbook/public/nsIAbDirectory.idl | 296 + mailnews/addrbook/public/nsIAbDirectoryQuery.idl | 164 + .../addrbook/public/nsIAbDirectoryQueryProxy.idl | 14 + mailnews/addrbook/public/nsIAbDirectorySearch.idl | 53 + mailnews/addrbook/public/nsIAbItem.idl | 90 + mailnews/addrbook/public/nsIAbLDAPAttributeMap.idl | 194 + mailnews/addrbook/public/nsIAbLDAPCard.idl | 56 + mailnews/addrbook/public/nsIAbLDAPDirectory.idl | 112 + .../addrbook/public/nsIAbLDAPReplicationData.idl | 68 + .../addrbook/public/nsIAbLDAPReplicationQuery.idl | 67 + .../public/nsIAbLDAPReplicationService.idl | 32 + mailnews/addrbook/public/nsIAbLDIFService.idl | 40 + mailnews/addrbook/public/nsIAbListener.idl | 90 + mailnews/addrbook/public/nsIAbMDBDirectory.idl | 71 + mailnews/addrbook/public/nsIAbManager.idl | 190 + mailnews/addrbook/public/nsIAbView.idl | 109 + mailnews/addrbook/public/nsIAddbookUrl.idl | 19 + mailnews/addrbook/public/nsIAddrDBAnnouncer.idl | 35 + mailnews/addrbook/public/nsIAddrDBListener.idl | 36 + mailnews/addrbook/public/nsIAddrDatabase.idl | 311 + mailnews/addrbook/public/nsIMsgVCardService.idl | 29 + mailnews/addrbook/src/moz.build | 93 + mailnews/addrbook/src/nsAbAddressCollector.cpp | 331 + mailnews/addrbook/src/nsAbAddressCollector.h | 44 + mailnews/addrbook/src/nsAbAutoCompleteMyDomain.js | 58 + mailnews/addrbook/src/nsAbAutoCompleteSearch.js | 466 + mailnews/addrbook/src/nsAbBSDirectory.cpp | 323 + mailnews/addrbook/src/nsAbBSDirectory.h | 50 + mailnews/addrbook/src/nsAbBoolExprToLDAPFilter.cpp | 246 + mailnews/addrbook/src/nsAbBoolExprToLDAPFilter.h | 45 + mailnews/addrbook/src/nsAbBooleanExpression.cpp | 132 + mailnews/addrbook/src/nsAbBooleanExpression.h | 43 + mailnews/addrbook/src/nsAbCardProperty.cpp | 1193 +++ mailnews/addrbook/src/nsAbCardProperty.h | 59 + mailnews/addrbook/src/nsAbContentHandler.cpp | 184 + mailnews/addrbook/src/nsAbContentHandler.h | 26 + mailnews/addrbook/src/nsAbDirFactoryService.cpp | 54 + mailnews/addrbook/src/nsAbDirFactoryService.h | 23 + mailnews/addrbook/src/nsAbDirProperty.cpp | 593 ++ mailnews/addrbook/src/nsAbDirProperty.h | 72 + mailnews/addrbook/src/nsAbDirectoryQuery.cpp | 528 + mailnews/addrbook/src/nsAbDirectoryQuery.h | 113 + mailnews/addrbook/src/nsAbDirectoryQueryProxy.cpp | 33 + mailnews/addrbook/src/nsAbDirectoryQueryProxy.h | 27 + mailnews/addrbook/src/nsAbLDAPAttributeMap.js | 247 + .../addrbook/src/nsAbLDAPAutoCompleteSearch.js | 325 + mailnews/addrbook/src/nsAbLDAPCard.cpp | 297 + mailnews/addrbook/src/nsAbLDAPCard.h | 30 + mailnews/addrbook/src/nsAbLDAPChangeLogData.cpp | 542 + mailnews/addrbook/src/nsAbLDAPChangeLogData.h | 57 + mailnews/addrbook/src/nsAbLDAPChangeLogQuery.cpp | 180 + mailnews/addrbook/src/nsAbLDAPChangeLogQuery.h | 28 + mailnews/addrbook/src/nsAbLDAPDirFactory.cpp | 79 + mailnews/addrbook/src/nsAbLDAPDirFactory.h | 23 + mailnews/addrbook/src/nsAbLDAPDirectory.cpp | 948 ++ mailnews/addrbook/src/nsAbLDAPDirectory.h | 75 + mailnews/addrbook/src/nsAbLDAPDirectoryModify.cpp | 372 + mailnews/addrbook/src/nsAbLDAPDirectoryModify.h | 31 + mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp | 610 ++ mailnews/addrbook/src/nsAbLDAPDirectoryQuery.h | 44 + mailnews/addrbook/src/nsAbLDAPListenerBase.cpp | 358 + mailnews/addrbook/src/nsAbLDAPListenerBase.h | 54 + mailnews/addrbook/src/nsAbLDAPReplicationData.cpp | 489 + mailnews/addrbook/src/nsAbLDAPReplicationData.h | 66 + mailnews/addrbook/src/nsAbLDAPReplicationQuery.cpp | 153 + mailnews/addrbook/src/nsAbLDAPReplicationQuery.h | 44 + .../addrbook/src/nsAbLDAPReplicationService.cpp | 136 + mailnews/addrbook/src/nsAbLDAPReplicationService.h | 33 + mailnews/addrbook/src/nsAbLDIFService.cpp | 868 ++ mailnews/addrbook/src/nsAbLDIFService.h | 37 + mailnews/addrbook/src/nsAbMDBCard.cpp | 55 + mailnews/addrbook/src/nsAbMDBCard.h | 26 + mailnews/addrbook/src/nsAbMDBDirFactory.cpp | 118 + mailnews/addrbook/src/nsAbMDBDirFactory.h | 24 + mailnews/addrbook/src/nsAbMDBDirProperty.cpp | 145 + mailnews/addrbook/src/nsAbMDBDirProperty.h | 40 + mailnews/addrbook/src/nsAbMDBDirectory.cpp | 1125 +++ mailnews/addrbook/src/nsAbMDBDirectory.h | 104 + mailnews/addrbook/src/nsAbManager.cpp | 1422 +++ mailnews/addrbook/src/nsAbManager.h | 71 + mailnews/addrbook/src/nsAbOSXCard.h | 47 + mailnews/addrbook/src/nsAbOSXCard.mm | 401 + mailnews/addrbook/src/nsAbOSXDirFactory.cpp | 50 + mailnews/addrbook/src/nsAbOSXDirFactory.h | 21 + mailnews/addrbook/src/nsAbOSXDirectory.h | 126 + mailnews/addrbook/src/nsAbOSXDirectory.mm | 1374 +++ mailnews/addrbook/src/nsAbOSXUtils.h | 36 + mailnews/addrbook/src/nsAbOSXUtils.mm | 117 + mailnews/addrbook/src/nsAbOutlookDirFactory.cpp | 87 + mailnews/addrbook/src/nsAbOutlookDirFactory.h | 22 + mailnews/addrbook/src/nsAbOutlookDirectory.cpp | 1539 +++ mailnews/addrbook/src/nsAbOutlookDirectory.h | 152 + .../addrbook/src/nsAbQueryStringToExpression.cpp | 337 + .../addrbook/src/nsAbQueryStringToExpression.h | 49 + mailnews/addrbook/src/nsAbUtils.h | 140 + mailnews/addrbook/src/nsAbView.cpp | 1451 +++ mailnews/addrbook/src/nsAbView.h | 83 + mailnews/addrbook/src/nsAbWinHelper.cpp | 1003 ++ mailnews/addrbook/src/nsAbWinHelper.h | 156 + mailnews/addrbook/src/nsAddbookProtocolHandler.cpp | 323 + mailnews/addrbook/src/nsAddbookProtocolHandler.h | 45 + mailnews/addrbook/src/nsAddbookUrl.cpp | 282 + mailnews/addrbook/src/nsAddbookUrl.h | 39 + mailnews/addrbook/src/nsAddrDatabase.cpp | 3335 ++++++ mailnews/addrbook/src/nsAddrDatabase.h | 439 + mailnews/addrbook/src/nsAddrbook.manifest | 12 + mailnews/addrbook/src/nsDirPrefs.cpp | 1452 +++ mailnews/addrbook/src/nsDirPrefs.h | 86 + mailnews/addrbook/src/nsMapiAddressBook.cpp | 147 + mailnews/addrbook/src/nsMapiAddressBook.h | 54 + mailnews/addrbook/src/nsMsgVCardService.cpp | 77 + mailnews/addrbook/src/nsMsgVCardService.h | 24 + mailnews/addrbook/src/nsVCard.cpp | 1571 +++ mailnews/addrbook/src/nsVCard.h | 64 + mailnews/addrbook/src/nsVCardObj.cpp | 1330 +++ mailnews/addrbook/src/nsVCardObj.h | 396 + mailnews/addrbook/src/nsWabAddressBook.cpp | 128 + mailnews/addrbook/src/nsWabAddressBook.h | 57 + mailnews/base/content/charsetList.css | 5 + mailnews/base/content/charsetList.xml | 69 + mailnews/base/content/dateFormat.js | 225 + mailnews/base/content/folderProps.js | 387 + mailnews/base/content/folderProps.xul | 216 + mailnews/base/content/folderWidgets.xml | 829 ++ mailnews/base/content/jsTreeView.js | 235 + mailnews/base/content/junkCommands.js | 456 + mailnews/base/content/junkLog.js | 33 + mailnews/base/content/junkLog.xul | 46 + mailnews/base/content/junkMailInfo.xul | 35 + mailnews/base/content/markByDate.js | 133 + mailnews/base/content/markByDate.xul | 34 + mailnews/base/content/msgAccountCentral.js | 341 + mailnews/base/content/msgAccountCentral.xul | 251 + mailnews/base/content/msgFolderPickerOverlay.js | 99 + mailnews/base/content/msgPrintEngine.js | 209 + mailnews/base/content/msgSynchronize.js | 199 + mailnews/base/content/msgSynchronize.xul | 43 + mailnews/base/content/newFolderDialog.js | 85 + mailnews/base/content/newFolderDialog.xul | 57 + mailnews/base/content/newmailalert.css | 35 + mailnews/base/content/newmailalert.js | 186 + mailnews/base/content/newmailalert.xul | 35 + mailnews/base/content/renameFolderDialog.js | 47 + mailnews/base/content/renameFolderDialog.xul | 23 + mailnews/base/content/retention.js | 45 + mailnews/base/content/shareglue.js | 20 + mailnews/base/content/shutdownWindow.js | 99 + mailnews/base/content/shutdownWindow.xul | 31 + mailnews/base/content/virtualFolderListDialog.js | 136 + mailnews/base/content/virtualFolderListDialog.xul | 91 + mailnews/base/content/virtualFolderProperties.js | 266 + mailnews/base/content/virtualFolderProperties.xul | 103 + mailnews/base/ispdata/README | 3 + mailnews/base/ispdata/aol.rdf | 84 + mailnews/base/ispdata/gmail.rdf | 127 + mailnews/base/ispdata/movemail.rdf | 42 + mailnews/base/ispdata/moz.build | 8 + mailnews/base/moz.build | 13 + mailnews/base/prefs/content/AccountManager.js | 1628 +++ mailnews/base/prefs/content/AccountManager.xul | 92 + mailnews/base/prefs/content/AccountWizard.js | 992 ++ mailnews/base/prefs/content/AccountWizard.xul | 371 + mailnews/base/prefs/content/SmtpServerEdit.js | 46 + mailnews/base/prefs/content/SmtpServerEdit.xul | 28 + mailnews/base/prefs/content/accountUtils.js | 462 + .../content/accountcreation/MyBadCertHandler.js | 41 + .../prefs/content/accountcreation/accountConfig.js | 259 + .../content/accountcreation/createInBackend.js | 333 + .../prefs/content/accountcreation/emailWizard.js | 1959 ++++ .../prefs/content/accountcreation/emailWizard.xul | 493 + .../prefs/content/accountcreation/fetchConfig.js | 240 + .../prefs/content/accountcreation/fetchhttp.js | 267 + .../prefs/content/accountcreation/guessConfig.js | 1145 +++ .../prefs/content/accountcreation/readFromXML.js | 238 + .../content/accountcreation/sanitizeDatatypes.js | 207 + .../base/prefs/content/accountcreation/util.js | 304 + .../prefs/content/accountcreation/verifyConfig.js | 347 + mailnews/base/prefs/content/am-addressing.js | 79 + mailnews/base/prefs/content/am-addressing.xul | 18 + .../base/prefs/content/am-addressingOverlay.xul | 135 + mailnews/base/prefs/content/am-archiveoptions.js | 69 + mailnews/base/prefs/content/am-archiveoptions.xul | 99 + mailnews/base/prefs/content/am-copies.js | 471 + mailnews/base/prefs/content/am-copies.xul | 21 + mailnews/base/prefs/content/am-copiesOverlay.xul | 311 + mailnews/base/prefs/content/am-help.js | 76 + mailnews/base/prefs/content/am-identities-list.js | 180 + mailnews/base/prefs/content/am-identities-list.xul | 67 + mailnews/base/prefs/content/am-identity-edit.js | 405 + mailnews/base/prefs/content/am-identity-edit.xul | 154 + mailnews/base/prefs/content/am-junk.js | 296 + mailnews/base/prefs/content/am-junk.xul | 232 + mailnews/base/prefs/content/am-main.js | 55 + mailnews/base/prefs/content/am-main.xul | 147 + mailnews/base/prefs/content/am-offline.js | 351 + mailnews/base/prefs/content/am-offline.xul | 158 + mailnews/base/prefs/content/am-prefs.js | 114 + mailnews/base/prefs/content/am-server-advanced.js | 157 + mailnews/base/prefs/content/am-server-advanced.xul | 146 + mailnews/base/prefs/content/am-server-top.xul | 13 + mailnews/base/prefs/content/am-server.js | 400 + mailnews/base/prefs/content/am-server.xul | 468 + .../prefs/content/am-serverwithnoidentities.js | 34 + .../prefs/content/am-serverwithnoidentities.xul | 77 + mailnews/base/prefs/content/am-smtp.js | 256 + mailnews/base/prefs/content/am-smtp.xul | 112 + mailnews/base/prefs/content/amUtils.js | 205 + mailnews/base/prefs/content/aw-accname.js | 73 + mailnews/base/prefs/content/aw-accounttype.js | 114 + mailnews/base/prefs/content/aw-done.js | 215 + mailnews/base/prefs/content/aw-identity.js | 212 + mailnews/base/prefs/content/aw-incoming.js | 176 + mailnews/base/prefs/content/aw-outgoing.js | 151 + mailnews/base/prefs/content/ispUtils.js | 166 + mailnews/base/prefs/content/removeAccount.js | 156 + mailnews/base/prefs/content/removeAccount.xul | 87 + mailnews/base/prefs/content/smtpEditOverlay.js | 182 + mailnews/base/prefs/content/smtpEditOverlay.xul | 124 + mailnews/base/public/MailNewsTypes.h | 39 + mailnews/base/public/MailNewsTypes2.idl | 93 + mailnews/base/public/moz.build | 75 + mailnews/base/public/mozINewMailListener.idl | 22 + .../base/public/mozINewMailNotificationService.idl | 58 + mailnews/base/public/msgCore.h | 188 + mailnews/base/public/msgIOAuth2Module.idl | 59 + mailnews/base/public/nsICopyMessageListener.idl | 24 + mailnews/base/public/nsICopyMsgStreamListener.idl | 18 + mailnews/base/public/nsIFolderListener.idl | 63 + mailnews/base/public/nsIFolderLookupService.idl | 35 + mailnews/base/public/nsIIncomingServerListener.idl | 33 + mailnews/base/public/nsIMapiRegistry.idl | 50 + mailnews/base/public/nsIMessenger.idl | 141 + mailnews/base/public/nsIMessengerMigrator.idl | 15 + mailnews/base/public/nsIMessengerOSIntegration.idl | 14 + mailnews/base/public/nsIMessengerWindowService.idl | 17 + mailnews/base/public/nsIMsgAccount.idl | 88 + mailnews/base/public/nsIMsgAccountManager.idl | 236 + mailnews/base/public/nsIMsgAsyncPrompter.idl | 63 + mailnews/base/public/nsIMsgBiffManager.idl | 19 + mailnews/base/public/nsIMsgContentPolicy.idl | 36 + mailnews/base/public/nsIMsgCopyService.idl | 105 + mailnews/base/public/nsIMsgCopyServiceListener.idl | 56 + mailnews/base/public/nsIMsgCustomColumnHandler.idl | 42 + mailnews/base/public/nsIMsgDBView.idl | 527 + mailnews/base/public/nsIMsgFolder.idl | 853 ++ mailnews/base/public/nsIMsgFolderCache.idl | 21 + mailnews/base/public/nsIMsgFolderCacheElement.idl | 19 + mailnews/base/public/nsIMsgFolderCompactor.idl | 46 + mailnews/base/public/nsIMsgFolderListener.idl | 212 + .../public/nsIMsgFolderNotificationService.idl | 98 + mailnews/base/public/nsIMsgHdr.idl | 104 + mailnews/base/public/nsIMsgIdentity.idl | 250 + mailnews/base/public/nsIMsgIncomingServer.idl | 590 ++ mailnews/base/public/nsIMsgKeyArray.idl | 54 + mailnews/base/public/nsIMsgMailNewsUrl.idl | 201 + mailnews/base/public/nsIMsgMailSession.idl | 79 + mailnews/base/public/nsIMsgMdnGenerator.idl | 81 + mailnews/base/public/nsIMsgMessageService.idl | 259 + mailnews/base/public/nsIMsgOfflineManager.idl | 23 + mailnews/base/public/nsIMsgPluggableStore.idl | 330 + mailnews/base/public/nsIMsgPrintEngine.idl | 40 + mailnews/base/public/nsIMsgProgress.idl | 40 + mailnews/base/public/nsIMsgProtocolInfo.idl | 99 + mailnews/base/public/nsIMsgPurgeService.idl | 14 + mailnews/base/public/nsIMsgRDFDataSource.idl | 16 + mailnews/base/public/nsIMsgShutdown.idl | 69 + mailnews/base/public/nsIMsgStatusFeedback.idl | 19 + mailnews/base/public/nsIMsgTagService.idl | 67 + mailnews/base/public/nsIMsgThread.idl | 36 + .../base/public/nsIMsgUserFeedbackListener.idl | 28 + mailnews/base/public/nsIMsgWindow.idl | 98 + mailnews/base/public/nsIMsgWindowData.idl | 23 + mailnews/base/public/nsISpamSettings.idl | 97 + mailnews/base/public/nsIStatusBarBiffManager.idl | 13 + mailnews/base/public/nsIStopwatch.idl | 44 + mailnews/base/public/nsISubscribableServer.idl | 76 + mailnews/base/public/nsIUrlListener.idl | 32 + mailnews/base/public/nsMsgBaseCID.h | 536 + mailnews/base/public/nsMsgFolderFlags.idl | 115 + mailnews/base/public/nsMsgGroupnameFlags.h | 49 + mailnews/base/public/nsMsgHeaderMasks.h | 53 + mailnews/base/public/nsMsgLocalFolderHdrs.h | 39 + mailnews/base/public/nsMsgMessageFlags.idl | 173 + mailnews/base/search/content/CustomHeaders.js | 203 + mailnews/base/search/content/CustomHeaders.xul | 57 + mailnews/base/search/content/FilterEditor.js | 854 ++ mailnews/base/search/content/FilterEditor.xul | 125 + mailnews/base/search/content/searchTermOverlay.js | 536 + mailnews/base/search/content/searchTermOverlay.xul | 66 + mailnews/base/search/content/searchWidgets.xml | 738 ++ mailnews/base/search/content/viewLog.js | 36 + mailnews/base/search/content/viewLog.xul | 49 + mailnews/base/search/public/moz.build | 38 + mailnews/base/search/public/nsIMsgFilter.idl | 142 + .../search/public/nsIMsgFilterCustomAction.idl | 90 + .../base/search/public/nsIMsgFilterHitNotify.idl | 27 + mailnews/base/search/public/nsIMsgFilterList.idl | 108 + mailnews/base/search/public/nsIMsgFilterPlugin.idl | 350 + .../base/search/public/nsIMsgFilterService.idl | 95 + .../base/search/public/nsIMsgOperationListener.idl | 17 + .../base/search/public/nsIMsgSearchAdapter.idl | 42 + .../base/search/public/nsIMsgSearchCustomTerm.idl | 79 + mailnews/base/search/public/nsIMsgSearchNotify.idl | 31 + .../base/search/public/nsIMsgSearchScopeTerm.idl | 20 + .../base/search/public/nsIMsgSearchSession.idl | 147 + mailnews/base/search/public/nsIMsgSearchTerm.idl | 156 + .../search/public/nsIMsgSearchValidityManager.idl | 26 + .../search/public/nsIMsgSearchValidityTable.idl | 50 + mailnews/base/search/public/nsIMsgSearchValue.idl | 36 + mailnews/base/search/public/nsIMsgTraitService.idl | 174 + mailnews/base/search/public/nsMsgBodyHandler.h | 112 + mailnews/base/search/public/nsMsgFilterCore.idl | 63 + mailnews/base/search/public/nsMsgResultElement.h | 40 + mailnews/base/search/public/nsMsgSearchAdapter.h | 218 + .../base/search/public/nsMsgSearchBoolExpression.h | 107 + mailnews/base/search/public/nsMsgSearchCore.idl | 222 + mailnews/base/search/public/nsMsgSearchScopeTerm.h | 45 + mailnews/base/search/public/nsMsgSearchTerm.h | 85 + mailnews/base/search/src/Bogofilter.sfd | 14 + mailnews/base/search/src/DSPAM.sfd | 14 + mailnews/base/search/src/Habeas.sfd | 8 + mailnews/base/search/src/POPFile.sfd | 14 + mailnews/base/search/src/SpamAssassin.sfd | 14 + mailnews/base/search/src/SpamCatcher.sfd | 14 + mailnews/base/search/src/SpamPal.sfd | 14 + mailnews/base/search/src/moz.build | 33 + mailnews/base/search/src/nsMsgBodyHandler.cpp | 487 + mailnews/base/search/src/nsMsgFilter.cpp | 1057 ++ mailnews/base/search/src/nsMsgFilter.h | 103 + mailnews/base/search/src/nsMsgFilterList.cpp | 1198 +++ mailnews/base/search/src/nsMsgFilterList.h | 75 + mailnews/base/search/src/nsMsgFilterService.cpp | 1216 +++ mailnews/base/search/src/nsMsgFilterService.h | 46 + mailnews/base/search/src/nsMsgImapSearch.cpp | 1004 ++ mailnews/base/search/src/nsMsgLocalSearch.cpp | 1022 ++ mailnews/base/search/src/nsMsgLocalSearch.h | 104 + mailnews/base/search/src/nsMsgSearchAdapter.cpp | 1332 +++ mailnews/base/search/src/nsMsgSearchImap.h | 37 + mailnews/base/search/src/nsMsgSearchNews.cpp | 511 + mailnews/base/search/src/nsMsgSearchNews.h | 49 + mailnews/base/search/src/nsMsgSearchSession.cpp | 675 ++ mailnews/base/search/src/nsMsgSearchSession.h | 98 + mailnews/base/search/src/nsMsgSearchTerm.cpp | 2088 ++++ mailnews/base/search/src/nsMsgSearchValue.cpp | 117 + mailnews/base/search/src/nsMsgSearchValue.h | 26 + mailnews/base/search/src/nsMsgTraitService.js | 239 + .../base/search/src/nsMsgTraitService.manifest | 2 + mailnews/base/src/MailNewsDLF.cpp | 101 + mailnews/base/src/MailNewsDLF.h | 38 + mailnews/base/src/MailnewsLoadContextInfo.cpp | 55 + mailnews/base/src/MailnewsLoadContextInfo.h | 32 + mailnews/base/src/folderLookupService.js | 99 + mailnews/base/src/moz.build | 82 + mailnews/base/src/msgAsyncPrompter.js | 126 + mailnews/base/src/msgBase.manifest | 12 + mailnews/base/src/msgOAuth2Module.js | 150 + mailnews/base/src/newMailNotificationService.js | 377 + mailnews/base/src/nsCidProtocolHandler.cpp | 73 + mailnews/base/src/nsCidProtocolHandler.h | 24 + mailnews/base/src/nsCopyMessageStreamListener.cpp | 145 + mailnews/base/src/nsCopyMessageStreamListener.h | 37 + mailnews/base/src/nsMailDirProvider.cpp | 206 + mailnews/base/src/nsMailDirProvider.h | 43 + mailnews/base/src/nsMailDirServiceDefs.h | 31 + mailnews/base/src/nsMailNewsCommandLineHandler.js | 170 + mailnews/base/src/nsMessenger.cpp | 3072 ++++++ mailnews/base/src/nsMessenger.h | 102 + mailnews/base/src/nsMessengerBootstrap.cpp | 83 + mailnews/base/src/nsMessengerBootstrap.h | 31 + mailnews/base/src/nsMessengerContentHandler.cpp | 81 + mailnews/base/src/nsMessengerContentHandler.h | 20 + mailnews/base/src/nsMessengerOSXIntegration.h | 63 + mailnews/base/src/nsMessengerOSXIntegration.mm | 730 ++ mailnews/base/src/nsMessengerUnixIntegration.cpp | 762 ++ mailnews/base/src/nsMessengerUnixIntegration.h | 63 + mailnews/base/src/nsMessengerWinIntegration.cpp | 1191 +++ mailnews/base/src/nsMessengerWinIntegration.h | 122 + mailnews/base/src/nsMsgAccount.cpp | 435 + mailnews/base/src/nsMsgAccount.h | 38 + mailnews/base/src/nsMsgAccountManager.cpp | 3708 +++++++ mailnews/base/src/nsMsgAccountManager.h | 216 + mailnews/base/src/nsMsgAccountManagerDS.cpp | 1183 +++ mailnews/base/src/nsMsgAccountManagerDS.h | 142 + mailnews/base/src/nsMsgBiffManager.cpp | 373 + mailnews/base/src/nsMsgBiffManager.h | 55 + mailnews/base/src/nsMsgContentPolicy.cpp | 1076 ++ mailnews/base/src/nsMsgContentPolicy.h | 93 + mailnews/base/src/nsMsgCopyService.cpp | 708 ++ mailnews/base/src/nsMsgCopyService.h | 94 + mailnews/base/src/nsMsgDBView.cpp | 8066 +++++++++++++++ mailnews/base/src/nsMsgDBView.h | 513 + mailnews/base/src/nsMsgFolderCache.cpp | 376 + mailnews/base/src/nsMsgFolderCache.h | 50 + mailnews/base/src/nsMsgFolderCacheElement.cpp | 163 + mailnews/base/src/nsMsgFolderCacheElement.h | 35 + mailnews/base/src/nsMsgFolderCompactor.cpp | 1348 +++ mailnews/base/src/nsMsgFolderCompactor.h | 115 + mailnews/base/src/nsMsgFolderDataSource.cpp | 2475 +++++ mailnews/base/src/nsMsgFolderDataSource.h | 356 + .../base/src/nsMsgFolderNotificationService.cpp | 172 + mailnews/base/src/nsMsgFolderNotificationService.h | 46 + mailnews/base/src/nsMsgGroupThread.cpp | 856 ++ mailnews/base/src/nsMsgGroupThread.h | 87 + mailnews/base/src/nsMsgGroupView.cpp | 1024 ++ mailnews/base/src/nsMsgGroupView.h | 74 + mailnews/base/src/nsMsgMailSession.cpp | 761 ++ mailnews/base/src/nsMsgMailSession.h | 106 + mailnews/base/src/nsMsgOfflineManager.cpp | 399 + mailnews/base/src/nsMsgOfflineManager.h | 85 + mailnews/base/src/nsMsgPrintEngine.cpp | 741 ++ mailnews/base/src/nsMsgPrintEngine.h | 91 + mailnews/base/src/nsMsgProgress.cpp | 262 + mailnews/base/src/nsMsgProgress.h | 47 + mailnews/base/src/nsMsgPurgeService.cpp | 486 + mailnews/base/src/nsMsgPurgeService.h | 55 + mailnews/base/src/nsMsgQuickSearchDBView.cpp | 882 ++ mailnews/base/src/nsMsgQuickSearchDBView.h | 87 + mailnews/base/src/nsMsgRDFDataSource.cpp | 371 + mailnews/base/src/nsMsgRDFDataSource.h | 66 + mailnews/base/src/nsMsgRDFUtils.cpp | 82 + mailnews/base/src/nsMsgRDFUtils.h | 104 + mailnews/base/src/nsMsgSearchDBView.cpp | 1433 +++ mailnews/base/src/nsMsgSearchDBView.h | 146 + mailnews/base/src/nsMsgServiceProvider.cpp | 139 + mailnews/base/src/nsMsgServiceProvider.h | 34 + mailnews/base/src/nsMsgSpecialViews.cpp | 179 + mailnews/base/src/nsMsgSpecialViews.h | 71 + mailnews/base/src/nsMsgStatusFeedback.cpp | 303 + mailnews/base/src/nsMsgStatusFeedback.h | 50 + mailnews/base/src/nsMsgTagService.cpp | 560 ++ mailnews/base/src/nsMsgTagService.h | 57 + mailnews/base/src/nsMsgThreadedDBView.cpp | 983 ++ mailnews/base/src/nsMsgThreadedDBView.h | 51 + mailnews/base/src/nsMsgWindow.cpp | 534 + mailnews/base/src/nsMsgWindow.h | 61 + mailnews/base/src/nsMsgXFViewThread.cpp | 481 + mailnews/base/src/nsMsgXFViewThread.h | 54 + mailnews/base/src/nsMsgXFVirtualFolderDBView.cpp | 514 + mailnews/base/src/nsMsgXFVirtualFolderDBView.h | 61 + mailnews/base/src/nsSpamSettings.cpp | 892 ++ mailnews/base/src/nsSpamSettings.h | 71 + mailnews/base/src/nsStatusBarBiffManager.cpp | 251 + mailnews/base/src/nsStatusBarBiffManager.h | 44 + mailnews/base/src/nsSubscribableServer.cpp | 805 ++ mailnews/base/src/nsSubscribableServer.h | 80 + mailnews/base/src/nsSubscribeDataSource.cpp | 673 ++ mailnews/base/src/nsSubscribeDataSource.h | 50 + mailnews/base/src/virtualFolderWrapper.js | 255 + mailnews/base/util/ABQueryUtils.jsm | 130 + mailnews/base/util/IOUtils.js | 136 + mailnews/base/util/JXON.js | 180 + mailnews/base/util/OAuth2.jsm | 234 + mailnews/base/util/OAuth2Providers.jsm | 77 + mailnews/base/util/ServiceList.h | 40 + mailnews/base/util/Services.cpp | 106 + mailnews/base/util/Services.h | 26 + mailnews/base/util/StringBundle.js | 189 + mailnews/base/util/errUtils.js | 309 + mailnews/base/util/folderUtils.jsm | 234 + mailnews/base/util/hostnameUtils.jsm | 341 + mailnews/base/util/iteratorUtils.jsm | 166 + mailnews/base/util/jsTreeSelection.js | 654 ++ mailnews/base/util/mailServices.js | 73 + mailnews/base/util/mailnewsMigrator.js | 203 + mailnews/base/util/moz.build | 78 + mailnews/base/util/msgDBCacheManager.js | 175 + mailnews/base/util/nsImapMoveCoalescer.cpp | 233 + mailnews/base/util/nsImapMoveCoalescer.h | 73 + mailnews/base/util/nsMsgCompressIStream.cpp | 228 + mailnews/base/util/nsMsgCompressIStream.h | 35 + mailnews/base/util/nsMsgCompressOStream.cpp | 145 + mailnews/base/util/nsMsgCompressOStream.h | 28 + mailnews/base/util/nsMsgDBFolder.cpp | 6040 +++++++++++ mailnews/base/util/nsMsgDBFolder.h | 297 + mailnews/base/util/nsMsgDBFolderAtomList.h | 26 + mailnews/base/util/nsMsgFileStream.cpp | 196 + mailnews/base/util/nsMsgFileStream.h | 33 + mailnews/base/util/nsMsgI18N.cpp | 479 + mailnews/base/util/nsMsgI18N.h | 198 + mailnews/base/util/nsMsgIdentity.cpp | 669 ++ mailnews/base/util/nsMsgIdentity.h | 97 + mailnews/base/util/nsMsgIncomingServer.cpp | 2292 +++++ mailnews/base/util/nsMsgIncomingServer.h | 103 + mailnews/base/util/nsMsgKeyArray.cpp | 77 + mailnews/base/util/nsMsgKeyArray.h | 33 + mailnews/base/util/nsMsgKeySet.cpp | 1520 +++ mailnews/base/util/nsMsgKeySet.h | 108 + mailnews/base/util/nsMsgLineBuffer.cpp | 441 + mailnews/base/util/nsMsgLineBuffer.h | 107 + mailnews/base/util/nsMsgMailNewsUrl.cpp | 1060 ++ mailnews/base/util/nsMsgMailNewsUrl.h | 87 + mailnews/base/util/nsMsgProtocol.cpp | 1552 +++ mailnews/base/util/nsMsgProtocol.h | 239 + mailnews/base/util/nsMsgReadStateTxn.cpp | 66 + mailnews/base/util/nsMsgReadStateTxn.h | 48 + mailnews/base/util/nsMsgTxn.cpp | 294 + mailnews/base/util/nsMsgTxn.h | 73 + mailnews/base/util/nsMsgUtils.cpp | 2520 +++++ mailnews/base/util/nsMsgUtils.h | 589 ++ mailnews/base/util/nsStopwatch.cpp | 183 + mailnews/base/util/nsStopwatch.h | 50 + mailnews/base/util/templateUtils.js | 90 + mailnews/base/util/traceHelper.js | 113 + mailnews/build/moz.build | 63 + mailnews/build/newmail.ico | Bin 0 -> 318 bytes mailnews/build/nsMailModule.cpp | 1394 +++ mailnews/compose/content/askSendFormat.js | 58 + mailnews/compose/content/askSendFormat.xul | 46 + .../compose/content/mailComposeEditorOverlay.xul | 157 + .../compose/content/menulistCompactBindings.xml | 22 + mailnews/compose/content/sendProgress.js | 171 + mailnews/compose/content/sendProgress.xul | 50 + mailnews/compose/moz.build | 10 + mailnews/compose/public/moz.build | 35 + mailnews/compose/public/nsIMsgAttachment.idl | 124 + .../compose/public/nsIMsgAttachmentHandler.idl | 45 + mailnews/compose/public/nsIMsgCompFields.idl | 97 + mailnews/compose/public/nsIMsgCompUtils.idl | 14 + mailnews/compose/public/nsIMsgCompose.idl | 307 + mailnews/compose/public/nsIMsgComposeParams.idl | 81 + .../compose/public/nsIMsgComposeProgressParams.idl | 16 + mailnews/compose/public/nsIMsgComposeSecure.idl | 25 + mailnews/compose/public/nsIMsgComposeService.idl | 147 + mailnews/compose/public/nsIMsgQuote.idl | 35 + .../public/nsIMsgQuotingOutputStreamListener.idl | 16 + mailnews/compose/public/nsIMsgSend.idl | 405 + mailnews/compose/public/nsIMsgSendLater.idl | 66 + .../compose/public/nsIMsgSendLaterListener.idl | 86 + mailnews/compose/public/nsIMsgSendListener.idl | 57 + mailnews/compose/public/nsIMsgSendReport.idl | 47 + mailnews/compose/public/nsISmtpServer.idl | 131 + mailnews/compose/public/nsISmtpService.idl | 134 + mailnews/compose/public/nsISmtpUrl.idl | 110 + mailnews/compose/public/nsIURLFetcher.idl | 38 + mailnews/compose/public/nsMsgAttachmentData.h | 115 + mailnews/compose/public/nsMsgCompCID.h | 247 + mailnews/compose/src/moz.build | 55 + mailnews/compose/src/nsComposeStrings.cpp | 116 + mailnews/compose/src/nsComposeStrings.h | 77 + mailnews/compose/src/nsMsgAppleCodes.h | 106 + mailnews/compose/src/nsMsgAppleDouble.h | 207 + mailnews/compose/src/nsMsgAppleDoubleEncode.cpp | 266 + mailnews/compose/src/nsMsgAppleEncode.cpp | 703 ++ mailnews/compose/src/nsMsgAttachment.cpp | 262 + mailnews/compose/src/nsMsgAttachment.h | 41 + mailnews/compose/src/nsMsgAttachmentHandler.cpp | 1383 +++ mailnews/compose/src/nsMsgAttachmentHandler.h | 194 + mailnews/compose/src/nsMsgCompFields.cpp | 693 ++ mailnews/compose/src/nsMsgCompFields.h | 172 + mailnews/compose/src/nsMsgCompUtils.cpp | 1803 ++++ mailnews/compose/src/nsMsgCompUtils.h | 143 + mailnews/compose/src/nsMsgCompose.cpp | 6052 +++++++++++ mailnews/compose/src/nsMsgCompose.h | 246 + .../compose/src/nsMsgComposeContentHandler.cpp | 125 + mailnews/compose/src/nsMsgComposeContentHandler.h | 20 + mailnews/compose/src/nsMsgComposeParams.cpp | 170 + mailnews/compose/src/nsMsgComposeParams.h | 30 + .../compose/src/nsMsgComposeProgressParams.cpp | 46 + mailnews/compose/src/nsMsgComposeProgressParams.h | 20 + mailnews/compose/src/nsMsgComposeService.cpp | 1479 +++ mailnews/compose/src/nsMsgComposeService.h | 68 + mailnews/compose/src/nsMsgCopy.cpp | 553 + mailnews/compose/src/nsMsgCopy.h | 120 + mailnews/compose/src/nsMsgPrompts.cpp | 115 + mailnews/compose/src/nsMsgPrompts.h | 22 + mailnews/compose/src/nsMsgQuote.cpp | 233 + mailnews/compose/src/nsMsgQuote.h | 52 + mailnews/compose/src/nsMsgSend.cpp | 5218 ++++++++++ mailnews/compose/src/nsMsgSend.h | 405 + mailnews/compose/src/nsMsgSendLater.cpp | 1552 +++ mailnews/compose/src/nsMsgSendLater.h | 144 + mailnews/compose/src/nsMsgSendPart.cpp | 779 ++ mailnews/compose/src/nsMsgSendPart.h | 101 + mailnews/compose/src/nsMsgSendReport.cpp | 437 + mailnews/compose/src/nsMsgSendReport.h | 46 + mailnews/compose/src/nsSMTPProtocolHandler.js | 62 + .../compose/src/nsSMTPProtocolHandler.manifest | 4 + mailnews/compose/src/nsSmtpProtocol.cpp | 2249 +++++ mailnews/compose/src/nsSmtpProtocol.h | 225 + mailnews/compose/src/nsSmtpServer.cpp | 629 ++ mailnews/compose/src/nsSmtpServer.h | 40 + mailnews/compose/src/nsSmtpService.cpp | 772 ++ mailnews/compose/src/nsSmtpService.h | 63 + mailnews/compose/src/nsSmtpUrl.cpp | 778 ++ mailnews/compose/src/nsSmtpUrl.h | 100 + mailnews/compose/src/nsURLFetcher.cpp | 526 + mailnews/compose/src/nsURLFetcher.h | 101 + mailnews/db/gloda/components/glautocomp.js | 544 + mailnews/db/gloda/components/gloda.manifest | 5 + mailnews/db/gloda/components/jsmimeemitter.js | 493 + mailnews/db/gloda/components/moz.build | 11 + mailnews/db/gloda/content/glodacomplete.css | 94 + mailnews/db/gloda/content/glodacomplete.xml | 644 ++ mailnews/db/gloda/content/overlay.js | 6 + mailnews/db/gloda/content/thunderbirdOverlay.xul | 9 + mailnews/db/gloda/jar.mn | 11 + mailnews/db/gloda/modules/collection.js | 772 ++ mailnews/db/gloda/modules/connotent.js | 273 + mailnews/db/gloda/modules/databind.js | 194 + mailnews/db/gloda/modules/datamodel.js | 907 ++ mailnews/db/gloda/modules/datastore.js | 3989 ++++++++ mailnews/db/gloda/modules/dbview.js | 178 + mailnews/db/gloda/modules/everybody.js | 50 + mailnews/db/gloda/modules/explattr.js | 191 + mailnews/db/gloda/modules/facet.js | 582 ++ mailnews/db/gloda/modules/fundattr.js | 907 ++ mailnews/db/gloda/modules/gloda.js | 2283 +++++ mailnews/db/gloda/modules/index_ab.js | 287 + mailnews/db/gloda/modules/index_msg.js | 3334 ++++++ mailnews/db/gloda/modules/indexer.js | 1409 +++ mailnews/db/gloda/modules/log4moz.js | 932 ++ mailnews/db/gloda/modules/mimeTypeCategories.js | 204 + mailnews/db/gloda/modules/mimemsg.js | 719 ++ mailnews/db/gloda/modules/moz.build | 32 + mailnews/db/gloda/modules/msg_search.js | 346 + mailnews/db/gloda/modules/noun_freetag.js | 93 + mailnews/db/gloda/modules/noun_mimetype.js | 365 + mailnews/db/gloda/modules/noun_tag.js | 95 + mailnews/db/gloda/modules/public.js | 36 + mailnews/db/gloda/modules/query.js | 618 ++ mailnews/db/gloda/modules/suffixtree.js | 340 + mailnews/db/gloda/modules/utils.js | 155 + mailnews/db/gloda/moz.build | 11 + mailnews/db/moz.build | 10 + mailnews/db/msgdb/moz.build | 9 + mailnews/db/msgdb/public/moz.build | 27 + mailnews/db/msgdb/public/nsDBFolderInfo.h | 135 + mailnews/db/msgdb/public/nsIDBChangeAnnouncer.idl | 33 + mailnews/db/msgdb/public/nsIDBChangeListener.idl | 115 + mailnews/db/msgdb/public/nsIDBFolderInfo.idl | 108 + mailnews/db/msgdb/public/nsIMsgDatabase.idl | 570 ++ .../db/msgdb/public/nsIMsgOfflineImapOperation.idl | 53 + mailnews/db/msgdb/public/nsINewsDatabase.idl | 18 + mailnews/db/msgdb/public/nsImapMailDatabase.h | 52 + mailnews/db/msgdb/public/nsMailDatabase.h | 67 + mailnews/db/msgdb/public/nsMsgDBCID.h | 63 + mailnews/db/msgdb/public/nsMsgDatabase.h | 462 + mailnews/db/msgdb/public/nsMsgHdr.h | 86 + mailnews/db/msgdb/public/nsMsgThread.h | 63 + mailnews/db/msgdb/public/nsNewsDatabase.h | 57 + mailnews/db/msgdb/src/moz.build | 18 + mailnews/db/msgdb/src/nsDBFolderInfo.cpp | 977 ++ mailnews/db/msgdb/src/nsImapMailDatabase.cpp | 249 + mailnews/db/msgdb/src/nsMailDatabase.cpp | 444 + mailnews/db/msgdb/src/nsMsgDatabase.cpp | 5915 +++++++++++ mailnews/db/msgdb/src/nsMsgHdr.cpp | 1098 ++ .../db/msgdb/src/nsMsgOfflineImapOperation.cpp | 378 + mailnews/db/msgdb/src/nsMsgOfflineImapOperation.h | 55 + mailnews/db/msgdb/src/nsMsgThread.cpp | 1180 +++ mailnews/db/msgdb/src/nsNewsDatabase.cpp | 360 + mailnews/extensions/bayesian-spam-filter/moz.build | 6 + .../extensions/bayesian-spam-filter/src/moz.build | 11 + .../bayesian-spam-filter/src/nsBayesianFilter.cpp | 2758 +++++ .../bayesian-spam-filter/src/nsBayesianFilter.h | 404 + .../bayesian-spam-filter/src/nsBayesianFilterCID.h | 22 + .../bayesian-spam-filter/src/nsIncompleteGamma.h | 259 + mailnews/extensions/dsn/content/am-dsn.js | 36 + mailnews/extensions/dsn/content/am-dsn.xul | 57 + mailnews/extensions/dsn/content/dsn.js | 9 + mailnews/extensions/dsn/jar.mn | 9 + mailnews/extensions/dsn/moz.build | 15 + mailnews/extensions/dsn/src/dsn-service.js | 24 + mailnews/extensions/dsn/src/dsn-service.manifest | 3 + mailnews/extensions/fts3/data/README | 5 + mailnews/extensions/fts3/data/generate_table.py | 264 + mailnews/extensions/fts3/data/nfkc.txt | 5786 +++++++++++ mailnews/extensions/fts3/data/nfkc_cf.txt | 5376 ++++++++++ mailnews/extensions/fts3/public/moz.build | 11 + .../extensions/fts3/public/nsIFts3Tokenizer.idl | 15 + mailnews/extensions/fts3/src/Normalize.c | 1929 ++++ mailnews/extensions/fts3/src/README.mozilla | 3 + mailnews/extensions/fts3/src/fts3_porter.c | 1150 +++ mailnews/extensions/fts3/src/fts3_tokenizer.h | 148 + mailnews/extensions/fts3/src/moz.build | 18 + mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp | 72 + mailnews/extensions/fts3/src/nsFts3Tokenizer.h | 26 + mailnews/extensions/fts3/src/nsFts3TokenizerCID.h | 16 + .../extensions/fts3/src/nsGlodaRankerFunction.cpp | 145 + .../extensions/fts3/src/nsGlodaRankerFunction.h | 25 + .../extensions/mailviews/content/mailViews.dat | 22 + mailnews/extensions/mailviews/content/moz.build | 8 + mailnews/extensions/mailviews/public/moz.build | 12 + .../extensions/mailviews/public/nsIMsgMailView.idl | 35 + .../mailviews/public/nsIMsgMailViewList.idl | 28 + mailnews/extensions/mailviews/src/moz.build | 11 + .../extensions/mailviews/src/nsMsgMailViewList.cpp | 312 + .../extensions/mailviews/src/nsMsgMailViewList.h | 61 + .../extensions/mailviews/src/nsMsgMailViewsCID.h | 17 + mailnews/extensions/mdn/content/am-mdn.js | 155 + mailnews/extensions/mdn/content/am-mdn.xul | 136 + mailnews/extensions/mdn/content/mdn.js | 23 + mailnews/extensions/mdn/jar.mn | 7 + mailnews/extensions/mdn/moz.build | 12 + mailnews/extensions/mdn/src/mdn-service.js | 24 + mailnews/extensions/mdn/src/mdn-service.manifest | 3 + mailnews/extensions/mdn/src/moz.build | 16 + mailnews/extensions/mdn/src/nsMsgMdnCID.h | 22 + mailnews/extensions/mdn/src/nsMsgMdnGenerator.cpp | 1139 +++ mailnews/extensions/mdn/src/nsMsgMdnGenerator.h | 90 + mailnews/extensions/moz.build | 19 + mailnews/extensions/newsblog/content/Feed.js | 620 ++ mailnews/extensions/newsblog/content/FeedItem.js | 490 + mailnews/extensions/newsblog/content/FeedUtils.jsm | 1608 +++ .../extensions/newsblog/content/am-newsblog.js | 63 + .../extensions/newsblog/content/am-newsblog.xul | 155 + .../extensions/newsblog/content/feed-parser.js | 1034 ++ .../newsblog/content/feed-subscriptions.js | 2703 +++++ .../newsblog/content/feed-subscriptions.xul | 235 + .../newsblog/content/feedAccountWizard.js | 45 + .../newsblog/content/feedAccountWizard.xul | 79 + .../extensions/newsblog/content/newsblogOverlay.js | 363 + mailnews/extensions/newsblog/jar.mn | 16 + mailnews/extensions/newsblog/js/newsblog.js | 99 + mailnews/extensions/newsblog/js/newsblog.manifest | 5 + mailnews/extensions/newsblog/moz.build | 18 + mailnews/extensions/newsblog/rss.rdf | 43 + .../offline-startup/js/offlineStartup.js | 170 + .../offline-startup/js/offlineStartup.manifest | 3 + mailnews/extensions/offline-startup/moz.build | 10 + mailnews/extensions/smime/content/am-smime.js | 478 + mailnews/extensions/smime/content/am-smime.xul | 26 + .../smime/content/am-smimeIdentityEditOverlay.xul | 39 + .../extensions/smime/content/am-smimeOverlay.xul | 102 + .../extensions/smime/content/certFetchingStatus.js | 265 + .../smime/content/certFetchingStatus.xul | 24 + mailnews/extensions/smime/content/certpicker.js | 73 + mailnews/extensions/smime/content/certpicker.xul | 38 + .../smime/content/msgCompSMIMEOverlay.js | 357 + .../smime/content/msgCompSMIMEOverlay.xul | 85 + .../smime/content/msgCompSecurityInfo.js | 244 + .../smime/content/msgCompSecurityInfo.xul | 68 + .../smime/content/msgHdrViewSMIMEOverlay.js | 264 + .../smime/content/msgHdrViewSMIMEOverlay.xul | 29 + .../smime/content/msgReadSMIMEOverlay.js | 102 + .../smime/content/msgReadSMIMEOverlay.xul | 34 + .../smime/content/msgReadSecurityInfo.js | 232 + .../smime/content/msgReadSecurityInfo.xul | 68 + mailnews/extensions/smime/content/smime.js | 14 + mailnews/extensions/smime/jar.mn | 30 + mailnews/extensions/smime/moz.build | 15 + mailnews/extensions/smime/public/moz.build | 15 + .../extensions/smime/public/nsICertPickDialogs.idl | 30 + .../smime/public/nsIEncryptedSMIMEURIsSrvc.idl | 24 + .../smime/public/nsIMsgSMIMECompFields.idl | 18 + .../smime/public/nsIMsgSMIMEHeaderSink.idl | 23 + .../extensions/smime/public/nsISMimeJSHelper.idl | 73 + .../extensions/smime/public/nsIUserCertPicker.idl | 28 + mailnews/extensions/smime/src/moz.build | 23 + mailnews/extensions/smime/src/nsCertPicker.cpp | 471 + mailnews/extensions/smime/src/nsCertPicker.h | 36 + .../smime/src/nsEncryptedSMIMEURIsService.cpp | 36 + .../smime/src/nsEncryptedSMIMEURIsService.h | 25 + .../extensions/smime/src/nsMsgComposeSecure.cpp | 1203 +++ mailnews/extensions/smime/src/nsMsgComposeSecure.h | 106 + mailnews/extensions/smime/src/nsMsgSMIMECID.h | 42 + mailnews/extensions/smime/src/nsSMimeJSHelper.cpp | 335 + mailnews/extensions/smime/src/nsSMimeJSHelper.h | 26 + mailnews/extensions/smime/src/smime-service.js | 24 + .../extensions/smime/src/smime-service.manifest | 3 + mailnews/imap/public/moz.build | 32 + mailnews/imap/public/nsIAutoSyncFolderStrategy.idl | 23 + mailnews/imap/public/nsIAutoSyncManager.idl | 194 + mailnews/imap/public/nsIAutoSyncMsgStrategy.idl | 35 + mailnews/imap/public/nsIAutoSyncState.idl | 130 + mailnews/imap/public/nsIIMAPHostSessionList.h | 100 + mailnews/imap/public/nsIImapFlagAndUidState.idl | 74 + mailnews/imap/public/nsIImapHeaderXferInfo.idl | 23 + mailnews/imap/public/nsIImapIncomingServer.idl | 105 + mailnews/imap/public/nsIImapMailFolderSink.idl | 103 + mailnews/imap/public/nsIImapMessageSink.idl | 80 + mailnews/imap/public/nsIImapMockChannel.idl | 49 + mailnews/imap/public/nsIImapProtocol.idl | 71 + mailnews/imap/public/nsIImapProtocolSink.idl | 32 + mailnews/imap/public/nsIImapServerSink.idl | 169 + mailnews/imap/public/nsIImapService.idl | 258 + mailnews/imap/public/nsIImapUrl.idl | 207 + mailnews/imap/public/nsIMailboxSpec.idl | 43 + mailnews/imap/public/nsIMsgImapMailFolder.idl | 215 + mailnews/imap/public/nsMsgImapCID.h | 59 + mailnews/imap/src/moz.build | 33 + mailnews/imap/src/nsAutoSyncManager.cpp | 1412 +++ mailnews/imap/src/nsAutoSyncManager.h | 265 + mailnews/imap/src/nsAutoSyncState.cpp | 765 ++ mailnews/imap/src/nsAutoSyncState.h | 107 + mailnews/imap/src/nsIMAPBodyShell.cpp | 1333 +++ mailnews/imap/src/nsIMAPBodyShell.h | 361 + mailnews/imap/src/nsIMAPGenericParser.cpp | 484 + mailnews/imap/src/nsIMAPGenericParser.h | 76 + mailnews/imap/src/nsIMAPHostSessionList.cpp | 701 ++ mailnews/imap/src/nsIMAPHostSessionList.h | 135 + mailnews/imap/src/nsIMAPNamespace.cpp | 650 ++ mailnews/imap/src/nsIMAPNamespace.h | 87 + mailnews/imap/src/nsImapCore.h | 188 + mailnews/imap/src/nsImapFlagAndUidState.cpp | 321 + mailnews/imap/src/nsImapFlagAndUidState.h | 55 + mailnews/imap/src/nsImapIncomingServer.cpp | 3382 +++++++ mailnews/imap/src/nsImapIncomingServer.h | 137 + mailnews/imap/src/nsImapMailFolder.cpp | 9868 ++++++++++++++++++ mailnews/imap/src/nsImapMailFolder.h | 550 + mailnews/imap/src/nsImapOfflineSync.cpp | 1292 +++ mailnews/imap/src/nsImapOfflineSync.h | 92 + mailnews/imap/src/nsImapProtocol.cpp | 10046 +++++++++++++++++++ mailnews/imap/src/nsImapProtocol.h | 764 ++ mailnews/imap/src/nsImapSearchResults.cpp | 92 + mailnews/imap/src/nsImapSearchResults.h | 42 + mailnews/imap/src/nsImapServerResponseParser.cpp | 3360 +++++++ mailnews/imap/src/nsImapServerResponseParser.h | 269 + mailnews/imap/src/nsImapService.cpp | 3400 +++++++ mailnews/imap/src/nsImapService.h | 123 + mailnews/imap/src/nsImapStringBundle.cpp | 42 + mailnews/imap/src/nsImapStringBundle.h | 17 + mailnews/imap/src/nsImapUndoTxn.cpp | 751 ++ mailnews/imap/src/nsImapUndoTxn.h | 92 + mailnews/imap/src/nsImapUrl.cpp | 1563 +++ mailnews/imap/src/nsImapUrl.h | 133 + mailnews/imap/src/nsImapUtils.cpp | 373 + mailnews/imap/src/nsImapUtils.h | 77 + mailnews/imap/src/nsSyncRunnableHelpers.cpp | 600 ++ mailnews/imap/src/nsSyncRunnableHelpers.h | 146 + mailnews/import/applemail/src/moz.build | 15 + .../import/applemail/src/nsAppleMailImport.cpp | 623 ++ mailnews/import/applemail/src/nsAppleMailImport.h | 78 + mailnews/import/applemail/src/nsEmlxHelperUtils.h | 55 + mailnews/import/applemail/src/nsEmlxHelperUtils.mm | 240 + mailnews/import/becky/src/moz.build | 16 + mailnews/import/becky/src/nsBeckyAddressBooks.cpp | 383 + mailnews/import/becky/src/nsBeckyAddressBooks.h | 35 + mailnews/import/becky/src/nsBeckyFilters.cpp | 793 ++ mailnews/import/becky/src/nsBeckyFilters.h | 77 + mailnews/import/becky/src/nsBeckyImport.cpp | 168 + mailnews/import/becky/src/nsBeckyImport.h | 36 + mailnews/import/becky/src/nsBeckyMail.cpp | 641 ++ mailnews/import/becky/src/nsBeckyMail.h | 45 + mailnews/import/becky/src/nsBeckySettings.cpp | 471 + mailnews/import/becky/src/nsBeckySettings.h | 52 + mailnews/import/becky/src/nsBeckyStringBundle.cpp | 74 + mailnews/import/becky/src/nsBeckyStringBundle.h | 33 + mailnews/import/becky/src/nsBeckyUtils.cpp | 334 + mailnews/import/becky/src/nsBeckyUtils.h | 37 + mailnews/import/build/moz.build | 62 + mailnews/import/build/nsImportModule.cpp | 203 + mailnews/import/content/fieldMapImport.js | 186 + mailnews/import/content/fieldMapImport.xul | 68 + mailnews/import/content/import-test.html | 36 + mailnews/import/content/importDialog.js | 1066 ++ mailnews/import/content/importDialog.xul | 143 + mailnews/import/oexpress/OEDebugLog.h | 20 + mailnews/import/oexpress/WabObject.cpp | 1132 +++ mailnews/import/oexpress/WabObject.h | 64 + mailnews/import/oexpress/moz.build | 19 + mailnews/import/oexpress/nsOE5File.cpp | 631 ++ mailnews/import/oexpress/nsOE5File.h | 52 + mailnews/import/oexpress/nsOEAddressIterator.cpp | 396 + mailnews/import/oexpress/nsOEAddressIterator.h | 36 + mailnews/import/oexpress/nsOEImport.cpp | 657 ++ mailnews/import/oexpress/nsOEImport.h | 42 + mailnews/import/oexpress/nsOEMailbox.cpp | 673 ++ mailnews/import/oexpress/nsOEMailbox.h | 27 + mailnews/import/oexpress/nsOERegUtil.cpp | 27 + mailnews/import/oexpress/nsOERegUtil.h | 20 + mailnews/import/oexpress/nsOEScanBoxes.cpp | 859 ++ mailnews/import/oexpress/nsOEScanBoxes.h | 76 + mailnews/import/oexpress/nsOESettings.cpp | 921 ++ mailnews/import/oexpress/nsOESettings.h | 22 + mailnews/import/oexpress/nsOEStringBundle.cpp | 71 + mailnews/import/oexpress/nsOEStringBundle.h | 38 + mailnews/import/outlook/src/MapiApi.cpp | 1940 ++++ mailnews/import/outlook/src/MapiApi.h | 265 + mailnews/import/outlook/src/MapiDbgLog.h | 40 + mailnews/import/outlook/src/MapiMessage.cpp | 1474 +++ mailnews/import/outlook/src/MapiMessage.h | 271 + mailnews/import/outlook/src/MapiMimeTypes.cpp | 96 + mailnews/import/outlook/src/MapiMimeTypes.h | 31 + mailnews/import/outlook/src/MapiTagStrs.cpp | 1070 ++ mailnews/import/outlook/src/OutlookDebugLog.h | 24 + mailnews/import/outlook/src/moz.build | 24 + mailnews/import/outlook/src/nsOutlookCompose.cpp | 815 ++ mailnews/import/outlook/src/nsOutlookCompose.h | 66 + mailnews/import/outlook/src/nsOutlookImport.cpp | 589 ++ mailnews/import/outlook/src/nsOutlookImport.h | 44 + mailnews/import/outlook/src/nsOutlookMail.cpp | 863 ++ mailnews/import/outlook/src/nsOutlookMail.h | 54 + mailnews/import/outlook/src/nsOutlookSettings.cpp | 567 ++ mailnews/import/outlook/src/nsOutlookSettings.h | 29 + .../import/outlook/src/nsOutlookStringBundle.cpp | 71 + .../import/outlook/src/nsOutlookStringBundle.h | 38 + mailnews/import/outlook/src/rtfDecoder.cpp | 520 + mailnews/import/outlook/src/rtfDecoder.h | 22 + mailnews/import/outlook/src/rtfMailDecoder.cpp | 79 + mailnews/import/outlook/src/rtfMailDecoder.h | 41 + mailnews/import/public/moz.build | 21 + mailnews/import/public/nsIImportABDescriptor.idl | 70 + mailnews/import/public/nsIImportAddressBooks.idl | 153 + mailnews/import/public/nsIImportFieldMap.idl | 72 + mailnews/import/public/nsIImportFilters.idl | 32 + mailnews/import/public/nsIImportGeneric.idl | 89 + mailnews/import/public/nsIImportMail.idl | 98 + .../import/public/nsIImportMailboxDescriptor.idl | 46 + mailnews/import/public/nsIImportMimeEncode.idl | 42 + mailnews/import/public/nsIImportModule.idl | 32 + mailnews/import/public/nsIImportService.idl | 59 + mailnews/import/public/nsIImportSettings.idl | 39 + mailnews/import/src/ImportCharSet.cpp | 58 + mailnews/import/src/ImportCharSet.h | 175 + mailnews/import/src/ImportDebug.h | 22 + mailnews/import/src/ImportOutFile.cpp | 299 + mailnews/import/src/ImportOutFile.h | 94 + mailnews/import/src/ImportTranslate.cpp | 105 + mailnews/import/src/ImportTranslate.h | 23 + mailnews/import/src/moz.build | 25 + mailnews/import/src/nsImportABDescriptor.cpp | 32 + mailnews/import/src/nsImportABDescriptor.h | 103 + mailnews/import/src/nsImportAddressBooks.cpp | 894 ++ mailnews/import/src/nsImportEmbeddedImageData.cpp | 64 + mailnews/import/src/nsImportEmbeddedImageData.h | 32 + mailnews/import/src/nsImportEncodeScan.cpp | 374 + mailnews/import/src/nsImportEncodeScan.h | 39 + mailnews/import/src/nsImportFieldMap.cpp | 384 + mailnews/import/src/nsImportFieldMap.h | 46 + mailnews/import/src/nsImportMail.cpp | 1208 +++ mailnews/import/src/nsImportMailboxDescriptor.cpp | 39 + mailnews/import/src/nsImportMailboxDescriptor.h | 63 + mailnews/import/src/nsImportMimeEncode.cpp | 411 + mailnews/import/src/nsImportMimeEncode.h | 73 + mailnews/import/src/nsImportScanFile.cpp | 172 + mailnews/import/src/nsImportScanFile.h | 54 + mailnews/import/src/nsImportService.cpp | 583 ++ mailnews/import/src/nsImportService.h | 96 + mailnews/import/src/nsImportStringBundle.cpp | 80 + mailnews/import/src/nsImportStringBundle.h | 48 + mailnews/import/src/nsImportTranslator.cpp | 296 + mailnews/import/src/nsImportTranslator.h | 66 + mailnews/import/text/src/TextDebugLog.h | 21 + mailnews/import/text/src/moz.build | 16 + mailnews/import/text/src/nsTextAddress.cpp | 471 + mailnews/import/text/src/nsTextAddress.h | 57 + mailnews/import/text/src/nsTextImport.cpp | 714 ++ mailnews/import/text/src/nsTextImport.h | 39 + mailnews/import/vcard/src/moz.build | 20 + mailnews/import/vcard/src/nsVCardAddress.cpp | 139 + mailnews/import/vcard/src/nsVCardAddress.h | 40 + mailnews/import/vcard/src/nsVCardImport.cpp | 398 + mailnews/import/vcard/src/nsVCardImport.h | 38 + mailnews/import/winlivemail/WMDebugLog.h | 20 + mailnews/import/winlivemail/moz.build | 14 + mailnews/import/winlivemail/nsWMImport.cpp | 248 + mailnews/import/winlivemail/nsWMImport.h | 38 + mailnews/import/winlivemail/nsWMSettings.cpp | 758 ++ mailnews/import/winlivemail/nsWMSettings.h | 22 + mailnews/import/winlivemail/nsWMStringBundle.cpp | 71 + mailnews/import/winlivemail/nsWMStringBundle.h | 38 + mailnews/import/winlivemail/nsWMUtils.cpp | 164 + mailnews/import/winlivemail/nsWMUtils.h | 27 + mailnews/intl/charsetData.properties | 120 + mailnews/intl/charsetalias.properties | 99 + mailnews/intl/jar.mn | 6 + mailnews/intl/moz.build | 35 + mailnews/intl/nsCharsetAlias.cpp | 93 + mailnews/intl/nsCharsetAlias.h | 25 + mailnews/intl/nsCharsetConverterManager.cpp | 356 + mailnews/intl/nsCharsetConverterManager.h | 36 + mailnews/intl/nsCommUConvCID.h | 26 + mailnews/intl/nsICharsetConverterManager.idl | 108 + mailnews/intl/nsMUTF7ToUnicode.cpp | 14 + mailnews/intl/nsMUTF7ToUnicode.h | 31 + mailnews/intl/nsUTF7ToUnicode.cpp | 228 + mailnews/intl/nsUTF7ToUnicode.h | 72 + mailnews/intl/nsUnicodeToMUTF7.cpp | 14 + mailnews/intl/nsUnicodeToMUTF7.h | 31 + mailnews/intl/nsUnicodeToUTF7.cpp | 298 + mailnews/intl/nsUnicodeToUTF7.h | 78 + mailnews/jar.mn | 138 + mailnews/jsaccount/modules/JSAccountUtils.jsm | 285 + mailnews/jsaccount/modules/JaBaseUrl.jsm | 81 + mailnews/jsaccount/moz.build | 15 + mailnews/jsaccount/public/moz.build | 17 + mailnews/jsaccount/public/msgIDelegateList.idl | 19 + mailnews/jsaccount/public/msgIOverride.idl | 42 + mailnews/jsaccount/public/msgJsAccountCID.h | 35 + mailnews/jsaccount/readme.html | 56 + mailnews/jsaccount/src/DelegateList.cpp | 33 + mailnews/jsaccount/src/DelegateList.h | 52 + mailnews/jsaccount/src/JaAbDirectory.cpp | 98 + mailnews/jsaccount/src/JaAbDirectory.h | 89 + mailnews/jsaccount/src/JaCompose.cpp | 103 + mailnews/jsaccount/src/JaCompose.h | 92 + mailnews/jsaccount/src/JaIncomingServer.cpp | 109 + mailnews/jsaccount/src/JaIncomingServer.h | 94 + mailnews/jsaccount/src/JaMsgFolder.cpp | 207 + mailnews/jsaccount/src/JaMsgFolder.h | 126 + mailnews/jsaccount/src/JaSend.cpp | 102 + mailnews/jsaccount/src/JaSend.h | 96 + mailnews/jsaccount/src/JaUrl.cpp | 230 + mailnews/jsaccount/src/JaUrl.h | 121 + mailnews/jsaccount/src/moz.build | 28 + mailnews/local/public/moz.build | 31 + .../local/public/nsILocalMailIncomingServer.idl | 24 + mailnews/local/public/nsIMailboxService.idl | 34 + mailnews/local/public/nsIMailboxUrl.idl | 59 + .../local/public/nsIMovemailIncomingServer.idl | 11 + mailnews/local/public/nsIMovemailService.idl | 25 + mailnews/local/public/nsIMsgLocalMailFolder.idl | 122 + mailnews/local/public/nsIMsgParseMailMsgState.idl | 48 + .../local/public/nsINewsBlogFeedDownloader.idl | 41 + mailnews/local/public/nsINoIncomingServer.idl | 16 + mailnews/local/public/nsINoneService.idl | 11 + mailnews/local/public/nsIPop3IncomingServer.idl | 38 + mailnews/local/public/nsIPop3Protocol.idl | 25 + mailnews/local/public/nsIPop3Service.idl | 128 + mailnews/local/public/nsIPop3Sink.idl | 53 + mailnews/local/public/nsIPop3URL.idl | 19 + mailnews/local/public/nsIRssIncomingServer.idl | 16 + mailnews/local/public/nsIRssService.idl | 10 + mailnews/local/public/nsMsgLocalCID.h | 227 + mailnews/local/src/moz.build | 36 + mailnews/local/src/nsLocalMailFolder.cpp | 3852 +++++++ mailnews/local/src/nsLocalMailFolder.h | 276 + mailnews/local/src/nsLocalUndoTxn.cpp | 560 ++ mailnews/local/src/nsLocalUndoTxn.h | 86 + mailnews/local/src/nsLocalUtils.cpp | 244 + mailnews/local/src/nsLocalUtils.h | 30 + mailnews/local/src/nsMailboxProtocol.cpp | 725 ++ mailnews/local/src/nsMailboxProtocol.h | 125 + mailnews/local/src/nsMailboxServer.cpp | 33 + mailnews/local/src/nsMailboxServer.h | 22 + mailnews/local/src/nsMailboxService.cpp | 677 ++ mailnews/local/src/nsMailboxService.h | 57 + mailnews/local/src/nsMailboxUrl.cpp | 556 + mailnews/local/src/nsMailboxUrl.h | 110 + mailnews/local/src/nsMovemailIncomingServer.cpp | 178 + mailnews/local/src/nsMovemailIncomingServer.h | 40 + mailnews/local/src/nsMovemailService.cpp | 694 ++ mailnews/local/src/nsMovemailService.h | 32 + mailnews/local/src/nsMsgBrkMBoxStore.cpp | 1124 +++ mailnews/local/src/nsMsgBrkMBoxStore.h | 50 + mailnews/local/src/nsMsgLocalStoreUtils.cpp | 345 + mailnews/local/src/nsMsgLocalStoreUtils.h | 49 + mailnews/local/src/nsMsgMaildirStore.cpp | 1453 +++ mailnews/local/src/nsMsgMaildirStore.h | 38 + mailnews/local/src/nsNoIncomingServer.cpp | 206 + mailnews/local/src/nsNoIncomingServer.h | 41 + mailnews/local/src/nsNoneService.cpp | 168 + mailnews/local/src/nsNoneService.h | 28 + mailnews/local/src/nsParseMailbox.cpp | 2624 +++++ mailnews/local/src/nsParseMailbox.h | 271 + mailnews/local/src/nsPop3IncomingServer.cpp | 744 ++ mailnews/local/src/nsPop3IncomingServer.h | 57 + mailnews/local/src/nsPop3Protocol.cpp | 4176 ++++++++ mailnews/local/src/nsPop3Protocol.h | 402 + mailnews/local/src/nsPop3Service.cpp | 711 ++ mailnews/local/src/nsPop3Service.h | 52 + mailnews/local/src/nsPop3Sink.cpp | 1026 ++ mailnews/local/src/nsPop3Sink.h | 78 + mailnews/local/src/nsPop3URL.cpp | 63 + mailnews/local/src/nsPop3URL.h | 30 + mailnews/local/src/nsRssIncomingServer.cpp | 260 + mailnews/local/src/nsRssIncomingServer.h | 43 + mailnews/local/src/nsRssService.cpp | 130 + mailnews/local/src/nsRssService.h | 25 + mailnews/mailnews.js | 931 ++ mailnews/mailnews.mozbuild | 16 + mailnews/mapi/mapiDll/Makefile.in | 6 + mailnews/mapi/mapiDll/Mapi32.DEF | 21 + mailnews/mapi/mapiDll/MapiDll.cpp | 513 + mailnews/mapi/mapiDll/module.ver | 7 + mailnews/mapi/mapiDll/moz.build | 24 + mailnews/mapi/mapihook/build/Makefile.in | 36 + mailnews/mapi/mapihook/build/MapiProxy.def | 13 + mailnews/mapi/mapihook/build/module.ver | 6 + mailnews/mapi/mapihook/build/moz.build | 22 + mailnews/mapi/mapihook/build/msgMapi.idl | 93 + mailnews/mapi/mapihook/moz.build | 11 + mailnews/mapi/mapihook/public/moz.build | 11 + mailnews/mapi/mapihook/public/nsIMapiSupport.idl | 44 + mailnews/mapi/mapihook/src/Makefile.in | 6 + mailnews/mapi/mapihook/src/Registry.cpp | 291 + mailnews/mapi/mapihook/src/Registry.h | 23 + mailnews/mapi/mapihook/src/moz.build | 25 + mailnews/mapi/mapihook/src/msgMapiFactory.cpp | 85 + mailnews/mapi/mapihook/src/msgMapiFactory.h | 39 + mailnews/mapi/mapihook/src/msgMapiHook.cpp | 829 ++ mailnews/mapi/mapihook/src/msgMapiHook.h | 33 + mailnews/mapi/mapihook/src/msgMapiImp.cpp | 878 ++ mailnews/mapi/mapihook/src/msgMapiImp.h | 77 + mailnews/mapi/mapihook/src/msgMapiMain.cpp | 306 + mailnews/mapi/mapihook/src/msgMapiMain.h | 86 + mailnews/mapi/mapihook/src/msgMapiSupport.cpp | 151 + mailnews/mapi/mapihook/src/msgMapiSupport.h | 34 + mailnews/mime/cthandlers/glue/mimexpcom.cpp | 132 + mailnews/mime/cthandlers/glue/mimexpcom.h | 93 + mailnews/mime/cthandlers/glue/moz.build | 18 + .../cthandlers/glue/nsMimeContentTypeHandler.cpp | 60 + .../cthandlers/glue/nsMimeContentTypeHandler.h | 47 + mailnews/mime/cthandlers/moz.build | 12 + mailnews/mime/cthandlers/pgpmime/moz.build | 20 + .../mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp | 634 ++ mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.h | 69 + mailnews/mime/cthandlers/vcard/mimevcrd.cpp | 378 + mailnews/mime/cthandlers/vcard/mimevcrd.h | 33 + mailnews/mime/cthandlers/vcard/moz.build | 14 + mailnews/mime/emitters/moz.build | 21 + mailnews/mime/emitters/nsEmitterUtils.cpp | 67 + mailnews/mime/emitters/nsEmitterUtils.h | 14 + mailnews/mime/emitters/nsMimeBaseEmitter.cpp | 1092 ++ mailnews/mime/emitters/nsMimeBaseEmitter.h | 147 + mailnews/mime/emitters/nsMimeEmitterCID.h | 51 + mailnews/mime/emitters/nsMimeHtmlEmitter.cpp | 543 + mailnews/mime/emitters/nsMimeHtmlEmitter.h | 64 + mailnews/mime/emitters/nsMimePlainEmitter.cpp | 64 + mailnews/mime/emitters/nsMimePlainEmitter.h | 31 + mailnews/mime/emitters/nsMimeRawEmitter.cpp | 34 + mailnews/mime/emitters/nsMimeRawEmitter.h | 29 + mailnews/mime/emitters/nsMimeRebuffer.cpp | 50 + mailnews/mime/emitters/nsMimeRebuffer.h | 29 + mailnews/mime/emitters/nsMimeXmlEmitter.cpp | 184 + mailnews/mime/emitters/nsMimeXmlEmitter.h | 47 + mailnews/mime/jsmime/LICENSE | 19 + mailnews/mime/jsmime/README.md | 59 + mailnews/mime/jsmime/jsmime.js | 3300 ++++++ mailnews/mime/moz.build | 15 + mailnews/mime/public/MimeEncoder.h | 44 + mailnews/mime/public/MimeHeaderParser.h | 174 + mailnews/mime/public/moz.build | 36 + mailnews/mime/public/msgIStructuredHeaders.idl | 209 + mailnews/mime/public/nsICMSDecoder.idl | 29 + mailnews/mime/public/nsICMSEncoder.idl | 30 + mailnews/mime/public/nsICMSMessage.idl | 39 + mailnews/mime/public/nsICMSMessage2.idl | 64 + mailnews/mime/public/nsICMSMessageErrors.idl | 35 + mailnews/mime/public/nsICMSSecureMessage.idl | 42 + mailnews/mime/public/nsIMimeContentTypeHandler.h | 65 + mailnews/mime/public/nsIMimeConverter.idl | 75 + mailnews/mime/public/nsIMimeEmitter.idl | 81 + mailnews/mime/public/nsIMimeHeaders.idl | 41 + mailnews/mime/public/nsIMimeMiscStatus.idl | 76 + mailnews/mime/public/nsIMimeObjectClassAccess.h | 49 + mailnews/mime/public/nsIMimeStreamConverter.idl | 93 + mailnews/mime/public/nsIMsgHeaderParser.idl | 235 + mailnews/mime/public/nsIPgpMimeProxy.idl | 69 + mailnews/mime/public/nsISimpleMimeConverter.idl | 22 + mailnews/mime/public/nsMailHeaders.h | 90 + mailnews/mime/public/nsMsgMimeCID.h | 33 + mailnews/mime/src/MimeHeaderParser.cpp | 229 + mailnews/mime/src/comi18n.cpp | 108 + mailnews/mime/src/comi18n.h | 42 + mailnews/mime/src/extraMimeParsers.jsm | 29 + mailnews/mime/src/jsmime.jsm | 90 + mailnews/mime/src/mime.def | 7 + mailnews/mime/src/mimeJSComponents.js | 512 + mailnews/mime/src/mimeParser.jsm | 258 + mailnews/mime/src/mimeTextHTMLParsed.cpp | 150 + mailnews/mime/src/mimeTextHTMLParsed.h | 28 + mailnews/mime/src/mimebuf.cpp | 249 + mailnews/mime/src/mimebuf.h | 39 + mailnews/mime/src/mimecms.cpp | 716 ++ mailnews/mime/src/mimecms.h | 36 + mailnews/mime/src/mimecom.cpp | 74 + mailnews/mime/src/mimecom.h | 38 + mailnews/mime/src/mimecont.cpp | 218 + mailnews/mime/src/mimecont.h | 43 + mailnews/mime/src/mimecryp.cpp | 571 ++ mailnews/mime/src/mimecryp.h | 140 + mailnews/mime/src/mimecth.cpp | 51 + mailnews/mime/src/mimecth.h | 135 + mailnews/mime/src/mimedrft.cpp | 2084 ++++ mailnews/mime/src/mimeebod.cpp | 509 + mailnews/mime/src/mimeebod.h | 37 + mailnews/mime/src/mimeenc.cpp | 1107 ++ mailnews/mime/src/mimeeobj.cpp | 236 + mailnews/mime/src/mimeeobj.h | 34 + mailnews/mime/src/mimefilt.cpp | 399 + mailnews/mime/src/mimehdrs.cpp | 888 ++ mailnews/mime/src/mimehdrs.h | 88 + mailnews/mime/src/mimei.cpp | 1920 ++++ mailnews/mime/src/mimei.h | 422 + mailnews/mime/src/mimeiimg.cpp | 249 + mailnews/mime/src/mimeiimg.h | 35 + mailnews/mime/src/mimeleaf.cpp | 221 + mailnews/mime/src/mimeleaf.h | 59 + mailnews/mime/src/mimemalt.cpp | 580 ++ mailnews/mime/src/mimemalt.h | 48 + mailnews/mime/src/mimemapl.cpp | 189 + mailnews/mime/src/mimemapl.h | 32 + mailnews/mime/src/mimemcms.cpp | 470 + mailnews/mime/src/mimemcms.h | 35 + mailnews/mime/src/mimemdig.cpp | 24 + mailnews/mime/src/mimemdig.h | 33 + mailnews/mime/src/mimemmix.cpp | 21 + mailnews/mime/src/mimemmix.h | 32 + mailnews/mime/src/mimemoz2.cpp | 2211 ++++ mailnews/mime/src/mimemoz2.h | 196 + mailnews/mime/src/mimempar.cpp | 21 + mailnews/mime/src/mimempar.h | 32 + mailnews/mime/src/mimemrel.cpp | 1199 +++ mailnews/mime/src/mimemrel.h | 66 + mailnews/mime/src/mimemsg.cpp | 977 ++ mailnews/mime/src/mimemsg.h | 43 + mailnews/mime/src/mimemsig.cpp | 775 ++ mailnews/mime/src/mimemsig.h | 134 + mailnews/mime/src/mimemult.cpp | 748 ++ mailnews/mime/src/mimemult.h | 102 + mailnews/mime/src/mimeobj.cpp | 327 + mailnews/mime/src/mimeobj.h | 186 + mailnews/mime/src/mimepbuf.cpp | 296 + mailnews/mime/src/mimepbuf.h | 64 + mailnews/mime/src/mimesun.cpp | 342 + mailnews/mime/src/mimesun.h | 59 + mailnews/mime/src/mimetenr.cpp | 28 + mailnews/mime/src/mimetenr.h | 32 + mailnews/mime/src/mimetext.cpp | 544 + mailnews/mime/src/mimetext.h | 82 + mailnews/mime/src/mimethpl.cpp | 165 + mailnews/mime/src/mimethpl.h | 35 + mailnews/mime/src/mimethsa.cpp | 143 + mailnews/mime/src/mimethsa.h | 28 + mailnews/mime/src/mimethtm.cpp | 254 + mailnews/mime/src/mimethtm.h | 35 + mailnews/mime/src/mimetpfl.cpp | 630 ++ mailnews/mime/src/mimetpfl.h | 52 + mailnews/mime/src/mimetpla.cpp | 451 + mailnews/mime/src/mimetpla.h | 39 + mailnews/mime/src/mimetric.cpp | 353 + mailnews/mime/src/mimetric.h | 33 + mailnews/mime/src/mimeunty.cpp | 588 ++ mailnews/mime/src/mimeunty.h | 70 + mailnews/mime/src/modlmime.h | 398 + mailnews/mime/src/modmimee.h | 56 + mailnews/mime/src/moz.build | 92 + mailnews/mime/src/msgMime.manifest | 9 + mailnews/mime/src/nsCMS.cpp | 966 ++ mailnews/mime/src/nsCMS.h | 104 + mailnews/mime/src/nsCMSSecureMessage.cpp | 363 + mailnews/mime/src/nsCMSSecureMessage.h | 37 + mailnews/mime/src/nsMimeObjectClassAccess.cpp | 97 + mailnews/mime/src/nsMimeObjectClassAccess.h | 52 + mailnews/mime/src/nsMimeStringResources.h | 40 + mailnews/mime/src/nsSimpleMimeConverterStub.cpp | 209 + mailnews/mime/src/nsSimpleMimeConverterStub.h | 13 + mailnews/mime/src/nsStreamConverter.cpp | 1157 +++ mailnews/mime/src/nsStreamConverter.h | 88 + mailnews/moz.build | 62 + mailnews/news/content/downloadheaders.js | 85 + mailnews/news/content/downloadheaders.xul | 49 + mailnews/news/moz.build | 9 + mailnews/news/public/moz.build | 24 + mailnews/news/public/nsIMsgNewsFolder.idl | 132 + mailnews/news/public/nsIMsgOfflineNewsState.idl | 23 + mailnews/news/public/nsINNTPArticleList.idl | 17 + mailnews/news/public/nsINNTPNewsgroupList.idl | 93 + mailnews/news/public/nsINNTPNewsgroupPost.idl | 54 + mailnews/news/public/nsINNTPProtocol.idl | 31 + mailnews/news/public/nsINewsDownloadDialogArgs.idl | 19 + mailnews/news/public/nsINntpIncomingServer.idl | 152 + mailnews/news/public/nsINntpService.idl | 50 + mailnews/news/public/nsINntpUrl.idl | 99 + mailnews/news/public/nsMsgNewsCID.h | 117 + mailnews/news/src/moz.build | 27 + mailnews/news/src/nntpCore.h | 163 + mailnews/news/src/nsNNTPArticleList.cpp | 104 + mailnews/news/src/nsNNTPArticleList.h | 40 + mailnews/news/src/nsNNTPNewsgroupList.cpp | 1332 +++ mailnews/news/src/nsNNTPNewsgroupList.h | 124 + mailnews/news/src/nsNNTPNewsgroupPost.cpp | 94 + mailnews/news/src/nsNNTPNewsgroupPost.h | 61 + mailnews/news/src/nsNNTPProtocol.cpp | 4777 +++++++++ mailnews/news/src/nsNNTPProtocol.h | 510 + mailnews/news/src/nsNewsAutoCompleteSearch.js | 141 + .../news/src/nsNewsAutoCompleteSearch.manifest | 2 + mailnews/news/src/nsNewsDownloadDialogArgs.cpp | 91 + mailnews/news/src/nsNewsDownloadDialogArgs.h | 30 + mailnews/news/src/nsNewsDownloader.cpp | 586 ++ mailnews/news/src/nsNewsDownloader.h | 126 + mailnews/news/src/nsNewsFolder.cpp | 1897 ++++ mailnews/news/src/nsNewsFolder.h | 147 + mailnews/news/src/nsNewsUtils.cpp | 62 + mailnews/news/src/nsNewsUtils.h | 33 + mailnews/news/src/nsNntpIncomingServer.cpp | 2162 ++++ mailnews/news/src/nsNntpIncomingServer.h | 142 + mailnews/news/src/nsNntpMockChannel.cpp | 353 + mailnews/news/src/nsNntpMockChannel.h | 65 + mailnews/news/src/nsNntpService.cpp | 1751 ++++ mailnews/news/src/nsNntpService.h | 76 + mailnews/news/src/nsNntpUrl.cpp | 578 ++ mailnews/news/src/nsNntpUrl.h | 64 + 1309 files changed, 416997 insertions(+) create mode 100644 mailnews/addrbook/content/abAddressBookNameDialog.js create mode 100644 mailnews/addrbook/content/abAddressBookNameDialog.xul create mode 100644 mailnews/addrbook/content/abDragDrop.js create mode 100644 mailnews/addrbook/content/abEditCardDialog.xul create mode 100644 mailnews/addrbook/content/abMailListDialog.js create mode 100644 mailnews/addrbook/content/abNewCardDialog.xul create mode 100644 mailnews/addrbook/content/abResultsPane.js create mode 100644 mailnews/addrbook/content/abResultsPaneOverlay.xul create mode 100644 mailnews/addrbook/content/addrbookWidgets.xml create mode 100644 mailnews/addrbook/content/print.css create mode 100644 mailnews/addrbook/moz.build create mode 100644 mailnews/addrbook/prefs/content/pref-directory-add.js create mode 100644 mailnews/addrbook/prefs/content/pref-directory-add.xul create mode 100644 mailnews/addrbook/prefs/content/pref-editdirectories.js create mode 100644 mailnews/addrbook/prefs/content/pref-editdirectories.xul create mode 100644 mailnews/addrbook/public/moz.build create mode 100644 mailnews/addrbook/public/nsAbBaseCID.h create mode 100644 mailnews/addrbook/public/nsIAbAddressCollector.idl create mode 100644 mailnews/addrbook/public/nsIAbAutoCompleteResult.idl create mode 100644 mailnews/addrbook/public/nsIAbBooleanExpression.idl create mode 100644 mailnews/addrbook/public/nsIAbCard.idl create mode 100644 mailnews/addrbook/public/nsIAbCollection.idl create mode 100644 mailnews/addrbook/public/nsIAbDirFactory.idl create mode 100644 mailnews/addrbook/public/nsIAbDirFactoryService.idl create mode 100644 mailnews/addrbook/public/nsIAbDirSearchListener.idl create mode 100644 mailnews/addrbook/public/nsIAbDirectory.idl create mode 100644 mailnews/addrbook/public/nsIAbDirectoryQuery.idl create mode 100644 mailnews/addrbook/public/nsIAbDirectoryQueryProxy.idl create mode 100644 mailnews/addrbook/public/nsIAbDirectorySearch.idl create mode 100644 mailnews/addrbook/public/nsIAbItem.idl create mode 100644 mailnews/addrbook/public/nsIAbLDAPAttributeMap.idl create mode 100644 mailnews/addrbook/public/nsIAbLDAPCard.idl create mode 100644 mailnews/addrbook/public/nsIAbLDAPDirectory.idl create mode 100644 mailnews/addrbook/public/nsIAbLDAPReplicationData.idl create mode 100644 mailnews/addrbook/public/nsIAbLDAPReplicationQuery.idl create mode 100644 mailnews/addrbook/public/nsIAbLDAPReplicationService.idl create mode 100644 mailnews/addrbook/public/nsIAbLDIFService.idl create mode 100644 mailnews/addrbook/public/nsIAbListener.idl create mode 100644 mailnews/addrbook/public/nsIAbMDBDirectory.idl create mode 100644 mailnews/addrbook/public/nsIAbManager.idl create mode 100644 mailnews/addrbook/public/nsIAbView.idl create mode 100644 mailnews/addrbook/public/nsIAddbookUrl.idl create mode 100644 mailnews/addrbook/public/nsIAddrDBAnnouncer.idl create mode 100644 mailnews/addrbook/public/nsIAddrDBListener.idl create mode 100644 mailnews/addrbook/public/nsIAddrDatabase.idl create mode 100644 mailnews/addrbook/public/nsIMsgVCardService.idl create mode 100644 mailnews/addrbook/src/moz.build create mode 100644 mailnews/addrbook/src/nsAbAddressCollector.cpp create mode 100644 mailnews/addrbook/src/nsAbAddressCollector.h create mode 100644 mailnews/addrbook/src/nsAbAutoCompleteMyDomain.js create mode 100644 mailnews/addrbook/src/nsAbAutoCompleteSearch.js create mode 100644 mailnews/addrbook/src/nsAbBSDirectory.cpp create mode 100644 mailnews/addrbook/src/nsAbBSDirectory.h create mode 100644 mailnews/addrbook/src/nsAbBoolExprToLDAPFilter.cpp create mode 100644 mailnews/addrbook/src/nsAbBoolExprToLDAPFilter.h create mode 100644 mailnews/addrbook/src/nsAbBooleanExpression.cpp create mode 100644 mailnews/addrbook/src/nsAbBooleanExpression.h create mode 100644 mailnews/addrbook/src/nsAbCardProperty.cpp create mode 100644 mailnews/addrbook/src/nsAbCardProperty.h create mode 100644 mailnews/addrbook/src/nsAbContentHandler.cpp create mode 100644 mailnews/addrbook/src/nsAbContentHandler.h create mode 100644 mailnews/addrbook/src/nsAbDirFactoryService.cpp create mode 100644 mailnews/addrbook/src/nsAbDirFactoryService.h create mode 100644 mailnews/addrbook/src/nsAbDirProperty.cpp create mode 100644 mailnews/addrbook/src/nsAbDirProperty.h create mode 100644 mailnews/addrbook/src/nsAbDirectoryQuery.cpp create mode 100644 mailnews/addrbook/src/nsAbDirectoryQuery.h create mode 100644 mailnews/addrbook/src/nsAbDirectoryQueryProxy.cpp create mode 100644 mailnews/addrbook/src/nsAbDirectoryQueryProxy.h create mode 100644 mailnews/addrbook/src/nsAbLDAPAttributeMap.js create mode 100644 mailnews/addrbook/src/nsAbLDAPAutoCompleteSearch.js create mode 100644 mailnews/addrbook/src/nsAbLDAPCard.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPCard.h create mode 100644 mailnews/addrbook/src/nsAbLDAPChangeLogData.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPChangeLogData.h create mode 100644 mailnews/addrbook/src/nsAbLDAPChangeLogQuery.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPChangeLogQuery.h create mode 100644 mailnews/addrbook/src/nsAbLDAPDirFactory.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPDirFactory.h create mode 100644 mailnews/addrbook/src/nsAbLDAPDirectory.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPDirectory.h create mode 100644 mailnews/addrbook/src/nsAbLDAPDirectoryModify.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPDirectoryModify.h create mode 100644 mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPDirectoryQuery.h create mode 100644 mailnews/addrbook/src/nsAbLDAPListenerBase.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPListenerBase.h create mode 100644 mailnews/addrbook/src/nsAbLDAPReplicationData.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPReplicationData.h create mode 100644 mailnews/addrbook/src/nsAbLDAPReplicationQuery.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPReplicationQuery.h create mode 100644 mailnews/addrbook/src/nsAbLDAPReplicationService.cpp create mode 100644 mailnews/addrbook/src/nsAbLDAPReplicationService.h create mode 100644 mailnews/addrbook/src/nsAbLDIFService.cpp create mode 100644 mailnews/addrbook/src/nsAbLDIFService.h create mode 100644 mailnews/addrbook/src/nsAbMDBCard.cpp create mode 100644 mailnews/addrbook/src/nsAbMDBCard.h create mode 100644 mailnews/addrbook/src/nsAbMDBDirFactory.cpp create mode 100644 mailnews/addrbook/src/nsAbMDBDirFactory.h create mode 100644 mailnews/addrbook/src/nsAbMDBDirProperty.cpp create mode 100644 mailnews/addrbook/src/nsAbMDBDirProperty.h create mode 100644 mailnews/addrbook/src/nsAbMDBDirectory.cpp create mode 100644 mailnews/addrbook/src/nsAbMDBDirectory.h create mode 100644 mailnews/addrbook/src/nsAbManager.cpp create mode 100644 mailnews/addrbook/src/nsAbManager.h create mode 100644 mailnews/addrbook/src/nsAbOSXCard.h create mode 100644 mailnews/addrbook/src/nsAbOSXCard.mm create mode 100644 mailnews/addrbook/src/nsAbOSXDirFactory.cpp create mode 100644 mailnews/addrbook/src/nsAbOSXDirFactory.h create mode 100644 mailnews/addrbook/src/nsAbOSXDirectory.h create mode 100644 mailnews/addrbook/src/nsAbOSXDirectory.mm create mode 100644 mailnews/addrbook/src/nsAbOSXUtils.h create mode 100644 mailnews/addrbook/src/nsAbOSXUtils.mm create mode 100644 mailnews/addrbook/src/nsAbOutlookDirFactory.cpp create mode 100644 mailnews/addrbook/src/nsAbOutlookDirFactory.h create mode 100644 mailnews/addrbook/src/nsAbOutlookDirectory.cpp create mode 100644 mailnews/addrbook/src/nsAbOutlookDirectory.h create mode 100644 mailnews/addrbook/src/nsAbQueryStringToExpression.cpp create mode 100644 mailnews/addrbook/src/nsAbQueryStringToExpression.h create mode 100644 mailnews/addrbook/src/nsAbUtils.h create mode 100644 mailnews/addrbook/src/nsAbView.cpp create mode 100644 mailnews/addrbook/src/nsAbView.h create mode 100644 mailnews/addrbook/src/nsAbWinHelper.cpp create mode 100644 mailnews/addrbook/src/nsAbWinHelper.h create mode 100644 mailnews/addrbook/src/nsAddbookProtocolHandler.cpp create mode 100644 mailnews/addrbook/src/nsAddbookProtocolHandler.h create mode 100644 mailnews/addrbook/src/nsAddbookUrl.cpp create mode 100644 mailnews/addrbook/src/nsAddbookUrl.h create mode 100644 mailnews/addrbook/src/nsAddrDatabase.cpp create mode 100644 mailnews/addrbook/src/nsAddrDatabase.h create mode 100644 mailnews/addrbook/src/nsAddrbook.manifest create mode 100644 mailnews/addrbook/src/nsDirPrefs.cpp create mode 100644 mailnews/addrbook/src/nsDirPrefs.h create mode 100644 mailnews/addrbook/src/nsMapiAddressBook.cpp create mode 100644 mailnews/addrbook/src/nsMapiAddressBook.h create mode 100644 mailnews/addrbook/src/nsMsgVCardService.cpp create mode 100644 mailnews/addrbook/src/nsMsgVCardService.h create mode 100644 mailnews/addrbook/src/nsVCard.cpp create mode 100644 mailnews/addrbook/src/nsVCard.h create mode 100644 mailnews/addrbook/src/nsVCardObj.cpp create mode 100644 mailnews/addrbook/src/nsVCardObj.h create mode 100644 mailnews/addrbook/src/nsWabAddressBook.cpp create mode 100644 mailnews/addrbook/src/nsWabAddressBook.h create mode 100644 mailnews/base/content/charsetList.css create mode 100644 mailnews/base/content/charsetList.xml create mode 100644 mailnews/base/content/dateFormat.js create mode 100644 mailnews/base/content/folderProps.js create mode 100644 mailnews/base/content/folderProps.xul create mode 100644 mailnews/base/content/folderWidgets.xml create mode 100644 mailnews/base/content/jsTreeView.js create mode 100644 mailnews/base/content/junkCommands.js create mode 100644 mailnews/base/content/junkLog.js create mode 100644 mailnews/base/content/junkLog.xul create mode 100644 mailnews/base/content/junkMailInfo.xul create mode 100644 mailnews/base/content/markByDate.js create mode 100644 mailnews/base/content/markByDate.xul create mode 100644 mailnews/base/content/msgAccountCentral.js create mode 100644 mailnews/base/content/msgAccountCentral.xul create mode 100644 mailnews/base/content/msgFolderPickerOverlay.js create mode 100644 mailnews/base/content/msgPrintEngine.js create mode 100644 mailnews/base/content/msgSynchronize.js create mode 100644 mailnews/base/content/msgSynchronize.xul create mode 100644 mailnews/base/content/newFolderDialog.js create mode 100644 mailnews/base/content/newFolderDialog.xul create mode 100644 mailnews/base/content/newmailalert.css create mode 100644 mailnews/base/content/newmailalert.js create mode 100644 mailnews/base/content/newmailalert.xul create mode 100644 mailnews/base/content/renameFolderDialog.js create mode 100644 mailnews/base/content/renameFolderDialog.xul create mode 100644 mailnews/base/content/retention.js create mode 100644 mailnews/base/content/shareglue.js create mode 100644 mailnews/base/content/shutdownWindow.js create mode 100644 mailnews/base/content/shutdownWindow.xul create mode 100644 mailnews/base/content/virtualFolderListDialog.js create mode 100644 mailnews/base/content/virtualFolderListDialog.xul create mode 100644 mailnews/base/content/virtualFolderProperties.js create mode 100644 mailnews/base/content/virtualFolderProperties.xul create mode 100644 mailnews/base/ispdata/README create mode 100644 mailnews/base/ispdata/aol.rdf create mode 100644 mailnews/base/ispdata/gmail.rdf create mode 100644 mailnews/base/ispdata/movemail.rdf create mode 100644 mailnews/base/ispdata/moz.build create mode 100644 mailnews/base/moz.build create mode 100644 mailnews/base/prefs/content/AccountManager.js create mode 100644 mailnews/base/prefs/content/AccountManager.xul create mode 100644 mailnews/base/prefs/content/AccountWizard.js create mode 100644 mailnews/base/prefs/content/AccountWizard.xul create mode 100644 mailnews/base/prefs/content/SmtpServerEdit.js create mode 100644 mailnews/base/prefs/content/SmtpServerEdit.xul create mode 100644 mailnews/base/prefs/content/accountUtils.js create mode 100644 mailnews/base/prefs/content/accountcreation/MyBadCertHandler.js create mode 100644 mailnews/base/prefs/content/accountcreation/accountConfig.js create mode 100644 mailnews/base/prefs/content/accountcreation/createInBackend.js create mode 100644 mailnews/base/prefs/content/accountcreation/emailWizard.js create mode 100644 mailnews/base/prefs/content/accountcreation/emailWizard.xul create mode 100644 mailnews/base/prefs/content/accountcreation/fetchConfig.js create mode 100644 mailnews/base/prefs/content/accountcreation/fetchhttp.js create mode 100644 mailnews/base/prefs/content/accountcreation/guessConfig.js create mode 100644 mailnews/base/prefs/content/accountcreation/readFromXML.js create mode 100644 mailnews/base/prefs/content/accountcreation/sanitizeDatatypes.js create mode 100644 mailnews/base/prefs/content/accountcreation/util.js create mode 100644 mailnews/base/prefs/content/accountcreation/verifyConfig.js create mode 100644 mailnews/base/prefs/content/am-addressing.js create mode 100644 mailnews/base/prefs/content/am-addressing.xul create mode 100644 mailnews/base/prefs/content/am-addressingOverlay.xul create mode 100644 mailnews/base/prefs/content/am-archiveoptions.js create mode 100644 mailnews/base/prefs/content/am-archiveoptions.xul create mode 100644 mailnews/base/prefs/content/am-copies.js create mode 100644 mailnews/base/prefs/content/am-copies.xul create mode 100644 mailnews/base/prefs/content/am-copiesOverlay.xul create mode 100644 mailnews/base/prefs/content/am-help.js create mode 100644 mailnews/base/prefs/content/am-identities-list.js create mode 100644 mailnews/base/prefs/content/am-identities-list.xul create mode 100644 mailnews/base/prefs/content/am-identity-edit.js create mode 100644 mailnews/base/prefs/content/am-identity-edit.xul create mode 100644 mailnews/base/prefs/content/am-junk.js create mode 100644 mailnews/base/prefs/content/am-junk.xul create mode 100644 mailnews/base/prefs/content/am-main.js create mode 100644 mailnews/base/prefs/content/am-main.xul create mode 100644 mailnews/base/prefs/content/am-offline.js create mode 100644 mailnews/base/prefs/content/am-offline.xul create mode 100644 mailnews/base/prefs/content/am-prefs.js create mode 100644 mailnews/base/prefs/content/am-server-advanced.js create mode 100644 mailnews/base/prefs/content/am-server-advanced.xul create mode 100644 mailnews/base/prefs/content/am-server-top.xul create mode 100644 mailnews/base/prefs/content/am-server.js create mode 100644 mailnews/base/prefs/content/am-server.xul create mode 100644 mailnews/base/prefs/content/am-serverwithnoidentities.js create mode 100644 mailnews/base/prefs/content/am-serverwithnoidentities.xul create mode 100644 mailnews/base/prefs/content/am-smtp.js create mode 100644 mailnews/base/prefs/content/am-smtp.xul create mode 100644 mailnews/base/prefs/content/amUtils.js create mode 100644 mailnews/base/prefs/content/aw-accname.js create mode 100644 mailnews/base/prefs/content/aw-accounttype.js create mode 100644 mailnews/base/prefs/content/aw-done.js create mode 100644 mailnews/base/prefs/content/aw-identity.js create mode 100644 mailnews/base/prefs/content/aw-incoming.js create mode 100644 mailnews/base/prefs/content/aw-outgoing.js create mode 100644 mailnews/base/prefs/content/ispUtils.js create mode 100644 mailnews/base/prefs/content/removeAccount.js create mode 100644 mailnews/base/prefs/content/removeAccount.xul create mode 100644 mailnews/base/prefs/content/smtpEditOverlay.js create mode 100644 mailnews/base/prefs/content/smtpEditOverlay.xul create mode 100644 mailnews/base/public/MailNewsTypes.h create mode 100644 mailnews/base/public/MailNewsTypes2.idl create mode 100644 mailnews/base/public/moz.build create mode 100644 mailnews/base/public/mozINewMailListener.idl create mode 100644 mailnews/base/public/mozINewMailNotificationService.idl create mode 100644 mailnews/base/public/msgCore.h create mode 100644 mailnews/base/public/msgIOAuth2Module.idl create mode 100644 mailnews/base/public/nsICopyMessageListener.idl create mode 100644 mailnews/base/public/nsICopyMsgStreamListener.idl create mode 100644 mailnews/base/public/nsIFolderListener.idl create mode 100644 mailnews/base/public/nsIFolderLookupService.idl create mode 100644 mailnews/base/public/nsIIncomingServerListener.idl create mode 100644 mailnews/base/public/nsIMapiRegistry.idl create mode 100644 mailnews/base/public/nsIMessenger.idl create mode 100644 mailnews/base/public/nsIMessengerMigrator.idl create mode 100644 mailnews/base/public/nsIMessengerOSIntegration.idl create mode 100644 mailnews/base/public/nsIMessengerWindowService.idl create mode 100644 mailnews/base/public/nsIMsgAccount.idl create mode 100644 mailnews/base/public/nsIMsgAccountManager.idl create mode 100644 mailnews/base/public/nsIMsgAsyncPrompter.idl create mode 100644 mailnews/base/public/nsIMsgBiffManager.idl create mode 100644 mailnews/base/public/nsIMsgContentPolicy.idl create mode 100644 mailnews/base/public/nsIMsgCopyService.idl create mode 100644 mailnews/base/public/nsIMsgCopyServiceListener.idl create mode 100644 mailnews/base/public/nsIMsgCustomColumnHandler.idl create mode 100644 mailnews/base/public/nsIMsgDBView.idl create mode 100644 mailnews/base/public/nsIMsgFolder.idl create mode 100644 mailnews/base/public/nsIMsgFolderCache.idl create mode 100644 mailnews/base/public/nsIMsgFolderCacheElement.idl create mode 100644 mailnews/base/public/nsIMsgFolderCompactor.idl create mode 100644 mailnews/base/public/nsIMsgFolderListener.idl create mode 100644 mailnews/base/public/nsIMsgFolderNotificationService.idl create mode 100644 mailnews/base/public/nsIMsgHdr.idl create mode 100644 mailnews/base/public/nsIMsgIdentity.idl create mode 100644 mailnews/base/public/nsIMsgIncomingServer.idl create mode 100644 mailnews/base/public/nsIMsgKeyArray.idl create mode 100644 mailnews/base/public/nsIMsgMailNewsUrl.idl create mode 100644 mailnews/base/public/nsIMsgMailSession.idl create mode 100644 mailnews/base/public/nsIMsgMdnGenerator.idl create mode 100644 mailnews/base/public/nsIMsgMessageService.idl create mode 100644 mailnews/base/public/nsIMsgOfflineManager.idl create mode 100644 mailnews/base/public/nsIMsgPluggableStore.idl create mode 100644 mailnews/base/public/nsIMsgPrintEngine.idl create mode 100644 mailnews/base/public/nsIMsgProgress.idl create mode 100644 mailnews/base/public/nsIMsgProtocolInfo.idl create mode 100644 mailnews/base/public/nsIMsgPurgeService.idl create mode 100644 mailnews/base/public/nsIMsgRDFDataSource.idl create mode 100644 mailnews/base/public/nsIMsgShutdown.idl create mode 100644 mailnews/base/public/nsIMsgStatusFeedback.idl create mode 100644 mailnews/base/public/nsIMsgTagService.idl create mode 100644 mailnews/base/public/nsIMsgThread.idl create mode 100644 mailnews/base/public/nsIMsgUserFeedbackListener.idl create mode 100644 mailnews/base/public/nsIMsgWindow.idl create mode 100644 mailnews/base/public/nsIMsgWindowData.idl create mode 100644 mailnews/base/public/nsISpamSettings.idl create mode 100644 mailnews/base/public/nsIStatusBarBiffManager.idl create mode 100644 mailnews/base/public/nsIStopwatch.idl create mode 100644 mailnews/base/public/nsISubscribableServer.idl create mode 100644 mailnews/base/public/nsIUrlListener.idl create mode 100644 mailnews/base/public/nsMsgBaseCID.h create mode 100644 mailnews/base/public/nsMsgFolderFlags.idl create mode 100644 mailnews/base/public/nsMsgGroupnameFlags.h create mode 100644 mailnews/base/public/nsMsgHeaderMasks.h create mode 100644 mailnews/base/public/nsMsgLocalFolderHdrs.h create mode 100644 mailnews/base/public/nsMsgMessageFlags.idl create mode 100644 mailnews/base/search/content/CustomHeaders.js create mode 100644 mailnews/base/search/content/CustomHeaders.xul create mode 100644 mailnews/base/search/content/FilterEditor.js create mode 100644 mailnews/base/search/content/FilterEditor.xul create mode 100644 mailnews/base/search/content/searchTermOverlay.js create mode 100644 mailnews/base/search/content/searchTermOverlay.xul create mode 100644 mailnews/base/search/content/searchWidgets.xml create mode 100644 mailnews/base/search/content/viewLog.js create mode 100644 mailnews/base/search/content/viewLog.xul create mode 100644 mailnews/base/search/public/moz.build create mode 100644 mailnews/base/search/public/nsIMsgFilter.idl create mode 100644 mailnews/base/search/public/nsIMsgFilterCustomAction.idl create mode 100644 mailnews/base/search/public/nsIMsgFilterHitNotify.idl create mode 100644 mailnews/base/search/public/nsIMsgFilterList.idl create mode 100644 mailnews/base/search/public/nsIMsgFilterPlugin.idl create mode 100644 mailnews/base/search/public/nsIMsgFilterService.idl create mode 100644 mailnews/base/search/public/nsIMsgOperationListener.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchAdapter.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchCustomTerm.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchNotify.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchScopeTerm.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchSession.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchTerm.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchValidityManager.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchValidityTable.idl create mode 100644 mailnews/base/search/public/nsIMsgSearchValue.idl create mode 100644 mailnews/base/search/public/nsIMsgTraitService.idl create mode 100644 mailnews/base/search/public/nsMsgBodyHandler.h create mode 100644 mailnews/base/search/public/nsMsgFilterCore.idl create mode 100644 mailnews/base/search/public/nsMsgResultElement.h create mode 100644 mailnews/base/search/public/nsMsgSearchAdapter.h create mode 100644 mailnews/base/search/public/nsMsgSearchBoolExpression.h create mode 100644 mailnews/base/search/public/nsMsgSearchCore.idl create mode 100644 mailnews/base/search/public/nsMsgSearchScopeTerm.h create mode 100644 mailnews/base/search/public/nsMsgSearchTerm.h create mode 100644 mailnews/base/search/src/Bogofilter.sfd create mode 100644 mailnews/base/search/src/DSPAM.sfd create mode 100644 mailnews/base/search/src/Habeas.sfd create mode 100644 mailnews/base/search/src/POPFile.sfd create mode 100644 mailnews/base/search/src/SpamAssassin.sfd create mode 100644 mailnews/base/search/src/SpamCatcher.sfd create mode 100644 mailnews/base/search/src/SpamPal.sfd create mode 100644 mailnews/base/search/src/moz.build create mode 100644 mailnews/base/search/src/nsMsgBodyHandler.cpp create mode 100644 mailnews/base/search/src/nsMsgFilter.cpp create mode 100644 mailnews/base/search/src/nsMsgFilter.h create mode 100644 mailnews/base/search/src/nsMsgFilterList.cpp create mode 100644 mailnews/base/search/src/nsMsgFilterList.h create mode 100644 mailnews/base/search/src/nsMsgFilterService.cpp create mode 100644 mailnews/base/search/src/nsMsgFilterService.h create mode 100644 mailnews/base/search/src/nsMsgImapSearch.cpp create mode 100644 mailnews/base/search/src/nsMsgLocalSearch.cpp create mode 100644 mailnews/base/search/src/nsMsgLocalSearch.h create mode 100644 mailnews/base/search/src/nsMsgSearchAdapter.cpp create mode 100644 mailnews/base/search/src/nsMsgSearchImap.h create mode 100644 mailnews/base/search/src/nsMsgSearchNews.cpp create mode 100644 mailnews/base/search/src/nsMsgSearchNews.h create mode 100644 mailnews/base/search/src/nsMsgSearchSession.cpp create mode 100644 mailnews/base/search/src/nsMsgSearchSession.h create mode 100644 mailnews/base/search/src/nsMsgSearchTerm.cpp create mode 100644 mailnews/base/search/src/nsMsgSearchValue.cpp create mode 100644 mailnews/base/search/src/nsMsgSearchValue.h create mode 100644 mailnews/base/search/src/nsMsgTraitService.js create mode 100644 mailnews/base/search/src/nsMsgTraitService.manifest create mode 100644 mailnews/base/src/MailNewsDLF.cpp create mode 100644 mailnews/base/src/MailNewsDLF.h create mode 100644 mailnews/base/src/MailnewsLoadContextInfo.cpp create mode 100644 mailnews/base/src/MailnewsLoadContextInfo.h create mode 100644 mailnews/base/src/folderLookupService.js create mode 100644 mailnews/base/src/moz.build create mode 100644 mailnews/base/src/msgAsyncPrompter.js create mode 100644 mailnews/base/src/msgBase.manifest create mode 100644 mailnews/base/src/msgOAuth2Module.js create mode 100644 mailnews/base/src/newMailNotificationService.js create mode 100644 mailnews/base/src/nsCidProtocolHandler.cpp create mode 100644 mailnews/base/src/nsCidProtocolHandler.h create mode 100644 mailnews/base/src/nsCopyMessageStreamListener.cpp create mode 100644 mailnews/base/src/nsCopyMessageStreamListener.h create mode 100644 mailnews/base/src/nsMailDirProvider.cpp create mode 100644 mailnews/base/src/nsMailDirProvider.h create mode 100644 mailnews/base/src/nsMailDirServiceDefs.h create mode 100644 mailnews/base/src/nsMailNewsCommandLineHandler.js create mode 100644 mailnews/base/src/nsMessenger.cpp create mode 100644 mailnews/base/src/nsMessenger.h create mode 100644 mailnews/base/src/nsMessengerBootstrap.cpp create mode 100644 mailnews/base/src/nsMessengerBootstrap.h create mode 100644 mailnews/base/src/nsMessengerContentHandler.cpp create mode 100644 mailnews/base/src/nsMessengerContentHandler.h create mode 100644 mailnews/base/src/nsMessengerOSXIntegration.h create mode 100644 mailnews/base/src/nsMessengerOSXIntegration.mm create mode 100644 mailnews/base/src/nsMessengerUnixIntegration.cpp create mode 100644 mailnews/base/src/nsMessengerUnixIntegration.h create mode 100644 mailnews/base/src/nsMessengerWinIntegration.cpp create mode 100644 mailnews/base/src/nsMessengerWinIntegration.h create mode 100644 mailnews/base/src/nsMsgAccount.cpp create mode 100644 mailnews/base/src/nsMsgAccount.h create mode 100644 mailnews/base/src/nsMsgAccountManager.cpp create mode 100644 mailnews/base/src/nsMsgAccountManager.h create mode 100644 mailnews/base/src/nsMsgAccountManagerDS.cpp create mode 100644 mailnews/base/src/nsMsgAccountManagerDS.h create mode 100644 mailnews/base/src/nsMsgBiffManager.cpp create mode 100644 mailnews/base/src/nsMsgBiffManager.h create mode 100644 mailnews/base/src/nsMsgContentPolicy.cpp create mode 100644 mailnews/base/src/nsMsgContentPolicy.h create mode 100644 mailnews/base/src/nsMsgCopyService.cpp create mode 100644 mailnews/base/src/nsMsgCopyService.h create mode 100644 mailnews/base/src/nsMsgDBView.cpp create mode 100644 mailnews/base/src/nsMsgDBView.h create mode 100644 mailnews/base/src/nsMsgFolderCache.cpp create mode 100644 mailnews/base/src/nsMsgFolderCache.h create mode 100644 mailnews/base/src/nsMsgFolderCacheElement.cpp create mode 100644 mailnews/base/src/nsMsgFolderCacheElement.h create mode 100644 mailnews/base/src/nsMsgFolderCompactor.cpp create mode 100644 mailnews/base/src/nsMsgFolderCompactor.h create mode 100644 mailnews/base/src/nsMsgFolderDataSource.cpp create mode 100644 mailnews/base/src/nsMsgFolderDataSource.h create mode 100644 mailnews/base/src/nsMsgFolderNotificationService.cpp create mode 100644 mailnews/base/src/nsMsgFolderNotificationService.h create mode 100644 mailnews/base/src/nsMsgGroupThread.cpp create mode 100644 mailnews/base/src/nsMsgGroupThread.h create mode 100644 mailnews/base/src/nsMsgGroupView.cpp create mode 100644 mailnews/base/src/nsMsgGroupView.h create mode 100644 mailnews/base/src/nsMsgMailSession.cpp create mode 100644 mailnews/base/src/nsMsgMailSession.h create mode 100644 mailnews/base/src/nsMsgOfflineManager.cpp create mode 100644 mailnews/base/src/nsMsgOfflineManager.h create mode 100644 mailnews/base/src/nsMsgPrintEngine.cpp create mode 100644 mailnews/base/src/nsMsgPrintEngine.h create mode 100644 mailnews/base/src/nsMsgProgress.cpp create mode 100644 mailnews/base/src/nsMsgProgress.h create mode 100644 mailnews/base/src/nsMsgPurgeService.cpp create mode 100644 mailnews/base/src/nsMsgPurgeService.h create mode 100644 mailnews/base/src/nsMsgQuickSearchDBView.cpp create mode 100644 mailnews/base/src/nsMsgQuickSearchDBView.h create mode 100644 mailnews/base/src/nsMsgRDFDataSource.cpp create mode 100644 mailnews/base/src/nsMsgRDFDataSource.h create mode 100644 mailnews/base/src/nsMsgRDFUtils.cpp create mode 100644 mailnews/base/src/nsMsgRDFUtils.h create mode 100644 mailnews/base/src/nsMsgSearchDBView.cpp create mode 100644 mailnews/base/src/nsMsgSearchDBView.h create mode 100644 mailnews/base/src/nsMsgServiceProvider.cpp create mode 100644 mailnews/base/src/nsMsgServiceProvider.h create mode 100644 mailnews/base/src/nsMsgSpecialViews.cpp create mode 100644 mailnews/base/src/nsMsgSpecialViews.h create mode 100644 mailnews/base/src/nsMsgStatusFeedback.cpp create mode 100644 mailnews/base/src/nsMsgStatusFeedback.h create mode 100644 mailnews/base/src/nsMsgTagService.cpp create mode 100644 mailnews/base/src/nsMsgTagService.h create mode 100644 mailnews/base/src/nsMsgThreadedDBView.cpp create mode 100644 mailnews/base/src/nsMsgThreadedDBView.h create mode 100644 mailnews/base/src/nsMsgWindow.cpp create mode 100644 mailnews/base/src/nsMsgWindow.h create mode 100644 mailnews/base/src/nsMsgXFViewThread.cpp create mode 100644 mailnews/base/src/nsMsgXFViewThread.h create mode 100644 mailnews/base/src/nsMsgXFVirtualFolderDBView.cpp create mode 100644 mailnews/base/src/nsMsgXFVirtualFolderDBView.h create mode 100644 mailnews/base/src/nsSpamSettings.cpp create mode 100644 mailnews/base/src/nsSpamSettings.h create mode 100644 mailnews/base/src/nsStatusBarBiffManager.cpp create mode 100644 mailnews/base/src/nsStatusBarBiffManager.h create mode 100644 mailnews/base/src/nsSubscribableServer.cpp create mode 100644 mailnews/base/src/nsSubscribableServer.h create mode 100644 mailnews/base/src/nsSubscribeDataSource.cpp create mode 100644 mailnews/base/src/nsSubscribeDataSource.h create mode 100644 mailnews/base/src/virtualFolderWrapper.js create mode 100644 mailnews/base/util/ABQueryUtils.jsm create mode 100644 mailnews/base/util/IOUtils.js create mode 100644 mailnews/base/util/JXON.js create mode 100644 mailnews/base/util/OAuth2.jsm create mode 100644 mailnews/base/util/OAuth2Providers.jsm create mode 100644 mailnews/base/util/ServiceList.h create mode 100644 mailnews/base/util/Services.cpp create mode 100644 mailnews/base/util/Services.h create mode 100644 mailnews/base/util/StringBundle.js create mode 100644 mailnews/base/util/errUtils.js create mode 100644 mailnews/base/util/folderUtils.jsm create mode 100644 mailnews/base/util/hostnameUtils.jsm create mode 100644 mailnews/base/util/iteratorUtils.jsm create mode 100644 mailnews/base/util/jsTreeSelection.js create mode 100644 mailnews/base/util/mailServices.js create mode 100644 mailnews/base/util/mailnewsMigrator.js create mode 100644 mailnews/base/util/moz.build create mode 100644 mailnews/base/util/msgDBCacheManager.js create mode 100644 mailnews/base/util/nsImapMoveCoalescer.cpp create mode 100644 mailnews/base/util/nsImapMoveCoalescer.h create mode 100644 mailnews/base/util/nsMsgCompressIStream.cpp create mode 100644 mailnews/base/util/nsMsgCompressIStream.h create mode 100644 mailnews/base/util/nsMsgCompressOStream.cpp create mode 100644 mailnews/base/util/nsMsgCompressOStream.h create mode 100644 mailnews/base/util/nsMsgDBFolder.cpp create mode 100644 mailnews/base/util/nsMsgDBFolder.h create mode 100644 mailnews/base/util/nsMsgDBFolderAtomList.h create mode 100644 mailnews/base/util/nsMsgFileStream.cpp create mode 100644 mailnews/base/util/nsMsgFileStream.h create mode 100644 mailnews/base/util/nsMsgI18N.cpp create mode 100644 mailnews/base/util/nsMsgI18N.h create mode 100644 mailnews/base/util/nsMsgIdentity.cpp create mode 100644 mailnews/base/util/nsMsgIdentity.h create mode 100644 mailnews/base/util/nsMsgIncomingServer.cpp create mode 100644 mailnews/base/util/nsMsgIncomingServer.h create mode 100644 mailnews/base/util/nsMsgKeyArray.cpp create mode 100644 mailnews/base/util/nsMsgKeyArray.h create mode 100644 mailnews/base/util/nsMsgKeySet.cpp create mode 100644 mailnews/base/util/nsMsgKeySet.h create mode 100644 mailnews/base/util/nsMsgLineBuffer.cpp create mode 100644 mailnews/base/util/nsMsgLineBuffer.h create mode 100644 mailnews/base/util/nsMsgMailNewsUrl.cpp create mode 100644 mailnews/base/util/nsMsgMailNewsUrl.h create mode 100644 mailnews/base/util/nsMsgProtocol.cpp create mode 100644 mailnews/base/util/nsMsgProtocol.h create mode 100644 mailnews/base/util/nsMsgReadStateTxn.cpp create mode 100644 mailnews/base/util/nsMsgReadStateTxn.h create mode 100644 mailnews/base/util/nsMsgTxn.cpp create mode 100644 mailnews/base/util/nsMsgTxn.h create mode 100644 mailnews/base/util/nsMsgUtils.cpp create mode 100644 mailnews/base/util/nsMsgUtils.h create mode 100644 mailnews/base/util/nsStopwatch.cpp create mode 100644 mailnews/base/util/nsStopwatch.h create mode 100644 mailnews/base/util/templateUtils.js create mode 100644 mailnews/base/util/traceHelper.js create mode 100644 mailnews/build/moz.build create mode 100644 mailnews/build/newmail.ico create mode 100644 mailnews/build/nsMailModule.cpp create mode 100644 mailnews/compose/content/askSendFormat.js create mode 100644 mailnews/compose/content/askSendFormat.xul create mode 100644 mailnews/compose/content/mailComposeEditorOverlay.xul create mode 100644 mailnews/compose/content/menulistCompactBindings.xml create mode 100644 mailnews/compose/content/sendProgress.js create mode 100644 mailnews/compose/content/sendProgress.xul create mode 100644 mailnews/compose/moz.build create mode 100644 mailnews/compose/public/moz.build create mode 100644 mailnews/compose/public/nsIMsgAttachment.idl create mode 100644 mailnews/compose/public/nsIMsgAttachmentHandler.idl create mode 100644 mailnews/compose/public/nsIMsgCompFields.idl create mode 100644 mailnews/compose/public/nsIMsgCompUtils.idl create mode 100644 mailnews/compose/public/nsIMsgCompose.idl create mode 100644 mailnews/compose/public/nsIMsgComposeParams.idl create mode 100644 mailnews/compose/public/nsIMsgComposeProgressParams.idl create mode 100644 mailnews/compose/public/nsIMsgComposeSecure.idl create mode 100644 mailnews/compose/public/nsIMsgComposeService.idl create mode 100644 mailnews/compose/public/nsIMsgQuote.idl create mode 100644 mailnews/compose/public/nsIMsgQuotingOutputStreamListener.idl create mode 100644 mailnews/compose/public/nsIMsgSend.idl create mode 100644 mailnews/compose/public/nsIMsgSendLater.idl create mode 100644 mailnews/compose/public/nsIMsgSendLaterListener.idl create mode 100644 mailnews/compose/public/nsIMsgSendListener.idl create mode 100644 mailnews/compose/public/nsIMsgSendReport.idl create mode 100644 mailnews/compose/public/nsISmtpServer.idl create mode 100644 mailnews/compose/public/nsISmtpService.idl create mode 100644 mailnews/compose/public/nsISmtpUrl.idl create mode 100644 mailnews/compose/public/nsIURLFetcher.idl create mode 100644 mailnews/compose/public/nsMsgAttachmentData.h create mode 100644 mailnews/compose/public/nsMsgCompCID.h create mode 100644 mailnews/compose/src/moz.build create mode 100644 mailnews/compose/src/nsComposeStrings.cpp create mode 100644 mailnews/compose/src/nsComposeStrings.h create mode 100644 mailnews/compose/src/nsMsgAppleCodes.h create mode 100644 mailnews/compose/src/nsMsgAppleDouble.h create mode 100644 mailnews/compose/src/nsMsgAppleDoubleEncode.cpp create mode 100644 mailnews/compose/src/nsMsgAppleEncode.cpp create mode 100644 mailnews/compose/src/nsMsgAttachment.cpp create mode 100644 mailnews/compose/src/nsMsgAttachment.h create mode 100644 mailnews/compose/src/nsMsgAttachmentHandler.cpp create mode 100644 mailnews/compose/src/nsMsgAttachmentHandler.h create mode 100644 mailnews/compose/src/nsMsgCompFields.cpp create mode 100644 mailnews/compose/src/nsMsgCompFields.h create mode 100644 mailnews/compose/src/nsMsgCompUtils.cpp create mode 100644 mailnews/compose/src/nsMsgCompUtils.h create mode 100644 mailnews/compose/src/nsMsgCompose.cpp create mode 100644 mailnews/compose/src/nsMsgCompose.h create mode 100644 mailnews/compose/src/nsMsgComposeContentHandler.cpp create mode 100644 mailnews/compose/src/nsMsgComposeContentHandler.h create mode 100644 mailnews/compose/src/nsMsgComposeParams.cpp create mode 100644 mailnews/compose/src/nsMsgComposeParams.h create mode 100644 mailnews/compose/src/nsMsgComposeProgressParams.cpp create mode 100644 mailnews/compose/src/nsMsgComposeProgressParams.h create mode 100644 mailnews/compose/src/nsMsgComposeService.cpp create mode 100644 mailnews/compose/src/nsMsgComposeService.h create mode 100644 mailnews/compose/src/nsMsgCopy.cpp create mode 100644 mailnews/compose/src/nsMsgCopy.h create mode 100644 mailnews/compose/src/nsMsgPrompts.cpp create mode 100644 mailnews/compose/src/nsMsgPrompts.h create mode 100644 mailnews/compose/src/nsMsgQuote.cpp create mode 100644 mailnews/compose/src/nsMsgQuote.h create mode 100644 mailnews/compose/src/nsMsgSend.cpp create mode 100644 mailnews/compose/src/nsMsgSend.h create mode 100644 mailnews/compose/src/nsMsgSendLater.cpp create mode 100644 mailnews/compose/src/nsMsgSendLater.h create mode 100644 mailnews/compose/src/nsMsgSendPart.cpp create mode 100644 mailnews/compose/src/nsMsgSendPart.h create mode 100644 mailnews/compose/src/nsMsgSendReport.cpp create mode 100644 mailnews/compose/src/nsMsgSendReport.h create mode 100644 mailnews/compose/src/nsSMTPProtocolHandler.js create mode 100644 mailnews/compose/src/nsSMTPProtocolHandler.manifest create mode 100644 mailnews/compose/src/nsSmtpProtocol.cpp create mode 100644 mailnews/compose/src/nsSmtpProtocol.h create mode 100644 mailnews/compose/src/nsSmtpServer.cpp create mode 100644 mailnews/compose/src/nsSmtpServer.h create mode 100644 mailnews/compose/src/nsSmtpService.cpp create mode 100644 mailnews/compose/src/nsSmtpService.h create mode 100644 mailnews/compose/src/nsSmtpUrl.cpp create mode 100644 mailnews/compose/src/nsSmtpUrl.h create mode 100644 mailnews/compose/src/nsURLFetcher.cpp create mode 100644 mailnews/compose/src/nsURLFetcher.h create mode 100644 mailnews/db/gloda/components/glautocomp.js create mode 100644 mailnews/db/gloda/components/gloda.manifest create mode 100644 mailnews/db/gloda/components/jsmimeemitter.js create mode 100644 mailnews/db/gloda/components/moz.build create mode 100644 mailnews/db/gloda/content/glodacomplete.css create mode 100644 mailnews/db/gloda/content/glodacomplete.xml create mode 100644 mailnews/db/gloda/content/overlay.js create mode 100644 mailnews/db/gloda/content/thunderbirdOverlay.xul create mode 100644 mailnews/db/gloda/jar.mn create mode 100644 mailnews/db/gloda/modules/collection.js create mode 100644 mailnews/db/gloda/modules/connotent.js create mode 100644 mailnews/db/gloda/modules/databind.js create mode 100644 mailnews/db/gloda/modules/datamodel.js create mode 100644 mailnews/db/gloda/modules/datastore.js create mode 100644 mailnews/db/gloda/modules/dbview.js create mode 100644 mailnews/db/gloda/modules/everybody.js create mode 100644 mailnews/db/gloda/modules/explattr.js create mode 100644 mailnews/db/gloda/modules/facet.js create mode 100644 mailnews/db/gloda/modules/fundattr.js create mode 100644 mailnews/db/gloda/modules/gloda.js create mode 100644 mailnews/db/gloda/modules/index_ab.js create mode 100644 mailnews/db/gloda/modules/index_msg.js create mode 100644 mailnews/db/gloda/modules/indexer.js create mode 100644 mailnews/db/gloda/modules/log4moz.js create mode 100644 mailnews/db/gloda/modules/mimeTypeCategories.js create mode 100644 mailnews/db/gloda/modules/mimemsg.js create mode 100644 mailnews/db/gloda/modules/moz.build create mode 100644 mailnews/db/gloda/modules/msg_search.js create mode 100644 mailnews/db/gloda/modules/noun_freetag.js create mode 100644 mailnews/db/gloda/modules/noun_mimetype.js create mode 100644 mailnews/db/gloda/modules/noun_tag.js create mode 100644 mailnews/db/gloda/modules/public.js create mode 100644 mailnews/db/gloda/modules/query.js create mode 100644 mailnews/db/gloda/modules/suffixtree.js create mode 100644 mailnews/db/gloda/modules/utils.js create mode 100644 mailnews/db/gloda/moz.build create mode 100644 mailnews/db/moz.build create mode 100644 mailnews/db/msgdb/moz.build create mode 100644 mailnews/db/msgdb/public/moz.build create mode 100644 mailnews/db/msgdb/public/nsDBFolderInfo.h create mode 100644 mailnews/db/msgdb/public/nsIDBChangeAnnouncer.idl create mode 100644 mailnews/db/msgdb/public/nsIDBChangeListener.idl create mode 100644 mailnews/db/msgdb/public/nsIDBFolderInfo.idl create mode 100644 mailnews/db/msgdb/public/nsIMsgDatabase.idl create mode 100644 mailnews/db/msgdb/public/nsIMsgOfflineImapOperation.idl create mode 100644 mailnews/db/msgdb/public/nsINewsDatabase.idl create mode 100644 mailnews/db/msgdb/public/nsImapMailDatabase.h create mode 100644 mailnews/db/msgdb/public/nsMailDatabase.h create mode 100644 mailnews/db/msgdb/public/nsMsgDBCID.h create mode 100644 mailnews/db/msgdb/public/nsMsgDatabase.h create mode 100644 mailnews/db/msgdb/public/nsMsgHdr.h create mode 100644 mailnews/db/msgdb/public/nsMsgThread.h create mode 100644 mailnews/db/msgdb/public/nsNewsDatabase.h create mode 100644 mailnews/db/msgdb/src/moz.build create mode 100644 mailnews/db/msgdb/src/nsDBFolderInfo.cpp create mode 100644 mailnews/db/msgdb/src/nsImapMailDatabase.cpp create mode 100644 mailnews/db/msgdb/src/nsMailDatabase.cpp create mode 100644 mailnews/db/msgdb/src/nsMsgDatabase.cpp create mode 100644 mailnews/db/msgdb/src/nsMsgHdr.cpp create mode 100644 mailnews/db/msgdb/src/nsMsgOfflineImapOperation.cpp create mode 100644 mailnews/db/msgdb/src/nsMsgOfflineImapOperation.h create mode 100644 mailnews/db/msgdb/src/nsMsgThread.cpp create mode 100644 mailnews/db/msgdb/src/nsNewsDatabase.cpp create mode 100644 mailnews/extensions/bayesian-spam-filter/moz.build create mode 100644 mailnews/extensions/bayesian-spam-filter/src/moz.build create mode 100644 mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp create mode 100644 mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h create mode 100644 mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilterCID.h create mode 100644 mailnews/extensions/bayesian-spam-filter/src/nsIncompleteGamma.h create mode 100644 mailnews/extensions/dsn/content/am-dsn.js create mode 100644 mailnews/extensions/dsn/content/am-dsn.xul create mode 100644 mailnews/extensions/dsn/content/dsn.js create mode 100644 mailnews/extensions/dsn/jar.mn create mode 100644 mailnews/extensions/dsn/moz.build create mode 100644 mailnews/extensions/dsn/src/dsn-service.js create mode 100644 mailnews/extensions/dsn/src/dsn-service.manifest create mode 100644 mailnews/extensions/fts3/data/README create mode 100644 mailnews/extensions/fts3/data/generate_table.py create mode 100644 mailnews/extensions/fts3/data/nfkc.txt create mode 100644 mailnews/extensions/fts3/data/nfkc_cf.txt create mode 100644 mailnews/extensions/fts3/public/moz.build create mode 100644 mailnews/extensions/fts3/public/nsIFts3Tokenizer.idl create mode 100644 mailnews/extensions/fts3/src/Normalize.c create mode 100644 mailnews/extensions/fts3/src/README.mozilla create mode 100644 mailnews/extensions/fts3/src/fts3_porter.c create mode 100644 mailnews/extensions/fts3/src/fts3_tokenizer.h create mode 100644 mailnews/extensions/fts3/src/moz.build create mode 100644 mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp create mode 100644 mailnews/extensions/fts3/src/nsFts3Tokenizer.h create mode 100644 mailnews/extensions/fts3/src/nsFts3TokenizerCID.h create mode 100644 mailnews/extensions/fts3/src/nsGlodaRankerFunction.cpp create mode 100644 mailnews/extensions/fts3/src/nsGlodaRankerFunction.h create mode 100644 mailnews/extensions/mailviews/content/mailViews.dat create mode 100644 mailnews/extensions/mailviews/content/moz.build create mode 100644 mailnews/extensions/mailviews/public/moz.build create mode 100644 mailnews/extensions/mailviews/public/nsIMsgMailView.idl create mode 100644 mailnews/extensions/mailviews/public/nsIMsgMailViewList.idl create mode 100644 mailnews/extensions/mailviews/src/moz.build create mode 100644 mailnews/extensions/mailviews/src/nsMsgMailViewList.cpp create mode 100644 mailnews/extensions/mailviews/src/nsMsgMailViewList.h create mode 100644 mailnews/extensions/mailviews/src/nsMsgMailViewsCID.h create mode 100644 mailnews/extensions/mdn/content/am-mdn.js create mode 100644 mailnews/extensions/mdn/content/am-mdn.xul create mode 100644 mailnews/extensions/mdn/content/mdn.js create mode 100644 mailnews/extensions/mdn/jar.mn create mode 100644 mailnews/extensions/mdn/moz.build create mode 100644 mailnews/extensions/mdn/src/mdn-service.js create mode 100644 mailnews/extensions/mdn/src/mdn-service.manifest create mode 100644 mailnews/extensions/mdn/src/moz.build create mode 100644 mailnews/extensions/mdn/src/nsMsgMdnCID.h create mode 100644 mailnews/extensions/mdn/src/nsMsgMdnGenerator.cpp create mode 100644 mailnews/extensions/mdn/src/nsMsgMdnGenerator.h create mode 100644 mailnews/extensions/moz.build create mode 100644 mailnews/extensions/newsblog/content/Feed.js create mode 100644 mailnews/extensions/newsblog/content/FeedItem.js create mode 100644 mailnews/extensions/newsblog/content/FeedUtils.jsm create mode 100644 mailnews/extensions/newsblog/content/am-newsblog.js create mode 100644 mailnews/extensions/newsblog/content/am-newsblog.xul create mode 100644 mailnews/extensions/newsblog/content/feed-parser.js create mode 100644 mailnews/extensions/newsblog/content/feed-subscriptions.js create mode 100644 mailnews/extensions/newsblog/content/feed-subscriptions.xul create mode 100644 mailnews/extensions/newsblog/content/feedAccountWizard.js create mode 100644 mailnews/extensions/newsblog/content/feedAccountWizard.xul create mode 100644 mailnews/extensions/newsblog/content/newsblogOverlay.js create mode 100644 mailnews/extensions/newsblog/jar.mn create mode 100644 mailnews/extensions/newsblog/js/newsblog.js create mode 100644 mailnews/extensions/newsblog/js/newsblog.manifest create mode 100644 mailnews/extensions/newsblog/moz.build create mode 100644 mailnews/extensions/newsblog/rss.rdf create mode 100644 mailnews/extensions/offline-startup/js/offlineStartup.js create mode 100644 mailnews/extensions/offline-startup/js/offlineStartup.manifest create mode 100644 mailnews/extensions/offline-startup/moz.build create mode 100644 mailnews/extensions/smime/content/am-smime.js create mode 100644 mailnews/extensions/smime/content/am-smime.xul create mode 100644 mailnews/extensions/smime/content/am-smimeIdentityEditOverlay.xul create mode 100644 mailnews/extensions/smime/content/am-smimeOverlay.xul create mode 100644 mailnews/extensions/smime/content/certFetchingStatus.js create mode 100644 mailnews/extensions/smime/content/certFetchingStatus.xul create mode 100644 mailnews/extensions/smime/content/certpicker.js create mode 100644 mailnews/extensions/smime/content/certpicker.xul create mode 100644 mailnews/extensions/smime/content/msgCompSMIMEOverlay.js create mode 100644 mailnews/extensions/smime/content/msgCompSMIMEOverlay.xul create mode 100644 mailnews/extensions/smime/content/msgCompSecurityInfo.js create mode 100644 mailnews/extensions/smime/content/msgCompSecurityInfo.xul create mode 100644 mailnews/extensions/smime/content/msgHdrViewSMIMEOverlay.js create mode 100644 mailnews/extensions/smime/content/msgHdrViewSMIMEOverlay.xul create mode 100644 mailnews/extensions/smime/content/msgReadSMIMEOverlay.js create mode 100644 mailnews/extensions/smime/content/msgReadSMIMEOverlay.xul create mode 100644 mailnews/extensions/smime/content/msgReadSecurityInfo.js create mode 100644 mailnews/extensions/smime/content/msgReadSecurityInfo.xul create mode 100644 mailnews/extensions/smime/content/smime.js create mode 100644 mailnews/extensions/smime/jar.mn create mode 100644 mailnews/extensions/smime/moz.build create mode 100644 mailnews/extensions/smime/public/moz.build create mode 100644 mailnews/extensions/smime/public/nsICertPickDialogs.idl create mode 100644 mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl create mode 100644 mailnews/extensions/smime/public/nsIMsgSMIMECompFields.idl create mode 100644 mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl create mode 100644 mailnews/extensions/smime/public/nsISMimeJSHelper.idl create mode 100644 mailnews/extensions/smime/public/nsIUserCertPicker.idl create mode 100644 mailnews/extensions/smime/src/moz.build create mode 100644 mailnews/extensions/smime/src/nsCertPicker.cpp create mode 100644 mailnews/extensions/smime/src/nsCertPicker.h create mode 100644 mailnews/extensions/smime/src/nsEncryptedSMIMEURIsService.cpp create mode 100644 mailnews/extensions/smime/src/nsEncryptedSMIMEURIsService.h create mode 100644 mailnews/extensions/smime/src/nsMsgComposeSecure.cpp create mode 100644 mailnews/extensions/smime/src/nsMsgComposeSecure.h create mode 100644 mailnews/extensions/smime/src/nsMsgSMIMECID.h create mode 100644 mailnews/extensions/smime/src/nsSMimeJSHelper.cpp create mode 100644 mailnews/extensions/smime/src/nsSMimeJSHelper.h create mode 100644 mailnews/extensions/smime/src/smime-service.js create mode 100644 mailnews/extensions/smime/src/smime-service.manifest create mode 100644 mailnews/imap/public/moz.build create mode 100644 mailnews/imap/public/nsIAutoSyncFolderStrategy.idl create mode 100644 mailnews/imap/public/nsIAutoSyncManager.idl create mode 100644 mailnews/imap/public/nsIAutoSyncMsgStrategy.idl create mode 100644 mailnews/imap/public/nsIAutoSyncState.idl create mode 100644 mailnews/imap/public/nsIIMAPHostSessionList.h create mode 100644 mailnews/imap/public/nsIImapFlagAndUidState.idl create mode 100644 mailnews/imap/public/nsIImapHeaderXferInfo.idl create mode 100644 mailnews/imap/public/nsIImapIncomingServer.idl create mode 100644 mailnews/imap/public/nsIImapMailFolderSink.idl create mode 100644 mailnews/imap/public/nsIImapMessageSink.idl create mode 100644 mailnews/imap/public/nsIImapMockChannel.idl create mode 100644 mailnews/imap/public/nsIImapProtocol.idl create mode 100644 mailnews/imap/public/nsIImapProtocolSink.idl create mode 100644 mailnews/imap/public/nsIImapServerSink.idl create mode 100644 mailnews/imap/public/nsIImapService.idl create mode 100644 mailnews/imap/public/nsIImapUrl.idl create mode 100644 mailnews/imap/public/nsIMailboxSpec.idl create mode 100644 mailnews/imap/public/nsIMsgImapMailFolder.idl create mode 100644 mailnews/imap/public/nsMsgImapCID.h create mode 100644 mailnews/imap/src/moz.build create mode 100644 mailnews/imap/src/nsAutoSyncManager.cpp create mode 100644 mailnews/imap/src/nsAutoSyncManager.h create mode 100644 mailnews/imap/src/nsAutoSyncState.cpp create mode 100644 mailnews/imap/src/nsAutoSyncState.h create mode 100644 mailnews/imap/src/nsIMAPBodyShell.cpp create mode 100644 mailnews/imap/src/nsIMAPBodyShell.h create mode 100644 mailnews/imap/src/nsIMAPGenericParser.cpp create mode 100644 mailnews/imap/src/nsIMAPGenericParser.h create mode 100644 mailnews/imap/src/nsIMAPHostSessionList.cpp create mode 100644 mailnews/imap/src/nsIMAPHostSessionList.h create mode 100644 mailnews/imap/src/nsIMAPNamespace.cpp create mode 100644 mailnews/imap/src/nsIMAPNamespace.h create mode 100644 mailnews/imap/src/nsImapCore.h create mode 100644 mailnews/imap/src/nsImapFlagAndUidState.cpp create mode 100644 mailnews/imap/src/nsImapFlagAndUidState.h create mode 100644 mailnews/imap/src/nsImapIncomingServer.cpp create mode 100644 mailnews/imap/src/nsImapIncomingServer.h create mode 100644 mailnews/imap/src/nsImapMailFolder.cpp create mode 100644 mailnews/imap/src/nsImapMailFolder.h create mode 100644 mailnews/imap/src/nsImapOfflineSync.cpp create mode 100644 mailnews/imap/src/nsImapOfflineSync.h create mode 100644 mailnews/imap/src/nsImapProtocol.cpp create mode 100644 mailnews/imap/src/nsImapProtocol.h create mode 100644 mailnews/imap/src/nsImapSearchResults.cpp create mode 100644 mailnews/imap/src/nsImapSearchResults.h create mode 100644 mailnews/imap/src/nsImapServerResponseParser.cpp create mode 100644 mailnews/imap/src/nsImapServerResponseParser.h create mode 100644 mailnews/imap/src/nsImapService.cpp create mode 100644 mailnews/imap/src/nsImapService.h create mode 100644 mailnews/imap/src/nsImapStringBundle.cpp create mode 100644 mailnews/imap/src/nsImapStringBundle.h create mode 100644 mailnews/imap/src/nsImapUndoTxn.cpp create mode 100644 mailnews/imap/src/nsImapUndoTxn.h create mode 100644 mailnews/imap/src/nsImapUrl.cpp create mode 100644 mailnews/imap/src/nsImapUrl.h create mode 100644 mailnews/imap/src/nsImapUtils.cpp create mode 100644 mailnews/imap/src/nsImapUtils.h create mode 100644 mailnews/imap/src/nsSyncRunnableHelpers.cpp create mode 100644 mailnews/imap/src/nsSyncRunnableHelpers.h create mode 100644 mailnews/import/applemail/src/moz.build create mode 100644 mailnews/import/applemail/src/nsAppleMailImport.cpp create mode 100644 mailnews/import/applemail/src/nsAppleMailImport.h create mode 100644 mailnews/import/applemail/src/nsEmlxHelperUtils.h create mode 100644 mailnews/import/applemail/src/nsEmlxHelperUtils.mm create mode 100644 mailnews/import/becky/src/moz.build create mode 100644 mailnews/import/becky/src/nsBeckyAddressBooks.cpp create mode 100644 mailnews/import/becky/src/nsBeckyAddressBooks.h create mode 100644 mailnews/import/becky/src/nsBeckyFilters.cpp create mode 100644 mailnews/import/becky/src/nsBeckyFilters.h create mode 100644 mailnews/import/becky/src/nsBeckyImport.cpp create mode 100644 mailnews/import/becky/src/nsBeckyImport.h create mode 100644 mailnews/import/becky/src/nsBeckyMail.cpp create mode 100644 mailnews/import/becky/src/nsBeckyMail.h create mode 100644 mailnews/import/becky/src/nsBeckySettings.cpp create mode 100644 mailnews/import/becky/src/nsBeckySettings.h create mode 100644 mailnews/import/becky/src/nsBeckyStringBundle.cpp create mode 100644 mailnews/import/becky/src/nsBeckyStringBundle.h create mode 100644 mailnews/import/becky/src/nsBeckyUtils.cpp create mode 100644 mailnews/import/becky/src/nsBeckyUtils.h create mode 100644 mailnews/import/build/moz.build create mode 100644 mailnews/import/build/nsImportModule.cpp create mode 100644 mailnews/import/content/fieldMapImport.js create mode 100644 mailnews/import/content/fieldMapImport.xul create mode 100644 mailnews/import/content/import-test.html create mode 100644 mailnews/import/content/importDialog.js create mode 100644 mailnews/import/content/importDialog.xul create mode 100644 mailnews/import/oexpress/OEDebugLog.h create mode 100644 mailnews/import/oexpress/WabObject.cpp create mode 100644 mailnews/import/oexpress/WabObject.h create mode 100644 mailnews/import/oexpress/moz.build create mode 100644 mailnews/import/oexpress/nsOE5File.cpp create mode 100644 mailnews/import/oexpress/nsOE5File.h create mode 100644 mailnews/import/oexpress/nsOEAddressIterator.cpp create mode 100644 mailnews/import/oexpress/nsOEAddressIterator.h create mode 100644 mailnews/import/oexpress/nsOEImport.cpp create mode 100644 mailnews/import/oexpress/nsOEImport.h create mode 100644 mailnews/import/oexpress/nsOEMailbox.cpp create mode 100644 mailnews/import/oexpress/nsOEMailbox.h create mode 100644 mailnews/import/oexpress/nsOERegUtil.cpp create mode 100644 mailnews/import/oexpress/nsOERegUtil.h create mode 100644 mailnews/import/oexpress/nsOEScanBoxes.cpp create mode 100644 mailnews/import/oexpress/nsOEScanBoxes.h create mode 100644 mailnews/import/oexpress/nsOESettings.cpp create mode 100644 mailnews/import/oexpress/nsOESettings.h create mode 100644 mailnews/import/oexpress/nsOEStringBundle.cpp create mode 100644 mailnews/import/oexpress/nsOEStringBundle.h create mode 100644 mailnews/import/outlook/src/MapiApi.cpp create mode 100644 mailnews/import/outlook/src/MapiApi.h create mode 100644 mailnews/import/outlook/src/MapiDbgLog.h create mode 100644 mailnews/import/outlook/src/MapiMessage.cpp create mode 100644 mailnews/import/outlook/src/MapiMessage.h create mode 100644 mailnews/import/outlook/src/MapiMimeTypes.cpp create mode 100644 mailnews/import/outlook/src/MapiMimeTypes.h create mode 100644 mailnews/import/outlook/src/MapiTagStrs.cpp create mode 100644 mailnews/import/outlook/src/OutlookDebugLog.h create mode 100644 mailnews/import/outlook/src/moz.build create mode 100644 mailnews/import/outlook/src/nsOutlookCompose.cpp create mode 100644 mailnews/import/outlook/src/nsOutlookCompose.h create mode 100644 mailnews/import/outlook/src/nsOutlookImport.cpp create mode 100644 mailnews/import/outlook/src/nsOutlookImport.h create mode 100644 mailnews/import/outlook/src/nsOutlookMail.cpp create mode 100644 mailnews/import/outlook/src/nsOutlookMail.h create mode 100644 mailnews/import/outlook/src/nsOutlookSettings.cpp create mode 100644 mailnews/import/outlook/src/nsOutlookSettings.h create mode 100644 mailnews/import/outlook/src/nsOutlookStringBundle.cpp create mode 100644 mailnews/import/outlook/src/nsOutlookStringBundle.h create mode 100644 mailnews/import/outlook/src/rtfDecoder.cpp create mode 100644 mailnews/import/outlook/src/rtfDecoder.h create mode 100644 mailnews/import/outlook/src/rtfMailDecoder.cpp create mode 100644 mailnews/import/outlook/src/rtfMailDecoder.h create mode 100644 mailnews/import/public/moz.build create mode 100644 mailnews/import/public/nsIImportABDescriptor.idl create mode 100644 mailnews/import/public/nsIImportAddressBooks.idl create mode 100644 mailnews/import/public/nsIImportFieldMap.idl create mode 100644 mailnews/import/public/nsIImportFilters.idl create mode 100644 mailnews/import/public/nsIImportGeneric.idl create mode 100644 mailnews/import/public/nsIImportMail.idl create mode 100644 mailnews/import/public/nsIImportMailboxDescriptor.idl create mode 100644 mailnews/import/public/nsIImportMimeEncode.idl create mode 100644 mailnews/import/public/nsIImportModule.idl create mode 100644 mailnews/import/public/nsIImportService.idl create mode 100644 mailnews/import/public/nsIImportSettings.idl create mode 100644 mailnews/import/src/ImportCharSet.cpp create mode 100644 mailnews/import/src/ImportCharSet.h create mode 100644 mailnews/import/src/ImportDebug.h create mode 100644 mailnews/import/src/ImportOutFile.cpp create mode 100644 mailnews/import/src/ImportOutFile.h create mode 100644 mailnews/import/src/ImportTranslate.cpp create mode 100644 mailnews/import/src/ImportTranslate.h create mode 100644 mailnews/import/src/moz.build create mode 100644 mailnews/import/src/nsImportABDescriptor.cpp create mode 100644 mailnews/import/src/nsImportABDescriptor.h create mode 100644 mailnews/import/src/nsImportAddressBooks.cpp create mode 100644 mailnews/import/src/nsImportEmbeddedImageData.cpp create mode 100644 mailnews/import/src/nsImportEmbeddedImageData.h create mode 100644 mailnews/import/src/nsImportEncodeScan.cpp create mode 100644 mailnews/import/src/nsImportEncodeScan.h create mode 100644 mailnews/import/src/nsImportFieldMap.cpp create mode 100644 mailnews/import/src/nsImportFieldMap.h create mode 100644 mailnews/import/src/nsImportMail.cpp create mode 100644 mailnews/import/src/nsImportMailboxDescriptor.cpp create mode 100644 mailnews/import/src/nsImportMailboxDescriptor.h create mode 100644 mailnews/import/src/nsImportMimeEncode.cpp create mode 100644 mailnews/import/src/nsImportMimeEncode.h create mode 100644 mailnews/import/src/nsImportScanFile.cpp create mode 100644 mailnews/import/src/nsImportScanFile.h create mode 100644 mailnews/import/src/nsImportService.cpp create mode 100644 mailnews/import/src/nsImportService.h create mode 100644 mailnews/import/src/nsImportStringBundle.cpp create mode 100644 mailnews/import/src/nsImportStringBundle.h create mode 100644 mailnews/import/src/nsImportTranslator.cpp create mode 100644 mailnews/import/src/nsImportTranslator.h create mode 100644 mailnews/import/text/src/TextDebugLog.h create mode 100644 mailnews/import/text/src/moz.build create mode 100644 mailnews/import/text/src/nsTextAddress.cpp create mode 100644 mailnews/import/text/src/nsTextAddress.h create mode 100644 mailnews/import/text/src/nsTextImport.cpp create mode 100644 mailnews/import/text/src/nsTextImport.h create mode 100644 mailnews/import/vcard/src/moz.build create mode 100644 mailnews/import/vcard/src/nsVCardAddress.cpp create mode 100644 mailnews/import/vcard/src/nsVCardAddress.h create mode 100644 mailnews/import/vcard/src/nsVCardImport.cpp create mode 100644 mailnews/import/vcard/src/nsVCardImport.h create mode 100644 mailnews/import/winlivemail/WMDebugLog.h create mode 100644 mailnews/import/winlivemail/moz.build create mode 100644 mailnews/import/winlivemail/nsWMImport.cpp create mode 100644 mailnews/import/winlivemail/nsWMImport.h create mode 100644 mailnews/import/winlivemail/nsWMSettings.cpp create mode 100644 mailnews/import/winlivemail/nsWMSettings.h create mode 100644 mailnews/import/winlivemail/nsWMStringBundle.cpp create mode 100644 mailnews/import/winlivemail/nsWMStringBundle.h create mode 100644 mailnews/import/winlivemail/nsWMUtils.cpp create mode 100644 mailnews/import/winlivemail/nsWMUtils.h create mode 100644 mailnews/intl/charsetData.properties create mode 100644 mailnews/intl/charsetalias.properties create mode 100644 mailnews/intl/jar.mn create mode 100644 mailnews/intl/moz.build create mode 100644 mailnews/intl/nsCharsetAlias.cpp create mode 100644 mailnews/intl/nsCharsetAlias.h create mode 100644 mailnews/intl/nsCharsetConverterManager.cpp create mode 100644 mailnews/intl/nsCharsetConverterManager.h create mode 100644 mailnews/intl/nsCommUConvCID.h create mode 100644 mailnews/intl/nsICharsetConverterManager.idl create mode 100644 mailnews/intl/nsMUTF7ToUnicode.cpp create mode 100644 mailnews/intl/nsMUTF7ToUnicode.h create mode 100644 mailnews/intl/nsUTF7ToUnicode.cpp create mode 100644 mailnews/intl/nsUTF7ToUnicode.h create mode 100644 mailnews/intl/nsUnicodeToMUTF7.cpp create mode 100644 mailnews/intl/nsUnicodeToMUTF7.h create mode 100644 mailnews/intl/nsUnicodeToUTF7.cpp create mode 100644 mailnews/intl/nsUnicodeToUTF7.h create mode 100644 mailnews/jar.mn create mode 100644 mailnews/jsaccount/modules/JSAccountUtils.jsm create mode 100644 mailnews/jsaccount/modules/JaBaseUrl.jsm create mode 100644 mailnews/jsaccount/moz.build create mode 100644 mailnews/jsaccount/public/moz.build create mode 100644 mailnews/jsaccount/public/msgIDelegateList.idl create mode 100644 mailnews/jsaccount/public/msgIOverride.idl create mode 100644 mailnews/jsaccount/public/msgJsAccountCID.h create mode 100644 mailnews/jsaccount/readme.html create mode 100644 mailnews/jsaccount/src/DelegateList.cpp create mode 100644 mailnews/jsaccount/src/DelegateList.h create mode 100644 mailnews/jsaccount/src/JaAbDirectory.cpp create mode 100644 mailnews/jsaccount/src/JaAbDirectory.h create mode 100644 mailnews/jsaccount/src/JaCompose.cpp create mode 100644 mailnews/jsaccount/src/JaCompose.h create mode 100644 mailnews/jsaccount/src/JaIncomingServer.cpp create mode 100644 mailnews/jsaccount/src/JaIncomingServer.h create mode 100644 mailnews/jsaccount/src/JaMsgFolder.cpp create mode 100644 mailnews/jsaccount/src/JaMsgFolder.h create mode 100644 mailnews/jsaccount/src/JaSend.cpp create mode 100644 mailnews/jsaccount/src/JaSend.h create mode 100644 mailnews/jsaccount/src/JaUrl.cpp create mode 100644 mailnews/jsaccount/src/JaUrl.h create mode 100644 mailnews/jsaccount/src/moz.build create mode 100644 mailnews/local/public/moz.build create mode 100644 mailnews/local/public/nsILocalMailIncomingServer.idl create mode 100644 mailnews/local/public/nsIMailboxService.idl create mode 100644 mailnews/local/public/nsIMailboxUrl.idl create mode 100644 mailnews/local/public/nsIMovemailIncomingServer.idl create mode 100644 mailnews/local/public/nsIMovemailService.idl create mode 100644 mailnews/local/public/nsIMsgLocalMailFolder.idl create mode 100644 mailnews/local/public/nsIMsgParseMailMsgState.idl create mode 100644 mailnews/local/public/nsINewsBlogFeedDownloader.idl create mode 100644 mailnews/local/public/nsINoIncomingServer.idl create mode 100644 mailnews/local/public/nsINoneService.idl create mode 100644 mailnews/local/public/nsIPop3IncomingServer.idl create mode 100644 mailnews/local/public/nsIPop3Protocol.idl create mode 100644 mailnews/local/public/nsIPop3Service.idl create mode 100644 mailnews/local/public/nsIPop3Sink.idl create mode 100644 mailnews/local/public/nsIPop3URL.idl create mode 100644 mailnews/local/public/nsIRssIncomingServer.idl create mode 100644 mailnews/local/public/nsIRssService.idl create mode 100644 mailnews/local/public/nsMsgLocalCID.h create mode 100644 mailnews/local/src/moz.build create mode 100644 mailnews/local/src/nsLocalMailFolder.cpp create mode 100644 mailnews/local/src/nsLocalMailFolder.h create mode 100644 mailnews/local/src/nsLocalUndoTxn.cpp create mode 100644 mailnews/local/src/nsLocalUndoTxn.h create mode 100644 mailnews/local/src/nsLocalUtils.cpp create mode 100644 mailnews/local/src/nsLocalUtils.h create mode 100644 mailnews/local/src/nsMailboxProtocol.cpp create mode 100644 mailnews/local/src/nsMailboxProtocol.h create mode 100644 mailnews/local/src/nsMailboxServer.cpp create mode 100644 mailnews/local/src/nsMailboxServer.h create mode 100644 mailnews/local/src/nsMailboxService.cpp create mode 100644 mailnews/local/src/nsMailboxService.h create mode 100644 mailnews/local/src/nsMailboxUrl.cpp create mode 100644 mailnews/local/src/nsMailboxUrl.h create mode 100644 mailnews/local/src/nsMovemailIncomingServer.cpp create mode 100644 mailnews/local/src/nsMovemailIncomingServer.h create mode 100644 mailnews/local/src/nsMovemailService.cpp create mode 100644 mailnews/local/src/nsMovemailService.h create mode 100644 mailnews/local/src/nsMsgBrkMBoxStore.cpp create mode 100644 mailnews/local/src/nsMsgBrkMBoxStore.h create mode 100644 mailnews/local/src/nsMsgLocalStoreUtils.cpp create mode 100644 mailnews/local/src/nsMsgLocalStoreUtils.h create mode 100644 mailnews/local/src/nsMsgMaildirStore.cpp create mode 100644 mailnews/local/src/nsMsgMaildirStore.h create mode 100644 mailnews/local/src/nsNoIncomingServer.cpp create mode 100644 mailnews/local/src/nsNoIncomingServer.h create mode 100644 mailnews/local/src/nsNoneService.cpp create mode 100644 mailnews/local/src/nsNoneService.h create mode 100644 mailnews/local/src/nsParseMailbox.cpp create mode 100644 mailnews/local/src/nsParseMailbox.h create mode 100644 mailnews/local/src/nsPop3IncomingServer.cpp create mode 100644 mailnews/local/src/nsPop3IncomingServer.h create mode 100644 mailnews/local/src/nsPop3Protocol.cpp create mode 100644 mailnews/local/src/nsPop3Protocol.h create mode 100644 mailnews/local/src/nsPop3Service.cpp create mode 100644 mailnews/local/src/nsPop3Service.h create mode 100644 mailnews/local/src/nsPop3Sink.cpp create mode 100644 mailnews/local/src/nsPop3Sink.h create mode 100644 mailnews/local/src/nsPop3URL.cpp create mode 100644 mailnews/local/src/nsPop3URL.h create mode 100644 mailnews/local/src/nsRssIncomingServer.cpp create mode 100644 mailnews/local/src/nsRssIncomingServer.h create mode 100644 mailnews/local/src/nsRssService.cpp create mode 100644 mailnews/local/src/nsRssService.h create mode 100644 mailnews/mailnews.js create mode 100644 mailnews/mailnews.mozbuild create mode 100644 mailnews/mapi/mapiDll/Makefile.in create mode 100644 mailnews/mapi/mapiDll/Mapi32.DEF create mode 100644 mailnews/mapi/mapiDll/MapiDll.cpp create mode 100644 mailnews/mapi/mapiDll/module.ver create mode 100644 mailnews/mapi/mapiDll/moz.build create mode 100644 mailnews/mapi/mapihook/build/Makefile.in create mode 100644 mailnews/mapi/mapihook/build/MapiProxy.def create mode 100644 mailnews/mapi/mapihook/build/module.ver create mode 100644 mailnews/mapi/mapihook/build/moz.build create mode 100644 mailnews/mapi/mapihook/build/msgMapi.idl create mode 100644 mailnews/mapi/mapihook/moz.build create mode 100644 mailnews/mapi/mapihook/public/moz.build create mode 100644 mailnews/mapi/mapihook/public/nsIMapiSupport.idl create mode 100644 mailnews/mapi/mapihook/src/Makefile.in create mode 100644 mailnews/mapi/mapihook/src/Registry.cpp create mode 100644 mailnews/mapi/mapihook/src/Registry.h create mode 100644 mailnews/mapi/mapihook/src/moz.build create mode 100644 mailnews/mapi/mapihook/src/msgMapiFactory.cpp create mode 100644 mailnews/mapi/mapihook/src/msgMapiFactory.h create mode 100644 mailnews/mapi/mapihook/src/msgMapiHook.cpp create mode 100644 mailnews/mapi/mapihook/src/msgMapiHook.h create mode 100644 mailnews/mapi/mapihook/src/msgMapiImp.cpp create mode 100644 mailnews/mapi/mapihook/src/msgMapiImp.h create mode 100644 mailnews/mapi/mapihook/src/msgMapiMain.cpp create mode 100644 mailnews/mapi/mapihook/src/msgMapiMain.h create mode 100644 mailnews/mapi/mapihook/src/msgMapiSupport.cpp create mode 100644 mailnews/mapi/mapihook/src/msgMapiSupport.h create mode 100644 mailnews/mime/cthandlers/glue/mimexpcom.cpp create mode 100644 mailnews/mime/cthandlers/glue/mimexpcom.h create mode 100644 mailnews/mime/cthandlers/glue/moz.build create mode 100644 mailnews/mime/cthandlers/glue/nsMimeContentTypeHandler.cpp create mode 100644 mailnews/mime/cthandlers/glue/nsMimeContentTypeHandler.h create mode 100644 mailnews/mime/cthandlers/moz.build create mode 100644 mailnews/mime/cthandlers/pgpmime/moz.build create mode 100644 mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp create mode 100644 mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.h create mode 100644 mailnews/mime/cthandlers/vcard/mimevcrd.cpp create mode 100644 mailnews/mime/cthandlers/vcard/mimevcrd.h create mode 100644 mailnews/mime/cthandlers/vcard/moz.build create mode 100644 mailnews/mime/emitters/moz.build create mode 100644 mailnews/mime/emitters/nsEmitterUtils.cpp create mode 100644 mailnews/mime/emitters/nsEmitterUtils.h create mode 100644 mailnews/mime/emitters/nsMimeBaseEmitter.cpp create mode 100644 mailnews/mime/emitters/nsMimeBaseEmitter.h create mode 100644 mailnews/mime/emitters/nsMimeEmitterCID.h create mode 100644 mailnews/mime/emitters/nsMimeHtmlEmitter.cpp create mode 100644 mailnews/mime/emitters/nsMimeHtmlEmitter.h create mode 100644 mailnews/mime/emitters/nsMimePlainEmitter.cpp create mode 100644 mailnews/mime/emitters/nsMimePlainEmitter.h create mode 100644 mailnews/mime/emitters/nsMimeRawEmitter.cpp create mode 100644 mailnews/mime/emitters/nsMimeRawEmitter.h create mode 100644 mailnews/mime/emitters/nsMimeRebuffer.cpp create mode 100644 mailnews/mime/emitters/nsMimeRebuffer.h create mode 100644 mailnews/mime/emitters/nsMimeXmlEmitter.cpp create mode 100644 mailnews/mime/emitters/nsMimeXmlEmitter.h create mode 100644 mailnews/mime/jsmime/LICENSE create mode 100644 mailnews/mime/jsmime/README.md create mode 100644 mailnews/mime/jsmime/jsmime.js create mode 100644 mailnews/mime/moz.build create mode 100644 mailnews/mime/public/MimeEncoder.h create mode 100644 mailnews/mime/public/MimeHeaderParser.h create mode 100644 mailnews/mime/public/moz.build create mode 100644 mailnews/mime/public/msgIStructuredHeaders.idl create mode 100644 mailnews/mime/public/nsICMSDecoder.idl create mode 100644 mailnews/mime/public/nsICMSEncoder.idl create mode 100644 mailnews/mime/public/nsICMSMessage.idl create mode 100644 mailnews/mime/public/nsICMSMessage2.idl create mode 100644 mailnews/mime/public/nsICMSMessageErrors.idl create mode 100644 mailnews/mime/public/nsICMSSecureMessage.idl create mode 100644 mailnews/mime/public/nsIMimeContentTypeHandler.h create mode 100644 mailnews/mime/public/nsIMimeConverter.idl create mode 100644 mailnews/mime/public/nsIMimeEmitter.idl create mode 100644 mailnews/mime/public/nsIMimeHeaders.idl create mode 100644 mailnews/mime/public/nsIMimeMiscStatus.idl create mode 100644 mailnews/mime/public/nsIMimeObjectClassAccess.h create mode 100644 mailnews/mime/public/nsIMimeStreamConverter.idl create mode 100644 mailnews/mime/public/nsIMsgHeaderParser.idl create mode 100644 mailnews/mime/public/nsIPgpMimeProxy.idl create mode 100644 mailnews/mime/public/nsISimpleMimeConverter.idl create mode 100644 mailnews/mime/public/nsMailHeaders.h create mode 100644 mailnews/mime/public/nsMsgMimeCID.h create mode 100644 mailnews/mime/src/MimeHeaderParser.cpp create mode 100644 mailnews/mime/src/comi18n.cpp create mode 100644 mailnews/mime/src/comi18n.h create mode 100644 mailnews/mime/src/extraMimeParsers.jsm create mode 100644 mailnews/mime/src/jsmime.jsm create mode 100644 mailnews/mime/src/mime.def create mode 100644 mailnews/mime/src/mimeJSComponents.js create mode 100644 mailnews/mime/src/mimeParser.jsm create mode 100644 mailnews/mime/src/mimeTextHTMLParsed.cpp create mode 100644 mailnews/mime/src/mimeTextHTMLParsed.h create mode 100644 mailnews/mime/src/mimebuf.cpp create mode 100644 mailnews/mime/src/mimebuf.h create mode 100644 mailnews/mime/src/mimecms.cpp create mode 100644 mailnews/mime/src/mimecms.h create mode 100644 mailnews/mime/src/mimecom.cpp create mode 100644 mailnews/mime/src/mimecom.h create mode 100644 mailnews/mime/src/mimecont.cpp create mode 100644 mailnews/mime/src/mimecont.h create mode 100644 mailnews/mime/src/mimecryp.cpp create mode 100644 mailnews/mime/src/mimecryp.h create mode 100644 mailnews/mime/src/mimecth.cpp create mode 100644 mailnews/mime/src/mimecth.h create mode 100644 mailnews/mime/src/mimedrft.cpp create mode 100644 mailnews/mime/src/mimeebod.cpp create mode 100644 mailnews/mime/src/mimeebod.h create mode 100644 mailnews/mime/src/mimeenc.cpp create mode 100644 mailnews/mime/src/mimeeobj.cpp create mode 100644 mailnews/mime/src/mimeeobj.h create mode 100644 mailnews/mime/src/mimefilt.cpp create mode 100644 mailnews/mime/src/mimehdrs.cpp create mode 100644 mailnews/mime/src/mimehdrs.h create mode 100644 mailnews/mime/src/mimei.cpp create mode 100644 mailnews/mime/src/mimei.h create mode 100644 mailnews/mime/src/mimeiimg.cpp create mode 100644 mailnews/mime/src/mimeiimg.h create mode 100644 mailnews/mime/src/mimeleaf.cpp create mode 100644 mailnews/mime/src/mimeleaf.h create mode 100644 mailnews/mime/src/mimemalt.cpp create mode 100644 mailnews/mime/src/mimemalt.h create mode 100644 mailnews/mime/src/mimemapl.cpp create mode 100644 mailnews/mime/src/mimemapl.h create mode 100644 mailnews/mime/src/mimemcms.cpp create mode 100644 mailnews/mime/src/mimemcms.h create mode 100644 mailnews/mime/src/mimemdig.cpp create mode 100644 mailnews/mime/src/mimemdig.h create mode 100644 mailnews/mime/src/mimemmix.cpp create mode 100644 mailnews/mime/src/mimemmix.h create mode 100644 mailnews/mime/src/mimemoz2.cpp create mode 100644 mailnews/mime/src/mimemoz2.h create mode 100644 mailnews/mime/src/mimempar.cpp create mode 100644 mailnews/mime/src/mimempar.h create mode 100644 mailnews/mime/src/mimemrel.cpp create mode 100644 mailnews/mime/src/mimemrel.h create mode 100644 mailnews/mime/src/mimemsg.cpp create mode 100644 mailnews/mime/src/mimemsg.h create mode 100644 mailnews/mime/src/mimemsig.cpp create mode 100644 mailnews/mime/src/mimemsig.h create mode 100644 mailnews/mime/src/mimemult.cpp create mode 100644 mailnews/mime/src/mimemult.h create mode 100644 mailnews/mime/src/mimeobj.cpp create mode 100644 mailnews/mime/src/mimeobj.h create mode 100644 mailnews/mime/src/mimepbuf.cpp create mode 100644 mailnews/mime/src/mimepbuf.h create mode 100644 mailnews/mime/src/mimesun.cpp create mode 100644 mailnews/mime/src/mimesun.h create mode 100644 mailnews/mime/src/mimetenr.cpp create mode 100644 mailnews/mime/src/mimetenr.h create mode 100644 mailnews/mime/src/mimetext.cpp create mode 100644 mailnews/mime/src/mimetext.h create mode 100644 mailnews/mime/src/mimethpl.cpp create mode 100644 mailnews/mime/src/mimethpl.h create mode 100644 mailnews/mime/src/mimethsa.cpp create mode 100644 mailnews/mime/src/mimethsa.h create mode 100644 mailnews/mime/src/mimethtm.cpp create mode 100644 mailnews/mime/src/mimethtm.h create mode 100644 mailnews/mime/src/mimetpfl.cpp create mode 100644 mailnews/mime/src/mimetpfl.h create mode 100644 mailnews/mime/src/mimetpla.cpp create mode 100644 mailnews/mime/src/mimetpla.h create mode 100644 mailnews/mime/src/mimetric.cpp create mode 100644 mailnews/mime/src/mimetric.h create mode 100644 mailnews/mime/src/mimeunty.cpp create mode 100644 mailnews/mime/src/mimeunty.h create mode 100644 mailnews/mime/src/modlmime.h create mode 100644 mailnews/mime/src/modmimee.h create mode 100644 mailnews/mime/src/moz.build create mode 100644 mailnews/mime/src/msgMime.manifest create mode 100644 mailnews/mime/src/nsCMS.cpp create mode 100644 mailnews/mime/src/nsCMS.h create mode 100644 mailnews/mime/src/nsCMSSecureMessage.cpp create mode 100644 mailnews/mime/src/nsCMSSecureMessage.h create mode 100644 mailnews/mime/src/nsMimeObjectClassAccess.cpp create mode 100644 mailnews/mime/src/nsMimeObjectClassAccess.h create mode 100644 mailnews/mime/src/nsMimeStringResources.h create mode 100644 mailnews/mime/src/nsSimpleMimeConverterStub.cpp create mode 100644 mailnews/mime/src/nsSimpleMimeConverterStub.h create mode 100644 mailnews/mime/src/nsStreamConverter.cpp create mode 100644 mailnews/mime/src/nsStreamConverter.h create mode 100644 mailnews/moz.build create mode 100644 mailnews/news/content/downloadheaders.js create mode 100644 mailnews/news/content/downloadheaders.xul create mode 100644 mailnews/news/moz.build create mode 100644 mailnews/news/public/moz.build create mode 100644 mailnews/news/public/nsIMsgNewsFolder.idl create mode 100644 mailnews/news/public/nsIMsgOfflineNewsState.idl create mode 100644 mailnews/news/public/nsINNTPArticleList.idl create mode 100644 mailnews/news/public/nsINNTPNewsgroupList.idl create mode 100644 mailnews/news/public/nsINNTPNewsgroupPost.idl create mode 100644 mailnews/news/public/nsINNTPProtocol.idl create mode 100644 mailnews/news/public/nsINewsDownloadDialogArgs.idl create mode 100644 mailnews/news/public/nsINntpIncomingServer.idl create mode 100644 mailnews/news/public/nsINntpService.idl create mode 100644 mailnews/news/public/nsINntpUrl.idl create mode 100644 mailnews/news/public/nsMsgNewsCID.h create mode 100644 mailnews/news/src/moz.build create mode 100644 mailnews/news/src/nntpCore.h create mode 100644 mailnews/news/src/nsNNTPArticleList.cpp create mode 100644 mailnews/news/src/nsNNTPArticleList.h create mode 100644 mailnews/news/src/nsNNTPNewsgroupList.cpp create mode 100644 mailnews/news/src/nsNNTPNewsgroupList.h create mode 100644 mailnews/news/src/nsNNTPNewsgroupPost.cpp create mode 100644 mailnews/news/src/nsNNTPNewsgroupPost.h create mode 100644 mailnews/news/src/nsNNTPProtocol.cpp create mode 100644 mailnews/news/src/nsNNTPProtocol.h create mode 100644 mailnews/news/src/nsNewsAutoCompleteSearch.js create mode 100644 mailnews/news/src/nsNewsAutoCompleteSearch.manifest create mode 100644 mailnews/news/src/nsNewsDownloadDialogArgs.cpp create mode 100644 mailnews/news/src/nsNewsDownloadDialogArgs.h create mode 100644 mailnews/news/src/nsNewsDownloader.cpp create mode 100644 mailnews/news/src/nsNewsDownloader.h create mode 100644 mailnews/news/src/nsNewsFolder.cpp create mode 100644 mailnews/news/src/nsNewsFolder.h create mode 100644 mailnews/news/src/nsNewsUtils.cpp create mode 100644 mailnews/news/src/nsNewsUtils.h create mode 100644 mailnews/news/src/nsNntpIncomingServer.cpp create mode 100644 mailnews/news/src/nsNntpIncomingServer.h create mode 100644 mailnews/news/src/nsNntpMockChannel.cpp create mode 100644 mailnews/news/src/nsNntpMockChannel.h create mode 100644 mailnews/news/src/nsNntpService.cpp create mode 100644 mailnews/news/src/nsNntpService.h create mode 100644 mailnews/news/src/nsNntpUrl.cpp create mode 100644 mailnews/news/src/nsNntpUrl.h (limited to 'mailnews') diff --git a/mailnews/addrbook/content/abAddressBookNameDialog.js b/mailnews/addrbook/content/abAddressBookNameDialog.js new file mode 100644 index 000000000..a62659cc3 --- /dev/null +++ b/mailnews/addrbook/content/abAddressBookNameDialog.js @@ -0,0 +1,72 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +Components.utils.import("resource:///modules/mailServices.js"); + +var gOkButton; +var gNameInput; +var gDirectory = null; + +var kPersonalAddressbookURI = "moz-abmdbdirectory://abook.mab"; +var kCollectedAddressbookURI = "moz-abmdbdirectory://history.mab"; +var kAllDirectoryRoot = "moz-abdirectory://"; +var kPABDirectory = 2; // defined in nsDirPrefs.h + +function abNameOnLoad() +{ + // Get the document elements. + gOkButton = document.documentElement.getButton('accept'); + gNameInput = document.getElementById('name'); + + // look in arguments[0] for parameters to see if we have a directory or not + if ("arguments" in window && window.arguments[0] && + "selectedDirectory" in window.arguments[0]) { + gDirectory = window.arguments[0].selectedDirectory; + gNameInput.value = gDirectory.dirName; + } + + // Work out the window title (if we have a directory specified, then it's a + // rename). + var bundle = document.getElementById("bundle_addressBook"); + + if (gDirectory) { + let oldListName = gDirectory.dirName; + document.title = bundle.getFormattedString("addressBookTitleEdit", [oldListName]); + } else { + document.title = bundle.getString("addressBookTitleNew"); + } + + if (gDirectory && + (gDirectory.URI == kCollectedAddressbookURI || + gDirectory.URI == kPersonalAddressbookURI || + gDirectory.URI == kAllDirectoryRoot + "?")) { + // Address book name is not editable, therefore disable the field and + // only have an ok button that doesn't do anything. + gNameInput.readOnly = true; + document.documentElement.buttons = "accept"; + document.documentElement.removeAttribute("ondialogaccept"); + } else { + gNameInput.focus(); + abNameDoOkEnabling(); + } +} + +function abNameOKButton() +{ + var newName = gNameInput.value.trim(); + + // Either create a new directory or update an existing one depending on what + // we were given when we started. + if (gDirectory) + gDirectory.dirName = newName; + else + MailServices.ab.newAddressBook(newName, "", kPABDirectory); + + return true; +} + +function abNameDoOkEnabling() +{ + gOkButton.disabled = gNameInput.value.trim() == ""; +} diff --git a/mailnews/addrbook/content/abAddressBookNameDialog.xul b/mailnews/addrbook/content/abAddressBookNameDialog.xul new file mode 100644 index 000000000..f707cd597 --- /dev/null +++ b/mailnews/addrbook/content/abAddressBookNameDialog.xul @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &folderRebuildSummaryFile.explanation; + + diff --git a/mailnews/base/content/folderWidgets.xml b/mailnews/base/content/folderWidgets.xml new file mode 100644 index 000000000..605f4230c --- /dev/null +++ b/mailnews/base/content/folderWidgets.xml @@ -0,0 +1,829 @@ + + + + + + + + + + + + + + + null + + + null + + + + + + + 15 + + + true + + + + + + + false + + + + acct.incomingServer.rootFolder); + } else { + // If we do have a parent folder, then we just build based on those + // subFolders for that parent. + folders = this.toArray(this.fixIterator(this._parentFolder.subFolders, + Ci.nsIMsgFolder)); + } + + this._build(folders); + + // Lastly, we add a listener to get notified of changes in the folder + // structure. + this.MailServices.mailSession.AddFolderListener(this._listener, + Ci.nsIFolderListener.all); + + this._initialized = true; + ]]> + + + + + + 0) { + folders = folders.filter(function(aFolder) { + return !(excludeServers.indexOf(aFolder.server.key) != -1); }); + } + + /* This code block will do the following: Add a menu item that refers + back to the parent folder when there is a showFileHereLabel + attribute or no mode attribute. However the code won't add such a + menu item if one of the following conditions is met: + (*) There is no parent folder + (*) Folder is server and showAccountsFileHere is explicitly false + (*) Current folder has a mode, the parent folder can be selected, + no messages can be filed into the parent folder (e.g. when the + parent folder is a news group or news server) and the folder + mode is not equal to newFolder + + The menu item will have the value of the fileHereLabel attribute as + label or if the attribute does not exist the name of the parent + folder instead. + */ + let parent = this._parentFolder; + if (parent && (this.getAttribute("showFileHereLabel") == "true" || !mode)) { + let showAccountsFileHere = this.getAttribute("showAccountsFileHere"); + if ((!parent.isServer || showAccountsFileHere != "false") && + (!mode || mode == "newFolder" || parent.noSelect || + parent.canFileMessages || showAccountsFileHere == "true")) { + var menuitem = document.createElement("menuitem"); + menuitem._folder = this._parentFolder; + menuitem.setAttribute("generated", "true"); + if (this.hasAttribute("fileHereLabel")) { + menuitem.setAttribute("label", this.getAttribute("fileHereLabel")); + menuitem.setAttribute("accesskey", this.getAttribute("fileHereAccessKey")); + } else { + menuitem.setAttribute("label", this._parentFolder.prettyName); + menuitem.setAttribute("class", "folderMenuItem menuitem-iconic"); + this._setCssSelectors(this._parentFolder, menuitem); + } + // Eww. have to support some legacy code here... + menuitem.setAttribute("id", this._parentFolder.URI); + this.appendChild(menuitem); + + if (this._parentFolder.noSelect) + menuitem.setAttribute("disabled", "true"); + + var sep= document.createElement("menuseparator"); + sep.setAttribute("generated", "true"); + this.appendChild(sep); + } + } + + let globalInboxFolder = null; + // See if this is the toplevel menu (usually with accounts). + if (!this._parentFolder) { + // Some menus want a "Recent" option, but that should only be on our + // top-level menu + if (this.getAttribute("showRecent") == "true") + this._buildRecentMenu(); + // If we are showing the accounts for deferring, move Local Folders to the top. + if (mode == "deferred") { + globalInboxFolder = this.MailServices.accounts.localFoldersServer + .rootFolder; + let localFoldersIndex = folders.indexOf(globalInboxFolder); + if (localFoldersIndex != -1) { + folders.splice(localFoldersIndex, 1); + folders.unshift(globalInboxFolder); + } + } + // If we're the root of the folder hierarchy, then we actually don't + // want to sort the folders, but rather the accounts to which the + // folders belong. Since that sorting was already done, we don't need + // to do anything for that case here. + } else { + // Sorts the list of folders. We give first priority to the sortKey + // property if it is available, otherwise a case-insensitive + // comparison of names. + folders = folders.sort(function nameCompare(a, b) { + return a.compareSortKeys(b); + }); + } + + /* In some cases, the user wants to have a list of subfolders for only + * some account types (or maybe all of them). So we use this to + * determine what the user wanted. + */ + var shouldExpand; + var labels = null; + if (this.getAttribute("expandFolders") == "true" || + !this.hasAttribute("expandFolders")) { + shouldExpand = function (e) { return true; }; + } else if (this.getAttribute("expandFolders") == "false") { + shouldExpand = function (e) { return false; }; + } else { + /* We want a subfolder list for only some servers. We also may need + * to create headers to select the servers. If so, then headlabels + * is a comma-delimited list of labels corresponding to the server + * types specified in expandFolders. + */ + var types = this.getAttribute("expandFolders").split(/ *, */); + // Set the labels. labels[type] = label + if (this.hasAttribute("headlabels")) { + var labelNames = this.getAttribute("headlabels").split(/ *, */); + labels = {}; + // If the length isn't equal, don't give them any of the labels, + // since any combination will probably be wrong. + if (labelNames.length == types.length) { + for (var index in types) + labels[types[index]] = labelNames[index]; + } + } + shouldExpand = function (e) { return types.indexOf(e) != -1; }; + } + + // We need to call this, or hasSubFolders will always return false. + // Remove this workaround when Bug 502900 is fixed. + this.MailUtils.discoverFolders(); + this._serversOnly = true; + + for (let folder of folders) { + let node; + if (!folder.isServer) + this._serversOnly = false; + + // If we're going to add subFolders, we need to make menus, not + // menuitems. + if (!folder.hasSubFolders || !shouldExpand(folder.server.type)) { + node = document.createElement("menuitem"); + // Grumble, grumble, legacy code support + node.setAttribute("id", folder.URI); + node.setAttribute("class", "folderMenuItem menuitem-iconic"); + node.setAttribute("generated", "true"); + this.appendChild(node); + } else { + this._serversOnly = false; + //xxx this is slightly problematic in that we haven't confirmed + // whether any of the subfolders will pass the filter + node = document.createElement("menu"); + node.setAttribute("class", "folderMenuItem menu-iconic"); + node.setAttribute("generated", "true"); + this.appendChild(node); + + // Create the submenu + // (We must use cloneNode here because on OS X the native menu + // functionality and very sad limitations of XBL1 cause the bindings + // to never get created for popup if we create a new element. We + // perform a shallow clone to avoid picking up any of our children.) + var popup = this.cloneNode(false); + popup._parentFolder = folder; + popup.setAttribute("class", this.getAttribute("class")); + popup.setAttribute("type", this.getAttribute("type")); + if (this.hasAttribute("fileHereLabel")) + popup.setAttribute("fileHereLabel", + this.getAttribute("fileHereLabel")); + popup.setAttribute("showFileHereLabel", + this.getAttribute("showFileHereLabel")); + popup.setAttribute("oncommand", + this.getAttribute("oncommand")); + popup.setAttribute("mode", + this.getAttribute("mode")); + if (this.hasAttribute("disableServers")) + popup.setAttribute("disableServers", + this.getAttribute("disableServers")); + if (this.hasAttribute("position")) + popup.setAttribute("position", + this.getAttribute("position")); + + // If there are labels, add the labels now + if (labels) { + var serverNode = document.createElement("menuitem"); + serverNode.setAttribute("label", labels[folder.server.type]); + serverNode._folder = folder; + serverNode.setAttribute("generated", "true"); + popup.appendChild(serverNode); + var sep = document.createElement("menuseparator"); + sep.setAttribute("generated", "true"); + popup.appendChild(sep); + } + + popup.setAttribute("generated", "true"); + node.appendChild(popup); + } + + if (disableServers.indexOf(folder.server.key) != -1) + node.setAttribute("disabled", "true"); + + node._folder = folder; + let label = ""; + if (mode == "deferred" && folder.isServer && + folder.server.rootFolder == globalInboxFolder) { + label = this._stringBundle.get("globalInbox", [folder.prettyName]); + } else { + label = folder.prettyName; + } + node.setAttribute("label", label); + this._setCssSelectors(folder, node); + } + ]]> + + + + + f.canFileMessages); + + let recentFolders = this.getMostRecentFolders(allFolders, + this._MAXRECENT, + "MRMTime"); + + // Cache the pretty names so that they do not need to be fetched + // _MAXRECENT^2 times later. + recentFolders = recentFolders.map( + function (f) { return { folder: f, name: f.prettyName } }); + + // Because we're scanning across multiple accounts, we can end up with + // several folders with the same name. Find those dupes. + let dupeNames = new Set(); + for (let i = 0; i < recentFolders.length; i++) { + for (let j = i + 1; j < recentFolders.length; j++) { + if (recentFolders[i].name == recentFolders[j].name) + dupeNames.add(recentFolders[i].name); + } + } + + for (let folderItem of recentFolders) { + // If this folder name appears multiple times in the recent list, + // append the server name to disambiguate. + // TODO: + // - maybe this could use verboseFolderFormat from messenger.properties + // instead of hardcoded " - ". + // - disambiguate folders with same name in same account + // (in different subtrees). + let label = folderItem.name; + if (dupeNames.has(label)) + label += " - " + folderItem.folder.server.prettyName; + + folderItem.label = label; + } + + // Make sure the entries are sorted alphabetically. + recentFolders.sort((a, b) => this.folderNameCompare(a.label, b.label)); + + // Now create the Recent folder and its children + var menu = document.createElement("menu"); + menu.setAttribute("label", this.getAttribute("recentLabel")); + menu.setAttribute("accesskey", this.getAttribute("recentAccessKey")); + var popup = document.createElement("menupopup"); + popup.setAttribute("class", this.getAttribute("class")); + popup.setAttribute("generated", "true"); + menu.appendChild(popup); + + // Create entries for each of the recent folders. + for (let folderItem of recentFolders) { + let node = document.createElement("menuitem"); + + node.setAttribute("label", folderItem.label); + node._folder = folderItem.folder; + + node.setAttribute("class", "folderMenuItem menuitem-iconic"); + this._setCssSelectors(folderItem.folder, node); + node.setAttribute("generated", "true"); + popup.appendChild(node); + } + menu.setAttribute("generated", "true"); + this.appendChild(menu); + if (!recentFolders.length) + menu.setAttribute("disabled", "true"); + + var sep = document.createElement("menuseparator"); + sep.setAttribute("generated", "true"); + this.appendChild(sep); + ]]> + + + + + + + + + + + null + + + + + + + + + + + + + + = 0; i--) { + let child = this.childNodes[i]; + if (child.getAttribute("generated") != "true") + continue; + if ("_teardown" in child) + child._teardown(); + child.remove(); + } + + this._removeListener(); + + this._initialized = false; + ]]> + + + + + + + this._ensureInitialized(); + + + + diff --git a/mailnews/base/content/jsTreeView.js b/mailnews/base/content/jsTreeView.js new file mode 100644 index 000000000..abec7df4a --- /dev/null +++ b/mailnews/base/content/jsTreeView.js @@ -0,0 +1,235 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * This file contains a prototype object designed to make the implementation of + * nsITreeViews in javascript simpler. This object requires that consumers + * override the _rebuild function. This function must set the _rowMap object to + * an array of objects fitting the following interface: + * + * readonly attribute string id - a unique identifier for the row/object + * readonly attribute integer level - the hierarchy level of the row + * attribute boolean open - whether or not this item's children are exposed + * string getText(aColName) - return the text to display for this row in the + * specified column + * string getProperties() - return the css-selectors + * attribute array children - return an array of child-objects also meeting this + * interface + */ + +function PROTO_TREE_VIEW() { + this._tree = null; + this._rowMap = []; + this._persistOpenMap = []; +} + +PROTO_TREE_VIEW.prototype = { + get rowCount() { + return this._rowMap.length; + }, + + /** + * CSS files will cue off of these. Note that we reach into the rowMap's + * items so that custom data-displays can define their own properties + */ + getCellProperties: function jstv_getCellProperties(aRow, aCol) { + return this._rowMap[aRow].getProperties(aCol); + }, + + /** + * The actual text to display in the tree + */ + getCellText: function jstv_getCellText(aRow, aCol) { + return this._rowMap[aRow].getText(aCol.id); + }, + + /** + * The jstv items take care of assigning this when building children lists + */ + getLevel: function jstv_getLevel(aIndex) { + return this._rowMap[aIndex].level; + }, + + /** + * This is easy since the jstv items assigned the _parent property when making + * the child lists + */ + getParentIndex: function jstv_getParentIndex(aIndex) { + return this._rowMap.indexOf(this._rowMap[aIndex]._parent); + }, + + /** + * This is duplicative for our normal jstv views, but custom data-displays may + * want to do something special here + */ + getRowProperties: function jstv_getRowProperties(aRow) { + return this._rowMap[aRow].getProperties(); + }, + + /** + * If an item in our list has the same level and parent as us, it's a sibling + */ + hasNextSibling: function jstv_hasNextSibling(aIndex, aNextIndex) { + let targetLevel = this._rowMap[aIndex].level; + for (let i = aNextIndex + 1; i < this._rowMap.length; i++) { + if (this._rowMap[i].level == targetLevel) + return true; + if (this._rowMap[i].level < targetLevel) + return false; + } + return false; + }, + + /** + * If we have a child-list with at least one element, we are a container. + */ + isContainer: function jstv_isContainer(aIndex) { + return this._rowMap[aIndex].children.length > 0; + }, + + isContainerEmpty: function jstv_isContainerEmpty(aIndex) { + // If the container has no children, the container is empty. + return !this._rowMap[aIndex].children.length; + }, + + /** + * Just look at the jstv item here + */ + isContainerOpen: function jstv_isContainerOpen(aIndex) { + return this._rowMap[aIndex].open; + }, + + isEditable: function jstv_isEditable(aRow, aCol) { + // We don't support editing rows in the tree yet. + return false; + }, + + isSeparator: function jstv_isSeparator(aIndex) { + // There are no separators in our trees + return false; + }, + + isSorted: function jstv_isSorted() { + // We do our own customized sorting + return false; + }, + + setTree: function jstv_setTree(aTree) { + this._tree = aTree; + }, + + recursivelyAddToMap: function jstv_recursivelyAddToMap(aChild, aNewIndex) { + // When we add sub-children, we're going to need to increase our index + // for the next add item at our own level. + let currentCount = this._rowMap.length; + if (aChild.children.length && aChild.open) { + for (let [i, child] in Iterator(this._rowMap[aNewIndex].children)) { + let index = aNewIndex + i + 1; + this._rowMap.splice(index, 0, child); + aNewIndex += this.recursivelyAddToMap(child, index); + } + } + return this._rowMap.length - currentCount; + }, + + /** + * Opens or closes a container with children. The logic here is a bit hairy, so + * be very careful about changing anything. + */ + toggleOpenState: function jstv_toggleOpenState(aIndex) { + + // Ok, this is a bit tricky. + this._rowMap[aIndex]._open = !this._rowMap[aIndex].open; + + if (!this._rowMap[aIndex].open) { + // We're closing the current container. Remove the children + + // Note that we can't simply splice out children.length, because some of + // them might have children too. Find out how many items we're actually + // going to splice + let level = this._rowMap[aIndex].level; + let row = aIndex + 1; + while (row < this._rowMap.length && this._rowMap[row].level > level) { + row++; + } + let count = row - aIndex - 1; + this._rowMap.splice(aIndex + 1, count); + + // Remove us from the persist map + let index = this._persistOpenMap.indexOf(this._rowMap[aIndex].id); + if (index != -1) + this._persistOpenMap.splice(index, 1); + + // Notify the tree of changes + if (this._tree) { + this._tree.rowCountChanged(aIndex + 1, -count); + } + } else { + // We're opening the container. Add the children to our map + + // Note that these children may have been open when we were last closed, + // and if they are, we also have to add those grandchildren to the map + let oldCount = this._rowMap.length; + this.recursivelyAddToMap(this._rowMap[aIndex], aIndex); + + // Add this container to the persist map + let id = this._rowMap[aIndex].id; + if (this._persistOpenMap.indexOf(id) == -1) + this._persistOpenMap.push(id); + + // Notify the tree of changes + if (this._tree) + this._tree.rowCountChanged(aIndex + 1, this._rowMap.length - oldCount); + } + + // Invalidate the toggled row, so that the open/closed marker changes + if (this._tree) + this._tree.invalidateRow(aIndex); + }, + + // We don't implement any of these at the moment + canDrop: function jstv_canDrop(aIndex, aOrientation) {}, + drop: function jstv_drop(aRow, aOrientation) {}, + performAction: function jstv_performAction(aAction) {}, + performActionOnCell: function jstv_performActionOnCell(aAction, aRow, aCol) {}, + performActionOnRow: function jstv_performActionOnRow(aAction, aRow) {}, + selectionChanged: function jstv_selectionChanged() {}, + setCellText: function jstv_setCellText(aRow, aCol, aValue) {}, + setCellValue: function jstv_setCellValue(aRow, aCol, aValue) {}, + getCellValue: function jstv_getCellValue(aRow, aCol) {}, + getColumnProperties: function jstv_getColumnProperties(aCol) { return ""; }, + getImageSrc: function jstv_getImageSrc(aRow, aCol) {}, + getProgressMode: function jstv_getProgressMode(aRow, aCol) {}, + cycleCell: function jstv_cycleCell(aRow, aCol) {}, + cycleHeader: function jstv_cycleHeader(aCol) {}, + + _tree: null, + + /** + * An array of jstv items, where each item corresponds to a row in the tree + */ + _rowMap: null, + + /** + * This is a javascript map of which containers we had open, so that we can + * persist their state over-time. It is designed to be used as a JSON object. + */ + _persistOpenMap: null, + + _restoreOpenStates: function jstv__restoreOpenStates() { + // Note that as we iterate through here, .length may grow + for (let i = 0; i < this._rowMap.length; i++) { + if (this._persistOpenMap.indexOf(this._rowMap[i].id) != -1) + this.toggleOpenState(i); + } + }, + + QueryInterface: function QueryInterface(aIID) { + if (aIID.equals(Components.interfaces.nsITreeView) || + aIID.equals(Components.interfaces.nsISupports)) + return this; + + throw Components.results.NS_ERROR_NO_INTERFACE; + } +}; diff --git a/mailnews/base/content/junkCommands.js b/mailnews/base/content/junkCommands.js new file mode 100644 index 000000000..6332d193f --- /dev/null +++ b/mailnews/base/content/junkCommands.js @@ -0,0 +1,456 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + /* functions use for junk processing commands + * + * TODO: These functions make the false assumption that a view only contains + * a single folder. This is not true for XF saved searches. + * + * globals prerequisites used: + * + * window.MsgStatusFeedback + * + * One of: + * GetSelectedIndices(view) (in suite) + * gFolderDisplay (in mail) + * + * messenger + * gMessengerBundle + * gDBView + * either gMsgFolderSelected or gFolderDisplay + * MsgJunkMailInfo(aCheckFirstUse) + * SetNextMessageAfterDelete() + * pref + * msgWindow + */ + +Components.utils.import("resource:///modules/mailServices.js"); +Components.utils.import("resource:///modules/MailUtils.js"); +Components.utils.import("resource://gre/modules/Services.jsm"); + +/* + * determineActionsForJunkMsgs + * + * Determines the actions that should be carried out on the messages + * that are being marked as junk + * + * @param aFolder + * the folder with messages being marked as junk + * + * @return an object with two properties: 'markRead' (boolean) indicating + * whether the messages should be marked as read, and 'junkTargetFolder' + * (nsIMsgFolder) specifying where the messages should be moved, or + * null if they should not be moved. + */ +function determineActionsForJunkMsgs(aFolder) +{ + var actions = { markRead: false, junkTargetFolder: null }; + var spamSettings = aFolder.server.spamSettings; + + // note we will do moves/marking as read even if the spam + // feature is disabled, since the user has asked to use it + // despite the disabling + + actions.markRead = spamSettings.markAsReadOnSpam; + actions.junkTargetFolder = null; + + // move only when the corresponding setting is activated + // and the currently viewed folder is not the junk folder. + if (spamSettings.moveOnSpam && + !(aFolder.flags & Components.interfaces.nsMsgFolderFlags.Junk)) + { + var spamFolderURI = spamSettings.spamFolderURI; + if (!spamFolderURI) + { + // XXX TODO + // we should use nsIPromptService to inform the user of the problem, + // e.g. when the junk folder was accidentally deleted. + dump('determineActionsForJunkMsgs: no spam folder found, not moving.'); + } + else + actions.junkTargetFolder = MailUtils.getFolderForURI(spamFolderURI); + } + + return actions; +} + +/** + * performActionsOnJunkMsgs + * + * Performs required operations on a list of newly-classified junk messages + * + * @param aFolder + * the folder with messages being marked as junk + * + * @param aJunkMsgHdrs + * nsIArray containing headers (nsIMsgDBHdr) of new junk messages + * + * @param aGoodMsgHdrs + * nsIArray containing headers (nsIMsgDBHdr) of new good messages + */ + function performActionsOnJunkMsgs(aFolder, aJunkMsgHdrs, aGoodMsgHdrs) +{ + if (aFolder instanceof Components.interfaces.nsIMsgImapMailFolder) // need to update IMAP custom flags + { + if (aJunkMsgHdrs.length) + { + var junkMsgKeys = new Array(); + for (var i = 0; i < aJunkMsgHdrs.length; i++) + junkMsgKeys[i] = aJunkMsgHdrs.queryElementAt(i, Components.interfaces.nsIMsgDBHdr).messageKey; + aFolder.storeCustomKeywords(null, "Junk", "NonJunk", junkMsgKeys, junkMsgKeys.length); + } + + if (aGoodMsgHdrs.length) + { + var goodMsgKeys = new Array(); + for (var i = 0; i < aGoodMsgHdrs.length; i++) + goodMsgKeys[i] = aGoodMsgHdrs.queryElementAt(i, Components.interfaces.nsIMsgDBHdr).messageKey; + aFolder.storeCustomKeywords(null, "NonJunk", "Junk", goodMsgKeys, goodMsgKeys.length); + } + } + + if (aJunkMsgHdrs.length) + { + var actionParams = determineActionsForJunkMsgs(aFolder); + if (actionParams.markRead) + aFolder.markMessagesRead(aJunkMsgHdrs, true); + + if (actionParams.junkTargetFolder) + MailServices.copy + .CopyMessages(aFolder, aJunkMsgHdrs, actionParams.junkTargetFolder, + true /* isMove */, null, msgWindow, true /* allow undo */); + } +} + +/** + * MessageClassifier + * + * Helper object storing the list of pending messages to process, + * and implementing junk processing callback + * + * @param aFolder + * the folder with messages to be analyzed for junk + * @param aTotalMessages + * Number of messages to process, used for progress report only + */ + +function MessageClassifier(aFolder, aTotalMessages) +{ + this.mFolder = aFolder; + this.mJunkMsgHdrs = Components.classes["@mozilla.org/array;1"] + .createInstance(Components.interfaces.nsIMutableArray); + this.mGoodMsgHdrs = Components.classes["@mozilla.org/array;1"] + .createInstance(Components.interfaces.nsIMutableArray); + this.mMessages = new Object(); + this.mMessageQueue = new Array(); + this.mTotalMessages = aTotalMessages; + this.mProcessedMessages = 0; + this.firstMessage = true; + this.lastStatusTime = Date.now(); +} + +MessageClassifier.prototype = +{ + /** + * analyzeMessage + * + * Starts the message classification process for a message. If the message + * sender's address is whitelisted, the message is skipped. + * + * @param aMsgHdr + * The header (nsIMsgDBHdr) of the message to classify. + * @param aSpamSettings + * nsISpamSettings object with information about whitelists + */ + analyzeMessage: function(aMsgHdr, aSpamSettings) + { + var junkscoreorigin = aMsgHdr.getStringProperty("junkscoreorigin"); + if (junkscoreorigin == "user") // don't override user-set junk status + return; + + // check whitelisting + if (aSpamSettings.checkWhiteList(aMsgHdr)) + { + // message is ham from whitelist + var db = aMsgHdr.folder.msgDatabase; + db.setStringProperty(aMsgHdr.messageKey, "junkscore", + Components.interfaces.nsIJunkMailPlugin.IS_HAM_SCORE); + db.setStringProperty(aMsgHdr.messageKey, "junkscoreorigin", "whitelist"); + this.mGoodMsgHdrs.appendElement(aMsgHdr, false); + return; + } + + var messageURI = aMsgHdr.folder.generateMessageURI(aMsgHdr.messageKey) + "?fetchCompleteMessage=true"; + this.mMessages[messageURI] = aMsgHdr; + if (this.firstMessage) + { + this.firstMessage = false; + MailServices.junk.classifyMessage(messageURI, msgWindow, this); + } + else + this.mMessageQueue.push(messageURI); + }, + + /* + * nsIJunkMailClassificationListener implementation + * onMessageClassified + * + * Callback function from nsIJunkMailPlugin with classification results + * + * @param aClassifiedMsgURI + * URI of classified message + * @param aClassification + * Junk classification (0: UNCLASSIFIED, 1: GOOD, 2: JUNK) + * @param aJunkPercent + * 0 - 100 indicator of junk likelihood, with 100 meaning probably junk + */ + onMessageClassified: function(aClassifiedMsgURI, aClassification, aJunkPercent) + { + if (!aClassifiedMsgURI) + return; // ignore end of batch + var nsIJunkMailPlugin = Components.interfaces.nsIJunkMailPlugin; + var score = (aClassification == nsIJunkMailPlugin.JUNK) ? + nsIJunkMailPlugin.IS_SPAM_SCORE : nsIJunkMailPlugin.IS_HAM_SCORE; + const statusDisplayInterval = 1000; // milliseconds between status updates + + // set these props via the db (instead of the message header + // directly) so that the nsMsgDBView knows to update the UI + // + var msgHdr = this.mMessages[aClassifiedMsgURI]; + var db = msgHdr.folder.msgDatabase; + db.setStringProperty(msgHdr.messageKey, "junkscore", score); + db.setStringProperty(msgHdr.messageKey, "junkscoreorigin", "plugin"); + db.setStringProperty(msgHdr.messageKey, "junkpercent", aJunkPercent); + + if (aClassification == nsIJunkMailPlugin.JUNK) + this.mJunkMsgHdrs.appendElement(msgHdr, false); + else if (aClassification == nsIJunkMailPlugin.GOOD) + this.mGoodMsgHdrs.appendElement(msgHdr, false); + + var nextMsgURI = this.mMessageQueue.shift(); + if (nextMsgURI) + { + ++this.mProcessedMessages; + if (Date.now() > this.lastStatusTime + statusDisplayInterval) + { + this.lastStatusTime = Date.now(); + var percentDone = 0; + if (this.mTotalMessages) + percentDone = Math.round(this.mProcessedMessages * 100 / this.mTotalMessages); + var percentStr = percentDone + "%"; + window.MsgStatusFeedback.showStatusString( + document.getElementById("bundle_messenger") + .getFormattedString("junkAnalysisPercentComplete", + [percentStr])); + } + + MailServices.junk.classifyMessage(nextMsgURI, msgWindow, this); + } + else + { + window.MsgStatusFeedback.showStatusString( + document.getElementById("bundle_messenger") + .getString("processingJunkMessages")); + performActionsOnJunkMsgs(this.mFolder, this.mJunkMsgHdrs, this.mGoodMsgHdrs); + window.MsgStatusFeedback.showStatusString(""); + } + } +} + +/* + * filterFolderForJunk + * + * Filter all messages in the current folder for junk + */ +function filterFolderForJunk() { processFolderForJunk(true); } + +/* + * analyzeMessagesForJunk + * + * Filter selected messages in the current folder for junk + */ +function analyzeMessagesForJunk() { processFolderForJunk(false); } + +/* + * processFolderForJunk + * + * Filter messages in the current folder for junk + * + * @param aAll: true to filter all messages, else filter selection + */ +function processFolderForJunk(aAll) +{ + MsgJunkMailInfo(true); + + if (aAll) + { + // need to expand all threads, so we analyze everything + gDBView.doCommand(nsMsgViewCommandType.expandAll); + var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView); + var count = treeView.rowCount; + if (!count) + return; + } + else + { + // suite uses GetSelectedIndices, mail uses gFolderDisplay.selectedMessages + var indices = typeof GetSelectedIndices != "undefined" ? + GetSelectedIndices(gDBView) : + gFolderDisplay.selectedIndices; + if (!indices || !indices.length) + return; + } + var totalMessages = aAll ? count : indices.length; + + // retrieve server and its spam settings via the header of an arbitrary message + for (var i = 0; i < totalMessages; i++) + { + var index = aAll ? i : indices[i]; + try + { + var tmpMsgURI = gDBView.getURIForViewIndex(index); + break; + } + catch (e) + { + // dummy headers will fail, so look for another + continue; + } + } + if (!tmpMsgURI) + return; + + var tmpMsgHdr = messenger.messageServiceFromURI(tmpMsgURI).messageURIToMsgHdr(tmpMsgURI); + var spamSettings = tmpMsgHdr.folder.server.spamSettings; + + // create a classifier instance to classify messages in the folder. + var msgClassifier = new MessageClassifier(tmpMsgHdr.folder, totalMessages); + + for ( i = 0; i < totalMessages; i++) + { + var index = aAll ? i : indices[i]; + try + { + var msgURI = gDBView.getURIForViewIndex(index); + var msgHdr = messenger.messageServiceFromURI(msgURI).messageURIToMsgHdr(msgURI); + msgClassifier.analyzeMessage(msgHdr, spamSettings); + } + catch (ex) + { + // blow off errors here - dummy headers will fail + var msgURI = null; + } + } + if (msgClassifier.firstMessage) // the async plugin was not used, maybe all whitelisted? + performActionsOnJunkMsgs(msgClassifier.mFolder, + msgClassifier.mJunkMsgHdrs, + msgClassifier.mGoodMsgHdrs); +} + +function JunkSelectedMessages(setAsJunk) +{ + MsgJunkMailInfo(true); + + // When the user explicitly marks a message as junk, we can mark it as read, + // too. This is independent of the "markAsReadOnSpam" pref, which applies + // only to automatically-classified messages. + // Note that this behaviour should match the one in the back end for marking + // as junk via clicking the 'junk' column. + + if (setAsJunk && Services.prefs.getBoolPref("mailnews.ui.junk.manualMarkAsJunkMarksRead")) + MarkSelectedMessagesRead(true); + + gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk + : nsMsgViewCommandType.unjunk); +} + +/** + * Delete junk messages in the current folder. This provides the guarantee that + * the method will be synchronous if no messages are deleted. + * + * @returns The number of messages deleted. + */ +function deleteJunkInFolder() +{ + MsgJunkMailInfo(true); + + // use direct folder commands if possible so we don't mess with the selection + let selectedFolder = gFolderDisplay.displayedFolder; + if ( !(selectedFolder.flags & Components.interfaces.nsMsgFolderFlags.Virtual) ) + { + var junkMsgHdrs = Components.classes["@mozilla.org/array;1"] + .createInstance(Components.interfaces.nsIMutableArray); + var enumerator = gDBView.msgFolder.messages; + while (enumerator.hasMoreElements()) + { + var msgHdr = enumerator.getNext().QueryInterface(Components.interfaces.nsIMsgDBHdr); + var junkScore = msgHdr.getStringProperty("junkscore"); + if (junkScore == Components.interfaces.nsIJunkMailPlugin.IS_SPAM_SCORE) + junkMsgHdrs.appendElement(msgHdr, false); + } + + if (junkMsgHdrs.length) + gDBView.msgFolder.deleteMessages(junkMsgHdrs, msgWindow, false, false, null, true); + return junkMsgHdrs.length; + } + + // Folder is virtual, let the view do the work (but we lose selection) + + // need to expand all threads, so we find everything + gDBView.doCommand(nsMsgViewCommandType.expandAll); + + var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView); + var count = treeView.rowCount; + if (!count) + return 0; + + var treeSelection = treeView.selection; + + var clearedSelection = false; + + // select the junk messages + var messageUri; + let numMessagesDeleted = 0; + for (var i = 0; i < count; ++i) + { + try { + messageUri = gDBView.getURIForViewIndex(i); + } + catch (ex) {continue;} // blow off errors for dummy rows + var msgHdr = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri); + var junkScore = msgHdr.getStringProperty("junkscore"); + var isJunk = (junkScore == Components.interfaces.nsIJunkMailPlugin.IS_SPAM_SCORE); + // if the message is junk, select it. + if (isJunk) + { + // only do this once + if (!clearedSelection) + { + // clear the current selection + // since we will be deleting all selected messages + treeSelection.clearSelection(); + clearedSelection = true; + treeSelection.selectEventsSuppressed = true; + } + treeSelection.rangedSelect(i, i, true /* augment */); + numMessagesDeleted++; + } + } + + // if we didn't clear the selection + // there was no junk, so bail. + if (!clearedSelection) + return 0; + + treeSelection.selectEventsSuppressed = false; + // delete the selected messages + // + // We'll leave no selection after the delete + gNextMessageViewIndexAfterDelete = nsMsgViewIndex_None; + gDBView.doCommand(nsMsgViewCommandType.deleteMsg); + treeSelection.clearSelection(); + ClearMessagePane(); + return numMessagesDeleted; +} + diff --git a/mailnews/base/content/junkLog.js b/mailnews/base/content/junkLog.js new file mode 100644 index 000000000..148f0e507 --- /dev/null +++ b/mailnews/base/content/junkLog.js @@ -0,0 +1,33 @@ +/* -*- Mode: JavaScript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +Components.utils.import("resource://gre/modules/Services.jsm"); + +var gLogView; +var gLogFile; + +function onLoad() +{ + gLogView = document.getElementById("logView"); + gLogView.docShell.allowJavascript = false; // for security, disable JS + + gLogFile = Services.dirsvc.get("ProfD", Components.interfaces.nsIFile); + gLogFile.append("junklog.html"); + + if (gLogFile.exists()) + { + // convert the file to a URL so we can load it. + gLogView.setAttribute("src", Services.io.newFileURI(gLogFile).spec); + } +} + +function clearLog() +{ + if (gLogFile.exists()) + { + gLogFile.remove(false); + gLogView.setAttribute("src", "about:blank"); // we don't have a log file to show + } +} diff --git a/mailnews/base/content/junkLog.xul b/mailnews/base/content/junkLog.xul new file mode 100644 index 000000000..49e8796c3 --- /dev/null +++ b/mailnews/base/content/junkLog.xul @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/mailnews/compose/content/menulistCompactBindings.xml b/mailnews/compose/content/menulistCompactBindings.xml new file mode 100644 index 000000000..5ca277347 --- /dev/null +++ b/mailnews/compose/content/menulistCompactBindings.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/mailnews/compose/content/sendProgress.js b/mailnews/compose/content/sendProgress.js new file mode 100644 index 000000000..8354cf953 --- /dev/null +++ b/mailnews/compose/content/sendProgress.js @@ -0,0 +1,171 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +var nsIMsgCompDeliverMode = Components.interfaces.nsIMsgCompDeliverMode; + +// dialog is just an array we'll use to store various properties from the dialog document... +var dialog; + +// the msgProgress is a nsIMsgProgress object +var msgProgress = null; + +// random global variables... +var itsASaveOperation = false; +var gSendProgressStringBundle; + +// all progress notifications are done through the nsIWebProgressListener implementation... +var progressListener = { + onStateChange: function(aWebProgress, aRequest, aStateFlags, aStatus) + { + if (aStateFlags & Components.interfaces.nsIWebProgressListener.STATE_START) + { + // Put progress meter in undetermined mode. + dialog.progress.setAttribute("mode", "undetermined"); + } + + if (aStateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP) + { + // we are done sending/saving the message... + // Indicate completion in status area. + var msg; + if (itsASaveOperation) + msg = gSendProgressStringBundle.getString("messageSaved"); + else + msg = gSendProgressStringBundle.getString("messageSent"); + dialog.status.setAttribute("value", msg); + + // Put progress meter at 100%. + dialog.progress.setAttribute("value", 100); + dialog.progress.setAttribute("mode", "normal"); + var percentMsg = gSendProgressStringBundle.getFormattedString("percentMsg", [100]); + dialog.progressText.setAttribute("value", percentMsg); + + window.close(); + } + }, + + onProgressChange: function(aWebProgress, aRequest, aCurSelfProgress, aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress) + { + // Calculate percentage. + var percent; + if (aMaxTotalProgress > 0) + { + percent = Math.round(aCurTotalProgress / aMaxTotalProgress * 100); + if (percent > 100) + percent = 100; + + dialog.progress.removeAttribute("mode"); + + // Advance progress meter. + dialog.progress.setAttribute("value", percent); + + // Update percentage label on progress meter. + var percentMsg = gSendProgressStringBundle.getFormattedString("percentMsg", [percent]); + dialog.progressText.setAttribute("value", percentMsg); + } + else + { + // Progress meter should be barber-pole in this case. + dialog.progress.setAttribute("mode", "undetermined"); + // Update percentage label on progress meter. + dialog.progressText.setAttribute("value", ""); + } + }, + + onLocationChange: function(aWebProgress, aRequest, aLocation, aFlags) + { + // we can ignore this notification + }, + + onStatusChange: function(aWebProgress, aRequest, aStatus, aMessage) + { + if (aMessage != "") + dialog.status.setAttribute("value", aMessage); + }, + + onSecurityChange: function(aWebProgress, aRequest, state) + { + // we can ignore this notification + }, + + QueryInterface : function(iid) + { + if (iid.equals(Components.interfaces.nsIWebProgressListener) || + iid.equals(Components.interfaces.nsISupportsWeakReference) || + iid.equals(Components.interfaces.nsISupports)) + return this; + + throw Components.results.NS_NOINTERFACE; + } +}; + +function onLoad() +{ + // Set global variables. + let subject = ""; + gSendProgressStringBundle = document.getElementById("sendProgressStringBundle"); + + msgProgress = window.arguments[0]; + if (!msgProgress) + { + Components.utils.reportError("Invalid argument to sendProgress.xul."); + window.close(); + return; + } + + if (window.arguments[1]) + { + let progressParams = window.arguments[1].QueryInterface(Components.interfaces.nsIMsgComposeProgressParams); + if (progressParams) + { + itsASaveOperation = (progressParams.deliveryMode != nsIMsgCompDeliverMode.Now); + subject = progressParams.subject; + } + } + + if (subject) { + let title = itsASaveOperation ? "titleSaveMsgSubject" : "titleSendMsgSubject"; + document.title = gSendProgressStringBundle.getFormattedString(title, [subject]); + } else { + let title = itsASaveOperation ? "titleSaveMsg" : "titleSendMsg"; + document.title = gSendProgressStringBundle.getString(title); + } + + dialog = {}; + dialog.status = document.getElementById("dialog.status"); + dialog.progress = document.getElementById("dialog.progress"); + dialog.progressText = document.getElementById("dialog.progressText"); + + // set our web progress listener on the helper app launcher + msgProgress.registerListener(progressListener); +} + +function onUnload() +{ + if (msgProgress) + { + try + { + msgProgress.unregisterListener(progressListener); + msgProgress = null; + } catch (e) {} + } +} + +// If the user presses cancel, tell the app launcher and close the dialog... +function onCancel() +{ + // Cancel app launcher. + try + { + msgProgress.processCanceledByUser = true; + } catch (e) + { + return true; + } + + // don't Close up dialog by returning false, the backend will close the dialog when everything will be aborted. + return false; +} diff --git a/mailnews/compose/content/sendProgress.xul b/mailnews/compose/content/sendProgress.xul new file mode 100644 index 000000000..45508387f --- /dev/null +++ b/mailnews/compose/content/sendProgress.xul @@ -0,0 +1,50 @@ + + + + + + + + + + + + diff --git a/mailnews/extensions/smime/content/am-smimeOverlay.xul b/mailnews/extensions/smime/content/am-smimeOverlay.xul new file mode 100644 index 000000000..eb76b4b2c --- /dev/null +++ b/mailnews/extensions/smime/content/am-smimeOverlay.xul @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + +