Shelley Vohr
eac1a7ff68
fix: context-menu event emitted in draggable regions ( #45813 )
...
* fix: context-menu event emitted in draggable regions
* fix: only trigger on mouse release
2025-02-27 14:44:46 -05:00
electron-roller[bot]
00089a951b
chore: bump chromium to 135.0.7039.0 (main) ( #45836 )
...
* chore: bump chromium in DEPS to 135.0.7039.0
* chore: update patches
* extensions: Refactor ExtensionService GrantPermissionsAndEnableExtension
6302374
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-27 13:20:42 -05:00
reito
b8d0f18ff8
docs: add docs about shared texture mode osr ( #45670 )
...
* docs: add docs about shared texture mode osr
* docs: add docs about shared texture mode osr
* docs: fix dot
* 更新 web-contents.md
Co-authored-by: Sam Maddock <samuel.maddock@gmail.com>
---------
Co-authored-by: Sam Maddock <samuel.maddock@gmail.com>
2025-02-27 11:10:58 -05:00
co63oc
96c2022483
chore: Fix typos ( #45825 )
2025-02-27 14:31:21 +01:00
Dietrich Ayala
ff05d4a96c
docs: dialog.md - typo fix s/wndow/window/ ( #45831 )
...
Update dialog.md - typo fix
2025-02-27 10:32:42 +01:00
Charles Kerr
989918a59c
refactor: simplify Invoker::IsOK() ( #45803 )
...
* refactor: simplify Invoker::IsOK()
* refactor: might as well make it [[nodiscard]] as well
2025-02-26 18:50:57 -06:00
electron-roller[bot]
6c4b5d81dd
chore: bump chromium to 135.0.7037.0 (main) ( #45811 )
...
* chore: bump chromium in DEPS to 135.0.7036.0
* chore: bump chromium in DEPS to 135.0.7037.0
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2025-02-26 17:30:11 +01:00
Charles Kerr
7d045dcddb
refactor: remove unused gin_helper::WrappableBase::GetWrapper(v8::Isolate*) ( #45793 )
...
refactor: remove unused EventEmitter::GetWrapper(v8::Isolate*)
2025-02-25 19:50:09 -06:00
Charles Kerr
199f6d64db
perf: avoid redundant method calls in EventEmitter ( #45786 )
...
* refactor: move EventEmitter::EmitWithEvent() into EventEmitter::Emit()
* perf: remove redundant calls to isolate() in EventEmitter::Emit()
* perf: remove redundant calls to GetWrapper() in EventEmitter::EmitEvent()
* perf: remove redundant calls to isolate() in EventEmitter::EmitWithoutEvent()
* perf: remove redundant calls to GetWrapper() in EventEmitter::EmitWithoutEvent()
* refactor: remove unused method EventEmitter::isolate()
* refactor: remove unused method EventEmitter::GetWrapper(v8::Isolate*)
* refactor: remove unused method EventEmitter::GetWrapper()
refactor: make the EventEmitter::Base typedef private
* refactor: remove unused typedef EventEmitter::Base
See "Workarounds" section in
https://isocpp.org/wiki/faq/templates#nondependent-name-lookup-members
* refactor: remove redundant gin_helper:: namespace use
2025-02-25 19:20:33 -06:00
dependabot[bot]
b82e4585cf
build(deps): bump github/codeql-action from 3.28.9 to 3.28.10 ( #45792 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.9 to 3.28.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](9e8d0789d4...b56ba49b26
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 15:25:24 -05:00
electron-roller[bot]
9303a3fae9
chore: bump chromium to 135.0.7035.0 (main) ( #45764 )
...
* chore: bump chromium in DEPS to 135.0.7028.0
* chore: bump chromium in DEPS to 135.0.7029.0
* chore: bump chromium in DEPS to 135.0.7031.0
* chore: bump chromium in DEPS to 135.0.7033.0
* Split //component/embedder_support:browser_util into multiple targets
6246155
* chore: update patches
* build: update filenames.libcxx.gni
* 6275531: Enable Float16Array
6275531
* chore: bump chromium in DEPS to 135.0.7035.0
* chore: update patches
* Move Service Process Host files to a separate folder
6089368
* Remove NOTREACHED()s after return statements
6297811
* Move ServiceProcessTracker and UtilityProcessClient into separate files
6088677
* chore: update filenames.libcxx.gni
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-25 15:16:15 -05:00
Keeley Hammond
9b6ba1ced1
fix: re-enable MacWebContentsOcclusion feature flag ( #45775 )
2025-02-25 09:28:09 -08:00
dependabot[bot]
7870ade07a
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 ( #45791 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](62b2cac7ed...f49aabe0b5
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 08:13:06 +01:00
dependabot[bot]
9699422cd6
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1 ( #45790 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](65c4c4a1dd...4cec3d8aa0
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 08:13:01 +01:00
Charles Kerr
3ee2ec8e4f
build: re-enable unsafe buffer checks ( #45770 )
2025-02-24 20:06:30 -06:00
Charles Kerr
0de1e8e610
refactor: remove unused v8::Isolate*
arg from GlobalShortcut
constructor ( #45773 )
...
refactor: remove unused isolate arg from GlobalShortcut constructor
has not been used since f1a0d5e811
(#22755 )
2025-02-24 19:38:20 -06:00
Shelley Vohr
01554f39a8
revert: drag and drop icons on Windows ( #45779 )
...
This reverts commit 698cce6707
.
2025-02-24 11:35:29 -06:00
Charles Kerr
69eb076bca
refactor: do not use AdaptCallbackForRepeating()
in electron_api_url_loader.cc
( #45771 )
...
refactor: do not use AdaptCallbackForRepeating in electron_api_url_loader.cc
2025-02-24 11:09:01 -05:00
reito
f3259be73c
feat: remove osr framerate limit when use shared texture ( #45669 )
...
feat: remove framerate limit, if use shared texture osr.
2025-02-24 10:21:46 -05:00
David Sanders
698cce6707
fix: drag and drop icons on Windows ( #45767 )
2025-02-24 09:54:08 +01:00
Nilay Arya
3eab549369
docs: added upstream doc links for node, chromium, and v8 in default_app ( #45392 )
2025-02-22 10:15:36 -06:00
Shelley Vohr
3e51ee516e
fix: rework and improve legacyMainResolve
patch ( #45754 )
...
fix: rework and improve legacyMainResolve patch
2025-02-22 10:06:04 -06:00
Sam Maddock
e3f61b465d
refactor: move extension APIs to session.extensions ( #45597 )
...
refactor: move extensions to session.extensions
2025-02-21 17:36:51 -06:00
Erick Zhao
a63f6143ea
docs: clarify navigationhistory offsets ( #45616 )
...
* docs: clarify navigationhistory offsets
* "relative offset"
2025-02-21 17:35:17 -06:00
Charles Kerr
2a383e9ddd
refactor: use C++20's contains() method ( #45742 )
...
* chore: use std::map<>::contains() instead of count() or find()
* chore: use std::map<>::contains() instead of base::Contains()
2025-02-21 17:33:43 -06:00
electron-roller[bot]
612da3ec47
chore: bump chromium to 135.0.7027.0 (main) ( #45677 )
...
* chore: bump chromium in DEPS to 135.0.7021.0
* chore: bump chromium in DEPS to 135.0.7023.0
* chore: update patches
* chore: gen-libc++-filenames.js
* [Extensions] Add a BUILD.gn file for the chrome.system.display API.
Refs 6227347
* chore: bump chromium in DEPS to 135.0.7025.0
* fixup! [Extensions] Add a BUILD.gn file for the chrome.system.display API.
* [DevTools] Add support for automatic workspace folders.
Refs 6275926
* Add UseCounter for potential PNA 2.0 breakage
Refs 6259197
* Remove references to NavigationEntry/Controller in Zoom code.
Refs 6258070
* chore: update patches
* Allow DevTools to record UmaHistogramMediumTimes
Refs 6183713
* chore: update patches
* [gpu] Remove unnecessary media_buildflags include
Refs 6286526
* chore: bump chromium in DEPS to 135.0.7027.0
* chore: update patches
* Remove type alias
Refs 6280957
* [Refactor] Make ExtensionRegistrar a browser keyed service.
Refs 6285230
* Remove unused functions
Refs 6278736
* chore: IWYU
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-02-21 14:46:51 -08:00
Keeley Hammond
6248c2436a
fix: re-enable synchronous spellcheck on Windows ( #45712 )
...
* fix: re-enable synchronous spellcheck on Windows
* revert: fix: empty suggestions with windows platform checker
---------
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-02-21 14:45:46 -08:00
Charles Kerr
8d58999135
refactor: use base's map utills in WebFrameMain ( #45741 )
...
refactor: use base::FindPtrOrNull() in WebFrameMain::FromFrameTreeNodeId()
refactor: use base::FindPtrOrNull() in WebFrameMain::FromFrameToken()
2025-02-21 15:28:00 -06:00
Shelley Vohr
324fc0f62a
fix: crash on getUserMedia
with invalid chromeMediaSourceId
( #45733 )
...
* fix: crash on getUserMedia with invalid chromeMediaSourceId
* test: add a test
2025-02-21 10:17:52 -06:00
Charles Kerr
f62668e2e3
refactor: use base::as_byte_span() in EncodeToken(). ( #45723 )
...
This matches the change in upstream's serial_chooser_context.cc.
5247305
2025-02-20 20:20:16 -05:00
Charles Kerr
a15fa87558
refactor: use base::as_bytes()
in WriteAsciiChunk()
( #45724 )
...
refactor: use base::as_bytes() in WriteAsciiChunk()
this avoids a reinterpret_cast and a static_cast
2025-02-20 20:19:48 -05:00
Charles Kerr
ceaa0e26c7
refactor: use base::as_string_view() ( #45722 )
...
Use `base::as_string_view()` as a safer alternative to `reinterpret_cast`
in a couple of places.
Xref: 5472408
2025-02-20 18:19:36 -06:00
Shelley Vohr
4867b5dc75
refactor: bluetooth in serial chooser when exclusively wireless serial ports are expected ( #45671 )
...
* refactor: bluetooth in serial chooser when exclusively wireless serial ports are expected
5737296
* chore: review feedback
2025-02-20 16:44:35 -06:00
Shelley Vohr
340fdaf511
feat: allow setting roundedCorners
on Windows ( #45594 )
...
* feat: allow setting roundedCorners on Windows
* Update docs/api/structures/base-window-options.md
Co-authored-by: Will Anderson <will@itsananderson.com>
---------
Co-authored-by: Will Anderson <will@itsananderson.com>
2025-02-20 15:39:12 -05:00
Sam Maddock
5ea885c87f
build: skip chromium git cookie on forks ( #45735 )
2025-02-20 14:38:20 -05:00
Shelley Vohr
d8baceb08c
fix: crash loading about:blank
in subframes ( #45694 )
...
fix: crash loading about:blank in subframes
2025-02-20 12:07:15 -05:00
Charles Kerr
d6f4982522
fix: possible timing issue in utility-process spec ( #45690 )
...
This fixture has been calling process.exit() immediately after writing
to stdout and stderr, which the Node.js docs say is risky behavior:
> Calling process.exit() will force the process to exit as quickly as
> possible even if there are still asynchronous operations pending that
> have not yet completed fully, including I/O operations to
> process.stdout and process.stderr.
This fixture's been around for years without problems (AFAIK).
The writes are very small ('hello\n' and 'world') and finish quickly.
But recently I've been testing on a very slow CI machine. There, I see
this spec flaking when it expects stderr to be 'world' but it gets ''.
This PR changes the fixture to wait for stdout & stderr to flush
before calling process.exit().
2025-02-19 23:28:04 -06:00
Sam Maddock
9d558cec5e
fix: action.openPopup function missing ( #45697 )
2025-02-19 18:05:02 -05:00
Shelley Vohr
159e1a42b3
refactor: track downloads by guid ( #45675 )
2025-02-19 16:49:34 -06:00
Sam Maddock
b50066f420
fix: extension web workers net request failing ( #45698 )
2025-02-19 13:08:28 -05:00
Milan Burda
22b7403cd1
chore: remove deprecated systemPreferences.isAeroGlassEnabled()
( #45563 )
2025-02-18 18:59:00 -06:00
Charles Kerr
670e0ca076
chore: disable 'should lock the keyboard' test on macOS ( #45681 )
2025-02-18 18:00:01 -06:00
Sam Maddock
ee67bc7dcb
fix: dangling speculative frames ( #45609 )
...
* fix: dangling speculative frames
* harden lifecycle state checks
* feedback
* add const
2025-02-18 17:52:05 -05:00
John Kleinschmidt
ecd7eb36ac
build: remove appveyor bake ( #45073 )
2025-02-18 12:04:47 -08:00
electron-roller[bot]
47572286f3
chore: bump chromium to 135.0.7015.0 (main) ( #45500 )
...
* 6230977
* chore: bump chromium to 135.0.7012.0
* chore: update accelerator.patch
Support parsing Ctrl+Alt shortcuts | 6238137
* 6234236: Reapply bindings: Pass CppHeap on Isolate creation | 6234236
* 6234614: [ios blink] Move to use external begin frame source | 6234614
* chore: update chromium/feat_add_streaming-protocol_registry_to_multibuffer_data_source.patch
no manual changes; patch applied with fuzz
* chore: update chromium/build_libc_as_static_library.patch
no manual changes; patch applied with fuzz
* chore: remove chromium/cherry-pick-dd8e2822e507.patch
landed upstream
* 6188884: Grit: Remove output_all_resource_defines from list of valid attributes. | 6188884
* 6226981: [views-ax] Remove View::GetAccessibleNodeData() method | 6226981
* 6214895: [views-ax] Deprecate View::NotifyAccessibilityEvent | 6214895
* 6196494: Remove ImageView::SetImage() with ImageSkia param | 6196494
* 6236267: [cleanup] Remove unused PrinterBasicInfo fields | 6236267
* refactor: remove status, isDefault properties from PrinterInfo
Xref: 6236267
* chore: lint
* fixup: added mas bypass to new file added in 6208630
see slack for more context
* chore: node script/gen-libc++-filenames.js
* chore: e patches all
* fix: duplicate crdtp symbols
* chore: update patches
* fixup! [Media Features] Remove launched features
---------
Co-authored-by: alice <alice@makenotion.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-02-18 11:51:27 -05:00
Sam Maddock
6be1151ffc
fix: win.closeFilePreview recreates panel when called twice ( #45319 )
...
* fix: close quick look during tests on macOS
* use longer delay 🤷
* fix: sharedPreviewPanel being recreated on close
* test: ensure preview panel gets closed
2025-02-17 17:25:19 -05:00
Sam Maddock
c0422d7cc9
refactor: dispatch IPC messages from Session ( #45452 )
...
* refactor: dispatch IPC messages from Session
* refactor: move MessageHost to Session
2025-02-17 16:36:28 -05:00
reito
e9ba5876d1
fix: osr stutter fix backport for electron. ( #45572 )
2025-02-17 22:13:44 +01:00
Alice Zhao
02be7c1185
feat: add excludeUrls and modify urls in WebRequestFilter for better URL filtering ( #44692 )
...
* feat: add excludeUrls to web request filter
* refactor: add deprecated field
* test: update tests
* lint: newline
* docs: improve API doc
* fix: add is filter defined property to match all urls
* refactor: remove includeUrls
* refactor: remove typescript binding
* refactor: all_url
* refactor: remove isDefined methods
* refactor: remove comment
* fix: logic
* docs: add to breaking changes
2025-02-17 12:40:47 -08:00
Shelley Vohr
7dfcec931a
build: run source cache clean daily ( #45652 )
2025-02-17 13:57:22 -05:00