Release Vulpes OS 2.7-preview.22

This commit is contained in:
OverSu 2026-10-22 20:42:26 +02:00
commit a138f97877
294 changed files with 515786 additions and 187 deletions

View file

@ -429,7 +429,8 @@ var CallHandler = (function callHandler() {
// Listening to the keyboard being shown
// Waiting for issue 787444 being fixed
window.onresize = function(e) {
if (window.innerHeight < 440) {
if (window.innerHeight < 440 &&
document.documentElement.dataset.vulpesLayout !== 'compact') {
NavbarManager.hide();
} else {
NavbarManager.show();

View file

@ -600,7 +600,8 @@
refreshGridSize: function() {
var children = this.icons.children;
var cols = this.settings.small ? 4 : 3;
var cols = document.documentElement.dataset.vulpesLayout === 'compact' ?
3 : (this.settings.small ? 4 : 3);
var visibleChildren = 0;
var firstVisibleChild = -1;

View file

@ -268,8 +268,14 @@ define(function(require) {
* @param {Integer} networkSignal
*/
updateNetworkSignal: function(network, networkSignal) {
var li = document.querySelector('li[data-ssid="' + network.ssid + '"]');
var icon = li.querySelector('aside');
if (!network) { return; }
var items = document.querySelectorAll('li[data-ssid]');
var li = Array.prototype.find.call(items, function(item) {
return item.dataset.ssid === network.ssid;
});
// Signal updates can arrive before the scan has populated the list.
var icon = li && li.querySelector('aside');
if (!icon) { return; }
// Clean previous state
icon.className = icon.className.replace(/level-\w*/, '');
var level = Math.min(Math.floor(networkSignal / 20), 4);

View file

@ -1191,6 +1191,18 @@
ModalDialog.selectOne(title, options, selected);
};
AppChrome.prototype.onShare = function ac_onShare() {
this.hideOverflowMenu();
var url = this._currentURL;
if (!url || !/^https?:\/\//i.test(url)) {
return;
}
return new MozActivity({
name: 'share',
data: { type: 'url', url: url }
});
};
AppChrome.prototype.showWindows = function ac_showWindows() {
window.dispatchEvent(
new CustomEvent('taskmanagershow',

View file

@ -441,6 +441,11 @@
*/
focus: function() {
if (this.active) {
// The keyboard may have been dismissed while this input kept focus.
// Refocusing must also notify the host input-method adapter.
if (window.VulpesNativeInput && document.activeElement === this.input) {
this.input.blur();
}
this.input.focus();
}
},

View file

@ -52,3 +52,18 @@ gaia-app-icon {
visibility: hidden;
height: 0;
}
/* Compact layouts can widen labels independently of the image. */
#subtitle {
width: var(--vulpes-label-width, auto);
margin-inline-start: var(--vulpes-label-offset, 0px);
}
#image-container > img {
display: var(--vulpes-icon-display, inline);
}
#title-container {
/* Visually hide compact labels without removing their accessible names. */
position: var(--vulpes-icon-title-position, static);
clip-path: var(--vulpes-icon-title-clip, none);
}

View file

@ -61,3 +61,59 @@
font-style: italic;
font-display: swap;
}
/* Native language names missing from Fira Sans. Subsets retain shaping tables. */
@font-face {
font-family: FiraSans;
src: url("languages/VulpesLanguageArabic-Regular.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+0628,U+0631,U+0639,U+064A;
}
@font-face {
font-family: FiraSans;
src: url("languages/VulpesLanguageBengali-Regular.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+0982,U+09A6,U+09AC,U+09B2,U+09B6,U+09BE,U+09C7;
}
@font-face {
font-family: FiraSans;
src: url("languages/VulpesLanguageDevanagari-Regular.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+0928,U+092A,U+0932,U+093E,U+0940,U+0947;
}
@font-face {
font-family: FiraSans;
src: url("languages/VulpesLanguageGurmukhi-Regular.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+0A1C,U+0A2A,U+0A2C,U+0A3E,U+0A40,U+0A70;
}
@font-face {
font-family: FiraSans;
src: url("languages/VulpesLanguageKhmer-Regular.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+1781,U+1798,U+179A,U+17C2,U+17D2;
}
@font-face {
font-family: FiraSans;
src: url("languages/VulpesLanguageCJK-Regular.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+4E2D,U+4F53,U+6587,U+65E5,U+672C,U+6B63,U+7B80,U+7E41,U+8A9E,U+9AD4,U+AD6D,U+C5B4,U+D55C;
}

View file

@ -0,0 +1,92 @@
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font
creation efforts of academic and linguistic communities, and to
provide a free and open framework in which fonts may be shared and
improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply to
any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software
components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to,
deleting, or substituting -- in part or in whole -- any of the
components of the Original Version, by changing formats or by porting
the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed,
modify, redistribute, and sell modified and unmodified copies of the
Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in
Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the
corresponding Copyright Holder. This restriction only applies to the
primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created using
the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,121 @@
[
{
"file": "VulpesLanguageArabic-Regular.woff2",
"source": "NotoSansArabic-Regular.ttf",
"sourceSha256": "bdff3e5659d67e67def05b33f749683b9376ae819d65d3dd62ac4640b3aaef48",
"attribution": {
"0": "Copyright 2022 The Noto Project Authors (https://github.com/notofonts/arabic)",
"5": "Version 2.013; ttfautohint (v1.8.4.16-eb64)",
"13": "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://openfontlicense.org",
"14": "https://openfontlicense.org"
},
"unicode": [
1576,
1585,
1593,
1610
]
},
{
"file": "VulpesLanguageBengali-Regular.woff2",
"source": "NotoSansBengali-Regular.ttf",
"sourceSha256": "b55c62ee531e3214da6c0701daecea89a52ba42db7d8206b92e6b51f397a3193",
"attribution": {
"0": "Copyright 2025 The Noto Project Authors (https://github.com/notofonts/bengali)",
"5": "Version 3.011; ttfautohint (v1.8.4.16-eb64)",
"13": "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://openfontlicense.org",
"14": "https://openfontlicense.org/"
},
"unicode": [
2434,
2470,
2476,
2482,
2486,
2494,
2503
]
},
{
"file": "VulpesLanguageDevanagari-Regular.woff2",
"source": "NotoSansDevanagari-Regular.ttf",
"sourceSha256": "4e3c66638958c3e2ab5d37f47a8deb89fffeb7be9985c665a519bbc7ba762313",
"attribution": {
"0": "Copyright 2022 The Noto Project Authors (https://github.com/notofonts/devanagari)",
"5": "Version 2.007; ttfautohint (v1.8.4.16-eb64)",
"13": "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL",
"14": "https://scripts.sil.org/OFL"
},
"unicode": [
2344,
2346,
2354,
2366,
2368,
2375
]
},
{
"file": "VulpesLanguageGurmukhi-Regular.woff2",
"source": "NotoSansGurmukhi-Regular.ttf",
"sourceSha256": "658d0207da305a1411c539a8b0bbeda64d4146e54fb4827facddb890b6b90d74",
"attribution": {
"0": "Copyright 2022 The Noto Project Authors (https://github.com/notofonts/gurmukhi)",
"5": "Version 2.004; ttfautohint (v1.8.4.7-5d5b)",
"13": "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL",
"14": "https://scripts.sil.org/OFL"
},
"unicode": [
2588,
2602,
2604,
2622,
2624,
2672
]
},
{
"file": "VulpesLanguageKhmer-Regular.woff2",
"source": "NotoSansKhmer-Regular.ttf",
"sourceSha256": "e66675f2082788f0511a714bef5a1748928294b38c8e286a96ea73a864b5e605",
"attribution": {
"0": "Copyright 2022 The Noto Project Authors (https://github.com/notofonts/khmer)",
"5": "Version 2.004; ttfautohint (v1.8.4.7-5d5b)",
"13": "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL",
"14": "https://scripts.sil.org/OFL"
},
"unicode": [
6017,
6040,
6042,
6082,
6098
]
},
{
"file": "VulpesLanguageCJK-Regular.woff2",
"source": "NotoSansCJK-Regular.ttc",
"sourceSha256": "b76b0433203017ca80401b2ee0dd69350349871c4b19d504c34dbdd80541690a",
"attribution": {
"0": "© 2014-2021 Adobe (http://www.adobe.com/).",
"5": "Version 2.004;hotconv 1.0.118;makeotfexe 2.5.65603",
"13": "This Font Software is licensed under the SIL Open Font License, Version 1.1. This Font Software is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the SIL Open Font License for the specific language, permissions and limitations governing your use of this Font Software.",
"14": "http://scripts.sil.org/OFL"
},
"unicode": [
20013,
20307,
25991,
26085,
26412,
27491,
31616,
32321,
35486,
39636,
44397,
50612,
54620
]
}
]

View file

@ -94,6 +94,20 @@ function getImageSize(blob, callback, error) {
else {
metadata.type = 'jpeg';
}
// Modern Gecko decodes EXIF orientation itself, including
// canvas.drawImage(). Gaia must not rotate those pixels twice.
if (metadata.rotation || metadata.mirrored) {
if (metadata.rotation === 90 || metadata.rotation === 270) {
var width = metadata.width;
metadata.width = metadata.height;
metadata.height = width;
}
metadata.rotation = 0;
metadata.mirrored = false;
// Embedded thumbnails need not carry the parent's EXIF tag.
// Generate a matching preview from the oriented full image.
delete metadata.preview;
}
callback(metadata);
},
error);

View file

@ -1,69 +1,73 @@
{
"search_providers": {
"yahoo": {
"title": "Yahoo",
"search": {
"url": "https://search.yahoo.com/yhs/search",
"params": {"p": "{searchTerms}"}
"params": {
"p": "{searchTerms}"
}
},
"suggest": {
"url": "https://search.yahoo.com/sugg/ff",
"params": {"command": "{searchTerms}", "output": "fxjson"}
"params": {
"command": "{searchTerms}",
"output": "fxjson"
}
}
},
"ddg": {
"title": "DuckDuckGo",
"search": {
"url": "https://duckduckgo.com/",
"params": {"t": "ffos", "q": "{searchTerms}"}
"params": {
"q": "{searchTerms}"
}
},
"suggest": {
"url": "https://ac.duckduckgo.com/ac/",
"params": {"q": "{searchTerms}", "type": "list"}
"params": {
"q": "{searchTerms}",
"type": "list"
}
}
},
"google": {
"title": "Google",
"search": {
"url": "https://www.google.com/search",
"params": {"q": "{searchTerms}"}
"params": {
"q": "{searchTerms}"
}
},
"suggest": {
"url": "https://www.google.com/complete/search",
"params": {"q": "{searchTerms}", "client": "firefox"}
"params": {
"q": "{searchTerms}",
"client": "firefox"
}
}
},
"bing": {
"title": "Bing",
"search": {
"url": "https://www.bing.com/search",
"params": {"q": "{searchTerms}"}
"params": {
"q": "{searchTerms}"
}
},
"suggest": {
"url": "https://www.bing.com/osjson.aspx",
"params": {"query": "{searchTerms}"}
"params": {
"query": "{searchTerms}"
}
}
}
},
"simConfigs": {
"310-000": {"en-US": {"defaultEngine": "yahoo"}},
"311-000": {"en-US": {"defaultEngine": "yahoo"}},
"312-000": {"en-US": {"defaultEngine": "yahoo"}},
"313-000": {"en-US": {"defaultEngine": "yahoo"}},
"316-000": {"en-US": {"defaultEngine": "yahoo"}}
},
"partnerConfig": {
},
"simConfigs": {},
"partnerConfig": {},
"defaultEngines": {
"defaultEngine": "google",
"defaultEngine": "ddg",
"providers": {
"yahoo": {},
"google": {},
@ -71,7 +75,5 @@
"ddg": {}
}
},
"locales": {
}
"locales": {}
}