Bug 1463266 - remove trailing spaces from IDL files. rs=white-space-only DONTBUILD
authorJorg K <jorgk@jorgk.com>
Wed, 03 Jul 2019 01:04:31 +0200
changeset 36016 7f8bd17d9565d9bb4415f4b1a2635fe32d7370c5
parent 36015 b532b2516cbebd7edd253cbf7f7788b0818103e0
child 36017 6e0cf6363e1713056c48b969cde1fcc1f462ac23
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewerswhite-space-only
bugs1463266
Bug 1463266 - remove trailing spaces from IDL files. rs=white-space-only DONTBUILD # ignore-this-changeset
calendar/base/public/calIAlarm.idl
calendar/base/public/calIAttendee.idl
calendar/base/public/calICalendar.idl
calendar/base/public/calICalendarManager.idl
calendar/base/public/calICalendarProvider.idl
calendar/base/public/calICalendarView.idl
calendar/base/public/calIDateTimeFormatter.idl
calendar/base/public/calIDecoratedView.idl
calendar/base/public/calIDuration.idl
calendar/base/public/calIErrors.idl
calendar/base/public/calIEvent.idl
calendar/base/public/calIImportExport.idl
calendar/base/public/calIItipItem.idl
calendar/base/public/calIPrintFormatter.idl
calendar/base/public/calIRecurrenceInfo.idl
calendar/base/public/calIStatusObserver.idl
calendar/base/public/calITransactionManager.idl
calendar/base/public/calIWeekInfoService.idl
calendar/base/src/calInternalInterfaces.idl
calendar/providers/wcap/public/calIWcapCalendar.idl
ldap/xpcom/public/nsILDAPBERElement.idl
ldap/xpcom/public/nsILDAPBERValue.idl
ldap/xpcom/public/nsILDAPConnection.idl
ldap/xpcom/public/nsILDAPControl.idl
ldap/xpcom/public/nsILDAPErrors.idl
ldap/xpcom/public/nsILDAPMessage.idl
ldap/xpcom/public/nsILDAPOperation.idl
ldap/xpcom/public/nsILDAPService.idl
ldap/xpcom/public/nsILDAPSyncQuery.idl
ldap/xpcom/public/nsILDAPURL.idl
mail/components/activity/nsIActivity.idl
mail/components/activity/nsIActivityManager.idl
mail/components/nsIMailGlue.idl
mail/components/shell/nsIShellService.idl
mailnews/addrbook/public/nsIAbMDBDirectory.idl
--- a/calendar/base/public/calIAlarm.idl
+++ b/calendar/base/public/calIAlarm.idl
@@ -130,17 +130,17 @@ interface calIAlarm : nsISupports
      void addAttachment(in calIAttachment aAttachment);
      void deleteAttachment(in calIAttachment aAttachment);
      void clearAttachments();
      void getAttachments(out uint32_t count,
                          [array,size_is(count),retval] out calIAttachment attachments);
 
     /**
      * The human readable representation of this alarm. Uses locale strings.
-     * 
+     *
      * @param aItem     The item to base the string on. Defaults to an event.
      */
     AUTF8String toString([optional] in calIItemBase aItem);
 
     /**
      * The ical representation of this VALARM
      */
     attribute AUTF8String icalString;
--- a/calendar/base/public/calIAttendee.idl
+++ b/calendar/base/public/calIAttendee.idl
@@ -19,17 +19,17 @@ interface calIAttendee : nsISupports
 
   // clone always returns a mutable event
   calIAttendee clone();
 
   attribute AUTF8String id;
   attribute AUTF8String commonName;
   attribute AUTF8String rsvp;
 
-  /** 
+  /**
    * If true, indicates that this is not a standard attendee, but rather this
    * icalProperty corresponds to the organizer of the event (rfc2445 Sec 4.8.4.3)
    */
   attribute boolean isOrganizer;
 
   /**
    * CHAIR
    * REQ-PARTICIPANT
@@ -54,20 +54,20 @@ interface calIAttendee : nsISupports
    * GROUP
    * RESOURCE
    * ROOM
    * UNKNOWN
    */
   attribute AUTF8String    userType;
 
   readonly attribute nsIJSEnumerator properties;
-  
+
   // If you use the has/get/set/deleteProperty
   // methods, property names are case-insensitive.
-  // 
+  //
   // For purposes of ICS serialization, all property names in
   // the hashbag are in uppercase.
   AUTF8String getProperty(in AString name);
   void setProperty(in AString name, in AUTF8String value);
   void deleteProperty(in AString name);
 
   attribute calIIcalProperty icalProperty;
   attribute AUTF8String icalString;
--- a/calendar/base/public/calICalendar.idl
+++ b/calendar/base/public/calICalendar.idl
@@ -77,17 +77,17 @@ interface calICalendar : nsISupports
   /**
    * Setting this URI causes the calendar to be (re)loaded.
    * This is not an unique identifier! It is also not unchangeable. Don't
    * use it to identify a calendar, use the id attribute for that purpose.
    */
   attribute nsIURI uri;
 
   /**
-   * Is this calendar read-only?  Used by the UI to decide whether or not 
+   * Is this calendar read-only?  Used by the UI to decide whether or not
    * widgetry should allow editing.
    */
   attribute boolean readOnly;
 
   /**
    * Whether or not it makes sense to call refresh() on this calendar.
    */
   readonly attribute boolean canRefresh;
@@ -219,50 +219,50 @@ interface calICalendar : nsISupports
    *
    * It's up to the provider where to store properties,
    * e.g. on the server or in local prefs.
    *
    * @param aName property name
    */
   void deleteProperty(in AUTF8String aName);
 
-  /** 
+  /**
    * In combination with the other parameters to getItems(), these
    * constants provide for a very basic filtering mechanisms for use
    * in getting and observing items.  At some point fairly soon, we're
    * going to need to generalize this mechanism significantly (so we
    * can allow boolean logic, categories, etc.).
    *
    * When adding item filters (bits which, when not set to 1, reduce the
    * scope of the results), use bit positions <= 15, so that
    * ITEM_FILTER_ALL_ITEMS remains compatible for components that have the
    * constant compiled in.
    *
    * XXX the naming here is questionable; adding a filter (setting a bit, in
    * this case) usually _reduces_ the set of items that pass the set of
    * filters, rather than adding to it.
    */
-  const unsigned long ITEM_FILTER_COMPLETED_YES = 1 << 0; 
-  const unsigned long ITEM_FILTER_COMPLETED_NO = 1 << 1; 
+  const unsigned long ITEM_FILTER_COMPLETED_YES = 1 << 0;
+  const unsigned long ITEM_FILTER_COMPLETED_NO = 1 << 1;
   const unsigned long ITEM_FILTER_COMPLETED_ALL = (ITEM_FILTER_COMPLETED_YES |
                                                    ITEM_FILTER_COMPLETED_NO);
 
   const unsigned long ITEM_FILTER_TYPE_TODO = 1 << 2;
   const unsigned long ITEM_FILTER_TYPE_EVENT = 1 << 3;
   const unsigned long ITEM_FILTER_TYPE_JOURNAL = 1 << 4;
   const unsigned long ITEM_FILTER_TYPE_ALL = (ITEM_FILTER_TYPE_TODO |
                                               ITEM_FILTER_TYPE_EVENT |
                                               ITEM_FILTER_TYPE_JOURNAL);
 
   const unsigned long ITEM_FILTER_ALL_ITEMS = 0xFFFF;
 
-  /** 
+  /**
    * If set, return calIItemBase occurrences for all the appropriate instances,
    * as determined by an item's recurrenceInfo.  All of these occurrences will
-   * have their parentItem set to the recurrence parent.  If not set, will 
+   * have their parentItem set to the recurrence parent.  If not set, will
    * return only calIItemBase parent items.
    */
   const unsigned long ITEM_FILTER_CLASS_OCCURRENCES = 1 << 16;
 
   /**
    * Scope: Attendee
    * Filter items that correspond to an invitation from another
    * user and the current user has not replied to it yet.
@@ -382,17 +382,17 @@ interface calICalendar : nsISupports
    *            of the deleted item
    */
   calIOperation deleteItem(in calIItemBase aItem,
                            in calIOperationListener aListener);
 
   /**
    * Get a single event.  The event will be typed as one of the subclasses
    * of calIItemBase (whichever concrete type is most appropriate).
-   * 
+   *
    * @param aId        UID of the event
    * @param aListener  listener to which this event will be called back.
    * @return           optional operation handle to track the operation
    *
    * The results of the operation are reported through the listener,
    * via zero or one onGetResult calls (with aCount set to 1)
    * followed by an onOperationComplete.
    *
@@ -402,26 +402,26 @@ interface calICalendar : nsISupports
    * - aId: the ID of the requested item
    * - aDetail: null (? we can also pass the item back here as well,..)
    */
   calIOperation getItem(in string aId, in calIOperationListener aListener);
 
   /**
    * XXX As mentioned above, this method isn't suitably general.  It's just
    * placeholder until it gets supplanted by something more SQL or RDF-like.
-   * 
+   *
    *   Ordering: This method is currently guaranteed to return lists ordered
    *   as follows to make for the least amount of pain when
    *   migrating existing frontend code:
    *
    *     The events are sorted based on the order of their next occurrence
    *     if they recur in the future or their last occurrence in the past
    *     otherwise.  Here's a presentation of the sort criteria using the
    *     time axis:
-   *   
+   *
    *     -----(Last occurrence of Event1)---(Last occurrence of Event2)----(Now)----(Next occurrence of Event3)---->
    *
    *     (Note that Event1 and Event2 will not recur in the future.)
    *
    *   We should probably be able get rid of this ordering constraint
    *   at some point in the future.
    *
    * Note that the range is intended to act as a mask on the
@@ -429,17 +429,17 @@ interface calICalendar : nsISupports
    * getItems() call without ITEM_FILTER_CLASS_occurrenceS is made, all
    * events and todos which have occurrences inside the range should
    * be returned, even if some of those events or todos themselves
    * live outside the range.
    *
    * @param aItemFilter ITEM_FILTER flags, or-ed together
    * @param aCount      Maximum number of items to return, or 0 for
    *                    an unbounded query.
-   * @param aRangeStart Items starting at this time or after should be 
+   * @param aRangeStart Items starting at this time or after should be
    *                    returned.  If invalid, assume "since the beginning
    *                    of time".
    * @param aRangeEndEx Items starting before (not including) aRangeEndEx should be
    *                    returned.  If null, assume "until the end of time".
    * @param aListener   The results will be called back through this interface.
    * @return            optional operation handle to track the operation
    *
    *
@@ -461,17 +461,17 @@ interface calICalendar : nsISupports
   /**
    * Refresh the datasource, and call the observers for any changes found.
    * If the provider doesn't know the details of the changes it must call
    * onLoad on its observers.
    *
    * @return            optional operation handle to track the operation
    */
   calIOperation refresh();
-  
+
   /**
    * Turn on batch mode. Observers will get a notification of this.
    * They will still get notified for every individual change, but they are
    * free to ignore those notifications.
    * Use this when a lot of changes are about to happen, and it would be
    * useless to refresh the display (or the backend store) for every change.
    * Caller must make sure to also call endBatchMode. Make sure all errors
    * are caught!
@@ -479,34 +479,34 @@ interface calICalendar : nsISupports
   void startBatch();
 
   /**
    * Turn off batch mode.
    */
   void endBatch();
 };
 
-/** 
+/**
  * Used to allow multiple calendars (eg work and home) to be easily queried
  * and displayed as a single unit. All calendars are referenced by ID, i.e.
  * calendars need to have an ID when being added.
  */
 [scriptable, uuid(6748fa00-79b5-4728-84f3-20dd47e0b031)]
 interface calICompositeCalendar : calICalendar
 {
   /**
    * Adds a calendar to the composite, if not already part of it.
    *
    * @param aCalendar the calendar to be added
    */
   void addCalendar(in calICalendar aCalendar);
 
   /**
    * Remove a calendar from the composite
-   * 
+   *
    * @param aCalendar the calendar to be removed
    */
   void removeCalendar(in calICalendar aCalendar);
 
   /**
    * If a calendar for the given ID exists in the CompositeCalendar,
    * return it; otherwise return null.
    *
@@ -520,30 +520,30 @@ interface calICompositeCalendar : calICa
                     [array, size_is(count), retval] out calICalendar aCalendars);
 
   /**
    * In order for addItem() to be called on this object, it is first necessary
    * to set this attribute to specify which underlying calendar the item is
    * to be added to.
    */
   attribute calICalendar defaultCalendar;
-  
+
   /**
    * If set, the composite will initialize itself from calICalendarManager
    * prefs keyed off of the provided prefPrefix, and update those prefs to
    * track changes in calendar membership and default calendar.
    */
   attribute ACString prefPrefix;
 
   /**
    * If returns true there is a process running that needs to displayed
    * by the statusObserver
    */
   readonly attribute boolean statusDisplayed;
-  
+
   /**
    * Sets a statusobserver for status notifications like startMeteors() and StopMeteors().
    */
   void setStatusObserver(in calIStatusObserver aStatusObserver, in nsIDOMChromeWindow aWindow);
 };
 
 /**
  * Make a more general nsIObserverService2 and friends to support
@@ -615,27 +615,27 @@ interface calIOperationListener : nsISup
                            in nsIVariant aDetail);
   const unsigned long ADD = 1;
   const unsigned long MODIFY = 2;
   const unsigned long DELETE = 3;
   const unsigned long GET = 4;
 
   /**
    * For getItem and getItems.
-   * 
+   *
    * @param aStatus   status code summarizing what happened.
    * @param aItemType type of interface returned in the array (@see
    *                  calICalendar::GetItems).
    * @param aDetail   not yet fully specified.  If aStatus is an error
    *                  result, this will probably be an extended error
    *                  string (eg one returned by a server).
    * @param aCount    size of array returned, in items
    * @param aItems    array of immutable items
    *
-   * Multiple onGetResults might be called 
+   * Multiple onGetResults might be called
    */
   void onGetResult (in calICalendar aCalendar,
                     in nsresult aStatus,
-                    in nsIIDRef aItemType, 
+                    in nsIIDRef aItemType,
                     in nsIVariant aDetail,
-                    in uint32_t aCount, 
+                    in uint32_t aCount,
                     [array, size_is(aCount), iid_is(aItemType)]  in nsQIResult aItems );
 };
--- a/calendar/base/public/calICalendarManager.idl
+++ b/calendar/base/public/calICalendarManager.idl
@@ -23,17 +23,17 @@ interface calICalendarManager : nsISuppo
    * Gives the number of registered readonly calendars.
    */
   readonly attribute uint32_t readOnlyCalendarCount;
 
   /**
    * Gives the number of registered calendars
    */
   readonly attribute uint32_t calendarCount;
-  /* 
+  /*
    * create a new calendar
    * aType is the type ("caldav", "storage", etc)
    */
   calICalendar createCalendar(in AUTF8String aType, in nsIURI aURL);
 
   /* register a newly created calendar with the calendar service */
   void registerCalendar(in calICalendar aCalendar);
 
@@ -84,17 +84,17 @@ interface calICalendarManager : nsISuppo
   */
   nsIVariant getCalendarPref_(in calICalendar aCalendar,
                               in AUTF8String aName);
   void setCalendarPref_(in calICalendar aCalendar,
                         in nsIVariant aName,
                         in nsIVariant aValue);
   void deleteCalendarPref_(in calICalendar aCalendar,
                            in AUTF8String aName);
-  
+
 };
 
 /**
  * Observer to handle actions done by the calendar manager
  *
  * NOTE: When adding methods here, please also add them in calUtils.jsm's
  * createAdapter() method.
  */
--- a/calendar/base/public/calICalendarProvider.idl
+++ b/calendar/base/public/calICalendarProvider.idl
@@ -36,17 +36,17 @@ interface calICalendarProvider : nsISupp
    * @param aListener  where to call the results back to
    */
   void createCalendar(in AUTF8String aName, in nsIURI aURL,
                       in calIProviderListener aListener);
 
   /**
    * Delete a calendar. Deletes the actual underlying calendar, which
    * could be (for example) a file or a calendar on a server
-   * 
+   *
    * @param aCalendar   the calendar to delete
    * @param aListener   where to call the results back to
    */
   void deleteCalendar(in calICalendar aCalendar,
                       in calIProviderListener aListener);
 
   /**
    * Get a new calendar object with existing calendar data
@@ -60,17 +60,17 @@ interface calICalendarProvider : nsISupp
 interface calIProviderListener : nsISupports
 {
   /**
    * @param aStatus         status code summarizing what happened
    * @param aDetail         not yet fully specified.  If aStatus is an error
    *                        result, this will probably be an extended error
    *                        string (eg one returned by a server).
    */
-  void onCreateCalendar(in calICalendar aCalendar, in nsresult aStatus, 
+  void onCreateCalendar(in calICalendar aCalendar, in nsresult aStatus,
                         in nsIVariant aDetail);
 
   /**
    * @param aStatus         status code summarizing what happened
    * @param aDetail         not yet fully specified.  If aStatus is an error
    *                        result, this will probably be an extended error
    *                        string (eg one returned by a server).
    */
--- a/calendar/base/public/calICalendarView.idl
+++ b/calendar/base/public/calICalendarView.idl
@@ -154,17 +154,17 @@ interface calICalendarView : nsISupports
    * Returns the list of dates being shown by this calendar.
    * If a date range is set, it will expand out the date range by
    * day and return the full set.
    */
   void getDateList(out unsigned long aCount, [array,size_is(aCount),retval] out calIDateTime aDates);
 
   /**
    * Get the items currently selected in this view.
-   * 
+   *
    * @param aCount a variable to hold the number of items in this array
    *
    * @return the array of items currently selected in this.
    */
   void getSelectedItems(out unsigned long aCount,
                         [array,size_is(aCount),retval] out calIItemBase aItems);
 
    /**
--- a/calendar/base/public/calIDateTimeFormatter.idl
+++ b/calendar/base/public/calIDateTimeFormatter.idl
@@ -73,20 +73,20 @@ interface calIDateTimeFormatter : nsISup
      *      the datetime to format
      * @returns
      *      a string representing the datetime
      */
     AString formatDateTime(in calIDateTime aDate);
 
     /**
      * Format a time interval that is defined by an item with the default
-     * timezone Internally it calls "formatInterval" after retrieving 
+     * timezone Internally it calls "formatInterval" after retrieving
      * the start/entry and end/due date of the item.
      *
-     * @param aItem 
+     * @param aItem
      *      The item describing the interval
      */
     AUTF8String formatItemInterval(in calIItemBase aItem);
 
     /**
      * Format a time interval like formatItemInterval, but only show times.
      *
      * @param aItem     The item providing the interval
--- a/calendar/base/public/calIDecoratedView.idl
+++ b/calendar/base/public/calIDecoratedView.idl
@@ -12,17 +12,17 @@ interface calICalendarViewController;
 interface calIItemBase;
 /**
  * calIDecoratedView is an interface for modifying/extending the standard
  * calICalendarView, typically to add specific navigation functions while
  * removing the unnecessary code duplication this would generally require.
  * Because it contains a calICalendarView as an anonymous node, not easily
  * accessible, it must therefore expose several of that interface's methods and
  * attributes, as well as its own.
- * 
+ *
  * @note Implementations of this interface are intended to be the home
  * for view preference handling.  The lower-level views (ie
  * implementers of calICalendarView) are intended to be pure widgetry,
  * and this sort of view should be pluggable, meaning that callers
  * shouldn't need to know about view-specific preferences.
  */
 
 [scriptable, uuid(7ba617eb-f19b-400b-9a7d-4156b7c6f028)]
@@ -107,27 +107,27 @@ interface calIDecoratedView : nsISupport
    */
   attribute AUTF8String timezone;
 
   /**
    * Ensures that the given date is visible, and that the view is centered
    * around this date.  aDate becomes the selectedDay of the view.  Calling
    * this function with the current selectedDay effectively refreshes the view
    *
-   * @param aDate       the date that must be shown in the view and becomes 
+   * @param aDate       the date that must be shown in the view and becomes
    *                    the selected day
    */
   void goToDay(in calIDateTime aDate);
 
   /**
    * Moves the view a specific number of pages.  Negative numbers correspond to
    * moving the view backwards.  Note that it is up to the view to determine
    * how the selected day ought to move as well.
    *
-   * @param aNumber       the number of pages to move the view 
+   * @param aNumber       the number of pages to move the view
    */
   void moveView(in long aNumber);
 
   /**
    * gets the description of the range displayed by the view
    */
   AString getRangeDescription();
 
--- a/calendar/base/public/calIDuration.idl
+++ b/calendar/base/public/calIDuration.idl
@@ -69,17 +69,17 @@ interface calIDuration : nsISupports
    * Add a duration
    */
   void addDuration(in calIDuration aDuration);
 
   /**
    * Compare with another duration
    *
    * @param    aOther     to be compared with this object
-   * 
+   *
    * @return   -1, 0, 1 if this < aOther, this == aOther, or this > aOther,
    *           respectively.
    */
   long compare(in calIDuration aOther);
 
   /**
    * Reset this duration to 0
    */
--- a/calendar/base/public/calIErrors.idl
+++ b/calendar/base/public/calIErrors.idl
@@ -15,36 +15,36 @@ interface calIErrors : nsISupports
    */
   const unsigned long CAL_ERROR_MODULE_CALENDAR = 5;
   const unsigned long CAL_ERROR_MODULE_BASE_OFFSET = 0x45;
 
   /**
    * The beginning of this set of error codes, also copied from the macros
    * in nsError.h.
    */
-  const unsigned long ERROR_BASE = (1<<31) | 
+  const unsigned long ERROR_BASE = (1<<31) |
     (CAL_ERROR_MODULE_CALENDAR + CAL_ERROR_MODULE_BASE_OFFSET) << 16;
 
   /* Onto the actual errors! */
 
   /**
    * An invalid or nonexistent timezone was encountered.
    */
   const unsigned long INVALID_TIMEZONE = ERROR_BASE + 1;
 
   /**
    * Attempted to modify a readOnly calendar.
    */
-  const unsigned long CAL_IS_READONLY = ERROR_BASE + 2;  
+  const unsigned long CAL_IS_READONLY = ERROR_BASE + 2;
 
   /**
    * Error while decoding an (ics) file from utf8
    */
   const unsigned long CAL_UTF8_DECODING_FAILED = ERROR_BASE + 3;
-  
+
   /**
    * Tried to add an item to a calendar in which an item with the
    * same ID already existed
    */
   const unsigned long DUPLICATE_ID = ERROR_BASE + 4;
 
   /**
    * Operation has been cancelled.
@@ -90,17 +90,17 @@ interface calIErrors : nsISupports
   const unsigned long ICS_ALLOCATION = ICS_ERROR_BASE + 3;
   const unsigned long ICS_MALFORMEDDATA = ICS_ERROR_BASE + 4;
   const unsigned long ICS_PARSE = ICS_ERROR_BASE + 5;
   const unsigned long ICS_INTERNAL = ICS_ERROR_BASE + 6;
   const unsigned long ICS_FILE = ICS_ERROR_BASE + 7;
   const unsigned long ICS_USAGE = ICS_ERROR_BASE + 8;
   const unsigned long ICS_UNIMPLEMENTED = ICS_ERROR_BASE + 9;
   const unsigned long ICS_UNKNOWN = ICS_ERROR_BASE + 10;
-  
+
   /**
    * WCAP specific errors, defined in
    * calendar/providers/wcap/public/calIWcapErrors.idl
    * Range claimed is [ERROR_BASE + 0x200, ERROR_BASE + 0x300)
    */
   const unsigned long WCAP_ERROR_BASE = ERROR_BASE + 0x200;
 
   /**
--- a/calendar/base/public/calIEvent.idl
+++ b/calendar/base/public/calIEvent.idl
@@ -14,17 +14,17 @@ interface calIDuration;
 //
 
 [scriptable, uuid(5ab15c1c-e295-4d8e-a9a9-ba5bc848b59a)]
 interface calIEvent : calIItemBase
 {
   // these attributes are marked readonly, as the calIDates are owned
   // by the event; however, the actual calIDate objects are not read
   // only and are intended to be manipulated to adjust dates.
-  
+
   /**
    * The (inclusive) start of the event.
    */
   attribute calIDateTime startDate;
 
   /**
    * The (non-inclusive) end of the event.
    * Note that for all-day events, non-inclusive means that this will be set
--- a/calendar/base/public/calIImportExport.idl
+++ b/calendar/base/public/calIImportExport.idl
@@ -9,54 +9,54 @@
 interface calIItemBase;
 interface nsIInputStream;
 interface nsIOutputStream;
 
 [scriptable, uuid(efef8333-e995-4f45-bdf7-bfcabbd9793e)]
 interface calIFileType : nsISupports
 {
   /**
-   * The default extension that should be associated 
+   * The default extension that should be associated
    * with files of this type.
    */
   readonly attribute AString defaultExtension;
 
   /**
    * The extension filter to use in the filepicker's filter list.
-   * Separate multiple extensions with semicolon and space. 
+   * Separate multiple extensions with semicolon and space.
    * For example "*.html; *.htm".
    */
   readonly attribute AString extensionFilter;
 
   /**
    * The description to show to the user in the filter list.
    */
   readonly attribute AString description;
 };
 
 [scriptable, uuid(dbe262ca-d6c6-4691-8d46-e7f6bbe632ec)]
 interface calIImporter : nsISupports
 {
   void getFileTypes(out unsigned long aCount,
                     [retval, array, size_is(aCount)] out calIFileType aTypes);
 
-  void importFromStream(in nsIInputStream aStream, 
+  void importFromStream(in nsIInputStream aStream,
                         out unsigned long aCount,
                         [retval, array, size_is(aCount)] out calIItemBase aItems);
 };
 
 [scriptable, uuid(18c75bb3-6309-4c33-903f-6055fec39d07)]
 interface calIExporter : nsISupports
 {
   void getFileTypes(out unsigned long aCount,
                     [retval, array, size_is(aCount)] out calIFileType aTypes);
 
   /**
    * Export the items into the stream
-   * 
+   *
    * @param aStream  the stream to put the data into
    * @param aCount   the number of items being exported
    * @param aItems   an array of items to be exported
    * @param aTitle   a title the exporter can choose to use
    */
   void exportToStream(in nsIOutputStream aStream,
                       in unsigned long aCount,
                       [array, size_is(aCount)] in calIItemBase aItems,
--- a/calendar/base/public/calIItipItem.idl
+++ b/calendar/base/public/calIItipItem.idl
@@ -4,17 +4,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface calIItemBase;
 interface calICalendar;
 interface nsISimpleEnumerator;
 
-/** 
+/**
  * calIItipItem is an interface used to carry information between the mime
  * parser, the imip-bar UI, and the iTIP processor. It encapsulates a list of
  * calIItemBase objects and provides specialized iTIP methods for those items.
  */
 [scriptable, uuid(7539c158-c30d-41d0-90e9-41d315ac3eb1)]
 interface calIItipItem : nsISupports
 {
     /**
--- a/calendar/base/public/calIPrintFormatter.idl
+++ b/calendar/base/public/calIPrintFormatter.idl
@@ -13,17 +13,17 @@ interface nsIOutputStream;
 [scriptable, uuid(014dea21-90cd-4563-b1bd-13b842a465e0)]
 interface calIPrintFormatter : nsISupports
 {
   /**
    * The name of this layout. Implementers should make sure this string
    * is localizable, ie uses nsIStringBundle
    */
   readonly attribute AString name;
-  
+
   /**
    * Format the items into the stream, as html code.
    * May assume that all the items are inside the given daterange.
    * The user requested to show all the days in the daterange, so unless
    * there is a special reason, all the days should be shown.
    * aStart and aEnd may be null, in which case the implementation can
    * show the minimal days needed to show all the events. It can skip
    * months without events, for example.
--- a/calendar/base/public/calIRecurrenceInfo.idl
+++ b/calendar/base/public/calIRecurrenceInfo.idl
@@ -36,17 +36,17 @@ interface calIRecurrenceInfo : nsISuppor
    * after writing to the start date of an item, since it's called automatically in the
    * appropriate setter of an item.
    */
   void onStartDateChange(in calIDateTime aNewStartTime, in calIDateTime aOldStartTime);
 
   /**
    * If the base item's UID changes, this implicitly has to change all overridden items' UID, too.
    *
-   * @param id new UID 
+   * @param id new UID
    */
   void onIdChange(in AUTF8String aNewId);
 
   /*
    * Set of recurrence items; the order of these matters.
    */
 
   void getRecurrenceItems(out unsigned long aCount, [array,size_is(aCount),retval] out calIRecurrenceItem aItems);
--- a/calendar/base/public/calIStatusObserver.idl
+++ b/calendar/base/public/calIStatusObserver.idl
@@ -30,19 +30,19 @@ interface calIStatusObserver : nsISuppor
 
   /**
    * increments the display value denoting that a calendar has been processed
    */
   void calendarCompleted(in calICalendar aCalendar);
 
   /**
    * @return    An integer value denoting whether a progress is running or not;
-   *              if it returns DETERMINED_PROGRESS a determined progress 
+   *              if it returns DETERMINED_PROGRESS a determined progress
                   is running;
-   *              if it returns UNDETERMINED_PROGRESS an undetermined progress 
+   *              if it returns UNDETERMINED_PROGRESS an undetermined progress
                   is running;
    *              if it returns NO_PROGRESS no Progress is running.
    */
   readonly attribute unsigned long spinning;
 
   /**
    * A constant that denotes that no operation is running
    */
--- a/calendar/base/public/calITransactionManager.idl
+++ b/calendar/base/public/calITransactionManager.idl
@@ -22,19 +22,19 @@ interface calITransactionManager : nsISu
      *                      * add     Adds an item
      *                      * modify  Modfifies an item
      *                      * delete  Deletes an item
      *                      * move    Move an item from one calendar to the
      *                                next. With this operation, aCalendar is
      *                                the calendar that the event should be
      *                                moved to.
      * @param aCalendar     The Calendar to execute the transaction on
-     * @param aItem         The changed item for this transaction. This item 
+     * @param aItem         The changed item for this transaction. This item
      *                      should be immutable
-     * @param aOldItem      The Item in its original form. Only needed for 
+     * @param aOldItem      The Item in its original form. Only needed for
      *                      modify.
      * @param aListener     The listener to call when the transaction has
      *                      completed. This parameter can be null.
      * @param aExtResponse  JS object to provide additional parameters to prepare an itip message.
                             Valid attributes are:
      *                      * responseMode  A value as defined for calIItipItem.autoResponse
      */
     void createAndCommitTxn(in AUTF8String aAction,
--- a/calendar/base/public/calIWeekInfoService.idl
+++ b/calendar/base/public/calIWeekInfoService.idl
@@ -3,17 +3,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface calIDateTime;
 
 /**
  * This interface will calculate a week title from a given datetime. This
- * will depends on the users preferences. 
+ * will depends on the users preferences.
  * Extensions might override the default implementation, in order to
  * generate week titles aimed at special cases (like weeknumbers for a
  * schoolyear)
  */
 [scriptable, uuid(650fd33b-ebf4-46fa-b9ca-dd80b2451498)]
 interface calIWeekInfoService: nsISupports
 {
     /**
@@ -26,17 +26,17 @@ interface calIWeekInfoService: nsISuppor
      *            A string, representing the week title. Will usually be the
      *            week number. Every week (7 days) should get a different string,
      *            but the switch from one week to the next isn't necessarily
      *            on sunday.
      */
     AString getWeekTitle(in calIDateTime dateTime);
 
     /**
-     * Gets the first day of a week of a passed day under consideration 
+     * Gets the first day of a week of a passed day under consideration
      * of the preference setting "calendar.week.start"
      *
      * @param aDate     The dateTime to get get the start of the week for
      * @return          A dateTime-object denoting the first day of the week
      */
     calIDateTime getStartOfWeek(in calIDateTime dateTime);
 
     /**
--- a/calendar/base/src/calInternalInterfaces.idl
+++ b/calendar/base/src/calInternalInterfaces.idl
@@ -12,17 +12,17 @@ interface calIDateTime;
 
 [scriptable, uuid(1903648f-a0ee-4ae1-84b0-d8e8d0b10506)]
 interface calIInternalShallowCopy : nsISupports
 {
   /**
    * create a proxy for this item; the returned item
    * proxy will have parentItem set to this instance.
    *
-   * @param aRecurrenceId RECURRENCE-ID of the proxy to be created 
+   * @param aRecurrenceId RECURRENCE-ID of the proxy to be created
    */
   calIItemBase createProxy(in calIDateTime aRecurrenceId);
 
   // used by recurrenceInfo when cloning proxy objects to
   // avoid an infinite loop.  aNewParent is optional, and is
   // used to set the parent of the new item; it should be null
   // if no new parent is passed in.
   calIItemBase cloneShallow(in calIItemBase aNewParent);
--- a/calendar/providers/wcap/public/calIWcapCalendar.idl
+++ b/calendar/providers/wcap/public/calIWcapCalendar.idl
@@ -67,17 +67,17 @@ interface calIWcapCalendar : calICalenda
      * @exception NS_ERROR_NOT_AVAILABLE if not logged in
      */
     void getCalendarProperties(in string propName,
                                out unsigned long count,
                                [array, size_is(count), retval] out string props);
 
     /* xxx todo: additional filters sensible for calICalendar, too?
                  claiming bits 24-30 for now.
-                 
+
                  Those bits are somehow handled special now:
                  If at least one of the below is set, then
                  that filter bit(s) are active.
                  If none of the below is set, then those compstate
                  filters are not taken into account at all.
                  So there is no need to OR all of the below together
                  (ITEM_FILTER_ALL_ITEMS does not cover these bits) if you
                  don't care about the REQUEST/REPLY states.
@@ -141,17 +141,17 @@ interface calIWcapCalendar : calICalenda
 //      * Scope: Organizer
 //      * The event or todo is an invitation from the current
 //      * user to other invitees, and is currently awaiting.
 //      */
 //     const unsigned long ITEM_FILTER_REQUEST_WAITFORREPLY = 1 << 30;
 
     /* xxx todo:
        separate out into another interface and leave only an attribute
-       
+
        readonly attribute calIWcapAccessControl accessControl;
 
        here?
        This would bloat client code somehow like
 
        if (cal.accessControl &&
            cal.accessControl.check(calIAccessControl.AC_COMP_WRITE))
            cal.deleteItem(item, listener);
@@ -210,17 +210,17 @@ interface calIWcapCalendar : calICalenda
      * Checks whether the currently logged in user can perform the specified
      * actions. Clients should check these bits before performing operations
      * on a calendar instance, e.g.
      *
      * if (cal.checkAccess(calIWcapCalendar.AC_COMP_WRITE))
      *     cal.deleteItem(item, listener);
      *
      * or
-     * 
+     *
      * if (cal.checkAccess(calIWcapCalendar.AC_PROP_WRITE))
      *     cal.name = newName;
      *
      * @exception NS_ERROR_NOT_AVAILABLE if not logged in
      * @param accessControlBits access control bits (above AC_ definitions)
      * @return true if access is granted, false otherwise
      */
     boolean checkAccess(in unsigned long accessControlBits);
@@ -235,17 +235,17 @@ interface calIWcapCalendar : calICalenda
 //      *    defineAccessControl("@", AC_FREEBUSY | AC_COMP_READ);
 //      *    defineAccessControl("jdoe", AC_FREEBUSY);
 //      *
 //      * b) Restrict jdoe to have no access:
 //      *    defineAccessControl("jdoe", 0);
 //      *
 //      * Follow-up definition calls for the same user will overwrite previous
 //      * definitions.
-//      * 
+//      *
 //      * @param userId user that is affected by the access control bits
 //      *               WCAP specific:
 //      *                    - @ stands in for everybody
 //      *                    xxx todo: change the above
 //      * @param accessControlBits access control bits (above AC_ definitions)
 //      * @param listener called when access control bits have been updated
 //      * @return optional object to track operation
 //      */
@@ -261,17 +261,17 @@ interface calIWcapCalendar : calICalenda
 //      *
 //      * @param userId user id
 //      * @param listener called when access control bits have been updated
 //      * @return optional object to track operation
 //      */
 //     calIOperation resetAccessControl(
 //         in string userId,
 //         in calIGenericOperationListener listener);
-    
+
 //     /**
 //      * Gets the set of access control definitions (including "everybody").
 //      * Both out arrays have the same length.
 //      *
 //      * @param count length of returned arrays
 //      * @param users users ids
 //      * @param accessControlBits access control bits
 //      * @param listener called with xxx todo
--- a/ldap/xpcom/public/nsILDAPBERElement.idl
+++ b/ldap/xpcom/public/nsILDAPBERElement.idl
@@ -76,17 +76,17 @@ interface nsILDAPBERElement : nsISupport
   const unsigned long TAG_LBER_BITSTRING = 0x03;
   const unsigned long TAG_LBER_OCTETSTRING = 0x04;
   const unsigned long TAG_LBER_NULL = 0x05;
   const unsigned long TAG_LBER_ENUMERATED = 0x0a;
   const unsigned long TAG_LBER_SEQUENCE = 0x30;
   const unsigned long TAG_LBER_SET = 0x31;
 
   /**
-   * Write a string to this element. 
+   * Write a string to this element.
    *
    * @param  aString  string to write
    * @param  aTag     tag for this string (if TAG_LBER_DEFAULT is used,
    *                  TAG_LBER_OCTETSTRING will be written).
    *
    * @return     number of bytes written
    *
    * @exception  NS_ERROR_FAILUE   C-SDK returned error
--- a/ldap/xpcom/public/nsILDAPBERValue.idl
+++ b/ldap/xpcom/public/nsILDAPBERValue.idl
@@ -5,17 +5,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 /**
  * Representation of a BER value as an interface containing an array of
  * bytes.  Someday this should perhaps be obsoleted by a better, more
  * generalized version of nsIByteBuffer, but that's currently not even
- * scriptable (see bug 125596). 
+ * scriptable (see bug 125596).
  */
 [scriptable, uuid(c817c5fe-1dd1-11b2-a10b-ae9885762ea9)]
 interface nsILDAPBERValue : nsISupports
 {
     /**
      * Set the BER value from an array of bytes (copies).
      *
      * @exception NS_ERROR_OUT_OF_MEMORY    couldn't allocate buffer to copy to
--- a/ldap/xpcom/public/nsILDAPConnection.idl
+++ b/ldap/xpcom/public/nsILDAPConnection.idl
@@ -23,17 +23,17 @@ interface nsILDAPConnection : nsISupport
     readonly attribute wstring errorString;
 
     /**
      * DN to bind as.  use the init() method to set this.
      *
      * @exception NS_ERROR_OUT_OF_MEMORY
      */
     readonly attribute AUTF8String bindName;
-   
+
     /**
      * private parameter (anything caller desires)
      */
     attribute nsISupports closure;
 
     /**
      * Set up the connection.  Note that init() must be called on a thread
      * that already has an nsIEventQueue.
@@ -44,17 +44,17 @@ interface nsILDAPConnection : nsISupport
      * @param aMessageListener  Callback for DNS resolution completion
      * @param aClosure          private parameter (anything caller desires)
      * @param aVersion          LDAP version to use (currently VERSION2 or
      *                          VERSION3)
      *
      * @exception NS_ERROR_ILLEGAL_VALUE        null pointer or invalid version
      * @exception NS_ERROR_OUT_OF_MEMORY        ran out of memory
      * @exception NS_ERROR_OFFLINE              we are in off-line mode
-     * @exception NS_ERROR_FAILURE             
+     * @exception NS_ERROR_FAILURE
      * @exception NS_ERROR_UNEXPECTED           internal error
      */
     void init(in nsILDAPURL aUrl,
               in AUTF8String aBindName,
               in nsILDAPMessageListener aMessageListener,
               in nsISupports aClosure, in unsigned long aVersion);
 
     const unsigned long VERSION2 = 2;
--- a/ldap/xpcom/public/nsILDAPControl.idl
+++ b/ldap/xpcom/public/nsILDAPControl.idl
@@ -19,17 +19,17 @@ interface nsILDAPControl : nsISupports
    *
    * @exceptions   none
    */
   attribute ACString oid;
 
   /**
    * The data associated with a control, if any.  To specify that no data
    * is to be associated with the control, don't set this at all (which
-   * is equivalent to setting it to null). 
+   * is equivalent to setting it to null).
    *
    * @note Specifying a zero-length value is not currently supported.  At some
    * date, setting this to an nsILDAPBERValue which has not had any of the
    * set methods called will be the appropriate way to do that.
    *
    * @exceptions   none
    */
   attribute nsILDAPBERValue value;
--- a/ldap/xpcom/public/nsILDAPErrors.idl
+++ b/ldap/xpcom/public/nsILDAPErrors.idl
@@ -6,17 +6,17 @@
 
 #include "nsISupports.idl"
 
 /**
  * Error codes used in the LDAP XPCOM SDK.
  *
  * Taken from the Mozilla C SDK's ldap.h include file, these should be
  * the same as those specified in the draft-ietf-ldapext-ldap-c-api-04.txt
- * Internet Draft. 
+ * Internet Draft.
  *
  * The only good documentation I'm aware of for these error codes is
  * at <http://docs.iplanet.com/docs/manuals/directory.html#SDKC>.
  * Unfortunately, this does not currently seem to be available under any
  * open source license, so I can't include that documentation here as
  * doxygen comments.
  *
  */
@@ -101,17 +101,17 @@ interface nsILDAPErrors : nsISupports
     const long INAPPROPRIATE_AUTH = 0x30;
 
     const long INVALID_CREDENTIALS = 0x31;
 
     const long INSUFFICIENT_ACCESS = 0x32;
 
     const long BUSY = 0x33;
 
-    const long UNAVAILABLE = 0x34;   
+    const long UNAVAILABLE = 0x34;
 
     const long UNWILLING_TO_PERFORM = 0x35;
 
     const long LOOP_DETECT = 0x36;
 
     /**
      * server side sort extension
      */
--- a/ldap/xpcom/public/nsILDAPMessage.idl
+++ b/ldap/xpcom/public/nsILDAPMessage.idl
@@ -57,17 +57,17 @@ interface nsILDAPMessage : nsISupports
     /**
      * The operation this message originated from
      *
      * @exception NS_ERROR_NULL_POINTER         NULL pointer to getter
      */
     readonly attribute nsILDAPOperation operation;
 
     /**
-     * The result code (aka lderrno) for this message. 
+     * The result code (aka lderrno) for this message.
      *
      * IDL definitions for these constants live in nsILDAPErrors.idl.
      *
      * @exception NS_ERROR_ILLEGAL_VALUE    null pointer passed in
      */
     readonly attribute long errorCode;
 
     /**
@@ -107,17 +107,17 @@ interface nsILDAPMessage : nsISupports
      * The result of a modify operation.
      */
     const long RES_MODIFY = 0x67;
 
     /**
      * The result of an add operation
      */
     const long RES_ADD = 0x69;
-   
+
     /**
      * The result of a delete operation
      */
     const long RES_DELETE = 0x6B;
 
     /**
      * The result of an modify DN operation
      */
--- a/ldap/xpcom/public/nsILDAPOperation.idl
+++ b/ldap/xpcom/public/nsILDAPOperation.idl
@@ -254,17 +254,17 @@ interface nsILDAPOperation : nsISupports
      *                                          client is using
      * @exception NS_ERROR_LDAP_FILTER_ERROR
      * @exception NS_ERROR_UNEXPECTED
      */
     void searchExt(in AUTF8String aBaseDn, in int32_t aScope,
                    in AUTF8String aFilter, in ACString aAttributes,
                    in PRIntervalTime aTimeOut, in int32_t aSizeLimit);
 
-    /** 
+    /**
      * Cancels an async operation that is in progress.
      *
      * XXX controls not supported yet
      *
      * @exception NS_ERROR_NOT_IMPLEMENTED      server or client controls
      *                                          were set on this object
      * @exception NS_ERROR_NOT_INITIALIZED      operation not initialized
      * @exception NS_ERROR_LDAP_ENCODING_ERROR  error during BER-encoding
--- a/ldap/xpcom/public/nsILDAPService.idl
+++ b/ldap/xpcom/public/nsILDAPService.idl
@@ -164,17 +164,17 @@ interface nsILDAPService : nsISupports {
      *
      * @param aMaxSize   maximum size (in char) of string to be
      *                   created and returned (including final \0)
      * @param aPattern   pattern to be used for the filter
      * @param aPrefix    prefix to prepend to the filter
      * @param aSuffix    suffix to be appended to the filer
      * @param aAttr      replacement for %a in the pattern
      * @param aValue     replacement for %v in the pattern
-     * 
+     *
      * @exception NS_ERROR_INVALID_ARG      invalid parameter passed in
      * @exception NS_ERROR_OUT_OF_MEMORY    allocation failed
      * @exception NS_ERROR_NOT_AVAILABLE    filter longer than maxsiz chars
      * @exception NS_ERROR_UNEXPECTED       ldap_create_filter returned
      *                                      unexpected error code
      */
     AUTF8String createFilter(in unsigned long aMaxSize, in AUTF8String aPattern,
                              in AUTF8String aPrefix, in AUTF8String aSuffix,
--- a/ldap/xpcom/public/nsILDAPSyncQuery.idl
+++ b/ldap/xpcom/public/nsILDAPSyncQuery.idl
@@ -4,17 +4,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 interface nsILDAPURL;
 
 
 [scriptable, uuid (0308fb36-1dd2-11b2-b16f-8510e8c5311a)]
 interface nsILDAPSyncQuery : nsISupports {
- 
+
   /**
    * getQueryResults
    *
    * Create a new LDAP connection do a synchronous LDAP search and return
    * the results.
    * @param aServerURL - LDAP URL with parameters to a LDAP search
    *                     ("ldap://host/base?attributes?one/sub?filter")
    * @param aProtocolVersion - LDAP protocol version to use for connection
--- a/ldap/xpcom/public/nsILDAPURL.idl
+++ b/ldap/xpcom/public/nsILDAPURL.idl
@@ -96,17 +96,17 @@ interface nsILDAPURL : nsIURI {
      * @exception NS_ERROR_MALFORMED_URI    Illegal base to SET method
      */
     attribute long scope;
 
     /**
      * Search just the base object
      */
     const long SCOPE_BASE = 0;
-   
+
     /**
      * Search only the children of the base object
      */
     const long SCOPE_ONELEVEL = 1;
 
     /**
      * Search the entire subtree under and including the base object
      */
--- a/mail/components/activity/nsIActivity.idl
+++ b/mail/components/activity/nsIActivity.idl
@@ -22,17 +22,17 @@ interface nsISupportsPRTime;
 /**
  * Background:
  * Activity handlers define the behavioral capabilities of the activities. They
  * are used by the Activity Manager to change the execution flow of the activity
  * based on the user interaction. They are not mandatory, but when set, causes
  * behavioral changes on the binding representing the activity, such as showing
  * a cancel button, etc. The following handlers are currently supported;
  */
- 
+
 /**
  * The handler to invoke when the recover button is pressed. Used by a Warning
  * to recover from the situation causing the warning. For instance, recovery
  * action for a "Over Quota Limit" warning, would be to cleanup some disk space,
  * and this operation can be implemented and set by the activity developer in
  * form of nsIActivityRecoveryHandler component.
  */
 [scriptable, uuid(30E0A76F-880A-4093-8F3C-AF2239977A3D)]
@@ -79,138 +79,138 @@ interface nsIActivityUndoHandler : nsISu
 
 /**
  * Base interface of all activity interfaces. It is abstract in a sense that
  * there is no component in the activity management system that solely
  * implements this interface.
  */
 [scriptable, uuid(6CD33E65-B2D8-4634-9B6D-B80BF1273E99)]
 interface nsIActivity : nsISupports {
-  
+
   /**
    * Shows the activity as a standalone item.
    */
   const short GROUPING_STYLE_STANDALONE = 1;
 
   /**
    * Groups activity by its context.
    */
   const short GROUPING_STYLE_BYCONTEXT = 2;
-  
+
   /**
    * Internal ID given by the activity manager when
    * added into the activity list.  Not readonly so that
    * the activity manager can write to them, but not to be written to
    * by anyone else.
    */
   attribute unsigned long id;
-  
+
   // Following attributes change the UI characteristics of the activity
-  
+
   /**
    * A brief description of the activity, to be shown by the
    * associated binding (XBL) in the Activity Manager window.
    */
   readonly attribute AString displayText;
-  
+
   /**
    * Changes the default icon associated with the activity. Core activity
    * icons are declared in |mail/themes/<themename>/mail/activity/activity.css|
    * files.
    *
    * Extension developers can add and assign their own icons by setting
    * this attribute.
    */
   attribute AString iconClass;
-  
+
   /**
    * Textual id of the XBL binding that will be used to represent the
    * activity in the Activity Manager window.
    *
    * This attribute allows to associate default activity components
    * with custom XBL bindings. See |activity.xml| file for default
    * activity XBL bindings, and |activity.css| file for default binding
    * associations.
    */
   attribute AString bindingName;
-  
+
   /**
    * Defines the grouping style of the activity when being shown in the
    * activity manager window:
    *  GROUPING_STYLE_STANDALONE or GROUPING_STYLE_BYCONTEXT
    */
   attribute short groupingStyle;
-  
+
   /**
    * A text value to associate a facet type with the activity. If empty,
    * the activity will be shown in the 'Misc' section.
    */
   attribute AString facet;
-  
+
   // UI related attributes end.
-  
+
   /**
    * Gets the initiator of the activity. An initiator represents an object
    * that generates and controls the activity. For example, Copy Service can be
    * the initiator of the copy, and move activities. Similarly Gloda can be the
    * initiator of indexing activity, etc.
    *
    * This attribute is used mostly by handler components to change the execution
    * flow of the activity such as canceling, pausing etc. Since not used by the
    * Activity Manager, it is not mandatory to set it.
    *
    * An initiator can be any JS Object or an XPCOM component that provides an
    * nsIVariant interface.
    */
   readonly attribute nsIVariant initiator;
-  
+
   /**
    * Adds an object to the activity's internal subject list. Subject list
    * provides argument(s) to activity handlers to complete their operation.
    * For example, nsIActivityUndoHandler needs the source and destination
    * folders to undo a move operation.
    *
    * Since subjects are not used by the Activity Manager, it is up to the
    * activity developer to provide these objects.
    *
    * A subject can be any JS object or XPCOM component that supports nsIVariant
    * interface.
    */
   void addSubject(in nsIVariant aSubject);
-  
+
   /**
    * Retrieves all subjects associated with this activity.
    *
    * @return The list of subject objects associated by the activity.
    */
   void getSubjects(out unsigned long length, [retval, array,
                    size_is(length)] out nsIVariant aSubjects);
-  
+
   /*
    * Background:
    *  A context is a generic concept that is used to group the processes and
    *  warnings having similar properties such as same imap server, same smtp
    *  server etc.
    *  A context is uniquely identified by its "type" and "object" attributes.
    *  Each activity that has the same context type and object are considered
    *  belong to the same logical group, context.
    *
    *  There are 4 predefined context types known by the Activity Manager:
    *  Account, Smtp, Calendar, and Addressbook. The most common context type
    *  for activities is the "Account Context" and when combined with an account
    *  server instance, it allows to group different activities happening on the
    *  the same account server.
    */
-  
+
   /**
    * Sets and gets the context object of the activity. A context object can be
    * any JS object or XPCOM component that supports nsIVariant interface.
    */
   attribute nsIVariant contextObj;
-  
+
   /**
    * Sets and gets the context type of the activity. If this is set, then
    * the contextDisplayText should also be set.
    */
   attribute AString contextType;
 
   /**
    * Return the displayText to be used for the context
@@ -229,17 +229,17 @@ interface nsIActivity : nsISupports {
 };
 
 
 /**
  * A Process represents an on-going activity.
  */
 [scriptable, uuid(9DC7CA67-828D-4AFD-A5C6-3ECE091A98B8)]
 interface nsIActivityProcess : nsIActivity {
-  
+
   /**
    * Default state for uninitialized process activity
    * object.
    */
   const short STATE_NOTSTARTED = -1;
 
   /**
    * Activity is currently in progress.
@@ -256,52 +256,52 @@ interface nsIActivityProcess : nsIActivi
    * (same as completed)
    */
   const short STATE_CANCELED = 2;
 
   /**
    * Activity was paused by the user.
    */
   const short STATE_PAUSED = 3;
-  
+
   /**
    * Activity waits for the user input's to retry.
    * (i.e. login password)
    */
   const short STATE_WAITINGFORINPUT = 4;
 
   /**
    * Activity is ready for an automatic or manual retry.
    */
   const short STATE_WAITINGFORRETRY = 5;
-  
+
   /**
    * The state of the activity.
    * See above for possible values.
    * @exception NS_ERROR_ILLEGAL_VALUE if the state isn't one of the states
    *   defined above.
    */
   attribute short state;
-    
+
   /**
    * The percentage of activity completed.
    * If the max value is unknown it'll be -1 here.
    */
   readonly attribute long percentComplete;
-  
+
   /**
    * A brief text about the process' status.
    */
   readonly attribute AString lastStatusText;
-  
+
   /**
    * The amount of work units completed so far.
    */
   readonly attribute unsigned long workUnitComplete;
-  
+
   /**
    * Total amount of work units.
    */
   readonly attribute unsigned long totalWorkUnits;
 
   /**
    * The starting time of the process.
    * 64-bit signed integers relative to midnight (00:00:00), January 1, 1970
@@ -315,33 +315,33 @@ interface nsIActivityProcess : nsIActivi
 
   /**
    * The handler to invoke when the cancel button is pressed. If present
    * (non-null), the activity can be canceled and a cancel button will be
    * displayed to the user.  If null, it cannot be canceled and no button will
    * be displayed.
    */
   attribute nsIActivityCancelHandler cancelHandler;
-  
+
   /**
    * The handler to invoke when the pause button is pressed. If present
    * (non-null), the activity can be pauseable and a pause button will be
    * displayed to the user.  If null, it cannot be paused and no button will
    * be displayed.
    */
   attribute nsIActivityPauseHandler pauseHandler;
-  
+
   /**
    * The handler to invoke when the retry button is pressed. If present
    * (non-null), the activity can be retryable and a retry button will be
    * displayed to the user.  If null, it cannot be retried and no button will
    * be displayed.
    */
   attribute nsIActivityRetryHandler retryHandler;
-  
+
   /**
    * Updates the activity progress info.
    *
    * @param aStatusText A localized text describing the current status of the
    *                    process
    * @param aWorkUnitComplete The amount of work units completed. Not used by
    *                          Activity Manager or default binding for any
    *                          purpose.
@@ -349,115 +349,115 @@ interface nsIActivityProcess : nsIActivi
    *                        Activity Manager or default binding for any
    *                        purpose. If set to zero, this indicates that the
    *                        number of work units is unknown, and the percentage
    *                        attribute will be set to -1.
    */
   void setProgress(in AString aStatusText,
                    in unsigned long aWorkUnitComplete,
                    in unsigned long aTotalWorkUnits);
-  
+
   /**
    * Component initialization method.
    *
    * @param aDisplayText A localized text to be shown on the Activity Manager
    *                     window
    * @param aInitiator The initiator of the process
    */
   void init(in AString aDisplayText, in nsIVariant aInitiator);
 };
 
 /**
  * Historical actions performed by the user, by extensions or by the system.
  */
 [scriptable, uuid(5B1B0D03-2820-4E37-8BF8-102AFDE4FC45)]
 interface nsIActivityEvent : nsIActivity {
-  
+
   /**
    * Any localized textual information related to this event.
    * It is shown at the bottom of the displayText area.
    */
   readonly attribute AString statusText;
-  
+
   /**
    * The starting time of the event.
    * 64-bit signed integers relative to midnight (00:00:00), January 1, 1970
    * Greenwich Mean Time (GMT). (GMT is also known as Coordinated Universal
    * Time, UTC.). The units of time are in microseconds.
    *
    * In JS Date.now(), in C++ PR_Now() / PR_USEC_PER_MSEC can be used to set
    * this value.
    */
   readonly attribute long long startTime;
-  
+
   /**
    * The completion time of the event in microseconds.
    * 64-bit signed integers relative to midnight (00:00:00), January 1, 1970
    * Greenwich Mean Time (GMT). (GMT is also known as Coordinated Universal
    * Time, UTC.). The units of time are in microseconds.
    *
    * In JS Date.now(), in C++ PR_Now() / PR_USEC_PER_MSEC can be used to set
    * this value.
    */
   readonly attribute long long completionTime;
-  
+
   /**
    * The handler to invoke when the undo button is pressed.  If present
    * (non-null), the activity can be undoable and an undo button will be
    * displayed to the user.  If null, it cannot be undone and no button will
    * be displayed.
    */
   attribute nsIActivityUndoHandler undoHandler;
-  
+
   /**
    * Component initialization method.
    *
    * @param aDisplayText Any localized text describing the event and its context
    * @param aInitiator The initiator of the event
    * @param aStatusText Any localized additional information about the event
    * @param aStartTime The starting time of the event
    * @param aCompletionTime The completion time of the event
    */
   void init(in AString aDisplayText, in nsIVariant aInitiator,
             in AString aStatusText, in long long aStartTime,
             in long long aCompletionTime);
 };
 
 [scriptable, uuid(8265833e-c604-4585-a43c-a76bd8ed3a8c)]
 interface nsIActivityWarning : nsIActivity {
-  
+
   /**
    * Any localized textual information related to this warning.
    */
   readonly attribute AString warningText;
-  
+
   /**
    * The time of the warning.
    * 64-bit signed integers relative to midnight (00:00:00), January 1, 1970
    * Greenwich Mean Time (GMT). (GMT is also known as Coordinated Universal
    * Time, UTC.). The units of time are in microseconds.
    *
    * In JS Date.now(), in C++ PR_Now() / PR_USEC_PER_MSEC can be used to set
    * this value.
    */
   readonly attribute long long time;
-  
+
   /**
    * Recovery tip of the warning, localized.
    */
   readonly attribute AString recoveryTipText;
-  
+
   /**
    * The handler to invoke when the recover button is pressed.  If present
    * (non-null), the activity can be recoverable and a recover button will be
    * displayed to the user.  If null, it cannot be recovered and no button will
    * be displayed.
    */
   attribute nsIActivityRecoveryHandler recoveryHandler;
-  
+
   /**
    * Component initialization method.
    *
    * @param aWarningText The localized text that will be shown on the display
    *                     area
    * @param aInitiator The initiator of the warning
    * @param aRecoveryTip A localized textual information to guide the user in
    *                     order to recover from the warning situation.
@@ -467,25 +467,25 @@ interface nsIActivityWarning : nsIActivi
 };
 
 [scriptable, uuid(bd11519f-b297-4b34-a793-1861dc90d5e9)]
 interface nsIActivityListener : nsISupports {
   /**
    * Triggered after activity state is changed.
    */
   void onStateChanged(in nsIActivity aActivity, in short aOldState);
-  
+
   /**
    * Triggered after the progress of the process activity is changed.
    */
   void onProgressChanged(in nsIActivity aActivity,
                          in AString aStatusText,
                          in unsigned long aWorkUnitsCompleted,
                          in unsigned long aTotalWorkUnits);
-  
+
   /**
    * Triggered after one of the activity handler is set.
    *
    * This is mostly used to update the UI of the activity when
    * one of the handler is set to null after the operation is completed.
    * For example after the activity is undoed, to make the undo button
    * invisible.
    */
--- a/mail/components/activity/nsIActivityManager.idl
+++ b/mail/components/activity/nsIActivityManager.idl
@@ -21,17 +21,17 @@ interface nsIVariant;
  */
 [scriptable, uuid(14cfad1c-3401-4c44-ab04-4a11b6662663)]
 interface nsIActivityMgrListener : nsISupports {
   /**
    * Called _after_ activity manager adds an activity into
    * the managed list.
    */
   void onAddedActivity(in unsigned long aID, in nsIActivity aActivity);
-  
+
   /**
    * Called _after_ activity manager removes an activity from
    * the managed list.
    */
   void onRemovedActivity(in unsigned long aID);
 };
 
 /**
@@ -54,26 +54,26 @@ interface nsIActivityMgrListener : nsISu
  *   created.
  * o Warning: Alerts sent by Thunderbird or servers (i.e. imap server) that need
  *   attention by the user. For example a Quota Alert from the imap
  *   server can be represented as a Warning to the user. They are not
  *   written to disk.
  */
 [scriptable, uuid(9BFCC031-50E1-4D30-A35F-23509ABCB8D1)]
 interface nsIActivityManager : nsISupports {
-    
+
   /**
    * Adds the given activity into the managed activities list.
    *
    * @param aActivity The activity that will be added.
    *
    * @return Unique activity identifier.
    */
   unsigned long addActivity(in nsIActivity aActivity);
-  
+
   /**
    * Removes the activity with the given id if it's not currently
    * in-progress.
    *
    * @param aID The unique ID of the activity.
    *
    * @throws NS_ERROR_FAILURE if the activity is in-progress.
    * @throws NS_ERROR_NOT_AVAILABLE if the activity is not in the list.
@@ -86,32 +86,32 @@ interface nsIActivityManager : nsISuppor
    * persistent store.
    *
    * @param aID The unique ID of the activity.
    *
    * @return The activity with the specified ID.
    * @throws NS_ERROR_NOT_AVAILABLE if the activity is not in the list.
    */
   nsIActivity getActivity(in unsigned long aID);
-  
+
   /**
    * Tests whether the activity in question in the activity list or not.
    */
   boolean containsActivity(in unsigned long aID);
-  
+
   /**
    * Retrieves all activities managed by the activity manager. This can be one
    * that is in progress (process), one that is represented as a warning, or one
    * that has completed (event) in the past and is stored in the persistent
    * store.
    *
    * @return A read-only list of activities managed by the activity manager.
    */
   Array<nsIActivity> getActivities();
-  
+
   /**
    * Retrieves processes with given context type and object.
    *
    * @return A read-only list of processes matching to given criteria.
    */
   Array<nsIActivityProcess> getProcessesByContext(in AString aContextType,
                                                   in nsIVariant aContextObject);
 
@@ -119,17 +119,17 @@ interface nsIActivityManager : nsISuppor
    *  Call to remove all activities apart from those that are in progress.
    */
   void cleanUp();
 
   /**
    * The number of processes in the activity list.
    */
   readonly attribute long processCount;
-  
+
   /**
    * Adds a listener.
    */
   void addListener(in nsIActivityMgrListener aListener);
 
   /**
    * Removes the given listener.
    */
--- a/mail/components/nsIMailGlue.idl
+++ b/mail/components/nsIMailGlue.idl
@@ -4,18 +4,18 @@
 
 #include "nsISupports.idl"
 
 interface nsIDOMWindow;
 
 [scriptable, uuid(bc873177-ea0c-4714-b26c-f89c071107ce)]
 interface nsIMailGlue : nsISupports
 {
-  /** 
+  /**
    * Deletes privacy sensitive data according to user preferences
    *
-   * @param aParentWindow an optionally null window which is the parent of the 
+   * @param aParentWindow an optionally null window which is the parent of the
    *        sanitization dialog
    *
    */
   void sanitize(in nsIDOMWindow aParentWindow);
 
 };
--- a/mail/components/shell/nsIShellService.idl
+++ b/mail/components/shell/nsIShellService.idl
@@ -12,40 +12,40 @@ interface nsIShellService : nsISupports
   /**
    * app types we can be registered to handle
    */
   const unsigned short MAIL = 0x0001;
   const unsigned short NEWS = 0x0002;
   const unsigned short RSS  = 0x0004;
 
   /**
-   * Determines whether or not Thunderbird is the "Default Client" for the 
+   * Determines whether or not Thunderbird is the "Default Client" for the
    * passed in app type.
    *
-   * This is simply whether or not Thunderbid is registered to handle 
+   * This is simply whether or not Thunderbid is registered to handle
    * the url scheme associatd with the app.
-   * 
+   *
    * @param aStartupCheck true if this is the check being performed
-   *                      by the first mail window at startup, 
+   *                      by the first mail window at startup,
    *                      false otherwise.
    * @param aApps the application types being tested (Mail, News, RSS, etc.)
    */
   boolean isDefaultClient(in boolean aStartupCheck, in unsigned short aApps);
 
   /**
    * Registers Thunderbird as the "Default Mail Client" for the
    * passed in app type.
    *
    * @param aForAllUsers   Whether or not Thunderbird should attempt
    *                       to become the default client for all
-   *                       users on a multi-user system. 
+   *                       users on a multi-user system.
    * @param aApps the application types being tested (Mail, News, RSS, etc.)
    */
   void setDefaultClient(in boolean aForAllUsers, in unsigned short aApps);
 
-  /** 
+  /**
    * Used to determine whether or not to show a "Set Default Client"
    * query dialog. This attribute is true if the application is starting
    * up and "mail.shell.checkDefaultClient" is true, otherwise it
    * is false.
    */
   attribute boolean shouldCheckDefaultClient;
 };
--- a/mailnews/addrbook/public/nsIAbMDBDirectory.idl
+++ b/mailnews/addrbook/public/nsIAbMDBDirectory.idl
@@ -61,11 +61,11 @@ interface nsIAbMDBDirectory : nsISupport
 
   // Removes items from the addressLists member
   void removeEmailAddressAt(in unsigned long aIndex);
 
   attribute unsigned long dbRowID;
 
   // Empty implementation, called by the data base
   [noscript] void notifyDirItemAdded(in nsISupports item);
-  
+
   [noscript] void clearDatabase();
 };