Bug 1399756 - remove trailing spaces from IDL files in mailnews. rs=white-space-only
authorJorg K
Mon, 18 Dec 2017 23:37:21 +0100
changeset 29787 12a18e736fca9a9ac8e0866caf470fa9342af842
parent 29786 8c5ae32e395e84c2d9c682679df2e2d2ebfabdf5
child 29788 196822e358c0ee72c217cff8e4f32ae9688c28f1
push id2108
push userclokep@gmail.com
push dateMon, 22 Jan 2018 17:53:55 +0000
treeherdercomm-beta@c44930d8ad9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhite-space-only
bugs1399756
Bug 1399756 - remove trailing spaces from IDL files in mailnews. rs=white-space-only
mailnews/addrbook/public/nsIAbAddressCollector.idl
mailnews/addrbook/public/nsIAbBooleanExpression.idl
mailnews/addrbook/public/nsIAbCard.idl
mailnews/addrbook/public/nsIAbCollection.idl
mailnews/addrbook/public/nsIAbDirFactory.idl
mailnews/addrbook/public/nsIAbDirFactoryService.idl
mailnews/addrbook/public/nsIAbDirSearchListener.idl
mailnews/addrbook/public/nsIAbDirectory.idl
mailnews/addrbook/public/nsIAbDirectoryQuery.idl
mailnews/addrbook/public/nsIAbDirectorySearch.idl
mailnews/addrbook/public/nsIAbItem.idl
mailnews/addrbook/public/nsIAbLDAPAttributeMap.idl
mailnews/addrbook/public/nsIAbLDAPCard.idl
mailnews/addrbook/public/nsIAbLDAPDirectory.idl
mailnews/addrbook/public/nsIAbLDAPReplicationQuery.idl
mailnews/addrbook/public/nsIAbLDAPReplicationService.idl
mailnews/addrbook/public/nsIAbLDIFService.idl
mailnews/addrbook/public/nsIAbListener.idl
mailnews/addrbook/public/nsIAbMDBDirectory.idl
mailnews/addrbook/public/nsIAbManager.idl
mailnews/addrbook/public/nsIAbView.idl
mailnews/addrbook/public/nsIAddbookUrl.idl
mailnews/addrbook/public/nsIAddrDatabase.idl
mailnews/base/public/nsIFolderListener.idl
mailnews/base/public/nsIIncomingServerListener.idl
mailnews/base/public/nsIMapiRegistry.idl
mailnews/base/public/nsIMessenger.idl
mailnews/base/public/nsIMessengerOSIntegration.idl
mailnews/base/public/nsIMessengerWindowService.idl
mailnews/base/public/nsIMsgAccountManager.idl
mailnews/base/public/nsIMsgBiffManager.idl
mailnews/base/public/nsIMsgCopyServiceListener.idl
mailnews/base/public/nsIMsgCustomColumnHandler.idl
mailnews/base/public/nsIMsgDBView.idl
mailnews/base/public/nsIMsgFolder.idl
mailnews/base/public/nsIMsgFolderCache.idl
mailnews/base/public/nsIMsgFolderListener.idl
mailnews/base/public/nsIMsgFolderNotificationService.idl
mailnews/base/public/nsIMsgHdr.idl
mailnews/base/public/nsIMsgIdentity.idl
mailnews/base/public/nsIMsgIncomingServer.idl
mailnews/base/public/nsIMsgMailNewsUrl.idl
mailnews/base/public/nsIMsgMdnGenerator.idl
mailnews/base/public/nsIMsgMessageService.idl
mailnews/base/public/nsIMsgOfflineManager.idl
mailnews/base/public/nsIMsgProgress.idl
mailnews/base/public/nsIMsgProtocolInfo.idl
mailnews/base/public/nsIMsgPurgeService.idl
mailnews/base/public/nsIMsgShutdown.idl
mailnews/base/public/nsIMsgStatusFeedback.idl
mailnews/base/public/nsIMsgTagService.idl
mailnews/base/public/nsIMsgWindow.idl
mailnews/base/public/nsISpamSettings.idl
mailnews/base/public/nsMsgMessageFlags.idl
mailnews/base/search/public/nsIMsgFilterCustomAction.idl
mailnews/base/search/public/nsIMsgFilterHitNotify.idl
mailnews/base/search/public/nsIMsgFilterList.idl
mailnews/base/search/public/nsIMsgFilterPlugin.idl
mailnews/base/search/public/nsIMsgSearchAdapter.idl
mailnews/base/search/public/nsIMsgSearchTerm.idl
mailnews/base/search/public/nsMsgSearchCore.idl
mailnews/compose/public/nsIMsgAttachment.idl
mailnews/compose/public/nsIMsgCompose.idl
mailnews/compose/public/nsIMsgComposeParams.idl
mailnews/compose/public/nsIMsgComposeProgressParams.idl
mailnews/compose/public/nsIMsgComposeSecure.idl
mailnews/compose/public/nsIMsgComposeService.idl
mailnews/compose/public/nsIMsgSend.idl
mailnews/compose/public/nsIMsgSendLater.idl
mailnews/compose/public/nsIMsgSendListener.idl
mailnews/compose/public/nsIMsgSendReport.idl
mailnews/compose/public/nsISmtpServer.idl
mailnews/compose/public/nsISmtpService.idl
mailnews/compose/public/nsIURLFetcher.idl
mailnews/db/msgdb/public/nsIDBChangeAnnouncer.idl
mailnews/db/msgdb/public/nsIDBChangeListener.idl
mailnews/db/msgdb/public/nsIMsgDatabase.idl
mailnews/db/msgdb/public/nsIMsgOfflineImapOperation.idl
mailnews/extensions/mailviews/public/nsIMsgMailViewList.idl
mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl
mailnews/extensions/smime/public/nsIMsgSMIMECompFields.idl
mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl
mailnews/extensions/smime/public/nsISMimeJSHelper.idl
mailnews/imap/public/nsIAutoSyncFolderStrategy.idl
mailnews/imap/public/nsIAutoSyncManager.idl
mailnews/imap/public/nsIAutoSyncMsgStrategy.idl
mailnews/imap/public/nsIAutoSyncState.idl
mailnews/imap/public/nsIImapIncomingServer.idl
mailnews/imap/public/nsIImapMailFolderSink.idl
mailnews/imap/public/nsIImapMessageSink.idl
mailnews/imap/public/nsIImapMockChannel.idl
mailnews/imap/public/nsIImapProtocolSink.idl
mailnews/imap/public/nsIImapServerSink.idl
mailnews/imap/public/nsIMailboxSpec.idl
mailnews/imap/public/nsIMsgImapMailFolder.idl
mailnews/intl/nsICharsetConverterManager.idl
mailnews/local/public/nsIMovemailService.idl
mailnews/local/public/nsIMsgLocalMailFolder.idl
mailnews/local/public/nsIRssService.idl
mailnews/mapi/mapihook/build/msgMapi.idl
mailnews/mapi/mapihook/public/nsIMapiSupport.idl
mailnews/mime/public/nsICMSMessage2.idl
mailnews/mime/public/nsIMimeMiscStatus.idl
mailnews/news/public/nsIMsgNewsFolder.idl
mailnews/news/public/nsINNTPNewsgroupList.idl
mailnews/news/public/nsINNTPNewsgroupPost.idl
mailnews/news/public/nsINntpIncomingServer.idl
mailnews/news/public/nsINntpService.idl
--- a/mailnews/addrbook/public/nsIAbAddressCollector.idl
+++ b/mailnews/addrbook/public/nsIAbAddressCollector.idl
@@ -15,17 +15,17 @@ interface nsIAbCard;
 [scriptable, uuid(069d3fba-37d4-4158-b401-a8efaeea0b66)]
 interface nsIAbAddressCollector : nsISupports {
   /**
    * Collects email addresses into the address book.
    * If a card already exists for the email, the first/last/display names
    * will be updated if they are supplied alongside the address.
    * If a card does not exist for the email it will be created if aCreateCard
    * is true.
-   * 
+   *
    * @param  aAddresses  The list of emails (in standard header format)
    *                     to collect into the address book.
    * @param  aCreateCard Set to true if a card should be created if the
    *                     email address doesn't exist.
    * @param  aSendFormat The send format to save for the card. See
    *                     nsIAbPreferMailFormat for values. If updating a card
    *                     this value will only be changed if the current value
    *                     for the card is "unknown".
--- a/mailnews/addrbook/public/nsIAbBooleanExpression.idl
+++ b/mailnews/addrbook/public/nsIAbBooleanExpression.idl
@@ -82,17 +82,17 @@ interface nsIAbBooleanConditionString : 
      */
     attribute string name;
 
     /**
      * The rhs of the condition
      *
      * <name> [condition] value
      *
-     */ 
+     */
     attribute wstring value;
 };
 
 /**
  * N Boolean expression type
  *
  * Supports Unary Binary and N boolean expressions
  *
--- a/mailnews/addrbook/public/nsIAbCard.idl
+++ b/mailnews/addrbook/public/nsIAbCard.idl
@@ -184,17 +184,17 @@ interface nsIAbCard : nsIAbItem {
    *
    * Some properties may not be deleted. However, the implementation will not
    * check this constraint at this method. If such a property is deleted, an
    * error may be thrown when the card is modified at the database level.
    *
    * @param name             The case-sensitive name of the property to set.
    */
   void deleteProperty(in AUTF8String name);
- 
+
   /**
    * @{
    * These properties are shorthand for getProperty and setProperty.
    */
   attribute AString firstName;
   attribute AString lastName;
   attribute AString displayName;
   attribute AString primaryEmail;
@@ -226,17 +226,17 @@ interface nsIAbCard : nsIAbItem {
    */
   AUTF8String translateTo(in AUTF8String aType);
 
   /**
    * Translates a card from the specified format
    */
   //void translateFrom(in AUTF8String aType, in AUTF8String aData);
 
-  /** 
+  /**
    * Generate a phonetic name from the card, using the firstName and lastName
    * values.
    *
    * @param  aLastNameFirst  Set to True to put the last name before the first.
    * @return                 A string containing the generated phonetic name.
    */
   AString generatePhoneticName(in boolean aLastNameFirst);
 
@@ -262,17 +262,17 @@ interface nsIAbCard : nsIAbItem {
    * same object as @arg aCard; another implementation defines it as equality of
    * properties and values.
    *
    * @warning The exact nature of equality is still undefined, and actual
    *          results may not match theoretical results. Most notably, the code
    *          <tt>a.equals(b) == b.equals(a)</tt> might not return true. In
    *          particular, calling equals on cards from different address books
    *          may return inaccurate results.
-   *          
+   *
    *
    * @return                 Equality, as defined above.
    * @param  aCard           The card to compare against.
    */
   boolean equals(in nsIAbCard aCard);
 
   // PROPERTIES TO BE DELETED AS PART OF REWRITE
 
--- a/mailnews/addrbook/public/nsIAbCollection.idl
+++ b/mailnews/addrbook/public/nsIAbCollection.idl
@@ -8,17 +8,17 @@
 interface nsIAbCard;
 interface nsISimpleEnumerator;
 
 /**
  * A collection of address book items.
  */
 [scriptable, uuid(70f6123f-e06b-4101-9750-4ce73b38134b)]
 interface nsIAbCollection : nsIAbItem {
-  
+
   /**
    * Returns true if this collection is read-only.
    */
   readonly attribute boolean readOnly;
 
   /**
    * Returns true if this collection is accessed over a network connection.
    */
@@ -26,17 +26,17 @@ interface nsIAbCollection : nsIAbItem {
 
   /**
    * Returns true if this collection is accessed over a secure connection.
    *
    * If isRemote returns false, then this value MUST be false as well.
    */
   readonly attribute boolean isSecure;
 
-  /** 
+  /**
    * Returns an address book card for the specified email address if found.
    *
    * If there are multiple cards with the given email address, this method will
    * return one of these cards in an implementation-defined manner.
    *
    * Matching is performed in a case-insensitive manner.
    *
    * This method performs a synchronous operation. If the collection cannot do
--- a/mailnews/addrbook/public/nsIAbDirFactory.idl
+++ b/mailnews/addrbook/public/nsIAbDirFactory.idl
@@ -23,13 +23,13 @@ interface nsIAbDirFactory : nsISupports
      *
      * @return          Enumeration of nsIAbDirectory interfaces
      */
     nsISimpleEnumerator getDirectories(in AString aDirName, in ACString aURI,
                                        in ACString aPrefName);
 
     /**
      * Delete a top level address book directory
-     * 
+     *
      */
     void deleteDirectory (in nsIAbDirectory directory);
 };
 
--- a/mailnews/addrbook/public/nsIAbDirFactoryService.idl
+++ b/mailnews/addrbook/public/nsIAbDirFactoryService.idl
@@ -11,17 +11,17 @@ interface nsIAbDirFactory;
 [scriptable, uuid(154a951b-a310-400c-b98f-d769cc5d575f)]
 interface nsIAbDirFactoryService : nsISupports
 {
   /**
    * Obtain a directory factory component given a uri representing an address
    * book. The scheme is extracted from the uri and contract id is generated
    * of the form:
    * @mozilla.org/addressbook/directory-factory;1?name=<scheme>
-   * 
+   *
    * This id is used to instantiate a registered component which implemented
    * the nsIAbDirFactory interface.
    *
    * @param aURI  The uri which contains the scheme that defines what directory
    *              factory instance is returned
    */
   nsIAbDirFactory getDirFactory(in ACString aURI);
 };
--- a/mailnews/addrbook/public/nsIAbDirSearchListener.idl
+++ b/mailnews/addrbook/public/nsIAbDirSearchListener.idl
@@ -1,13 +1,13 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsISupports.idl"
 
 interface nsIAbCard;
 
 [scriptable, uuid(eafe2488-4efb-4ac8-a6b4-7756eb1650a3)]
 interface nsIAbDirSearchListener : nsISupports {
   void onSearchFinished(in long aResult, in AString aErrorMsg);
 
--- a/mailnews/addrbook/public/nsIAbDirectory.idl
+++ b/mailnews/addrbook/public/nsIAbDirectory.idl
@@ -1,13 +1,13 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsIAbCollection.idl"
 #include "nsIAbCard.idl"
 
 interface nsISimpleEnumerator;
 interface nsIArray;
 interface nsIMutableArray;
 
 /* moz-abdirectory:// is the URI to access nsAbBSDirectory,
@@ -157,17 +157,17 @@ interface nsIAbDirectory : nsIAbCollecti
    * @param aIdentity  An optional parameter detailing the identity key (see
    *                   nsIMsgAccountManager) that this autocomplete is being
    *                   run against.
    * @return           True if this directory should/can be used during
    *                   local autocomplete.
    */
   boolean useForAutocomplete(in ACString aIdentityKey);
 
-  /** 
+  /**
    * Does this directory support mailing lists? Note that in the case
    * this directory is a mailing list and nested mailing lists are not
    * supported, this will return false rather than true which the parent
    * directory might.
    */
   readonly attribute boolean supportsMailingLists;
 
   /**
@@ -177,17 +177,17 @@ interface nsIAbDirectory : nsIAbCollecti
    *
    * @note This is a *live* array and not a static copy
    */
   attribute nsIMutableArray addressLists;
 
   // Specific to a directory which stores mail lists
 
   /**
-   * Creates a new mailing list in the directory. Currently only supported 
+   * Creates a new mailing list in the directory. Currently only supported
    * for top-level directories.
    *
    * @param  list  The new mailing list to add.
    * @return The mailing list directory added, which may have been modified.
    */
   nsIAbDirectory addMailList(in nsIAbDirectory list);
 
   /**
@@ -217,17 +217,17 @@ interface nsIAbDirectory : nsIAbCollecti
 
   /**
    * Only creates a top level address book
    * which is stored in the preferences
    *
    * Need to change to factory based approach
    * to create new address books
    *
-   * This method should become redundant or 
+   * This method should become redundant or
    * be only associated with card folders
    *
    * The parameters are the same as for
    * nsIAbManager::newAddressBook
    */
   ACString createNewDirectory(in AString aDirName, in ACString aURI,
                               in unsigned long aType, in ACString aPrefName);
 
--- a/mailnews/addrbook/public/nsIAbDirectoryQuery.idl
+++ b/mailnews/addrbook/public/nsIAbDirectoryQuery.idl
@@ -25,24 +25,24 @@ interface nsIAbDirectoryQueryArguments :
      * Defines the boolean expression for
      * the matching of cards
      *
      */
     attribute nsISupports expression;
 
     /**
      * Defines if sub directories should be
-     * queried 
+     * queried
      *
      */
     attribute boolean querySubDirectories;
 
-    /** 
+    /**
      * A parameter which can be used to pass in data specific to a particular
-     * type of addressbook.  
+     * type of addressbook.
      */
     attribute nsISupports typeSpecificArg;
 
     /**
      * A custom search filter which user wants to use in LDAP query.
      */
     attribute AUTF8String filter;
 };
@@ -52,31 +52,31 @@ interface nsIAbDirectoryQueryArguments :
 interface nsIAbDirectoryQueryPropertyValue : nsISupports
 {
     /**
      * The property which should be matched
      *
      * For example 'primaryEmail' or 'homePhone'
      * for card properties.
      *
-     * Two further properties are defined that 
+     * Two further properties are defined that
      * do not exist as properties on a card.
      *
      * 'card:nsIAbCard' which represents the interface
      * of a card component
      *
      */
     readonly attribute string name;
 
     /**
      * The value of the property
      *
      */
     readonly attribute wstring value;
-    
+
     /**
      * The value of the property
      * as an interface
      *
      * Only valid if the corresponding
      * property name is related to an
      * interface instead of a wstring
      *
--- a/mailnews/addrbook/public/nsIAbDirectorySearch.idl
+++ b/mailnews/addrbook/public/nsIAbDirectorySearch.idl
@@ -10,17 +10,17 @@
  * Searching of cards on a directory.
  *
  * The search data is defined in the query
  * section of the directory URI, for example
  *
  * moz-abldapdirectory://ldap1.holland/dc=sun,dc=com?<query>
  *
  * If no search data is defined then the methods
- * will return immediately with no error. 
+ * will return immediately with no error.
  */
 [scriptable, uuid(ABF26047-37E3-44FD-A28A-6D37A1B9CCB3)]
 interface nsIAbDirectorySearch : nsISupports
 {
     /**
      * Starts a search on the directory.
      *
      * If a search is already being performed
--- a/mailnews/addrbook/public/nsIAbItem.idl
+++ b/mailnews/addrbook/public/nsIAbItem.idl
@@ -36,17 +36,17 @@ interface nsIAbItem : nsISupports {
    * mail.addr_book.lastnamefirst preferences. They are intended to be used in
    * generateName, defined below.
    */
    const unsigned long GENERATE_DISPLAY_NAME = 0;
    const unsigned long GENERATE_LAST_FIRST_ORDER = 1;
    const unsigned long GENERATE_FIRST_LAST_ORDER = 2;
    /** @} */
 
-  /** 
+  /**
    * Generate a name from the item for display purposes.
    *
    * If this item is an nsIAbCard, then it will use the aGenerateFormat option
    * to determine the string to return.
    * If this item is not an nsIAbCard, then the aGenerateFormat option may be
    * ignored, and the displayName of the item returned.
    *
    * @param  aGenerateFormat The format to generate as per the GENERATE_*
--- a/mailnews/addrbook/public/nsIAbLDAPAttributeMap.idl
+++ b/mailnews/addrbook/public/nsIAbLDAPAttributeMap.idl
@@ -1,10 +1,10 @@
 /* -*- Mode: C++; tab-width: 20; 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/. */
 
 #include "nsISupports.idl"
 
 interface nsILDAPMessage;
 interface nsIAbCard;
@@ -12,18 +12,18 @@ interface nsIAbCard;
 /**
  * A mapping between addressbook properties and ldap attributes.
  *
  * Each addressbook property can map to one or more attributes.  If
  * there is no entry in preferences for a field, the getters generally
  * return null; empty strings are passed through as usual. The intent is
  * that properties with a non-zero number of attributes can be overridden for
  * a specific server by supplying a zero-length string.  For this to work,
- * most callers are likely to want to check for both success and a 
- * non-empty string. 
+ * most callers are likely to want to check for both success and a
+ * non-empty string.
  *
  * Note that the one exception to this pattern is getAttributes, which
  * throws NS_ERROR_FAILURE for non-existent property entries, since
  * XPConnect doesn't like returning null arrays.
  *
  * Note that each LDAP attribute can map to at most one addressbook
  * property.  The checkState method is a useful tool in enforcing
  * this.  Failure to enforce it may make it impossible to guarantee
@@ -35,50 +35,50 @@ interface nsIAbCard;
  */
 [scriptable, uuid(fa019fd1-7f3d-417a-8957-154cca0240be)]
 interface nsIAbLDAPAttributeMap : nsISupports
 {
   /**
    * Get all the LDAP attributes associated with a given property
    * name, in order of precedence (highest to lowest).
    *
-   * @param       aProperty   the address book property to return attrs for   
-   *    
+   * @param       aProperty   the address book property to return attrs for
+   *
    * @return      a comma-separated list of attributes, null if no entry is
    *              present
    */
   ACString getAttributeList(in ACString aProperty);
 
   /**
-   * Get all the LDAP attributes associated with a given property name, in 
+   * Get all the LDAP attributes associated with a given property name, in
    * order of precedence (highest to lowest).
-   * 
-   * @param       aProperty   the address book property to return attrs for   
+   *
+   * @param       aProperty   the address book property to return attrs for
    *
    * @return      an array of attributes
    *
    * @exception   NS_ERROR_FAILURE if there is no entry for this property
    */
   void getAttributes(in ACString aProperty, out unsigned long aCount,
                      [retval, array, size_is(aCount)] out string aAttrs);
 
   /**
    * Get the first (canonical) LDAP attribute associated with a given property
    * name
    *
-   * @param       aProperty   the address book property to return attrs for   
-   * 
-   * @return      the first attribute associated with a given property, 
+   * @param       aProperty   the address book property to return attrs for
+   *
+   * @return      the first attribute associated with a given property,
    *              null if there is no entry for this property
    */
   ACString getFirstAttribute(in ACString aProperty);
 
   /**
    * Set an existing mapping to the comma-separated list of attributes.
-   * 
+   *
    * @param aProperty               the mozilla addressbook property name
    *
    * @param aAttributeList          a comma-separated list of attributes in
    *                                order of precedence from high to low
    *
    * @param aAllowInconsistencies   allow changes that would result in
    *                                a map with an LDAP attribute associated
    *                                with more than one property.  Useful for
@@ -89,33 +89,33 @@ interface nsIAbLDAPAttributeMap : nsISup
    *                                with an LDAP attribute pointing to more
    *                                than one property
    */
   void setAttributeList(in ACString aProperty, in ACString aAttributeList,
                         in boolean allowInconsistencies);
 
   /**
    * Find the Mozilla addressbook property name that this attribute should
-   * map to. 
-   * 
+   * map to.
+   *
    * @return the addressbook property name, null if it's not used in the map
    */
   ACString getProperty(in ACString aAttribute);
 
   /**
    * Get all attributes that may be used in an addressbook card via this
    * property map (used for passing to to an LDAP search when you want
    * everything that could be in a card returned).
    *
    * @return                      a comma-separated list of attribute names
    *
    * @exception NS_ERROR_FAILURE  there are no attributes in this property map
    */
   ACString getAllCardAttributes();
-  
+
   /**
    * Get all properties that may be used in an addressbook card via this
    * property map.
    *
    * @return                      an array of properties
    *
    * @exception NS_ERROR_FAILURE  there are no attributes in this property map
    */
@@ -136,17 +136,17 @@ interface nsIAbLDAPAttributeMap : nsISup
    * and to avoid tons of unnecessary crossing of the XPConnect boundary.
    */
 
   /**
    * Set any attributes specified in the given prefbranch on this object.
    *
    * @param aPrefBranchName         the pref branch containing all the
    *                                property names
-   * 
+   *
    * @exception NS_ERROR_FAILURE    one or more LDAP attributes are listed
    *                                multiple times.  The object is now in an
    *                                inconsistent state, and should be either
    *                                manually repaired or discarded.
    */
   void setFromPrefs(in ACString aPrefBranchName);
 
   /**
@@ -160,17 +160,17 @@ interface nsIAbLDAPAttributeMap : nsISup
    *              are found in the message
    */
   void setCardPropertiesFromLDAPMessage(in nsILDAPMessage aMessage,
                                         in nsIAbCard aCard);
 };
 
 /**
  * The nsIAbLDAPAttributeMapService is used to build and hold a cache
- * of maps.  
+ * of maps.
  */
 [scriptable, uuid(12e2d589-3c2a-48e4-8c82-b1e6464a0dfd)]
 interface nsIAbLDAPAttributeMapService : nsISupports
 {
   /**
    * Accessor to construct or return a cached copy of the attribute
    * map for a given preference branch.  The map is constructed by
    * first taking the default map (as specified by the
--- a/mailnews/addrbook/public/nsIAbLDAPCard.idl
+++ b/mailnews/addrbook/public/nsIAbLDAPCard.idl
@@ -38,17 +38,17 @@ interface nsIAbLDAPCard : nsISupports
    * @param  aAttrMap    The map between LDAP attributes and card properties
    * @param  aAttrCount  The number of attributes to use for the RDN
    * @param  aAttributes The name of the attributes to use for the RDN
    *
    */
   ACString buildRdn(in nsIAbLDAPAttributeMap aAttrMap,
                     in unsigned long aAttrCount,
                     [array, size_is(aAttrCount)] in string aAttributes);
-  
+
   /**
    * Stores meta-properties from a raw LDAP search result.
    *
    * @param aMessage     The LDAP search result message.
    *
    */
   void setMetaProperties(in nsILDAPMessage aMessage);
 
--- a/mailnews/addrbook/public/nsIAbLDAPDirectory.idl
+++ b/mailnews/addrbook/public/nsIAbLDAPDirectory.idl
@@ -42,17 +42,17 @@ interface nsIAbLDAPDirectory : nsISuppor
 
   /**
    * The SASL mechanism to use to authenticate to the LDAP server
    * If this is an empty string, then a simple bind will be performed
    * A non-zero string is assumed to be the name of the SASL mechanism.
    * Currently the only supported mechanism is GSSAPI
    */
   attribute ACString saslMechanism;
-  
+
   /**
    * The AuthDN to use to access the server.
    */
   attribute AUTF8String authDn;
 
   /**
    * The maximum number of matches that the server will return per a search.
    */
--- a/mailnews/addrbook/public/nsIAbLDAPReplicationQuery.idl
+++ b/mailnews/addrbook/public/nsIAbLDAPReplicationQuery.idl
@@ -17,17 +17,17 @@ interface nsIAbLDAPDirectory;
 [scriptable, uuid(460a739c-a8c1-4f24-b705-c89d136ab9f5)]
 interface nsIAbLDAPReplicationQuery : nsISupports
 {
   /**
    * initialize for the query
    */
   void init(in nsIAbLDAPDirectory aDirectory,
             in nsIWebProgressListener aProgressListener);
-     
+
   /**
    * Starts an LDAP query to do replication as needed
    */
   void doReplicationQuery();
 
   /**
    * Cancels the currently executing query
    */
@@ -53,15 +53,15 @@ interface nsIAbLDAPChangeLogQuery : nsIS
    * Starts an LDAP query to search server's Root DSE
    */
   void queryRootDSE();
 
   /**
    * Starts an LDAP ChangeLog query to find changelog entries
    */
   void queryChangeLog(in AUTF8String aChangeLogDN, in int32_t aLastChangeNo);
-      
+
   /**
    * Starts an LDAP query to find changed entries
    */
   void queryChangedEntries(in AUTF8String aChangedEntryDN);
 };
 
--- a/mailnews/addrbook/public/nsIAbLDAPReplicationService.idl
+++ b/mailnews/addrbook/public/nsIAbLDAPReplicationService.idl
@@ -7,26 +7,26 @@
 interface nsIWebProgressListener;
 interface nsIAbLDAPDirectory;
 
 /**
  * this service does replication of an LDAP directory to a local Mork AB Database.
  */
 [scriptable, uuid(3f499c70-5ceb-4b91-8b7f-62c366859383)]
 interface nsIAbLDAPReplicationService: nsISupports {
-   
+
    /**
      * Start Replication of given LDAP directory represented by the URI
      */
     void startReplication(in nsIAbLDAPDirectory aDirectory,
 			  in nsIWebProgressListener progressListener);
 
    /**
      * Cancel Replication of given LDAP directory represented by the URI
      */
     void cancelReplication(in nsIAbLDAPDirectory aDirectory);
-  
+
    /**
      * callback when replication is done, failure or success
      */
     void done(in boolean aSuccess);
 };
 
--- a/mailnews/addrbook/public/nsIAbLDIFService.idl
+++ b/mailnews/addrbook/public/nsIAbLDIFService.idl
@@ -2,17 +2,17 @@
 /* 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/. */
 #include "nsISupports.idl"
 
 interface nsIFile;
 interface nsIAddrDatabase;
 
-[scriptable, uuid(7afaa95f-0b1c-4d8a-a65f-bb5073ed6d39)]    
+[scriptable, uuid(7afaa95f-0b1c-4d8a-a65f-bb5073ed6d39)]
 interface nsIAbLDIFService : nsISupports {
 
   /**
    * Determine if a file is likely to be an LDIF file based on field
    * names that commonly appear in LDIF files.
    *
    * @param       aSrc   The file to examine
    *
--- a/mailnews/addrbook/public/nsIAbListener.idl
+++ b/mailnews/addrbook/public/nsIAbListener.idl
@@ -73,18 +73,18 @@ interface nsIAbListener : nsISupports {
    * implementation means that property is either the literal string "DirName"
    * or null, with oldValue and newValue being specified if the property is
    * "DirName" otherwise they are null.
    *
    * @param       item            The item being updated (a directory or a
    *                              card).
    *
    * @param       property        The property of the item being changed.
-   *                              
+   *
    * @param       oldValue        The old value of the item property being
    *                              changed if it is known, null otherwise.
-   *                              
+   *
    * @param       newValue        The new value of the item property being
    *                              changed.
-   *                              
+   *
    */
   void onItemPropertyChanged(in nsISupports item, in string property, in wstring oldValue, in wstring newValue);
 };
--- a/mailnews/addrbook/public/nsIAbMDBDirectory.idl
+++ b/mailnews/addrbook/public/nsIAbMDBDirectory.idl
@@ -1,13 +1,13 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsISupports.idl"
 
 interface nsIFile;
 interface nsIAbDirectory;
 interface nsIAbCard;
 interface nsIAddrDatabase;
 
 %{C++
--- a/mailnews/addrbook/public/nsIAbManager.idl
+++ b/mailnews/addrbook/public/nsIAbManager.idl
@@ -17,17 +17,17 @@ interface nsIAbBooleanExpression;
 /**
  * nsIAbManager is an interface to the main address book mananger
  * via the contract id "@mozilla.org/abmanager;1"
  *
  * It contains the main functions to create and delete address books as well
  * as some helper functions.
  */
 [scriptable, uuid(ea0d8b3d-a549-4874-82d8-3a82cee2a3f1)]
-interface nsIAbManager : nsISupports 
+interface nsIAbManager : nsISupports
 {
   /**
    * Returns an enumerator containing all the top-level directories
    * (non-recursive)
    */
   readonly attribute nsISimpleEnumerator directories;
 
   /**
@@ -125,17 +125,17 @@ interface nsIAbManager : nsISupports
    * Call to notify the registered listeners when a directory item is removed.
    *
    * @param  aParentDirectory  The parent directory of the item that has been
    *                           removed.
    * @param  aItem             The item that has been removed.
    */
   void notifyDirectoryItemDeleted(in nsIAbDirectory aParentDirectory,
                                   in nsISupports aItem);
-  
+
   /**
    * Call to notify the registered listeners when a directory is removed.
    *
    * @param  aParentDirectory  The parent directory of the directory that has
    *                           been removed.
    * @param  aDirectory        The directory that has been removed.
    */
   void notifyDirectoryDeleted(in nsIAbDirectory aParentDirectory,
--- a/mailnews/addrbook/public/nsIAbView.idl
+++ b/mailnews/addrbook/public/nsIAbView.idl
@@ -100,10 +100,10 @@ interface nsIAbView : nsISupports
    * Swaps the first and last name order, and updates the appropriate
    * preference.
    */
   void swapFirstNameLastName();
 
   /**
    *  Returns an array of the currently selected addresses.
    */
-  readonly attribute nsIArray selectedAddresses; 
+  readonly attribute nsIArray selectedAddresses;
 };
--- a/mailnews/addrbook/public/nsIAddbookUrl.idl
+++ b/mailnews/addrbook/public/nsIAddbookUrl.idl
@@ -1,19 +1,19 @@
 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* 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/. */
 
 #include "nsIURI.idl"
 
 [scriptable, uuid(6EB9D874-01AA-11d4-8FBE-000064657374)]
-interface nsIAddbookUrlOperation 
-{ 
-    const long InvalidUrl = 0;  
+interface nsIAddbookUrlOperation
+{
+    const long InvalidUrl = 0;
     const long PrintAddressBook = 1;
 	const long AddVCard = 2;
 };
 
 [builtinclass, uuid(5f965083-e866-4bfb-ba40-13c344395798)]
 interface nsIAddbookUrl : nsIURI {
   readonly attribute long addbookOperation;
 };
--- a/mailnews/addrbook/public/nsIAddrDatabase.idl
+++ b/mailnews/addrbook/public/nsIAddrDatabase.idl
@@ -17,17 +17,17 @@ interface nsISimpleEnumerator;
 %{C++
 // this is the prefix we for attributes that are specific
 // to the mozilla addressbook, and weren't in 4.x and aren't specified in
 // RFC 2789.  used when exporting and import LDIF
 // see nsTextAddress.cpp, nsAddressBook.cpp
 #define MOZ_AB_LDIF_PREFIX "mozilla"
 
 // note, GeneratedName is not a real column
-// if you change any of this, make sure to change 
+// if you change any of this, make sure to change
 // Get / Set CardValue in nsAbCardProperty.cpp
 #define kPhoneticNameColumn       "_PhoneticName"
 #define kAddressCharSetColumn     "AddrCharSet"
 #define kMailListName             "ListName"
 #define kMailListNickName         "ListNickName"
 #define kMailListDescription      "ListDescription"
 #define kMailListTotalAddresses   "ListTotalAddresses"
 // not shown in the UI
@@ -36,32 +36,32 @@ interface nsISimpleEnumerator;
 
 // Palm Integration
 #define  CARD_ATTRIB_PALMID "PalmRecId"
 #define  CARD_ATTRIB_DISPLAY "DisplayName"
 
 %}
 
 [scriptable, uuid(20d4c6c3-0460-403e-aa9c-813654641566)]
-interface nsAddrDBCommitType 
+interface nsAddrDBCommitType
 {
   const long kLargeCommit = 1;
   const long kSessionCommit = 2;
   const long kCompressCommit = 3;
 };
 
 [scriptable, uuid(c54973e4-d251-4b93-a0d0-81a616225061)]
 interface nsIAddrDatabase : nsIAddrDBAnnouncer {
 
   /**
    * Path to the address book database that this instance represents.
    */
   attribute nsIFile dbPath;
   nsIAddrDatabase open(in nsIFile dbFile, in boolean create, in boolean upgrading);
-             
+
   void close(in boolean forceCommit);
 
   /**
    * Open the MDB database synchronously creating it if required. If
    * successful, this routine will set up the m_mdbStore and m_mdbEnv of the
    * database object so other database calls can work.
    *
    * @param     dbName                      The location of the database file
@@ -279,17 +279,17 @@ interface nsIAddrDatabase : nsIAddrDBAnn
    * @param     aPListRow      the row to which the column will be added.
    * @param     aPos           the position of the card in the mailing list.
    * @param     aPNewCard      a pointer to hold the new card added to the row.
    * @param     aInMailingList If set to true, the card is already present
    *                           in the mailing list
    * @param     aParent        parent mailing list to which the card
    *                           is added. If set to null, listeners of the
    *                           database will not be notified of card creation.
-   * @param     aRoot          If the card is created while creating a new mailing 
+   * @param     aRoot          If the card is created while creating a new mailing
    *                           list, its set to the parent addressbook.
    *                           Set to null in other case.
    */
   void AddListCardColumnsToRow(in nsIAbCard aPCard,
                                in nsIMdbRow aPListRow,
                                in unsigned long aPos,
                                out nsIAbCard aPNewCard,
                                in boolean aInMailingList,
--- a/mailnews/base/public/nsIFolderListener.idl
+++ b/mailnews/base/public/nsIFolderListener.idl
@@ -10,53 +10,53 @@ interface nsIMsgDBHdr;
 
 typedef unsigned long folderListenerNotifyFlagValue;
 
 [scriptable, uuid(f60ee1a2-6d81-422c-958f-d408b1b2daa7)]
 interface nsIFolderListener : nsISupports {
   const folderListenerNotifyFlagValue added = 0x1;
   void OnItemAdded(in nsIMsgFolder aParentItem,
                    in nsISupports aItem);
-  
+
   const folderListenerNotifyFlagValue removed = 0x2;
   void OnItemRemoved(in nsIMsgFolder aParentItem,
                      in nsISupports aItem);
-  
+
   const folderListenerNotifyFlagValue propertyChanged = 0x4;
   void OnItemPropertyChanged(in nsIMsgFolder aItem,
                              in ACString aProperty,
                              in string aOldValue,
                              in string aNewValue);
-  
+
   const folderListenerNotifyFlagValue intPropertyChanged = 0x8;
   // While this property handles long long (64bit wide) values,
   // the Javascript engine will only pass values up to 2^53 to the consumers.
   void OnItemIntPropertyChanged(in nsIMsgFolder aItem,
                                 in ACString aProperty,
                                 in long long aOldValue,
                                 in long long aNewValue);
-  
+
   const folderListenerNotifyFlagValue boolPropertyChanged = 0x10;
   void OnItemBoolPropertyChanged(in nsIMsgFolder aItem,
                                  in ACString aProperty,
                                  in boolean aOldValue,
                                  in boolean aNewValue);
-  
+
   const folderListenerNotifyFlagValue unicharPropertyChanged = 0x20;
   void OnItemUnicharPropertyChanged(in nsIMsgFolder aItem,
                                     in ACString aProperty,
                                     in wstring aOldValue,
                                     in wstring aNewValue);
-  
+
   const folderListenerNotifyFlagValue propertyFlagChanged = 0x40;
   void OnItemPropertyFlagChanged(in nsIMsgDBHdr aItem,
                                  in ACString aProperty,
                                  in unsigned long aOldFlag,
                                  in unsigned long aNewFlag);
 
   const folderListenerNotifyFlagValue event = 0x80;
   void OnItemEvent(in nsIMsgFolder aItem, in ACString aEvent);
-  
-  const folderListenerNotifyFlagValue all = 0xFFFFFFFF; 
+
+  const folderListenerNotifyFlagValue all = 0xFFFFFFFF;
 
   //  void OnFolderLoaded(in nsIMsgFolder aFolder);
   //  void OnDeleteOrMoveMessagesCompleted(in nsIMsgFolder aFolder);
 };
--- a/mailnews/base/public/nsIIncomingServerListener.idl
+++ b/mailnews/base/public/nsIIncomingServerListener.idl
@@ -1,14 +1,14 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsISupports.idl"
 #include "nsIMsgIncomingServer.idl"
 
 [scriptable, uuid(E6B64B86-90CB-11d3-8B02-0060B0FC04D2)]
 interface nsIIncomingServerListener : nsISupports {
   /**
    * Notification sent when a server is first loaded into the account manager.
    *
--- a/mailnews/base/public/nsIMapiRegistry.idl
+++ b/mailnews/base/public/nsIMapiRegistry.idl
@@ -5,17 +5,17 @@
 #include "nsISupports.idl"
 
 interface mozIDOMWindowProxy;
 
 /**
  * This interface provides support for registering Mozilla as the default
  * Mail Client. This interface can also be used to get/set the user preference
  * for the default Mail Client.
- * 
+ *
  */
 
 [scriptable, uuid(47D707C3-4369-46A6-A053-5118E12579D6)]
 interface nsIMapiRegistry: nsISupports {
 
    /** This is set to TRUE if Mozilla is the default mail application
     */
    attribute boolean isDefaultMailClient;
@@ -35,16 +35,16 @@ interface nsIMapiRegistry: nsISupports {
     * Call this only if Mozilla is not the default Mail client
     */
    void showMailIntegrationDialog(in mozIDOMWindowProxy parentWindow);
 
    /* After being installed, when we first launch, make sure we add the correct
     OS registry entries to make us show up as regsitered mail and news client
     in the OS
    */
-   
+
    void registerMailAndNewsClient();
 };
 
 %{C++
 #define NS_IMAPIREGISTRY_CONTRACTID    "@mozilla.org/mapiregistry;1"
 #define NS_IMAPIREGISTRY_CLASSNAME "Mozilla MAPI Registry"
 %}
--- a/mailnews/base/public/nsIMessenger.idl
+++ b/mailnews/base/public/nsIMessenger.idl
@@ -77,18 +77,18 @@ interface nsIMessenger : nsISupports {
                       [array, size_is(count)] in wstring filenameArray,
                       [array, size_is(count)] in string messageUriArray);
 
     void openAttachment(in ACString contentTpe, in ACString url, in ACString displayName, in ACString messageUri, in boolean isExternalAttachment);
     void saveAttachment(in ACString contentTpe, in ACString url, in ACString displayName, in ACString messageUri, in boolean isExternalAttachment);
     void saveAllAttachments(in unsigned long count, [array, size_is(count)] in string contentTypeArray,
                             [array, size_is(count)] in string urlArray, [array, size_is(count)] in string displayNameArray,
                             [array, size_is(count)] in string messageUriArray);
-    
-    void saveAttachmentToFile(in nsIFile aFile, in ACString aUrl, in ACString aMessageUri, 
+
+    void saveAttachmentToFile(in nsIFile aFile, in ACString aUrl, in ACString aMessageUri,
                               in ACString aContentType, in nsIUrlListener aListener);
 
     /**
      * For a single message and attachments, save these attachments to a file, and
      *  remove from the message. No warning windows will appear, so this is
      *  suitable for use in test and filtering.
      *
      * @param aDestFolder       Folder to save files in
@@ -117,25 +117,25 @@ interface nsIMessenger : nsISupports {
     nsIFile saveAttachmentToFolder(in ACString contentType, in ACString url, in ACString displayName, in ACString messageUri, in nsIFile aDestFolder);
 
     readonly attribute ACString lastDisplayedMessageUri;
 
     nsIMsgMessageService messageServiceFromURI(in ACString aUri);
     nsIMsgDBHdr msgHdrFromURI(in ACString aUri);
     // For back forward history, we need a list of visited messages,
     // and where we are in the list.
-    
+
     // aPos is relative to the current history cursor - 1 is forward, -1 is back.
     // Unfortunately, you must call this before navigating to this position,
     // because calling this has the side effect of making us adjust our current
     // history pos, and *not* adding the loaded message to the history queue.
     ACString getMsgUriAtNavigatePos(in long aPos);
     ACString getFolderUriAtNavigatePos(in long aPos);
     attribute long navigatePos;
     // If caller just wants the count and cur pos, they can pass in a null history pointer, which will be more efficient
     // if they want a list suitable for display in a back/forward menu drop down, they should pass in a aHistory pointer,
-    // and they'll get returned an array with strings containing something like subject and sender of the message - 
+    // and they'll get returned an array with strings containing something like subject and sender of the message -
     // other possible info is the folder containing the message, and the preview text, if available.
     void getNavigateHistory(out unsigned long aCurPos, out unsigned long aCount, [array, size_is(aCount)] out string aHistory);
 
     AString formatFileSize(in unsigned long long aPos, [optional] in boolean aUseKB);
 };
 
--- a/mailnews/base/public/nsIMessengerOSIntegration.idl
+++ b/mailnews/base/public/nsIMessengerOSIntegration.idl
@@ -2,13 +2,13 @@
 /* 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/. */
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(d9e45fee-1dd1-11b2-938c-9147855ed837)]
 interface nsIMessengerOSIntegration : nsISupports {
-  // for now, nothing.  it's up to the implementation to 
+  // for now, nothing.  it's up to the implementation to
   // do all the work of registering itself as listeners
   // all we guarantee is your service will be created
   // when accounts are loaded by the account manager
 };
--- a/mailnews/base/public/nsIMessengerWindowService.idl
+++ b/mailnews/base/public/nsIMessengerWindowService.idl
@@ -6,12 +6,12 @@
 #include "nsISupports.idl"
 #include "MailNewsTypes2.idl"
 
 [scriptable, uuid(113a1a5a-1dd2-11b2-b1b7-a85ccc06c8ce)]
 interface nsIMessengerWindowService : nsISupports {
     /* aWindowType --> the type of window you want to create. i.e. "mail:3pane"
        aFolderURI --> the folder resource you want pre-selected (if any)
      aMsgKey --> a particular message you may want selected in that folder (if any)
-  */ 
+  */
   void openMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
 };
 
--- a/mailnews/base/public/nsIMsgAccountManager.idl
+++ b/mailnews/base/public/nsIMsgAccountManager.idl
@@ -43,23 +43,23 @@ interface nsIMsgAccountManager : nsISupp
    * (suffix of contract ID @mozilla.org/messenger/server;1?type= )
    */
   nsIMsgIncomingServer createIncomingServer(in ACString username,
                                             in ACString hostname,
                                             in ACString type);
 
   /**
    * Removes the server from the list of servers
-   * 
+   *
    * @param aServer        server to remove
    * @param aRemoveFiles   remove directory from profile
    *
-   * @throws NS_ERROR_FAILURE if server not found 
+   * @throws NS_ERROR_FAILURE if server not found
    */
-  void removeIncomingServer(in nsIMsgIncomingServer aServer, 
+  void removeIncomingServer(in nsIMsgIncomingServer aServer,
                             in boolean aRemoveFiles);
   /*
    * get the identity with the given key
    * if the identity does not exist, it will be created
    */
   nsIMsgIdentity getIdentity(in ACString key);
 
   /*
@@ -95,31 +95,31 @@ interface nsIMsgAccountManager : nsISupp
 
   /* summary of summary files folder cache */
   readonly attribute nsIMsgFolderCache folderCache;
 
   /* are we shutting down */
   readonly attribute boolean shutdownInProgress;
 
   /**
-   * for preventing unauthenticated users from seeing header information 
+   * for preventing unauthenticated users from seeing header information
    */
   attribute boolean userNeedsToAuthenticate;
   /*
    * search for the server with the given username, hostname, and type
    * the type is the same as is specified in the preferences,
    * i.e. "imap", "pop3", "none", or "nntp"
    */
   nsIMsgIncomingServer
       FindServer(in ACString userName, in ACString hostname, in ACString type);
 
   /*
    * search for the server with the given uri
    * an analog to FindServer()
-   * The boolean flag selects whether we compare input against the    
+   * The boolean flag selects whether we compare input against the
    * 'realhostname' and 'realuserName' pref settings.
    */
   nsIMsgIncomingServer
       findServerByURI(in nsIURI aURI, in boolean aRealFlag);
 
   /*
    * Same as FindServer() except it compares the input values against
    * 'realhostname' and 'realuserName' pref settings.
@@ -158,17 +158,17 @@ interface nsIMsgAccountManager : nsISupp
   nsIArray getServersForIdentity(in nsIMsgIdentity identity);
 
   /* there is a special server "Local Folders" that is guaranteed to exist.
    * this will allow you to get */
   attribute nsIMsgIncomingServer localFoldersServer;
 
   // Create the account for that special server.
   void createLocalMailAccount();
-  
+
   /* load accounts kicks off the creation of all accounts. You do not need
    * to call this and all accounts should be loaded lazily if you use any
    * of the above.
    */
   void LoadAccounts();
 
   void setSpecialFolders();
 
--- a/mailnews/base/public/nsIMsgBiffManager.idl
+++ b/mailnews/base/public/nsIMsgBiffManager.idl
@@ -1,13 +1,13 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsISupports.idl"
 #include "nsIMsgIncomingServer.idl"
 
 [scriptable, uuid(17275D52-1622-11d3-8A84-0060B0FC04D2)]
 interface nsIMsgBiffManager : nsISupports {
 
   void init();
   void addServerBiff(in nsIMsgIncomingServer server);
--- a/mailnews/base/public/nsIMsgCopyServiceListener.idl
+++ b/mailnews/base/public/nsIMsgCopyServiceListener.idl
@@ -8,26 +8,26 @@
 #include "MailNewsTypes2.idl"
 
 [scriptable, uuid(da6b9843-5464-4630-b121-c5970aa3d6ed)]
 interface nsIMsgCopyServiceListener : nsISupports {
 
     /**
      * Notify the observer that the message has started to be copied. This
      * method is called only once, at the beginning of a message
-     * copyoperation. 
+     * copyoperation.
      */
     void OnStartCopy();
 
     /**
      * Notify the observer that progress as occurred for the message copy
      * aProgress -
      * aProgressMax -
      */
-    void OnProgress(in uint32_t aProgress, 
+    void OnProgress(in uint32_t aProgress,
                     in uint32_t aProgressMax);
 
     /**
      * Setting newly created message key. This method is taylored specifically
      * for nsIMsgCopyService::CopyFileMessage() when saveing Drafts/Templates.
      * We need to have a way to inform the client what's the key of the newly
      * created message.
      * aKey -
@@ -41,16 +41,16 @@ interface nsIMsgCopyServiceListener : ns
      * support uidplus we have to use search comman to retrieve the key of
      * newly created message. Message ID generated by the compose gurantee its
      * uniqueness.
      * aMessageId -
      */
     void GetMessageId(out ACString aMessageId);
 
     /**
-     * Notify the observer that the message copied operation has completed.  
+     * Notify the observer that the message copied operation has completed.
      * This method is called regardless of whether the the operation was
      * successful.
      * aStatus - indicate whether the operation was succeeded
      */
     void OnStopCopy(in nsresult aStatus);
 };
 
--- a/mailnews/base/public/nsIMsgCustomColumnHandler.idl
+++ b/mailnews/base/public/nsIMsgCustomColumnHandler.idl
@@ -13,30 +13,30 @@ interface nsIMsgDBHdr;
        1. isEditable
        2. GetCellProperties
        3. GetImageSrc
        4. GetCellText
        5. CycleCell
        6. GetSortStringForRow
        7. GetSortLongForRow
        8. isString
-       
-       You can, at your option, implement 
+
+       You can, at your option, implement
        9.  GetRowProperties.
 
        With Bug 1192696, Grouped By Sort was implemented for custom columns.
        Implementers should consider that the value returned by GetSortStringForRow
        will be displayed in the grouped header row, as well as be used as the
        sort string.
 
-      If implementing a c++ custom column handler, you must define all 
+      If implementing a c++ custom column handler, you must define all
       nsITreeView and nsIMsgCustomColumnHandler methods.
     */
 
 
 [scriptable, uuid(00f75b13-3ac4-4a17-a8b9-c6e4dd1b3f32)]
 interface nsIMsgCustomColumnHandler : nsITreeView
 {
   AString getSortStringForRow(in nsIMsgDBHdr aHdr);
   unsigned long getSortLongForRow(in nsIMsgDBHdr aHdr);
   boolean isString();
-}; 
+};
 
--- a/mailnews/base/public/nsIMsgDBView.idl
+++ b/mailnews/base/public/nsIMsgDBView.idl
@@ -78,52 +78,52 @@ interface nsMsgViewSortType
   const nsMsgViewSortTypeValue byCustom = 0x22;
   const nsMsgViewSortTypeValue byReceived = 0x23;
   const nsMsgViewSortTypeValue byCorrespondent = 0x24;
 };
 
 [scriptable, uuid(255d1c1e-fde7-11d4-a5be-0060b0fc04b7)]
 interface nsMsgViewNotificationCode
 {
-  const nsMsgViewNotificationCodeValue none = 0;        
+  const nsMsgViewNotificationCodeValue none = 0;
   /* No change; this call is just being used to potentially nest other sets of calls
-     inside it.  The "where" and "num" parameters are unused. 
+     inside it.  The "where" and "num" parameters are unused.
    */
-  const nsMsgViewNotificationCodeValue insertOrDelete = 1;    
+  const nsMsgViewNotificationCodeValue insertOrDelete = 1;
   /* Some lines have been inserted or deleted.
      The "where" parameter will indicate the first line that has been added or
      removed; the "num" parameter will indicate how many lines, and will be positive on
-     an insertion and negative on a deletion. 
+     an insertion and negative on a deletion.
    */
-  const nsMsgViewNotificationCodeValue changed = 2;      
+  const nsMsgViewNotificationCodeValue changed = 2;
   /* Some lines have had their contents changed (e.g., messages have been marked read
     or something.)  "where" indicates the first line with a change; "num" indicates
-    how many chaged. 
+    how many chaged.
    */
- const nsMsgViewNotificationCodeValue  scramble = 3;  
+ const nsMsgViewNotificationCodeValue  scramble = 3;
  /* Everything changed.  Probably means we resorted the folder.  We are still working
     with the same set of items, or at least have some overlap, but all the indices are
-    invalid.  The "where" and "num" parameters are unused. 
+    invalid.  The "where" and "num" parameters are unused.
   */
   const nsMsgViewNotificationCodeValue all = 4;
   /* Everything changed.  We're now not displaying anything like what we were; we
      probably opened a new folder or something. The FE needs to forget anything it ever knew
      about what was being displayed, and start over.  The "where" and "num" parameters are
-     unused.  
+     unused.
    */
   const nsMsgViewNotificationCodeValue totalContentChanged = 5;
   /* Introduced for the address book to support virtual list views.  The total number of
       entries on the LDAP directory has changed and the FE must update its scrollbar.  The
-      "num" parameter contains the total number of entries on the LDAP server. 
+      "num" parameter contains the total number of entries on the LDAP server.
    */
-  const nsMsgViewNotificationCodeValue newTopIndex = 6;        
+  const nsMsgViewNotificationCodeValue newTopIndex = 6;
   /* Introduced for the address book to support virtual list views.  The virtual list view
      cache data has changed and the FE view may be out of date.  The view should be updated
      so that the first/top index in the view is the index in the "where" parameter.  The
-     scrollbar should be updated to match the new position. 
+     scrollbar should be updated to match the new position.
    */
 
 };
 
 [scriptable, uuid(4ec9248e-0108-11d5-a5be-0060b0fc04b7)]
 interface nsMsgViewCommandCheckState
 {
   const nsMsgViewCommandCheckStateValue notUsed = 0;
@@ -132,29 +132,29 @@ interface nsMsgViewCommandCheckState
 };
 
 [scriptable, uuid(ad36e6cc-0109-11d5-a5be-0060b0fc04b7)]
 interface nsMsgViewCommandType
 {
   const nsMsgViewCommandTypeValue markMessagesRead = 0;
   const nsMsgViewCommandTypeValue markMessagesUnread = 1;
   const nsMsgViewCommandTypeValue toggleMessageRead = 2;
-                   
+
   const nsMsgViewCommandTypeValue flagMessages = 3;
   const nsMsgViewCommandTypeValue unflagMessages = 4;
 
   const nsMsgViewCommandTypeValue toggleThreadWatched = 6;
 
   const nsMsgViewCommandTypeValue deleteMsg = 7;
   const nsMsgViewCommandTypeValue deleteNoTrash = 8;
   const nsMsgViewCommandTypeValue markThreadRead = 9;
   const nsMsgViewCommandTypeValue markAllRead = 10;
   const nsMsgViewCommandTypeValue expandAll = 11;
   const nsMsgViewCommandTypeValue collapseAll = 12;
-  
+
   const nsMsgViewCommandTypeValue copyMessages = 13;
   const nsMsgViewCommandTypeValue moveMessages = 14;
 
   const nsMsgViewCommandTypeValue selectAll = 15;
   const nsMsgViewCommandTypeValue downloadSelectedForOffline = 16;
   const nsMsgViewCommandTypeValue downloadFlaggedForOffline = 17;
 
   const nsMsgViewCommandTypeValue selectThread = 18;
@@ -196,45 +196,45 @@ interface nsMsgNavigationType
   const nsMsgNavigationTypeValue nextUnreadFolder = 11;
   const nsMsgNavigationTypeValue nextFolder = 12;
   const nsMsgNavigationTypeValue readMore = 13;
   /**
    * Go back to the previous visited message
    */
   const nsMsgNavigationTypeValue back = 15;
   /**
-   * Go forward to the previous visited message 
+   * Go forward to the previous visited message
    */
   const nsMsgNavigationTypeValue forward = 16;
   const nsMsgNavigationTypeValue firstFlagged = 17;
   const nsMsgNavigationTypeValue nextFlagged = 18;
   const nsMsgNavigationTypeValue previousFlagged = 19;
   const nsMsgNavigationTypeValue firstNew = 20;
   const nsMsgNavigationTypeValue editUndo = 21;
   const nsMsgNavigationTypeValue editRedo = 22;
   const nsMsgNavigationTypeValue toggleSubthreadKilled = 23;
 };
 
 
 [scriptable, uuid(fe8a2326-4dd0-11e5-8b8a-206a8aa7a25c)]
 interface nsIMsgDBView : nsISupports
 {
   void open(in nsIMsgFolder folder, in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder, in nsMsgViewFlagsTypeValue viewFlags, out long count);
-  void openWithHdrs(in nsISimpleEnumerator aHeaders, in nsMsgViewSortTypeValue aSortType, 
-                      in nsMsgViewSortOrderValue aSortOrder, 
+  void openWithHdrs(in nsISimpleEnumerator aHeaders, in nsMsgViewSortTypeValue aSortType,
+                      in nsMsgViewSortOrderValue aSortOrder,
                       in nsMsgViewFlagsTypeValue aViewFlags, out long aCount);
   void close();
 
   void init(in nsIMessenger aMessengerInstance, in nsIMsgWindow aMsgWindow, in nsIMsgDBViewCommandUpdater aCommandUpdater);
 
   void sort(in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder);
 
   void doCommand(in nsMsgViewCommandTypeValue command);
   void doCommandWithFolder(in nsMsgViewCommandTypeValue command, in nsIMsgFolder destFolder);
-  void getCommandStatus(in nsMsgViewCommandTypeValue command, out boolean selectable_p, 
+  void getCommandStatus(in nsMsgViewCommandTypeValue command, out boolean selectable_p,
                         out nsMsgViewCommandCheckStateValue selected_p);
 
   readonly attribute nsMsgViewTypeValue viewType;
   attribute nsMsgViewFlagsTypeValue viewFlags;
   /** Assigning to this value does not induce a sort; use the sort() method! */
   attribute nsMsgViewSortTypeValue sortType;
   readonly attribute nsMsgViewSortOrderValue sortOrder;
   /**
@@ -252,23 +252,23 @@ interface nsIMsgDBView : nsISupports
    * Assigning to this value does not induce a sort; use the sort() method for
    *  all primary and secondary sort needs.  The only reason to assign to this
    *  value is to affect the secondary sort of a grouped view.
    */
   attribute nsMsgViewSortOrderValue secondarySortOrder;
   readonly attribute nsMsgKey keyForFirstSelectedMessage;
   readonly attribute nsMsgViewIndex viewIndexForFirstSelectedMsg;
   /**
-   * this method will automatically expand the destination thread, 
-   * if needs be. 
+   * this method will automatically expand the destination thread,
+   * if needs be.
    */
   void viewNavigate(in nsMsgNavigationTypeValue motion, out nsMsgKey resultId, out nsMsgViewIndex resultIndex, out nsMsgViewIndex threadIndex, in boolean wrap);
 
   /**
-   * Indicates if navigation of the passed motion type is valid. 
+   * Indicates if navigation of the passed motion type is valid.
    */
   boolean navigateStatus(in nsMsgNavigationTypeValue motion);
 
   readonly attribute nsIMsgFolder msgFolder;
   attribute nsIMsgFolder viewFolder; // in the case of virtual folders, the VF db.
 
   nsMsgKey getKeyAt(in nsMsgViewIndex index);
 
@@ -333,18 +333,18 @@ interface nsIMsgDBView : nsISupports
 
   /**
    * The number of selected messages.  If the
    *  "mail.operate_on_msgs_in_collapsed_threads" preference is enabled, then
    *  any collapsed thread roots that are selected will also conceptually have
    *  all of the messages in that thread selected.
    */
   readonly attribute unsigned long numSelected;
-  readonly attribute nsMsgViewIndex msgToSelectAfterDelete; 
-  readonly attribute nsMsgViewIndex currentlyDisplayedMessage; 
+  readonly attribute nsMsgViewIndex msgToSelectAfterDelete;
+  readonly attribute nsMsgViewIndex currentlyDisplayedMessage;
 
   /**
    * Number of messages in view, including messages in collapsed threads.
    * Not currently implemented for threads with unread or watched threads
    * with unread.
    */
   readonly attribute long numMsgsInView;
   // used by "go to folder" feature
@@ -369,17 +369,17 @@ interface nsIMsgDBView : nsISupports
   //to notify tree that rows are going away
   void onDeleteCompleted(in boolean succeeded);
 
   readonly attribute nsIMsgDatabase db;
 
   readonly attribute boolean supportsThreading;
 
   attribute nsIMsgSearchSession searchSession;
-  readonly attribute boolean removeRowOnMoveOrDelete; 
+  readonly attribute boolean removeRowOnMoveOrDelete;
 
   /**
    * Finds the view index of the passed in msgKey. Note this should not
    * be called on cross-folder views since the msgKey may not be unique.
    *
    * @param aMsgKey - key to find.
    * @param aExpand - whether to expand a collapsed thread to find the key.
    *
@@ -439,36 +439,36 @@ interface nsIMsgDBView : nsISupports
    * @param aNumRows            number of rows changed; < 0 means removed.
    * @param aChangeType         changeType.
    */
   void NoteChange(in nsMsgViewIndex aFirstLineChanged, in long aNumRows,
                   in nsMsgViewNotificationCodeValue aChangeType);
 
   /**
    * Return the view thread corresponding to aMsgHdr. If we're a cross-folder
-   * view, then it would be the cross folder view thread, otherwise, the 
+   * view, then it would be the cross folder view thread, otherwise, the
    * db thread object.
    *
    * @param aMsgHdr message header we want the view thread object of.
    *
    * @return        view thread object for msg hdr.
    */
   nsIMsgThread getThreadContainingMsgHdr(in nsIMsgDBHdr aMsgHdr);
 
   // use lines or kB for size?
   readonly attribute boolean usingLines;
-  
+
   // Custom Column Implementation note: see nsIMsgCustomColumnHandler
-  
+
   // attaches a custom column handler to a specific column (can be a new column or a built in)
   void addColumnHandler(in AString aColumn, in nsIMsgCustomColumnHandler aHandler);
-  
+
   // removes a custom column handler leaving the column to be handled by the system
   void removeColumnHandler(in AString aColumn);
-  
+
   // returns the custom column handler attached to a specific column - if any
   nsIMsgCustomColumnHandler getColumnHandler(in AString aColumn);
 
   /**
    * The custom column to use for sorting purposes (when sort type is
    *  nsMsgViewSortType.byCustom.)
    */
   attribute AString curCustomColumn;
@@ -488,17 +488,17 @@ interface nsIMsgDBView : nsISupports
    *
    * @returns The cell text for the given row and column, if any.
    * @notes This does not work for custom columns yet.
    */
   AString cellTextForColumn(in long aRow, in wstring aColumnName);
 };
 
 /* this interface is rapidly morphing from a command updater interface into a more generic
-   FE updater interface to handle changes in the view 
+   FE updater interface to handle changes in the view
 */
 
 [scriptable, uuid(ce8f52ee-e742-4b31-8bdd-2b3a8168a117)]
 interface nsIMsgDBViewCommandUpdater : nsISupports
 {
   /* Eventually we'll flush this out into some kind of rich interface
   which may take specifc selection changed type notifications like
   no selections, single selection, multi-selection, etc. For starters,
@@ -507,21 +507,21 @@ interface nsIMsgDBViewCommandUpdater : n
   */
 
   void updateCommandStatus();
 
   /* displayed message has changed */
   void displayMessageChanged(in nsIMsgFolder aFolder, in AString aSubject, in ACString aKeywords);
 
   /**
-  * allows the backend to tell the front end to re-determine 
+  * allows the backend to tell the front end to re-determine
   * which message we should selet after a delete or move
   */
   void updateNextMessageAfterDelete();
-  
+
   /**
   * tell the front end that the selection has changed, and may need to be
   * resummarized.
-  * 
+  *
   * @return   true if we did summarize, false otherwise.
   */
   boolean summarizeSelection();
 };
--- a/mailnews/base/public/nsIMsgFolder.idl
+++ b/mailnews/base/public/nsIMsgFolder.idl
@@ -97,17 +97,17 @@ interface nsIMsgFolder : nsISupports {
   readonly attribute boolean canCompact;
 
   /**
    * the phantom server folder
    */
   readonly attribute nsIMsgFolder rootFolder;
 
   /**
-   * Get the server's list of filters. (Or in the case of news, the 
+   * Get the server's list of filters. (Or in the case of news, the
    * filter list for this newsgroup)
    * This list SHOULD be used for all incoming messages.
    *
    * Since the returned nsIMsgFilterList is mutable, it is not necessary to call
    * setFilterList after the filters have been changed.
    *
    * @param aMsgWindow  @ref msgwindow "The standard message window"
    * @return            The list of filters
@@ -205,20 +205,20 @@ interface nsIMsgFolder : nsISupports {
    *
    * @param aListener   Notified of completion, can be null.
    * @param aMsgWindow  For progress/status, can be null.
    */
   void compact(in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow);
   /**
    * Compact all folders in the account corresponding to this folder/
    * Optionally compact their offline stores as well (imap/news)
-   * 
+   *
    * @param aListener   Notified of completion, can be null.
    * @param aMsgWindow  For progress/status, can be null.
-   * @param aCompactOfflineAlso  This controls whether we compact all 
+   * @param aCompactOfflineAlso  This controls whether we compact all
    *                             offline stores as well.
    */
   void compactAll(in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow,
                   in boolean aCompactOfflineAlso);
 
   void compactAllOfflineStores(in nsIUrlListener aListener,
                                in nsIMsgWindow aMsgWindow,
                                in nsIArray aOfflineFolderArray);
@@ -352,17 +352,17 @@ interface nsIMsgFolder : nsISupports {
    * nsMsgFolderFlags.h.
    *
    * @param flag  The flag to toggle
    */
   void toggleFlag(in unsigned long flag);
 
   /**
    * Called to notify the database and/or listeners of a change of flag. The
-   * known flags are defined in nsMsgFolderFlags.h 
+   * known flags are defined in nsMsgFolderFlags.h
    *
    * @note        This doesn't need to be called for normal flag changes via
    *              the *Flag functions on this interface.
    *
    * @param flag  The flag that was changed.
    */
   void onFlagChange(in unsigned long flag);
 
@@ -753,17 +753,17 @@ interface nsIMsgFolder : nsISupports {
    * @param aMaxOutputLen desired length of the converted message text. Used to control how many characters
    *        of msg text we want to store.
    * @param aCompressQuotes Replace quotes and citations with " ... " in the preview text
    * @param aStripHTMLTags strip HTML tags from the output, if present
    * @param[out] aContentType the content type of the MIME part that was used to generate the text --
    *             for an HTML part, this will be "text/html" even though aStripHTMLTags might be true
    */
   AUTF8String getMsgTextFromStream(in nsIInputStream aStream, in ACString aCharset,
-                                   in unsigned long aBytesToRead, in unsigned long aMaxOutputLen, 
+                                   in unsigned long aBytesToRead, in unsigned long aMaxOutputLen,
                                    in boolean aCompressQuotes, in boolean aStripHTMLTags,
                                    out ACString aContentType);
 
   AString convertMsgSnippetToPlainText(in AString aMessageText);
 
   // this allows a folder to have a special identity. E.g., you might want to
   // associate an identity with a particular newsgroup, or for IMAP shared folders in
   // the other users namespace, you might want to create a delegated identity
@@ -802,17 +802,17 @@ interface nsIMsgFolder : nsISupports {
    * for the folder's parent.
    *
    * If a folder is the root folder for a server, then instead of
    * checking the folder property, check the property of the same name
    * for the server using nsIMsgIncomingServer.getCharValue(...)
    *
    * Note nsIMsgIncomingServer.getCharValue for a server inherits from
    * the preference mail.server.default.(propertyName) as a global value
-   * 
+   *
    * (ex: if propertyName = "IAmAGlobal" and no folder nor server properties
    * are set, then the inherited property will return the preference value
    * mail.server.default.IAmAGlobal)
    *
    * If the propertyName is undefined, returns an empty, void string.
    *
    * @param propertyName  The name of the property for the value to retrieve.
    */
--- a/mailnews/base/public/nsIMsgFolderCache.idl
+++ b/mailnews/base/public/nsIMsgFolderCache.idl
@@ -5,17 +5,17 @@
 
 
 #include "nsISupports.idl"
 
 interface nsIFile;
 interface nsIMsgFolderCacheElement;
 
 [scriptable, uuid(78C2B6A2-E29F-44de-9543-10DBB51E245C)]
-interface nsIMsgFolderCache : nsISupports 
+interface nsIMsgFolderCache : nsISupports
 {
   void Init(in nsIFile aFile);
   nsIMsgFolderCacheElement GetCacheElement(in ACString key, in boolean createIfMissing);
   void clear();
   void close();
   void commit(in boolean compress);
   void removeElement(in ACString key);
 };
--- a/mailnews/base/public/nsIMsgFolderListener.idl
+++ b/mailnews/base/public/nsIMsgFolderListener.idl
@@ -157,17 +157,17 @@ interface nsIMsgFolderListener : nsISupp
 
   /**
    * Notified after a folder is renamed.
    *
    * @param aOrigFolder The folder with the old name
    * @param aNewFolder The folder with the new name
    */
   void folderRenamed(in nsIMsgFolder aOrigFolder, in nsIMsgFolder aNewFolder);
-  
+
   /**
    * Notified when a particular event takes place for an item.
    *
    * Current uses by event string:
    *
    * - FolderCompactStart: nsIMsgFolderCompactor is beginning compaction of the
    *    folder.  If the summary file was missing or out-of-date and a parse
    *    is required, this notification will come after the completion of the
--- a/mailnews/base/public/nsIMsgFolderNotificationService.idl
+++ b/mailnews/base/public/nsIMsgFolderNotificationService.idl
@@ -58,18 +58,18 @@ interface nsIMsgFolderNotificationServic
 
   // message-specific functions
   // single message for added, array for delete/move/copy
   void notifyMsgAdded(in nsIMsgDBHdr aMsg);
   void notifyMsgsClassified(in nsIArray aMsgs,
                             in boolean aJunkProcessed,
                             in boolean aTraitProcessed);
   void notifyMsgsDeleted(in nsIArray aMsgs);
-  void notifyMsgsMoveCopyCompleted(in boolean aMove, 
-                                   in nsIArray aSrcMsgs, 
+  void notifyMsgsMoveCopyCompleted(in boolean aMove,
+                                   in nsIArray aSrcMsgs,
                                    in nsIMsgFolder aDestFolder,
                                    in nsIArray aDestMsgs);
 
   /**
    * Notify listeners that the msg key for a header has changed. Currently,
    * this is used when we create a header for an offline imap move result,
    * without knowing what the ultimate UID will be. When we download the
    * headers for the new message, we replace the old "pseudo" header with
--- a/mailnews/base/public/nsIMsgHdr.idl
+++ b/mailnews/base/public/nsIMsgHdr.idl
@@ -17,32 +17,32 @@ interface nsIMsgDBHdr : nsISupports
        header in the db */
     AString getProperty(in string propertyName);
     void setProperty(in string propertyName, in AString propertyStr);
     void setStringProperty(in string propertyName, in string propertyValue);
     string getStringProperty(in string propertyName);
     unsigned long getUint32Property(in string propertyName);
     void setUint32Property(in string propertyName,
                            in unsigned long propertyVal);
- 
+
     // accessors, to make our JS cleaner
     readonly attribute boolean isRead;
     readonly attribute boolean isFlagged;
 
     // Special accessor that checks if a message is part of an ignored subthread
     readonly attribute boolean isKilled;
 
     // Mark message routines
     void markRead(in boolean read);
     void markFlagged(in boolean flagged);
     void markHasAttachments(in boolean hasAttachments);
-    
+
     attribute nsMsgPriorityValue priority;
     void setPriorityString(in string priority);
-    
+
     /* flag handling routines */
     attribute unsigned long flags;
     unsigned long OrFlags(in unsigned long flags);
     unsigned long AndFlags(in unsigned long flags);
 
     /* various threading stuff */
     attribute nsMsgKey threadId;
     attribute nsMsgKey messageKey;
@@ -63,17 +63,17 @@ interface nsIMsgDBHdr : nsISupports
     attribute PRTime date;
     readonly attribute unsigned long dateInSeconds;
     attribute string messageId;
     attribute string ccList;
     attribute string bccList;
     attribute string author;
     attribute string subject;
     attribute string recipients;
-    
+
     /* anything below here still has to be fixed */
     void setReferences(in string references);
     readonly attribute unsigned short numReferences;
     ACString getStringReference(in long refNum);
 
     readonly attribute AString mime2DecodedAuthor;
     readonly attribute AString mime2DecodedSubject;
     readonly attribute AString mime2DecodedRecipients;
--- a/mailnews/base/public/nsIMsgIdentity.idl
+++ b/mailnews/base/public/nsIMsgIdentity.idl
@@ -140,17 +140,17 @@ interface nsIMsgIdentity : nsISupports {
    * "0" means choose between servers; "1" means use the full folder picker.
    */
   attribute ACString fccFolderPickerMode;
   attribute ACString draftsFolderPickerMode;
   attribute ACString archivesFolderPickerMode;
   attribute ACString tmplFolderPickerMode;
   /** @} */
 
-  // Don't call bccSelf, bccOthers, and bccList directly, they are 
+  // Don't call bccSelf, bccOthers, and bccList directly, they are
   // only used for migration and backward compatability. Use doBcc
   // and doBccList instead.
   attribute boolean bccSelf;
   attribute boolean bccOthers;
   attribute ACString bccList;
 
   attribute boolean doCc;
   attribute AUTF8String doCcList;
@@ -224,18 +224,18 @@ interface nsIMsgIdentity : nsISupports {
    * if this is set, the DSN menu item on the compose
    * window will be checked
    */
   readonly attribute boolean requestDSN;
 
   /* copy the attributes of the identity we pass in */
   void copy(in nsIMsgIdentity identity);
 
-  /** 
-   * these generic getter / setters, useful for extending mailnews 
+  /**
+   * these generic getter / setters, useful for extending mailnews
    * note, these attributes persist across sessions
    */
   AString getUnicharAttribute(in string name);
   void setUnicharAttribute(in string name, in AString value);
 
   ACString getCharAttribute(in string name);
   void setCharAttribute(in string name, in ACString value);
 
--- a/mailnews/base/public/nsIMsgIncomingServer.idl
+++ b/mailnews/base/public/nsIMsgIncomingServer.idl
@@ -46,22 +46,22 @@ interface nsIMsgIncomingServer : nsISupp
   * specific way - e.g., mail for foo@test.com, news on news.mozilla.org
   */
   readonly attribute AString constructedPrettyName;
 
   /**
    * hostname of the server
    */
   attribute ACString hostName;
-  
+
   /**
    * real hostname of the server (if server name is changed it's stored here)
    */
   attribute ACString realHostName;
-  
+
   /* port of the server */
   attribute long port;
 
   /**
    * userid to log into the server
    */
   attribute ACString username;
 
@@ -138,31 +138,31 @@ interface nsIMsgIncomingServer : nsISupp
 
   /* how often to biff */
   attribute long biffMinutes;
 
   /* current biff state */
   attribute unsigned long biffState;
 
   /* are we running a url as a result of biff going off? (different from user clicking get msg) */
-  attribute boolean performingBiff; 
+  attribute boolean performingBiff;
 
   /* the on-disk path to message storage for this server */
   attribute nsIFile localPath;
 
   /// message store to use for the folders under this server.
   readonly attribute nsIMsgPluggableStore msgStore;
 
   /* the RDF URI for the root mail folder */
   readonly attribute ACString serverURI;
 
   /* the root folder for this server, even if server is deferred */
   attribute nsIMsgFolder rootFolder;
 
-  /* root folder for this account 
+  /* root folder for this account
      - if account is deferred, root folder of deferred-to account */
   readonly attribute nsIMsgFolder rootMsgFolder;
 
   /* are we already getting new Messages on the current server..
      This is used to help us prevent multiple get new msg commands from
      going off at the same time. */
   attribute boolean serverBusy;
 
@@ -238,41 +238,41 @@ interface nsIMsgIncomingServer : nsISupp
    */
   void setEditableFilterList(in nsIMsgFilterList aFilterList);
 
   /* we use this to set the default local path.  we use this when migrating prefs */
   void setDefaultLocalPath(in nsIFile aDefaultLocalPath);
 
   /**
    * Verify that we can logon
-   * 
+   *
    * @param  aUrlListener - gets called back with success or failure.
    * @param aMsgWindow         nsIMsgWindow to use for notification callbacks.
    * @return - the url that we run.
    */
   nsIURI verifyLogon(in nsIUrlListener aUrlListener, in nsIMsgWindow aMsgWindow);
 
   /* do a biff */
   void performBiff(in nsIMsgWindow aMsgWindow);
-  
+
   /* get new messages */
-  void getNewMessages(in nsIMsgFolder aFolder, in nsIMsgWindow aMsgWindow, 
+  void getNewMessages(in nsIMsgFolder aFolder, in nsIMsgWindow aMsgWindow,
                       in nsIUrlListener aUrlListener);
   /* this checks if a server needs a password to do biff */
   readonly attribute boolean serverRequiresPasswordForBiff;
-  
+
   /* this gets called when the server is expanded in the folder pane */
   void performExpand(in nsIMsgWindow aMsgWindow);
 
   /* Write out all known folder data to panacea.dat */
   void writeToFolderCache(in nsIMsgFolderCache folderCache);
 
   /* close any server connections */
   void closeCachedConnections();
- 
+
   /* ... */
   void shutdown();
 
   /**
    * Get or set the value as determined by the preference tree.
    *
    * These methods MUST NOT fail if the preference is not set, and therefore
    * they MUST have a default value. This default value is provided in practice
@@ -291,17 +291,17 @@ interface nsIMsgIncomingServer : nsISupp
   boolean getBoolValue(in string attr);
   void setBoolValue(in string attr, in boolean value);
 
   ACString getCharValue(in string attr);
   void setCharValue(in string attr, in ACString value);
 
   AString getUnicharValue(in string attr);
   void setUnicharValue(in string attr, in AString value);
-  
+
   long getIntValue(in string attr);
   void setIntValue(in string attr, in long value);
   /** @} */
 
   /**
    * Get or set the value as determined by the preference tree.
    *
    * These methods MUST NOT fail if the preference is not set, and therefore
@@ -346,24 +346,24 @@ interface nsIMsgIncomingServer : nsISupp
   AString toString();
 
   void displayOfflineMsg(in nsIMsgWindow aWindow);
 
   /* used for comparing nsIMsgIncomingServers */
   boolean equals(in nsIMsgIncomingServer server);
 
   /* Get Messages at startup */
-  readonly attribute boolean downloadMessagesAtStartup; 
+  readonly attribute boolean downloadMessagesAtStartup;
 
   /* check to this if the server supports filters */
   attribute boolean canHaveFilters;
 
   /**
    * can this server be removed from the account manager?  for
-   * instance, local mail is not removable, but an imported folder is 
+   * instance, local mail is not removable, but an imported folder is
    */
   attribute boolean canDelete;
 
   attribute boolean loginAtStartUp;
 
   attribute boolean limitOfflineMessageSize;
   attribute long maxMessageSize;
 
@@ -378,49 +378,49 @@ interface nsIMsgIncomingServer : nsISupp
   /* check if this server allows canEmptyTrashOnExit operations */
   readonly attribute boolean canEmptyTrashOnExit;
 
   /* display startup page once per account per session */
   attribute boolean displayStartupPage;
   attribute nsIMsgDownloadSettings downloadSettings;
 
   /*
-   * Offline support level. Support level can vary based on abilities 
+   * Offline support level. Support level can vary based on abilities
    * and features each server can offer wrt to offline service.
    * Here is the legend to determine the each support level details
    *
-   * supportLevel == 0  --> no offline support (default) 
+   * supportLevel == 0  --> no offline support (default)
    * supportLevel == 10 --> regular offline feature support
-   * supportLevel == 20 --> extended offline feature support 
+   * supportLevel == 20 --> extended offline feature support
    *
    * Each server can initialize itself to the support level if needed
    * to override the default choice i.e., no offline support.
    *
-   * POP3, None and Movemail will default to 0. 
-   * IMAP level 10 and NEWS with level 20. 
-   * 
+   * POP3, None and Movemail will default to 0.
+   * IMAP level 10 and NEWS with level 20.
+   *
    */
   attribute long offlineSupportLevel;
 
   /* create pretty name for migrated accounts */
-  AString generatePrettyNameForMigration(); 
+  AString generatePrettyNameForMigration();
 
   /* does this server have disk space settings? */
   readonly attribute boolean supportsDiskSpace;
 
   /**
    * Hide this server/account from the UI - used for smart mailboxes.
    * The server can be retrieved from the account manager by name using the
-   * various Find methods, but nsIMsgAccountManager's GetAccounts and 
+   * various Find methods, but nsIMsgAccountManager's GetAccounts and
    * GetAllServers methods won't return the server/account.
    */
   attribute boolean hidden;
 
   /**
-   * If the server supports Fcc/Sent/etc, default prefs can point to 
+   * If the server supports Fcc/Sent/etc, default prefs can point to
    * the server. Otherwise, copies and folders prefs should point to
    * Local Folders.
    *
    * By default this value is set to true via global pref 'allows_specialfolders_usage'
    * (mailnews.js). For Nntp, the value is overridden to be false.
    * If ISPs want to modify this value, they should do that in their rdf file
    * by using this attribute. Please look at mozilla/mailnews/base/ispdata/aol.rdf for
    * usage example.
@@ -440,39 +440,39 @@ interface nsIMsgIncomingServer : nsISupp
   readonly attribute boolean canUndoDeleteOnServer;
 
   /* used for setting up the filter UI */
   readonly attribute nsMsgSearchScopeValue filterScope;
 
   /* used for setting up the search UI */
   readonly attribute nsMsgSearchScopeValue searchScope;
 
-  /** 
-   * If the password for the server is available either via authentication 
+  /**
+   * If the password for the server is available either via authentication
    * in the current session or from password manager stored entries, return
-   * false. Otherwise, return true. If password is obtained from password 
+   * false. Otherwise, return true. If password is obtained from password
    * manager, set the password member variable.
-   */ 
+   */
   readonly attribute boolean passwordPromptRequired;
 
   /**
    * for mail, this configures both the MDN filter, and the server-side
    * spam filter filters, if needed.
    *
    * If we have set up to filter return receipts into
    * our Sent folder, this utility method creates
    * a filter to do that, and adds it to our filterList
    * if it doesn't exist.  If it does, it will enable it.
    *
    * this is not used by news filters (yet).
    */
   void configureTemporaryFilters(in nsIMsgFilterList filterList);
 
   /**
-   * If Sent folder pref is changed we need to clear the temporary 
+   * If Sent folder pref is changed we need to clear the temporary
    * return receipt filter so that the new return receipt filter can
    * be recreated (by ConfigureTemporaryReturnReceiptsFilter()).
    */
   void clearTemporaryReturnReceiptsFilter();
 
   /**
    * spam settings
    */
--- a/mailnews/base/public/nsIMsgMailNewsUrl.idl
+++ b/mailnews/base/public/nsIMsgMailNewsUrl.idl
@@ -15,26 +15,26 @@ interface nsILoadGroup;
 interface nsIMsgSearchSession;
 interface nsICacheEntry;
 interface nsIMimeHeaders;
 interface nsIStreamListener;
 interface nsIMsgFolder;
 interface nsIMsgHeaderSink;
 interface nsIMsgDBHdr;
 interface nsIDocShellLoadInfo;
-interface nsIDocShell; 
+interface nsIDocShell;
 
 [scriptable, builtinclass, uuid(995455ba-5bb4-4643-8d70-2b877a2e1320)]
 interface nsIMsgMailNewsUrl : nsIURL {
   ///////////////////////////////////////////////////////////////////////////////
   // Eventually we'd like to push this type of functionality up into nsIURI.
-  // The idea is to allow the "application" (the part of the code which wants to 
+  // The idea is to allow the "application" (the part of the code which wants to
   // run a url in order to perform some action) to register itself as a listener
   // on url. As a url listener, the app will be informed when the url begins to run
-  // and when the url is finished. 
+  // and when the url is finished.
   ////////////////////////////////////////////////////////////////////////////////
   void RegisterListener (in nsIUrlListener aUrlListener);
   void UnRegisterListener (in nsIUrlListener aUrlListener);
 
   readonly attribute nsIURI baseURI;
 
   // if you really want to know what the current state of the url is (running or not
   // running) you should look into becoming a urlListener...
@@ -65,17 +65,17 @@ interface nsIMsgMailNewsUrl : nsIURL {
    * @return                  a cloned version of the current object.
    */
   nsIURI cloneInternal(in unsigned long aRefHandlingMode, in AUTF8String aNewRef);
 
   readonly attribute nsIMsgIncomingServer server;
 
   /**
    * The folder associated with this url.
-   * 
+   *
    * @exception NS_ERROR_FAILURE    May be thrown if the url does not
    *                                relate to a folder, e.g. standalone
    *                                .eml messages.
    */
   attribute nsIMsgFolder folder;
 
   attribute nsIMsgStatusFeedback statusFeedback;
 
@@ -139,40 +139,40 @@ interface nsIMsgMailNewsUrl : nsIURL {
                 in nsIDocShellLoadInfo loadInfo,
                 in unsigned long aLoadFlags);
 
 };
 
 //////////////////////////////////////////////////////////////////////////////////
 // This is a very small interface which I'm grouping with the mailnewsUrl interface.
 // Several url types (mailbox, imap, nntp) have similar properties because they can
-// represent mail messages. For instance, these urls can be have URI 
-// equivalents which represent a message. 
-// We want to provide the app the ability to get the URI for the 
+// represent mail messages. For instance, these urls can be have URI
+// equivalents which represent a message.
+// We want to provide the app the ability to get the URI for the
 // url. This URI to URL mapping doesn't exist for all mailnews urls...hence I'm
 // grouping it into a separate interface...
 //////////////////////////////////////////////////////////////////////////////////
 
 [scriptable, uuid(388a37ec-2e1a-4a4f-9d8b-189bedf1bda2)]
 interface nsIMsgMessageUrl : nsISupports {
   // get and set the RDF URI associated with the url. Note, not all urls have
   // had uri's set on them so be prepared to handle cases where this string is empty.
   attribute string uri;
   // used by imap, pop and nntp in order to implement save message to disk
   attribute nsIFile messageFile;
-  attribute boolean AddDummyEnvelope;  
+  attribute boolean AddDummyEnvelope;
   attribute boolean canonicalLineEnding;
   attribute string originalSpec;
 
   // This is used when creating a principal for the URL.
   readonly attribute AUTF8String principalSpec;
-  
+
   /**
    *  A message db header for that message.
-   *  
+   *
    *  @note This attribute is not guaranteed to be set, so callers that
    *  actually require an nsIMsgDBHdr will need to use the uri attribute
    *  on this interface to get the  appropriate nsIMsgMessageService and
    *  then get the header from there.
    */
   attribute nsIMsgDBHdr messageHeader;
 };
 
@@ -183,17 +183,17 @@ interface nsIMsgMessageUrl : nsISupports
 // and tweak as they see fit. For now it contains mostly charset information.
 //////////////////////////////////////////////////////////////////////////////////
 
 [scriptable, uuid(D71E0785-2862-11d4-98C1-001083010E9B)]
 interface nsIMsgI18NUrl : nsISupports {
 
   /**
    * the charset associated with a folder for this url.
-   * 
+   *
    * @exception NS_ERROR_FAILURE    May be thrown if the url does not
    *                                relate to a folder, e.g. standalone
    *                                .eml messages.
    */
   readonly attribute string folderCharset;
   readonly attribute boolean folderCharsetOverride;
   // the charsetOverRide is a charset the user may have specified via the menu for
   // a particular message
--- a/mailnews/base/public/nsIMsgMdnGenerator.idl
+++ b/mailnews/base/public/nsIMsgMdnGenerator.idl
@@ -28,25 +28,25 @@ typedef long MDNIncorporateType;
 interface nsIMsgMdnGenerator : nsISupports
 {
     const EDisposeType eDisplayed = 0;
     const EDisposeType eDispatched = 1;
     const EDisposeType eProcessed = 2;
     const EDisposeType eDeleted = 3;
     const EDisposeType eDenied = 4;
     const EDisposeType eFailed = 5;
-    
+
     const ReceiptHdrType eDntType = 0;
     const ReceiptHdrType eRrtType = 1;
     const ReceiptHdrType eDntRrtType = 2;
-    
+
     const MDNIncorporateType eIncorporateInbox = 0;
     const MDNIncorporateType eIncorporateSent = 1;
-    
-    
+
+
     /**
      * Prepare the sending of a mdn reply, and checks the prefs whether a
      * reply should be send. Might send the message automatically if the
      * prefs say it should.
      * @param eType   One of EDisposeType above, indicating the action that led
      *                to sending the mdn reply
      * @param aWindow The window the message was displayed in, acting as parent
      *                for any (error) dialogs
@@ -54,28 +54,28 @@ interface nsIMsgMdnGenerator : nsISuppor
      * @param key     the message key
      * @param headers the message headers
      * @param autoAction  true if the request action led to sending the mdn
      *                reply was an automatic action, false if it was user initiated
      * @returns true if the user needs to be asked for permission
      *          false in other cases (whether the message was sent or denied)
      */
     boolean process(in EDisposeType eType, in nsIMsgWindow aWindow,
-                    in nsIMsgFolder folder, in nsMsgKey key, 
+                    in nsIMsgFolder folder, in nsMsgKey key,
                     in nsIMimeHeaders headers, in boolean autoAction);
 
     /**
      * Must be called when the user was asked for permission and agreed to
-     * sending the mdn reply. 
+     * sending the mdn reply.
      * May only be called when |process| returned |true|. Behaviour is
      * unspecified in other cases
      */
     void userAgreed();
 
     /**
      * Must be called when the user was asked for permission and declined to
-     * send the mdn reply. 
+     * send the mdn reply.
      * Will mark the message so that the user won't be asked next time.
      * May only be called when |process| returned |true|. Behaviour is
      * unspecified in other cases.
      */
     void userDeclined();
 };
--- a/mailnews/base/public/nsIMsgMessageService.idl
+++ b/mailnews/base/public/nsIMsgMessageService.idl
@@ -17,42 +17,42 @@ interface nsIStreamConverter;
 interface nsICacheEntry;
 
 %{C++
 #include "MailNewsTypes.h"
 %}
 
 [scriptable, uuid(3aa7080a-73ac-4394-9636-fc00e182319b)]
 interface nsIMsgMessageService : nsISupports {
-     
+
   /**
-   * If you want a handle on the running task, pass in a valid nsIURI 
-   * ptr. You can later interrupt this action by asking the netlib 
-   * service manager to interrupt the url you are given back. 
+   * If you want a handle on the running task, pass in a valid nsIURI
+   * ptr. You can later interrupt this action by asking the netlib
+   * service manager to interrupt the url you are given back.
    * Remember to release aURL when you are done with it. Pass nullptr
    * in for aURL if you don't care about the returned URL.
    */
 
 
   /**
    * Pass in the URI for the message you want to have copied.
    *
    * @param aSrcURI
-   * @param aCopyListener already knows about the destination folder. 
+   * @param aCopyListener already knows about the destination folder.
    * @param aMoveMessage TRUE if you want the message to be moved.
    *                     FALSE leaves it as just a copy.
-   * @param aUrlListener 
+   * @param aUrlListener
    * @param aMsgWindow
    * @param aURL
    */
   void CopyMessage(in string aSrcURI, in nsIStreamListener aCopyListener, in boolean aMoveMessage,
                in nsIUrlListener aUrlListener, in nsIMsgWindow aMsgWindow, out nsIURI aURL);
 
   /**
-   * Copy multiple messages at a time 
+   * Copy multiple messages at a time
    *
    * @param keys
    * @param srcFolder
    * @param aCopyListener
    * @param aMoveMessage
    * @param aUrlListener
    * @param aMsgWindow
    * @returns URI that's run to perform the copy
@@ -60,112 +60,112 @@ interface nsIMsgMessageService : nsISupp
   nsIURI CopyMessages(in unsigned long aNumKeys,
                       [array, size_is (aNumKeys)] in nsMsgKey aKeys,
                       in nsIMsgFolder srcFolder,
                       in nsIStreamListener aCopyListener,
                       in boolean aMoveMessage,
                       in nsIUrlListener aUrlListener,
                       in nsIMsgWindow aMsgWindow);
 
-    
+
   /**
    * When you want a message displayed....
    *
    * @param aMessageURI Is a uri representing the message to display.
-   * @param aDisplayConsumer Is (for now) an nsIDocShell which we'll use to load 
+   * @param aDisplayConsumer Is (for now) an nsIDocShell which we'll use to load
    *                         the message into.
    *                         XXXbz Should it be an nsIWebNavigation or something?
    * @param aMsgWindow
    * @param aUrlListener
    * @param aCharsetOverride (optional) character set over ride to force the message to use.
    * @param aURL
    */
-  void DisplayMessage(in string aMessageURI, 
-            in nsISupports aDisplayConsumer, 
+  void DisplayMessage(in string aMessageURI,
+            in nsISupports aDisplayConsumer,
             in nsIMsgWindow aMsgWindow,
-            in nsIUrlListener aUrlListener, 
-            in string aCharsetOverride, 
+            in nsIUrlListener aUrlListener,
+            in string aCharsetOverride,
             out nsIURI aURL);
 
   /**
    * When you want an attachment downloaded
    *
    * @param aContentType We need to know the content type of the attachment
    * @param aFileName The name of the attachment.
    * @param aUrl String representation of the original url associated with the msg.
    * @param aMessageUri RDF resource that describes the message
    * @param aDisplayConsumer
    * @param aMsgWindow Message window
    * @param aUrlListener
    */
-  void openAttachment(in string aContentType, 
-            in string aFileName, 
+  void openAttachment(in string aContentType,
+            in string aFileName,
             in string aUrl,
-            in string aMessageUri, 
-            in nsISupports aDisplayConsumer, 
+            in string aMessageUri,
+            in nsISupports aDisplayConsumer,
             in nsIMsgWindow aMsgWindow,
             in nsIUrlListener aUrlListener);
 
   /**
-   * When you want to spool a message out to a file on disk. 
+   * When you want to spool a message out to a file on disk.
    * This is an asynch operation of course. You must pass in a
    * url listener in order to figure out when the operation is done.
    *
    * @param aMessageURI The uri representing the message to spool out to disk.
    * @param aFile The file you want the message saved to
    * @param aGenerateDummyEnvelope Usually FALSE. Set to TRUE if you want the msg
    *        appended at the end of the file.
    * @param aUrlListener
    * @param aURL
    * @param canonicalLineEnding
    * @param aMsgWindow
    */
   void SaveMessageToDisk(in string aMessageURI, in nsIFile aFile,
-                         in boolean aGenerateDummyEnvelope, 
+                         in boolean aGenerateDummyEnvelope,
                          in nsIUrlListener aUrlListener, out nsIURI aURL,
                          in boolean canonicalLineEnding, in nsIMsgWindow aMsgWindow);
 
   /**
    * When you have a uri and you would like to convert that
    * to a url which can be run through necko, you can use this method.
-   * the Uri MUST refer to a message and not a folder! 
+   * the Uri MUST refer to a message and not a folder!
    *
    * @param aMessageURI A message uri to convert.
    * @param aURL URL which can be run through necko.
-   * @param aMsgWindow    
+   * @param aMsgWindow
    */
   void GetUrlForUri(in string aMessageURI, out nsIURI aURL, in nsIMsgWindow aMsgWindow);
 
   /**
    * When you want a message displayed in a format that is suitable for printing....
    *
    * @param aMessageURI A uri representing the message to display.
-   * @param aDisplayConsumer is (for now) a nsIDocShell which we'll use to load 
-   *        the message into. 
+   * @param aDisplayConsumer is (for now) a nsIDocShell which we'll use to load
+   *        the message into.
    *        XXXbz should it be an nsIWebNavigation?
    * @param aMsgWindow
    * @param aUrlListener
-   * @param aURL 
+   * @param aURL
    */
-  void DisplayMessageForPrinting(in string aMessageURI, in nsISupports aDisplayConsumer, 
+  void DisplayMessageForPrinting(in string aMessageURI, in nsISupports aDisplayConsumer,
             in nsIMsgWindow aMsgWindow,
-            in nsIUrlListener aUrlListener, 
+            in nsIUrlListener aUrlListener,
             out nsIURI aURL);
 
   /**
    *
    *
    * @param aSearchSession
    * @param aMsgWindow
    * @param aMsgFolder
    * @param aSearchUri
    */
   void Search(in nsIMsgSearchSession aSearchSession, in nsIMsgWindow aMsgWindow, in nsIMsgFolder aMsgFolder, in string aSearchUri);
 
-  /** 
+  /**
    * This method streams a message to the passed in consumer. If aConvertData is true, it
    * will create a stream converter from message rfc822 to star/star. It will also tack
    * aAdditionalHeader onto the url (e.g., "header=filter").
    *
    * @param aMessageURI  uri of message to stream
    * @param aConsumer    generally, a stream listener listening to the message
    * @param aMsgWindow   msgWindow for give progress and status feedback
    * @param aUrlListener gets notified when url starts and stops
@@ -175,24 +175,24 @@ interface nsIMsgMessageService : nsISupp
    *        If streaming over the network is required and this is true, then
    *        an exception is thrown. This defaults to false.
    *
    * @note If we're offline, then even if aLocalOnly is false, we won't stream over the
    *       network
    *
    * @return the URL that gets run
    */
-  nsIURI streamMessage(in string aMessageURI, in nsISupports aConsumer, 
+  nsIURI streamMessage(in string aMessageURI, in nsISupports aConsumer,
                     in nsIMsgWindow aMsgWindow,
-                    in nsIUrlListener aUrlListener, 
+                    in nsIUrlListener aUrlListener,
                     in boolean aConvertData,
                     in ACString aAdditionalHeader,
                     [optional] in boolean aLocalOnly);
 
-  /** 
+  /**
    * This method streams a message's headers to the passed in consumer.
    * This is for consumers who want a particular header but don't
    * want to stream the whole message.
    *
    * @param aMessageURI  uri of message whose headers we are to stream
    * @param aConsumer    a stream listener listening to the message
                          headers.
    * @param aUrlListener gets notified when url starts and stops, if we run a url.
@@ -201,59 +201,59 @@ interface nsIMsgMessageService : nsISupp
    *        an exception is thrown. This defaults to false.
    *
    * @note If we're offline, then even if aLocalOnly is false, we won't stream over the
    *       network
    *
    * @return the URL that gets run, if any.
    */
   nsIURI streamHeaders(in string aMessageURI, in nsIStreamListener aConsumer,
-                       in nsIUrlListener aUrlListener, 
+                       in nsIUrlListener aUrlListener,
                        [optional] in boolean aLocalOnly);
 
   /**
    * Determines whether a message is in the memory cache. Local folders
    * don't implement this.
    * The URL needs to address a message, not a message part, all query
    * qualifiers will be stripped before looking up the entry in the cache.
    *
    * @param aUrl The URL of the message, possibly with an appropriate command in it
    * @param aFolder The folder this message is in
-   * 
+   *
    * @return TRUE if the message is in mem cache; FALSE if it is not.
    */
   boolean isMsgInMemCache(in nsIURI aUrl,
                           in nsIMsgFolder aFolder);
 
   /**
    * now the the message datasource is going away
    * we need away to go from message uri to go nsIMsgDBHdr
    *
    * @param uri A message uri to get nsIMsgDBHdr for.
    *
-   * @return nsIMsgDBHdr for specified uri or null if failed. 
+   * @return nsIMsgDBHdr for specified uri or null if failed.
    */
   nsIMsgDBHdr messageURIToMsgHdr(in string uri);
 };
 
-/** 
+/**
  * Some mail protocols (like imap) allow you to fetch individual mime parts. We use this interface
  * to represent message services whose protocols support this. To use this interface, you should get
  * the message service then QI for this interface. If it's present, then can fetch a mime part.
  */
 [scriptable, uuid(3728C255-480C-11d4-98D0-001083010E9B)]
-interface nsIMsgMessageFetchPartService : nsISupports 
+interface nsIMsgMessageFetchPartService : nsISupports
 {
   /**
    * Used to fetch an individual mime part
    *
    * @param aURI url representing the message
    * @param aMessageURI RDF URI including the part to fetch
    * @param aDisplayConsumer
    * @param aMsgWindow
    * @param aUrlListener
    *
    * @return
    */
-  nsIURI fetchMimePart(in nsIURI aURI, in string aMessageUri, in nsISupports aDisplayConsumer, 
+  nsIURI fetchMimePart(in nsIURI aURI, in string aMessageUri, in nsISupports aDisplayConsumer,
             in nsIMsgWindow aMsgWindow,
-            in nsIUrlListener aUrlListener);  
+            in nsIUrlListener aUrlListener);
 };
--- a/mailnews/base/public/nsIMsgOfflineManager.idl
+++ b/mailnews/base/public/nsIMsgOfflineManager.idl
@@ -6,18 +6,18 @@
 #include "nsISupports.idl"
 
 // this is a service -there's only one Offline Manager, because you can only do one operation at a time
 // (go online or offline).
 
 interface nsIMsgWindow;
 
 [scriptable, uuid(5e885fec-09b0-11d5-a5bf-0060b0fc04b7)]
-interface nsIMsgOfflineManager : nsISupports 
+interface nsIMsgOfflineManager : nsISupports
 {
   attribute nsIMsgWindow window; // should be a progress window.
   attribute boolean inProgress;  // an online->offine or online->offline operation in progress.
                                  // the offline menu should be disabled.
   void goOnline(in boolean sendUnsentMessages, in boolean playbackOfflineImapOperations, in nsIMsgWindow aMsgWindow);
-  void synchronizeForOffline(in boolean downloadNews, in boolean downloadMail, in boolean sendUnsentMessages, 
+  void synchronizeForOffline(in boolean downloadNews, in boolean downloadMail, in boolean sendUnsentMessages,
                             in boolean goOfflineWhenDone, in nsIMsgWindow aMsgWindow);
 };
 
--- a/mailnews/base/public/nsIMsgProgress.idl
+++ b/mailnews/base/public/nsIMsgProgress.idl
@@ -8,33 +8,33 @@
 #include "nsIWebProgressListener.idl"
 
 interface mozIDOMWindowProxy;
 interface nsIMsgWindow;
 
 [scriptable, uuid(6d6fe91d-7f9a-4552-9737-9f74b0e75538)]
 interface nsIMsgProgress: nsIWebProgressListener {
 
-  /** 
+  /**
    * Open the progress dialog, you can specify parameters through an xpcom object
    */
   void openProgressDialog(in mozIDOMWindowProxy parent,
                           in nsIMsgWindow aMsgWindow,
                           in string dialogURL,
                           in boolean inDisplayModal,
                           in nsISupports parameters);
 
   /* Close the progress dialog */
   void closeProgressDialog(in boolean forceClose);
-  
+
   /* Register a Web Progress Listener */
   void registerListener(in nsIWebProgressListener listener);
 
   /* Unregister a Web Progress Listener */
   void unregisterListener(in nsIWebProgressListener listener);
-  
+
   /* Indicated if the user asked to cancel the current process */
   attribute boolean processCanceledByUser;
 
   attribute nsIMsgWindow msgWindow;
 };
 
 
--- a/mailnews/base/public/nsIMsgProtocolInfo.idl
+++ b/mailnews/base/public/nsIMsgProtocolInfo.idl
@@ -56,43 +56,43 @@ interface nsIMsgProtocolInfo : nsISuppor
      * can you duplicate this server?
      * for instance, local mail is unique and should not be duplicated.
      */
     readonly attribute boolean canDuplicate;
 
     /* the default port
        This is similar to nsIProtocolHanderl.defaultPort,
        but for architectural reasons, there is a mail-specific interface to this.
-       When the input param isSecure is set to true, for all supported protocols, 
+       When the input param isSecure is set to true, for all supported protocols,
        the secure port value is returned. If isSecure is set to false the default
        port value is returned  */
     long getDefaultServerPort(in boolean isSecure);
 
     /**
-     * An attribute that tell us whether on not we can 
-     * get messages for the given server type 
+     * An attribute that tell us whether on not we can
+     * get messages for the given server type
    * this is poorly named right now.
    * it's really is there an inbox for this type?
    * XXX todo, rename this.
      */
     readonly attribute boolean canGetMessages;
 
-    /** 
+    /**
    * do messages arrive for this server
    * if they do, we can use our junk controls on it.
    */
     readonly attribute boolean canGetIncomingMessages;
 
     /**
      * do biff by default?
      */
     readonly attribute boolean defaultDoBiff;
 
     /**
-     * do we need to show compose message link in the AccountCentral page ? 
+     * do we need to show compose message link in the AccountCentral page ?
      */
     readonly attribute boolean showComposeMsgLink;
 
     /**
      * Will new folders be created asynchronously?
      */
     readonly attribute boolean foldersCreatedAsync;
 };
--- a/mailnews/base/public/nsIMsgPurgeService.idl
+++ b/mailnews/base/public/nsIMsgPurgeService.idl
@@ -1,13 +1,13 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsISupports.idl"
 
 [scriptable, uuid(c73294b2-b619-4915-b0e8-314d4215e08d)]
 interface nsIMsgPurgeService : nsISupports {
 
   void init();
   void shutdown();
 };
--- a/mailnews/base/public/nsIMsgShutdown.idl
+++ b/mailnews/base/public/nsIMsgShutdown.idl
@@ -15,55 +15,55 @@ interface nsIMsgShutdownTask : nsISuppor
    * gives the task the flexibility to cancel running a task on shutdown
    * if nothing needs to be run.
    */
   readonly attribute boolean needsToRunTask;
 
   /**
    * At shutdown-time, this function will be called to all registered implementors.
    * Shutdown will be temporarily postponed until |OnStopRequest()| has been called
-   * on the passed in url-listener. 
+   * on the passed in url-listener.
    * @param inUrlListener The URL listener to report events to.
    * @param inMsgWindow The current message window to allow for posing dialogs.
    * @return If the shutdown URL was run or not. If the URL is running, the task
    *         will be responsible for notifying |inUrlListener| when the task is completed.
    */
   boolean doShutdownTask(in nsIUrlListener inUrlListener, in nsIMsgWindow inMsgWindow);
-  
+
   /**
    * Get the displayable name of the current task. This textual information will be
    * shown to the user so they know what shutdown task is being performed.
    * @return The name of the current task being performed.
    */
   AString getCurrentTaskName();
 };
 
 [scriptable, uuid(483C8ABB-ECF9-48A3-A394-2C604B603BD5)]
 interface nsIMsgShutdownService : nsISupports
 {
   /**
    * Get the number of tasks that will need to be processed at shutdown time.
    * @return The number of shutdown tasks to do.
-   */ 
+   */
   long getNumTasks();
-  
+
   /**
-   * Start the shutdown tasks. 
+   * Start the shutdown tasks.
    */
   void startShutdownTasks();
-  
+
   /**
    * Tell the service to stop running tasks and go ahead and shutdown the application.
    */
   void cancelShutdownTasks();
-  
+
   /**
    * Set the shutdown listener.
    */
   void setShutdownListener(in nsIWebProgressListener inListener);
-  
+
   /**
    * Set the status text of the shutdown progress dialog.
    */
   void setStatusText(in AString inStatusString);
 };
 
 
--- a/mailnews/base/public/nsIMsgStatusFeedback.idl
+++ b/mailnews/base/public/nsIMsgStatusFeedback.idl
@@ -1,13 +1,13 @@
 /* -*- Mode: C++; 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/. */
- 
+
 #include "nsISupports.idl"
 
 [scriptable, uuid(AACBFA34-8D29-4A08-9283-A8E5B3AB067F)]
 interface nsIMsgStatusFeedback : nsISupports {
   void showStatusString(in AString aStatus);
   void startMeteors();
   void stopMeteors();
   void showProgress(in long aPercent);
--- a/mailnews/base/public/nsIMsgTagService.idl
+++ b/mailnews/base/public/nsIMsgTagService.idl
@@ -17,17 +17,17 @@
  * This service will do the mapping between keys and tags. When a tag
  * is added, we'll need to "compute" the corresponding key to use. This
  * will probably entail replacing illegal ascii characters (' ', '/', etc)
  * with '_' and then converting to imap mod utf7. We'll then need to make
  * sure that no other keyword has the same value since that algorithm
  * doesn't guarantee a unique mapping.
  *
  * Tags are sorted internally by 'importance' by their ordinal strings (which by
- * default are equal to a tag's key and thus only stored if different). 
+ * default are equal to a tag's key and thus only stored if different).
  * The alphanumerically 'smallest' string is called the 'most important' one and
  * comes first in any sorted array. The remainder follows in ascending order.
  */
 
 [scriptable, uuid(84d593a3-5d8a-45e6-96e2-9189acd422e1)]
 interface nsIMsgTag : nsISupports {
   readonly attribute ACString key;     // distinct tag identifier
   readonly attribute AString  tag;     // human readable tag name
--- a/mailnews/base/public/nsIMsgWindow.idl
+++ b/mailnews/base/public/nsIMsgWindow.idl
@@ -25,17 +25,17 @@ interface nsIMsgWindowCommands : nsISupp
 
 [scriptable, uuid(a846fe48-4022-4296-a1c4-1dcd7eaecfe5)]
 interface nsIMsgWindow : nsISupports {
   attribute nsIMsgStatusFeedback statusFeedback;
   attribute nsIMsgWindowCommands windowCommands;
   attribute nsIMsgHeaderSink msgHeaderSink;
   attribute nsITransactionManager transactionManager;
   attribute nsIMsgFolder openFolder;
-  
+
   /**
    * @note Setting this attribute has various side effects, including
    * wiring up this object as the parent nsIURIContentListener for the
    * passed-in docshell as well as setting the message content policy service
    * to listen for OnLocationChange notifications.
    */
   attribute nsIDocShell rootDocShell;
 
--- a/mailnews/base/public/nsISpamSettings.idl
+++ b/mailnews/base/public/nsISpamSettings.idl
@@ -12,17 +12,17 @@ interface nsIMsgIncomingServer;
 interface nsIMsgDBHdr;
 interface nsIFile;
 
 [scriptable, uuid(1772BE95-FDA9-4dfd-A663-8AF92C1E3024)]
 interface nsISpamSettings: nsISupports {
   /**
    * 0 for nothing, 100 for highest
    */
-  attribute long level; 
+  attribute long level;
 
   attribute boolean moveOnSpam;
   readonly attribute boolean markAsReadOnSpam;
 
   /**
    * Most consumers will just use spamFolderURI rather than accessing any of
    * target attributes directly.
    */
@@ -69,17 +69,17 @@ interface nsISpamSettings: nsISupports {
   const long TRUST_NEGATIVES = 2;
   attribute long serverFilterTrustFlags;
 
   // for logging
   readonly attribute boolean loggingEnabled;
   attribute nsIOutputStream logStream;
   void logJunkHit(in nsIMsgDBHdr aMsgHdr, in boolean aMoveMessage);
   void logJunkString(in string aLogText);
-  void clone(in nsISpamSettings aSpamSettings); 
+  void clone(in nsISpamSettings aSpamSettings);
 
   // aServer -> spam settings are associated with a particular server
   void initialize(in nsIMsgIncomingServer aServer);
 
   /**
    * check if junk processing for a message should be bypassed
    *
    * Typically this is determined by comparing message to: address
--- a/mailnews/base/public/nsMsgMessageFlags.idl
+++ b/mailnews/base/public/nsMsgMessageFlags.idl
@@ -6,20 +6,20 @@
 typedef unsigned long nsMsgMessageFlagType;
 
 /// Flags about a single message.
 [scriptable,uuid(1ea3acdb-7b9f-4e35-9513-76e0a0cc6baa)]
 interface nsMsgMessageFlags
 {
   /// This message has been read
   const nsMsgMessageFlagType Read            = 0x00000001;
-  
+
   /// A reply to this message has been successfully sent
   const nsMsgMessageFlagType Replied         = 0x00000002;
-  
+
   /// This message has been flagged
   const nsMsgMessageFlagType Marked          = 0x00000004;
 
   /**
    * This message has already gone, but the folder hasn't been compacted yet.
    * Since actually removing a message from a folder is a semi-expensive
    * operation, we tend to delay it; messages with this bit set will be removed
    * the next time folder compaction is done.  Once this bit is set, it never
--- a/mailnews/base/search/public/nsIMsgFilterCustomAction.idl
+++ b/mailnews/base/search/public/nsIMsgFilterCustomAction.idl
@@ -18,17 +18,17 @@ interface nsIMsgFilterCustomAction : nsI
    * recommended form: ExtensionName@example.com#ActionName
    */
   readonly attribute ACString id;
 
   /* action name to display in action list. This should be localized. */
   readonly attribute AString name;
 
   /**
-   * Is this custom action valid for a particular filter type? 
+   * Is this custom action valid for a particular filter type?
    *
    * @param type    the filter type
    * @param scope   the search scope
    *
    * @return        true if valid
    */
   boolean isValidForType(in nsMsgFilterTypeType type, in nsMsgSearchScopeValue scope);
 
--- a/mailnews/base/search/public/nsIMsgFilterHitNotify.idl
+++ b/mailnews/base/search/public/nsIMsgFilterHitNotify.idl
@@ -11,17 +11,17 @@ interface nsIMsgWindow;
 ///////////////////////////////////////////////////////////////////////////////
 // nsIMsgFilterHitNotify is an interface designed to make evaluating filters
 // easier. Clients typically open a filter list and ask the filter list to
 // evaluate the filters for a particular message, and pass in an
 // interface pointer to be notified of hits. The filter list will call the
 // ApplyFilterHit method on the interface pointer in case of hits, along with
 // the desired action and value.
 // return value is used to indicate whether the
-// filter list should continue trying to apply filters or not. 
+// filter list should continue trying to apply filters or not.
 //
 ///////////////////////////////////////////////////////////////////////////////
 
 [scriptable, uuid(c9f15174-1f3f-11d3-a51b-0060b0fc04b7)]
 interface nsIMsgFilterHitNotify : nsISupports {
     boolean applyFilterHit(in nsIMsgFilter filter, in nsIMsgWindow msgWindow);
 };
 
--- a/mailnews/base/search/public/nsIMsgFilterList.idl
+++ b/mailnews/base/search/public/nsIMsgFilterList.idl
@@ -23,57 +23,57 @@ typedef long nsMsgFilterFileAttribValue;
 
 [scriptable, uuid(5d0ec03e-7e2f-49e9-b58a-b274c85f279e)]
 interface nsIMsgFilterList : nsISupports {
 
     const nsMsgFilterFileAttribValue attribNone = 0;
     const nsMsgFilterFileAttribValue attribVersion = 1;
     const nsMsgFilterFileAttribValue attribLogging = 2;
     const nsMsgFilterFileAttribValue attribName = 3;
-    const nsMsgFilterFileAttribValue attribEnabled = 4; 
-    const nsMsgFilterFileAttribValue attribDescription = 5; 
+    const nsMsgFilterFileAttribValue attribEnabled = 4;
+    const nsMsgFilterFileAttribValue attribDescription = 5;
     const nsMsgFilterFileAttribValue attribType = 6;
-    const nsMsgFilterFileAttribValue attribScriptFile = 7; 
-    const nsMsgFilterFileAttribValue attribAction = 8; 
-    const nsMsgFilterFileAttribValue attribActionValue = 9; 
+    const nsMsgFilterFileAttribValue attribScriptFile = 7;
+    const nsMsgFilterFileAttribValue attribAction = 8;
+    const nsMsgFilterFileAttribValue attribActionValue = 9;
     const nsMsgFilterFileAttribValue attribCondition = 10;
     const nsMsgFilterFileAttribValue attribCustomId = 11;
 
     attribute nsIMsgFolder folder;
     readonly attribute short version;
     readonly attribute ACString arbitraryHeaders;
     readonly attribute boolean shouldDownloadAllHeaders;
     readonly attribute unsigned long filterCount;
     nsIMsgFilter getFilterAt(in unsigned long filterIndex);
     nsIMsgFilter getFilterNamed(in AString filterName);
 
     void setFilterAt(in unsigned long filterIndex, in nsIMsgFilter filter);
     void removeFilter(in nsIMsgFilter filter);
     void removeFilterAt(in unsigned long filterIndex);
-    
+
     void moveFilterAt(in unsigned long filterIndex,
                       in nsMsgFilterMotionValue motion);
     void moveFilter(in nsIMsgFilter filter,
                     in nsMsgFilterMotionValue motion);
-    
+
     void insertFilterAt(in unsigned long filterIndex, in nsIMsgFilter filter);
 
     attribute boolean loggingEnabled;
 
     nsIMsgFilter createFilter(in AString name);
 
     void saveToFile(in nsIOutputStream stream);
 
     void parseCondition(in nsIMsgFilter aFilter, in string condition);
     // this is temporary so that we can save the filterlist to disk
     // without knowing where the filters were read from intially
     // (such as the filter list dialog)
     attribute nsIFile defaultFile;
     void saveToDefaultFile();
-    
+
 
     // marking noscript because headers is a null-separated list
     // of strings, which is not scriptable
     [noscript]
     void applyFiltersToHdr(in nsMsgFilterTypeType filterType,
                            in nsIMsgDBHdr msgHdr,
                            in nsIMsgFolder folder,
                            in nsIMsgDatabase db,
@@ -84,17 +84,17 @@ interface nsIMsgFilterList : nsISupports
                            in nsIMsgWindow msgWindow);
 
     // IO routines, used by filter object filing code.
     void writeIntAttr(in nsMsgFilterFileAttribValue attrib, in long value, in nsIOutputStream stream);
     void writeStrAttr(in nsMsgFilterFileAttribValue attrib, in string value, in nsIOutputStream stream);
     void writeWstrAttr(in nsMsgFilterFileAttribValue attrib, in wstring value, in nsIOutputStream stream);
     void writeBoolAttr(in nsMsgFilterFileAttribValue attrib, in boolean value, in nsIOutputStream stream);
     boolean matchOrChangeFilterTarget(in ACString oldUri, in ACString newUri, in boolean caseInsensitive);
- 
+
     // for filter logging
     // If both attributes are fetched successfully, they guarantee
     // the log file exists and is set up with a header.
     attribute nsIOutputStream logStream;
     readonly attribute ACString logURL;
     void clearLog();
     void flushLogIfNecessary();
 };
--- a/mailnews/base/search/public/nsIMsgFilterPlugin.idl
+++ b/mailnews/base/search/public/nsIMsgFilterPlugin.idl
@@ -21,17 +21,17 @@ interface nsIMsgFilterPlugin : nsISuppor
      * Do any necessary cleanup: flush and close any open files, etc.
      */
     void shutdown();
 
     /**
      * Some protocols (ie IMAP) can, as an optimization, avoid
      * downloading all message header lines.  If your plugin doesn't need
      * any more than the minimal set, it can return false for this attribute.
-     */     
+     */
     readonly attribute boolean shouldDownloadAllHeaders;
 
 };
 
 /*
  * These interfaces typically implement a Bayesian classifier of messages.
  *
  * Two sets of interfaces may be used: the older junk-only interfaces, and
@@ -126,32 +126,32 @@ interface nsIJunkMailPlugin : nsIMsgFilt
     const nsMsgJunkScore IS_SPAM_SCORE = 100; // junk
     const nsMsgJunkScore IS_HAM_SCORE = 0; // not junk
 
     /**
      * Trait ids for junk analysis. These values are fixed to ensure
      * backwards compatibility with existing junk-oriented classification
      * code.
      */
-     
+
     const unsigned long GOOD_TRAIT = 1; // good
     const unsigned long JUNK_TRAIT = 2; // junk
 
     /**
      * Given a message URI, determine what its current classification is
      * according to the current training set.
      */
     void classifyMessage(in string aMsgURI, in nsIMsgWindow aMsgWindow,
                          in nsIJunkMailClassificationListener aListener);
 
     void classifyMessages(in unsigned long aCount,
                           [array, size_is(aCount)] in string aMsgURIs,
                           in nsIMsgWindow aMsgWindow,
                           in nsIJunkMailClassificationListener aListener);
-    
+
     /**
      * Given a message URI, evaluate its relative match to a list of
      * traits according to the current training set.
      *
      * @param aMsgURI          URI of the message to be evaluated
      * @param aTraitCount      length of aProTraits, aAntiTraits arrays
      * @param aProTraits       array of trait ids for trained messages that
      *                         match the tested trait (for example,
@@ -201,17 +201,17 @@ interface nsIJunkMailPlugin : nsIMsgFilt
            [optional] in nsIMsgWindow aMsgWindow,
            [optional] in nsIJunkMailClassificationListener aJunkListener);
 
     /**
      * Called when a user forces the classification of a message. Should
      * cause the training set to be updated appropriately.
      *
      * @arg aMsgURI                     URI of the message to be classified
-     * @arg aOldUserClassification      Was it previous manually classified 
+     * @arg aOldUserClassification      Was it previous manually classified
      *                                  by the user?  If so, how?
      * @arg aNewClassification          New manual classification.
      * @arg aListener                   Callback (may be null)
      */
     void setMessageClassification(
         in string aMsgURI, in nsMsgJunkStatus aOldUserClassification,
         in nsMsgJunkStatus aNewClassification,
         in nsIMsgWindow aMsgWindow,
@@ -238,18 +238,18 @@ interface nsIJunkMailPlugin : nsIMsgFilt
         [array, size_is(aOldCount)] in unsigned long  aOldTraits,
         in unsigned long aNewCount,
         [array, size_is(aNewCount)] in unsigned long  aNewTraits,
         [optional] in nsIMsgTraitClassificationListener aTraitListener,
         [optional] in nsIMsgWindow aMsgWindow,
         [optional] in nsIJunkMailClassificationListener aJunkListener);
 
     readonly attribute boolean userHasClassified;
- 
-    /** Removes the training file and clears out any in memory training tokens. 
+
+    /** Removes the training file and clears out any in memory training tokens.
         User must retrain after doing this.
     **/
     void resetTrainingData();
 
     /**
      * Given a message URI, return a list of tokens and their contribution to
      * the analysis of a message's match to a trait according to the
      * current training set.
--- a/mailnews/base/search/public/nsIMsgSearchAdapter.idl
+++ b/mailnews/base/search/public/nsIMsgSearchAdapter.idl
@@ -23,17 +23,17 @@ interface nsIMsgSearchAdapter : nsISuppo
     void AddHit(in nsMsgKey key);
     void AddResultElement(in nsIMsgDBHdr aHdr);
 
     [noscript] void OpenResultElement(in nsMsgResultElement element);
     [noscript] void ModifyResultElement(in nsMsgResultElement element,
                                         in nsMsgSearchValue value);
 
     readonly attribute string encoding;
-    
+
     [noscript] nsIMsgFolder FindTargetFolder([const] in nsMsgResultElement
                                              element);
     void Abort();
     void getSearchCharsets(out AString srcCharset, out AString destCharset);
     /*
      * Clear the saved scope reference. This is used when deleting scope, which is not
      * reference counted in nsMsgSearchSession
      */
--- a/mailnews/base/search/public/nsIMsgSearchTerm.idl
+++ b/mailnews/base/search/public/nsIMsgSearchTerm.idl
@@ -53,17 +53,17 @@ interface nsIMsgSearchTerm : nsISupports
     boolean matchSize(in unsigned long size);
     boolean matchLabel(in nsMsgLabelValue aLabelValue);
     boolean matchJunkStatus(in string aJunkScore);
     /*
      * Test search term match for junkpercent
      *
      * @param  aJunkPercent  junkpercent for message (0-100, 100 is junk)
      * @return               true if matches
-     */   
+     */
     boolean matchJunkPercent(in unsigned long aJunkPercent);
     /*
      * Test search term match for junkscoreorigin
      * @param  aJunkScoreOrigin  Who set junk score? Possible values:
      *                           plugin filter imapflag user whitelist
      * @return                   true if matches
      */
     boolean matchJunkScoreOrigin(in string aJunkScoreOrigin);
--- a/mailnews/base/search/public/nsMsgSearchCore.idl
+++ b/mailnews/base/search/public/nsMsgSearchCore.idl
@@ -94,21 +94,21 @@ interface nsMsgSearchAttrib {
     const nsMsgSearchAttribValue JunkScoreOrigin = 47;
     const nsMsgSearchAttribValue Label = 48; /* mail only...can search by label */
     const nsMsgSearchAttribValue HdrProperty = 49; // uses nsIMsgSearchTerm::hdrProperty
     const nsMsgSearchAttribValue FolderFlag = 50; // uses nsIMsgSearchTerm::status
     const nsMsgSearchAttribValue Uint32HdrProperty = 51; // uses nsIMsgSearchTerm::hdrProperty
 
     // 52 is for showing customize - in ui headers start from 53 onwards up until 99.
 
-     /** OtherHeader MUST ALWAYS BE LAST attribute since 
+     /** OtherHeader MUST ALWAYS BE LAST attribute since
        * we can have an arbitrary # of these. The number can be changed,
        * however, because we never persist AttribValues as integers.
       */
-    const nsMsgSearchAttribValue OtherHeader = 52; 
+    const nsMsgSearchAttribValue OtherHeader = 52;
     // must be last attribute
     const nsMsgSearchAttribValue kNumMsgSearchAttributes = 100;
 };
 
 typedef long nsMsgSearchOpValue;
 
 [scriptable, uuid(9160b196-6fcb-4eba-aaaf-6c806c4ee420)]
 interface nsMsgSearchOp {
--- a/mailnews/compose/public/nsIMsgAttachment.idl
+++ b/mailnews/compose/public/nsIMsgAttachment.idl
@@ -21,17 +21,17 @@ interface nsIMsgAttachment : nsISupports
    *
    * @specify where the attachment live (localy or remotely)
    */
   attribute AUTF8String  url;
 
   /**
    * urlCharset attribute
    *
-   * @specify the Charset of url  (used to convert url to Unicode after 
+   * @specify the Charset of url  (used to convert url to Unicode after
    *  unescaping)
    */
   attribute ACString    urlCharset;
 
 
   /**
    * temporary attribute
    *
@@ -58,34 +58,34 @@ interface nsIMsgAttachment : nsISupports
 
   /**
    * contentLocation attribute
    *
    * @Specify the origin url of the attachment, used normally when attaching
    * a locally saved html document, but also used for cloud files.
    */
   attribute ACString contentLocation;
-  
+
   /**
    * contentType attribute
    *
    * @Specify the content-type of the attachment, this does not include extra content-type parameters. If
    * @you need to specify extra information, use contentTypeParam, charset, macType or macCreator.
    * @If ommitted, it will be determined base on either the name, the url or the content of the file.
    */
   attribute string    contentType;
 
   /**
    * contentTypeParam attribute
    *
    * @Specify the any content-type parameter (other than the content-type itself, charset, macType or macCreator).
    * @It will be added to the content-type during the send/save operation.
    */
   attribute string    contentTypeParam;
-  
+
   /**
    * charset attribute
    *
    * @Specify the charset of the attachment. It will be added to the content-type during the
    * @send/save operation
    * @If omitted, will be determined automatically (if possible).
    */
   attribute string    charset;
--- a/mailnews/compose/public/nsIMsgCompose.idl
+++ b/mailnews/compose/public/nsIMsgCompose.idl
@@ -100,21 +100,21 @@ interface nsIMsgCompose : nsIMsgSendList
    * @param aParams   An nsIMsgComposeParams object containing the initial
    *                  details for the compose.
    * @param aWindow   The optional window associated with this compose object.
    * @param aDocShell The optional docShell of the editor element that is used
    *                  for composing.
    */
   void initialize(in nsIMsgComposeParams aParams,
                   [optional] in mozIDOMWindowProxy aWindow,
-                  [optional] in nsIDocShell aDocShell); 
+                  [optional] in nsIDocShell aDocShell);
 
   /* ... */
   void SetDocumentCharset(in string charset);
-  
+
   /* ... */
   void RegisterStateListener(in nsIMsgComposeStateListener stateListener);
 
   /* ... */
   void UnregisterStateListener(in nsIMsgComposeStateListener stateListener);
 
   /* ... */
   void SendMsg(in MSG_DeliverMode deliverMode, in nsIMsgIdentity identity, in string accountKey, in nsIMsgWindow aMsgWindow, in nsIMsgProgress progress);
@@ -132,23 +132,23 @@ interface nsIMsgCompose : nsIMsgSendList
                        in nsIMsgIdentity identity,
                        in string accountKey);
 
   /* ... */
   void CloseWindow();
 
   /* ... */
   void abort();
-    
+
   /* ... */
   void quoteMessage(in string msgURI);
 
   /*
     AttachmentPrettyName will return only the leafName if the it's a file URL.
-    It will also convert the filename to Unicode assuming it's in  the file system 
+    It will also convert the filename to Unicode assuming it's in  the file system
     charset. In case of URL, |charset| parameter will be used in the conversion.
     This UI utility function should probably go into it's own class
   */
   AUTF8String AttachmentPrettyName(in AUTF8String url, in string charset);
 
   /**
    * Expand all mailing lists in the relevant compose fields to include the
    * members of their output. This method will additionally update the
@@ -201,17 +201,17 @@ interface nsIMsgCompose : nsIMsgSendList
   /* ... */
   attribute nsIEditor editor;
 
 	/* ... */
   readonly attribute mozIDOMWindowProxy domWindow;
 
 	/* ... */
   readonly attribute nsIMsgCompFields compFields;
-    
+
 	/* ... */
   readonly attribute boolean composeHTML;
 
 	/* ... */
   attribute MSG_ComposeType type;
 
 	/* ... */
   readonly attribute long wrapLength;
@@ -226,17 +226,17 @@ interface nsIMsgCompose : nsIMsgSendList
    * UTF16 when fetched by GetBody(). Fetch the body without conversion.
    */
   readonly attribute ACString bodyRaw;
 
   /**
    *  Init the editor THIS USED TO BE [noscript]
    *  Now, this is called after editor is created,
    *  which is triggered by loading startup url from JS.
-   *  The completion of document loading is detected by observing 
+   *  The completion of document loading is detected by observing
    *  the "obs_documentCreated" command
    */
   void initEditor(in nsIEditor editor, in mozIDOMWindowProxy contentWindow);
 
   /* The following functions are for internal use, essentially for the listener */
 
   /* ... */
   [noscript] void setCiteReference(in nsString citeReference);
@@ -250,44 +250,44 @@ interface nsIMsgCompose : nsIMsgSendList
                                    inout nsString aMsgBody);
 
   /* set any reply flags on the original message's folder */
   [noscript] void processReplyFlags();
   [noscript] void rememberQueuedDisposition();
 
   /* ... */
   [noscript] void convertAndLoadComposeWindow(in nsStringRef aPrefix,
-                                              in nsStringRef aBuf, 
+                                              in nsStringRef aBuf,
                                               in nsStringRef aSignature,
                                               in boolean aQuoted,
                                               in boolean aHTMLEditor);
 
   /* Tell the doc state listeners that the doc state has changed
    * aNotificationType is from nsIMsgComposeNotificationType
    */
   [noscript] void notifyStateListeners(in long aNotificationType, in nsresult aResult);
 
   /* Retreive the progress object */
   readonly attribute nsIMsgProgress progress;
-  
+
 	/* ... */
   [noscript] void buildBodyMessageAndSignature();
-  
+
 	/* ... */
   [noscript] void buildQuotedMessageAndSignature();
 
  	/* ... */
   [noscript] void getQuotingToFollow(out boolean quotingToFollow);
 
   readonly attribute string originalMsgURI;
 
   attribute boolean deleteDraft;
 
   /* true when the compose window is in the process of inserting quoted content
-     (i.e. via reply, forward inline or a quoting operation) into the document 
+     (i.e. via reply, forward inline or a quoting operation) into the document
    */
   attribute boolean insertingQuotedContent;
 
   /* for easier use of nsIMsgSendListener */
   void addMsgSendListener(in nsIMsgSendListener sendListener);
 
   /* for easier use of nsIMsgSendListener */
   void removeMsgSendListener(in nsIMsgSendListener sendListener);
@@ -298,10 +298,10 @@ interface nsIMsgCompose : nsIMsgSendList
 };
 
 /* send listener interface */
 [scriptable, uuid(ad6ee068-b225-47f9-a50e-8e48440282ca)]
 interface nsIMsgComposeSendListener : nsISupports {
 
   void setMsgCompose(in nsIMsgCompose msgCompose);
   void setDeliverMode(in MSG_DeliverMode deliverMode);
- 
+
 };
--- a/mailnews/compose/public/nsIMsgComposeParams.idl
+++ b/mailnews/compose/public/nsIMsgComposeParams.idl
@@ -24,17 +24,17 @@ interface nsIMsgCompType {
     const long ReplyToGroup             = 7;
     const long ReplyToSenderAndGroup    = 8;
     const long Draft                    = 9;
     const long Template                 = 10;
     const long MailToUrl                = 11;
     const long ReplyWithTemplate        = 12;
     const long ReplyToList              = 13;
 
-    /** 
+    /**
      * Will resend the original message keeping the Subject and the body the
      * same, and will set the Reply-To: header to the sender of the original
      * message.  This gets the redirector "out of the loop" because replies
      * to the message will go to the original sender.  This is not the same
      * as the Resent mechanism described in section 3.6.6 of RFC 2822, and
      * so therefore does not use Resent-* headers.
      */
     const long Redirect                 = 14;
--- a/mailnews/compose/public/nsIMsgComposeProgressParams.idl
+++ b/mailnews/compose/public/nsIMsgComposeProgressParams.idl
@@ -5,12 +5,12 @@
 #include "nsISupports.idl"
 #include "nsIMsgCompose.idl"
 
 [scriptable, uuid(1e0e7c00-3e4c-11d5-9daa-f88d288130fc)]
 interface nsIMsgComposeProgressParams: nsISupports {
 
   /* message subject */
   attribute wstring subject;
-  
+
   /* delivery mode */
   attribute MSG_DeliverMode deliveryMode;
 };
--- a/mailnews/compose/public/nsIMsgComposeSecure.idl
+++ b/mailnews/compose/public/nsIMsgComposeSecure.idl
@@ -8,17 +8,17 @@
 #include "nsISupports.idl"
 
 interface nsIMsgCompFields;
 interface nsIMsgIdentity;
 interface nsIOutputStream;
 
 /* Security interface */
 [scriptable, uuid(245f2adc-410e-4bdb-91e2-a7bb42d61787)]
-interface nsIMsgComposeSecure : nsISupports 
+interface nsIMsgComposeSecure : nsISupports
 {
     // requiresCryptoEncapsulation --> returns true if the current message send requires us to go through
 	// some encryption work. In the case of false, you can disregard the compose secure object.
     boolean requiresCryptoEncapsulation(in nsIMsgIdentity aIdentity, in nsIMsgCompFields aCompFields);
 
     void beginCryptoEncapsulation(in nsIOutputStream aStream, in string aRecipients, in nsIMsgCompFields aCompFields, in nsIMsgIdentity aIdentity, in nsIMsgSendReport sendReport, in boolean aIsDraft);
     void finishCryptoEncapsulation(in boolean aAbort, in nsIMsgSendReport sendReport);
     void mimeCryptoWriteBlock(in string aBuf, in long aLen);
--- a/mailnews/compose/public/nsIMsgComposeService.idl
+++ b/mailnews/compose/public/nsIMsgComposeService.idl
@@ -17,19 +17,19 @@ interface nsIMsgDBHdr;
 
 [scriptable, uuid(041782bf-e523-444b-a268-d90868fd2b50)]
 interface nsIMsgComposeService : nsISupports {
 
   /* we need a msg window because when we forward inline we may need progress */
   void OpenComposeWindow(in string msgComposeWindowURL,
                          in nsIMsgDBHdr msgHdr,
                          in string originalMsgURI,
-                         in MSG_ComposeType type, 
+                         in MSG_ComposeType type,
                          in MSG_ComposeFormat format,
-                         in nsIMsgIdentity identity, 
+                         in nsIMsgIdentity identity,
                          in nsIMsgWindow aMsgWindow);
 
   /**
    * Open a compose window given a mailto url and (optionally) an identity.
    *
    * @param aMsgComposeWindowURL Can be null in most cases. If you have your
    *                             own chrome url you want to use in bringing up a
    *                             compose window, pass it in here.
@@ -61,28 +61,28 @@ interface nsIMsgComposeService : nsISupp
   /**
   * defaultIdentity
   *
   * @return the default identity, in case no identity has been setup yet, will return null
   */
   readonly attribute nsIMsgIdentity defaultIdentity;
 
   /* This function is use for debugging purpose only and may go away at anytime without warning */
-  void TimeStamp(in string label, in boolean resetTime);  
-  
+  void TimeStamp(in string label, in boolean resetTime);
+
   /* This attribute is use for debugging purposes for determining whether to PR_LOG or not */
   readonly attribute boolean logComposePerformance;
 
   [noscript] boolean determineComposeHTML(in nsIMsgIdentity aIdentity, in MSG_ComposeFormat aFormat);
 
-  /** 
+  /**
    * given a mailto url, parse the attributes and turn them into a nsIMsgComposeParams object
    * @return nsIMsgComposeParams which corresponds to the passed in mailto url
    */
-  nsIMsgComposeParams getParamsForMailto(in nsIURI aURI); 
+  nsIMsgComposeParams getParamsForMailto(in nsIURI aURI);
 
   /**
    * @{
    * These constants control how to forward messages in forwardMessage.
    * kForwardAsDefault uses value of pref "mail.forward_message_mode".
    */
   const unsigned long kForwardAsDefault = 0;
   const unsigned long kForwardAsAttachment = 1;
@@ -109,39 +109,39 @@ interface nsIMsgComposeService : nsISupp
    * @param msgHdr the header of the message being replied to
    * @param templateUri uri of the template to base ther reply on
    * @param msgWindow message window to use
    * @param server server to use for determining which account to send from
    */
   void replyWithTemplate(in nsIMsgDBHdr msgHdr, in string templateUri,
                          in nsIMsgWindow msgWindow, in nsIMsgIncomingServer server);
 
-  /** 
+  /**
    * The docShell of each editor element used for composing should be registered
    * with this service. docShells passed to initCompose get registered
    * automatically. The registrations are typically used to get the msgCompose
    * window when determining what remote content to allow to be displayed.
    *
-   * @param aDocShell The nsIDocShell of the editor element. 
+   * @param aDocShell The nsIDocShell of the editor element.
    * @param aMsgCompose The compose object associated with the compose window
    */
   void registerComposeDocShell(in nsIDocShell aDocShell,
                                in nsIMsgCompose aMsgCompose);
 
-  /** 
+  /**
    * When an editor docShell is being closed, you should
    * unregister it from this service. nsIMsgCompose normally calls this
    * automatically for items passed to initCompose.
    *
-   * @param aDocShell The nsIDocShell of the editor element. 
+   * @param aDocShell The nsIDocShell of the editor element.
    */
   void unregisterComposeDocShell(in nsIDocShell aDocShell);
-  
+
   /**
    * For a given docShell, returns the nsIMsgCompose object associated with it.
    *
-   * @param aDocShell The nsIDocShell of the editor element. 
+   * @param aDocShell The nsIDocShell of the editor element.
    *
    * @return NS_ERROR_FAILURE if we could not find a nsIMsgCompose for
    *         the passed in docShell.
    */
   nsIMsgCompose getMsgComposeForDocShell(in nsIDocShell aDocShell);
 };
--- a/mailnews/compose/public/nsIMsgSend.idl
+++ b/mailnews/compose/public/nsIMsgSend.idl
@@ -1,20 +1,20 @@
 /* -*- Mode: C++; 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/. */
 
 /*
- * The nsIMsgSend method will create an RFC822 message and send it all in one operation 
- * as well as providing the ability to save disk files for later use. The mode of delivery 
- * can also be specified for the "Send Later", "Drafts" and "Templates" operations. (NOTE: 
- * This method could easily be broken in to a few different calls. Currently, this method 
- * does several functions depending on the arguments passed in, but this could easily lead 
- * to confusion. This is something that very well may change as time allows). 
+ * The nsIMsgSend method will create an RFC822 message and send it all in one operation
+ * as well as providing the ability to save disk files for later use. The mode of delivery
+ * can also be specified for the "Send Later", "Drafts" and "Templates" operations. (NOTE:
+ * This method could easily be broken in to a few different calls. Currently, this method
+ * does several functions depending on the arguments passed in, but this could easily lead
+ * to confusion. This is something that very well may change as time allows).
  */
 #include "nsISupports.idl"
 #include "nsrootidl.idl"
 #include "nsIMsgIdentity.idl"
 #include "nsIMsgCompFields.idl"
 #include "nsIMsgSendListener.idl"
 #include "nsIMsgSendReport.idl"
 #include "domstubs.idl"
@@ -56,17 +56,17 @@ interface nsIMsgAttachmentData : nsISupp
    * The type of the URL if known, otherwise empty. For example, if
    * you were attaching a temp file which was known to contain HTML data,
    * you would pass in TEXT_HTML as the realType, to override whatever type
    * the name of the tmp file might otherwise indicate.
    */
   attribute ACString realType;
 
   /// Goes along with real_type.
-  attribute ACString realEncoding; 
+  attribute ACString realEncoding;
 
   /**
    * The original name of this document, which will eventually show up in the
    * Content-Disposition header. For example, if you had copied a document to a
    * tmp file, this would be the original, human-readable name of the document.
    */
   attribute ACString realName;
   /**
@@ -106,19 +106,19 @@ interface nsIMsgAttachedFile : nsISuppor
    */
   attribute ACString encoding;
   /// For Content-Description header.
   attribute ACString description;
 
   /// X-Mozilla-Cloud-Part, if any.
   attribute ACString cloudPartInfo;
 
-  attribute ACString xMacType;    // mac-specific info 
-  attribute ACString xMacCreator; // mac-specific info 
-  attribute ACString realName;      // The real name of the file. 
+  attribute ACString xMacType;    // mac-specific info
+  attribute ACString xMacCreator; // mac-specific info
+  attribute ACString realName;      // The real name of the file.
 
   /**
    * Some statistics about the data that was written to the file, so that when
    * it comes time to compose a MIME message, we can make an informed decision
    * about what Content-Transfer-Encoding would be best for this attachment.
    * (If it's encoded already, we ignore this information and ship it as-is.)
    */
   attribute unsigned long size;
@@ -153,20 +153,20 @@ class nsMsgAttachmentHandler;
 [ptr] native nsMsgAttachmentHandlerArray(nsTArray<RefPtr<nsMsgAttachmentHandler>>);
 
 [scriptable, uuid(747fdfa2-1754-4282-ab26-1e55fd8de13c)]
 interface nsIMsgSend : nsISupports
 {
   //
   // This is the primary interface for creating and sending RFC822 messages
   // in the new architecture. Currently, this method supports many arguments
-  // that change the behavior of the operation. This will change in time to 
+  // that change the behavior of the operation. This will change in time to
   // be separate calls that will be more singluar in nature.
   //
-  // NOTE: when aEditor is non-null, a multipart related MHTML message will 
+  // NOTE: when aEditor is non-null, a multipart related MHTML message will
   // be created
   //
 
   /// Send the message straight away.
   const nsMsgDeliverMode nsMsgDeliverNow = 0;
   /**
    * Queue the message for sending later, but then wait for the user to
    * request to send it.
@@ -289,17 +289,17 @@ interface nsIMsgSend : nsISupports
                        in nsIFile              aSendIFile,
                        in boolean              aDeleteSendFileOnCompletion,
                        in boolean              aDigest_p,
                        in nsMsgDeliverMode     aMode,
                        in nsIMsgDBHdr          aMsgToReplace,
                        in nsIMsgSendListener   aListener,
                        in nsIMsgStatusFeedback aStatusFeedback,
                        in wstring              aPassword
-                       ); 
+                       );
 
     /* Abort current send/save operation */
     void abort();
 
     /**
      * Report a send failure.
      *
      * @param aFailureCode     The failure code of the send operation. See
@@ -313,30 +313,30 @@ interface nsIMsgSend : nsISupports
 
     /* Disable UI notification (alert message) */
     void setGUINotificationState(in boolean aEnableFlag);
 
     /* Crypto */
     void BeginCryptoEncapsulation();
 
     /* retreive the last send process report*/
-    readonly attribute nsIMsgSendReport sendReport; 
+    readonly attribute nsIMsgSendReport sendReport;
 
     /* methods for send listener ... */
     void notifyListenerOnStartSending(in string aMsgID, in unsigned long aMsgSize);
     void notifyListenerOnProgress(in string aMsgID, in unsigned long aProgress, in unsigned long aProgressMax);
     void notifyListenerOnStatus(in string aMsgID, in wstring aMsg);
     void notifyListenerOnStopSending(in string aMsgID, in nsresult aStatus, in wstring aMsg, in nsIFile returnFile);
     void deliverAsMailExit(in nsIURI aUrl, in nsresult aExitCode);
     void deliverAsNewsExit(in nsIURI aUrl, in nsresult aExitCode);
-    
+
     void sendDeliveryCallback(in nsIURI aUrl, in boolean inIsNewsDelivery, in nsresult aExitCode);
 
     /* methods for copy listener ... */
-    void notifyListenerOnStartCopy(); 
+    void notifyListenerOnStartCopy();
     void notifyListenerOnProgressCopy(in unsigned long aProgress, in unsigned long aProgressMax);
     void notifyListenerOnStopCopy(in nsresult aStatus);
     void getMessageId(out ACString messageID);
     /// When saving as draft, the folder uri we saved to.
     readonly attribute ACString folderUri;
 
     /**
      * After a draft is saved, use this to get the mime part number for the dom
--- a/mailnews/compose/public/nsIMsgSendLater.idl
+++ b/mailnews/compose/public/nsIMsgSendLater.idl
@@ -15,17 +15,17 @@ interface nsIMsgFolder;
  * Messages should be saved to an identity's unsent messages folder, and then
  * can be sent by calling sendUnsentMessages.
  *
  * Although the service supports passing identities as parameters, until bug
  * 317803 is fixed, all identities use the same folder, and hence the option
  * currently doesn't work.
  */
 [scriptable, uuid(fa324a4b-4b87-4e9a-a3c0-af9071a358df)]
-interface nsIMsgSendLater : nsIStreamListener 
+interface nsIMsgSendLater : nsIStreamListener
 {
   /// Used to obtain status feedback for when messages are sent.
   attribute nsIMsgStatusFeedback statusFeedback;
 
   /**
    * Sends any unsent messages in the identity's unsent messages folder.
    *
    * @param aIdentity   The identity to send messages for.
--- a/mailnews/compose/public/nsIMsgSendListener.idl
+++ b/mailnews/compose/public/nsIMsgSendListener.idl
@@ -25,27 +25,27 @@ interface nsIMsgSendListener : nsISuppor
     void onProgress(in string aMsgID, in uint32_t aProgress, in uint32_t aProgressMax);
 
     /**
      * Notify the observer with a status message for the message send
      */
     void onStatus(in string aMsgID, in wstring aMsg);
 
     /**
-     * Notify the observer that the message has been sent.  This method is 
-     * called once when the networking library has finished processing the 
+     * Notify the observer that the message has been sent.  This method is
+     * called once when the networking library has finished processing the
      * message.
-     * 
+     *
      * This method is called regardless of whether the the operation was successful.
      * aMsgID   The message id for the mail message
      * status   Status code for the message send.
      * msg      A text string describing the error.
      * returnFileSpec The returned file spec for save to file operations.
      */
-    void onStopSending(in string aMsgID, in nsresult aStatus, in wstring aMsg, 
+    void onStopSending(in string aMsgID, in nsresult aStatus, in wstring aMsg,
 					             in nsIFile aReturnFile);
 
     /**
      * Notify the observer with the folder uri before the draft is copied.
      */
     void onGetDraftFolderURI(in string aFolderURI);
 
     /**
--- a/mailnews/compose/public/nsIMsgSendReport.idl
+++ b/mailnews/compose/public/nsIMsgSendReport.idl
@@ -8,40 +8,40 @@
 
 
 [scriptable, uuid(2ec81175-bc65-44b9-ba87-462bc3f938db)]
 interface nsIMsgProcessReport : nsISupports {
 
   attribute boolean proceeded;
   attribute nsresult error;
   attribute wstring message;
-  
+
   void reset();
 };
 
 [scriptable, uuid(428c5bde-29f5-4bfe-830a-ec795a1c2975)]
 interface nsIMsgSendReport : nsISupports {
 
   const long process_Current = -1;
   const long process_BuildMessage = 0;
   const long process_NNTP = 1;
   const long process_SMTP = 2;
   const long process_Copy = 3;
   const long process_Filter = 4;
   const long process_FCC = 5;
-  
+
   attribute long deliveryMode;      /* see nsMsgDeliverMode in nsIMsgSend.idl for valid value */
   attribute long currentProcess;
 
   void reset();
-  
+
   void setProceeded(in long process, in boolean proceeded);
   void setError(in long process, in nsresult error, in boolean overwriteError);
   void setMessage(in long process, in wstring message, in boolean overwriteMessage);
-  
+
   nsIMsgProcessReport getProcessReport(in long process);
-  
+
   /* Display Report will ananlyze data collected during the send and will show the most appropriate error.
      Also it will return the error code. In case of no error or if the error has been canceld, it will return
      NS_OK.
   */
   nsresult displayReport(in nsIPrompt prompt, in boolean showErrorOnly, in boolean dontShowReportTwice);
 };
--- a/mailnews/compose/public/nsISmtpServer.idl
+++ b/mailnews/compose/public/nsISmtpServer.idl
@@ -83,47 +83,47 @@ interface nsISmtpServer : nsISupports {
    *
    * @param promptString  The string to prompt the user with when asking for
    *                      the password.
    * @param promptTitle   The title of the prompt.
    * @param netPrompt     An nsIAuthPrompt instance to use for the password
    *                      prompt.
    * @return              The password to use (may be null if no password was
    *                      obtained).
-   */  
+   */
   AString getPasswordWithUI(in wstring promptString, in wstring promptTitle,
                            in nsIAuthPrompt netPrompt);
 
   /**
    * Gets a username and password for this server, using a UI prompt if
    * necessary.
    *
    * @param promptString  The string to prompt the user with when asking for
    *                      the password.
    * @param promptTitle   The title of the prompt.
    * @param netPrompt     An nsIAuthPrompt instance to use for the password
    *                      prompt.
    * @param userid        The username to use (may be null if no password was
    *                      obtained).
    * @param password      The password to use (may be empty if no password was
    *                      obtained).
-   */  
+   */
   void getUsernamePasswordWithUI(in wstring promptString, in wstring promptTitle,
                                  in nsIAuthPrompt netPrompt, out ACString userid,
                                  out AString password);
 
   /**
    * Calling this will *remove* the saved password for this server from the
    * password manager and from the stored value.
    */
   void forgetPassword();
 
     /**
-   * Verify that we can logon 
-   * 
+   * Verify that we can logon
+   *
    * @param  aPassword - password to use
    * @param  aUrlListener - gets called back with success or failure.
    * @return - the url that we run.
    *
    */
   nsIURI verifyLogon(in nsIUrlListener aUrlListener, in nsIMsgWindow aMsgWindow);
 
   /// Call this to clear all preference values for this server.
--- a/mailnews/compose/public/nsISmtpService.idl
+++ b/mailnews/compose/public/nsISmtpService.idl
@@ -47,21 +47,21 @@ interface nsISmtpService : nsISupports {
    * @param aURL                    Provides a handle on the running url. You
    *                                can later interrupt the action by asking the
    *                                netlib service manager to interrupt the url
    *                                you are given back. This parameter may be
    *                                null.
    * @param aRequest                Provides a handle to the running request.
    *                                This parameter may be null.
    */
-  void sendMailMessage(in nsIFile aFilePath, in string aRecipients, 
+  void sendMailMessage(in nsIFile aFilePath, in string aRecipients,
                        in nsIMsgIdentity aSenderIdentity,
                        in AString aPassword,
-                       in nsIUrlListener aUrlListener, 
-                       in nsIMsgStatusFeedback aStatusListener, 
+                       in nsIUrlListener aUrlListener,
+                       in nsIMsgStatusFeedback aStatusListener,
                        in nsIInterfaceRequestor aNotificationCallbacks,
                        in boolean aRequestDSN,
                        out nsIURI aURL,
                        out nsIRequest aRequest);
 
   /**
    * Verifies that we can logon to the server with given password
    *
@@ -118,17 +118,17 @@ interface nsISmtpService : nsISupports {
    */
   nsISmtpServer findServer(in string username, in string hostname);
 
   /**
    * Look up the server with the given key
    * If the server does not exist, create it and add it to our list
    */
   nsISmtpServer getServerByKey(in string key);
-  
+
   /**
    * Delete the given server from the server list - does nothing if the server
    * does not exist
    * @param server   the server to delete. Use findServer() if you only know
    *                 the hostname
    */
   void deleteServer(in nsISmtpServer server);
 };
--- a/mailnews/compose/public/nsIURLFetcher.idl
+++ b/mailnews/compose/public/nsIURLFetcher.idl
@@ -12,17 +12,17 @@
 
 //
 // Callback declarations for URL completion
 //
 // For completion of send/message creation operations...
 typedef nsresult (*nsAttachSaveCompletionCallback) (nsresult aStatus,
                                                     const nsACString &aContentType,
                                                     const nsACString &aCharset,
-                                                    int32_t totalSize, const char16_t* aMsg, 
+                                                    int32_t totalSize, const char16_t* aMsg,
                                                     void *tagData);
 
 class nsMsgAttachmentHandler;
 %}
 
 native nsAttachSaveCompletionCallback(nsAttachSaveCompletionCallback);
 [ptr] native nsMsgAttachmentHandler(nsMsgAttachmentHandler);
 
--- a/mailnews/db/msgdb/public/nsIDBChangeAnnouncer.idl
+++ b/mailnews/db/msgdb/public/nsIDBChangeAnnouncer.idl
@@ -11,23 +11,23 @@ interface nsIMsgDBHdr;
 
 [scriptable, uuid(22baf00b-939d-42c3-ac51-21d99dfa1f05)]
 
 interface nsIDBChangeAnnouncer  : nsISupports {
  /* these 2 calls return NS_OK on success, NS_COMFALSE on failure */
   void AddListener(in nsIDBChangeListener listener);
   void RemoveListener(in nsIDBChangeListener listener);
 
-  void NotifyHdrChangeAll(in nsIMsgDBHdr aHdrChanged, in unsigned long aOldFlags, in unsigned long aNewFlags, 
+  void NotifyHdrChangeAll(in nsIMsgDBHdr aHdrChanged, in unsigned long aOldFlags, in unsigned long aNewFlags,
                                 in nsIDBChangeListener instigator);
-  void NotifyHdrAddedAll(in nsIMsgDBHdr aHdrAdded, in nsMsgKey parentKey, in long flags, 
+  void NotifyHdrAddedAll(in nsIMsgDBHdr aHdrAdded, in nsMsgKey parentKey, in long flags,
                                in nsIDBChangeListener instigator);
-  void NotifyHdrDeletedAll(in nsIMsgDBHdr aHdrDeleted, in nsMsgKey parentKey, in long flags, 
+  void NotifyHdrDeletedAll(in nsIMsgDBHdr aHdrDeleted, in nsMsgKey parentKey, in long flags,
                                  in nsIDBChangeListener instigator);
-  void NotifyParentChangedAll(in nsMsgKey keyReparented, in nsMsgKey oldParent, in nsMsgKey newParent, in nsIDBChangeListener instigator); 
+  void NotifyParentChangedAll(in nsMsgKey keyReparented, in nsMsgKey oldParent, in nsMsgKey newParent, in nsIDBChangeListener instigator);
 
   void NotifyReadChanged(in nsIDBChangeListener instigator);
 
   void NotifyJunkScoreChanged(in nsIDBChangeListener aInstigator);
 
   void NotifyAnnouncerGoingAway();
 };
 
--- a/mailnews/db/msgdb/public/nsIDBChangeListener.idl
+++ b/mailnews/db/msgdb/public/nsIDBChangeListener.idl
@@ -89,27 +89,27 @@ interface  nsIDBChangeListener : nsISupp
    * (such as a filter match). The calling function stores the value of aStatus, changes the
    * header aHdrToChange, then calls OnHdrPropertyChanged again with aPreChange false. On this
    * second call, the stored value of aStatus is provided, so that any changes may be noted.
    *
    * @param aHdrToChange the message header that is changing.
    * @param aPreChange   true on first call before change, false on second call after change
    * @param aStatus      storage location provided by calling routine for status
    * @param aInstigator  object that initiated the change
-   */   
+   */
   void onHdrPropertyChanged(in nsIMsgDBHdr aHdrToChange, in boolean aPreChange, inout uint32_t aStatus,
                        in nsIDBChangeListener aInstigator);
 
   /**
    * Generic notification for extensibility. Common events should be documented
    * here so we have a hope of keeping the documentation up to date.
    * Current events are:
    * "DBOpened" - When a pending listener becomes real. This can happen when
    *              the existing db is force closed and a new one opened. Only
    *              registered pending listeners are notified.
    *
    * @param aDB      the db for this event.
-   * @param aEvent   type of event. 
+   * @param aEvent   type of event.
    *
    */
   void onEvent(in nsIMsgDatabase aDB, in string aEvent);
 };
 
--- a/mailnews/db/msgdb/public/nsIMsgDatabase.idl
+++ b/mailnews/db/msgdb/public/nsIMsgDatabase.idl
@@ -76,17 +76,17 @@ interface nsIMsgDownloadSettings : nsISu
   attribute boolean downloadUnreadOnly;
   attribute unsigned long ageLimitOfMsgsToDownload;
 };
 
 typedef long nsMsgDBCommit;
 
 [scriptable, uuid(15431853-e448-45dc-8978-9958bf74d9b7)]
 
-interface nsMsgDBCommitType 
+interface nsMsgDBCommitType
 {
   const long kLargeCommit = 1;
   const long kSessionCommit = 2;
   const long kCompressCommit = 3;
 };
 
 [ref] native nsMsgKeyArrayRef(nsTArray<nsMsgKey>);
 [ptr] native nsMsgKeyArrayPtr(nsTArray<nsMsgKey>);
@@ -372,26 +372,26 @@ interface nsIMsgDatabase : nsIDBChangeAn
   // PERMANENTFLAGS
   boolean IsMDNNeeded(in nsMsgKey key);
 
   void MarkMDNSent(in nsMsgKey key, in boolean bNeeded,
                          in nsIDBChangeListener instigator);
   boolean IsMDNSent(in nsMsgKey key);
 
 // methods to get and set docsets for ids.
-  void MarkRead(in nsMsgKey key, in boolean bRead, 
+  void MarkRead(in nsMsgKey key, in boolean bRead,
                       in nsIDBChangeListener instigator);
 
-  void MarkReplied(in nsMsgKey key, in boolean bReplied, 
+  void MarkReplied(in nsMsgKey key, in boolean bReplied,
                          in nsIDBChangeListener instigator);
 
-  void MarkForwarded(in nsMsgKey key, in boolean bForwarded, 
+  void MarkForwarded(in nsMsgKey key, in boolean bForwarded,
                            in nsIDBChangeListener instigator);
 
-  void MarkHasAttachments(in nsMsgKey key, in boolean bHasAttachments, 
+  void MarkHasAttachments(in nsMsgKey key, in boolean bHasAttachments,
                                 in nsIDBChangeListener instigator);
 
   void MarkThreadRead(in nsIMsgThread thread, in nsIDBChangeListener instigator,
                       out unsigned long aCount,
                       [array, size_is(aCount)] out nsMsgKey aKeys);
 
   /// Mark the specified thread ignored.
   void MarkThreadIgnored(in nsIMsgThread thread, in nsMsgKey threadKey,
@@ -419,17 +419,17 @@ interface nsIMsgDatabase : nsIDBChangeAn
   boolean HasAttachments(in nsMsgKey key);
 
   void MarkAllRead(out unsigned long aCount,
                    [array, size_is(aCount)] out nsMsgKey aKeys);
 
   void deleteMessages(in unsigned long aNumKeys,
                       [array, size_is(aNumKeys)] in nsMsgKey nsMsgKeys,
                       in nsIDBChangeListener instigator);
-  void DeleteMessage(in nsMsgKey key, 
+  void DeleteMessage(in nsMsgKey key,
                            in nsIDBChangeListener instigator,
                            in boolean commit);
   void DeleteHeader(in nsIMsgDBHdr msgHdr, in nsIDBChangeListener instigator,
                           in boolean commit, in boolean notify);
 
   // lower level routine that doesn't remove hdr from thread or adjust counts
   void RemoveHeaderMdbRow(in nsIMsgDBHdr msgHdr);
 
@@ -464,17 +464,17 @@ interface nsIMsgDatabase : nsIDBChangeAn
                              in nsIDBChangeListener instigator);
 
   readonly attribute nsMsgKey FirstNew;
 
   attribute nsIMsgRetentionSettings msgRetentionSettings;
   // purge unwanted message headers and/or bodies. If deleteViaFolder is
   // true, we'll call nsIMsgFolder::DeleteMessages to delete the messages.
   // Otherwise, we'll just delete them from the db.
-  void applyRetentionSettings(in nsIMsgRetentionSettings aMsgRetentionSettings, 
+  void applyRetentionSettings(in nsIMsgRetentionSettings aMsgRetentionSettings,
                               in boolean aDeleteViaFolder);
 
   attribute nsIMsgDownloadSettings msgDownloadSettings;
 
   boolean HasNew();
   void ClearNewList(in boolean notify);
   void AddToNewList(in nsMsgKey key);
 
@@ -532,34 +532,34 @@ interface nsIMsgDatabase : nsIDBChangeAn
   // for sorting
   void createCollationKey(in AString sourceString, out unsigned long aCount,
                           [array, size_is(aCount)] out octet aKey);
   long compareCollationKeys(in unsigned long aLen1,
                             [array, size_is(aLen1)] in octet key1,
                             in unsigned long aLen2,
                             [array, size_is(aLen2)] in octet key2);
 
-  // when creating a view, the default sort order and view flags 
+  // when creating a view, the default sort order and view flags
   // use these for the default.  (this allows news to override, so that
   // news can be threaded by default)
   readonly attribute nsMsgViewFlagsTypeValue defaultViewFlags;
   readonly attribute nsMsgViewSortTypeValue  defaultSortType;
   readonly attribute nsMsgViewSortOrderValue defaultSortOrder;
 
   // for msg hdr hash table allocation. controllable by caller to improve folder loading preformance.
   attribute unsigned long msgHdrCacheSize;
 
   /**
    * The list of messages currently in the NEW state.
-   * 
+   *
    * If there are no such messages, a null pointer may be returned.
    * the caller should free when done using free.
    */
   void getNewList(out unsigned long count, [array, size_is(count)] out nsMsgKey newKeys);
-  
+
   // These are used for caching search hits in a db, to speed up saved search folders.
   nsISimpleEnumerator getCachedHits(in string aSearchFolderUri);
   void refreshCache(in string aSearchFolderUri, in unsigned long aNumKeys, [array, size_is (aNumKeys)] in nsMsgKey aNewHits,
      out unsigned long aNumBadHits, [array, size_is(aNumBadHits)] out nsMsgKey aStaleHits);
   void updateHdrInCache(in string aSearchFolderUri, in nsIMsgDBHdr aHdr, in boolean aAdd);
   boolean hdrIsInCache(in string aSearchFolderUri, in nsIMsgDBHdr aHdr);
 
 };
--- a/mailnews/db/msgdb/public/nsIMsgOfflineImapOperation.idl
+++ b/mailnews/db/msgdb/public/nsIMsgOfflineImapOperation.idl
@@ -37,17 +37,17 @@ interface nsIMsgOfflineImapOperation : n
   attribute nsMsgKey srcMessageKey;
 
   attribute imapMessageFlagsType flagOperation;
   attribute imapMessageFlagsType newFlags; // for kFlagsChanged
   attribute string destinationFolderURI; // for move or copy
   attribute string sourceFolderURI;
   void addKeywordToAdd(in string aKeyword);
   void addKeywordToRemove(in string aKeyword);
-  readonly attribute string keywordsToAdd; 
+  readonly attribute string keywordsToAdd;
   readonly attribute string keywordsToRemove;
   readonly attribute long numberOfCopies;
   void addMessageCopyOperation(in string destinationBox);
   string getCopyDestination(in long copyIndex);
   attribute unsigned long msgSize;
   attribute boolean playingBack;
 };
 
--- a/mailnews/extensions/mailviews/public/nsIMsgMailViewList.idl
+++ b/mailnews/extensions/mailviews/public/nsIMsgMailViewList.idl
@@ -14,15 +14,15 @@ typedef long nsMsgMailViewListFileAttrib
 
 [scriptable, uuid(6DD798D7-9528-49e6-9447-3AAF14D2D36F)]
 interface nsIMsgMailViewList : nsISupports {
 
     readonly attribute unsigned long mailViewCount;
 
     nsIMsgMailView getMailViewAt(in unsigned long mailViewIndex);
 
-    void addMailView(in nsIMsgMailView mailView); 
+    void addMailView(in nsIMsgMailView mailView);
     void removeMailView(in nsIMsgMailView mailView);
 
     nsIMsgMailView createMailView();
 
-    void save();    
+    void save();
 };
--- a/mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl
+++ b/mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl
@@ -1,21 +1,21 @@
 /* -*- 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/. */
 
-/* This is a private interface used exclusively by SMIME. 
+/* This is a private interface used exclusively by SMIME.
    It provides functionality to the JS UI code,
    that is only accessible from C++.
 */
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(f86e55c9-530b-483f-91a7-10fb5b852488)]
-interface nsIEncryptedSMIMEURIsService : nsISupports 
+interface nsIEncryptedSMIMEURIsService : nsISupports
 {
   void rememberEncrypted(in AUTF8String uri);
-  
+
   void forgetEncrypted(in AUTF8String uri);
-  
+
   boolean isEncrypted(in AUTF8String uri);
 };
--- a/mailnews/extensions/smime/public/nsIMsgSMIMECompFields.idl
+++ b/mailnews/extensions/smime/public/nsIMsgSMIMECompFields.idl
@@ -1,18 +1,18 @@
 /* -*- 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/. */
 
 
 /* This is a private interface used exclusively by SMIME. NO ONE outside of extensions/smime
-   should have any knowledge nor should be referring to this interface. 
+   should have any knowledge nor should be referring to this interface.
 */
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(338E91F9-5970-4f81-B771-0822A32B1161)]
-interface nsIMsgSMIMECompFields : nsISupports 
+interface nsIMsgSMIMECompFields : nsISupports
 {
   attribute boolean signMessage;
   attribute boolean requireEncryptMessage;
 };
--- a/mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl
+++ b/mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl
@@ -1,23 +1,23 @@
 /* -*- 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/. */
 
 
 /* This is a private interface used exclusively by SMIME. NO ONE outside of extensions/smime
-   or the hard coded smime decryption files in mime/src should have any knowledge nor should 
-   be referring to this interface. 
+   or the hard coded smime decryption files in mime/src should have any knowledge nor should
+   be referring to this interface.
 */
 
 #include "nsISupports.idl"
 
 interface nsIX509Cert;
 
 [scriptable, uuid(25380FA1-E70C-4e82-B0BC-F31C2F41C470)]
-interface nsIMsgSMIMEHeaderSink : nsISupports 
+interface nsIMsgSMIMEHeaderSink : nsISupports
 {
   void signedStatus(in long aNestingLevel, in long aSignatureStatus, in nsIX509Cert aSignerCert);
   void encryptionStatus(in long aNestingLevel, in long aEncryptionStatus, in nsIX509Cert aReceipientCert);
 
   long maxWantedNesting(); // 1 == only info on outermost nesting level wanted
 };
--- a/mailnews/extensions/smime/public/nsISMimeJSHelper.idl
+++ b/mailnews/extensions/smime/public/nsISMimeJSHelper.idl
@@ -1,25 +1,25 @@
 /* -*- 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/. */
 
-/* This is a private interface used exclusively by SMIME. 
+/* This is a private interface used exclusively by SMIME.
    It provides functionality to the JS UI code,
    that is only accessible from C++.
 */
 
 #include "nsISupports.idl"
 
 interface nsIMsgCompFields;
 interface nsIX509Cert;
 
 [scriptable, uuid(a54e3c8f-a000-4901-898f-fafb297b1546)]
-interface nsISMimeJSHelper : nsISupports 
+interface nsISMimeJSHelper : nsISupports
 {
   /**
    * Obtains detailed information about the certificate availability
    * status of email recipients.
    *
    * @param compFields - Attributes of the composed message
    *
    * @param count - The number of entries in returned arrays
--- a/mailnews/imap/public/nsIAutoSyncFolderStrategy.idl
+++ b/mailnews/imap/public/nsIAutoSyncFolderStrategy.idl
@@ -1,23 +1,23 @@
 /* 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/. */
- 
+
 #include "nsISupports.idl"
 #include "nsIAutoSyncMsgStrategy.idl"
 
 interface nsIMsgAccount;
 
-[scriptable, uuid(d3bf91cc-37bb-4752-9994-1a8473e46a90)] 
+[scriptable, uuid(d3bf91cc-37bb-4752-9994-1a8473e46a90)]
 interface nsIAutoSyncFolderStrategy : nsISupports {
 
   /**
    * Returns a relative-priority for the second folder by comparing with the first one.
    */
   nsAutoSyncStrategyDecisionType sort(in nsIMsgFolder aFolder1, in nsIMsgFolder aFolder2);
-  
+
   /**
    * Tests whether the given folder should be excluded or not.
    */
   boolean isExcluded(in nsIMsgFolder aFolder);
 
 };
--- a/mailnews/imap/public/nsIAutoSyncManager.idl
+++ b/mailnews/imap/public/nsIAutoSyncManager.idl
@@ -1,23 +1,23 @@
 /* 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/. */
- 
+
 #include "nsISupports.idl"
 
 interface nsIAutoSyncMsgStrategy;
 interface nsIAutoSyncFolderStrategy;
 interface nsIMsgDBHdr;
 interface nsIAutoSyncState;
 interface nsIAutoSyncMgrListener;
 interface nsIMsgFolder;
 interface nsIMsgAccount;
 
-[scriptable, uuid(41ec36a7-1a53-4ca3-b698-dca6452a8761)] 
+[scriptable, uuid(41ec36a7-1a53-4ca3-b698-dca6452a8761)]
 interface nsIAutoSyncMgrListener : nsISupports {
 
   /**
    * Queue types
    */
   const long PriorityQueue = 1;
   const long UpdateQueue = 2;
   const long DiscoveryQueue = 3;
@@ -25,79 +25,79 @@ interface nsIAutoSyncMgrListener : nsISu
   /**
    * It is called on the listener when a new folder is added into
    * the queue
    *
    * @param aQType type of the queue
    * @param aFolder folder that is added into the queue
    */
   void onFolderAddedIntoQ(in long aQType, in nsIMsgFolder aFolder);
-  
+
   /**
    * It is called on the listener when a folder is removed from
    * the queue
    *
    * @param aQType type of the queue
    * @param aFolder folder that is removed from the queue
    */
   void onFolderRemovedFromQ(in long aQType, in nsIMsgFolder aFolder);
-  
+
   /**
    * It is called on the listener when a message download is successfully started
    *
-   * @param aFolder folder in which the download is started 
-   * @param aNumberOfMessages number of the messages that will be downloaded 
-   * @param aTotalPending  total number of messages waiting to be downloaded 
+   * @param aFolder folder in which the download is started
+   * @param aNumberOfMessages number of the messages that will be downloaded
+   * @param aTotalPending  total number of messages waiting to be downloaded
    */
-  void onDownloadStarted(in nsIMsgFolder aFolder, in unsigned long aNumberOfMessages, 
+  void onDownloadStarted(in nsIMsgFolder aFolder, in unsigned long aNumberOfMessages,
                          in unsigned long aTotalPending);
   /**
-   * It is called on the listener when a message download on the given folder 
+   * It is called on the listener when a message download on the given folder
    * is completed
    */
   void onDownloadCompleted(in nsIMsgFolder aFolder);
-  
+
   /**
    * It is called on the listener when an error occurs during the message download
    */
   void onDownloadError(in nsIMsgFolder aFolder);
-  
+
   /*
-   * Auto-Sync manager is running or waiting for idle 
+   * Auto-Sync manager is running or waiting for idle
    */
   void onStateChanged(in boolean aRunning);
-  
+
   /**
-   * It is called on the listener after the auto-sync manager starts to process 
+   * It is called on the listener after the auto-sync manager starts to process
    * existing headers of the given folder to find missing message bodies
    * (mostly for debugging purposes)
    */
-  void onDiscoveryQProcessed(in nsIMsgFolder aFolder, in unsigned long aNumberOfHdrsProcessed, 
+  void onDiscoveryQProcessed(in nsIMsgFolder aFolder, in unsigned long aNumberOfHdrsProcessed,
                              in unsigned long aLeftToProcess);
-  
+
   /**
-   * It is called on the listener after the auto-sync manager updates the given folder 
+   * It is called on the listener after the auto-sync manager updates the given folder
    * (mostly for debugging purposes)
    */
   void onAutoSyncInitiated(in nsIMsgFolder aFolder);
 };
 
 
 [scriptable, uuid(7fe0b48e-f5d8-4747-beb7-888c9cced3a5)]
 interface nsIAutoSyncManager : nsISupports {
 
-  /** 
+  /**
    * Download models
    */
   const long dmParallel = 0;
   const long dmChained = 1;
 
   /**
    * Suggested minimum grouping size in bytes for message downloads.
-   * Setting this attribute to 0 resets its value to the 
+   * Setting this attribute to 0 resets its value to the
    * hardcoded default.
    */
   attribute unsigned long groupSize;
 
   /**
    * Active strategy function to prioritize
    * messages in the download queue
    */
@@ -108,58 +108,58 @@ interface nsIAutoSyncManager : nsISuppor
    * folders in the download queue
    */
   attribute nsIAutoSyncFolderStrategy folderStrategy;
 
   /**
    * Adds a listener to notify about auto-sync events
    */
   void addListener(in nsIAutoSyncMgrListener aListener);
-  
+
   /**
    * Removes the listener from notification list
    */
   void removeListener(in nsIAutoSyncMgrListener aListener);
-    
+
   /**
-   * Tests the given message to make sure that whether 
+   * Tests the given message to make sure that whether
    * it fits the download criteria or not
    */
   boolean doesMsgFitDownloadCriteria(in nsIMsgDBHdr aMsgHdr);
-  
+
   /**
    * Called by the nsAutoSyncState object when the download
    * queue is changed. Given interface is already addref'd.
    */
   void onDownloadQChanged(in nsIAutoSyncState aAutoSyncStateObj);
-  
+
   /**
    * Called by the nsAutoSyncState object when the download
    * is started. Given interface is already addref'd.
    */
   void onDownloadStarted(in nsIAutoSyncState aAutoSyncStateObj, in nsresult aStartCode);
-  
+
   /**
    * Called by the nsAutoSyncState object when the download
    * completed. Given interface is already addref'd.
    */
   void onDownloadCompleted(in nsIAutoSyncState aAutoSyncStateObj, in nsresult aExitCode);
-  
+
   /**
    * Number of elements in the discovery queue.
    * @see nsAutoSyncManager.h for details
    */
   readonly attribute unsigned long discoveryQLength;
-  
+
   /**
    * Number of elements in the update queue.
    * @see nsAutoSyncManager.h for details
    */
   readonly attribute unsigned long updateQLength;
-  
+
   /**
    * Number of elements in the download queue (a.k.a priority queue).
    * @see nsAutoSyncManager.h for details
    */
   readonly attribute unsigned long downloadQLength;
 
   /**
    * Active download model; Chained (serial), or Parallel
@@ -171,17 +171,17 @@ interface nsIAutoSyncManager : nsISuppor
    * added to it. Autosync may want to add this folder to the update q.
    *
    * @param aAutoSyncState state obj for folder needing updating
    */
   void onFolderHasPendingMsgs(in nsIAutoSyncState aAutoSyncState);
 
   /// Pause autosync (e.g., we're downloading for offline).
   void pause();
-  
+
   /// Resume normal autosync activities (e.g., we've come back online).
   void resume();
 };
 
 %{C++
 #define NS_AUTOSYNCMANAGER_CID  \
 { /* C358C568-47B2-42b2-8146-3C0F8D1FAD6E */  \
   0xc358c568, 0x47b2, 0x42b2,                 \
--- a/mailnews/imap/public/nsIAutoSyncMsgStrategy.idl
+++ b/mailnews/imap/public/nsIAutoSyncMsgStrategy.idl
@@ -1,12 +1,12 @@
 /* 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/. */
- 
+
 #include "nsISupports.idl"
 
 interface nsIMsgFolder;
 interface nsIMsgDBHdr;
 
 typedef long nsAutoSyncStrategyDecisionType;
 
 [scriptable,uuid(0365bec5-3753-43c2-b13e-441747815f37)]
@@ -15,21 +15,21 @@ interface nsAutoSyncStrategyDecisions
   /// same priority
   const nsAutoSyncStrategyDecisionType Same         = 0x00000001;
   /// higher priority
   const nsAutoSyncStrategyDecisionType Higher       = 0x00000002;
   /// lower priority
   const nsAutoSyncStrategyDecisionType Lower        = 0x00000004;
 };
 
-[scriptable, uuid(9cb4baff-3112-4cf8-8463-f81b0aa78f93)] 
+[scriptable, uuid(9cb4baff-3112-4cf8-8463-f81b0aa78f93)]
 interface nsIAutoSyncMsgStrategy : nsISupports {
 
   /**
    * Returns a relative-priority for the second message by comparing with the first message.
    */
   nsAutoSyncStrategyDecisionType sort(in nsIMsgFolder aFolder, in nsIMsgDBHdr aMsgHdr1, in nsIMsgDBHdr aMsgHdr2);
-  
+
   /**
    * Tests whether the given message should be excluded or not.
    */
   boolean isExcluded(in nsIMsgFolder aFolder, in nsIMsgDBHdr aMsgHdr);
 };
--- a/mailnews/imap/public/nsIAutoSyncState.idl
+++ b/mailnews/imap/public/nsIAutoSyncState.idl
@@ -15,17 +15,17 @@ interface nsIAutoSyncState : nsISupports
    * Auto-Sync states.
    *
    * ***WARNING***: If you change these, be sure to update stateStrings in
    * nsAutoSyncState.cpp. If you do not, out-of-bounds memory accesses may
    * happen.
    */
 
   /** sync'd and no pending messages */
-  const long stCompletedIdle = 0;     
+  const long stCompletedIdle = 0;
 
   /** STATUS issued. Will check to see if  any counts changed since last STATUS */
   const long stStatusIssued = 1;
 
   /**
    * Status found new messages. Update should be issued next. Status most
    * likely was issued by non-autosync code (e.g., check other folders for
    * new messages).
@@ -37,94 +37,94 @@ interface nsIAutoSyncState : nsISupports
 
   /** Message body download in progress */
   const long stDownloadInProgress = 4;
 
   /** ready to download the next group of messages */
   const long stReadyToDownload = 5;
 
   /**
-   * Puts the download queue offset to its previous position. 
+   * Puts the download queue offset to its previous position.
    */
   void rollback();
-  
+
   /**
    * Clears the download queue. Resets the offsets.
    */
   void resetDownloadQ();
-  
+
   /**
    * Rollbacks the offset to the previous position and
    * changes the state to ready-to-download.
    */
   void tryCurrentGroupAgain(in unsigned long aRetryCount);
-  
+
   /**
    * Resets the retry counter.
    */
   void resetRetryCounter();
-  
+
   /**
-   * Tests whether the given folder has the same imap server. 
+   * Tests whether the given folder has the same imap server.
    */
   boolean isSibling(in nsIAutoSyncState aAnotherStateObj);
 
   /**
    * Update the folder to find new message headers to download
    */
   void updateFolder();
 
   /**
    * Downloads the bodies of the given messages from the server.
    */
   void downloadMessagesForOffline(in nsIArray aMessageList);
 
   /**
-   * Populates the given array with the keys of the messages that will 
+   * Populates the given array with the keys of the messages that will
    * be downloaded next.
    *
    * @param aSuggestedGroupSizeLimit suggested size per group in bytes
    * @param aActualGroupSize total size of the messages in bytes in the group
    */
-  nsIMutableArray getNextGroupOfMessages(in unsigned long aSuggestedGroupSizeLimit, 
+  nsIMutableArray getNextGroupOfMessages(in unsigned long aSuggestedGroupSizeLimit,
                                          out unsigned long aActualGroupSize);
-  
+
   /**
-   * Iterates through the existing headers of the folder to find 
-   * the messages not downloaded yet. 
+   * Iterates through the existing headers of the folder to find
+   * the messages not downloaded yet.
    *
    * @param aNumberOfHeadersToProcess number of headers to be processed
    *                                  at this pass
    *
    * @return the number of headers left to process
    */
   unsigned long processExistingHeaders(in unsigned long aNumberOfHeadersToProcess);
 
   /**
-   * Last time the existing headers are completely processed. 
+   * Last time the existing headers are completely processed.
    */
   [noscript]readonly attribute PRTime lastSyncTime;
-  
+
   /**
    * Last time the owner folder is updated.
    */
   [noscript]attribute PRTime lastUpdateTime;
-  
+
   /**
-   * Download operation state. 
+   * Download operation state.
    */
   attribute long state;
-  
+
   /**
    * Number of messages waiting to be downloaded.
    */
   readonly attribute long pendingMessageCount;
-  
+
   /**
    * Total number of messages in the download queue.
    */
   readonly attribute long totalMessageCount;
-  
+
   /**
    * The folder this auto-sync object is related to.
    */
   readonly attribute nsIMsgFolder ownerFolder;
 };
--- a/mailnews/imap/public/nsIImapIncomingServer.idl
+++ b/mailnews/imap/public/nsIImapIncomingServer.idl
@@ -83,17 +83,17 @@ interface nsIImapIncomingServer : nsISup
   void reDiscoverAllFolders();
   nsIURI subscribeToFolder(in AString name, in boolean subscribe);
   void GetNewMessagesForNonInboxFolders(in nsIMsgFolder aRootFolder,
                                         in nsIMsgWindow aWindow,
                                         in boolean forceAllFolders,
                                         in boolean performingBiff);
   /**
    * Get the password from the nsIMsgIncomingServer. May prompt the user
-   * if there's no password in the password manager or cached in the 
+   * if there's no password in the password manager or cached in the
    * server object.
    * @param aWindow  msgWindow to associate the password prompt with
    * @return Password string.
    * @exception NS_ERROR_FAILURE  The password could not be obtained.
    * @note NS_MSG_PASSWORD_PROMPT_CANCELLED is a success code that is returned
    *       if the prompt was presented to the user but the user cancelled the
    *       prompt.
    */
--- a/mailnews/imap/public/nsIImapMailFolderSink.idl
+++ b/mailnews/imap/public/nsIImapMailFolderSink.idl
@@ -40,22 +40,22 @@ interface nsIImapMailFolderSink : nsISup
   /**
    * Whether we have asked the server for this folder's quota information.
    * If the server supports quotas, this occurs when the folder is opened.
    */
   attribute boolean folderQuotaCommandIssued;
 
   /**
    * Set FolderQuotaData information
-   * @param aFolderQuotaRoot    The IMAP quota root for this folder, 
+   * @param aFolderQuotaRoot    The IMAP quota root for this folder,
    *                            as returned by the GETQUOTAROOT IMAP command.
    * @param aFolderQuotaUsedKB  Used space, in KB, on this folder's quota root.
    * @param aFolderQuotaMaxKB   Size, in KB, of this folder's quota root.
    **/
-  void setFolderQuotaData(in ACString aFolderQuotaRoot, in unsigned long aFolderQuotaUsedKB, 
+  void setFolderQuotaData(in ACString aFolderQuotaRoot, in unsigned long aFolderQuotaUsedKB,
                           in unsigned long aFolderQuotaMaxKB);
 
   /// Should we download all the rfc822 headers of messages, instead of subset.
   readonly attribute boolean shouldDownloadAllHeaders;
   readonly attribute char onlineDelimiter;
   void OnNewIdleMessages();
   // Tell mail master about the newly selected mailbox
   void UpdateImapMailboxInfo(in nsIImapProtocol aProtocol,
@@ -69,34 +69,34 @@ interface nsIImapMailFolderSink : nsISup
    * @returns total count of headers to download (across all chunks)
    * @returns an array of msg keys to download, array size is this chunk's size
    */
   void getMsgHdrsToDownload(out boolean aMore, out long aTotalCount,
                             out unsigned long aCount,
                             [retval, array, size_is(aCount)] out nsMsgKey aKeys);
   void parseMsgHdrs(in nsIImapProtocol aProtocol, in nsIImapHeaderXferInfo aHdrXferInfo);
   void AbortHeaderParseStream(in nsIImapProtocol aProtocol) ;
-  
+
   void OnlineCopyCompleted(in nsIImapProtocol aProtocol, in ImapOnlineCopyState aCopyState);
   void StartMessage(in nsIMsgMailNewsUrl aUrl);
   void EndMessage(in nsIMsgMailNewsUrl aUrl, in nsMsgKey uidOfMessage);
 
   void NotifySearchHit(in nsIMsgMailNewsUrl aUrl, in string hitLine);
 
   void copyNextStreamMessage(in boolean copySucceeded, in nsISupports copyState);
   void closeMockChannel(in nsIImapMockChannel aChannel);
   void setUrlState(in nsIImapProtocol aProtocol, in nsIMsgMailNewsUrl aUrl,
                    in boolean isRunning, in boolean aSuspend,
                    in nsresult status);
   void releaseUrlCacheEntry(in nsIMsgMailNewsUrl aUrl);
 
   void headerFetchCompleted(in nsIImapProtocol aProtocol);
   void setBiffStateAndUpdate(in long biffState);
   void progressStatusString(in nsIImapProtocol aProtocol, in string aMsgId, in wstring extraInfo);
-  void percentProgress(in nsIImapProtocol aProtocol, in wstring aMessage, 
+  void percentProgress(in nsIImapProtocol aProtocol, in wstring aMessage,
                        in long long aCurrentProgress, in long long aMaxProgressProgressInfo);
 
   void clearFolderRights();
   void setCopyResponseUid(in string msgIdString,
                                 in nsIImapUrl aUrl);
   void setAppendMsgUid(in nsMsgKey newKey,
                              in nsIImapUrl aUrl);
   ACString getMessageId(in nsIImapUrl aUrl);
--- a/mailnews/imap/public/nsIImapMessageSink.idl
+++ b/mailnews/imap/public/nsIImapMessageSink.idl
@@ -58,23 +58,23 @@ interface nsIImapMessageSink : nsISuppor
                           in nsMsgKey aMessageKey,
                           in unsigned long long aHighestModSeq);
 
   void notifyMessageDeleted(in string aOnlineFolderName,in boolean aDeleteAllMsgs,in string aMsgIdString);
 
   void getMessageSizeFromDB(in string aId, out unsigned long aSize);
 
   void setContentModified(in nsIImapUrl aImapUrl, in nsImapContentModifiedType aModified);
-  
+
   /**
    * For a message stored in a file, get the message metadata needed to copy
    * that message to an imap folder
    *
    * @param aRunningUrl  message URL
    * @param aDate        message date
    * @param aKeywords    message custom keywords (if supported by the server),
    *                     including messages tags and junk status
    *
    * @return             message flags
    */
-  unsigned long getCurMoveCopyMessageInfo(in nsIImapUrl aRunningUrl, 
+  unsigned long getCurMoveCopyMessageInfo(in nsIImapUrl aRunningUrl,
                                           out PRTime aDate, out ACString aKeywords);
 };
--- a/mailnews/imap/public/nsIImapMockChannel.idl
+++ b/mailnews/imap/public/nsIImapMockChannel.idl
@@ -6,17 +6,17 @@
 
 /*
     Because imap protocol connections (which are channels) run through a cache,
     it isn't always the case that when you want to run a url, you actually get
     a connection back right away. Often times, the url goes into a queue until
     a connection becomes available.
 
     Unfortunately, if we want to be a truly pluggable protocol with necko, necko
-    requires the ability to get a channel back right away when it wants to run 
+    requires the ability to get a channel back right away when it wants to run
     a url. It doesn't let you wait until an imap connection becomes available.
 
     So I've created the notion of a "mock channel". This mock channel is what
     gets returned to necko (or other callers) when they ask the imap service
     for a new channel for a url. The mock channel has "mock" implementations
     of nsIChannel. Eventually, when we actually assign the url to a real
     channel, we set the real channel on the mock channel. From that point forward,
     the mock channel forwards channel calls directly to the real channel.
--- a/mailnews/imap/public/nsIImapProtocolSink.idl
+++ b/mailnews/imap/public/nsIImapProtocolSink.idl
@@ -7,17 +7,17 @@ interface nsIMsgWindow;
 interface nsIMsgMailNewsUrl;
 
 /**
  * Helper interface that contains operations MUST be proxied
  * over UI thread.
  */
 [scriptable, uuid(1217cd9d-7678-4026-b323-0d4b45816af0)]
 interface nsIImapProtocolSink : nsISupports {
-  
+
   /**
    * Does general cleanup for the imap protocol object.
    */
   void closeStreams();
   /**
    * Get the msg window associated with a url
    *
    * @param aUrl url whose msgWindow we want.
--- a/mailnews/imap/public/nsIImapServerSink.idl
+++ b/mailnews/imap/public/nsIImapServerSink.idl
@@ -98,17 +98,17 @@ interface nsIImapServerSink : nsISupport
    * Alerts the user with a localized string. It will attempt to fill in
    * the hostname into the string if necessary.
    *
    * @param aMsgName  The id of the string to present to the user..
    * @param aUrl    The running url.
    */
   void fEAlertWithName(in string aMsgName, in nsIMsgMailNewsUrl aUrl);
   /**
-   * Takes a response from the server and prepends it with IMAP_SERVER_SAID 
+   * Takes a response from the server and prepends it with IMAP_SERVER_SAID
    *
    * @param aServerString  The string to alert the user with.
    * @param url            The running url.
    */
   void fEAlertFromServer(in ACString aServerString, in nsIMsgMailNewsUrl aUrl);
 
   void commitNamespaces();
 
--- a/mailnews/imap/public/nsIMailboxSpec.idl
+++ b/mailnews/imap/public/nsIMailboxSpec.idl
@@ -8,17 +8,17 @@
 
 interface nsIMAPNamespace;
 
 [scriptable, uuid(a9fbbc80-5291-4ed8-a7f7-c2fcad231269)]
 interface nsIMailboxSpec : nsISupports
 {
   attribute long folder_UIDVALIDITY;
   /**
-   * The highest modification sequence number the parser has seen 
+   * The highest modification sequence number the parser has seen
    * for this mailbox. See IMAP RFC 4551
    **/
   attribute unsigned long long highestModSeq;
   attribute long numMessages;
   attribute long numUnseenMessages;
   attribute long numRecentMessages;
 
   /// If server supports UIDNEXT, we store the result here.
--- a/mailnews/imap/public/nsIMsgImapMailFolder.idl
+++ b/mailnews/imap/public/nsIMsgImapMailFolder.idl
@@ -12,17 +12,17 @@ interface nsIImapIncomingServer;
 interface nsIMsgParseMailMsgState;
 interface nsIAutoSyncState;
 
 /**
  * This is a simple interface which allows the IMAP folder to update some
  * values that the folder props js code will use to update the sharing and
  * quota tabs in the folder properties.
  */
-[scriptable, uuid(09D99F2C-3E23-4f8c-A536-5C277BAA9585)] 
+[scriptable, uuid(09D99F2C-3E23-4f8c-A536-5C277BAA9585)]
 interface nsIMsgImapFolderProps : nsISupports {
 
     void setFolderType(in AString folderType);
     void setFolderTypeDescription(in AString folderTypeDescription);
     void setFolderPermissions(in AString permissions);
     void serverDoesntSupportACL();
 
     /**
@@ -54,17 +54,17 @@ interface nsIMsgImapMailFolder : nsISupp
   void list();
   void renameLocal(in ACString newname, in nsIMsgFolder parent);
   void prepareToRename();
   void performExpand(in nsIMsgWindow aMsgWindow);
   void recursiveCloseActiveConnections(in nsIImapIncomingServer aImapServer);
   void renameClient(in nsIMsgWindow msgWindow, in nsIMsgFolder msgFolder, in ACString oldName, in ACString newName);
 
   // these are used for offline synchronization
-  void storeImapFlags(in long aFlags, in boolean aAddFlags, [array, size_is (aNumKeys)] 
+  void storeImapFlags(in long aFlags, in boolean aAddFlags, [array, size_is (aNumKeys)]
       in nsMsgKey aKeysToFlag, in unsigned long aNumKeys, in nsIUrlListener aUrlListener);
   nsIURI setImapFlags(in string uids, in long flags);
   void replayOfflineMoveCopy([array, size_is (numKeys)] in nsMsgKey keys, in unsigned long numKeys, in boolean isMove, in nsIMsgFolder aDstFolder,
                          in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow);
   nsIURI playbackOfflineFolderCreate(in AString folderName, in nsIMsgWindow aWindow);
   /**
    * This is called by the offline sync code to tell the imap folder to
    * remember info about the header with this key (messageId and key) because
--- a/mailnews/intl/nsICharsetConverterManager.idl
+++ b/mailnews/intl/nsICharsetConverterManager.idl
@@ -20,44 +20,44 @@ interface nsIUTF8StringEnumerator;
 [scriptable, uuid(a0550d46-8d9c-47dd-acc7-c083620dff12)]
 interface nsICharsetConverterManager : nsISupports
 {
     /**
      * A shortcut to calling nsICharsetAlias to do alias resolution
      * @throws if aCharset is an unknown charset.
      */
     ACString getCharsetAlias(in string aCharset);
-    
+
     /**
      * Get the human-readable name for the given charset.
      * @throws if aCharset is an unknown charset.
      */
     AString getCharsetTitle(in string aCharset);
 
     /**
-     * Get some data about the given charset. This includes whether the 
-     * character encoding may be used for certain purposes, if it is 
+     * Get some data about the given charset. This includes whether the
+     * character encoding may be used for certain purposes, if it is
      * multi-byte, and the language code for it. See charsetData.properties
      * for the source of this data. Some known property names:
      *    LangGroup      - language code for charset, e.g. 'he' and 'zh-CN'.
      *    isMultibyte    - is this a multi-byte charset?
      *    isInternal     - not to be used in untrusted web content.
-     * 
+     *
      * @param aCharset name of the character encoding, e.g. 'iso-8859-15'.
      * @param aProp property desired for the character encoding.
      * @throws if aCharset is an unknown charset.
      * @return the value of the property, for the character encoding.
      */
-    AString getCharsetData(in string aCharset, 
+    AString getCharsetData(in string aCharset,
                            in wstring aProp);
 
     /**
-     * Get the language group for the given charset. This is similar to 
+     * Get the language group for the given charset. This is similar to
      * calling <tt>getCharsetData</tt> with the <tt>prop</tt> "LangGroup".
-     * 
+     *
      * @param aCharset name of the character encoding, e.g. 'iso-8859-15'.
      * @throws if aCharset is an unknown charset.
      * @return the language code for the character encoding.
      */
     AUTF8String getCharsetLangGroup(in string aCharset);
     AUTF8String getCharsetLangGroupRaw(in string aCharset);
 
     /**
--- a/mailnews/local/public/nsIMovemailService.idl
+++ b/mailnews/local/public/nsIMovemailService.idl
@@ -13,13 +13,13 @@ interface nsIURI;
 
 [scriptable, uuid(4c7786a4-1dd2-11b2-9fbe-c59d742de59b)]
 interface nsIMovemailService : nsISupports {
 
     nsIURI GetNewMail(in nsIMsgWindow aMsgWindow,
                       in nsIUrlListener aUrlListener,
                       in nsIMsgFolder aMsgFolder,
                       in nsIMovemailIncomingServer movemailServer);
-    
+
     nsIURI CheckForNewMail(in nsIUrlListener aUrlListener,
                            in nsIMsgFolder inbox,
                            in nsIMovemailIncomingServer movemailServer);
 };
--- a/mailnews/local/public/nsIMsgLocalMailFolder.idl
+++ b/mailnews/local/public/nsIMsgLocalMailFolder.idl
@@ -30,17 +30,17 @@ interface nsIMsgLocalMailFolder : nsISup
    * Set the default flags on the subfolders of this folder, such as
    * Drafts, Templates, etc.
    * @param flags bitwise OR matching the type of mailboxes you want to flag.
    *              This function will be smart and find the right names.
    *              E.g. nsMsgFolderFlags::Inbox | nsMsgFolderFlags::Drafts
    */
   void setFlagsOnDefaultMailboxes(in unsigned long flags);
 
-  /* 
+  /*
    * This will return null if the db is out of date
    */
   nsIMsgDatabase getDatabaseWOReparse();
 
   /*
    * This will kick off a url to reparse the db if it's out of date.
    * If aReparseUrlListener is null, folder will use itself as the listener
    */
--- a/mailnews/local/public/nsIRssService.idl
+++ b/mailnews/local/public/nsIRssService.idl
@@ -1,10 +1,10 @@
 /* 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/. */
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(4b31bdd9-6f4c-46d4-a766-a94f11b599bc)]
-interface nsIRssService : nsISupports 
+interface nsIRssService : nsISupports
 {
 };
--- a/mailnews/mapi/mapihook/build/msgMapi.idl
+++ b/mailnews/mapi/mapihook/build/msgMapi.idl
@@ -1,37 +1,37 @@
 /* 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 idl will be compiled by MIDL.  MS-COM is used 
+// This idl will be compiled by MIDL.  MS-COM is used
 // as bridge between MAPI clients and the Mozilla.
 
 import "unknwn.idl";
 
 typedef wchar_t LOGIN_PW_TYPE[256];
 
 typedef struct
 {
-    unsigned long     ulReserved;            
+    unsigned long     ulReserved;
     unsigned long     flFlags;               /* Flags */
     unsigned long     nPosition_NotUsed;     /* character in text to be replaced by attachment */
     LPTSTR            lpszPathName;          /* Full path name including file name */
     LPTSTR            lpszFileName;          /* Real (original) file name */
     unsigned char *   lpFileType_NotUsed ;
 } nsMapiFileDesc, * lpnsMapiFileDesc;
 
 
 typedef struct
 {
-    unsigned long      ulReserved;           
+    unsigned long      ulReserved;
     unsigned long      ulRecipClass;  /* MAPI_TO, MAPI_CC, MAPI_BCC, MAPI_ORIG    */
     LPSTR             lpszName;      /* Recipient name to display */
     LPSTR             lpszAddress;   /* Recipient email address */
-    unsigned long      ulEIDSize_NotUsed;     
+    unsigned long      ulEIDSize_NotUsed;
     unsigned char  *   lpEntryID_NotUsed ;
 } nsMapiRecipDesc, * lpnsMapiRecipDesc;
 
 typedef struct
 {
     unsigned long    ulReserved;					
     LPSTR           lpszSubject;  /* Message Subject */
     LPSTR           lpszNoteText; /* Message Text */
@@ -59,21 +59,21 @@ interface nsIMapi : IUnknown
                   [in, unique] LOGIN_PW_TYPE aPassWord, [in] unsigned long aFlags,
                   [out] unsigned long *aSessionId);
 
     HRESULT Initialize();
     HRESULT IsValid();
     HRESULT IsValidSession([in] unsigned long aSession);
 
     HRESULT SendMail([in] unsigned long aSession, [in, unique] lpnsMapiMessage aMessage,
-                  [in] short aRecipCount, [in, size_is(aRecipCount)] lpnsMapiRecipDesc aRecips, 
-                  [in] short aFileCount, [in, size_is(aFileCount)] lpnsMapiFileDesc aFiles, 
+                  [in] short aRecipCount, [in, size_is(aRecipCount)] lpnsMapiRecipDesc aRecips,
+                  [in] short aFileCount, [in, size_is(aFileCount)] lpnsMapiFileDesc aFiles,
                   [in] unsigned long aFlags, [in] unsigned long aReserved) ;
 
-    HRESULT SendDocuments( [in] unsigned long aSession, 
+    HRESULT SendDocuments( [in] unsigned long aSession,
                   [in, unique] LPTSTR aDelimChar, [in, unique] LPTSTR aFilePaths,
                   [in, unique] LPTSTR aFileNames, [in] ULONG aFlags ) ;
 
     HRESULT FindNext(  [in] unsigned long aSession, [in] ULONG ulUIParam, [in, unique] LPTSTR lpszMessageType,
                               [in, unique] LPTSTR lpszSeedMessageID, [in] ULONG flFlags, [in] ULONG ulReserved,
                               [in] [out] char lpszMessageID[64] ) ;
 
     HRESULT ReadMail( [in] unsigned long lhSession, [in] ULONG ulUIParam, [in, unique] LPTSTR lpszMessageID,
--- a/mailnews/mapi/mapihook/public/nsIMapiSupport.idl
+++ b/mailnews/mapi/mapihook/public/nsIMapiSupport.idl
@@ -2,17 +2,17 @@
  * 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/. */
 
 #include "nsISupports.idl"
 
 /**
  * This interface provides support for registering Mozilla as a COM component
  * for extending the use of Mail/News through Simple MAPI.
- * 
+ *
  */
 
 [noscript, uuid(2907B676-C4BD-49af-880A-E27A0616291E)]
 interface nsIMapiSupport : nsISupports {
 
    /** Initiates MAPI support
     */
 
@@ -23,21 +23,21 @@ interface nsIMapiSupport : nsISupports {
 
    void shutdownMAPISupport();
 
    /**  registerServer - register the mapi DLL with the desktop
     *   Typically called by the window shell service when we are
     *   made the default mail app
     */
    void registerServer();
-   
+
    /**  unRegisterServer - unregister the mapi DLL with the desktop
     *   Typically called by the window shell service when we are
     *   removed as the default mail app.
-    */   
+    */
    void unRegisterServer();
 };
 
 %{C++
 #define NS_IMAPISUPPORT_CONTRACTID    "@mozilla.org/mapisupport;1"
 #define NS_IMAPISUPPORT_CLASSNAME     "Mozilla MAPI Support"
 %}
 
--- a/mailnews/mime/public/nsICMSMessage2.idl
+++ b/mailnews/mime/public/nsICMSMessage2.idl
@@ -6,50 +6,50 @@
 
 interface nsISMimeVerificationListener;
 
 [ptr] native UnsignedCharPtr(unsigned char);
 
 /*
  * This interface is currently not marked scriptable,
  * because its verification functions are meant to look like those
- * in nsICMSMessage. At the time the ptr type is eliminated in both 
+ * in nsICMSMessage. At the time the ptr type is eliminated in both
  * interfaces, both should be made scriptable.
  */
 
 [uuid(b21a3636-2287-4b9f-9a22-25f245981ef0)]
 interface nsICMSMessage2 : nsISupports
 {
   /**
     * Async version of nsICMSMessage::VerifySignature.
     * Code will be executed on a background thread and
-    * availability of results will be notified using a 
+    * availability of results will be notified using a
     * call to nsISMimeVerificationListener.
    */
   void asyncVerifySignature(in nsISMimeVerificationListener listener);
-  
+
   /**
     * Async version of nsICMSMessage::VerifyDetachedSignature.
     * Code will be executed on a background thread and
-    * availability of results will be notified using a 
+    * availability of results will be notified using a
     * call to nsISMimeVerificationListener.
     *
-    * We are using "native unsigned char" ptr, because the function 
-    * signatures of this one and nsICMSMessage::verifyDetachedSignature 
+    * We are using "native unsigned char" ptr, because the function
+    * signatures of this one and nsICMSMessage::verifyDetachedSignature
     * should be the identical. Cleaning up nsICMSMessages needs to be
     * postponed, because this async version is needed on MOZILLA_1_8_BRANCH.
     *
     * Once both interfaces get cleaned up, the function signature should
     * look like:
     *     [array, length_is(aDigestDataLen)]
     *     in octet aDigestData,
     *     in unsigned long aDigestDataLen);
    */
   void asyncVerifyDetachedSignature(in nsISMimeVerificationListener listener,
-                                     in UnsignedCharPtr aDigestData, 
+                                     in UnsignedCharPtr aDigestData,
                                      in unsigned long aDigestDataLen);
 };
 
 [uuid(5226d698-0773-4f25-b94c-7944b3fc01d3)]
 interface nsISMimeVerificationListener : nsISupports {
 
   /**
    *  Notify that results are ready, that have been requested
--- a/mailnews/mime/public/nsIMimeMiscStatus.idl
+++ b/mailnews/mime/public/nsIMimeMiscStatus.idl
@@ -7,69 +7,69 @@
 
 interface nsIChannel;
 interface nsIMsgMailNewsUrl;
 interface nsIUTF8StringEnumerator;
 interface nsIMsgDBHdr;
 interface nsIURI;
 interface nsIWritablePropertyBag2;
 
-[scriptable, uuid(4644FB25-5255-11d3-82B8-444553540002)] 
+[scriptable, uuid(4644FB25-5255-11d3-82B8-444553540002)]
 interface nsIMimeMiscStatus : nsISupports{
 
     string  GetWindowXULandJS();
     string  GetGlobalXULandJS();
     string  GetIndividualXUL(in string aName, in string aHeader, in string aEmail);
 
     long    GetMiscStatus(in string aName, in string aEmail);
     string  GetImageURL(in long aStatus);
 };
 
-// this is a simple interface which allows someone to listen to all the headers 
+// this is a simple interface which allows someone to listen to all the headers
 // that are discovered by mime. We can use this when displaying a message to update
-// the msg header in JS. 
+// the msg header in JS.
 [scriptable, uuid(e0e821f0-cecf-4cb3-be5b-ee58b6868343)]
-interface nsIMsgHeaderSink : nsISupports 
+interface nsIMsgHeaderSink : nsISupports
 {
   // You must finish consuming the iterators before returning from processHeaders. aHeaderNames and aHeaderValues will ALWAYS have the same
   // number of elements in them
   void processHeaders(in nsIUTF8StringEnumerator aHeaderNames, in nsIUTF8StringEnumerator aHeaderValues, in boolean dontCollectAddress);
 
   void handleAttachment(in string contentType, in string url, in wstring displayName, in string uri,
                         in boolean aNotDownloaded);
 
   /**
    * Add a metadata field to the current attachment, e.g. "X-Mozilla-PartSize".
    *
    * @param field The field to add
    * @param value The value of the field
    */
   void addAttachmentField(in string field, in string value);
   void onEndAllAttachments();
-    
+
   // onEndMsgHeaders is called after libmime is done processing a message. At this point it is safe for
   // elements like the UI to update junk status, process return receipts, etc.
   void onEndMsgHeaders(in nsIMsgMailNewsUrl url);
 
-  // onEndMsgDownload is triggered when layout says it is actually done rendering 
-  // the message body in the UI. 
+  // onEndMsgDownload is triggered when layout says it is actually done rendering
+  // the message body in the UI.
   void onEndMsgDownload(in nsIMsgMailNewsUrl url);
 
   attribute nsISupports securityInfo;
 
   /**
    * onMsgHasRemoteContent is called each time content policy encounters remote
    * content that it will block from loading.
    * @param aMsgHdr header of the message the content is located in
    * @param aContentURI location that will be blocked.
    */
   void onMsgHasRemoteContent(in nsIMsgDBHdr aMsgHdr, in nsIURI aContentURI);
 
   readonly attribute nsIMsgDBHdr dummyMsgHeader;
-  
+
   // used as a hook for extension mime content handlers to store data that can later
   // be accessed by other parts of the code, e.g., UI code.
   // TODO - Should replace securityInfo
   readonly attribute nsIWritablePropertyBag2 properties;
   // When streaming a new message, properties should be reset, so that there are
   // not previous values lurking around.
   void resetProperties();
 };
--- a/mailnews/news/public/nsIMsgNewsFolder.idl
+++ b/mailnews/news/public/nsIMsgNewsFolder.idl
@@ -13,23 +13,23 @@
 interface nsIMsgWindow;
 interface nsINntpIncomingServer;
 
 [ref] native nsMsgKeyArrayRef(nsTArray<nsMsgKey>);
 
 [scriptable, uuid(9a12c3a5-9de5-4c57-ace3-d51802b525a9)]
 interface nsIMsgNewsFolder : nsISupports {
   readonly attribute AString unicodeName;
-  /**|rawName| is an 8-bit string to represent the name of a newsgroup used by 
-   * a news server. It's offered for the convenience of callers so that they 
-   * don't have to convert |unicodeName| to the server-side name when 
-   * communicating with a news server.  It's US-ASCII except for some 
-   * 'stand-alone' Chinese news servers that use GB2312 for newsgroup names 
+  /**|rawName| is an 8-bit string to represent the name of a newsgroup used by
+   * a news server. It's offered for the convenience of callers so that they
+   * don't have to convert |unicodeName| to the server-side name when
+   * communicating with a news server.  It's US-ASCII except for some
+   * 'stand-alone' Chinese news servers that use GB2312 for newsgroup names
    * violating RFC 1036. For those servers, it's GB2312. However, it can be any
-   * other single and multibyte encoding in principle. The encoding of this 
+   * other single and multibyte encoding in principle. The encoding of this
    * string is stored in |nsINntpIncomingServer| because that's a server-wide
    * property.
    **/
   [noscript] readonly attribute ACString rawName;
   readonly attribute nsINntpIncomingServer nntpServer;
   attribute boolean saveArticleOffline;
 
   /**
@@ -84,29 +84,29 @@ interface nsIMsgNewsFolder : nsISupports
   attribute ACString groupUsername;
 
   /// The password that should be used for this group
   attribute ACString groupPassword;
 
   /// Forgets saved authentication credentials permanently.
   void forgetAuthenticationCredentials();
   /// @}
-  
+
   void moveFolder(in nsIMsgFolder aNewsgroupToMove, in nsIMsgFolder aRefNewsgroup, in int32_t aOrientation);
 
   nsIMsgFolder addNewsgroup(in AUTF8String newsgroupName, in ACString setStr);
 
   void setReadSetFromStr(in ACString setStr);
 
   readonly attribute ACString newsrcLine;
   readonly attribute ACString optionLines;
   readonly attribute ACString unsubscribedNewsgroupLines;
   void SetNewsrcHasChanged(in boolean newsrcHasChanged);
   void updateSummaryFromNNTPInfo(in long oldest, in long youngest, in long total);
-  void removeMessage(in nsMsgKey key); 
+  void removeMessage(in nsMsgKey key);
   [noscript] void removeMessages(in nsMsgKeyArrayRef aMsgKeys);
   void cancelComplete();
   void cancelFailed();
 
   ACString getMessageIdForKey(in nsMsgKey key);
 
   void getNextNMessages(in nsIMsgWindow aMsgWindow);
   void notifyDownloadedLine(in string line, in nsMsgKey key);
--- a/mailnews/news/public/nsINNTPNewsgroupList.idl
+++ b/mailnews/news/public/nsINNTPNewsgroupList.idl
@@ -9,37 +9,37 @@ interface nsIMsgNewsFolder;
 interface nsINntpUrl;
 interface nsIMsgWindow;
 
 /**
  * A utility class for nsINNTPProtocol that handles the list of new headers.
  */
 [scriptable, uuid(579aa17b-4c77-465d-8eb6-feaa927cb19c)]
 interface nsINNTPNewsgroupList : nsISupports {
-  
+
   void initialize(in nsINntpUrl runningURL, in nsIMsgNewsFolder newsFolder);
-  
+
   long getRangeOfArtsToDownload(in nsIMsgWindow aMsgWindow, in long first_message,
                                 in long last_message,
                                 in long maxextra,
                                 out long real_first_message,
                                 out long real_last_message);
-  
+
   void addToKnownArticles(in long first_message, in long last_message);
 
   /**
    * Initializes the internal state to get the messages.
    *
    * This method should be called before sending the line
    * <tt>XOVER @arg first_message-@arg last_message</tt> to the server.
    *
    * @param first_message  The first message of the download range.
    * @param last_message   The last message of the download range.
    */
-  void initXOVER(in long first_message, in long last_message);  
+  void initXOVER(in long first_message, in long last_message);
   void processXOVERLINE(in string line, out unsigned long status);
   void resetXOVER();
   void finishXOVERLINE(in long status, out long newstatus);
 
   /**
    * Initalizes the state in preparation for a call to XHDR.
    *
    * @return               The next header to get, or an empty string if done.
--- a/mailnews/news/public/nsINNTPNewsgroupPost.idl
+++ b/mailnews/news/public/nsINNTPNewsgroupPost.idl
@@ -9,30 +9,30 @@
 */
 
 #include "nsISupports.idl"
 
 interface nsIFile;
 
 [scriptable, uuid(9979a2cb-a4e6-45e6-bfeb-b08e704c5a2b)]
 interface nsINNTPNewsgroupPost : nsISupports {
-    
+
     /* from RFC850 */
     /* section 2.1 - required headers */
     attribute string relayVersion;
     attribute string postingVersion;
     attribute string from;
     attribute string date;
-    
+
     void AddNewsgroup(in string newsgroupName);
     readonly attribute string newsgroups;
-    
+
     attribute string subject;
     attribute string path;
-    
+
     /* Secion 2.2 - optional headers */
     attribute string replyTo;
     attribute string sender;
     attribute string followupTo;
     attribute string dateReceived;
     attribute string expires;
 
     readonly attribute string references;
--- a/mailnews/news/public/nsINntpIncomingServer.idl
+++ b/mailnews/news/public/nsINntpIncomingServer.idl
@@ -15,34 +15,34 @@ interface nsIMsgWindow;
 
 [scriptable, uuid(077620ed-c6c4-4d4d-bed5-4d041f924002)]
 interface nsINntpIncomingServer : nsISupports {
     /* the on-disk path to the newsrc file for this server */
     attribute nsIFile newsrcFilePath;
 
     /* the newsrc root path (the directories all the newsrc files live) */
     attribute nsIFile newsrcRootPath;
-    
+
     /* ask the user before downloading more than maxArticles? */
     attribute boolean notifyOn;
 
     /* the max articles to download */
     attribute long maxArticles;
 
     /* when we don't download all, do we mark the rest read? */
     attribute boolean markOldRead;
 
     /* abbreviate the newsgroup names in the folder pane? */
     attribute boolean abbreviate;
 
     /* do we use a single login per server or do we login per group */
     attribute boolean singleSignon;
 
     /** the server charset and it may be needed to display newsgroup folder
-     *  names correctly 
+     *  names correctly
      **/
     attribute ACString charset;
 
     /* the server keeps track of all the newsgroups we are subscribed to */
     void addNewsgroup(in AString name);
     void removeNewsgroup(in AString name);
 
     void writeNewsrcFile();
@@ -117,23 +117,23 @@ interface nsINntpIncomingServer : nsISup
 
     attribute boolean supportsExtensions;
     void addExtension(in string extension);
     boolean queryExtension(in string extension);
 
     attribute boolean postingAllowed;
     attribute boolean pushAuth;
     attribute unsigned long lastUpdatedTime;
-    
+
     void addPropertyForGet(in string name, in string value);
     string queryPropertyForGet(in string name);
-    
+
     void addSearchableGroup(in AString name);
     boolean querySearchableGroup(in AString name);
-    
+
     void addSearchableHeader(in string headerName);
     boolean querySearchableHeader(in string headerName);
 
     /**
      * Returns the folder corresponding to the given group.
      *
      * Note that this name is expected to be unescaped.
      * @note If the group does not exist, a bogus news folder will be returned.
--- a/mailnews/news/public/nsINntpService.idl
+++ b/mailnews/news/public/nsINntpService.idl
@@ -11,17 +11,17 @@
 interface nsIURI;
 interface nsIFile;
 interface nsIMsgWindow;
 interface nsIMsgFolder;
 interface nsICacheStorage;
 
 [scriptable, uuid(dc5cadb0-966c-4ef1-a4c8-cc1e48d1ac61)]
 interface nsINntpService : nsISupports {
-  
+
   /* newsgroupsList is a comma separated list of newsgroups, which may be
    * in news://host/group or group form
    * "news://host/group1,news://host/group2" or "group1,group2"
    *
    * newsgroupsHeaderVal is a comma separated list of groups in the group form
    * "group1,group2"
    *
    * newshostHeaderVal is a single hostname.
@@ -29,22 +29,22 @@ interface nsINntpService : nsISupports {
    */
   void generateNewsHeaderValsForPosting(in ACString newsgroupsList, out string newsgroupsHeaderVal, out string newshostHeaderVal);
 
   nsIURI postMessage(in nsIFile aFileToPost, in string newsgroupNames, in string aAccountKey, in nsIUrlListener aUrlListener, in nsIMsgWindow aMsgWindow);
 
   nsIURI getNewNews(in nsINntpIncomingServer nntpServer, in string uri, in boolean getOld, in nsIUrlListener aUrlListener, in nsIMsgWindow aMsgWindow);
 
   nsIURI cancelMessage(in string cancelURL, in string messageURI, in nsISupports aConsumer, in nsIUrlListener aUrlListener, in nsIMsgWindow aMsgWindow);
- 
+
   void getListOfGroupsOnServer(in nsINntpIncomingServer nntpServer, in nsIMsgWindow aMsgWindow, in boolean getOnlyNew);
 
   nsIURI fetchMessage(in nsIMsgFolder newsFolder, in nsMsgKey key, in nsIMsgWindow aMsgWindow, in nsISupports aConsumer, in nsIUrlListener aUrlListener);
 
   void downloadNewsgroupsForOffline(in nsIMsgWindow aMsgWindow, in nsIUrlListener aListener);
-  /** 
-   * can handle news-message:// and news:// 
+  /**
+   * can handle news-message:// and news://
    */
   void decomposeNewsURI(in string uri, out nsIMsgFolder folder, out nsMsgKey key);
 
   // handle to the cache session used by news....
   readonly attribute nsICacheStorage cacheStorage;
 };