From 8906ccd05ee2d59e85cc6262c775b924ff0347ae Mon Sep 17 00:00:00 2001 From: Ascrod <32915892+Ascrod@users.noreply.github.com> Date: Sat, 9 Feb 2019 14:05:34 -0500 Subject: Pale Moon: Add loop context menu to HTML5 media elements. --- application/palemoon/base/content/browser-context.inc | 5 +++++ application/palemoon/base/content/nsContextMenu.js | 5 +++++ application/palemoon/locales/en-US/chrome/browser/browser.dtd | 2 ++ 3 files changed, 12 insertions(+) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/browser-context.inc b/application/palemoon/base/content/browser-context.inc index f672ede61..8ef376999 100644 --- a/application/palemoon/base/content/browser-context.inc +++ b/application/palemoon/base/content/browser-context.inc @@ -99,6 +99,11 @@ oncommand="gContextMenu.mediaCommand('playbackRate', 2.0);"/> + + + -- cgit v1.2.3 From b9d51d4e316a19911ce63167b949049969808fcb Mon Sep 17 00:00:00 2001 From: Ascrod <32915892+Ascrod@users.noreply.github.com> Date: Sat, 9 Feb 2019 20:44:53 -0500 Subject: Clean up localization. --- application/palemoon/locales/en-US/chrome/browser/browser.dtd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/locales/en-US/chrome/browser/browser.dtd b/application/palemoon/locales/en-US/chrome/browser/browser.dtd index e7564d152..3671f6ec8 100644 --- a/application/palemoon/locales/en-US/chrome/browser/browser.dtd +++ b/application/palemoon/locales/en-US/chrome/browser/browser.dtd @@ -430,11 +430,11 @@ movie "Space Balls" and is meant to say that this speed is very fast. --> + + - - -- cgit v1.2.3 From 4a89b18b31f6b5a2d358466e47a1159fa6d785fb Mon Sep 17 00:00:00 2001 From: Ascrod <32915892+Ascrod@users.noreply.github.com> Date: Sun, 10 Feb 2019 11:24:27 -0500 Subject: Rename mediaPlaybackRate to mediaPlaybackRate2. --- application/palemoon/base/content/browser-context.inc | 2 +- application/palemoon/locales/en-US/chrome/browser/browser.dtd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/browser-context.inc b/application/palemoon/base/content/browser-context.inc index 8ef376999..38c472508 100644 --- a/application/palemoon/base/content/browser-context.inc +++ b/application/palemoon/base/content/browser-context.inc @@ -70,7 +70,7 @@ label="&mediaUnmute.label;" accesskey="&mediaUnmute.accesskey;" oncommand="gContextMenu.mediaCommand('unmute');"/> - + - - + + -- cgit v1.2.3 From dd418226c6a91301002134f699117ba00f1e0804 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 12 Feb 2019 16:13:57 +0100 Subject: Add "check for updates" to main menu and AppMenu v2 Tag #963. --- .../palemoon/base/content/baseMenuOverlay.xul | 10 +- .../palemoon/base/content/browser-appmenu.inc | 9 +- .../palemoon/base/content/utilityOverlay.js | 111 +++++++++++++++++++++ .../en-US/chrome/browser/baseMenuOverlay.dtd | 1 + .../en-US/chrome/browser/browser.properties | 16 +++ 5 files changed, 145 insertions(+), 2 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/baseMenuOverlay.xul b/application/palemoon/base/content/baseMenuOverlay.xul index e9019dc55..d7c983671 100644 --- a/application/palemoon/base/content/baseMenuOverlay.xul +++ b/application/palemoon/base/content/baseMenuOverlay.xul @@ -41,7 +41,7 @@ label="&helpMenu.label;" accesskey="&helpMenu.accesskey;"> #endif - + + + +#else + hidden="true"/> +#endif - + +#ifdef MOZ_UPDATER + + +#endif + diff --git a/application/palemoon/locales/en-US/chrome/browser/browser.properties b/application/palemoon/locales/en-US/chrome/browser/browser.properties index dbe6dbaa1..0144af0c7 100644 --- a/application/palemoon/locales/en-US/chrome/browser/browser.properties +++ b/application/palemoon/locales/en-US/chrome/browser/browser.properties @@ -201,6 +201,22 @@ update.openUpdateUI.upgradeButton.accesskey=U update.restart.upgradeButton.label=Upgrade Now update.restart.upgradeButton.accesskey=U +# Check for Updates in the Help Menu +# LOCALIZATION NOTE (updatesItem_*): these are alternative labels for Check for Update item in Help menu. +# Which one is used depends on Update process state. +updatesItem_default=Check for Updates… +updatesItem_defaultFallback=Check for Updates… +updatesItem_default.accesskey=C +updatesItem_downloading=Downloading %S… +updatesItem_downloadingFallback=Downloading Update… +updatesItem_downloading.accesskey=D +updatesItem_resume=Resume Downloading %S… +updatesItem_resumeFallback=Resume Downloading Update… +updatesItem_resume.accesskey=D +updatesItem_pending=Apply Downloaded Update Now… +updatesItem_pendingFallback=Apply Downloaded Update Now… +updatesItem_pending.accesskey=D + # RSS Pretty Print feedShowFeedNew=Subscribe to '%S'… -- cgit v1.2.3 From cb959aec3a5c62de58067d5e2fe7333e1aac4d1e Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 13 Feb 2019 09:23:25 +0100 Subject: Treat aContext as a bitfield in openURI. Potential fix for #971 --- application/palemoon/base/content/browser.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index eb4916e37..3feeef9b6 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -4408,7 +4408,13 @@ nsBrowserAccess.prototype = { openURI: function (aURI, aOpener, aWhere, aContext) { var newWindow = null; - var isExternal = (aContext == Ci.nsIBrowserDOMWindow.OPEN_EXTERNAL); + var isExternal = !!(aContext & Ci.nsIBrowserDOMWindow.OPEN_EXTERNAL); + + if (aOpener && isExternal) { + Cu.reportError("nsBrowserAccess.openURI did not expect an opener to be " + + "passed if the context is OPEN_EXTERNAL."); + throw Cr.NS_ERROR_FAILURE; + } if (isExternal && aURI && aURI.schemeIs("chrome")) { dump("use -chrome command-line option to load external chrome urls\n"); -- cgit v1.2.3 From 8e0fdf93181979cff67ebbf78afbf64cd4b729a5 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 14 Feb 2019 01:54:58 +0100 Subject: Move "No proxy for" control down to clarify it is a global effect. Follow-up to the behavior change in commit 6567bb631a78033b6b4cc32bc93e07d837652276 --- application/palemoon/components/preferences/connection.xul | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/components/preferences/connection.xul b/application/palemoon/components/preferences/connection.xul index 491bf4878..e6079dd54 100644 --- a/application/palemoon/components/preferences/connection.xul +++ b/application/palemoon/components/preferences/connection.xul @@ -138,9 +138,6 @@ -