|
@@ -1,753 +0,0 @@
|
|
-# HG changeset patch
|
|
|
|
-# User Frank-Rainer Grahl <frgrahl@gmx.net>
|
|
|
|
-# Date 1664201045 -7200
|
|
|
|
-# Parent 0603b7198fc802995c6b837c471c108a9efc2001
|
|
|
|
-Bug 1794276 - Fix headers in js files. suite/mailnews part. r=IanN
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/abCardOverlay.js b/suite/mailnews/components/addrbook/content/abCardOverlay.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/abCardOverlay.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/abCardOverlay.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const kNonVcardFields =
|
|
|
|
- ["NickNameContainer", "SecondaryEmailContainer", "ScreenNameContainer",
|
|
|
|
- "customFields", "preferDisplayName"];
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/abCardViewOverlay.js b/suite/mailnews/components/addrbook/content/abCardViewOverlay.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/abCardViewOverlay.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/abCardViewOverlay.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- //NOTE: gAddressBookBundle must be defined and set or this Overlay won't work
|
|
|
|
-
|
|
|
|
- var gMapItURLFormat;
|
|
|
|
-
|
|
|
|
- var gPhotoDisplayHandlers = {};
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/abCommon.js b/suite/mailnews/components/addrbook/content/abCommon.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/abCommon.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/abCommon.js
|
|
|
|
-@@ -1,13 +1,13 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
--
|
|
|
|
- const { IOUtils } = ChromeUtils.import("resource:///modules/IOUtils.js");
|
|
|
|
- const { MailServices } =
|
|
|
|
- ChromeUtils.import("resource:///modules/MailServices.jsm");
|
|
|
|
- const { FileUtils } =
|
|
|
|
- ChromeUtils.import("resource://gre/modules/FileUtils.jsm");
|
|
|
|
- const { PrivateBrowsingUtils } =
|
|
|
|
- ChromeUtils.import("resource://gre/modules/PrivateBrowsingUtils.jsm");
|
|
|
|
- const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const {encodeABTermValue, getModelQuery} = ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
|
|
|
|
-
|
|
|
|
- var addressbook = 0;
|
|
|
|
- var composeWindow = 0;
|
|
|
|
- var msgCompFields = 0;
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/abTrees.js b/suite/mailnews/components/addrbook/content/abTrees.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/abTrees.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/abTrees.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 file contains our implementation for various addressbook trees. It
|
|
|
|
- * depends on jsTreeView.js being loaded before this script is loaded.
|
|
|
|
- */
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/addressbook-panel.js b/suite/mailnews/components/addrbook/content/addressbook-panel.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/addressbook-panel.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/addressbook-panel.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var gIsMsgCompose = false;
|
|
|
|
-
|
|
|
|
- function GetAbViewListener()
|
|
|
|
- {
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/addressbook.js b/suite/mailnews/components/addrbook/content/addressbook.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/addressbook.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/addressbook.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const {encodeABTermValue, getModelQuery} = ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
|
|
|
|
- const {MailServices} = ChromeUtils.import("resource:///modules/MailServices.jsm");
|
|
|
|
- const {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
-diff --git a/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js b/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
|
|
|
|
---- a/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
|
|
|
|
-+++ b/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- function Startup()
|
|
|
|
- {
|
|
|
|
- enableAutocomplete();
|
|
|
|
- }
|
|
|
|
-diff --git a/suite/mailnews/components/calendar/content/suite-overlay-sidebar.js b/suite/mailnews/components/calendar/content/suite-overlay-sidebar.js
|
|
|
|
---- a/suite/mailnews/components/calendar/content/suite-overlay-sidebar.js
|
|
|
|
-+++ b/suite/mailnews/components/calendar/content/suite-overlay-sidebar.js
|
|
|
|
-@@ -1,11 +1,12 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-+ * 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/. */
|
|
|
|
-
|
|
|
|
- /* import-globals-from ../../../suite/base/content/utilityOverlay.js */
|
|
|
|
-
|
|
|
|
- var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
-
|
|
|
|
- var ltnSuiteUtils = {
|
|
|
|
- addStartupObserver: function() {
|
|
|
|
- Services.obs.addObserver(this.startupObserver, "lightning-startup-done");
|
|
|
|
-diff --git a/suite/mailnews/components/compose/content/MsgComposeCommands.js b/suite/mailnews/components/compose/content/MsgComposeCommands.js
|
|
|
|
---- a/suite/mailnews/components/compose/content/MsgComposeCommands.js
|
|
|
|
-+++ b/suite/mailnews/components/compose/content/MsgComposeCommands.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- 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
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- var {AppConstants} = ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
|
|
|
- const {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
- ChromeUtils.import("resource://gre/modules/InlineSpellChecker.jsm");
|
|
|
|
- const {FolderUtils} = ChromeUtils.import("resource:///modules/FolderUtils.jsm");
|
|
|
|
-diff --git a/suite/mailnews/components/compose/content/addressingWidgetOverlay.js b/suite/mailnews/components/compose/content/addressingWidgetOverlay.js
|
|
|
|
---- a/suite/mailnews/components/compose/content/addressingWidgetOverlay.js
|
|
|
|
-+++ b/suite/mailnews/components/compose/content/addressingWidgetOverlay.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const {MailServices} = ChromeUtils.import("resource:///modules/MailServices.jsm");
|
|
|
|
-
|
|
|
|
- top.MAX_RECIPIENTS = 1; /* for the initial listitem created in the XUL */
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/components/compose/content/prefs/pref-composing_messages.js b/suite/mailnews/components/compose/content/prefs/pref-composing_messages.js
|
|
|
|
---- a/suite/mailnews/components/compose/content/prefs/pref-composing_messages.js
|
|
|
|
-+++ b/suite/mailnews/components/compose/content/prefs/pref-composing_messages.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- function Startup() {
|
|
|
|
- let value = document.getElementById("mail.compose.autosave").value;
|
|
|
|
- EnableElementById("autoSaveInterval", value, false);
|
|
|
|
- }
|
|
|
|
-diff --git a/suite/mailnews/components/compose/content/prefs/pref-formatting.js b/suite/mailnews/components/compose/content/prefs/pref-formatting.js
|
|
|
|
---- a/suite/mailnews/components/compose/content/prefs/pref-formatting.js
|
|
|
|
-+++ b/suite/mailnews/components/compose/content/prefs/pref-formatting.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- 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
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var gListbox;
|
|
|
|
- var gPref;
|
|
|
|
- var gError;
|
|
|
|
-
|
|
|
|
- function Startup()
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-junk.js b/suite/mailnews/components/prefs/content/pref-junk.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-junk.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-junk.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var { MailServices } = ChromeUtils.import(
|
|
|
|
- "resource:///modules/MailServices.jsm"
|
|
|
|
- );
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-mailnews.js b/suite/mailnews/components/prefs/content/pref-mailnews.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-mailnews.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-mailnews.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- function Startup()
|
|
|
|
- {
|
|
|
|
- startPageCheck();
|
|
|
|
- }
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-notifications.js b/suite/mailnews/components/prefs/content/pref-notifications.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-notifications.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-notifications.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 contents of this file will be loaded into the scope of the object
|
|
|
|
- // <prefpane id="notifications_pane">!
|
|
|
|
-
|
|
|
|
- var {AppConstants} = ChromeUtils.import(
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-offline.js b/suite/mailnews/components/prefs/content/pref-offline.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-offline.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-offline.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 contents of this file will be loaded into the scope of the object
|
|
|
|
- // <prefpane id="offline_pane">!
|
|
|
|
-
|
|
|
|
- function Startup()
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-receipts.js b/suite/mailnews/components/prefs/content/pref-receipts.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-receipts.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-receipts.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var gNotInToCcLabel;
|
|
|
|
- var gOutsideDomainLabel;
|
|
|
|
- var gOtherCasesLabel;
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-tags.js b/suite/mailnews/components/prefs/content/pref-tags.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-tags.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-tags.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var { MailServices } = ChromeUtils.import(
|
|
|
|
- "resource:///modules/MailServices.jsm"
|
|
|
|
- );
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/components/prefs/content/pref-viewing_messages.js b/suite/mailnews/components/prefs/content/pref-viewing_messages.js
|
|
|
|
---- a/suite/mailnews/components/prefs/content/pref-viewing_messages.js
|
|
|
|
-+++ b/suite/mailnews/components/prefs/content/pref-viewing_messages.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 contents of this file will be loaded into the scope of the object
|
|
|
|
- // <prefpane id="viewing_messages_pane">!
|
|
|
|
-
|
|
|
|
- function Startup()
|
|
|
|
-diff --git a/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js b/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
|
|
|
|
---- a/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
|
|
|
|
-+++ b/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
-
|
|
|
|
- // Account encryption policy values:
|
|
|
|
- // const kEncryptionPolicy_Never = 0;
|
|
|
|
- // 'IfPossible' was used by ns4.
|
|
|
|
-diff --git a/suite/mailnews/components/smime/content/msgHdrViewSMIMEOverlay.js b/suite/mailnews/components/smime/content/msgHdrViewSMIMEOverlay.js
|
|
|
|
---- a/suite/mailnews/components/smime/content/msgHdrViewSMIMEOverlay.js
|
|
|
|
-+++ b/suite/mailnews/components/smime/content/msgHdrViewSMIMEOverlay.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var gSignedUINode = null;
|
|
|
|
- var gEncryptedUINode = null;
|
|
|
|
- var gSMIMEContainer = null;
|
|
|
|
- var gStatusBar = null;
|
|
|
|
- var gSignedStatusPanel = null;
|
|
|
|
-diff --git a/suite/mailnews/content/ABSearchDialog.js b/suite/mailnews/content/ABSearchDialog.js
|
|
|
|
---- a/suite/mailnews/content/ABSearchDialog.js
|
|
|
|
-+++ b/suite/mailnews/content/ABSearchDialog.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const {encodeABTermValue} = ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
|
|
|
|
- const {MailServices} = ChromeUtils.import("resource:///modules/MailServices.jsm");
|
|
|
|
- const {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/FilterListDialog.js b/suite/mailnews/content/FilterListDialog.js
|
|
|
|
---- a/suite/mailnews/content/FilterListDialog.js
|
|
|
|
-+++ b/suite/mailnews/content/FilterListDialog.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- 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
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const { PluralForm } = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- const {MailServices} = ChromeUtils.import("resource:///modules/MailServices.jsm");
|
|
|
|
-
|
|
|
|
- var gEditButton;
|
|
|
|
-diff --git a/suite/mailnews/content/SearchDialog.js b/suite/mailnews/content/SearchDialog.js
|
|
|
|
---- a/suite/mailnews/content/SearchDialog.js
|
|
|
|
-+++ b/suite/mailnews/content/SearchDialog.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.js");
|
|
|
|
- const {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
-
|
|
|
|
- var searchSessionContractID = "@mozilla.org/messenger/searchSession;1";
|
|
|
|
-diff --git a/suite/mailnews/content/browserRequest.js b/suite/mailnews/content/browserRequest.js
|
|
|
|
---- a/suite/mailnews/content/browserRequest.js
|
|
|
|
-+++ b/suite/mailnews/content/browserRequest.js
|
|
|
|
-@@ -1,11 +1,12 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-+ * 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/. */
|
|
|
|
-
|
|
|
|
- const wpl = Ci.nsIWebProgressListener;
|
|
|
|
-
|
|
|
|
- var reporterListener = {
|
|
|
|
- _isBusy: false,
|
|
|
|
- get securityButton() {
|
|
|
|
- delete this.securityButton;
|
|
|
|
- return this.securityButton = document.getElementById("security-button");
|
|
|
|
-diff --git a/suite/mailnews/content/commandglue.js b/suite/mailnews/content/commandglue.js
|
|
|
|
---- a/suite/mailnews/content/commandglue.js
|
|
|
|
-+++ b/suite/mailnews/content/commandglue.js
|
|
|
|
-@@ -1,14 +1,13 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
--
|
|
|
|
- /*
|
|
|
|
- * Command-specific code. This stuff should be called by the widgets
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
- var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- const { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.js");
|
|
|
|
- var { MailServices } = ChromeUtils.import(
|
|
|
|
- "resource:///modules/MailServices.jsm"
|
|
|
|
-diff --git a/suite/mailnews/content/folderDisplay.js b/suite/mailnews/content/folderDisplay.js
|
|
|
|
---- a/suite/mailnews/content/folderDisplay.js
|
|
|
|
-+++ b/suite/mailnews/content/folderDisplay.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var gFolderDisplay =
|
|
|
|
- {
|
|
|
|
- get selectedCount()
|
|
|
|
- {
|
|
|
|
-diff --git a/suite/mailnews/content/folderPane.js b/suite/mailnews/content/folderPane.js
|
|
|
|
---- a/suite/mailnews/content/folderPane.js
|
|
|
|
-+++ b/suite/mailnews/content/folderPane.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- // Implements a tree of folders. It shows icons depending on folder type
|
|
|
|
- // and other fancy styling.
|
|
|
|
- // This is used in the main folder pane, but also some dialogs that need
|
|
|
|
- // to show a nice list of folders.
|
|
|
|
-diff --git a/suite/mailnews/content/mail-offline.js b/suite/mailnews/content/mail-offline.js
|
|
|
|
---- a/suite/mailnews/content/mail-offline.js
|
|
|
|
-+++ b/suite/mailnews/content/mail-offline.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- 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
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var gOfflinePromptsBundle;
|
|
|
|
- var gOfflineManager;
|
|
|
|
-
|
|
|
|
- function MailOfflineStateChanged(goingOffline)
|
|
|
|
- {
|
|
|
|
-diff --git a/suite/mailnews/content/mail3PaneWindowCommands.js b/suite/mailnews/content/mail3PaneWindowCommands.js
|
|
|
|
---- a/suite/mailnews/content/mail3PaneWindowCommands.js
|
|
|
|
-+++ b/suite/mailnews/content/mail3PaneWindowCommands.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * Functionality for the main application window (aka the 3pane) usually
|
|
|
|
- * consisting of folder pane, thread pane and message pane.
|
|
|
|
- */
|
|
|
|
-diff --git a/suite/mailnews/content/mailCommands.js b/suite/mailnews/content/mailCommands.js
|
|
|
|
---- a/suite/mailnews/content/mailCommands.js
|
|
|
|
-+++ b/suite/mailnews/content/mailCommands.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- 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
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- const { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.js");
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * Get the identity that most likely is the best one to use, given the hint.
|
|
|
|
-diff --git a/suite/mailnews/content/mailContextMenus.js b/suite/mailnews/content/mailContextMenus.js
|
|
|
|
---- a/suite/mailnews/content/mailContextMenus.js
|
|
|
|
-+++ b/suite/mailnews/content/mailContextMenus.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const {MailServices} = ChromeUtils.import("resource:///modules/MailServices.jsm");
|
|
|
|
- const {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
- const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/mailOverlay.js b/suite/mailnews/content/mailOverlay.js
|
|
|
|
---- a/suite/mailnews/content/mailOverlay.js
|
|
|
|
-+++ b/suite/mailnews/content/mailOverlay.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- function openNewCardDialog()
|
|
|
|
- {
|
|
|
|
- window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
|
|
|
|
- "", "chrome,modal,resizable=no,centerscreen");
|
|
|
|
-diff --git a/suite/mailnews/content/mailTasksOverlay.js b/suite/mailnews/content/mailTasksOverlay.js
|
|
|
|
---- a/suite/mailnews/content/mailTasksOverlay.js
|
|
|
|
-+++ b/suite/mailnews/content/mailTasksOverlay.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var { MailServices } = ChromeUtils.import(
|
|
|
|
- "resource:///modules/MailServices.jsm"
|
|
|
|
- );
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/mailViewList.js b/suite/mailnews/content/mailViewList.js
|
|
|
|
---- a/suite/mailnews/content/mailViewList.js
|
|
|
|
-+++ b/suite/mailnews/content/mailViewList.js
|
|
|
|
-@@ -1,14 +1,13 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
--
|
|
|
|
- var gMailListView;
|
|
|
|
- var gListBox;
|
|
|
|
- var gEditButton;
|
|
|
|
- var gDeleteButton;
|
|
|
|
- var gMailViewListController =
|
|
|
|
- {
|
|
|
|
- supportsCommand: function(aCommand)
|
|
|
|
- {
|
|
|
|
-diff --git a/suite/mailnews/content/mailViewSetup.js b/suite/mailnews/content/mailViewSetup.js
|
|
|
|
---- a/suite/mailnews/content/mailViewSetup.js
|
|
|
|
-+++ b/suite/mailnews/content/mailViewSetup.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
-+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var nsMsgSearchScope = Ci.nsMsgSearchScope;
|
|
|
|
- var gMailView = null;
|
|
|
|
-
|
|
|
|
- var dialog;
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/mailWindow.js b/suite/mailnews/content/mailWindow.js
|
|
|
|
---- a/suite/mailnews/content/mailWindow.js
|
|
|
|
-+++ b/suite/mailnews/content/mailWindow.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 file stores variables common to mail windows
|
|
|
|
-
|
|
|
|
- var messenger;
|
|
|
|
- var statusFeedback;
|
|
|
|
-diff --git a/suite/mailnews/content/mailWindowOverlay.js b/suite/mailnews/content/mailWindowOverlay.js
|
|
|
|
---- a/suite/mailnews/content/mailWindowOverlay.js
|
|
|
|
-+++ b/suite/mailnews/content/mailWindowOverlay.js
|
|
|
|
-@@ -1,10 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
--/* vim: set ts=2 sw=2 sts=2 et :*/
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- var {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
- var {FeedUtils} = ChromeUtils.import("resource:///modules/FeedUtils.jsm");
|
|
|
|
- var { FolderUtils } = ChromeUtils.import("resource:///modules/FolderUtils.jsm");
|
|
|
|
-diff --git a/suite/mailnews/content/messageWindow.js b/suite/mailnews/content/messageWindow.js
|
|
|
|
---- a/suite/mailnews/content/messageWindow.js
|
|
|
|
-+++ b/suite/mailnews/content/messageWindow.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- 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
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.js");
|
|
|
|
-
|
|
|
|
- /* This is where functions related to the standalone message window are kept */
|
|
|
|
-
|
|
|
|
- // from MailNewsTypes.h
|
|
|
|
-diff --git a/suite/mailnews/content/msgFolderPickerOverlay.js b/suite/mailnews/content/msgFolderPickerOverlay.js
|
|
|
|
---- a/suite/mailnews/content/msgFolderPickerOverlay.js
|
|
|
|
-+++ b/suite/mailnews/content/msgFolderPickerOverlay.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.jsm");
|
|
|
|
-
|
|
|
|
- var gMessengerBundle;
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/msgHdrViewOverlay.js b/suite/mailnews/content/msgHdrViewOverlay.js
|
|
|
|
---- a/suite/mailnews/content/msgHdrViewOverlay.js
|
|
|
|
-+++ b/suite/mailnews/content/msgHdrViewOverlay.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
|
|
|
- var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- const {GlodaUtils} = ChromeUtils.import("resource:///modules/gloda/utils.js");
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/msgMail3PaneWindow.js b/suite/mailnews/content/msgMail3PaneWindow.js
|
|
|
|
---- a/suite/mailnews/content/msgMail3PaneWindow.js
|
|
|
|
-+++ b/suite/mailnews/content/msgMail3PaneWindow.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 where functions related to the 3 pane window are kept */
|
|
|
|
- const { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.js");
|
|
|
|
- const {msgDBCacheManager} = ChromeUtils.import("resource:///modules/msgDBCacheManager.js");
|
|
|
|
- const {PeriodicFilterManager} = ChromeUtils.import("resource:///modules/PeriodicFilterManager.jsm");
|
|
|
|
-diff --git a/suite/mailnews/content/msgViewNavigation.js b/suite/mailnews/content/msgViewNavigation.js
|
|
|
|
---- a/suite/mailnews/content/msgViewNavigation.js
|
|
|
|
-+++ b/suite/mailnews/content/msgViewNavigation.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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 file contains the js functions necessary to implement view navigation within the 3 pane. */
|
|
|
|
-
|
|
|
|
- const {FolderUtils} = ChromeUtils.import("resource:///modules/FolderUtils.jsm");
|
|
|
|
-
|
|
|
|
-diff --git a/suite/mailnews/content/msgViewPickerOverlay.js b/suite/mailnews/content/msgViewPickerOverlay.js
|
|
|
|
---- a/suite/mailnews/content/msgViewPickerOverlay.js
|
|
|
|
-+++ b/suite/mailnews/content/msgViewPickerOverlay.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- // menuitem value constants
|
|
|
|
- // tag views have kViewTagMarker + their key as value
|
|
|
|
- const kViewItemAll = 0;
|
|
|
|
- const kViewItemUnread = 1;
|
|
|
|
-diff --git a/suite/mailnews/content/nsDragAndDrop.js b/suite/mailnews/content/nsDragAndDrop.js
|
|
|
|
---- a/suite/mailnews/content/nsDragAndDrop.js
|
|
|
|
-+++ b/suite/mailnews/content/nsDragAndDrop.js
|
|
|
|
-@@ -1,10 +1,9 @@
|
|
|
|
--// -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
|
|
|
|
--
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- ////////////////////////////////////////////////////////////////////////
|
|
|
|
- //
|
|
|
|
- // USE OF THIS API FOR DRAG AND DROP IS DEPRECATED!
|
|
|
|
- // Do not use this file for new code.
|
|
|
|
-diff --git a/suite/mailnews/content/phishingDetector.js b/suite/mailnews/content/phishingDetector.js
|
|
|
|
---- a/suite/mailnews/content/phishingDetector.js
|
|
|
|
-+++ b/suite/mailnews/content/phishingDetector.js
|
|
|
|
-@@ -1,10 +1,10 @@
|
|
|
|
--/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
-- * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- // Dependencies:
|
|
|
|
- // gBrandBundle, gMessengerBundle should already be defined
|
|
|
|
- // gatherTextUnder from utilityOverlay.js
|
|
|
|
-
|
|
|
|
- ChromeUtils.import("resource:///modules/hostnameUtils.jsm");
|
|
|
|
-diff --git a/suite/mailnews/content/searchBar.js b/suite/mailnews/content/searchBar.js
|
|
|
|
---- a/suite/mailnews/content/searchBar.js
|
|
|
|
-+++ b/suite/mailnews/content/searchBar.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- const {PluralForm} = ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
|
|
|
-
|
|
|
|
- var gSearchSession = null;
|
|
|
|
- var gPreQuickSearchView = null;
|
|
|
|
-diff --git a/suite/mailnews/content/tabmail.js b/suite/mailnews/content/tabmail.js
|
|
|
|
---- a/suite/mailnews/content/tabmail.js
|
|
|
|
-+++ b/suite/mailnews/content/tabmail.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
|
|
|
|
-
|
|
|
|
- // Traditionally, mailnews tabs come in two flavours: "folder" and
|
|
|
|
- // "message" tabs. But these modes are just mere default settings on tab
|
|
|
|
- // creation, defining layout, URI to load, etc.
|
|
|
|
- // The user can turn a "message" tab into a "folder" tab just by unhiding
|
|
|
|
-diff --git a/suite/mailnews/content/threadPane.js b/suite/mailnews/content/threadPane.js
|
|
|
|
---- a/suite/mailnews/content/threadPane.js
|
|
|
|
-+++ b/suite/mailnews/content/threadPane.js
|
|
|
|
-@@ -1,9 +1,9 @@
|
|
|
|
--/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var { AppConstants } =
|
|
|
|
- ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
|
|
|
-
|
|
|
|
- var gLastMessageUriToLoad = null;
|
|
|
|
-diff --git a/suite/mailnews/modules/MailUtils.js b/suite/mailnews/modules/MailUtils.js
|
|
|
|
---- a/suite/mailnews/modules/MailUtils.js
|
|
|
|
-+++ b/suite/mailnews/modules/MailUtils.js
|
|
|
|
-@@ -1,8 +1,9 @@
|
|
|
|
-+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
|
|
- /* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
-
|
|
|
|
- var EXPORTED_SYMBOLS = ["MailUtils"];
|
|
|
|
-
|
|
|
|
- var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
- var { MailServices } = ChromeUtils.import(
|
|
|