add about:changelog

This commit is contained in:
rn10950 2016-01-16 03:40:57 -05:00
parent fb808f08ec
commit 0bec2a7585
6 changed files with 157 additions and 0 deletions

View File

@ -1291,6 +1291,7 @@ nsScriptSecurityManager::GetBaseURIScheme(nsIURI* aURI,
NS_ENSURE_SUCCESS(rv, rv);
if (path.EqualsLiteral("blank") ||
path.EqualsLiteral("mozilla") ||
path.EqualsLiteral("changelog") ||
path.EqualsLiteral("retrozilla") ||
path.EqualsLiteral("logo") ||
path.EqualsLiteral("license") ||

View File

@ -1008,6 +1008,11 @@ static const nsModuleComponentInfo gNetModuleInfo[] = {
NS_ABOUT_MODULE_CONTRACTID_PREFIX "config",
nsAboutRedirector::Create
},
{ "about:changelog",
NS_ABOUT_REDIRECTOR_MODULE_CID,
NS_ABOUT_MODULE_CONTRACTID_PREFIX "changelog",
nsAboutRedirector::Create
},
{ "about:credits",
NS_ABOUT_REDIRECTOR_MODULE_CID,
NS_ABOUT_MODULE_CONTRACTID_PREFIX "credits",

View File

@ -63,6 +63,7 @@ static RedirEntry kRedirMap[] = {
{ "credits", "chrome://global/content/aboutCredits.html", PR_TRUE },
{ "mozilla", "chrome://global/content/mozilla.xhtml", PR_TRUE },
{ "retrozilla", "chrome://global/content/retrozilla.xhtml", PR_TRUE },
{ "changelog", "chrome://global/content/aboutChangelog.html", PR_TRUE },
{ "plugins", "chrome://global/content/plugins.html", PR_FALSE },
{ "config", "chrome://global/content/config.xul", PR_FALSE },
{ "home", "chrome://global/content/aboutHome.html", PR_FALSE },

View File

@ -22,6 +22,8 @@ toolkit.jar:
content/global/aboutAbout.html (resources/content/aboutAbout.html)
content/global/aboutCredits.html (resources/content/aboutCredits.html)
content/global/aboutCredits.css (resources/content/aboutCredits.css)
content/global/aboutChangelog.html (resources/content/aboutChangelog.html)
content/global/aboutChangelog.css (resources/content/aboutChangelog.css)
content/global/aboutHome.html (resources/content/aboutHome.html)
content/global/aboutHome.css (resources/content/aboutHome.css)
content/global/aboutHome.js (resources/content/aboutHome.js)

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,66 @@
<!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">
</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.0</h1>
<h3>New Features</h3>
<ul>
<li>New Home Page: about:home.</li>
<li>about:changelog.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>More &quot;M&quot; logos replaced.</li>
</ul>
<h3>Release Notes</h3>
<p>
placeholder
</p>
<!-- past releases -->
<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>