summaryrefslogtreecommitdiff
path: root/www-client/seamonkey
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 20:39:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 20:39:44 +0100
commit54eca75a4e3e380e1d386f4d235baeb7d4ff332e (patch)
tree5f59a3e7b9069e5ab5ae4c5b46184560dc318692 /www-client/seamonkey
parentfc7e841956ae3cc385629bf33433de23a6d04db6 (diff)
gentoo auto-resync : 19:07:2022 - 20:39:44
Diffstat (limited to 'www-client/seamonkey')
-rw-r--r--www-client/seamonkey/Manifest1
-rw-r--r--www-client/seamonkey/files/seamonkey-2.53.10.2-ownertab.patch249
2 files changed, 0 insertions, 250 deletions
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index 19f6fe1de500..15f3f071bc6c 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -1,5 +1,4 @@
AUX all-gentoo-1.js 1008 BLAKE2B 50418db37f55b9b9e53049abb95af79a5ee5137df9aab3ef6d1791e51a0c2f35d78b390982c5c20f4a57acebfaa013139276d0343cd4733a925510c8a5567c69 SHA512 5d1c9331db3c988f79be7756b57254bb3d2cb56cf10c7e79878d9968f882713cdcca0013d3507c4d69fcc7e99164a27b05ffbbb5ce78ee86b91ecce366a997c4
-AUX seamonkey-2.53.10.2-ownertab.patch 11007 BLAKE2B 43b5c09e07750c1d9a1e6ebeb112d6ad0d097b4b6b0e0766dfff0cdee7a36e73484a739be270f9ebf70393dbef90897beb9fca49597b0596fc4bef1c0b2bd988 SHA512 b2add9876cf1e183784c65902470c86f393af95d2c108f8e4c510e0837dd562d5f9a8445e1d9611d838fdc880ad03c7dd542d4c8446aac6e53d44cadc06b91c6
AUX seamonkey.desktop 307 BLAKE2B 81aaa9a69dc60ae0872ebdfe796d3a6afbd4bd15c1c83c14abc06579c15bed2e48114e3fb374bab0ba7d9d4de28109b215601a2d6bd56af3aa9e82a4d0baaa91 SHA512 081d8ec12e9e2035fc8020238803ab9df98dac4350ce90a29e9e65a38efa13bb14cba0fbc2e68a2a857c5046142c68ecc8ab4535da4f284c0e04a3879afc429f
DIST seamonkey-2.53.12-patches.tar.gz 85078 BLAKE2B 193e89ef80d59218aca5892616c178f865cb27b7b6f6465078893f007ad347ccbec5509a74e837fe91767307d431f9020a2442f205a21f30a497801efa8679f3 SHA512 fc10d5d5e860b7fa573243aaed3165750c100bbdd7f8d03113d16b4292fee48187a7b26878d909f8f43c5fd3761c9c3dd055205f6459fad334578208aa22fa9d
DIST seamonkey-2.53.12.source-l10n.tar.xz 13627692 BLAKE2B 0593699153b38ca09655ae904d4d144ccd2f41c44f07fac0a73a9c12fe87015c4841ed22d4eb9855adb0c80411dd48bcde994164dc1836871d03aeff4deea2ab SHA512 639c8e001e69e970528d184184fcb7c6a304ca766031b0ae70c61046734c34a05133127233436337681eb40d19fce02472df494b01f7152532db81d92a2777b6
diff --git a/www-client/seamonkey/files/seamonkey-2.53.10.2-ownertab.patch b/www-client/seamonkey/files/seamonkey-2.53.10.2-ownertab.patch
deleted file mode 100644
index 02140bd5e8f7..000000000000
--- a/www-client/seamonkey/files/seamonkey-2.53.10.2-ownertab.patch
+++ /dev/null
@@ -1,249 +0,0 @@
-# HG changeset patch
-# User Dmitry Butskoy <dmitry@butskoy.name>
-# Date 1628960364 -7200
-# Parent 45d5ea1452b1c406303ff3be289df08cde3d5a04
-Bug 1623054 - Set owner tab for proper tab focus handling after close. r=IanN a=IanN
-Upstream bug-report: https://bugzilla.mozilla.org/show_bug.cgi?id=1623054
-
-diff --git seamonkey-2.53.10.2/comm/suite/app/profile/suite-prefs.js seamonkey-2.53.10.2/comm/suite/app/profile/suite-prefs.js
---- seamonkey-2.53.10.2/comm/suite/app/profile/suite-prefs.js
-+++ seamonkey-2.53.10.2/comm/suite/app/profile/suite-prefs.js
-@@ -224,16 +224,17 @@ pref("browser.tabs.autoHide", false);
- pref("browser.tabs.forceHide", false);
- pref("browser.tabs.closeWindowWithLastTab", true);
- pref("browser.tabs.warnOnClose", true);
- pref("browser.tabs.warnOnCloseOther", true);
- pref("browser.tabs.warnOnOpen", true);
- pref("browser.tabs.maxOpenBeforeWarn", 15);
- pref("browser.tabs.insertRelatedAfterCurrent", true);
- pref("browser.tabs.insertAllTabsAfterCurrent", false);
-+pref("browser.tabs.selectOwnerOnClose", true);
- pref("browser.tabs.avoidBrowserFocus", false);
-
- // For future use
- pref("browser.tabs.loadBookmarksInBackground", false);
-
- // how many browsers can be saved in the DOM (by the tabbed browser)
- pref("browser.tabs.max_tabs_undo", 3);
- // should popups by saved in the DOM (by the tabbed browser)
-diff --git seamonkey-2.53.10.2/comm/suite/base/content/utilityOverlay.js seamonkey-2.53.10.2/comm/suite/base/content/utilityOverlay.js
---- seamonkey-2.53.10.2/comm/suite/base/content/utilityOverlay.js
-+++ seamonkey-2.53.10.2/comm/suite/base/content/utilityOverlay.js
-@@ -1637,16 +1637,17 @@ function openLinkIn(url, where, params)
- // fall through
- case "tab":
- var browser = w.getBrowser();
- var tab = browser.addTab(url, {
- referrerURI: aReferrerURI,
- referrerPolicy: aReferrerPolicy,
- charset: aCharset,
- postData: aPostData,
-+ ownerTab: loadInBackground ? null : browser.selectedTab,
- allowThirdPartyFixup: aAllowThirdPartyFixup,
- relatedToCurrent: aRelatedToCurrent,
- allowMixedContent: aAllowMixedContent,
- noReferrer: aNoReferrer,
- userContextId: aUserContextId,
- originPrincipal: aPrincipal,
- triggeringPrincipal: aTriggeringPrincipal,
- });
-diff --git seamonkey-2.53.10.2/comm/suite/browser/tabbrowser.xml seamonkey-2.53.10.2/comm/suite/browser/tabbrowser.xml
---- seamonkey-2.53.10.2/comm/suite/browser/tabbrowser.xml
-+++ seamonkey-2.53.10.2/comm/suite/browser/tabbrowser.xml
-@@ -1152,16 +1152,27 @@
- newBrowser.docShellIsActive = this.mCurrentTab.linkedBrowser.docShellIsActive;
- if (this.mCurrentBrowser) {
- this.mCurrentBrowser.droppedLinkHandler = null;
- this.mCurrentBrowser.docShellIsActive = false;
- this.mCurrentBrowser.removeAttribute("primary");
- this.finder.mListeners.forEach(l => this.mCurrentBrowser.finder.removeResultListener(l));
- }
-
-+ let oldTab = this.mCurrentTab;
-+
-+ // Preview mode should not reset the owner.
-+ if (!this._previewMode && !oldTab.selected)
-+ oldTab.owner = null;
-+
-+ let lastRelatedTab = this.mLastRelatedIndex ? this.tabs[this.mLastRelatedIndex] : null;
-+ if (lastRelatedTab && !lastRelatedTab.selected) {
-+ lastRelatedTab.owner = null;
-+ }
-+
- newBrowser.setAttribute("primary", "true");
- this.mCurrentBrowser = newBrowser;
- this.mCurrentTab = this.selectedTab;
- this.mCurrentTab.removeAttribute("unread");
- this.finder.mListeners.forEach(l => this.mCurrentBrowser.finder.addResultListener(l));
-
- var tabListener = this.mTabListeners[this.tabContainer.selectedIndex];
-
-@@ -1445,16 +1456,19 @@
- opener: null,
- };
- }
-
- params.focusNewTab = params.inBackground != null ?
- !params.inBackground :
- !Services.prefs.getBoolPref("browser.tabs.loadInBackground");
-
-+ if (params.focusNewTab)
-+ params.ownerTab = this.selectedTab;
-+
- return this.addTab(aURI, params);
- ]]>
- </body>
- </method>
-
- <method name="loadTabs">
- <parameter name="aURIs"/>
- <parameter name="aLoadInBackground"/>
-@@ -1556,43 +1570,49 @@
- <parameter name="aPostData"/>
- <parameter name="aFocusNewTab"/>
- <parameter name="aAllowThirdPartyFixup"/>
- <body>
- <![CDATA[
- var aTriggeringPrincipal;
- var aReferrerPolicy;
- var aFromExternal;
-+ var aOwner;
- var aRelatedToCurrent;
- var aAllowMixedContent;
- var aNoReferrer;
- var aUserContextId;
- var aOriginPrincipal;
- var aOpener;
- if (arguments.length == 2 &&
- arguments[1] != null &&
- typeof arguments[1] == "object" &&
- !(arguments[1] instanceof Ci.nsIURI)) {
- let params = arguments[1];
- aTriggeringPrincipal = params.triggeringPrincipal;
- aReferrerURI = params.referrerURI;
- aReferrerPolicy = params.referrerPolicy;
- aCharset = params.charset;
- aPostData = params.postData;
-+ aOwner = params.ownerTab;
- aFocusNewTab = params.focusNewTab;
- aAllowThirdPartyFixup = params.allowThirdPartyFixup;
- aFromExternal = params.fromExternal;
- aRelatedToCurrent = params.relatedToCurrent;
- aAllowMixedContent = params.allowMixedContent;
- aNoReferrer = params.noReferrer;
- aUserContextId = params.userContextId;
- aOriginPrincipal = params.originPrincipal;
- aOpener = params.opener;
- }
-
-+ // If we're adding tabs, we're past interrupt mode, ditch the owner.
-+ if (this.mCurrentTab.owner)
-+ this.mCurrentTab.owner = null;
-+
- this._browsers = null; // invalidate cache
-
- var t = this.referenceTab.cloneNode(true);
-
- var blank = !aURI || aURI == "about:blank";
-
- if (!blank)
- t.setAttribute("label", aURI);
-@@ -1650,16 +1670,20 @@
-
- // We start our browsers out as inactive.
- b.docShellIsActive = false;
-
- this.mStrip.collapsed = false;
-
- Services.prefs.setBoolPref("browser.tabs.forceHide", false);
-
-+ // If this new tab is owned by another, assert that relationship.
-+ if (aOwner)
-+ t.owner = aOwner;
-+
- // wire up a progress listener for the new browser object.
- var position = this.tabs.length - 1;
- var tabListener = this.mTabProgressListener(t, b, blank);
- const filter = Cc["@mozilla.org/appshell/component/browser-status-filter;1"]
- .createInstance(Ci.nsIWebProgress);
- filter.addProgressListener(tabListener, Ci.nsIWebProgress.NOTIFY_ALL);
- b.webProgress.addProgressListener(filter, Ci.nsIWebProgress.NOTIFY_ALL);
- this.mTabListeners[position] = tabListener;
-@@ -1699,16 +1723,20 @@
- // aReferrerURI is null or undefined if the tab is opened from
- // an external application or bookmark, i.e. somewhere other
- // than the current tab.
- if ((aRelatedToCurrent || aReferrerURI ||
- Services.prefs.getBoolPref("browser.tabs.insertAllTabsAfterCurrent")) &&
- Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) {
- var lastRelatedIndex = this.mLastRelatedIndex ||
- this.tabContainer.selectedIndex;
-+ if (this.mLastRelatedIndex)
-+ this.tabs[this.mLastRelatedIndex].owner = null;
-+ else
-+ t.owner = this.selectedTab;
- this.moveTabTo(t, ++lastRelatedIndex);
- this.mLastRelatedIndex = lastRelatedIndex;
- }
-
- if (aFocusNewTab) {
- var parentTab = this.selectedTab;
- this.selectedTab = t;
- this.mPreviousTab = parentTab;
-@@ -2037,16 +2065,23 @@
- oldBrowser.webProgress.removeProgressListener(filter);
- filter.removeProgressListener(this.mTabListeners[index]);
- this.mTabFilters.splice(index, 1);
- this.mTabListeners.splice(index, 1);
-
- // We are no longer the primary content area
- oldBrowser.removeAttribute("primary");
-
-+ // Remove this tab as the owner of any other tabs, since it's going away.
-+ for (let tab of this.tabs) {
-+ if ("owner" in tab && tab.owner == aTab)
-+ // |tab| is a child of the tab we're removing, make it an orphan.
-+ tab.owner = null;
-+ }
-+
- // Now select the new tab before nuking the old one.
- var currentIndex = this.tabContainer.selectedIndex;
-
- var newIndex = -1;
- if (currentIndex > index)
- newIndex = currentIndex - 1;
- else if (currentIndex < index)
- newIndex = currentIndex;
-@@ -2057,23 +2092,30 @@
-
- if (oldBrowser == this.mCurrentBrowser)
- this.mCurrentBrowser = null;
-
- // Invalidate browsers cache, as the tab is removed from the
- // tab container.
- this._browsers = null;
-
-- // Clean up before/afterselected attributes before removing the tab
-+ let owner = ("owner" in aTab) ? aTab.owner : null;
-+
-+ // Clean up before/after selected attributes before removing the
-+ // tab.
- aTab._selected = false;
- aTab.remove();
-
- // When the current tab is removed select a new tab
- // and fire select events on tabpanels and tabs
-- if (this.mPreviousTab && (aTab == this.mCurrentTab))
-+ if (owner && !owner.hidden && !owner.closing &&
-+ Services.prefs.getBoolPref("browser.tabs.selectOwnerOnClose")) {
-+ this.selectedTab = owner;
-+ }
-+ else if (this.mPreviousTab && (aTab == this.mCurrentTab))
- this.selectedTab = this.mPreviousTab;
- else {
- this.tabContainer.selectedIndex = newIndex;
-
- // We need to explicitly clear this, because updateCurrentBrowser
- // doesn't get called for a background tab
- this.mPreviousTab = null;
- }