Merge pull request #34 from rn10950/v2.2

merge 2.2 into master
This commit is contained in:
rn10950 2019-02-22 20:11:33 -05:00 committed by GitHub
commit 2eaa4db878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 511 additions and 47 deletions

View File

@ -17,4 +17,4 @@ MOZ_OBJDIR=/c/projects/moz95/obj-sm95-release/
# --enable-extensions=default,tasks is used by configure (not client.mk)
# --enable-crypto is used by configure (not client.mk)
# --enable-svg is used by configure (not client.mk)
# --enable-canvas is used by configure (not client.mk)
# --enable-canvas is used by configure (not client.mk)

View File

@ -46,9 +46,18 @@ DIRS = base components locales extensions themes app
include $(topsrcdir)/config/rules.mk
# The lines below are instructions to build the installer.
# The installer is currently disabled due to issues while building
# caused by installer/windows/nsis/uninstall.nsi
#
# RetroZilla Browser is not really maintained aside from branding.
# There is no official release. If you want to build the installer
# for a third-party build (or if you want to attempt to fix the bug)
# you are more than welcome to fix it and submit your fix to RetroZilla.
ifeq ($(OS_ARCH),WINNT)
ifdef MOZ_INSTALLER
DIRS += installer/windows
# DIRS += installer/windows
ifdef MOZ_BRANDING_DIRECTORY
DEFINES += -DOFFICIAL_BRANDING=1
@ -56,8 +65,8 @@ endif
# For Windows build the uninstaller during the application build since the
# uninstaller is included with the application for mar file generation.
libs::
$(MAKE) -C installer/windows uninstaller
# libs::
# $(MAKE) -C installer/windows uninstaller
endif
endif

16
browser/README.TXT Normal file
View File

@ -0,0 +1,16 @@
RetroZilla Browser
==================
This is the Firefox 2 frontend ported to RetroZilla. RetroZilla does not make official
releases of the browser at this time, however RetroZilla Browser builds and is branded.
However,
YOU ARE ON YOUR OWN
Please do not submit bug reports to the RetroZilla project for issues encountered while
attempting to use or build RetroZilla Browser, unless you know how to and are willing to
submit a fix.
If you find a bug while using RetroZilla Browser that you suspect to be a layout (Gecko)
issue, please try to replicate it on the latest official release of the RetroZilla suite.
If the issue also affects the latest offical release, please bring it to our attention.

View File

@ -62,9 +62,9 @@ AB_CD = en-US
DEFINES += -DAB_CD=$(AB_CD)
ifeq ($(USE_SHORT_LIBNAME), 1)
PROGRAM = firefox$(BIN_SUFFIX)
PROGRAM = $(MOZ_APP_NAME)$(BIN_SUFFIX)
else
PROGRAM = firefox-bin$(BIN_SUFFIX)
PROGRAM = $(MOZ_APP_NAME)$(BIN_SUFFIX)
endif
REQUIRES = \

View File

@ -47,7 +47,7 @@ static const nsXREAppData kAppData = {
sizeof(nsXREAppData),
nsnull,
"RetroZilla",
"RetroZilla Suite",
"Browser",
NS_STRINGIFY(APP_VERSION),
NS_STRINGIFY(BUILD_ID),
"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",

View File

@ -48,6 +48,12 @@
#endif
#endif
// RetroZilla-Specific Preferences
pref("retrozilla.version", 220);
pref("rzHome.autofocus", true);
pref("general.startup.browser", true);
pref("browser.chromeURL","chrome://browser/content/");
@ -178,7 +184,7 @@ pref("browser.shell.checkDefaultBrowser", true);
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
// The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
pref("browser.startup.page", 1);
pref("browser.startup.homepage", "resource:/browserconfig.properties");
pref("browser.startup.homepage", "about:home");
pref("browser.cache.disk.capacity", 50000);
pref("browser.enable_automatic_image_resizing", true);
@ -237,7 +243,7 @@ pref("browser.search.update.log", false);
pref("browser.search.updateinterval", 6);
// enable search suggestions by default
pref("browser.search.suggest.enabled", true);
pref("browser.search.suggest.enabled", false);
pref("browser.history.grouping", "day");
pref("browser.sessionhistory.max_entries", 50);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

View File

@ -220,7 +220,14 @@
<a href="" link="about:credits" onclick="visitLink(event);">&credit.contributors;</a>
&credit.postthanks;
</div>
<div class="creditsGroup">
<ul>
<li>rn10950</li>
<li>Nathan Lineback</li>
<li>The Crash Restore and <br /> Session Manager Developers</li>
<li>Roy Tam (roytam1)</li>
</ul>
</div>
<div class="creditsGroup">
<ul>
<li>Josh Aas</li>

View File

@ -505,14 +505,30 @@ var nsBrowserContentHandler = {
get startPage() {
var prefb = Components.classes["@mozilla.org/preferences-service;1"]
.getService(nsIPrefBranch);
var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
.getService(Components.interfaces.nsIURLFormatter);
var uri = prefb.getComplexValue("browser.startup.homepage",
var uri;
try {
uri = prefb.getComplexValue("browser.startup.homepage",
nsIPrefLocalizedString).data;
} catch(e) { }
if (!uri) {
prefb.clearUserPref("browser.startup.homepage");
uri = prefb.getComplexValue("browser.startup.homepage",
try {
prefb.clearUserPref("browser.startup.homepage");
uri = prefb.getComplexValue("browser.startup.homepage",
nsIPrefLocalizedString).data;
} catch (e) { }
}
if (! uri) {
try {
uri = formatter.formatURLPref("browser.startup.homepage");
if (uri == "about:blank") uri = "";
return uri;
} catch (e) { }
}
var count;

View File

@ -166,6 +166,7 @@ var gMainPane = {
{
var homePage = document.getElementById("browser.startup.homepage");
homePage.value = homePage.defaultValue;
alert(homePage.value);
},
// DOWNLOADS

View File

@ -72,6 +72,9 @@
<preference id="pref.browser.homepage.disable_button.bookmark_page"
name="pref.browser.homepage.disable_button.bookmark_page"
type="bool"/>
<preference id="rzHome.autofocus"
name="rzHome.autofocus"
type="bool"/>
<!-- Downloads -->
<preference id="browser.download.manager.showWhenStarting"
@ -146,6 +149,12 @@
id="restoreDefaultHomePage"
preference="pref.browser.homepage.disable_button.restore_default"/>
</hbox>
<hbox align="center">
<checkbox id="rzHomeAutofocus"
label="&rzHomeAutofocus.label;"
accesskey="&rzHomeAutofocus.accesskey;"
prefstring="rzHome.autofocus"/>
</hbox>
</groupbox>
<!-- Downloads -->

View File

@ -1 +1 @@
2.0.0.2
2.2

View File

@ -2,8 +2,5 @@
<!ENTITY copyright "Credits">
<!ENTITY aboutLink "&lt; About &brandFullName;">
<!ENTITY aboutVersion "version">
<!ENTITY copyrightText "&#169;1998-2007 Contributors. All Rights Reserved. Firefox and the
Firefox logos are trademarks of the Mozilla Foundation. All rights
reserved. Some trademark rights used under license from The
Charlton Company.">
<!ENTITY copyrightText "&#169;1998-2018 Contributors. All Rights Reserved.">
<!ENTITY cmdClose.macKey "W">

View File

@ -12,8 +12,10 @@
<!ENTITY useMultiple.label "Use Current Pages">
<!ENTITY useBookmark.label "Use Bookmark">
<!ENTITY useBookmark.accesskey "B">
<!ENTITY restoreDefault.label "Restore to Default">
<!ENTITY restoreDefault.label "Use RetroZilla Home">
<!ENTITY restoreDefault.accesskey "R">
<!ENTITY rzHomeAutofocus.label "Automatically focus search bar on RetroZilla Home">
<!ENTITY rzHomeAutofocus.accesskey "t">
<!ENTITY downloads.label "Downloads">

View File

@ -1,26 +1,44 @@
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
It will be read and overwritten.
Do Not Edit! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><A HREF="http://en-US.add-ons.mozilla.com/en-US/firefox/bookmarks/" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M%2F3AAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAPkSURBVHjaYmAAgrjyOnOGiKxqxT9%2F%2FvwHCCCGuNJKLpAo49KTL%2F5%2F%2F8PMABBADJFZFWwXnn%2F%2FDxJYeOLNf0aQ9AIg48%2Ff%2Fwwfvv1hAAggZpBAYlWdnrqJLcPVE4e%2Bsuy7%2FfH%2F%2B88%2FGdjY2Bj%2BcCqHMey6%2Ben%2F379%2F%2F%2F8B6unZ9ew%2Fy54jV249f6%2Bm9uXnX4Y9q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qA1CHElJDhGdCGWsDkYY%2FTJh3lUelu384yTlzrtgDWVaggvG8qhDnYcEwwWi0wET%2FTNTh9Gh%2FvVn7v%2B2I%2BHlpWXS59ORgfOr7UGRkVNMUAWPtCMnHdbjjATFNKJeKpdLZYQY0crDzLUvfbHxdqfllj6a7p2VVjUqyGhYwPpZFqxYlf6hZ%2F7X3c736%2Fv4LV1blv94gEvsAAAAASUVORK5CYII%3D" ID="rdf:#$CnoJ1">Get Bookmark Add-ons</A>
<HR>
<DT><H3 PERSONAL_TOOLBAR_FOLDER="true" ID="rdf:#$FvPhC3">Bookmarks Toolbar Folder</H3>
<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
<DT><H3 PERSONAL_TOOLBAR_FOLDER="true" ID="NC:PersonalToolbarFolder">Personal Toolbar Folder</H3>
<DL><p>
<DT><A HREF="http://en-US.www.mozilla.com/en-US/firefox/central/" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" ID="rdf:#$GvPhC3">Getting Started</A>
<DT><A HREF="http://en-US.fxfeeds.mozilla.com/en-US/firefox/livebookmarks/" FEEDURL="http://en-US.fxfeeds.mozilla.com/en-US/firefox/headlines.xml" ID="rdf:#$HvPhC3">Latest Headlines</A>
<DT><A HREF="https://rn10950.github.io/RetroZillaWeb/">RetroZilla</A>
<DT><A HREF="http://www.mozillazine.org/">mozillaZine</A>
<DT><A HREF="http://www.mozdev.org/">mozdev.org</A>
</DL><p>
<DT><H3>Mozilla Project</H3>
<DL><p>
<DT><H3>mozilla.org</H3>
<DL><p>
<DT><A HREF="http://www.mozilla.org/">The Mozilla Organization</A>
<DT><A HREF="http://retrozilla.no-ip.org">RetroZilla Project</a>
<DT><A HREF="http://www.mozilla.org/products/">Mozilla Products</A>
<DT><A HREF="http://www.mozilla.org/feedback.html">Feedback</A>
</DL><p>
<DT><H3>Community & Support</H3>
<DL><p>
<DT><A HREF="http://www.mozillazine.org/">mozillaZine</A>
<DT><A HREF="http://forums.mozillazine.org/viewforum.php?f=40">SeaMonkey Support (mozillaZine)</A>
<DT><A HREF="http://www.mozdev.org/">mozdev.org</A>
<DT><A HREF="http://plugindoc.mozdev.org/">Mozilla Plug-in Information (mozdev)</A>
<DT><A HREF="http://extensionroom.mozdev.org/">Mozilla Extensions (mozdev)</A>
</DL><p>
</DL><p>
<DT><H3>Search the Web</H3>
<DL><p>
<DT><A HREF="http://www.google.com/">Google</A>
<DT><A HREF="http://groups.google.com/">Google Groups</A>
<DT><A HREF="http://news.google.com/">Google News</A>
</DL><p>
<HR>
<DT><H3 ID="rdf:#$ZvPhC3">Mozilla Firefox</H3>
<DL><p>
<DT><A HREF="http://en-US.www.mozilla.com/en-US/firefox/help/" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" ID="rdf:#$22iCK1">Help and Tutorials</A>
<DT><A HREF="http://en-US.www.mozilla.com/en-US/firefox/customize/" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8D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W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" ID="rdf:#$52iCK1">About Us</A>
</DL><p>
<!-- Google search via "?" in the urlbar -->
<DT><A HREF="http://www.google.com/search?q=%s" ADD_DATE="1507679199" SHORTCUTURL="?" LAST_CHARSET="UTF-8" ID="rdf:#$DfKAE2">Internet Search</A>
<DT><A HREF="https://classic.startpage.com//do/search?&query=%s" ADD_DATE="1507685020" SHORTCUTURL="?sp" LAST_CHARSET="UTF-8" ID="rdf:#$PfKAE2">Startpage Web Search</A>
</DL><p>

4
configure vendored
View File

@ -13092,7 +13092,7 @@ EOF
browser)
MOZ_APP_NAME=rzbrowser
MOZ_APP_DISPLAYNAME=RetroZilla
MOZ_APP_DISPLAYNAME=RetroZilla Browser
MOZ_XUL_APP=1
MOZ_PHOENIX=1
MOZ_SAFE_BROWSING=1
@ -13397,7 +13397,7 @@ if test "${enable_official_branding+set}" = set; then
case "$MOZ_BUILD_APP" in
browser)
MOZ_BRANDING_DIRECTORY=other-licenses/branding/firefox
MOZ_APP_DISPLAYNAME=Firefox
MOZ_APP_DISPLAYNAME=RetroZilla
;;
calendar)

View File

@ -4324,7 +4324,7 @@ suite)
browser)
MOZ_APP_NAME=rzbrowser
MOZ_APP_DISPLAYNAME=rxbrowser
MOZ_APP_DISPLAYNAME=RetroZilla Browser
MOZ_XUL_APP=1
MOZ_PHOENIX=1
MOZ_SAFE_BROWSING=1
@ -4580,7 +4580,7 @@ MOZ_ARG_ENABLE_BOOL(official-branding,
[case "$MOZ_BUILD_APP" in
browser)
MOZ_BRANDING_DIRECTORY=other-licenses/branding/firefox
MOZ_APP_DISPLAYNAME=Firefox
MOZ_APP_DISPLAYNAME=RetroZilla
;;
calendar)

View File

@ -9,7 +9,7 @@ Do Not Edit! -->
<DL><p>
<DT><H3 PERSONAL_TOOLBAR_FOLDER="true" ID="NC:PersonalToolbarFolder">Personal Toolbar Folder</H3>
<DL><p>
<DT><A HREF="http://retrozilla.no-ip.org">RetroZilla</A>
<DT><A HREF="https://rn10950.github.io/RetroZillaWeb/">RetroZilla</A>
<DT><A HREF="http://www.mozillazine.org/">mozillaZine</A>
<DT><A HREF="http://www.mozdev.org/">mozdev.org</A>
</DL><p>

View File

@ -131,7 +131,7 @@ DEFINES += -DNSS_ENABLE_ECC
# Use local includes because they are inserted before INCLUDES
# so that Mozilla's nss.h is used, not glibc's
LOCAL_INCLUDES += $(NSS_CFLAGS)
LOCAL_INCLUDES += $(NSS_CFLAGS) -DFORCE_PR_LOG -DPR_LOGGING=1
EXTRA_DSO_LDOPTS += \
$(MOZ_UNICHARUTIL_LIBS) \

View File

@ -0,0 +1,82 @@
/* 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/. */
#rzLogo {
display: block;
margin-left: auto;
margin-right: auto;
}
h1 {
text-align: center;
padding-top: 10px;
}
h2 {
padding-top: 20px;
}
hr {
margin-top: 20px;
}
p {
padding-left: 20px;
}
/* about.css */
html {
background: -moz-Dialog;
padding: 0 1em;
font: message-box;
}
body {
color: -moz-FieldText;
position: relative;
min-width: 500px;
max-width: 50em;
margin: 4em auto;
border: 1px solid ThreeDShadow;
-moz-border-radius: 10px;
padding: 3em;
-moz-padding-start: 30px;
background: -moz-Field;
}
.aboutPageWideContainer {
max-width: 80%;
}
#aboutLogoContainer {
border: 1px solid ThreeDLightShadow;
width: 300px;
margin-bottom: 2em;
}
img {
border: 0;
}
#version {
font-weight: bold;
color: #909090;
margin: -24px 0 9px 17px;
}
ul {
margin: 0;
-moz-margin-start: 1.5em;
padding: 0;
list-style: square;
}
ul > li {
margin-top: .5em;
}
th, td {
padding: 0 5px;
}
.columns {
-moz-column-width: 20em;
-moz-column-gap: 3em;
}

View File

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- 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/. -->
<title>RetroZilla Changelog</title>
<!--<link rel="stylesheet" type="text/css" href="aboutChangelog.css">-->
<link rel="stylesheet" type="text/css" href="chrome://global/content/aboutChangelog.css">
</head>
<body>
<img src="about:logopng" id="rzLogo">
<!--<img src="https://www.mozilla.org/images/logo-star.gif" id="rzLogo">-->
<!-- current release -->
<h1>RetroZilla 2.2</h1>
<h3>New Features</h3>
<ul>
<li>Updated NSS with TLS 1.2 support</li>
<li>Various internal URLs have been updated to reflect current RetroZilla website</li>
<li>Various security fixes</li>
<li>Various build system changes</li>
<li>RetroZilla Browser (Firefox) code added</li>
</ul>
<h3>Release Notes</h3>
<p>
This build was released to bring TLS 1.2 support to users without having
them wait until the Gecko code is done being worked on.
</p>
<!-- past releases -->
<hr>
<h2>RetroZilla 2.1</h2>
<h3>New Features</h3>
<ul>
<li>Updated default tab and security preferences</li>
<li>Disabled sidebar opening by default when searching from address bar </li>
<li>Added StartPage search engine</li>
<li>&quot;? &lt;query&gt;&quot; from the urlbar initiates a Google Search</li>
<li>&quot;?sp &lt;query&gt;&quot; from the urlbar initiates a StartPage Search</li>
<li>RetroZilla Home checks to see if a newer build is available</li>
<li>Various internal URLs have been updated to reflect current RetroZilla website</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Copyright date on about:home updates dynamically.</li>
</ul>
<h3>Release Notes</h3>
<p>
Due to the long gap between the time RetroZilla was last worked on and now,
We decided to release one last minor update before the work on Gecko begins.
The new address bar search keywords may not work unless you have a new profile
created after the release of RetroZilla 2.1. We also added an update notifier
on the RetroZilla home page (about:home) to notify users that don't follow the
MSFN threads that a new version is out.
</p>
<!-- -->
<hr>
<h2>RetroZilla 2.0</h2>
<h3>New Features</h3>
<ul>
<li>New Home Page: about:home.</li>
<li>about:changelog.</li>
<li>Session Manager and Crash Restore system</li>
<li>Updated internal URLs to reflect new website</li>
<li>Added Get Extensions link to Tools menu and Contribute link to Help menu</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>More &quot;M&quot; logos replaced.</li>
</ul>
<h3>Release Notes</h3>
<p>
This should be our last major features-only and rebrand release. Starting with 3.0, we will upgrade
the Gecko core to be more compliant for the modern web. We would like to thank the developers of the
Crash Recovery and Session Manager extensions for a platform to build on for our new Session Restore
feature. Users who already have any these extensions installed are advised to remove them.
</p>
<!-- -->
<hr>
<h2>RetroZilla 1.1</h2>
<h3>New Features</h3>
<ul>
<li>The rebrand from SeaMonkey to RetroZilla was finished.</li>
<li>New throbber with the Mozilla &quot;M&quot; logo changed to &quot;RZ&quot; for RetroZilla.</li>
<li>Windows 9x and NT 4 now display a proper OS string in the user agent.</li>
<li>RetroZilla now has its own profile folder inside of the application data directory. Old Mozilla Suite/SeaMonkey
1.x profiles will no longer work.</li>
<li>New about:credits page featuring both RetroZilla and Mozilla contributors.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>A slight bug causing some elements to not display properly was fixed.</li>
<li>Installer works properly on Windows NT.</li>
</ul>
<h3>Release Notes</h3>
<p>
Our plan for the future is to ship UX-enhancing features in 2.0, and then start backporting CSS changes in
3.0, so the RetroZilla version numbers will match the Firefox version number that has CSS parity with RetroZilla.
</p>
<!-- -->
<h2>RetroZilla 1.0</h2>
<h3>New Features</h3>
<ul>
<li>Support for some HTML5 elements was added.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>A HTTPS bug was fixed</li>
</ul>
<h3>Release Notes</h3>
<p>
This is the first release of RetroZilla, mostly just a rebrand of SeaMonkey 1.1.19. (Firefox 2.0.0.2)
</p>
</body>
</html>

View File

@ -0,0 +1,48 @@
/* 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/. */
body, html {
border: 0px;
margin: 0px;
}
#rzLogo {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 60px;
margin-bottom: 20px;
}
#searchContainer {
width: 60%;
margin-left: auto;
margin-right: auto;
display: block;
text-align: center;
}
#rzSearch {
width: 70%;
}
#rzFooter {
position: absolute;
bottom: 0px;
width: 100%;
}
#rzFooterText {
text-align: center;
}
/* updater styles */
#updateNotifier {
display: none;
text-align: center;
font-weight: bold;
}
.showUpdate {
display: block !important;
}
a:link { color: blue; }
a:hover { color: blue; }
a:active { color: blue; }
a:visited { color: blue; }

View File

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>RetroZilla Home</title>
<link rel="stylesheet" type="text/css" href="chrome://global/content/aboutHome.css">
<!--<script src="aboutHome.js"></script>-->
<script src="chrome://global/content/aboutHome.js" type="application/x-javascript"></script>
</head>
<body>
<div id="logoContainer">
<img src="chrome://global/content/logo.png" id="rzLogo" alt="RetroZilla Logo">
</div>
<div id="searchContainer">
<!-- add input box with a keypress event for the enter key to trigger submit button -->
<input type="text" name="rzSearch" id="rzSearch" onkeydown = "if (event.keyCode == 13)
document.getElementById('rzSearchSubmit').click()">
<button id="rzSearchSubmit" onClick="rzSearch();">Search</button>
</div>
<div id="rzFooter">
<p id="updateNotifier">
<a href="https://github.com/rn10950/retrozilla/releases/latest">
New RetroZilla Version Available
</a>
</p>
<p id="rzFooterText">
<a href="https://rn10950.github.io/RetroZillaWeb/" class="rzFooterlink">
RetroZilla
</a>
-
Copyright 1998-<span id="currentYear"></span>,
<a href="about:credits" class="rzFooterLink">
Contributors
</a>
</p>
</div>
</body>
</html>

View File

@ -0,0 +1,77 @@
/* 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/. */
// about:home JS
// XPCOM preferences integration
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
var aboutHomeAutofocus = prefs.getBoolPref("rzHome.autofocus");
var searchEngineURL = prefs.getCharPref("keyword.URL");
var currentUsedVersion = prefs.getIntPref("retrozilla.version");
//check to see if custom search pref url exists
var prefServiceBranch = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService).getBranch("");
if(prefServiceBranch.getPrefType('rzHome.customsearch')){
//key exist!
var searchEngineURL = prefs.getCharPref("rzHome.customsearch");
} else {
// use Google
var searchEngineURL = "http://www.google.com/search?q=";
}
// autofocus function
function autoFocus() {
document.getElementById("rzSearch").focus();
}
// update checker function
function checkForUpdate() {
var img = document.createElement("img");
img.onload = function() {
// connected
// add JS file with newest version # to page
var h = document.getElementsByTagName('head').item(0);
var newScript = document.createElement('script');
newScript.src = "https://raw.githubusercontent.com/rn10950/RetroZilla/master/update/currentReleaseVersion.js";
h.appendChild(newScript);
// wait for script to load
setTimeout(function () {
//alert(currentReleaseVersion()); // used for debug
//var currentUsedVersion = 1; // used for debug
if(currentUsedVersion < currentReleaseVersion()) {
// used version older or equal
//alert("using older version"); // used for debug
document.getElementById("updateNotifier").setAttribute("class", "showUpdate");
}
}, 500);
};
img.onerror = function() {
// not connected
};
img.src = "https://raw.githubusercontent.com/rn10950/RetroZilla/master/update/ping.gif";
}
// onload function (used to allow for autofocus)
window.onload = function() {
if (aboutHomeAutofocus == true) {
autoFocus();
}
//alert(currentUsedVersion);
// set current year
var d = new Date();
var cYear = d.getFullYear();
document.getElementById("currentYear").innerHTML = cYear;
checkForUpdate();
};
// function that runs when the "Search" button is clicked
function rzSearch() {
var searchQuery = document.getElementById("rzSearch").value;
var searchURL = searchEngineURL + searchQuery;
//alert("Location: " + searchURL); // for debug purposes
window.location.replace(searchURL);
}

View File

@ -2,6 +2,12 @@ toolkit.jar:
% content global %content/global/ xpcnativewrappers=yes
% content global-platform %content/global-platform/ platform xpcnativewrappers=yes
% content global-region %content/global-region/ xpcnativewrappers=yes
content/global/aboutHome.js (aboutHome.js)
content/global/aboutHome.css (aboutHome.css)
content/global/aboutHome.html (aboutHome.html)
content/global/logo.png (logo.png)
content/global/aboutChangelog.html (aboutChangelog.html)
content/global/aboutChangelog.css (aboutChangelog.css)
content/global/XPCNativeWrapper.js (XPCNativeWrapper.js)
* content/global/xul.css (xul.css)
* content/global/about.xhtml (about.xhtml)

BIN
toolkit/content/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -40,7 +40,7 @@
#expand pref("general.useragent.extra.__MOZ_APP_NAME__", "__MOZ_APP_DISPLAYNAME__/__MOZ_APP_VERSION__ SeaMonkey/1.1.19 Firefox/2.0.20");
pref("rzHome.autofocus", true);
pref("retrozilla.version", 210);
pref("retrozilla.version", 220);
// RETROZILLA SESSION RESTORE PREFERENCES
pref("extensions.crashrecovery.interval", 10000);

View File

@ -1 +1 @@
2.1
2.2

View File

@ -22,7 +22,7 @@
<!ENTITY useCurrentGroup.accesskey "G">
<!ENTITY browseFile.label "Choose File...">
<!ENTITY browseFile.accesskey "C">
<!ENTITY useDefault.label "Restore Default">
<!ENTITY useDefault.label "Use RetroZilla Home">
<!ENTITY useDefault.accesskey "R">
<!ENTITY rzHomeAutofocus.label "Automatically focus search bar on RetroZilla Home">
<!ENTITY rzHomeAutofocus.accesskey "t">

View File

@ -101,7 +101,7 @@ h1 {
<hr />
<ul>
<li>Copyright &copy; 1998&ndash;2010, 2015-2017 by <a href="about:credits">Contributors</a> to
<li>Copyright &copy; 1998&ndash;2010, 2015-2018 by <a href="about:credits">Contributors</a> to
the Mozilla and RetroZilla codebases under the <a href="about:license">Mozilla Public License
and other licenses</a>. All Rights Reserved.</li>

View File

@ -13,7 +13,23 @@
<img src="about:logopng" id="rzLogo">
<!--<img src="https://www.mozilla.org/images/logo-star.gif" id="rzLogo">-->
<!-- current release -->
<h1>RetroZilla 2.1</h1>
<h1>RetroZilla 2.2</h1>
<h3>New Features</h3>
<ul>
<li>Updated NSS with TLS 1.2 support</li>
<li>Various internal URLs have been updated to reflect current RetroZilla website</li>
<li>Various security fixes</li>
<li>Various build system changes</li>
<li>RetroZilla Browser (Firefox) code added</li>
</ul>
<h3>Release Notes</h3>
<p>
This build was released to bring TLS 1.2 support to users without having
them wait until the Gecko code is done being worked on.
</p>
<!-- past releases -->
<hr>
<h2>RetroZilla 2.1</h2>
<h3>New Features</h3>
<ul>
<li>Updated default tab and security preferences</li>
@ -37,7 +53,7 @@
on the RetroZilla home page (about:home) to notify users that don't follow the
MSFN threads that a new version is out.
</p>
<!-- past releases -->
<!-- -->
<hr>
<h2>RetroZilla 2.0</h2>
<h3>New Features</h3>

View File

@ -33,6 +33,7 @@
<li>rn10950</li>
<li>Nathan Lineback</li>
<li>The Crash Restore and Session Manager Developers</li>
<li>Roy Tam (roytam1)</li>
</ul>
<h1>Mozilla Contributors</h1>

View File

@ -24,7 +24,7 @@
</a>
</p>
<p id="rzFooterText">
<a href="http://retrozilla.no-ip.org" class="rzFooterlink">
<a href="https://rn10950.github.io/RetroZillaWeb/" class="rzFooterlink">
RetroZilla
</a>
-