mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 14:47:31 +09:00
Sync Pale Moon code
This commit is contained in:
parent
8a0a9fcfa5
commit
1648d92f30
15 changed files with 74 additions and 26 deletions
|
|
@ -88,6 +88,9 @@
|
||||||
</vbox>
|
</vbox>
|
||||||
|
|
||||||
<description class="text-pmcreds">
|
<description class="text-pmcreds">
|
||||||
|
#ifdef MC_PRIVATE_BUILD
|
||||||
|
This is a private build of Pale Moon. If you did not manually build this copy from source yourself, then please download an official version from the <label class="text-link" href="http://www.palemoon.org/">Pale Moon website</label>.
|
||||||
|
#else
|
||||||
Pale Moon is released by <label class="text-link" href="http://www.moonchildproductions.info">Moonchild Productions</label>.
|
Pale Moon is released by <label class="text-link" href="http://www.moonchildproductions.info">Moonchild Productions</label>.
|
||||||
</description>
|
</description>
|
||||||
<description class="text-pmcreds">
|
<description class="text-pmcreds">
|
||||||
|
|
@ -96,6 +99,7 @@
|
||||||
<description class="text-blurb">
|
<description class="text-blurb">
|
||||||
If you wish to contribute, please consider helping out by providing support to other users on the <label class="text-link" href="https://forum.palemoon.org/">Pale Moon forum</label>
|
If you wish to contribute, please consider helping out by providing support to other users on the <label class="text-link" href="https://forum.palemoon.org/">Pale Moon forum</label>
|
||||||
or getting involved in our development by tackling some of the issues found in our GitHub issue tracker.
|
or getting involved in our development by tackling some of the issues found in our GitHub issue tracker.
|
||||||
|
#endif
|
||||||
</description>
|
</description>
|
||||||
</vbox>
|
</vbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
|
|
||||||
|
|
@ -85,8 +85,8 @@
|
||||||
observes="workOfflineMenuitemState"
|
observes="workOfflineMenuitemState"
|
||||||
oncommand="BrowserOffline.toggleOfflineStatus();"/>
|
oncommand="BrowserOffline.toggleOfflineStatus();"/>
|
||||||
<menuitem id="menu_restart"
|
<menuitem id="menu_restart"
|
||||||
label="&appMenuRestart.label;"
|
label="&restartCmd.label;"
|
||||||
accesskey="&appMenuRestart.accesskey;"
|
accesskey="&restartCmd.accesskey;"
|
||||||
command="cmd_restartApplication"/>
|
command="cmd_restartApplication"/>
|
||||||
<menuitem id="menu_FileQuitItem"
|
<menuitem id="menu_FileQuitItem"
|
||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ var gTabsPane = {
|
||||||
case "about:logopage":
|
case "about:logopage":
|
||||||
newtabUrlChoice.value = 1;
|
newtabUrlChoice.value = 1;
|
||||||
break;
|
break;
|
||||||
case "https://start.palemoon.org/":
|
case "http://start.palemoon.org/":
|
||||||
newtabUrlChoice.value = 2;
|
newtabUrlChoice.value = 2;
|
||||||
break;
|
break;
|
||||||
case newtabUrlSanitizedPref.value:
|
case newtabUrlSanitizedPref.value:
|
||||||
|
|
@ -101,6 +101,8 @@ var gTabsPane = {
|
||||||
default: // Custom URL entered.
|
default: // Custom URL entered.
|
||||||
document.getElementById("newtabPageCustom").hidden = false;
|
document.getElementById("newtabPageCustom").hidden = false;
|
||||||
newtabUrlChoice.value = 0;
|
newtabUrlChoice.value = 0;
|
||||||
|
// We need this to consider instantApply.
|
||||||
|
this.newtabPageCustom = newtabUrlPref.value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -109,32 +111,45 @@ var gTabsPane = {
|
||||||
* if the choice is "my home page", get and sanitize the browser home page
|
* if the choice is "my home page", get and sanitize the browser home page
|
||||||
* URL to make it suitable for newtab use.
|
* URL to make it suitable for newtab use.
|
||||||
*
|
*
|
||||||
* Called from prefwindow's ondialogaccept handler.
|
* Called from prefwindow's ondialogaccept handler and
|
||||||
|
* from browser.newtab.choice's oncommand to consider instantApply.
|
||||||
*/
|
*/
|
||||||
writeNewtabUrl: function() {
|
writeNewtabUrl: function(newtabUrlChoice) {
|
||||||
try {
|
try {
|
||||||
let newtabUrlChoice = Services.prefs.getIntPref("browser.newtab.choice");
|
if (newtabUrlChoice) {
|
||||||
let browserHomepageUrl = Services.prefs.getCharPref("browser.startup.homepage");
|
if (Services.prefs.getBoolPref("browser.preferences.instantApply")) {
|
||||||
|
newtabUrlChoice = parseInt(newtabUrlChoice);
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
newtabUrlChoice = Services.prefs.getIntPref("browser.newtab.choice");
|
||||||
|
}
|
||||||
|
let browserHomepageUrl = Services.prefs.getComplexValue("browser.startup.homepage",
|
||||||
|
Components.interfaces.nsIPrefLocalizedString).data;
|
||||||
let newtabUrlPref = Services.prefs.getCharPref("browser.newtab.url");
|
let newtabUrlPref = Services.prefs.getCharPref("browser.newtab.url");
|
||||||
switch (newtabUrlChoice) {
|
switch (newtabUrlChoice) {
|
||||||
case 1:
|
case 1:
|
||||||
newtabUrlPref="about:logopage";
|
newtabUrlPref = "about:logopage";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
newtabUrlPref="https://start.palemoon.org/";
|
newtabUrlPref = "http://start.palemoon.org/";
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
// If url is a pipe-delimited set of pages, just take the first one.
|
// If url is a pipe-delimited set of pages, just take the first one.
|
||||||
let newtabUrlSanitizedPref=browserHomepageUrl.split("|")[0];
|
let newtabUrlSanitizedPref=browserHomepageUrl.split("|")[0];
|
||||||
// XXX: do we need extra sanitation here, e.g. for invalid URLs?
|
// XXX: do we need extra sanitation here, e.g. for invalid URLs?
|
||||||
Services.prefs.setCharPref("browser.newtab.myhome", newtabUrlSanitizedPref);
|
Services.prefs.setCharPref("browser.newtab.myhome", newtabUrlSanitizedPref);
|
||||||
newtabUrlPref=newtabUrlSanitizedPref;
|
newtabUrlPref = newtabUrlSanitizedPref;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
newtabUrlPref="about:newtab";
|
newtabUrlPref = "about:newtab";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// In case of any other value it's a custom URL, so don't change anything...
|
// In case of any other value it's a custom URL, consider instantApply.
|
||||||
|
if (this.newtabPageCustom) {
|
||||||
|
newtabUrlPref = this.newtabPageCustom;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Services.prefs.setCharPref("browser.newtab.url",newtabUrlPref);
|
Services.prefs.setCharPref("browser.newtab.url",newtabUrlPref);
|
||||||
} catch(e) { console.error(e); }
|
} catch(e) { console.error(e); }
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,8 @@
|
||||||
<label value="&newtabPage.label;"/>
|
<label value="&newtabPage.label;"/>
|
||||||
<menulist
|
<menulist
|
||||||
id="newtabPage"
|
id="newtabPage"
|
||||||
preference="browser.newtab.choice">
|
preference="browser.newtab.choice"
|
||||||
|
oncommand="gTabsPane.writeNewtabUrl(event.target.value);">
|
||||||
<menupopup>
|
<menupopup>
|
||||||
<menuitem label="&newtabPage.custom.label;" value="0" id="newtabPageCustom" hidden="true" />
|
<menuitem label="&newtabPage.custom.label;" value="0" id="newtabPageCustom" hidden="true" />
|
||||||
<menuitem label="&newtabPage.blank.label;" value="1" />
|
<menuitem label="&newtabPage.blank.label;" value="1" />
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
27.8.0a1
|
27.9.0a1
|
||||||
|
|
@ -8,6 +8,10 @@ MOZ_APP_VENDOR=Moonchild
|
||||||
MOZ_UPDATER=1
|
MOZ_UPDATER=1
|
||||||
MOZ_PHOENIX=1
|
MOZ_PHOENIX=1
|
||||||
|
|
||||||
|
if test "$OS_TARGET" = "WINNT"; then
|
||||||
|
MOZ_BUNDLED_FONTS=1
|
||||||
|
fi
|
||||||
|
|
||||||
MOZ_CHROME_FILE_FORMAT=omni
|
MOZ_CHROME_FILE_FORMAT=omni
|
||||||
MOZ_SERVICES_COMMON=1
|
MOZ_SERVICES_COMMON=1
|
||||||
MOZ_MEDIA_NAVIGATOR=1
|
MOZ_MEDIA_NAVIGATOR=1
|
||||||
|
|
|
||||||
BIN
application/palemoon/fonts/EmojiOneMozilla.ttf
Normal file
BIN
application/palemoon/fonts/EmojiOneMozilla.ttf
Normal file
Binary file not shown.
9
application/palemoon/fonts/README.txt
Normal file
9
application/palemoon/fonts/README.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
EmojiOne Mozilla
|
||||||
|
================
|
||||||
|
|
||||||
|
The upstream repository of EmojiOne Mozilla can be found at
|
||||||
|
|
||||||
|
https://github.com/mozilla/emojione-colr
|
||||||
|
|
||||||
|
Please refer commit history for the current version of the font.
|
||||||
|
This file purposely omit the version, so there is no need to update it here.
|
||||||
11
application/palemoon/fonts/moz.build
Normal file
11
application/palemoon/fonts/moz.build
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||||
|
# vim: set filetype=python:
|
||||||
|
# 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/.
|
||||||
|
|
||||||
|
if CONFIG['OS_ARCH'] in ('WINNT'):
|
||||||
|
DIST_SUBDIR = ''
|
||||||
|
FINAL_TARGET_FILES.fonts += [
|
||||||
|
'EmojiOneMozilla.ttf'
|
||||||
|
]
|
||||||
|
|
@ -51,6 +51,9 @@
|
||||||
@RESPATH@/browser/defaults/profile/localstore.rdf
|
@RESPATH@/browser/defaults/profile/localstore.rdf
|
||||||
@RESPATH@/browser/defaults/profile/mimeTypes.rdf
|
@RESPATH@/browser/defaults/profile/mimeTypes.rdf
|
||||||
@RESPATH@/dictionaries/*
|
@RESPATH@/dictionaries/*
|
||||||
|
#if defined(XP_WIN)
|
||||||
|
@RESPATH@/fonts/*
|
||||||
|
#endif
|
||||||
@RESPATH@/hyphenation/*
|
@RESPATH@/hyphenation/*
|
||||||
@RESPATH@/browser/@PREF_DIR@/palemoon-l10n.js
|
@RESPATH@/browser/@PREF_DIR@/palemoon-l10n.js
|
||||||
@RESPATH@/browser/searchplugins/*
|
@RESPATH@/browser/searchplugins/*
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,9 @@ can reach it easily. -->
|
||||||
<!ENTITY goOfflineCmd.label "Work Offline">
|
<!ENTITY goOfflineCmd.label "Work Offline">
|
||||||
<!ENTITY goOfflineCmd.accesskey "k">
|
<!ENTITY goOfflineCmd.accesskey "k">
|
||||||
|
|
||||||
|
<!ENTITY restartCmd.label "Restart…">
|
||||||
|
<!ENTITY restartCmd.accesskey "R">
|
||||||
|
|
||||||
<!ENTITY menubarCmd.label "Menu Bar">
|
<!ENTITY menubarCmd.label "Menu Bar">
|
||||||
<!ENTITY menubarCmd.accesskey "M">
|
<!ENTITY menubarCmd.accesskey "M">
|
||||||
<!ENTITY navbarCmd.label "Navigation Toolbar">
|
<!ENTITY navbarCmd.label "Navigation Toolbar">
|
||||||
|
|
@ -307,7 +310,7 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
||||||
<!ENTITY viewToolbarsMenu.accesskey "T">
|
<!ENTITY viewToolbarsMenu.accesskey "T">
|
||||||
<!ENTITY viewSidebarMenu.label "Sidebar">
|
<!ENTITY viewSidebarMenu.label "Sidebar">
|
||||||
<!ENTITY viewSidebarMenu.accesskey "e">
|
<!ENTITY viewSidebarMenu.accesskey "e">
|
||||||
<!ENTITY viewCustomizeToolbar.label "Customize…">
|
<!ENTITY viewCustomizeToolbar.label "Customize">
|
||||||
<!ENTITY viewCustomizeToolbar.accesskey "C">
|
<!ENTITY viewCustomizeToolbar.accesskey "C">
|
||||||
<!ENTITY viewTabsOnTop.label "Tabs on Top">
|
<!ENTITY viewTabsOnTop.label "Tabs on Top">
|
||||||
<!ENTITY viewTabsOnTop.accesskey "T">
|
<!ENTITY viewTabsOnTop.accesskey "T">
|
||||||
|
|
@ -325,7 +328,7 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
||||||
|
|
||||||
<!ENTITY appMenuEdit.label "Edit">
|
<!ENTITY appMenuEdit.label "Edit">
|
||||||
<!ENTITY appMenuCustomize.label "Customize">
|
<!ENTITY appMenuCustomize.label "Customize">
|
||||||
<!ENTITY appMenuToolbarLayout.label "Toolbar Layout…">
|
<!ENTITY appMenuToolbarLayout.label "Toolbar Layout">
|
||||||
<!ENTITY appMenuSidebars.label "Sidebars">
|
<!ENTITY appMenuSidebars.label "Sidebars">
|
||||||
<!ENTITY appMenuFind.label "Find…">
|
<!ENTITY appMenuFind.label "Find…">
|
||||||
<!ENTITY appMenuUnsorted.label "Unsorted Bookmarks">
|
<!ENTITY appMenuUnsorted.label "Unsorted Bookmarks">
|
||||||
|
|
@ -546,7 +549,7 @@ you can use these alternative items. Otherwise, their values should be empty. -
|
||||||
<!ENTITY zoomInButton.tooltip "Zoom in">
|
<!ENTITY zoomInButton.tooltip "Zoom in">
|
||||||
<!ENTITY zoomControls.label "Zoom Controls">
|
<!ENTITY zoomControls.label "Zoom Controls">
|
||||||
|
|
||||||
<!ENTITY appMenuRestart.label "Restart">
|
<!ENTITY appMenuRestart.label "Restart…">
|
||||||
<!ENTITY appMenuRestart.accesskey "R">
|
<!ENTITY appMenuRestart.accesskey "R">
|
||||||
|
|
||||||
<!ENTITY quitApplicationCmdWin.label "Exit">
|
<!ENTITY quitApplicationCmdWin.label "Exit">
|
||||||
|
|
@ -573,11 +576,8 @@ you can use these alternative items. Otherwise, their values should be empty. -
|
||||||
<!ENTITY pageReportIcon.tooltip "Change pop-up blocking settings for this website">
|
<!ENTITY pageReportIcon.tooltip "Change pop-up blocking settings for this website">
|
||||||
|
|
||||||
<!ENTITY allowPopups.accesskey "p">
|
<!ENTITY allowPopups.accesskey "p">
|
||||||
<!-- On Windows we use the term "Options" to describe settings, but
|
<!ENTITY editPopupSettingsUnix.label "Edit Pop-up Blocker Preferences">
|
||||||
on Linux and Mac OS X we use "Preferences" - carry that distinction
|
<!ENTITY editPopupSettings.label "Edit Pop-up Blocker Preferences">
|
||||||
over into this string, which is used in the "popup blocked" info bar . -->
|
|
||||||
<!ENTITY editPopupSettingsUnix.label "Edit Pop-up Blocker Preferences…">
|
|
||||||
<!ENTITY editPopupSettings.label "Edit Pop-up Blocker Options…">
|
|
||||||
<!ENTITY editPopupSettings.accesskey "E">
|
<!ENTITY editPopupSettings.accesskey "E">
|
||||||
<!ENTITY dontShowMessage.accesskey "D">
|
<!ENTITY dontShowMessage.accesskey "D">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# Translator names. If there is more than one, separate with commas. Only include your name, not the locale you're translating.
|
# Translator names. If there is more than one, separate with commas. Only include your name, not the locale you're translating.
|
||||||
translator=Sparky Bluefang
|
translator=Moonchild
|
||||||
|
|
||||||
# Extension title. This usually should not be translated.
|
# Extension title. This usually should not be translated.
|
||||||
name=Status-4-Evar
|
name=Status-4-Evar
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<!ENTITY status4evar.progress.widget.title "Progress Meter">
|
<!ENTITY status4evar.progress.widget.title "Progress Meter">
|
||||||
<!ENTITY status4evar.throbber.widget.title "Activity Indicator">
|
<!ENTITY status4evar.throbber.widget.title "Activity Indicator">
|
||||||
<!ENTITY status4evar.download.widget.title "Download Status">
|
<!ENTITY status4evar.download.widget.title "Download Status">
|
||||||
<!ENTITY status4evar.options.widget.title "Pale Moon status bar options">
|
<!ENTITY status4evar.options.widget.title "Status Bar Preferences">
|
||||||
<!ENTITY status4evar.options.widget.label "Pale Moon status bar">
|
<!ENTITY status4evar.options.widget.label "Pale Moon status bar">
|
||||||
<!ENTITY status4evar.menu.options.label "Status bar options...">
|
<!ENTITY status4evar.menu.options.label "Status Bar Preferences">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ CONFIGURE_SUBST_FILES += ['installer/Makefile']
|
||||||
DIRS += [
|
DIRS += [
|
||||||
'base',
|
'base',
|
||||||
'components',
|
'components',
|
||||||
|
'fonts',
|
||||||
'locales',
|
'locales',
|
||||||
'modules',
|
'modules',
|
||||||
'themes',
|
'themes',
|
||||||
|
|
|
||||||
|
|
@ -1887,7 +1887,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||||
/* Hide the transparent top border by default */
|
/* Hide the transparent top border by default */
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
/* Reduce the gap between the tabs */
|
/* Reduce the gap between the tabs */
|
||||||
-moz-margin-start: -0.8px;
|
-moz-margin-start: -1px;
|
||||||
box-shadow: var(--tab-box-shadow);
|
box-shadow: var(--tab-box-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue