From nobody Sat May 20 07:33:25 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QNb6Y6vBPz4BkDy; Sat, 20 May 2023 07:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QNb6Y43WDz3PbD; Sat, 20 May 2023 07:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684568005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2s5g4KXoD8k1F5ulBe5StPqZAEg0TeHJkZ9Tk9K7M+o=; b=Z4fXCrRfSMM7kYH1LtVF36w0PSj54GwHwL1B6qYGDNjKXrSijrg1AjyZ1W2yYkyANXDfw3 WJ95JR/qoMnA7taQTMxLXad5WypGOx4PNwmmsdJEmJl5iZQO3FEQr8SD/KKuPkA+M1ojjZ TC3MqEQmbL/hHO+UUDx6TGPecaiqtBXGUqzKXym+rYC4t6AK3zGV5eJhxFS+oqpCKSGY/+ NPMCEkDv7KJh4WRqUcZTTecIsRFX8NL7z5Ri8XrWW4arV3/m6xHqXFKSONdH3Nx3YnnMzE r+cMFUcsNHrRldFBug8dHcgElaTbrahh/McGbXuQNH99IgZFXZr/KYHOf8H+jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684568005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2s5g4KXoD8k1F5ulBe5StPqZAEg0TeHJkZ9Tk9K7M+o=; b=X9CFgItzhll7H2DAC7TvojFmvnpDFiaYWUTsT73yGVfKxdVd1IbYMXlB2ry6e11nglFL4c e7I1of7dA0J/ZToyEofNBvDYjjU9SeJy+4MD4NFn33aWnXBniMoxmcm8JcEJ6dxOgYeMhd 8NGAvpYcvT4NgYLpsNCCGHGWbibb/+yiOZgJWSUyu89uWJ4PjSr0s0Un5WZuL6MoP6+jgH lXyxiEnl+yBQxDY9h+Vb/mYpWe0bd5otuKK8MH+nY+QwJ4I19kNQZf95RLevCM3oeUzyFD rM1RBEN4GAqw5tvO4NdnEZ4XbMsRRRiyQwCzbhorttSwhWgkJ9YJuRoBvvx/Jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684568005; a=rsa-sha256; cv=none; b=jVchrgaqrSasxcID7cYK4uS6hLXoosM1jLplH4DvrEv3k2Do/gkdQ6g+n6AHz//AEHoNoE sI5m+Z7a7YIvByNf499FGDsrESOP/636iI1JdA6PHHELJVB48l98EfM8YZjvZZ8ehhUko7 SMBMiCsX241UErWWTpHDD7FxqvlKbJ22Y0e7kIpXGlz3oXQ1wN3MTWxVC4+7GlvkDwmIXV oiihAmSGX4NHZpBQAYkzrDCsFHj/I1QF2AjejKkWDKOgmgVNsq82y7BYacsIJROMjIHhX0 DL8Aj441I4DQfwzWZN191hbYotVEg5SdmYymQeh0EeTyMKS845ul8IQmURuRvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QNb6Y30Kxz11t9; Sat, 20 May 2023 07:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34K7XPb8022071; Sat, 20 May 2023 07:33:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34K7XPKq022070; Sat, 20 May 2023 07:33:25 GMT (envelope-from git) Date: Sat, 20 May 2023 07:33:25 GMT Message-Id: <202305200733.34K7XPKq022070@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 4812f3ab01af - main - devel/electron23: update to 23.3.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4812f3ab01af2b71c3238a51e1696089498af101 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=4812f3ab01af2b71c3238a51e1696089498af101 commit 4812f3ab01af2b71c3238a51e1696089498af101 Author: Hiroki Tagato AuthorDate: 2023-05-20 07:31:24 +0000 Commit: Hiroki Tagato CommitDate: 2023-05-20 07:33:12 +0000 devel/electron23: update to 23.3.3 Changelog: https://github.com/electron/electron/releases/tag/v23.3.3 Reported by: GitHub (watch releases) Security: b09d77d0-b27c-48ae-b69b-9641bb68b39e --- devel/electron23/Makefile | 2 +- devel/electron23/Makefile.version | 2 +- devel/electron23/distinfo | 10 ++--- .../files/patch-electron_script_spec-runner.js | 4 +- ...electron_shell_browser_native__window__views.cc | 22 +++++----- .../patch-electron_spec_api-browser-window-spec.ts | 48 +++++++++++++++------- 6 files changed, 53 insertions(+), 35 deletions(-) diff --git a/devel/electron23/Makefile b/devel/electron23/Makefile index 15eac8d1b233..9ac381ecda45 100644 --- a/devel/electron23/Makefile +++ b/devel/electron23/Makefile @@ -222,7 +222,7 @@ REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 -YARN_TIMESTAMP= 1683963302 +YARN_TIMESTAMP= 1684476173 .include "Makefile.version" .include diff --git a/devel/electron23/Makefile.version b/devel/electron23/Makefile.version index 94476202ff69..70f9c7e9f7bc 100644 --- a/devel/electron23/Makefile.version +++ b/devel/electron23/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 23.3.2 +ELECTRON_VER= 23.3.3 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron23/distinfo b/devel/electron23/distinfo index dd6acb13e625..5c61b17d369f 100644 --- a/devel/electron23/distinfo +++ b/devel/electron23/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1683963953 +TIMESTAMP = 1684476846 SHA256 (electron/chromium-110.0.5481.208.tar.xz) = 9f364e9a61a961b808ac241076fe25f8c48e5d7349a3236a9023a51018890ccc SIZE (electron/chromium-110.0.5481.208.tar.xz) = 1554639732 SHA256 (electron/32dc8abec1486818f6ef4afc4996abc002b5218e) = b7f797156b45c21a104f732366dad74e5b401bae8e3ce75fe1e54769cda3c0c2 SIZE (electron/32dc8abec1486818f6ef4afc4996abc002b5218e) = 9903987 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734 -SHA256 (electron/electron-yarn-cache-23.3.2.tar.xz) = ea945d5fca61f112c54b038a0be90f3f63402e720406153981ac8f79688abbd0 -SIZE (electron/electron-yarn-cache-23.3.2.tar.xz) = 38872716 -SHA256 (electron/electron-electron-v23.3.2_GH0.tar.gz) = 35ab9f3a575d58a192a2ba19cbe2bcfca776219f6a227a0af39d651abd6efdd0 -SIZE (electron/electron-electron-v23.3.2_GH0.tar.gz) = 10488019 +SHA256 (electron/electron-yarn-cache-23.3.3.tar.xz) = 027f1fa58cf24d3461042885141fdf3ee7762230467827162796daf130beae67 +SIZE (electron/electron-yarn-cache-23.3.3.tar.xz) = 38873020 +SHA256 (electron/electron-electron-v23.3.3_GH0.tar.gz) = 0fa75e83ef92c2a0a889e6b3eebb10949403426a4c2dcac0b89c5fa890fae94b +SIZE (electron/electron-electron-v23.3.3_GH0.tar.gz) = 10489446 SHA256 (electron/nodejs-node-v18.12.1_GH0.tar.gz) = 7e7962209d25ed6c28b722b78a0b0ca304307d7bf536aca142be330901b11d50 SIZE (electron/nodejs-node-v18.12.1_GH0.tar.gz) = 108947341 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39 diff --git a/devel/electron23/files/patch-electron_script_spec-runner.js b/devel/electron23/files/patch-electron_script_spec-runner.js index 837b69be72cd..23da1bf42e17 100644 --- a/devel/electron23/files/patch-electron_script_spec-runner.js +++ b/devel/electron23/files/patch-electron_script_spec-runner.js @@ -1,6 +1,6 @@ ---- electron/script/spec-runner.js.orig 2023-04-12 09:18:42 UTC +--- electron/script/spec-runner.js.orig 2023-05-17 12:49:10 UTC +++ electron/script/spec-runner.js -@@ -162,7 +162,7 @@ async function runTestUsingElectron (specDir, testName +@@ -163,7 +163,7 @@ async function runTestUsingElectron (specDir, testName exe = path.resolve(BASE, utils.getElectronExec()); } const runnerArgs = [`electron/${specDir}`, ...unknownArgs.slice(2)]; diff --git a/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc index 055a0ba51ff3..452dd51f395d 100644 --- a/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/native_window_views.cc.orig 2023-02-06 19:29:11 UTC +--- electron/shell/browser/native_window_views.cc.orig 2023-05-17 12:49:10 UTC +++ electron/shell/browser/native_window_views.cc @@ -42,7 +42,7 @@ #include "ui/wm/core/shadow_types.h" @@ -36,7 +36,7 @@ // On linux after the widget is initialized we might have to force set the // bounds if the bounds are smaller than the current display SetBounds(gfx::Rect(GetPosition(), bounds.size()), false); -@@ -541,7 +541,7 @@ bool NativeWindowViews::IsVisible() { +@@ -551,7 +551,7 @@ bool NativeWindowViews::IsVisible() { bool NativeWindowViews::IsEnabled() { #if BUILDFLAG(IS_WIN) return ::IsWindowEnabled(GetAcceleratedWidget()); @@ -45,7 +45,7 @@ #if defined(USE_OZONE_PLATFORM_X11) if (IsX11()) return !event_disabler_.get(); -@@ -599,7 +599,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable +@@ -609,7 +609,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable #endif } @@ -54,7 +54,7 @@ void NativeWindowViews::Maximize() { if (IsVisible()) { widget()->Maximize(); -@@ -726,7 +726,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -736,7 +736,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou } #endif @@ -63,7 +63,7 @@ // On Linux and Windows the minimum and maximum size should be updated with // window size when window is not resizable. if (!resizable_) { -@@ -958,7 +958,7 @@ bool NativeWindowViews::IsClosable() { +@@ -968,7 +968,7 @@ bool NativeWindowViews::IsClosable() { return false; } return !(info.fState & MFS_DISABLED); @@ -72,7 +72,7 @@ return true; #endif } -@@ -1346,7 +1346,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1356,7 +1356,7 @@ void NativeWindowViews::SetProgressBar(double progress NativeWindow::ProgressState state) { #if BUILDFLAG(IS_WIN) taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state); @@ -81,7 +81,7 @@ if (unity::IsRunning()) { unity::SetProgressFraction(progress); } -@@ -1408,7 +1408,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1418,7 +1418,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM #if BUILDFLAG(IS_WIN) window_handle = reinterpret_cast(accelerated_widget); @@ -90,7 +90,7 @@ window_handle = static_cast(accelerated_widget); #endif aura::WindowTreeHost* const host = -@@ -1506,7 +1506,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1516,7 +1516,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC SendMessage(hwnd, WM_SETICON, ICON_BIG, reinterpret_cast(app_icon_.get())); } @@ -99,7 +99,7 @@ void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) { auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget( GetAcceleratedWidget()); -@@ -1576,7 +1576,7 @@ bool NativeWindowViews::CanMaximize() const { +@@ -1586,7 +1586,7 @@ bool NativeWindowViews::CanMaximize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -108,7 +108,7 @@ return true; #endif } -@@ -1628,7 +1628,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1638,7 +1638,7 @@ void NativeWindowViews::HandleKeyboardEvent( if (widget_destroyed_) return; @@ -117,7 +117,7 @@ if (event.windows_key_code == ui::VKEY_BROWSER_BACK) NotifyWindowExecuteAppCommand(kBrowserBackward); else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD) -@@ -1647,7 +1647,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1657,7 +1657,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_->ResetAltState(); diff --git a/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts index 73fe5fc96226..da71e6c724a9 100644 --- a/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2023-04-14 16:18:42 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2023-05-17 12:49:10 UTC +++ electron/spec/api-browser-window-spec.ts @@ -58,7 +58,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -9,7 +9,16 @@ const appPath = path.join(fixtures, 'apps', 'xwindow-icon'); const appProcess = childProcess.spawn(process.execPath, [appPath]); await new Promise((resolve) => { appProcess.once('exit', resolve); }); -@@ -736,7 +736,7 @@ describe('BrowserWindow module', () => { +@@ -738,7 +738,7 @@ describe('BrowserWindow module', () => { + + describe('BrowserWindow.minimize()', () => { + // TODO(codebytere): Enable for Linux once maximize/minimize events work in CI. +- ifit(process.platform !== 'linux')('should not be visible when the window is minimized', async () => { ++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should not be visible when the window is minimized', async () => { + const minimize = emittedOnce(w, 'minimize'); + w.minimize(); + await minimize; +@@ -755,7 +755,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable for Linux once CI plays nice with these kinds of tests @@ -18,7 +27,7 @@ const maximize = emittedOnce(w, 'maximize'); const shown = emittedOnce(w, 'show'); w.maximize(); -@@ -773,7 +773,7 @@ describe('BrowserWindow module', () => { +@@ -792,7 +792,7 @@ describe('BrowserWindow module', () => { expect(w.isFocused()).to.equal(true); }); @@ -27,7 +36,7 @@ const w1 = new BrowserWindow({ show: false }); const w2 = new BrowserWindow({ show: false }); const w3 = new BrowserWindow({ show: false }); -@@ -840,7 +840,7 @@ describe('BrowserWindow module', () => { +@@ -859,7 +859,7 @@ describe('BrowserWindow module', () => { expect(w.isFocused()).to.equal(false); }); @@ -36,7 +45,7 @@ const w1 = new BrowserWindow({ show: false }); const w2 = new BrowserWindow({ show: false }); const w3 = new BrowserWindow({ show: false }); -@@ -1238,7 +1238,7 @@ describe('BrowserWindow module', () => { +@@ -1257,7 +1257,7 @@ describe('BrowserWindow module', () => { }); }); @@ -45,7 +54,7 @@ it('checks normal bounds when maximized', async () => { const bounds = w.getBounds(); const maximize = emittedOnce(w, 'maximize'); -@@ -1365,7 +1365,7 @@ describe('BrowserWindow module', () => { +@@ -1384,7 +1384,7 @@ describe('BrowserWindow module', () => { }); }); @@ -54,7 +63,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = emittedOnce(w, 'minimize'); -@@ -2278,7 +2278,7 @@ describe('BrowserWindow module', () => { +@@ -2333,7 +2333,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); @@ -63,7 +72,7 @@ it('make window with initial opacity', () => { const w = new BrowserWindow({ show: false, opacity: 0.5 }); expect(w.getOpacity()).to.equal(0.5); -@@ -2304,7 +2304,7 @@ describe('BrowserWindow module', () => { +@@ -2359,7 +2359,7 @@ describe('BrowserWindow module', () => { }); }); @@ -72,7 +81,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3232,7 +3232,7 @@ describe('BrowserWindow module', () => { +@@ -3287,7 +3287,7 @@ describe('BrowserWindow module', () => { expect(test.versions).to.deep.equal(process.versions); expect(test.contextId).to.be.a('string'); @@ -81,7 +90,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -3738,7 +3738,7 @@ describe('BrowserWindow module', () => { +@@ -3793,7 +3793,7 @@ describe('BrowserWindow module', () => { }); }); @@ -90,7 +99,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -3998,7 +3998,7 @@ describe('BrowserWindow module', () => { +@@ -4053,7 +4053,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 @@ -99,7 +108,7 @@ const w = new BrowserWindow({}); const maximize = emittedOnce(w, 'maximize'); w.maximize(); -@@ -4015,7 +4015,7 @@ describe('BrowserWindow module', () => { +@@ -4070,7 +4070,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -108,7 +117,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4052,7 +4052,7 @@ describe('BrowserWindow module', () => { +@@ -4107,7 +4107,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -117,7 +126,7 @@ const w = new BrowserWindow(); const minimize = emittedOnce(w, 'minimize'); w.minimize(); -@@ -4415,7 +4415,7 @@ describe('BrowserWindow module', () => { +@@ -4470,7 +4470,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -126,7 +135,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -4507,7 +4507,7 @@ describe('BrowserWindow module', () => { +@@ -4562,7 +4562,7 @@ describe('BrowserWindow module', () => { }); }); @@ -135,3 +144,12 @@ // Not implemented on Linux. afterEach(closeAllWindows); +@@ -5626,7 +5626,7 @@ describe('BrowserWindow module', () => { + describe('"transparent" option', () => { + afterEach(closeAllWindows); + +- ifit(process.platform !== 'linux')('correctly returns isMaximized() when the window is maximized then minimized', async () => { ++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('correctly returns isMaximized() when the window is maximized then minimized', async () => { + const w = new BrowserWindow({ + frame: false, + transparent: true