Commit graph

28771 commits

Author SHA1 Message Date
electron-roller[bot]
c5f4a6c44b
chore: bump node to v20.18.3 (33-x-y) (#45299)
* chore: bump node in DEPS to v20.18.2

* chore: bump node in DEPS to v20.18.3

* src: fix outdated js2c.cc references

https://github.com/nodejs/node/pull/56133

* lib: remove startsWith/endsWith primordials for char checks

https://github.com/nodejs/node/pull/55407

* test,crypto: make crypto tests work with BoringSSL

https://github.com/nodejs/node/pull/55491

* fix: potential WIN32_LEAN_AND_MEAN redefinition

https://github.com/c-ares/c-ares/pull/869

* deps: update c-ares to v1.34.1

https://github.com/nodejs/node/pull/55369

* chore fixup patch indices

* chore: fix bssl test conditiojnal

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-19 12:13:12 +01:00
Sam Maddock
cea9ebb8e9
fix: dangling speculative frames (#45688)
fix: dangling speculative frames (#45609)

* fix: dangling speculative frames

* harden lifecycle state checks

* feedback

* add const
2025-02-19 12:09:28 +01:00
trop[bot]
faf3ff9219
fix: osr stutter fix backport for electron. (#45658)
* fix: osr stutter fix backport for electron.

Co-authored-by: reito <cnschwarzer@qq.com>

* Update patches/chromium/.patches

Co-authored-by: reito <cnschwarzer@qq.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: reito <cnschwarzer@qq.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-18 20:59:07 +01:00
trop[bot]
2e256e301d
fix: win.closeFilePreview recreates panel when called twice (#45663)
* fix: close quick look during tests on macOS

Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>

* use longer delay 🤷

Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>

* fix: sharedPreviewPanel being recreated on close

Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>

* test: ensure preview panel gets closed

Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-02-18 10:00:14 +01:00
trop[bot]
eee1b523dd
build: run source cache clean daily (#45655)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-18 09:57:06 +01:00
Robo
3980b0f8e4
fix: support for v8.setHeapSnapshotNearHeapLimit api (#45645)
* fix: support for v8.setHeapSnapshotNearHeapLimit api

* chore: fix lint
2025-02-17 15:47:58 +01:00
trop[bot]
f647a02a1b
fix: asan build on macOS (#45568)
* fix: asan build on macOS

Co-authored-by: deepak1556 <hop2deep@gmail.com>

* chore: fix build

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-02-17 11:14:41 +01:00
trop[bot]
f8bfeb3d61
build: bump actions/cache past deprecated version (#45204)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
2025-02-14 16:55:11 -08:00
trop[bot]
03ceb38f25
build: make sure chromium cookie is set everywhere (#45636)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-14 17:13:47 -05:00
trop[bot]
3b4d991fd4
chore: change node test timeout from 20m to 30m (#45622)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-14 11:01:53 +01:00
trop[bot]
35dd10bd26
docs: fix powerMonitor event types (33-x-y) (#45617)
docs: fix powerMonitor event types (#45518)

* fix: powerMonitor event types

* fix: thermal-state-change missing Returns

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Maddock <samuelmaddock@electronjs.org>
2025-02-13 17:07:51 -06:00
trop[bot]
155359e0de
fix: cppgc crashes on Linux with 16KiB pages (#45602)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-13 15:12:08 +01:00
trop[bot]
ccf3ba075e
build: set chromium cookie on depot tools requests (#45598)
* build: set chromium cookie on depot tools requests

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* build: correct secrets syntax

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* build: handle windows cmd

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
2025-02-12 17:21:06 -05:00
trop[bot]
2c52a3d692
fix: fix mksnapshot gen/v8 path (#45547)
* fix: fix mksnapshot gen/v8 path

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* build: use 7z compression

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* build: unzip mksnapshot on Windows and update zip

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* chore: escape backslashes

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

* chore: try another attempt

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

* chore: remove rmdir for now

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-02-11 10:02:17 +01:00
John Kleinschmidt
b3bf094787
fix: context-menu emitted twice (#45549)
fix: context-menu emitted twice (#44978)

* fix: context-menu emitted twice

* refactor: simplify disabling draggable regions

* cleanup

(cherry picked from commit 2c698d3f75)

Co-authored-by: Sam Maddock <smaddock@slack-corp.com>
2025-02-10 15:27:47 -05:00
trop[bot]
e2380d5ec3
build: make sure there is at least 35GB free for source cache (#45513)
build: make sure there is at least 35GB free for cache

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-10 10:17:53 -05:00
trop[bot]
2226d68ced
refactor: only pass v8::Context to gin_helper::MicrotasksScope constructor (#45504)
refactor: forward v8::Context to v8::MicrotasksScope constructor

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2025-02-07 10:03:26 +01:00
trop[bot]
7f00c5c00e
fix: RenderFrameHost nullptr dereference (#45509)
* fix: add nullptr tests before using render_frame_

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: extract-method HasRenderFrame()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-07 10:02:58 +01:00
trop[bot]
39390d70c0
test: dump Electron process PID to path if environment variable set (#45491)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-02-06 11:44:52 -06:00
trop[bot]
8f8351dbaa
fix: WCO not working with some window configurations (#45476)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-05 21:01:34 -05:00
Robo
02d1f557cb
feat: route deprecated sync clipboard read through permission checks (#45473) 2025-02-05 09:28:01 -06:00
trop[bot]
611b980612
build: add NSPrefersDisplaySafeAreaCompatibilityMode = false to Info.plist (#45470)
build: add NSPrefersDisplaySafeAreaCompatibilityMode = false to Info.plist

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2025-02-05 10:50:54 +01:00
Keeley Hammond
0a0c320ca6
build: migrate Windows release builds to GHA (#45467)
* build: migrate Windows release builds to GHA (#45137)

* build: migrate release builds to GHA

* build: alter CI jobs release script

* build: use windows builders for win-publish (#45340)

* build: remove generate-sas-token (#45347)

* build: add win toolchain for release builds (#45380)

* build: add win toolchain for release builds

* build: fix installed_software.json script

* chore: run pwsh script within src

* build: fixup uploader arch
2025-02-04 15:54:31 -08:00
trop[bot]
13ae29f8e1
docs: document deletion of databases directory (#45448)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-02-04 08:28:40 -06:00
trop[bot]
503b5eaad0
build: always use python3 in script/lib/get-version.js (#45443)
build: always use python3 in script/lib/get-version.js

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-02-04 14:40:09 +01:00
trop[bot]
2c96e1612e
fix: incorrect WCO tooltip in RTL (#45424)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-03 14:02:37 +01:00
trop[bot]
91e569e822
build: fixup concurrent builds on protected branches (#45384)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-01-30 10:36:14 +01:00
Keeley Hammond
f360dadbb4
fix: crash in gin::wrappable::secondweakcallback (#45379)
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-01-30 10:35:42 +01:00
trop[bot]
64a1ede1a6
fix: crash parsing CLSID in shell.readShortcutLink() (#45349)
* fix: crash parsing CLSID in shell.readShortcutLink

Co-authored-by: David Lönnhager <david.l@mullvad.net>

* fix: ignore clsid if it could not be set

Co-authored-by: David Lönnhager <david.l@mullvad.net>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Lönnhager <david.l@mullvad.net>
2025-01-29 17:29:25 +01:00
trop[bot]
715f15736c
build: use Python311 exe (#45363)
build: yse Python311 exe

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
2025-01-28 16:06:30 -08:00
trop[bot]
4dd027fb74
fix: potential crash in chrome.tabs.update() (#45303)
fix: potential crash in chrome.tabs.update()

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-01-22 13:19:12 -05:00
trop[bot]
61cd32a8bd
refactor: in StopTracing(), use string literals instead of optional<string> (#45293)
refactor: simplify StopTracing() a little by using a string_view instead of an optional<string>

We have compile-time string literals that we're passing to a method
that takes a string_view argument, so we don't need all this extra
optional<string> scaffolding

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-01-22 12:26:57 +01:00
trop[bot]
133336f803
refactor: simplify ParseUserScript() (#45287)
refactor: simplify ParseUserScript()

local variable user_script no longer needed after #43205

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-01-21 17:41:25 -06:00
trop[bot]
1c4596e0cf
chore: align clipboard blink::web_pref::WebPreferences with upstream (#45281)
chore: align clipboard blink::web_pref::WebPreferences with upstream

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-01-21 09:39:16 -08:00
trop[bot]
24d77baeeb
fix: getAsFileSystemHandle failure when drag-dropping two directories (#45257)
* fix: drag-dropping two directories

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>

* fixup! fix: drag-dropping two directories

Xref: 5872329

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-01-21 16:11:53 +01:00
BILL SHEN
dd82356e25
build: remove useless patch files on 33-x-y branch (#45249)
build: revert the cherry-pick
2025-01-20 14:41:01 -06:00
trop[bot]
9d2e0f688c
build: fix clang-format duplicate message (#45263)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-01-20 10:38:15 -06:00
trop[bot]
3fa59b9b9c
fix: session.clearData avoidClosingConnections default to false (#45207)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
2025-01-17 10:36:47 +01:00
Pedro Pontes
be88dbd361
chore: cherry-pick 3 changes from 0-M132 (#45219)
chore: [33-x-y] cherry-pick 2 changes from 0-M132

* 3c2d220ad025 from v8
* 35f86d6a0a03 from chromium
* c17fe9bc158c from skia
2025-01-16 13:19:42 -08:00
Pedro Pontes
ebe380a2fc
chore: cherry-pick 2 changes from 5-M131 (#45158)
chore: [33-x-y] cherry-pick 2 changes from 5-M131

* 0d3c44362eea from v8
* f3300abe2fcd from chromium
2025-01-09 09:24:04 -06:00
trop[bot]
48aba26aac
perf: cache whether or not ELECTRON_DEBUG_NOTIFICATIONS env var is set (#45161)
* perf: cache whether or not ELECTRON_DEBUG_NOTIFICATIONS env var is set

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* chore: remove unused #include

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-01-09 09:23:04 -06:00
electron-roller[bot]
dd85ddce20
chore: bump chromium to 130.0.6723.191 (33-x-y) (#45150)
chore: bump chromium in DEPS to 130.0.6723.191

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2025-01-10 00:18:09 +09:00
trop[bot]
fcf396ff91
refactor: remove redundant CreateExtensionsClient() (#45154)
* refactor: have CreateExtensionsClient return a unique_ptr, not a raw pointer

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: remove CreateExtensionsClient()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-01-08 16:05:08 -06:00
trop[bot]
17a9ae14bc
chore: cherry-pick 3dc17c46 from chromium (#45134)
* chore: cherry-pick 3dc17c46 from chromium

Co-authored-by: q234rty <q23456yuiop@gmail.com>

* chore: remove unrelated patch

* chore: e patches all

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: q234rty <q23456yuiop@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-01-06 16:01:04 -05:00
Robo
5e1d54396d
fix: native module compilation with gcc<=8 (#45086) 2025-01-06 12:49:53 -05:00
trop[bot]
4d12984d52
test: reenable disabled GHA windows tests (#45076)
* test: renable GHA on Windows disabled tests

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* test: close edge after shell.openExternal

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* test: close edge sync after shell.openExternal

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-01-06 12:48:56 -05:00
electron-roller[bot]
eb931e2789
chore: bump chromium to 130.0.6723.170 (33-x-y) (#45061)
chore: bump chromium in DEPS to 130.0.6723.170

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-12-19 11:23:17 -05:00
trop[bot]
d313fc00b4
fix: better prompt not supported message in window-setup.ts (#45046)
Update window-setup.ts

The message should simply read "is not supported" or, alternatively, "is not, and will not, be supported", but not "is and will not be supported".

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Quinn <qdirks@gmail.com>
2024-12-17 12:39:49 +01:00
trop[bot]
c09f82764a
docs: remove extra " (#45042)
remove extra "

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kavindu Udara <karunasinghesampath38@gmail.com>
2024-12-16 13:43:30 -05:00
trop[bot]
0cf9bdcfca
fix: chrome.i18n unavailable in extension service workers (#45037)
3362491

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Maddock <samuelmaddock@electronjs.org>
2024-12-16 11:56:10 -05:00