Shelley Vohr
4601aeccde
chore: clean up NativeWindowMac::UpdateVibrancyRadii
( #47665 )
...
chore: clean up NativeWindowMac::UpdateVibrancyRadii
2025-07-17 11:45:24 -04:00
Shelley Vohr
31b18c9830
fix: abnormal behavior of windows background material ( #47386 )
...
* fix: abnormal behavior of windows background material
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: update patches
* fix: setting background material after init
---------
Co-authored-by: zoy <zoy-l@outlook.com>
Co-authored-by: patchup[bot] <73610968+patchup[bot]@users.noreply.github.com>
2025-07-17 14:50:12 +02:00
Shelley Vohr
895bf9103e
fix: handle missing NativeWindowMac
in ElectronNSWindow
( #47751 )
...
fix: handle missing NativeWindowMac in ElectronNSWindow
2025-07-17 14:49:37 +02:00
David Sanders
bf51d345c8
build(dev-deps): drop unused @types/webpack dep ( #47767 )
2025-07-17 11:04:11 +02:00
Shelley Vohr
6eef170d9a
test: re-enable native module tests ( #46747 )
2025-07-17 11:03:15 +02:00
Shelley Vohr
31725b4a86
fix: window accentColor
should adhere to native window behavior ( #47740 )
...
* fix: window accentColor should adhere to native window behavior
* fix: address review feedback
* chore: remove duplicate UpdateWindowAccentColor call in ctor
2025-07-17 10:59:42 +02:00
John Kleinschmidt
ec748eb915
test: cleanup RenderFrame lifespan tests ( #47746 )
...
* test: cleanup RenderFrame lifespan tests
* test: disable navigator.serial tests on arm64 mac
debug the hang
test: disable navigator.bluetooth on arm64 mac
Revert "test: disable navigator.bluetooth on arm64 mac"
This reverts commit 4b53a8485a5ff391832c7da93d859f1aa8722e70.
Revert "debug the hang"
This reverts commit 00338f0d49a7918224822087b4510fa9db0686c3.
Revert "test: disable navigator.serial tests on arm64 mac"
This reverts commit fb515ce447a9d42185e84b17b460e4fb6d1bf71d.
Reapply "test: disable navigator.serial tests on arm64 mac"
This reverts commit 0e5608108ffebbe8b8b27af9ea06aadae2ea85dd.
Reapply "test: disable navigator.bluetooth on arm64 mac"
This reverts commit f4c7d3fc0624a22421cba5d3d75df8c5d4367eea.
fixup
* test: add waitUntil for flaky test
2025-07-16 16:19:55 -04:00
Shelley Vohr
5feb91e2f4
test: fix extensions console flake ( #47750 )
2025-07-16 18:27:20 +02:00
Shelley Vohr
5128ebeddb
test: deflake clipboard read/write specs ( #47752 )
2025-07-16 18:27:11 +02:00
Calvin
389927dce8
fix: corner smoothing feature gate crash ( #47759 )
...
* fix: corner smoothing feature gate crash
* Fix ElectronCornerSmoothing::CSSValueFromComputedStyleInternal
2025-07-16 08:39:17 -07:00
Calvin
67afc10b75
fix: add macos memory query fallback patch to avoid crash ( #47765 )
2025-07-16 08:18:54 -07:00
Pratyush
f570e6967f
docs: fix broken sentence in crashReporter.start() documentation ( #47688 )
2025-07-16 15:05:45 +02:00
Shelley Vohr
09ab71de43
fix: deprecation warning crash when no Node.js environment available ( #47700 )
2025-07-16 12:45:59 +02:00
Milan Burda
21b325b034
docs: improve win.setContentProtection()
docs ( #46596 )
...
* docs: improve win.setContentProtection() docs
* docs: update Windows display affinity value
* docs: update Windows behavior description
* Revert "docs: update Windows behavior description"
This reverts commit 6d1942c53a4951b985643432d64cf79df26b2d34.
* Revert "docs: update Windows display affinity value"
This reverts commit c15363e75d271100a437387e4512f084cb8d3cf9.
---------
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-07-15 15:16:56 -07:00
Erick Zhao
cc9ca4bee2
docs: add Menu
module tutorials ( #47268 )
...
* docs: add `Menu` module tutorials
* link API docs to new tutorials
* removed unreferenced fiddles
* add wording for new types
* fix import sort errors
* delete accelerator.md
* fixes
2025-07-15 15:09:32 -07:00
Shelley Vohr
17dba93587
fix: missing SQLite builtin support in Node.js ( #47706 )
...
https://github.com/nodejs/node/pull/58122
2025-07-15 15:39:16 +02:00
electron-roller[bot]
603cafad7e
chore: bump chromium to 140.0.7281.0 (main) ( #47616 )
...
* chore: bump chromium in DEPS to 140.0.7269.2
* chore: bump chromium in DEPS to 140.0.7270.0
* chore: bump chromium in DEPS to 140.0.7271.0
* chore: bump chromium in DEPS to 140.0.7273.0
* 6516731: [ExclusiveAccessForAndroid] remove unneeded includes & deps | https://chromium-review.googlesource.com/c/chromium/src/+/6516731
* 6694809: dbus: Ensure systemd scope is started before using any portal services | https://chromium-review.googlesource.com/c/chromium/src/+/6694809
* chore: patch chromium
* chore: export patches
* chore: bump chromium in DEPS to 140.0.7275.0
* 6677511: [pepper] More pepper removal | https://chromium-review.googlesource.com/c/chromium/src/+/6677511
* 6513641: [gin] Rename gin::Wrappable to gin::DeprecatedWrappable | https://chromium-review.googlesource.com/c/chromium/src/+/6513641
* chore: export chromium patches
* 6513641: [gin] Rename gin::Wrappable to gin::DeprecatedWrappable | https://chromium-review.googlesource.com/c/chromium/src/+/6513641
* chore: bump chromium in DEPS to 140.0.7277.0
* chore: bump chromium in DEPS to 140.0.7279.0
* chore: bump chromium in DEPS to 140.0.7281.0
* 6677314: Plumb enabled client hints in the network requestion to network layer
https://chromium-review.googlesource.com/c/chromium/src/+/6677314
* 6351556: [source-phase-imports] Support Wasm Source Phase Imports
https://chromium-review.googlesource.com/c/chromium/src/+/6351556
* 6700077: [renderer] Avoid calls to deprecated GetIsolate methods
https://chromium-review.googlesource.com/c/chromium/src/+/6700077
* 6692873: Reland "Reland "FSA: Only normalize the hardcoded rules once during initialization""
https://chromium-review.googlesource.com/c/chromium/src/+/6692873
* 6686234: [gin] Cleanup NamedPropertyInterceptor for Wrappable
https://chromium-review.googlesource.com/c/chromium/src/+/6686234
* chore: export patches
* 6667723: Remove content_enable_legacy_ipc GN arg.
https://chromium-review.googlesource.com/c/chromium/src/+/6667723
* 6646566: ui: Move NativeWindowTracker to its own directory
https://chromium-review.googlesource.com/c/chromium/src/+/6646566
* fix: add missing includes
* 6580522: [WAR, DNR] Fix unsafe redirect error to web accessible resource
https://chromium-review.googlesource.com/c/chromium/src/+/6580522
* 6680477: Implement `completeCode` endpoint and expose to DevTools
https://chromium-review.googlesource.com/c/chromium/src/+/6680477
* 6677511: [pepper] More pepper removal
https://chromium-review.googlesource.com/c/chromium/src/+/6677511
* 6696689: Rename views::WidgetFocusManager -> NativeViewFocusManager
https://chromium-review.googlesource.com/c/chromium/src/+/6696689
* 6702812: Move wtf/text/string_impl*.* to "blink" namespace
https://chromium-review.googlesource.com/c/chromium/src/+/6702812
* chore: fix dialog patch
* 6702431: [animation-trigger] Parse timeline-trigger-name
https://chromium-review.googlesource.com/c/chromium/src/+/6702431
* chore: fixup patch indices
* feat: replace webFrame.routingId with webFrame.frameToken
* feat: WebFrameMain.prototype.frameToken
* test: refactor to use replacement APIs
* chore: fixup pip patch
* test: adjust webFrame tests for frameToken changes
* 6703757: Reland "Enable -fsanitize=array-bounds in non-UBSan builds"
https://chromium-review.googlesource.com/c/chromium/src/+/6703757
* test: switch to frameTokens
* test: routingId is fine to test in the main process
* docs: add routingId to breaking changes
* docs: update plugin-crashed event
* chore: fixup linux dialog patch
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: alice <alice@makenotion.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-07-14 13:42:37 -07:00
Shelley Vohr
09f269426e
test: add response to bluetooth request possibilities ( #47725 )
2025-07-14 13:12:27 -04:00
Shelley Vohr
3bbb82b42b
ci: roll BUILD_TOOLS_SHA
for macOS 15.5 SDK ( #47694 )
...
ci: roll BUILD_TOOLS_SHA for macOS 15.5 SDK
2025-07-14 13:11:07 -04:00
Shelley Vohr
a9504abde9
build: roll sysroots ( #47710 )
2025-07-14 11:27:19 -04:00
BILL SHEN
9f3636ffe2
build: add platform-specific conditions to the source_set in chromium_src ( #47627 )
...
* build: Add platform-specific if conditions to the source sets in chromium_src.
* build: Add platform-specific if conditions to the source sets in chromium_src.
2025-07-14 11:25:16 +02:00
Shelley Vohr
4a89068fb7
ci: add kTCCServiceAppleEvents
perm override to fix AppleScript errors ( #47726 )
...
ci: add kTCCServiceAppleEvents perm override to fix AppleScript errors
2025-07-13 21:05:52 +02:00
John Kleinschmidt
137d4ec329
build: cleanup symlinks in cache ( #47727 )
...
* build: cleanup symlinks in cache
* build: ignore broken links
* try --ignore-failed-read
* build: dont deref symlinks
* build: add flag to 7zip to resolve symlink error
Needed to ignore Dangerous symbolic link path was ignored errors
* Revert "build: cleanup symlinks in cache"
This reverts commit 69e53cdc8850a62af3cb8cb1d4b6246b1e378c29.
2025-07-11 16:13:12 -04:00
David Sanders
624d085632
build: deep update brace-expansion to resolve an audit alert ( #47692 )
2025-07-11 09:57:41 +02:00
Robo
600b6b3315
build: reenable v8_enable_temporal_support ( #47699 )
...
* build: reenable v8_enable_temporal_support
* ci: test with increased vm map count
* chore: backport PA use fewer vmas by default on linux
* chore: update patches
* Revert "ci: test with increased vm map count"
This reverts commit b626c9a5ab7ad3f01e17d77c330abfd8096a8b02.
* ci: remove logs
---------
Co-authored-by: patchup[bot] <73610968+patchup[bot]@users.noreply.github.com>
2025-07-11 02:49:54 +09:00
David Sanders
9e67bd3508
ci: update audit CI workflow dependencies ( #47691 )
...
* ci: update audit CI workflow dependencies
* ci: bump to @electron/fiddle-core@2.0.1
2025-07-10 19:19:36 +02:00
Shelley Vohr
909fd3d55a
ci: set git core.longpaths
to true ( #47695 )
...
ci: set git core.longpaths to true
2025-07-10 19:13:39 +02:00
Niklas Wenzel
f2429c31c1
build: ask bug reporters to check if it is a Chromium issue ( #47702 )
...
* build: ask bug reporters to check if it is a Chromium issue
Inspiration: https://github.com/electron/electron/issues/47672#issuecomment-3051298922
* build: fix options
2025-07-10 08:47:04 -07:00
Shelley Vohr
fbb83be785
refactor: use dbus_thread_linux::GetSharedSessionBus()
( #47685 )
...
refactor: use dbus_thread_linux::GetSharedSessionBus()
2025-07-10 10:17:34 +02:00
Shelley Vohr
1eab19fc7c
build: remove unused script ( #47642 )
2025-07-09 10:35:04 -04:00
Shelley Vohr
02f2feabe6
docs: update build prerequisites ( #47680 )
2025-07-09 12:07:24 +02:00
David Sanders
712262597d
build: drop eslint-plugin-unicorn ( #47676 )
2025-07-08 15:20:56 +02:00
Shelley Vohr
31bc5ca903
fix: default to system accent color on invalid user color ( #47660 )
...
fix: default to system accent color on invalid user color"
2025-07-08 11:15:13 +02:00
Shelley Vohr
03a02fc31e
fix: fullscreen for windows without rounded corners ( #47664 )
2025-07-08 11:14:14 +02:00
Shelley Vohr
5ef6897bc7
fix: accent color should reflect system settings without restart ( #47629 )
...
fix: accentColor should reflect system settings without restart
2025-07-03 18:13:39 +02:00
Charles Kerr
bc585b6a3f
refactor: avoid a few unnecessary strings ( #47644 )
...
* perf: replace string temporary with string_view in GetXdgAppId()
* perf: replace string temporary with string_view in ToV8(WindowOpenDisposition)
* perf: replace string temporary with string_view in ToV8(electron::api::WebContents::Type)
2025-07-03 11:08:59 -05:00
David Sanders
4c460df0a4
ci: fix audit workflow alerting on stale results ( #47643 )
2025-07-03 14:42:04 +02:00
Shelley Vohr
cf193b279b
fix: crash on source capture with empty thumbnail size ( #47641 )
2025-07-03 14:41:19 +02:00
Shelley Vohr
655037fbdf
fix: window.open
popups are always resizable ( #47540 )
...
fix: window.open popups are always resizable
Closes https://github.com/electron/electron/issues/43591 .
Per current WHATWG spec, the `window.open` API should always
create a resizable popup window. This change updates the
`parseFeaturesString` function to ensure that windows opened
with `window.open` are always resizable, regardless of the
`resizable` feature string.
2025-07-02 15:02:59 +02:00
Samuel Attard
07338bb1cf
build: update yarn to 1.22.22 ( #47635 )
2025-07-02 12:11:42 +02:00
reito
fb0b77b731
feat: add ColorSpace
( #47314 )
2025-07-02 00:09:09 -07:00
Keeley Hammond
499e987c77
build: set the minimum macOS SDK to 10.15 ( #47634 )
...
* build: set the minumum macOS SDK to 10.15
* build: revert "Update mac_sdk_min to match minimum required SDK version"
This reverts commit 3d4654fc18787fd0c52decf3aeca66f8e8069ffb.
2025-07-01 18:51:08 -07:00
Cas_
f7138344d8
docs: discoverability of chromium switches ( #44947 )
...
* docs: document discoverability of chromium switches
* docs: fixed typo
* docs: reference chromium endorsed list of swithes
* docs: reorder command-line-switches
* fix: address review
* fix: typo
* fix: wording
* Update command-line-switches.md
fix: lint space
* fix: Update docs/api/command-line-switches.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
---------
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
2025-07-01 14:31:49 -07:00
dependabot[bot]
b9248e6782
build(deps): bump github/codeql-action from 3.29.0 to 3.29.2 ( #47622 )
2025-07-01 11:12:15 +02:00
Shelley Vohr
af39dcfb09
refactor: use non-deprecated macOS API in RemoveAsDefaultProtocolClient
( #47506 )
...
refactor: use non-deprecated macOS API in RemoveAsDefaultProtocolClient
2025-07-01 10:19:28 +02:00
Samuel Attard
d347632046
build: write abi version to published npm package ( #47598 )
2025-06-30 15:01:09 -07:00
electron-roller[bot]
4f69c5835e
chore: bump chromium to 140.0.7261.0 (main) ( #47561 )
...
* chore: bump chromium in DEPS to 140.0.7259.0
* chore: update patches
* Add fade in animation to Picture-in-Picture windows
https://chromium-review.googlesource.com/c/chromium/src/+/6538268
* [v8] Use V8 Apis that don't return JSGlobalObject
Refs https://issues.chromium.org/issues/333672197
* chore: IWYU
* chore: bump chromium in DEPS to 140.0.7261.0
* chore: update patches
* revert: update to siso-chromium image
* [v8] Use v8::Object::WrapGlobal()
Refs https://chromium-review.googlesource.com/c/chromium/src/+/6650977
* chore: IWYU
* chore: fix --trace-startup spec
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-06-30 12:30:05 -04:00
Taiki Komoda
fa15332587
docs: update automated-testing.md ( #47017 )
...
* Update automated-testing.md
* fixed lint error
2025-06-30 10:56:48 +02:00
Shelley Vohr
e299a1d098
feat: support complete WebUSB device properties ( #47459 )
...
* feat: support complete WebUSB device properties
* docs: correct type consistency
2025-06-30 10:28:21 +02:00
Charles Kerr
c2302960a8
refactor: reduce scope of temporaries when getting dictionary values ( #47581 )
...
refactor: reduce scale of temporaries when getting dictionary values
2025-06-29 21:58:18 +02:00