From nobody Sun May 28 23:50:47 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 4QTwQb5R2Nz4Y3hJ; Sun, 28 May 2023 23:50:47 +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 4QTwQb5Gthz4PhL; Sun, 28 May 2023 23:50:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685317847; 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=UJrFLgvV5IoYhzvNBmBmLfhkLj4MqlFtZ4Ew2RQlg8A=; b=iMepXB4XfdpAgvXMqZWQnHTPZCidDYfS4q+PKYfOOiMxDE0ghGnZCTXQXR9L7iFinNUVbw TPqB+Ivu/MoOsOFEsvTfSzPKI5TtQIKK1+elrPCnTV90LVk0k3o1qUbix0HevUYDIoRLwg khIWkXVfA4ndjf0oivLdZyrd2S7GwE8Xwug4cEj26E6Wn9O0xYZ6abXczmyIdTgli7UQXS vv9943egVGJ41kBJ+SKuwmCgmyOPZDNTpPXSz1KmFJcriCDjDSyxC8kI+zKgU8yoGwWtlS ht3LkFT12iK4eTpBpipPZISnO8RHo55N8opisKGMY92gvhHpXNRjQnENbRCkKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685317847; 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=UJrFLgvV5IoYhzvNBmBmLfhkLj4MqlFtZ4Ew2RQlg8A=; b=QUQ5l6VjpRpM3gzWqBYv7mz7OKW+mwemI32j3glJ4bjsc0nkoIfOLB6SGjw1W98VfukziB esCGcScAyn57WRg2UmawX1kHO9zXzYAtgqT8YxbAbGWPdae9oi5ZOIkAWBADt3tLWjbVX5 xlleyQCTgTbuxb21rWiVmARjak309A4GhmleYVWjpKCfrsdmc0rjHFeh3y+0EhbGSiQhAB 7CF4ixT6nxplPLGhGU6ex4IH8u2OrWOD2DxBWrECl4MrsiqXP53foWyymnZ4lmSGbNcJC3 n8UEBTc2YNIf16H/L/n77vFjxSLkG+OfOBUQ5bHk0up7F+lpr9I/+ygE3CoO9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685317847; a=rsa-sha256; cv=none; b=nd+YxVDAQvWr+XaLFBVdedJOoOyzquTFCwYArZVpaJIc9qNJrcnrZWda6OFIici5vojrtu xurh/GkOli+tWROL8KDM6RjkZq0Wi6Te6DzfMKjCEzzGMspj7PWUH0k5TDWqnVPJziP+ho 71WDXEdqPD+XCV1o8+d0qNN4gZozxy+eh0wi1IrL2W8qiAJ17kddfYJxsXxbJg2UKU3uwM 7f9QBrqhtBJgVjPc0gn4m2EIbcdcD4EnAzGL21Nq/IP6CGxr/1JSpa9XmwSDcQW382vvoC md5Tz9MtB8OmPwBuucMH2Xg2m8u3bHunfkiXEuLcvLBWzLNa7M+rajlymEPF1w== 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 4QTwQb4KPQzptQ; Sun, 28 May 2023 23:50:47 +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 34SNolVR033068; Sun, 28 May 2023 23:50:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34SNolIG033067; Sun, 28 May 2023 23:50:47 GMT (envelope-from git) Date: Sun, 28 May 2023 23:50:47 GMT Message-Id: <202305282350.34SNolIG033067@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: a6f843790e81 - main - devel/electron24: update to 24.4.0 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: a6f843790e813786253ce72952e8f23e0c864dbc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6f843790e813786253ce72952e8f23e0c864dbc commit a6f843790e813786253ce72952e8f23e0c864dbc Author: Hiroki Tagato AuthorDate: 2023-05-28 23:49:03 +0000 Commit: Hiroki Tagato CommitDate: 2023-05-28 23:50:37 +0000 devel/electron24: update to 24.4.0 Changelog: https://github.com/electron/electron/releases/tag/v24.4.0 Reported by: GitHub (watch releases) --- devel/electron24/Makefile | 6 ++--- devel/electron24/Makefile.version | 2 +- devel/electron24/distinfo | 14 +++++----- ...hell_browser_api_electron__api__base__window.cc | 4 +-- ...ell_browser_api_electron__api__web__contents.cc | 12 ++++----- ...electron_shell_browser_native__window__views.cc | 30 +++++++++++----------- ...-electron_shell_browser_native__window__views.h | 4 +-- .../patch-electron_spec_api-browser-window-spec.ts | 22 ++++++++-------- devel/electron24/files/patch-v8_src_api_api.cc | 4 +-- 9 files changed, 49 insertions(+), 49 deletions(-) diff --git a/devel/electron24/Makefile b/devel/electron24/Makefile index 5c1c0cd5144f..c37dfff19ac1 100644 --- a/devel/electron24/Makefile +++ b/devel/electron24/Makefile @@ -2,7 +2,7 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} CATEGORIES= devel -MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v24.3.1/:chromium \ +MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v24.4.0/:chromium \ https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \ https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} @@ -205,7 +205,7 @@ SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER -CHROMIUM_VER= 112.0.5615.183 +CHROMIUM_VER= 112.0.5615.204 # See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH CHROMIUM_NODE_MODULES_HASH= a98dcca3c46a718770b2cb3430785ea4ed7e3f09 # See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH @@ -221,7 +221,7 @@ REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 -YARN_TIMESTAMP= 1684568582 +YARN_TIMESTAMP= 1685152823 .include "Makefile.version" .include diff --git a/devel/electron24/Makefile.version b/devel/electron24/Makefile.version index 9d7caf9ac84b..1a9c5514dbd2 100644 --- a/devel/electron24/Makefile.version +++ b/devel/electron24/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 24.3.1 +ELECTRON_VER= 24.4.0 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron24/distinfo b/devel/electron24/distinfo index a53a83ef9047..e7683d2fdce1 100644 --- a/devel/electron24/distinfo +++ b/devel/electron24/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1684581103 -SHA256 (electron/chromium-112.0.5615.183.tar.xz) = b0b3d2e88fa8c393e0256b786806b09cbe0b22cc16be3d179684179c096d93a3 -SIZE (electron/chromium-112.0.5615.183.tar.xz) = 1572208216 +TIMESTAMP = 1685156535 +SHA256 (electron/chromium-112.0.5615.204.tar.xz) = 4eb23f689df9685fc4ce38fe751023ac98aab2ca21af1ee7ebe47fa5c095a09d +SIZE (electron/chromium-112.0.5615.204.tar.xz) = 1572906744 SHA256 (electron/a98dcca3c46a718770b2cb3430785ea4ed7e3f09) = 386332ab89cbe19c427a3febcf2e93ee89a3007243da3e3e466823f50d00eba5 SIZE (electron/a98dcca3c46a718770b2cb3430785ea4ed7e3f09) = 9822544 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734 -SHA256 (electron/electron-yarn-cache-24.3.1.tar.xz) = 71fe1564ffb4c4fb0c4e226073b1d32cf9358ee6a2eff1be17b3435af7eaabb7 -SIZE (electron/electron-yarn-cache-24.3.1.tar.xz) = 39582604 -SHA256 (electron/electron-electron-v24.3.1_GH0.tar.gz) = 9cdc7ad9017322c2227e1503b8f0be4f7674ec8a6b702700a6d0e7ad612ce198 -SIZE (electron/electron-electron-v24.3.1_GH0.tar.gz) = 10454811 +SHA256 (electron/electron-yarn-cache-24.4.0.tar.xz) = 809d7644b63ead4e0ba62a32fd473137e27a70d8227e01b43d74ca9596381728 +SIZE (electron/electron-yarn-cache-24.4.0.tar.xz) = 39582416 +SHA256 (electron/electron-electron-v24.4.0_GH0.tar.gz) = e471a4a4f3275fdbad0141e6827d815391d8000864a7bff55aeb5456fc0a8472 +SIZE (electron/electron-electron-v24.4.0_GH0.tar.gz) = 10457494 SHA256 (electron/nodejs-node-v18.14.0_GH0.tar.gz) = 31bbccdff73269baebcc9f32c2ffe428f28be79841527c63e95da93e8c630829 SIZE (electron/nodejs-node-v18.14.0_GH0.tar.gz) = 113058999 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39 diff --git a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__base__window.cc b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__base__window.cc index 82f44a6c6b5e..8e95b2d6ea77 100644 --- a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__base__window.cc +++ b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__base__window.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/api/electron_api_base_window.cc.orig 2023-04-03 22:25:21 UTC +--- electron/shell/browser/api/electron_api_base_window.cc.orig 2023-05-22 19:19:22 UTC +++ electron/shell/browser/api/electron_api_base_window.cc -@@ -1057,7 +1057,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, +@@ -1061,7 +1061,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, static_cast(window_.get()) ->SetIcon(native_image->GetHICON(GetSystemMetrics(SM_CXSMICON)), native_image->GetHICON(GetSystemMetrics(SM_CXICON))); diff --git a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc index 09d1ada73c31..69d4d7618f79 100644 --- a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc +++ b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/api/electron_api_web_contents.cc.orig 2023-05-09 16:07:54 UTC +--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2023-05-22 19:19:22 UTC +++ electron/shell/browser/api/electron_api_web_contents.cc @@ -151,11 +151,11 @@ #include "ui/base/cocoa/defaults_utils.h" @@ -14,7 +14,7 @@ #include "ui/gfx/font_render_params.h" #endif -@@ -494,7 +494,7 @@ absl::optional GetCursorBlinkInterval +@@ -516,7 +516,7 @@ absl::optional GetCursorBlinkInterval ui::TextInsertionCaretBlinkPeriodFromDefaults()); if (system_value) return *system_value; @@ -23,7 +23,7 @@ if (auto* linux_ui = ui::LinuxUi::instance()) return linux_ui->GetCursorBlinkInterval(); #elif BUILDFLAG(IS_WIN) -@@ -948,7 +948,7 @@ void WebContents::InitWithSessionAndOptions( +@@ -970,7 +970,7 @@ void WebContents::InitWithSessionAndOptions( accept_languages.pop_back(); prefs->accept_languages = accept_languages; @@ -32,7 +32,7 @@ // Update font settings. static const gfx::FontRenderParams params( gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr)); -@@ -2488,7 +2488,7 @@ void WebContents::ForcefullyCrashRenderer() { +@@ -2510,7 +2510,7 @@ void WebContents::ForcefullyCrashRenderer() { content::RenderProcessHost* rph = rwh->GetProcess(); if (rph) { @@ -41,7 +41,7 @@ // A generic |CrashDumpHungChildProcess()| is not implemented for Linux. // Instead we send an explicit IPC to crash on the renderer's IO thread. rph->ForceCrash(); -@@ -3131,7 +3131,7 @@ void WebContents::CopyImageAt(int x, int y) { +@@ -3153,7 +3153,7 @@ void WebContents::CopyImageAt(int x, int y) { void WebContents::Focus() { // Focusing on WebContents does not automatically focus the window on macOS // and Linux, do it manually to match the behavior on Windows. @@ -50,7 +50,7 @@ if (owner_window()) owner_window()->Focus(true); #endif -@@ -3937,7 +3937,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { +@@ -3959,7 +3959,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { } #endif diff --git a/devel/electron24/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron24/files/patch-electron_shell_browser_native__window__views.cc index 9f4181d1273f..cb2fe93ff6de 100644 --- a/devel/electron24/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron24/files/patch-electron_shell_browser_native__window__views.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/native_window_views.cc.orig 2023-05-17 11:09:55 UTC +--- electron/shell/browser/native_window_views.cc.orig 2023-05-22 19:19:22 UTC +++ electron/shell/browser/native_window_views.cc -@@ -42,7 +42,7 @@ +@@ -43,7 +43,7 @@ #include "ui/wm/core/shadow_types.h" #include "ui/wm/core/window_util.h" @@ -9,7 +9,7 @@ #include "base/strings/string_util.h" #include "shell/browser/browser.h" #include "shell/browser/linux/unity_service.h" -@@ -264,7 +264,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -279,7 +279,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: params.parent = parent->GetNativeWindow(); params.native_widget = new ElectronDesktopNativeWidgetAura(this); @@ -18,7 +18,7 @@ std::string name = Browser::Get()->GetName(); // Set WM_WINDOW_ROLE. params.wm_role_name = "browser-window"; -@@ -289,7 +289,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -304,7 +304,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: std::string window_type; options.Get(options::kType, &window_type); @@ -27,7 +27,7 @@ // Set _GTK_THEME_VARIANT to dark if we have "dark-theme" option set. bool use_dark_theme = false; if (options.Get(options::kDarkTheme, &use_dark_theme) && use_dark_theme) { -@@ -391,7 +391,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -406,7 +406,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: if (window) window->AddPreTargetHandler(this); @@ -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); -@@ -551,7 +551,7 @@ bool NativeWindowViews::IsVisible() { +@@ -566,7 +566,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(); -@@ -609,7 +609,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable +@@ -624,7 +624,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable #endif } @@ -54,7 +54,7 @@ void NativeWindowViews::Maximize() { if (IsVisible()) { widget()->Maximize(); -@@ -736,7 +736,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -751,7 +751,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_) { -@@ -968,7 +968,7 @@ bool NativeWindowViews::IsClosable() { +@@ -987,7 +987,7 @@ bool NativeWindowViews::IsClosable() { return false; } return !(info.fState & MFS_DISABLED); @@ -72,7 +72,7 @@ return true; #endif } -@@ -1356,7 +1356,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1375,7 +1375,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); } -@@ -1418,7 +1418,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1452,7 +1452,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 = -@@ -1516,7 +1516,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1550,7 +1550,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()); -@@ -1586,7 +1586,7 @@ bool NativeWindowViews::CanMaximize() const { +@@ -1620,7 +1620,7 @@ bool NativeWindowViews::CanMaximize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -108,7 +108,7 @@ return true; #endif } -@@ -1638,7 +1638,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1672,7 +1672,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) -@@ -1657,7 +1657,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1691,7 +1691,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_->ResetAltState(); diff --git a/devel/electron24/files/patch-electron_shell_browser_native__window__views.h b/devel/electron24/files/patch-electron_shell_browser_native__window__views.h index e4e202f79517..c29d45cf5196 100644 --- a/devel/electron24/files/patch-electron_shell_browser_native__window__views.h +++ b/devel/electron24/files/patch-electron_shell_browser_native__window__views.h @@ -1,6 +1,6 @@ ---- electron/shell/browser/native_window_views.h.orig 2023-02-06 19:29:11 UTC +--- electron/shell/browser/native_window_views.h.orig 2023-05-22 19:19:22 UTC +++ electron/shell/browser/native_window_views.h -@@ -168,7 +168,7 @@ class NativeWindowViews : public NativeWindow, +@@ -169,7 +169,7 @@ class NativeWindowViews : public NativeWindow, LPARAM l_param, LRESULT* result); void SetIcon(HICON small_icon, HICON app_icon); diff --git a/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts index 7c4f9ac39781..af8d71fa3c95 100644 --- a/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2023-05-17 11:09:55 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2023-05-22 19:19:22 UTC +++ electron/spec/api-browser-window-spec.ts @@ -59,7 +59,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -63,7 +63,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = emittedOnce(w, 'minimize'); -@@ -2334,7 +2334,7 @@ describe('BrowserWindow module', () => { +@@ -2351,7 +2351,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); @@ -72,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); -@@ -2360,7 +2360,7 @@ describe('BrowserWindow module', () => { +@@ -2377,7 +2377,7 @@ describe('BrowserWindow module', () => { }); }); @@ -81,7 +81,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3288,7 +3288,7 @@ describe('BrowserWindow module', () => { +@@ -3305,7 +3305,7 @@ describe('BrowserWindow module', () => { expect(test.versions).to.deep.equal(process.versions); expect(test.contextId).to.be.a('string'); @@ -90,7 +90,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -3794,7 +3794,7 @@ describe('BrowserWindow module', () => { +@@ -3811,7 +3811,7 @@ describe('BrowserWindow module', () => { }); }); @@ -99,7 +99,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -4065,7 +4065,7 @@ describe('BrowserWindow module', () => { +@@ -4082,7 +4082,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 @@ -108,7 +108,7 @@ const w = new BrowserWindow({}); const maximize = emittedOnce(w, 'maximize'); w.maximize(); -@@ -4082,7 +4082,7 @@ describe('BrowserWindow module', () => { +@@ -4099,7 +4099,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -117,7 +117,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4119,7 +4119,7 @@ describe('BrowserWindow module', () => { +@@ -4136,7 +4136,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -126,7 +126,7 @@ const w = new BrowserWindow(); const minimize = emittedOnce(w, 'minimize'); w.minimize(); -@@ -4482,7 +4482,7 @@ describe('BrowserWindow module', () => { +@@ -4499,7 +4499,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -135,7 +135,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -4574,7 +4574,7 @@ describe('BrowserWindow module', () => { +@@ -4591,7 +4591,7 @@ describe('BrowserWindow module', () => { }); }); @@ -144,7 +144,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -5638,7 +5638,7 @@ describe('BrowserWindow module', () => { +@@ -5655,7 +5655,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows); diff --git a/devel/electron24/files/patch-v8_src_api_api.cc b/devel/electron24/files/patch-v8_src_api_api.cc index 18ba8a7f71f3..dcb1ca02235c 100644 --- a/devel/electron24/files/patch-v8_src_api_api.cc +++ b/devel/electron24/files/patch-v8_src_api_api.cc @@ -1,4 +1,4 @@ ---- v8/src/api/api.cc.orig 2023-04-10 14:01:56 UTC +--- v8/src/api/api.cc.orig 2023-05-27 03:09:40 UTC +++ v8/src/api/api.cc @@ -142,7 +142,7 @@ #include "src/wasm/wasm-serialization.h" @@ -9,7 +9,7 @@ #include #if V8_ENABLE_WEBASSEMBLY -@@ -6343,7 +6343,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -6354,7 +6354,7 @@ bool v8::V8::Initialize(const int build_config) { return true; }