From 4b4b4a59cac398083e4ee224a1b90c98c26c1dfa Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Mon, 14 May 2018 16:12:00 -0400 Subject: [PALEMOON] Override Windows Installer usage of MOZ_APP_DISPLAYNAME when appropriate --- application/palemoon/installer/windows/moz.build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/installer/windows/moz.build b/application/palemoon/installer/windows/moz.build index 12e7831ed..394a85ccf 100644 --- a/application/palemoon/installer/windows/moz.build +++ b/application/palemoon/installer/windows/moz.build @@ -4,8 +4,12 @@ # 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/. -DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION'] - DEFINES['MOZ_APP_NAME'] = CONFIG['MOZ_APP_NAME'] -DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME'] +DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION'] DEFINES['MOZILLA_VERSION'] = CONFIG['MOZILLA_VERSION'] + +if CONFIG['MOZ_APP_DISPLAYNAME'] in ('PaleMoon', 'Palemoon'): + DEFINES['MOZ_APP_DISPLAYNAME'] = "Pale Moon" +else: + DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME'] + -- cgit v1.2.3 From 1ab70167349766ee1648bb9ebc1c58f9c4e73035 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 15 May 2018 05:33:56 -0400 Subject: Pale Moon version bump --- application/palemoon/config/version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/palemoon') diff --git a/application/palemoon/config/version.txt b/application/palemoon/config/version.txt index b117d70fa..da03daefe 100644 --- a/application/palemoon/config/version.txt +++ b/application/palemoon/config/version.txt @@ -1 +1 @@ -28.0.0a1 \ No newline at end of file +28.0.0a2 \ No newline at end of file -- cgit v1.2.3 From ec1aeee6d38ec076c068472cbc672f5b23934054 Mon Sep 17 00:00:00 2001 From: JustOff Date: Wed, 16 May 2018 00:28:28 +0300 Subject: Revive the quickdial page (about:newtab) --- application/palemoon/base/content/newtab/grid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/newtab/grid.js b/application/palemoon/base/content/newtab/grid.js index a614d0396..fbeb7bd27 100644 --- a/application/palemoon/base/content/newtab/grid.js +++ b/application/palemoon/base/content/newtab/grid.js @@ -115,10 +115,10 @@ var gGrid = { // (Re-)initialize all cells. let cellElements = this.node.querySelectorAll(".newtab-cell"); // Tycho: this._cells = [new Cell(this, cell) for (cell of cellElements)]; - this.cells = []; + this._cells = []; for (let cellItem of cellElements) { - this.cells.push(new Cell(this, cellItem)); + this._cells.push(new Cell(this, cellItem)); } }, -- cgit v1.2.3 From 1d70831434c06a3760d93b16699d8e75b6a8ef96 Mon Sep 17 00:00:00 2001 From: Leorize Date: Thu, 17 May 2018 15:06:08 +0700 Subject: palemoon/installer: Fix packaging when built --with-system-nss/nspr The variables set by 'configure' for --with-system-(nss|nspr) is named differently in UXP. This breaks packaging for palemoon when system nss/nspr is used. This commit corrects the name of said variables. --- application/palemoon/installer/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/installer/Makefile.in b/application/palemoon/installer/Makefile.in index 368b16efc..3f009c51c 100644 --- a/application/palemoon/installer/Makefile.in +++ b/application/palemoon/installer/Makefile.in @@ -41,12 +41,12 @@ DEFINES += -DMOZ_GTK3=1 endif endif -ifdef MOZ_NATIVE_NSPR -DEFINES += -DMOZ_NATIVE_NSPR=1 +ifdef MOZ_SYSTEM_NSPR +DEFINES += -DMOZ_SYSTEM_NSPR=1 endif -ifdef MOZ_NATIVE_NSS -DEFINES += -DMOZ_NATIVE_NSS=1 +ifdef MOZ_SYSTEM_NSS +DEFINES += -DMOZ_SYSTEM_NSS=1 endif ifdef NSS_DISABLE_DBM -- cgit v1.2.3 From 30cbf0b5adf28e5258f46baf26f5351d3a669655 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Wed, 23 May 2018 13:32:52 +0200 Subject: [PALEMOON] [frontend vs backend] Places - fix: adding a livemark doesn't work correctly Issue #121 --- .../places/content/bookmarkProperties.js | 32 +++++++++++++++------- 1 file changed, 22 insertions(+), 10 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/components/places/content/bookmarkProperties.js b/application/palemoon/components/places/content/bookmarkProperties.js index 22bd51773..685ef57d2 100644 --- a/application/palemoon/components/places/content/bookmarkProperties.js +++ b/application/palemoon/components/places/content/bookmarkProperties.js @@ -61,6 +61,8 @@ Components.utils.import('resource://gre/modules/XPCOMUtils.jsm'); XPCOMUtils.defineLazyModuleGetter(this, "PrivateBrowsingUtils", "resource://gre/modules/PrivateBrowsingUtils.jsm"); +XPCOMUtils.defineLazyModuleGetter(this, "Task", + "resource://gre/modules/Task.jsm"); const BOOKMARK_ITEM = 0; const BOOKMARK_FOLDER = 1; @@ -303,7 +305,7 @@ var BookmarkPropertiesPanel = { * This method should be called by the onload of the Bookmark Properties * dialog to initialize the state of the panel. */ - onDialogLoad: function BPP_onDialogLoad() { + onDialogLoad: Task.async(function* BPP_onDialogLoad() { this._determineItemInfo(); document.title = this._getDialogTitle(); @@ -355,7 +357,7 @@ var BookmarkPropertiesPanel = { acceptButton.disabled = this._readOnly; break; case ACTION_ADD: - this._fillAddProperties(); + yield this._fillAddProperties(); // if this is an uri related dialog disable accept button until // the user fills an uri value. if (this._itemType == BOOKMARK_ITEM) @@ -380,7 +382,7 @@ var BookmarkPropertiesPanel = { .addEventListener("input", this, false); } } - }, + }), // nsIDOMEventListener handleEvent: function BPP_handleEvent(aEvent) { @@ -428,8 +430,8 @@ var BookmarkPropertiesPanel = { forceReadOnly: this._readOnly }); }, - _fillAddProperties: function BPP__fillAddProperties() { - this._createNewItem(); + _fillAddProperties: Task.async(function* BPP__fillAddProperties() { + yield this._createNewItem(); // Edit the new item gEditItemOverlay.initPanel(this._itemId, { hiddenRows: this._hiddenRows }); @@ -439,7 +441,7 @@ var BookmarkPropertiesPanel = { var locationField = this._element("locationField"); if (locationField.value == "about:blank") locationField.value = ""; - }, + }), // nsISupports QueryInterface: function BPP_QueryInterface(aIID) { @@ -637,7 +639,7 @@ var BookmarkPropertiesPanel = { /** * Dialog-accept code-path for creating a new item (any type) */ - _createNewItem: function BPP__getCreateItemTransaction() { + _createNewItem: Task.async(function* BPP__getCreateItemTransaction() { var [container, index] = this._getInsertionPointDetails(); var txn; @@ -647,12 +649,22 @@ var BookmarkPropertiesPanel = { break; case LIVEMARK_CONTAINER: txn = this._getCreateNewLivemarkTransaction(container, index); - break; + break; default: // BOOKMARK_ITEM txn = this._getCreateNewBookmarkTransaction(container, index); } PlacesUtils.transactionManager.doTransaction(txn); - this._itemId = PlacesUtils.bookmarks.getIdForItemAt(container, index); - } + // This is a temporary hack until we use PlacesTransactions.jsm + if (txn._promise) { + yield txn._promise; + } + + let folderGuid = yield PlacesUtils.promiseItemGuid(container); + let bm = yield PlacesUtils.bookmarks.fetch({ + parentGuid: folderGuid, + index: index + }); + this._itemId = yield PlacesUtils.promiseItemId(bm.guid); + }) }; -- cgit v1.2.3 From fcd7ee3c886c435f178230b13d0b0cb0c9c40c53 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 23 May 2018 16:31:42 +0200 Subject: Remove the Dark Matter Detector (DMD) Memeory debugger component. This resolves #376. --- application/palemoon/installer/package-manifest.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/installer/package-manifest.in b/application/palemoon/installer/package-manifest.in index e6a4d49db..0684a94cb 100644 --- a/application/palemoon/installer/package-manifest.in +++ b/application/palemoon/installer/package-manifest.in @@ -72,9 +72,6 @@ #ifndef MOZ_STATIC_JS @BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@ #endif -#ifdef MOZ_DMD -@BINPATH@/@DLL_PREFIX@dmd@DLL_SUFFIX@ -#endif #ifndef MOZ_SYSTEM_NSPR #ifndef MOZ_FOLD_LIBS @BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@ -- cgit v1.2.3 From ac25827a87d86f1cf9e48aab6605f77a2c89041a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 24 May 2018 14:06:04 +0200 Subject: Remove SPS profiler. - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions. --- application/palemoon/installer/package-manifest.in | 4 ---- 1 file changed, 4 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/installer/package-manifest.in b/application/palemoon/installer/package-manifest.in index 0684a94cb..97a98b7a4 100644 --- a/application/palemoon/installer/package-manifest.in +++ b/application/palemoon/installer/package-manifest.in @@ -169,14 +169,10 @@ #endif #ifdef NS_PRINTING #endif -#ifdef MOZ_ENABLE_PROFILER_SPS -#endif #ifdef NECKO_WIFI #endif #ifdef MOZ_WEBRTC #endif -#ifdef MOZ_ENABLE_PROFILER_SPS -#endif #ifdef MOZ_ENABLE_XREMOTE #endif #ifdef XP_MACOSX -- cgit v1.2.3 From e62cb0cb2308c2671faceea5783725b08a2638f7 Mon Sep 17 00:00:00 2001 From: adeshkp Date: Sat, 26 May 2018 10:55:52 +0000 Subject: Pale Moon - Fix white tab text for active tab on Mac --- application/palemoon/themes/osx/browser.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index 6307c5f58..10f521843 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -1459,14 +1459,14 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- linear-gradient(-moz-dialog, -moz-dialog); } -.tabbrowser-tab:-moz-lwtheme { - color: inherit; - /* 0.99 opacity rquired to force an active layer, see bug #1028369 */ - opacity: 0.99; +.tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) { + /* overriding tabbox.css */ + color: inherit; } -.tabbrowser-tab:-moz-lwtheme:not([selected="true"]) { - opacity: 0.9; +.tabbrowser-tab[visuallyselected=true] { + /* overriding tabbox.css */ + text-shadow: inherit; } /* Remove highlight fuzz on dark themes */ -- cgit v1.2.3 From ed4d22f8ad13042e71ffec6bc7d3f2712f56aa4a Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 27 May 2018 15:00:42 +0200 Subject: [PALEMOON] [frontend vs backend] Reduce size of PopupBlocking:UpdateBlockedPopups messages Issue #392 --- application/palemoon/base/content/browser.js | 112 ++++++++++++++------------- 1 file changed, 57 insertions(+), 55 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index c1643caa4..c8f287693 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -420,7 +420,8 @@ var gPopupBlockerObserver = { if (!this._reportButton && gURLBar) this._reportButton = document.getElementById("page-report-button"); - if (!gBrowser.selectedBrowser.blockedPopups) { + if (!gBrowser.selectedBrowser.blockedPopups || + !gBrowser.selectedBrowser.blockedPopups.length) { // Hide the icon in the location bar (if the location bar exists) if (gURLBar) this._reportButton.hidden = true; @@ -522,65 +523,66 @@ var gPopupBlockerObserver = { else blockedPopupAllowSite.removeAttribute("disabled"); - var foundUsablePopupURI = false; - var blockedPopups = browser.blockedPopups; - if (blockedPopups) { - for (let i = 0; i < blockedPopups.length; i++) { - let blockedPopup = blockedPopups[i]; - - // popupWindowURI will be null if the file picker popup is blocked. - // xxxdz this should make the option say "Show file picker" and do it (Bug 590306) - if (!blockedPopup.popupWindowURI) - continue; - var popupURIspec = blockedPopup.popupWindowURI.spec; - - // Sometimes the popup URI that we get back from the blockedPopup - // isn't useful (for instance, netscape.com's popup URI ends up - // being "http://www.netscape.com", which isn't really the URI of - // the popup they're trying to show). This isn't going to be - // useful to the user, so we won't create a menu item for it. - if (popupURIspec == "" || popupURIspec == "about:blank" || - popupURIspec == uri.spec) - continue; - - // Because of the short-circuit above, we may end up in a situation - // in which we don't have any usable popup addresses to show in - // the menu, and therefore we shouldn't show the separator. However, - // since we got past the short-circuit, we must've found at least - // one usable popup URI and thus we'll turn on the separator later. - foundUsablePopupURI = true; - - var menuitem = document.createElement("menuitem"); - var label = gNavigatorBundle.getFormattedString("popupShowPopupPrefix", - [popupURIspec]); - menuitem.setAttribute("label", label); - menuitem.setAttribute("popupWindowURI", popupURIspec); - menuitem.setAttribute("popupWindowFeatures", blockedPopup.popupWindowFeatures); - menuitem.setAttribute("popupWindowName", blockedPopup.popupWindowName); - menuitem.setAttribute("oncommand", "gPopupBlockerObserver.showBlockedPopup(event);"); - menuitem.setAttribute("popupReportIndex", i); - menuitem.popupReportBrowser = browser; - aEvent.target.appendChild(menuitem); - } - } - - // Show or hide the separator, depending on whether we added any - // showable popup addresses to the menu. - var blockedPopupsSeparator = - document.getElementById("blockedPopupsSeparator"); - if (foundUsablePopupURI) - blockedPopupsSeparator.removeAttribute("hidden"); - else - blockedPopupsSeparator.setAttribute("hidden", true); - - var blockedPopupDontShowMessage = document.getElementById("blockedPopupDontShowMessage"); - var showMessage = gPrefService.getBoolPref("privacy.popups.showBrowserMessage"); + let blockedPopupDontShowMessage = document.getElementById("blockedPopupDontShowMessage"); + let showMessage = gPrefService.getBoolPref("privacy.popups.showBrowserMessage"); blockedPopupDontShowMessage.setAttribute("checked", !showMessage); if (aEvent.target.anchorNode.id == "page-report-button") { aEvent.target.anchorNode.setAttribute("open", "true"); blockedPopupDontShowMessage.setAttribute("label", gNavigatorBundle.getString("popupWarningDontShowFromLocationbar")); - } else + } else { blockedPopupDontShowMessage.setAttribute("label", gNavigatorBundle.getString("popupWarningDontShowFromMessage")); + } + + let blockedPopupsSeparator = + document.getElementById("blockedPopupsSeparator"); + blockedPopupsSeparator.setAttribute("hidden", true); + + gBrowser.selectedBrowser.retrieveListOfBlockedPopups().then(blockedPopups => { + let foundUsablePopupURI = false; + if (blockedPopups) { + for (let i = 0; i < blockedPopups.length; i++) { + let blockedPopup = blockedPopups[i]; + + // popupWindowURI will be null if the file picker popup is blocked. + // xxxdz this should make the option say "Show file picker" and do it (Bug 590306) + if (!blockedPopup.popupWindowURIspec) + continue; + + var popupURIspec = blockedPopup.popupWindowURIspec; + + // Sometimes the popup URI that we get back from the blockedPopup + // isn't useful (for instance, netscape.com's popup URI ends up + // being "http://www.netscape.com", which isn't really the URI of + // the popup they're trying to show). This isn't going to be + // useful to the user, so we won't create a menu item for it. + if (popupURIspec == "" || popupURIspec == "about:blank" || + popupURIspec == "" || + popupURIspec == uri.spec) + continue; + + // Because of the short-circuit above, we may end up in a situation + // in which we don't have any usable popup addresses to show in + // the menu, and therefore we shouldn't show the separator. However, + // since we got past the short-circuit, we must've found at least + // one usable popup URI and thus we'll turn on the separator later. + foundUsablePopupURI = true; + + var menuitem = document.createElement("menuitem"); + var label = gNavigatorBundle.getFormattedString("popupShowPopupPrefix", + [popupURIspec]); + menuitem.setAttribute("label", label); + menuitem.setAttribute("oncommand", "gPopupBlockerObserver.showBlockedPopup(event);"); + menuitem.setAttribute("popupReportIndex", i); + menuitem.popupReportBrowser = browser; + aEvent.target.appendChild(menuitem); + } + } + + // Show the separator if we added any + // showable popup addresses to the menu. + if (foundUsablePopupURI) + blockedPopupsSeparator.removeAttribute("hidden"); + }, null); }, onPopupHiding: function (aEvent) { -- cgit v1.2.3 From b9fc7c5eae61d168e677d96c1f1ad8a14cd1c3bd Mon Sep 17 00:00:00 2001 From: trav90 Date: Sat, 26 May 2018 20:54:19 -0500 Subject: Display an error on Linux in the absence of SSE2 --- application/palemoon/app/Makefile.in | 8 ++++++ application/palemoon/app/moz.build | 3 +++ application/palemoon/app/nsBrowserApp.cpp | 45 +++++++++++++++++++++++++++++++ application/palemoon/confvars.sh | 5 ++++ 4 files changed, 61 insertions(+) (limited to 'application/palemoon') diff --git a/application/palemoon/app/Makefile.in b/application/palemoon/app/Makefile.in index c0f01212c..12f28768a 100644 --- a/application/palemoon/app/Makefile.in +++ b/application/palemoon/app/Makefile.in @@ -33,6 +33,14 @@ NSDISTMODE = copy include $(topsrcdir)/config/config.mk +# If we are trying to show an error dialog about the lack of SSE2 support, +# make sure that code itself doesn't use SSE2. +ifdef MOZ_LINUX_SSE2_STARTUP_ERROR +CXXFLAGS := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXXFLAGS)) +CXX := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXX)) +CXXFLAGS += -mno-sse2 -mfpmath=387 +endif + ifeq ($(OS_ARCH),WINNT) # Rebuild firefox.exe if the manifest changes - it's included by splash.rc. # (this dependency should really be just for firefox.exe, not other targets) diff --git a/application/palemoon/app/moz.build b/application/palemoon/app/moz.build index 8b358b622..044c3e2d1 100644 --- a/application/palemoon/app/moz.build +++ b/application/palemoon/app/moz.build @@ -68,3 +68,6 @@ if CONFIG['MOZ_LINKER']: if CONFIG['HAVE_CLOCK_MONOTONIC']: OS_LIBS += CONFIG['REALTIME_LIBS'] + +if CONFIG['MOZ_LINUX_SSE2_STARTUP_ERROR']: + DEFINES['MOZ_LINUX_SSE2_STARTUP_ERROR'] = True diff --git a/application/palemoon/app/nsBrowserApp.cpp b/application/palemoon/app/nsBrowserApp.cpp index 8b0613528..c73b05d23 100644 --- a/application/palemoon/app/nsBrowserApp.cpp +++ b/application/palemoon/app/nsBrowserApp.cpp @@ -35,6 +35,51 @@ #include "mozilla/Telemetry.h" #include "mozilla/WindowsDllBlocklist.h" +#ifdef MOZ_LINUX_SSE2_STARTUP_ERROR +#include +#include "mozilla/Unused.h" + +static bool +IsSSE2Available() +{ + // The rest of the app has been compiled to assume that SSE2 is present + // unconditionally, so we can't use the normal copy of SSE.cpp here. + // Since SSE.cpp caches the results and we need them only transiently, + // instead of #including SSE.cpp here, let's just inline the specific check + // that's needed. + unsigned int level = 1u; + unsigned int eax, ebx, ecx, edx; + unsigned int bits = (1u<<26); + unsigned int max = __get_cpuid_max(0, nullptr); + if (level > max) { + return false; + } + __cpuid_count(level, 0, eax, ebx, ecx, edx); + return (edx & bits) == bits; +} + +static const char sSSE2Message[] = + "This browser version requires a processor with the SSE2 instruction " + "set extension.\n"; + +__attribute__((constructor)) +static void +SSE2Check() +{ + if (IsSSE2Available()) { + return; + } + // Using write() in order to avoid jemalloc-based buffering. Ignoring return + // values, since there isn't much we could do on failure and there is no + // point in trying to recover from errors. + MOZ_UNUSED(write(STDERR_FILENO, + sSSE2Message, + MOZ_ARRAY_LENGTH(sSSE2Message) - 1)); + // _exit() instead of exit() to avoid running the usual "at exit" code. + _exit(255); +} +#endif + #if !defined(MOZ_WIDGET_COCOA) && !defined(MOZ_WIDGET_ANDROID) #define MOZ_BROWSER_CAN_BE_CONTENTPROC #include "../../ipc/contentproc/plugin-container.cpp" diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh index 5109c0829..d1d2ce065 100644 --- a/application/palemoon/confvars.sh +++ b/application/palemoon/confvars.sh @@ -98,6 +98,11 @@ if test "$OS_ARCH" = "WINNT" -o \ MOZ_BUNDLED_FONTS=1 fi +# Display an error on non-SSE2 Linux systems +if test "$OS_ARCH" = "Linux"; then + MOZ_LINUX_SSE2_STARTUP_ERROR=1 +fi + # Short-circuit a few services to be removed MOZ_MAINTENANCE_SERVICE= MOZ_SERVICES_HEALTHREPORT= -- cgit v1.2.3 From c3400bd8e65108058baf0e7213c3baeb45e79a01 Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 27 May 2018 09:36:16 -0500 Subject: Tweak SSE/SSE2 GCC flags --- application/palemoon/app/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/palemoon') diff --git a/application/palemoon/app/Makefile.in b/application/palemoon/app/Makefile.in index 12f28768a..94f4dc1f3 100644 --- a/application/palemoon/app/Makefile.in +++ b/application/palemoon/app/Makefile.in @@ -38,7 +38,7 @@ include $(topsrcdir)/config/config.mk ifdef MOZ_LINUX_SSE2_STARTUP_ERROR CXXFLAGS := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXXFLAGS)) CXX := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXX)) -CXXFLAGS += -mno-sse2 -mfpmath=387 +CXXFLAGS += -msse -mno-sse2 -mfpmath=387 endif ifeq ($(OS_ARCH),WINNT) -- cgit v1.2.3 From c3fc250b0ccc71542d7838ff7395350992b65afa Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 27 May 2018 20:18:48 +0200 Subject: Make Pale Moon Windows8WindowFrameColor compatible with global scope. This resolves #396. --- application/palemoon/modules/Windows8WindowFrameColor.jsm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/modules/Windows8WindowFrameColor.jsm b/application/palemoon/modules/Windows8WindowFrameColor.jsm index d424da499..e7a447db2 100644 --- a/application/palemoon/modules/Windows8WindowFrameColor.jsm +++ b/application/palemoon/modules/Windows8WindowFrameColor.jsm @@ -11,15 +11,15 @@ Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/WindowsRegistry.jsm"); -const Windows8WindowFrameColor = { +var Windows8WindowFrameColor = { _windowFrameColor: null, get_win8: function() { if (this._windowFrameColor) return this._windowFrameColor; - let HKCU = Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER; - let dwmKey = "Software\\Microsoft\\Windows\\DWM"; + const HKCU = Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER; + const dwmKey = "Software\\Microsoft\\Windows\\DWM"; // Window frame base color component values when Color Intensity is at 0. let frameBaseColor = 217; -- cgit v1.2.3 From 7a26ade0a65a3aebb184d9b6a22a2b16823da130 Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 27 May 2018 17:23:09 -0500 Subject: Only display SSE2 error dialog on 32-bit Linux All 64bit CPU's support SSE2 so there's no reason to have this code on 64-bit builds. --- application/palemoon/confvars.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh index d1d2ce065..fbd412eb5 100644 --- a/application/palemoon/confvars.sh +++ b/application/palemoon/confvars.sh @@ -98,9 +98,11 @@ if test "$OS_ARCH" = "WINNT" -o \ MOZ_BUNDLED_FONTS=1 fi -# Display an error on non-SSE2 Linux systems -if test "$OS_ARCH" = "Linux"; then - MOZ_LINUX_SSE2_STARTUP_ERROR=1 +# Display an error on non-SSE2 32-bit Linux systems +if ! test "$HAVE_64BIT_BUILD"; then + if test "$OS_ARCH" = "Linux"; then + MOZ_LINUX_SSE2_STARTUP_ERROR=1 + fi fi # Short-circuit a few services to be removed -- cgit v1.2.3 From de0157a6c38d185dbfc12736fd71ccfd287a3e62 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Mon, 28 May 2018 05:41:23 +0000 Subject: Revert "Only display SSE2 error dialog on 32-bit Linux" --- application/palemoon/confvars.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh index fbd412eb5..d1d2ce065 100644 --- a/application/palemoon/confvars.sh +++ b/application/palemoon/confvars.sh @@ -98,11 +98,9 @@ if test "$OS_ARCH" = "WINNT" -o \ MOZ_BUNDLED_FONTS=1 fi -# Display an error on non-SSE2 32-bit Linux systems -if ! test "$HAVE_64BIT_BUILD"; then - if test "$OS_ARCH" = "Linux"; then - MOZ_LINUX_SSE2_STARTUP_ERROR=1 - fi +# Display an error on non-SSE2 Linux systems +if test "$OS_ARCH" = "Linux"; then + MOZ_LINUX_SSE2_STARTUP_ERROR=1 fi # Short-circuit a few services to be removed -- cgit v1.2.3 From a147b682697db1ce8e11010c72a19edb7eb7c213 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Mon, 28 May 2018 05:42:07 +0000 Subject: Revert "Always build with SSE2 support & display an error if not available" --- application/palemoon/app/Makefile.in | 8 ------ application/palemoon/app/moz.build | 3 --- application/palemoon/app/nsBrowserApp.cpp | 45 ------------------------------- application/palemoon/confvars.sh | 5 ---- 4 files changed, 61 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/app/Makefile.in b/application/palemoon/app/Makefile.in index 94f4dc1f3..c0f01212c 100644 --- a/application/palemoon/app/Makefile.in +++ b/application/palemoon/app/Makefile.in @@ -33,14 +33,6 @@ NSDISTMODE = copy include $(topsrcdir)/config/config.mk -# If we are trying to show an error dialog about the lack of SSE2 support, -# make sure that code itself doesn't use SSE2. -ifdef MOZ_LINUX_SSE2_STARTUP_ERROR -CXXFLAGS := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXXFLAGS)) -CXX := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXX)) -CXXFLAGS += -msse -mno-sse2 -mfpmath=387 -endif - ifeq ($(OS_ARCH),WINNT) # Rebuild firefox.exe if the manifest changes - it's included by splash.rc. # (this dependency should really be just for firefox.exe, not other targets) diff --git a/application/palemoon/app/moz.build b/application/palemoon/app/moz.build index 044c3e2d1..8b358b622 100644 --- a/application/palemoon/app/moz.build +++ b/application/palemoon/app/moz.build @@ -68,6 +68,3 @@ if CONFIG['MOZ_LINKER']: if CONFIG['HAVE_CLOCK_MONOTONIC']: OS_LIBS += CONFIG['REALTIME_LIBS'] - -if CONFIG['MOZ_LINUX_SSE2_STARTUP_ERROR']: - DEFINES['MOZ_LINUX_SSE2_STARTUP_ERROR'] = True diff --git a/application/palemoon/app/nsBrowserApp.cpp b/application/palemoon/app/nsBrowserApp.cpp index c73b05d23..8b0613528 100644 --- a/application/palemoon/app/nsBrowserApp.cpp +++ b/application/palemoon/app/nsBrowserApp.cpp @@ -35,51 +35,6 @@ #include "mozilla/Telemetry.h" #include "mozilla/WindowsDllBlocklist.h" -#ifdef MOZ_LINUX_SSE2_STARTUP_ERROR -#include -#include "mozilla/Unused.h" - -static bool -IsSSE2Available() -{ - // The rest of the app has been compiled to assume that SSE2 is present - // unconditionally, so we can't use the normal copy of SSE.cpp here. - // Since SSE.cpp caches the results and we need them only transiently, - // instead of #including SSE.cpp here, let's just inline the specific check - // that's needed. - unsigned int level = 1u; - unsigned int eax, ebx, ecx, edx; - unsigned int bits = (1u<<26); - unsigned int max = __get_cpuid_max(0, nullptr); - if (level > max) { - return false; - } - __cpuid_count(level, 0, eax, ebx, ecx, edx); - return (edx & bits) == bits; -} - -static const char sSSE2Message[] = - "This browser version requires a processor with the SSE2 instruction " - "set extension.\n"; - -__attribute__((constructor)) -static void -SSE2Check() -{ - if (IsSSE2Available()) { - return; - } - // Using write() in order to avoid jemalloc-based buffering. Ignoring return - // values, since there isn't much we could do on failure and there is no - // point in trying to recover from errors. - MOZ_UNUSED(write(STDERR_FILENO, - sSSE2Message, - MOZ_ARRAY_LENGTH(sSSE2Message) - 1)); - // _exit() instead of exit() to avoid running the usual "at exit" code. - _exit(255); -} -#endif - #if !defined(MOZ_WIDGET_COCOA) && !defined(MOZ_WIDGET_ANDROID) #define MOZ_BROWSER_CAN_BE_CONTENTPROC #include "../../ipc/contentproc/plugin-container.cpp" diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh index d1d2ce065..5109c0829 100644 --- a/application/palemoon/confvars.sh +++ b/application/palemoon/confvars.sh @@ -98,11 +98,6 @@ if test "$OS_ARCH" = "WINNT" -o \ MOZ_BUNDLED_FONTS=1 fi -# Display an error on non-SSE2 Linux systems -if test "$OS_ARCH" = "Linux"; then - MOZ_LINUX_SSE2_STARTUP_ERROR=1 -fi - # Short-circuit a few services to be removed MOZ_MAINTENANCE_SERVICE= MOZ_SERVICES_HEALTHREPORT= -- cgit v1.2.3 From 170aaecc47c7f6bb9ddb64fc0d61beec76cca65b Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Mon, 28 May 2018 21:17:50 +0200 Subject: [PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM Issue #155 Part 2 for: https://github.com/MoonchildProductions/UXP/commit/931950a880b3550490422b1855c509be10586858 --- application/palemoon/base/content/browser.js | 4 +++- application/palemoon/base/content/pageinfo/pageInfo.js | 2 +- application/palemoon/base/content/sanitizeDialog.js | 4 ++-- application/palemoon/base/content/sync/aboutSyncTabs.js | 2 +- application/palemoon/base/content/sync/addDevice.js | 6 +++--- application/palemoon/base/content/sync/genericChange.js | 4 ++-- application/palemoon/base/content/sync/setup.js | 8 ++++---- application/palemoon/components/distribution.js | 8 ++++---- .../components/sessionstore/content/aboutSessionRestore.js | 6 +++--- .../components/sessionstore/content/content-sessionStore.js | 2 +- 10 files changed, 24 insertions(+), 22 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index c8f287693..4bdac7850 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -3098,6 +3098,8 @@ const BrowserSearch = { }, }; +XPCOMUtils.defineConstant(this, "BrowserSearch", BrowserSearch); + function FillHistoryMenu(aParent) { // Lazily add the hover listeners on first showing and never remove them if (!aParent.hasStatusListener) { @@ -6770,7 +6772,7 @@ function getTabModalPromptBox(aWindow) { function getBrowser() gBrowser; function getNavToolbox() gNavToolbox; -let gPrivateBrowsingUI = { +var gPrivateBrowsingUI = { init: function PBUI_init() { // Do nothing for normal windows if (!PrivateBrowsingUtils.isWindowPrivate(window)) { diff --git a/application/palemoon/base/content/pageinfo/pageInfo.js b/application/palemoon/base/content/pageinfo/pageInfo.js index 6b02bc370..600174ad9 100644 --- a/application/palemoon/base/content/pageinfo/pageInfo.js +++ b/application/palemoon/base/content/pageinfo/pageInfo.js @@ -2,7 +2,7 @@ * 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 Cu = Components.utils; +var Cu = Components.utils; Cu.import("resource://gre/modules/LoadContextInfo.jsm"); Cu.import("resource://gre/modules/Services.jsm"); diff --git a/application/palemoon/base/content/sanitizeDialog.js b/application/palemoon/base/content/sanitizeDialog.js index 18df5e4a4..786113288 100644 --- a/application/palemoon/base/content/sanitizeDialog.js +++ b/application/palemoon/base/content/sanitizeDialog.js @@ -3,8 +3,8 @@ * 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 Cc = Components.classes; -const Ci = Components.interfaces; +var Cc = Components.classes; +var Ci = Components.interfaces; var gSanitizePromptDialog = { diff --git a/application/palemoon/base/content/sync/aboutSyncTabs.js b/application/palemoon/base/content/sync/aboutSyncTabs.js index bc624a459..410494b5b 100644 --- a/application/palemoon/base/content/sync/aboutSyncTabs.js +++ b/application/palemoon/base/content/sync/aboutSyncTabs.js @@ -2,7 +2,7 @@ * 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 Cu = Components.utils; +var Cu = Components.utils; Cu.import("resource://services-common/utils.js"); Cu.import("resource://services-sync/main.js"); diff --git a/application/palemoon/base/content/sync/addDevice.js b/application/palemoon/base/content/sync/addDevice.js index 40862a791..0390d4397 100644 --- a/application/palemoon/base/content/sync/addDevice.js +++ b/application/palemoon/base/content/sync/addDevice.js @@ -2,9 +2,9 @@ * 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 Ci = Components.interfaces; -const Cc = Components.classes; -const Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; +var Cu = Components.utils; Cu.import("resource://services-sync/main.js"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); diff --git a/application/palemoon/base/content/sync/genericChange.js b/application/palemoon/base/content/sync/genericChange.js index 0c6dc145e..df6639178 100644 --- a/application/palemoon/base/content/sync/genericChange.js +++ b/application/palemoon/base/content/sync/genericChange.js @@ -2,8 +2,8 @@ * 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 Ci = Components.interfaces; -const Cc = Components.classes; +var Ci = Components.interfaces; +var Cc = Components.classes; Components.utils.import("resource://services-sync/main.js"); Components.utils.import("resource://gre/modules/Services.jsm"); diff --git a/application/palemoon/base/content/sync/setup.js b/application/palemoon/base/content/sync/setup.js index 99faa038e..e8d67a5f6 100644 --- a/application/palemoon/base/content/sync/setup.js +++ b/application/palemoon/base/content/sync/setup.js @@ -2,10 +2,10 @@ * 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 Ci = Components.interfaces; -const Cc = Components.classes; -const Cr = Components.results; -const Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; +var Cr = Components.results; +var Cu = Components.utils; // page consts diff --git a/application/palemoon/components/distribution.js b/application/palemoon/components/distribution.js index b44b5bed3..d3300604e 100644 --- a/application/palemoon/components/distribution.js +++ b/application/palemoon/components/distribution.js @@ -4,10 +4,10 @@ this.EXPORTED_SYMBOLS = [ "DistributionCustomizer" ]; -const Ci = Components.interfaces; -const Cc = Components.classes; -const Cr = Components.results; -const Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; +var Cr = Components.results; +var Cu = Components.utils; const DISTRIBUTION_CUSTOMIZATION_COMPLETE_TOPIC = "distribution-customization-complete"; diff --git a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js index cae3bf4de..2459b67f5 100644 --- a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js +++ b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js @@ -2,9 +2,9 @@ * 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 Cc = Components.classes; -const Ci = Components.interfaces; -const Cu = Components.utils; +var Cc = Components.classes; +var Ci = Components.interfaces; +var Cu = Components.utils; var gStateObject; var gTreeData; diff --git a/application/palemoon/components/sessionstore/content/content-sessionStore.js b/application/palemoon/components/sessionstore/content/content-sessionStore.js index bdf0fef0c..e3e956ef2 100644 --- a/application/palemoon/components/sessionstore/content/content-sessionStore.js +++ b/application/palemoon/components/sessionstore/content/content-sessionStore.js @@ -10,7 +10,7 @@ function debug(msg) { * Listens for and handles content events that we need for the * session store service to be notified of state changes in content. */ -let EventListener = { +var EventListener = { DOM_EVENTS: [ "pageshow", "change", "input" -- cgit v1.2.3 From c9518c766c4d85b81c68eb1776fe2e2360a7e7b8 Mon Sep 17 00:00:00 2001 From: JustOff Date: Tue, 29 May 2018 14:45:55 +0300 Subject: Remove unused webapps icons from Pale Moon --- application/palemoon/base/content/browser.xul | 1 - application/palemoon/themes/linux/browser.css | 8 -------- application/palemoon/themes/linux/jar.mn | 2 -- application/palemoon/themes/osx/browser.css | 8 -------- application/palemoon/themes/osx/jar.mn | 2 -- application/palemoon/themes/windows/browser.css | 8 -------- application/palemoon/themes/windows/jar.mn | 2 -- 7 files changed, 31 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/browser.xul b/application/palemoon/base/content/browser.xul index f9030056e..254e2eee0 100644 --- a/application/palemoon/base/content/browser.xul +++ b/application/palemoon/base/content/browser.xul @@ -452,7 +452,6 @@ - diff --git a/application/palemoon/themes/linux/browser.css b/application/palemoon/themes/linux/browser.css index dbdc06235..9a08ea4d8 100644 --- a/application/palemoon/themes/linux/browser.css +++ b/application/palemoon/themes/linux/browser.css @@ -1228,10 +1228,6 @@ toolbar[iconsize="small"] #webrtc-status-button { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); } -.popup-notification-icon[popupid="webapps-install"] { - list-style-image: url(chrome://browser/skin/webapps-64.png); -} - .popup-notification-icon[popupid="mixed-content-blocked"] { list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); } @@ -1305,10 +1301,6 @@ toolbar[iconsize="small"] #webrtc-status-button { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); } -#webapps-notification-icon { - list-style-image: url(chrome://browser/skin/webapps-16.png); -} - #plugins-notification-icon { list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); } diff --git a/application/palemoon/themes/linux/jar.mn b/application/palemoon/themes/linux/jar.mn index 3c2ac406e..570bbb153 100644 --- a/application/palemoon/themes/linux/jar.mn +++ b/application/palemoon/themes/linux/jar.mn @@ -136,8 +136,6 @@ browser.jar: skin/classic/browser/syncQuota.css skin/classic/browser/syncProgress.css #endif - skin/classic/browser/webapps-16.png - skin/classic/browser/webapps-64.png skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png) skin/classic/browser/notification-pluginAlert.png (../shared/plugins/notification-pluginAlert.png) skin/classic/browser/notification-pluginBlocked.png (../shared/plugins/notification-pluginBlocked.png) diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index 10f521843..485ed9115 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -1913,10 +1913,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); } -.popup-notification-icon[popupid="webapps-install"] { - list-style-image: url(chrome://browser/skin/webapps-64.png); -} - .popup-notification-icon[popupid="mixed-content-blocked"] { list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); } @@ -1988,10 +1984,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); } -#webapps-notification-icon { - list-style-image: url(chrome://browser/skin/webapps-16.png); -} - #plugins-notification-icon { list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); } diff --git a/application/palemoon/themes/osx/jar.mn b/application/palemoon/themes/osx/jar.mn index a085c5f81..28d779985 100644 --- a/application/palemoon/themes/osx/jar.mn +++ b/application/palemoon/themes/osx/jar.mn @@ -66,8 +66,6 @@ browser.jar: skin/classic/browser/urlbar-arrow.png skin/classic/browser/urlbar-popup-blocked.png skin/classic/browser/urlbar-history-dropmarker.png - skin/classic/browser/webapps-16.png - skin/classic/browser/webapps-64.png skin/classic/browser/web-notifications-icon.svg skin/classic/browser/web-notifications-tray.svg skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png) diff --git a/application/palemoon/themes/windows/browser.css b/application/palemoon/themes/windows/browser.css index b87b50732..db60a6fa7 100644 --- a/application/palemoon/themes/windows/browser.css +++ b/application/palemoon/themes/windows/browser.css @@ -2400,10 +2400,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); } -.popup-notification-icon[popupid="webapps-install"] { - list-style-image: url(chrome://browser/skin/webapps-64.png); -} - .popup-notification-icon[popupid="mixed-content-blocked"] { list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); } @@ -2475,10 +2471,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); } -#webapps-notification-icon { - list-style-image: url(chrome://browser/skin/webapps-16.png); -} - #plugins-notification-icon { list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); } diff --git a/application/palemoon/themes/windows/jar.mn b/application/palemoon/themes/windows/jar.mn index 8c0d9a5cc..ce4627e21 100644 --- a/application/palemoon/themes/windows/jar.mn +++ b/application/palemoon/themes/windows/jar.mn @@ -68,8 +68,6 @@ browser.jar: skin/classic/browser/urlbar-arrow.png skin/classic/browser/urlbar-popup-blocked.png skin/classic/browser/urlbar-history-dropmarker.png - skin/classic/browser/webapps-16.png - skin/classic/browser/webapps-64.png skin/classic/browser/web-notifications-icon.svg skin/classic/browser/web-notifications-tray.svg skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png) -- cgit v1.2.3 From 1794ada8ace9b0856d445467e025342870436869 Mon Sep 17 00:00:00 2001 From: JustOff Date: Tue, 29 May 2018 14:54:20 +0300 Subject: Remove unused webapps icons files from Pale Moon --- application/palemoon/themes/linux/webapps-16.png | Bin 475 -> 0 bytes application/palemoon/themes/linux/webapps-64.png | Bin 2942 -> 0 bytes application/palemoon/themes/osx/webapps-16.png | Bin 355 -> 0 bytes application/palemoon/themes/osx/webapps-64.png | Bin 2942 -> 0 bytes application/palemoon/themes/windows/webapps-16.png | Bin 355 -> 0 bytes application/palemoon/themes/windows/webapps-64.png | Bin 2942 -> 0 bytes 6 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 application/palemoon/themes/linux/webapps-16.png delete mode 100644 application/palemoon/themes/linux/webapps-64.png delete mode 100644 application/palemoon/themes/osx/webapps-16.png delete mode 100644 application/palemoon/themes/osx/webapps-64.png delete mode 100644 application/palemoon/themes/windows/webapps-16.png delete mode 100644 application/palemoon/themes/windows/webapps-64.png (limited to 'application/palemoon') diff --git a/application/palemoon/themes/linux/webapps-16.png b/application/palemoon/themes/linux/webapps-16.png deleted file mode 100644 index df3978c4c..000000000 Binary files a/application/palemoon/themes/linux/webapps-16.png and /dev/null differ diff --git a/application/palemoon/themes/linux/webapps-64.png b/application/palemoon/themes/linux/webapps-64.png deleted file mode 100644 index 7c5e48cb8..000000000 Binary files a/application/palemoon/themes/linux/webapps-64.png and /dev/null differ diff --git a/application/palemoon/themes/osx/webapps-16.png b/application/palemoon/themes/osx/webapps-16.png deleted file mode 100644 index 7112ab4e4..000000000 Binary files a/application/palemoon/themes/osx/webapps-16.png and /dev/null differ diff --git a/application/palemoon/themes/osx/webapps-64.png b/application/palemoon/themes/osx/webapps-64.png deleted file mode 100644 index 7c5e48cb8..000000000 Binary files a/application/palemoon/themes/osx/webapps-64.png and /dev/null differ diff --git a/application/palemoon/themes/windows/webapps-16.png b/application/palemoon/themes/windows/webapps-16.png deleted file mode 100644 index 7112ab4e4..000000000 Binary files a/application/palemoon/themes/windows/webapps-16.png and /dev/null differ diff --git a/application/palemoon/themes/windows/webapps-64.png b/application/palemoon/themes/windows/webapps-64.png deleted file mode 100644 index 7c5e48cb8..000000000 Binary files a/application/palemoon/themes/windows/webapps-64.png and /dev/null differ -- cgit v1.2.3 From 636d127253b75d0880f16ad96f006f6e27378130 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 29 May 2018 17:24:36 +0200 Subject: Disable HPKP telemetry in Pale Moon. --- application/palemoon/app/profile/palemoon.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/palemoon') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index 90b4949b9..014550190 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -1079,6 +1079,8 @@ pref("security.csp.speccompliant", true); // Block insecure active content on https pages pref("security.mixed_content.block_active_content", true); +// Disable HPKP telemetry +pref("security.ssl.errorReporting.enabled", false); // Override the Goanna-default value of false for Firefox. pref("plain_text.wrap_long_lines", true); -- cgit v1.2.3 From 6e8846622a79549542adaca58d741d9263daf686 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 30 May 2018 00:26:42 +0200 Subject: Reinstate tabMinWidth and tabMaxWidth prefs. This resolves #410. --- application/palemoon/app/profile/palemoon.js | 2 ++ application/palemoon/base/content/browser.css | 8 ++++++-- application/palemoon/base/content/tabbrowser.xml | 8 ++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index 014550190..000113fe7 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -433,6 +433,8 @@ pref("browser.tabs.loadDivertedInBackground", false); pref("browser.tabs.loadBookmarksInBackground", false); pref("browser.tabs.noWindowActivationOnExternal", false); pref("browser.tabs.tabClipWidth", 140); +pref("browser.tabs.tabMinWidth", 100); +pref("browser.tabs.tabMaxWidth", 250); pref("browser.tabs.animate", true); pref("browser.tabs.onTop", true); #ifdef XP_WIN diff --git a/application/palemoon/base/content/browser.css b/application/palemoon/base/content/browser.css index a2970aefc..76e49436c 100644 --- a/application/palemoon/base/content/browser.css +++ b/application/palemoon/base/content/browser.css @@ -43,8 +43,6 @@ tabbrowser { .tabbrowser-tab:not([pinned]) { -moz-box-flex: 100; - max-width: 250px; - min-width: 100px; width: 0; transition: min-width 175ms ease-out, max-width 200ms ease-out, @@ -67,6 +65,12 @@ tabbrowser { display: none; } +.tabbrowser-tab[pinned] { + -moz-box-flex: 0; + min-width: 0 !important; + max-width: none !important; +} + .tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] { position: fixed !important; display: block; /* position:fixed already does this (bug 579776), but let's be explicit */ diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index 1b8099785..10f109ce8 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -1445,6 +1445,9 @@ t.setAttribute("label", aURI); t.setAttribute("crop", "end"); + t.style.maxWidth = this.tabContainer.mTabMaxWidth + "px"; + t.style.minWidth = this.tabContainer.mTabMinWidth + "px"; + t.width = 0; t.setAttribute("validate", "never"); //PMed t.setAttribute("onerror", "this.removeAttribute('image');"); t.className = "tabbrowser-tab"; @@ -3410,6 +3413,8 @@ Date: Wed, 30 May 2018 15:05:03 +0300 Subject: [PALEMOON] Package `chrome.manifest` for default theme across all platforms --- application/palemoon/installer/package-manifest.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/installer/package-manifest.in b/application/palemoon/installer/package-manifest.in index 97a98b7a4..fb5441832 100644 --- a/application/palemoon/installer/package-manifest.in +++ b/application/palemoon/installer/package-manifest.in @@ -199,9 +199,7 @@ @RESPATH@/browser/chrome.manifest @RESPATH@/browser/chrome/browser@JAREXT@ @RESPATH@/browser/chrome/browser.manifest -#ifdef XP_WIN @RESPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest -#endif @RESPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png @RESPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf @RESPATH@/chrome/toolkit@JAREXT@ -- cgit v1.2.3