summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/palemoon/base/content/utilityOverlay.js12
-rw-r--r--application/palemoon/branding/unstable/pref/palemoon-branding.js4
-rw-r--r--browser/base/content/browser-safebrowsing.js2
-rw-r--r--browser/components/preferences/blocklists.js2
-rw-r--r--browser/themes/linux/social/services-16.pngbin937 -> 0 bytes
-rw-r--r--browser/themes/linux/social/services-64.pngbin5613 -> 0 bytes
-rw-r--r--browser/themes/linux/social/share-button-active.pngbin1341 -> 0 bytes
-rw-r--r--browser/themes/linux/social/share-button.pngbin1346 -> 0 bytes
-rw-r--r--browser/themes/osx/social/services-16.pngbin937 -> 0 bytes
-rw-r--r--browser/themes/osx/social/services-16@2x.pngbin2213 -> 0 bytes
-rw-r--r--browser/themes/osx/social/services-64.pngbin5613 -> 0 bytes
-rw-r--r--browser/themes/osx/social/services-64@2x.pngbin14920 -> 0 bytes
-rw-r--r--browser/themes/windows/social/services-16.pngbin876 -> 0 bytes
-rw-r--r--browser/themes/windows/social/services-64.pngbin5612 -> 0 bytes
-rw-r--r--build/moz.configure/old.configure1
-rw-r--r--old-configure.in16
-rw-r--r--toolkit/mozapps/installer/packager.py3
17 files changed, 26 insertions, 14 deletions
diff --git a/application/palemoon/base/content/utilityOverlay.js b/application/palemoon/base/content/utilityOverlay.js
index 633cb8853..c4cd87f60 100644
--- a/application/palemoon/base/content/utilityOverlay.js
+++ b/application/palemoon/base/content/utilityOverlay.js
@@ -9,6 +9,9 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
Components.utils.import("resource://gre/modules/PrivateBrowsingUtils.jsm");
Components.utils.import("resource:///modules/RecentWindow.jsm");
+XPCOMUtils.defineLazyModuleGetter(this, "ShellService",
+ "resource:///modules/ShellService.jsm");
+
XPCOMUtils.defineLazyGetter(this, "BROWSER_NEW_TAB_URL", function () {
const PREF = "browser.newtab.url";
@@ -448,15 +451,10 @@ function gatherTextUnder ( root )
return text;
}
+// This function exists for legacy reasons.
function getShellService()
{
- var shell = null;
- try {
- shell = Components.classes["@mozilla.org/browser/shell-service;1"]
- .getService(Components.interfaces.nsIShellService);
- } catch (e) {
- }
- return shell;
+ return ShellService;
}
function isBidiEnabled() {
diff --git a/application/palemoon/branding/unstable/pref/palemoon-branding.js b/application/palemoon/branding/unstable/pref/palemoon-branding.js
index dda6f86a5..a95390cb6 100644
--- a/application/palemoon/branding/unstable/pref/palemoon-branding.js
+++ b/application/palemoon/branding/unstable/pref/palemoon-branding.js
@@ -12,7 +12,7 @@ pref("general.useragent.compatMode.gecko", true);
pref("general.useragent.compatMode.firefox", true);
// ========================= updates ========================
-#if defined(XP_WIN)
+#if defined(XP_WIN) || defined(XP_LINUX)
// Enable auto-updates for this channel
pref("app.update.auto", true);
@@ -32,7 +32,7 @@ pref("app.update.url.manual", "http://www.palemoon.org/unstable/");
// supplied in the "An update is available" page of the update wizard.
pref("app.update.url.details", "http://www.palemoon.org/unstable/");
#else
-// Updates disabled (Linux, etc.)
+// Updates disabled (Mac, etc.)
pref("app.update.enabled", false);
pref("app.update.url", "");
#endif
diff --git a/browser/base/content/browser-safebrowsing.js b/browser/base/content/browser-safebrowsing.js
index a66595b2d..430d84f13 100644
--- a/browser/base/content/browser-safebrowsing.js
+++ b/browser/base/content/browser-safebrowsing.js
@@ -2,7 +2,6 @@
* 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/. */
-#ifdef MOZ_SAFE_BROWSING
var gSafeBrowsing = {
setReportPhishingMenu: function() {
@@ -47,4 +46,3 @@ var gSafeBrowsing = {
return SafeBrowsing.getReportURL(name, gBrowser.currentURI);
}
}
-#endif
diff --git a/browser/components/preferences/blocklists.js b/browser/components/preferences/blocklists.js
index c0ce5b656..bc39eb6bd 100644
--- a/browser/components/preferences/blocklists.js
+++ b/browser/components/preferences/blocklists.js
@@ -6,11 +6,9 @@ Components.utils.import("resource://gre/modules/Services.jsm");
const BASE_LIST_ID = "base";
const CONTENT_LIST_ID = "content";
const TRACK_SUFFIX = "-track-digest256";
-#ifdef MOZ_SAFE_BROWSING
const TRACKING_TABLE_PREF = "urlclassifier.trackingTable";
const LISTS_PREF_BRANCH = "browser.safebrowsing.provider.mozilla.lists.";
const UPDATE_TIME_PREF = "browser.safebrowsing.provider.mozilla.nextupdatetime";
-#endif
var gBlocklistManager = {
_type: "",
diff --git a/browser/themes/linux/social/services-16.png b/browser/themes/linux/social/services-16.png
deleted file mode 100644
index 7001ea1f0..000000000
--- a/browser/themes/linux/social/services-16.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/linux/social/services-64.png b/browser/themes/linux/social/services-64.png
deleted file mode 100644
index e787bddc3..000000000
--- a/browser/themes/linux/social/services-64.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/linux/social/share-button-active.png b/browser/themes/linux/social/share-button-active.png
deleted file mode 100644
index 7df438db0..000000000
--- a/browser/themes/linux/social/share-button-active.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/linux/social/share-button.png b/browser/themes/linux/social/share-button.png
deleted file mode 100644
index c5298c143..000000000
--- a/browser/themes/linux/social/share-button.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/osx/social/services-16.png b/browser/themes/osx/social/services-16.png
deleted file mode 100644
index 7001ea1f0..000000000
--- a/browser/themes/osx/social/services-16.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/osx/social/services-16@2x.png b/browser/themes/osx/social/services-16@2x.png
deleted file mode 100644
index 019110ce2..000000000
--- a/browser/themes/osx/social/services-16@2x.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/osx/social/services-64.png b/browser/themes/osx/social/services-64.png
deleted file mode 100644
index e787bddc3..000000000
--- a/browser/themes/osx/social/services-64.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/osx/social/services-64@2x.png b/browser/themes/osx/social/services-64@2x.png
deleted file mode 100644
index e252b80bc..000000000
--- a/browser/themes/osx/social/services-64@2x.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/windows/social/services-16.png b/browser/themes/windows/social/services-16.png
deleted file mode 100644
index a5f40b21d..000000000
--- a/browser/themes/windows/social/services-16.png
+++ /dev/null
Binary files differ
diff --git a/browser/themes/windows/social/services-64.png b/browser/themes/windows/social/services-64.png
deleted file mode 100644
index c42c27826..000000000
--- a/browser/themes/windows/social/services-64.png
+++ /dev/null
Binary files differ
diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure
index c1ad71d5f..20bde1eee 100644
--- a/build/moz.configure/old.configure
+++ b/build/moz.configure/old.configure
@@ -213,6 +213,7 @@ def old_configure_options(*options):
'--enable-pie',
'--enable-png-arm-neon-support',
'--enable-posix-nspr-emulation',
+ '--enable-precompiled-startupcache',
'--enable-pref-extensions',
'--enable-private-build',
'--enable-pulseaudio',
diff --git a/old-configure.in b/old-configure.in
index 13f6915b4..120abdf8a 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -4340,6 +4340,22 @@ MOZ_ARG_ENABLE_BOOL(debug-js-modules,
AC_SUBST(DEBUG_JS_MODULES)
dnl ========================================================
+dnl = Don't precompile the startup cache
+dnl ========================================================
+MOZ_DISABLE_PRECOMPILED_STARTUPCACHE=
+
+MOZ_ARG_DISABLE_BOOL(precompiled-startupcache,
+[ --disable-precompiled-startupcache Don't precompile the startup cache ],
+ MOZ_DISABLE_PRECOMPILED_STARTUPCACHE=1,
+ MOZ_DISABLE_PRECOMPILED_STARTUPCACHE= )
+
+if test -n "$MOZ_DISABLE_PRECOMPILED_STARTUPCACHE"; then
+ AC_DEFINE(MOZ_DISABLE_PRECOMPILED_STARTUPCACHE)
+fi
+
+AC_SUBST(MOZ_DISABLE_PRECOMPILED_STARTUPCACHE)
+
+dnl ========================================================
dnl =
dnl = Profiling and Instrumenting
dnl =
diff --git a/toolkit/mozapps/installer/packager.py b/toolkit/mozapps/installer/packager.py
index f2dc3fac6..1a144823c 100644
--- a/toolkit/mozapps/installer/packager.py
+++ b/toolkit/mozapps/installer/packager.py
@@ -391,7 +391,8 @@ def main():
# Fill startup cache
if isinstance(formatter, OmniJarFormatter) and launcher.can_launch() \
- and buildconfig.substs['MOZ_DISABLE_STARTUPCACHE'] != '1':
+ and buildconfig.substs['MOZ_DISABLE_STARTUPCACHE'] != '1' \
+ and buildconfig.substs['MOZ_DISABLE_PRECOMPILED_STARTUPCACHE'] != '1':
gre_path = None
def get_bases():
for b in sink.packager.get_bases(addons=False):