Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
20 changed files with 1305 additions and 331 deletions
|
|
@ -657,6 +657,7 @@ Camera.prototype.release = function(done) {
|
|||
debug('failed to release hardware');
|
||||
self.ready();
|
||||
self.releasing = false;
|
||||
self.emit('released');
|
||||
done(err);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -633,7 +633,7 @@
|
|||
Math.ceil(visibleChildren / cols)) / pageHeight) *
|
||||
pageHeight) + (scrollHeight - pageHeight);
|
||||
} else {
|
||||
gridHeight = (Math.ceil(visibleChildren / cols) + 1) * iconHeight;
|
||||
gridHeight = Math.ceil(visibleChildren / cols) * iconHeight;
|
||||
}
|
||||
|
||||
this.pageHeight = pageHeight;
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 3.3 KiB |
|
|
@ -4,7 +4,7 @@
|
|||
"launch_path": "/index.html",
|
||||
"type": "certified",
|
||||
"icons": {
|
||||
"512": "/icon.png"
|
||||
"128": "/icon.png"
|
||||
},
|
||||
"permissions": {
|
||||
"browser": {},
|
||||
|
|
|
|||
|
|
@ -7,17 +7,20 @@
|
|||
|
||||
<div>
|
||||
<header>
|
||||
<h2> Mozilla </h2>
|
||||
<h2> Vulpes / Mozilla </h2>
|
||||
</header>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="menu-item" href="https://vulpes-os.org/system-privacy.php"><span>Vulpes OS</span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="menu-item privacy-menuitem privacy-browserOS" href="https://www.mozilla.org/privacy/firefox-os/">
|
||||
<span data-l10n-id="brandShortName"></span>
|
||||
<span>Firefox OS (Mozilla)</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="menu-item privacy-menuitem privacy-marketPlace" href="https://marketplace.firefox.com/privacy-policy">
|
||||
<span>Marketplace</span>
|
||||
<a class="menu-item privacy-menuitem privacy-marketPlace" href="https://vulpes-os.org/privacy.php">
|
||||
<span>Vulpes Marketplace</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@
|
|||
</header>
|
||||
<ul>
|
||||
<li id="developer-infos" class="developer-infos">
|
||||
<a target="_blank" href="http://github.com/mozilla-b2g/gaia/">
|
||||
<a target="_blank" href="https://github.com/mozilla-b2g/gaia/">
|
||||
<span dir="auto">The Gaia Team</span>
|
||||
<small dir="auto">http://github.com/mozilla-b2g/gaia/</small>
|
||||
<small dir="auto">https://github.com/mozilla-b2g/gaia/</small>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<gaia-switch name="browser.private.default">
|
||||
<label data-l10n-id="privateBrowsing"></label>
|
||||
<details data-l10n-id="privateBrowsingDetails"></details>
|
||||
<a href="https://support.mozilla.org/kb/private-browsing-firefox-os" data-l10n-id="learn-more"></a>
|
||||
<a href="https://vulpes-os.org/browser-help.php#private" data-l10n-id="learn-more"></a>
|
||||
</gaia-switch>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
<label data-l10n-id="trackingProtection"></label>
|
||||
<details data-l10n-id="trackingProtectionDetails"></details>
|
||||
<a data-l10n-id="learn-more"
|
||||
href="https://support.mozilla.org/kb/tracking-protection-firefox-os"></a>
|
||||
href="https://vulpes-os.org/browser-help.php#tracking"></a>
|
||||
</gaia-switch>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<p data-l10n-id="crash-reports-description-2"></p>
|
||||
<p>
|
||||
<span data-l10n-id="crash-reports-description-3-start"></span><a
|
||||
href="https://www.mozilla.org/privacy/" data-l10n-id="crash-reports-description-3-privacy" class="link-text"
|
||||
href="https://vulpes-os.org/system-privacy.php#reports" data-l10n-id="crash-reports-description-3-privacy" class="link-text"
|
||||
></a><span data-l10n-id="crash-reports-description-3-end"></span>
|
||||
</p>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<p data-l10n-id="doNotTrack-dd1"></p>
|
||||
<p data-l10n-id="doNotTrack-dd2"></p>
|
||||
<p>
|
||||
<a href="http://dnt.mozilla.org" data-l10n-id="learn-more" class="link-text"></a>
|
||||
<a href="https://vulpes-os.org/browser-help.php#dnt" data-l10n-id="learn-more" class="link-text"></a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
<span data-l10n-id="findmydevice-settings-description"></span>
|
||||
<br>
|
||||
<br>
|
||||
<a class="link-text" href="https://find.firefox.com">find.firefox.com</a>
|
||||
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
</p>
|
||||
<p class="description">
|
||||
<span data-l10n-id="learn-more-privacy">
|
||||
<a href="http://www.mozilla.org/privacy/firefox-os" class="link-text"></a>
|
||||
<a href="https://vulpes-os.org/system-privacy.php#telemetry" class="link-text"></a>
|
||||
</span>
|
||||
</p>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ define(function(require) {
|
|||
* refer to the JSON File Data.
|
||||
*/
|
||||
this._callSupportInfo = null;
|
||||
var url = 'https://vulpes-os.org/';
|
||||
var url = 'https://vulpes-os.org/help.php';
|
||||
this._elements.userGuide.addEventListener('click', () => {
|
||||
this._elements.userGuide.blur();
|
||||
var activity = new window.MozActivity({
|
||||
|
|
@ -57,7 +57,7 @@ define(function(require) {
|
|||
callback(this._supportInfo);
|
||||
}.bind(this)).catch(function(error) {
|
||||
console.warn('Support information:', error);
|
||||
callback({onlinesupport: {title: 'Vulpes OS', href: 'https://vulpes-os.org/'}, callsupport: []});
|
||||
callback({onlinesupport: {title: 'Vulpes OS', href: 'https://vulpes-os.org/help.php'}, callsupport: []});
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ define(function(require) {
|
|||
this._elements.passcodeInput.maxLength = 8;
|
||||
this._elements.passcodeInput.oninput =
|
||||
this._onPasscodeInput.bind(this);
|
||||
this._elements.passcodeContainer.setAttribute('data-vulpes-keep-input', '');
|
||||
this._elements.passcodeContainer.onclick =
|
||||
this._onPasscodeContainerClick.bind(this);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,24 +1,12 @@
|
|||
<html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Vulpes OS source code</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Obtaining Source Code</h1>
|
||||
|
||||
<p>Some open source licenses which cover code used in Boot2Gecko require
|
||||
that the code be made available to users. This document explains how to obtain
|
||||
that source code. It should be updated or replaced on any shipping device
|
||||
with a document appropriate to the code used to build that device. If you
|
||||
see this message on a shipping device you should remind the manufacturer of
|
||||
their obligations under the open source licenses.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Instructions for downloading and compiling the open source code for copies
|
||||
of Boot2Gecko made available by Mozilla can be found on the
|
||||
<a href="https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS" target="_blank">Mozilla Developer Network</a>.
|
||||
<p>
|
||||
|
||||
<h1>Vulpes OS source code</h1>
|
||||
<p>Browse the source and release notes in the <a href="https://nnsprod.com/git/OverSu/VulpesOS" target="_blank" rel="noopener">Vulpes OS repository</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@
|
|||
this product is available under one of the following licenses. These licenses
|
||||
give you the freedom to run the software, study it, change it to meet your
|
||||
needs, and share your changes with others. You can
|
||||
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Building_and_installing_Firefox_OS" target="_blank">download the source code</a>
|
||||
from Mozilla. Please consult the source to see which license applies to which
|
||||
<a href="https://nnsprod.com/git/OverSu/VulpesOS" target="_blank">download the source code</a>
|
||||
from the Vulpes OS repository. Please consult the source to see which license applies to which
|
||||
parts of the code.
|
||||
</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -300,6 +300,10 @@
|
|||
this.handleError(evt);
|
||||
break;
|
||||
|
||||
case '_iconchange':
|
||||
this.setSiteIcon();
|
||||
break;
|
||||
|
||||
case '_locationchange':
|
||||
this.hidePinDialogCard();
|
||||
this.handleLocationChange();
|
||||
|
|
@ -730,6 +734,7 @@
|
|||
this.app.element.addEventListener('mozbrowsermetachange', this);
|
||||
this.app.element.addEventListener('mozbrowserscrollareachanged', this);
|
||||
this.app.element.addEventListener('_locationchange', this);
|
||||
this.app.element.addEventListener('_iconchange', this);
|
||||
this.app.element.addEventListener('_namechanged', this);
|
||||
this.app.element.addEventListener('_securitychange', this);
|
||||
this.app.element.addEventListener('_loading', this);
|
||||
|
|
@ -789,6 +794,7 @@
|
|||
this.app.element.removeEventListener('mozbrowsererror', this);
|
||||
this.app.element.removeEventListener('mozbrowsermetachange', this);
|
||||
this.app.element.removeEventListener('_locationchange', this);
|
||||
this.app.element.removeEventListener('_iconchange', this);
|
||||
this.app.element.removeEventListener('_namechanged', this);
|
||||
this.app.element.removeEventListener('_loading', this);
|
||||
this.app.element.removeEventListener('_loaded', this);
|
||||
|
|
@ -1276,8 +1282,19 @@
|
|||
return;
|
||||
}
|
||||
|
||||
const generation = this.iconGeneration = (this.iconGeneration || 0) + 1;
|
||||
const favicon = Object.keys(this.app.favicons || {}).find(href => {
|
||||
try { return new URL(href).origin === new URL(this.app.config.url).origin; }
|
||||
catch (_) { return false; }
|
||||
});
|
||||
if (favicon) {
|
||||
this.siteIcon.style.backgroundImage = 'url(' + JSON.stringify(favicon) + ')';
|
||||
this._currentIconUrl = favicon;
|
||||
return;
|
||||
}
|
||||
this.app.getSiteIconUrl(ICON_SIZE)
|
||||
.then(iconObject => {
|
||||
if (generation !== this.iconGeneration) return;
|
||||
// We compare the original icon URL, otherwise there is a flickering
|
||||
// effect because a different object url is created each time.
|
||||
if (this._currentIconUrl !== iconObject.originalUrl) {
|
||||
|
|
@ -1286,6 +1303,7 @@
|
|||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
if (generation !== this.iconGeneration) return;
|
||||
this.siteIcon.style.backgroundImage = '';
|
||||
this.app.debug('setSiteIcon, error from getSiteIcon: %s', err);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -31,12 +31,10 @@
|
|||
break;
|
||||
|
||||
case 'connected':
|
||||
if (!this.manager.wifiManager.connectionInformation) {
|
||||
return;
|
||||
}
|
||||
var level = Math.min(Math.floor(
|
||||
this.manager.wifiManager
|
||||
.connectionInformation.relSignalStrength / 20), 4);
|
||||
var info = this.manager.wifiManager.connectionInformation;
|
||||
var strength = info && info.relSignalStrength;
|
||||
var level = Number.isFinite(strength) ?
|
||||
Math.max(0, Math.min(4, Math.floor(strength / 20))) : 0;
|
||||
this.show();
|
||||
if (icon.dataset.connecting) {
|
||||
delete icon.dataset.connecting;
|
||||
|
|
@ -54,7 +52,7 @@
|
|||
WifiIcon.prototype.view = function view() {
|
||||
return `<div id="statusbar-wifi"
|
||||
class="sb-icon sb-icon-wifi"
|
||||
data-level="4" hidden
|
||||
data-level="0" hidden
|
||||
role="listitem">
|
||||
</div>`;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -117,9 +117,9 @@
|
|||
var isManuallyRegular = activeApp && activeApp.url &&
|
||||
activeApp.url.includes('private=0');
|
||||
if (activeApp && (activeApp.isBrowser() || activeApp.isSearch())) {
|
||||
activeApp.isPrivate = activeApp.hasOwnProperty('isPrivate') ?
|
||||
activeApp.isPrivate :
|
||||
(Browser.privateByDefault && !isManuallyRegular);
|
||||
activeApp.isPrivate = activeApp.isPrivateBrowser() ||
|
||||
(activeApp.hasOwnProperty('isPrivate') ? activeApp.isPrivate :
|
||||
(Browser.privateByDefault && !isManuallyRegular));
|
||||
activeApp.navigate(url);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -205,7 +205,8 @@
|
|||
break;
|
||||
|
||||
case 'holdhome':
|
||||
if (!this.locked) {
|
||||
// The window manager also handles unlocks initiated outside this panel.
|
||||
if (!(Service.query('locked') ?? this.locked)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
[
|
||||
"Illus_Flow2_Blue.jpg",
|
||||
"Illus_Flow2_Orange@2.25x.jpg",
|
||||
"FX_Bolt.jpg",
|
||||
"FX_Leap.jpg",
|
||||
"FX_Rearing.jpg",
|
||||
|
|
@ -42,6 +41,5 @@
|
|||
"PH_Tree.jpg",
|
||||
"PH_TreeForest.jpg",
|
||||
"PH_Wheat.jpg",
|
||||
"PH_WhiteFlower.jpg",
|
||||
"Vulpes_Blue.png"
|
||||
"PH_WhiteFlower.jpg"
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue