forked from ZenBrowserMirrors/zen-desktop
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev
This commit is contained in:
commit
be76e751e7
11 changed files with 37 additions and 36 deletions
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
## 🖥️ Compatibility
|
## 🖥️ Compatibility
|
||||||
|
|
||||||
Zen is currently built using Firefox version `138.0.1`! 🚀
|
Zen is currently built using Firefox version `138.0.3`! 🚀
|
||||||
|
|
||||||
- [`Zen Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 138.0.1`!
|
- [`Zen Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 138.0.3`!
|
||||||
- Check out the latest [release notes](https://zen-browser.app/release-notes)!
|
- Check out the latest [release notes](https://zen-browser.app/release-notes)!
|
||||||
- Part of our mission is to keep Zen up-to-date with the latest version of Firefox, so you can enjoy the latest features and security updates!
|
- Part of our mission is to keep Zen up-to-date with the latest version of Firefox, so you can enjoy the latest features and security updates!
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
8113a66aeeec42dca9739c7b742a3408cb5b7cf7
|
a7fc259e12695c40d6ae249950f054221fed4f95
|
|
@ -8,7 +8,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "surfer build",
|
"build": "surfer build",
|
||||||
"build:ui": "surfer build --ui",
|
"build:ui": "surfer build --ui",
|
||||||
"start": "cd engine && ./mach run --noprofile --marionette",
|
"start": "cd engine && ./mach run --noprofile",
|
||||||
"import": "surfer import",
|
"import": "surfer import",
|
||||||
"export": "surfer export",
|
"export": "surfer export",
|
||||||
"init": "npm run download && npm run bootstrap && npm run import",
|
"init": "npm run download && npm run bootstrap && npm run import",
|
||||||
|
|
|
@ -38,7 +38,7 @@ def get_rc_response() -> Optional[str]:
|
||||||
for tag_dict in data["tags"]:
|
for tag_dict in data["tags"]:
|
||||||
tag = tag_dict["tag"]
|
tag = tag_dict["tag"]
|
||||||
if (tag.startswith("FIREFOX") and tag.endswith("_BUILD1")
|
if (tag.startswith("FIREFOX") and tag.endswith("_BUILD1")
|
||||||
and "ESR" not in tag and "b" not in tag):
|
and "ESR" not in tag and "b" not in tag and "ANDROID" not in tag):
|
||||||
return (tag.replace("FIREFOX_", "").replace("_BUILD1",
|
return (tag.replace("FIREFOX_", "").replace("_BUILD1",
|
||||||
"").replace("_", "."))
|
"").replace("_", "."))
|
||||||
except (FileNotFoundError, json.JSONDecodeError) as e:
|
except (FileNotFoundError, json.JSONDecodeError) as e:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/browser/components/extensions/parent/ext-tabs.js b/browser/components/extensions/parent/ext-tabs.js
|
diff --git a/browser/components/extensions/parent/ext-tabs.js b/browser/components/extensions/parent/ext-tabs.js
|
||||||
index b47f0510e32d788dfe7c3109474c4512c9900d4a..49697125a2998bbd50d87c54e2c5974baaf9a7e2 100644
|
index 517ea0079c12941a844a4f9e4ba694c6411887ee..510ab14dfa2178c332c9862d6a01b75bd12dfe3b 100644
|
||||||
--- a/browser/components/extensions/parent/ext-tabs.js
|
--- a/browser/components/extensions/parent/ext-tabs.js
|
||||||
+++ b/browser/components/extensions/parent/ext-tabs.js
|
+++ b/browser/components/extensions/parent/ext-tabs.js
|
||||||
@@ -468,6 +468,7 @@ this.tabs = class extends ExtensionAPIPersistent {
|
@@ -482,6 +482,7 @@ this.tabs = class extends ExtensionAPIPersistent {
|
||||||
}
|
}
|
||||||
|
|
||||||
let tab = tabManager.getWrapper(event.originalTarget);
|
let tab = tabManager.getWrapper(event.originalTarget);
|
||||||
|
@ -10,3 +10,11 @@ index b47f0510e32d788dfe7c3109474c4512c9900d4a..49697125a2998bbd50d87c54e2c5974b
|
||||||
|
|
||||||
let changeInfo = {};
|
let changeInfo = {};
|
||||||
for (let prop of needed) {
|
for (let prop of needed) {
|
||||||
|
@@ -836,6 +837,7 @@ this.tabs = class extends ExtensionAPIPersistent {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
+ window.gZenCompactModeManager._nextTimeWillBeActive = active;
|
||||||
|
let nativeTab = window.gBrowser.addTab(url, options);
|
||||||
|
|
||||||
|
if (active) {
|
||||||
|
|
|
@ -98,6 +98,10 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#identity-icon-box {
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
:root[zen-single-toolbar='true'] #urlbar:not([breakout-extend='true']) {
|
:root[zen-single-toolbar='true'] #urlbar:not([breakout-extend='true']) {
|
||||||
& #urlbar-input {
|
& #urlbar-input {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
@ -135,20 +139,6 @@
|
||||||
margin-bottom: auto !important;
|
margin-bottom: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#identity-box:has(#notification-popup-box:not([hidden='true'])) #identity-icon-box,
|
|
||||||
#identity-box:has(#notification-popup-box:not([hidden='true'])) #identity-permission-box {
|
|
||||||
margin-right: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#identity-box:has(#identity-permission-box:is([hasPermissions], [hasSharingIcon])):not(
|
|
||||||
[pageproxystate='invalid']
|
|
||||||
)
|
|
||||||
#identity-icon-box {
|
|
||||||
border-top-right-radius: 0 !important;
|
|
||||||
border-bottom-right-radius: 0 !important;
|
|
||||||
margin-right: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tracking-protection-icon-container,
|
#tracking-protection-icon-container,
|
||||||
#page-action-buttons {
|
#page-action-buttons {
|
||||||
order: 2 !important;
|
order: 2 !important;
|
||||||
|
@ -161,7 +151,7 @@
|
||||||
#urlbar[breakout-extend='true'] {
|
#urlbar[breakout-extend='true'] {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
.urlbar-input-container {
|
:root:not([zen-single-toolbar='true']) & .urlbar-input-container {
|
||||||
--urlbar-container-padding: 0px;
|
--urlbar-container-padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +236,7 @@
|
||||||
|
|
||||||
#urlbar:not([open]) {
|
#urlbar:not([open]) {
|
||||||
#identity-box:not([pageproxystate='invalid']) {
|
#identity-box:not([pageproxystate='invalid']) {
|
||||||
order: 9;
|
order: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,6 +257,7 @@
|
||||||
margin-bottom: auto;
|
margin-bottom: auto;
|
||||||
height: 24px; /* double 12px */
|
height: 24px; /* double 12px */
|
||||||
width: 24px;
|
width: 24px;
|
||||||
|
padding: 4px !important;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--toolbarbutton-hover-background);
|
background: var(--toolbarbutton-hover-background);
|
||||||
|
@ -279,20 +270,15 @@
|
||||||
|
|
||||||
:root:not([zen-single-toolbar='true']) {
|
:root:not([zen-single-toolbar='true']) {
|
||||||
#notification-popup-box {
|
#notification-popup-box {
|
||||||
border-radius: 999px;
|
|
||||||
margin: 0 4px 0 0 !important;
|
margin: 0 4px 0 0 !important;
|
||||||
padding: 0 4px;
|
|
||||||
min-width: calc(
|
|
||||||
var(--urlbar-min-height) - 4px - 4 * var(--urlbar-container-padding)
|
|
||||||
) !important;
|
|
||||||
height: calc(var(--urlbar-min-height) - 4px - 4 * var(--urlbar-container-padding)) !important;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
background: transparent;
|
||||||
|
|
||||||
& > image {
|
& > image {
|
||||||
padding: 0;
|
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
margin-bottom: auto;
|
margin-bottom: auto;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -387,6 +373,7 @@ button.popup-notification-dropmarker {
|
||||||
#identity-box:is(:not(.chromeUI), [pageproxystate='invalid'])
|
#identity-box:is(:not(.chromeUI), [pageproxystate='invalid'])
|
||||||
#identity-icon-box {
|
#identity-icon-box {
|
||||||
border-radius: var(--urlbar-icon-border-radius) !important;
|
border-radius: var(--urlbar-icon-border-radius) !important;
|
||||||
|
min-width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Notification Stack */
|
/* Notification Stack */
|
||||||
|
|
|
@ -615,10 +615,12 @@ var gZenCompactModeManager = {
|
||||||
this.preference &&
|
this.preference &&
|
||||||
!this.isSidebarPotentiallyOpen() &&
|
!this.isSidebarPotentiallyOpen() &&
|
||||||
this._canShowBackgroundTabToast &&
|
this._canShowBackgroundTabToast &&
|
||||||
!gZenGlanceManager._animating
|
!gZenGlanceManager._animating &&
|
||||||
|
!this._nextTimeWillBeActive
|
||||||
) {
|
) {
|
||||||
gZenUIManager.showToast('zen-background-tab-opened-toast');
|
gZenUIManager.showToast('zen-background-tab-opened-toast');
|
||||||
}
|
}
|
||||||
|
delete this._nextTimeWillBeActive;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#handleNewDownload() {
|
#handleNewDownload() {
|
||||||
if (!Services.prefs.getBoolPref('zen.downloads.download-animation')) {
|
if (
|
||||||
|
!Services.prefs.getBoolPref('zen.downloads.download-animation') ||
|
||||||
|
!ZenMultiWindowFeature.isActiveWindow
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -523,6 +523,7 @@
|
||||||
& .tab-audio-button {
|
& .tab-audio-button {
|
||||||
margin-inline-start: -4px;
|
margin-inline-start: -4px;
|
||||||
margin-inline-end: 2px;
|
margin-inline-end: 2px;
|
||||||
|
margin-top: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
& #titlebar {
|
& #titlebar {
|
||||||
|
|
|
@ -49,7 +49,7 @@ class ZenCommonUtils final : public nsIZenCommonUtils {
|
||||||
#if !defined(XP_MACOSX)
|
#if !defined(XP_MACOSX)
|
||||||
static auto PlayHapticFeedbackInternal() -> nsresult {
|
static auto PlayHapticFeedbackInternal() -> nsresult {
|
||||||
// No-op on non-macOS platforms
|
// No-op on non-macOS platforms
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static auto PlayHapticFeedbackInternal() -> nsresult;
|
static auto PlayHapticFeedbackInternal() -> nsresult;
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
"binaryName": "zen",
|
"binaryName": "zen",
|
||||||
"version": {
|
"version": {
|
||||||
"product": "firefox",
|
"product": "firefox",
|
||||||
"version": "138.0.1",
|
"version": "138.0.3",
|
||||||
"candidate": "138.0.1"
|
"candidate": "138.0.3"
|
||||||
},
|
},
|
||||||
"buildOptions": {
|
"buildOptions": {
|
||||||
"generateBranding": true
|
"generateBranding": true
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"brandShortName": "Twilight",
|
"brandShortName": "Twilight",
|
||||||
"brandFullName": "Zen Twilight",
|
"brandFullName": "Zen Twilight",
|
||||||
"release": {
|
"release": {
|
||||||
"displayVersion": "1.12.4t",
|
"displayVersion": "1.13t",
|
||||||
"github": {
|
"github": {
|
||||||
"repo": "zen-browser/desktop"
|
"repo": "zen-browser/desktop"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue