From f9cab004186edb425a9b88ad649726605080a17c Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Mon, 20 Apr 2020 20:49:37 -0700 Subject: move browser to webbrowser/ --- .../branding/unstable/VisualElements_150.png | Bin 0 -> 34257 bytes webbrowser/branding/unstable/VisualElements_70.png | Bin 0 -> 9508 bytes webbrowser/branding/unstable/appname.bmp | Bin 0 -> 11158 bytes webbrowser/branding/unstable/branding.nsi | 16 +++++++ webbrowser/branding/unstable/configure.sh | 6 +++ .../branding/unstable/content/about-background.jpg | Bin 0 -> 115006 bytes .../branding/unstable/content/about-logo.png | Bin 0 -> 42470 bytes .../branding/unstable/content/about-logo@2x.png | Bin 0 -> 120348 bytes .../branding/unstable/content/about-wordmark.png | Bin 0 -> 11708 bytes webbrowser/branding/unstable/content/about.png | Bin 0 -> 55384 bytes .../branding/unstable/content/aboutDialog.css | 53 +++++++++++++++++++++ webbrowser/branding/unstable/content/icon48.png | Bin 0 -> 4855 bytes webbrowser/branding/unstable/content/icon64.png | Bin 0 -> 6531 bytes webbrowser/branding/unstable/content/jar.mn | 16 +++++++ webbrowser/branding/unstable/content/moz.build | 7 +++ webbrowser/branding/unstable/default16.png | Bin 0 -> 872 bytes webbrowser/branding/unstable/default32.png | Bin 0 -> 2499 bytes webbrowser/branding/unstable/default48.png | Bin 0 -> 4855 bytes webbrowser/branding/unstable/disk.icns | Bin 0 -> 39250 bytes webbrowser/branding/unstable/document.icns | Bin 0 -> 12451 bytes webbrowser/branding/unstable/document.ico | Bin 0 -> 19790 bytes webbrowser/branding/unstable/dsstore | Bin 0 -> 6148 bytes webbrowser/branding/unstable/firefox.icns | Bin 0 -> 59809 bytes webbrowser/branding/unstable/firefox.ico | Bin 0 -> 100371 bytes .../branding/unstable/locales/en-US/brand.dtd | 4 ++ .../unstable/locales/en-US/brand.properties | 5 ++ webbrowser/branding/unstable/locales/jar.mn | 12 +++++ webbrowser/branding/unstable/locales/moz.build | 9 ++++ webbrowser/branding/unstable/moz.build | 13 +++++ webbrowser/branding/unstable/mozicon128.png | Bin 0 -> 24891 bytes .../unstable/palemoon.VisualElementsManifest.xml | 8 ++++ .../branding/unstable/pref/palemoon-branding.js | 46 ++++++++++++++++++ webbrowser/branding/unstable/wizHeader.bmp | Bin 0 -> 25818 bytes webbrowser/branding/unstable/wizHeaderRTL.bmp | Bin 0 -> 25818 bytes webbrowser/branding/unstable/wizWatermark.bmp | Bin 0 -> 154542 bytes 35 files changed, 195 insertions(+) create mode 100644 webbrowser/branding/unstable/VisualElements_150.png create mode 100644 webbrowser/branding/unstable/VisualElements_70.png create mode 100644 webbrowser/branding/unstable/appname.bmp create mode 100644 webbrowser/branding/unstable/branding.nsi create mode 100644 webbrowser/branding/unstable/configure.sh create mode 100644 webbrowser/branding/unstable/content/about-background.jpg create mode 100644 webbrowser/branding/unstable/content/about-logo.png create mode 100644 webbrowser/branding/unstable/content/about-logo@2x.png create mode 100644 webbrowser/branding/unstable/content/about-wordmark.png create mode 100644 webbrowser/branding/unstable/content/about.png create mode 100644 webbrowser/branding/unstable/content/aboutDialog.css create mode 100644 webbrowser/branding/unstable/content/icon48.png create mode 100644 webbrowser/branding/unstable/content/icon64.png create mode 100644 webbrowser/branding/unstable/content/jar.mn create mode 100644 webbrowser/branding/unstable/content/moz.build create mode 100644 webbrowser/branding/unstable/default16.png create mode 100644 webbrowser/branding/unstable/default32.png create mode 100644 webbrowser/branding/unstable/default48.png create mode 100644 webbrowser/branding/unstable/disk.icns create mode 100644 webbrowser/branding/unstable/document.icns create mode 100644 webbrowser/branding/unstable/document.ico create mode 100644 webbrowser/branding/unstable/dsstore create mode 100644 webbrowser/branding/unstable/firefox.icns create mode 100644 webbrowser/branding/unstable/firefox.ico create mode 100644 webbrowser/branding/unstable/locales/en-US/brand.dtd create mode 100644 webbrowser/branding/unstable/locales/en-US/brand.properties create mode 100644 webbrowser/branding/unstable/locales/jar.mn create mode 100644 webbrowser/branding/unstable/locales/moz.build create mode 100644 webbrowser/branding/unstable/moz.build create mode 100644 webbrowser/branding/unstable/mozicon128.png create mode 100644 webbrowser/branding/unstable/palemoon.VisualElementsManifest.xml create mode 100644 webbrowser/branding/unstable/pref/palemoon-branding.js create mode 100644 webbrowser/branding/unstable/wizHeader.bmp create mode 100644 webbrowser/branding/unstable/wizHeaderRTL.bmp create mode 100644 webbrowser/branding/unstable/wizWatermark.bmp (limited to 'webbrowser/branding/unstable') diff --git a/webbrowser/branding/unstable/VisualElements_150.png b/webbrowser/branding/unstable/VisualElements_150.png new file mode 100644 index 0000000..320623d Binary files /dev/null and b/webbrowser/branding/unstable/VisualElements_150.png differ diff --git a/webbrowser/branding/unstable/VisualElements_70.png b/webbrowser/branding/unstable/VisualElements_70.png new file mode 100644 index 0000000..cb4c868 Binary files /dev/null and b/webbrowser/branding/unstable/VisualElements_70.png differ diff --git a/webbrowser/branding/unstable/appname.bmp b/webbrowser/branding/unstable/appname.bmp new file mode 100644 index 0000000..78e227a Binary files /dev/null and b/webbrowser/branding/unstable/appname.bmp differ diff --git a/webbrowser/branding/unstable/branding.nsi b/webbrowser/branding/unstable/branding.nsi new file mode 100644 index 0000000..535cfde --- /dev/null +++ b/webbrowser/branding/unstable/branding.nsi @@ -0,0 +1,16 @@ +# 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/. + +# NSIS branding defines for official release builds. +# The nightly build branding.nsi is located in browser/installer/windows/nsis/ +# The unofficial build branding.nsi is located in browser/branding/unofficial/ + +# BrandFullNameInternal is used for some registry and file system values +# instead of BrandFullName and typically should not be modified. +!define BrandFullNameInternal "Pale Moon" +!define CompanyName "Moonchild Productions" +!define URLInfoAbout "http://www.palemoon.org/" +!define URLUpdateInfo "http://www.palemoon.org/unstable/" +!define HelpLink "http://www.palemoon.org/unstable/" +!define URLSystemRequirements "http://www.palemoon.org/download.shtml" diff --git a/webbrowser/branding/unstable/configure.sh b/webbrowser/branding/unstable/configure.sh new file mode 100644 index 0000000..8943f58 --- /dev/null +++ b/webbrowser/branding/unstable/configure.sh @@ -0,0 +1,6 @@ +# 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/. + +MOZ_APP_DISPLAYNAME="Pale Moon" +# MOZ_UA_BUILDID=20100101 diff --git a/webbrowser/branding/unstable/content/about-background.jpg b/webbrowser/branding/unstable/content/about-background.jpg new file mode 100644 index 0000000..a33b331 Binary files /dev/null and b/webbrowser/branding/unstable/content/about-background.jpg differ diff --git a/webbrowser/branding/unstable/content/about-logo.png b/webbrowser/branding/unstable/content/about-logo.png new file mode 100644 index 0000000..aa79de6 Binary files /dev/null and b/webbrowser/branding/unstable/content/about-logo.png differ diff --git a/webbrowser/branding/unstable/content/about-logo@2x.png b/webbrowser/branding/unstable/content/about-logo@2x.png new file mode 100644 index 0000000..5d507a6 Binary files /dev/null and b/webbrowser/branding/unstable/content/about-logo@2x.png differ diff --git a/webbrowser/branding/unstable/content/about-wordmark.png b/webbrowser/branding/unstable/content/about-wordmark.png new file mode 100644 index 0000000..bf09f15 Binary files /dev/null and b/webbrowser/branding/unstable/content/about-wordmark.png differ diff --git a/webbrowser/branding/unstable/content/about.png b/webbrowser/branding/unstable/content/about.png new file mode 100644 index 0000000..d158863 Binary files /dev/null and b/webbrowser/branding/unstable/content/about.png differ diff --git a/webbrowser/branding/unstable/content/aboutDialog.css b/webbrowser/branding/unstable/content/aboutDialog.css new file mode 100644 index 0000000..de71f25 --- /dev/null +++ b/webbrowser/branding/unstable/content/aboutDialog.css @@ -0,0 +1,53 @@ +/* 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/. */ + +#aboutPMDialogContainer { + background-image: url("chrome://branding/content/about-background.jpg"); + background-repeat: no-repeat; + background-color: #D5BC9A; + color: #202010; +} + +#aboutHeaderBox { + background-image: url("chrome://branding/content/about-wordmark.png"); + background-repeat: no-repeat; + background-position: center center; + height: 44px; +} + +#aboutVersionBox { + text-shadow: 1px 1px 0px #D5BC9A; +} + +#aboutTextBox { + animation: 3s fadeIn; + animation-fill-mode: forwards; + text-shadow: 1px 1px 0px #D5BC9A; + color: #202010; +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + 50% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +#aboutLinkBox { + padding: 15px 10px 0; +} + +#aboutPMtrademark { + font-size: 10px; + text-align: center; + color: #C0C0C0; + text-shadow: 1px 1px 0px #000000; + margin-top: 10px; + margin-bottom: 10px; +} diff --git a/webbrowser/branding/unstable/content/icon48.png b/webbrowser/branding/unstable/content/icon48.png new file mode 100644 index 0000000..9572134 Binary files /dev/null and b/webbrowser/branding/unstable/content/icon48.png differ diff --git a/webbrowser/branding/unstable/content/icon64.png b/webbrowser/branding/unstable/content/icon64.png new file mode 100644 index 0000000..c370f33 Binary files /dev/null and b/webbrowser/branding/unstable/content/icon64.png differ diff --git a/webbrowser/branding/unstable/content/jar.mn b/webbrowser/branding/unstable/content/jar.mn new file mode 100644 index 0000000..fcb7890 --- /dev/null +++ b/webbrowser/branding/unstable/content/jar.mn @@ -0,0 +1,16 @@ +# 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/. + +browser.jar: +% content branding %content/branding/ contentaccessible=yes + content/branding/about.png (about.png) + content/branding/about-background.jpg (about-background.jpg) + content/branding/about-logo.png (about-logo.png) + content/branding/about-logo@2x.png (about-logo@2x.png) + content/branding/about-wordmark.png (about-wordmark.png) + content/branding/icon48.png (icon48.png) + content/branding/icon64.png (icon64.png) + content/branding/icon16.png (../default16.png) + content/branding/icon32.png (../default32.png) + content/branding/aboutDialog.css (aboutDialog.css) diff --git a/webbrowser/branding/unstable/content/moz.build b/webbrowser/branding/unstable/content/moz.build new file mode 100644 index 0000000..c97072b --- /dev/null +++ b/webbrowser/branding/unstable/content/moz.build @@ -0,0 +1,7 @@ +# -*- 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/. + +JAR_MANIFESTS += ['jar.mn'] \ No newline at end of file diff --git a/webbrowser/branding/unstable/default16.png b/webbrowser/branding/unstable/default16.png new file mode 100644 index 0000000..d239402 Binary files /dev/null and b/webbrowser/branding/unstable/default16.png differ diff --git a/webbrowser/branding/unstable/default32.png b/webbrowser/branding/unstable/default32.png new file mode 100644 index 0000000..05ccab8 Binary files /dev/null and b/webbrowser/branding/unstable/default32.png differ diff --git a/webbrowser/branding/unstable/default48.png b/webbrowser/branding/unstable/default48.png new file mode 100644 index 0000000..9572134 Binary files /dev/null and b/webbrowser/branding/unstable/default48.png differ diff --git a/webbrowser/branding/unstable/disk.icns b/webbrowser/branding/unstable/disk.icns new file mode 100644 index 0000000..e97e490 Binary files /dev/null and b/webbrowser/branding/unstable/disk.icns differ diff --git a/webbrowser/branding/unstable/document.icns b/webbrowser/branding/unstable/document.icns new file mode 100644 index 0000000..dd5f7aa Binary files /dev/null and b/webbrowser/branding/unstable/document.icns differ diff --git a/webbrowser/branding/unstable/document.ico b/webbrowser/branding/unstable/document.ico new file mode 100644 index 0000000..d5c730b Binary files /dev/null and b/webbrowser/branding/unstable/document.ico differ diff --git a/webbrowser/branding/unstable/dsstore b/webbrowser/branding/unstable/dsstore new file mode 100644 index 0000000..bbba9ec Binary files /dev/null and b/webbrowser/branding/unstable/dsstore differ diff --git a/webbrowser/branding/unstable/firefox.icns b/webbrowser/branding/unstable/firefox.icns new file mode 100644 index 0000000..3df606a Binary files /dev/null and b/webbrowser/branding/unstable/firefox.icns differ diff --git a/webbrowser/branding/unstable/firefox.ico b/webbrowser/branding/unstable/firefox.ico new file mode 100644 index 0000000..605c876 Binary files /dev/null and b/webbrowser/branding/unstable/firefox.ico differ diff --git a/webbrowser/branding/unstable/locales/en-US/brand.dtd b/webbrowser/branding/unstable/locales/en-US/brand.dtd new file mode 100644 index 0000000..9a26025 --- /dev/null +++ b/webbrowser/branding/unstable/locales/en-US/brand.dtd @@ -0,0 +1,4 @@ + + + + diff --git a/webbrowser/branding/unstable/locales/en-US/brand.properties b/webbrowser/branding/unstable/locales/en-US/brand.properties new file mode 100644 index 0000000..7d4b469 --- /dev/null +++ b/webbrowser/branding/unstable/locales/en-US/brand.properties @@ -0,0 +1,5 @@ +brandShortName=Pale Moon +brandFullName=Pale Moon +vendorShortName=Moonchild + +syncBrandShortName=Sync diff --git a/webbrowser/branding/unstable/locales/jar.mn b/webbrowser/branding/unstable/locales/jar.mn new file mode 100644 index 0000000..9de6cfc --- /dev/null +++ b/webbrowser/branding/unstable/locales/jar.mn @@ -0,0 +1,12 @@ +#filter substitution +# 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/. + + +@AB_CD@.jar: +% locale branding @AB_CD@ %locale/branding/ +# Unofficial branding only exists in en-US + locale/branding/brand.dtd (en-US/brand.dtd) + locale/branding/brand.properties (en-US/brand.properties) + locale/branding/browserconfig.properties (../../shared/locales/browserconfig.properties) diff --git a/webbrowser/branding/unstable/locales/moz.build b/webbrowser/branding/unstable/locales/moz.build new file mode 100644 index 0000000..3a54c0c --- /dev/null +++ b/webbrowser/branding/unstable/locales/moz.build @@ -0,0 +1,9 @@ +# -*- 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/. + +DEFINES['MOZ_DISTRIBUTION_ID_UNQUOTED'] = CONFIG['MOZ_DISTRIBUTION_ID'] + +JAR_MANIFESTS += ['jar.mn'] \ No newline at end of file diff --git a/webbrowser/branding/unstable/moz.build b/webbrowser/branding/unstable/moz.build new file mode 100644 index 0000000..8cb9013 --- /dev/null +++ b/webbrowser/branding/unstable/moz.build @@ -0,0 +1,13 @@ +# -*- 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/. + +DIRS += ['content', 'locales'] + +DIST_SUBDIR = 'browser' +export('DIST_SUBDIR') + +include('../shared/branding.mozbuild') +ApplicationBranding() diff --git a/webbrowser/branding/unstable/mozicon128.png b/webbrowser/branding/unstable/mozicon128.png new file mode 100644 index 0000000..fa8a685 Binary files /dev/null and b/webbrowser/branding/unstable/mozicon128.png differ diff --git a/webbrowser/branding/unstable/palemoon.VisualElementsManifest.xml b/webbrowser/branding/unstable/palemoon.VisualElementsManifest.xml new file mode 100644 index 0000000..3bdebe2 --- /dev/null +++ b/webbrowser/branding/unstable/palemoon.VisualElementsManifest.xml @@ -0,0 +1,8 @@ + + + diff --git a/webbrowser/branding/unstable/pref/palemoon-branding.js b/webbrowser/branding/unstable/pref/palemoon-branding.js new file mode 100644 index 0000000..2cd64fa --- /dev/null +++ b/webbrowser/branding/unstable/pref/palemoon-branding.js @@ -0,0 +1,46 @@ +#filter substitution +#filter emptyLines +#include ../../shared/pref/preferences.inc +#include ../../shared/pref/uaoverrides.inc + +pref("startup.homepage_override_url","http://www.palemoon.org/unstable/releasenotes.shtml"); +pref("app.releaseNotesURL", "http://www.palemoon.org/unstable/releasenotes.shtml"); + +// Enable Firefox compatmode by default. +pref("general.useragent.compatMode", 2); +pref("general.useragent.compatMode.gecko", true); +pref("general.useragent.compatMode.firefox", true); + +// ========================= updates ======================== +#if defined(XP_WIN) || defined(XP_LINUX) +// Enable auto-updates for this channel +pref("app.update.auto", true); + +// Updates enabled +pref("app.update.enabled", true); +pref("app.update.cert.checkAttributes", true); + +// Interval: Time between checks for a new version (in seconds) -- 6 hours for unstable +pref("app.update.interval", 21600); +pref("app.update.promptWaitTime", 86400); + +// URL user can browse to manually if for some reason all update installation +// attempts fail. +#ifndef XP_LINUX +pref("app.update.url.manual", "http://www.palemoon.org/unstable/"); +#else +pref("app.update.url.manual", "http://linux.palemoon.org/download/unstable/"); +#endif +// A default value for the "More information about this update" link +// supplied in the "An update is available" page of the update wizard. +#ifndef XP_LINUX +pref("app.update.url.details", "http://www.palemoon.org/unstable/"); +#else +pref("app.update.url.details", "http://linux.palemoon.org/download/unstable/"); +#endif + +#else +// Updates disabled (Mac, etc.) +pref("app.update.enabled", false); +pref("app.update.url", ""); +#endif diff --git a/webbrowser/branding/unstable/wizHeader.bmp b/webbrowser/branding/unstable/wizHeader.bmp new file mode 100644 index 0000000..12e08e8 Binary files /dev/null and b/webbrowser/branding/unstable/wizHeader.bmp differ diff --git a/webbrowser/branding/unstable/wizHeaderRTL.bmp b/webbrowser/branding/unstable/wizHeaderRTL.bmp new file mode 100644 index 0000000..eb8b9f4 Binary files /dev/null and b/webbrowser/branding/unstable/wizHeaderRTL.bmp differ diff --git a/webbrowser/branding/unstable/wizWatermark.bmp b/webbrowser/branding/unstable/wizWatermark.bmp new file mode 100644 index 0000000..8c39d51 Binary files /dev/null and b/webbrowser/branding/unstable/wizWatermark.bmp differ -- cgit v1.2.3