trop[bot]
d224d03e31
fix: enable autoHideMenuBar
tests on Linux and Windows ( #46829 )
...
* fix: enable autoHideMenuBar tests
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* docs: mark autoHideMenuBar as supported on Linux, Windows
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-04-28 13:39:59 -05:00
trop[bot]
fbc175aa1f
docs: Add ObjC/macOS tutorial ( #46786 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
2025-04-25 11:00:21 -05:00
trop[bot]
3437927a78
docs: cleanup docs/tutorial/custom-window-styles.md ( #46711 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2025-04-22 10:32:54 +02:00
trop[bot]
592d0155f1
feat: expose nativeTheme.shouldUseDarkColorsForSystemIntegratedUI
( #46599 )
...
feat: expose shouldUseDarkColorsForSystemIntegratedUI
Closes https://github.com/electron/electron/issues/46429 .
Refs https://github.com/electron/electron/pull/19735 .
This PR adds a new API `shouldUseDarkColorsForSystemIntegratedUI` to the
`nativeTheme` module. This API returns a boolean indicating whether the
system is using dark colors for system integrated UI elements. This is
useful for applications that want to adapt their UI to match the system
theme, especially for those that use system integrated UI elements like
the shell theme or taskbar appearance.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-04-16 19:40:51 +02:00
Filip Mösner
c438ed4790
docs: webContents.opener
can be null ( #46579 )
2025-04-15 12:56:03 +02:00
Shelley Vohr
48a7d5d45b
fix: hard crash on invalid command line switches ( #46631 )
2025-04-14 23:46:24 -05:00
trop[bot]
1fe77cdcf2
docs: note that titleBarOverlay.symbolColor
is supported on Linux ( #46535 )
...
docs: note that titleBarOverlay.symbolColor is supported on Linux
this is supported via OpaqueFrameView
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-04-07 14:11:47 +02:00
trop[bot]
23bd5c3d98
docs: Add C++/Win32 tutorial ( #46489 )
...
* docs: Add C++/Win32 tutorial
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Update docs/tutorial/native-code-and-electron-cpp-win32.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Update docs/tutorial/native-code-and-electron-cpp-win32.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Update docs/tutorial/native-code-and-electron-cpp-win32.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Update docs/tutorial/native-code-and-electron-cpp-win32.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Update docs/tutorial/native-code-and-electron-cpp-win32.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* docs: make linter happy
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-04-04 08:59:11 -05:00
trop[bot]
13488d3c98
fix: UtilityProcess.fork
crash before app ready ( #46403 )
...
fix: UtilityProcess.fork crash before app ready
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-04-01 14:09:16 -04:00
trop[bot]
56b79a3a91
fix: APNS token ids are lowercase ASCII ( #46148 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-03-20 19:31:20 -05:00
trop[bot]
344b0ae3ad
docs: use optional chaining for app.dock
( #46139 )
...
docs: use optional chaining for app.dock
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-03-19 18:50:05 -05:00
trop[bot]
f3c4f0ecf6
docs: fix types of app.dock
( #46102 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-03-18 13:24:40 +01:00
trop[bot]
dda60cd4ed
docs: Add 'Native Code and Electron' ( #45967 )
...
* docs: Add 'Native Code and Electron'
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* docs: Add node-gyp requirements
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Update docs/tutorial/native-code-and-electron.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Cross-platform clean command
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Mention napi-rs
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Fix lint, fix more comments
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
2025-03-10 16:45:29 -05:00
trop[bot]
53d7bd6abd
chore: emphasize documentation style guide ( #45909 )
...
docs: emphasize documentation style guide
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
2025-03-06 16:13:49 -05:00
trop[bot]
d98d95b04f
docs: update timelines for E36 ( #45849 )
...
Update electron-timelines.md
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com>
2025-02-28 12:24:03 +01:00
Charles Kerr
5874ec779c
docs: update breaking-changes.md for 35.0.0 ( #45847 )
2025-02-28 11:24:09 +01:00
trop[bot]
18007f843e
feat: support global shortcuts via GlobalShortcutsPortal
feature with ozone/wayland ( #45297 )
2025-02-27 11:33:12 +01:00
trop[bot]
c32fcdfede
feat: remove osr framerate limit when use shared texture ( #45781 )
...
feat: remove framerate limit, if use shared texture osr.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: reito <cnschwarzer@qq.com>
2025-02-25 08:12:25 +01:00
trop[bot]
2da02ec9bc
docs: clarify navigationhistory offsets ( #45766 )
...
* docs: clarify navigationhistory offsets
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
* "relative offset"
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
2025-02-21 18:13:38 -06:00
trop[bot]
3a65cfe339
feat: allow setting roundedCorners
on Windows ( #45740 )
...
* feat: allow setting roundedCorners on Windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update docs/api/structures/base-window-options.md
Co-authored-by: Will Anderson <will@itsananderson.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-21 10:15:02 -06:00
Alice Zhao
5a641e02ee
feat: add excludeUrls and modify urls in WebRequestFilter for better URL filtering ( #45678 )
...
* 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
* docs: remove unneeded section
2025-02-20 15:54:58 -05:00
trop[bot]
497849bf66
chore: deprecate systemPreferences.isAeroGlassEnabled()
( #45554 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2025-02-18 16:29:41 -05:00
trop[bot]
9a7f27d845
feat: Restore webContents navigation history and page state ( #45583 )
...
* feat: Working navigationHistory.restore with just title/url
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* feat: Restore page state, too
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* chore: Docs, lint, tests
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Implement feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* More magic
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Make _awaitNextLoad truly private
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Implement API group feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* One more round of feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
2025-02-17 11:23:18 +01:00
trop[bot]
fa0da6f19f
fix: support for v8.setHeapSnapshotNearHeapLimit api ( #45632 )
...
* fix: support for v8.setHeapSnapshotNearHeapLimit api
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* docs: add support
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 13:23:38 +09:00
trop[bot]
107c0c6c6e
docs: fix grammar in preload tutorial summary ( #45558 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Josh Jancourtz <66430238+jcolpal@users.noreply.github.com>
2025-02-12 11:26:37 +01:00
trop[bot]
763d978765
docs: transactions-updated
event type ( #45542 )
...
fix: `transactions-updated` event type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
2025-02-10 10:22:21 -05:00
trop[bot]
2bce515091
docs: fix powerMonitor event types ( #45543 )
...
* fix: powerMonitor event types
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* fix: thermal-state-change missing Returns
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-10 10:21:56 -05:00
trop[bot]
eaa28375d9
docs: style fixes ( #45482 )
...
* docs: fix code field
Co-authored-by: max54nj <contact@max54nj.de>
* docs: add missing space
Co-authored-by: max54nj <contact@max54nj.de>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: max54nj <contact@max54nj.de>
2025-02-05 21:02:05 -05:00
trop[bot]
f40fc49461
feat: view.getVisible() ( #45409 )
...
* feat: view.getVisible()
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* test: visible apis
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* docs: clarify getVisible
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-05 15:50:00 -05:00
Sam Maddock
a07de0099c
feat: service worker preload scripts for improved extensions support … ( #45408 )
...
feat: service worker preload scripts for improved extensions support (#44411 )
* feat: preload scripts for service workers
* feat: service worker IPC
* test: service worker preload scripts and ipc
2025-02-05 14:18:24 -05:00
trop[bot]
46c9ed61da
feat: route deprecated sync clipboard read through permission checks ( #45471 )
...
* feat: route deprecated clipboard commands through permission checks
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* docs: address review feedback
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* fix: enable checks for child windows
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-05 14:10:43 -05:00
trop[bot]
5be655585d
docs: document deletion of databases
directory ( #45450 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-02-04 08:27:46 -06:00
trop[bot]
04e37266c4
docs: mention C++20 requirement in breaking changes document ( #45445 )
...
* docs: mention C++20 requirement in breaking changes document
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
* chore: fix linter issue
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-02-03 16:29:28 -05:00
Sam Maddock
cc6164fe27
feat: ServiceWorkerMain ( #45341 )
2025-01-31 12:40:19 -05:00
trop[bot]
fa03b92f7e
feat: contextBridge.executeInMainWorld ( #45330 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
2025-01-31 09:50:44 -05:00
trop[bot]
9d696ceffe
feat: redesign preload APIs ( #45329 )
...
* feat: redesign preload APIs
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* docs: remove service-worker mentions for now
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* fix lint
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* remove service-worker ipc code
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* add filename
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* fix: web preferences preload not included
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* fix: missing common init
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
* fix: preload bundle script error
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
2025-01-31 09:46:17 -05:00
trop[bot]
e99328a45e
docs: reference security guide in ipcRenderer.on
docs ( #45371 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-01-29 15:44:07 -05:00
trop[bot]
813efbcdf7
docs: fix broken code in drag and drop example ( #45336 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-01-27 13:05:42 -05:00
trop[bot]
d34fa2e301
docs: Add note about directly exposing Electron APIs in preload ( #45324 )
...
* docs: Add note about directly exposing Electron APIs in preload
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Implement feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
2025-01-23 16:29:48 -08:00
trop[bot]
9aca9e9fb6
docs: add DocCardList component for index doc ( #45296 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
2025-01-22 10:53:19 +01:00
trop[bot]
97fa059e1f
docs: remove quickstart ( #45209 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Anny Yang <yangannyx@gmail.com>
2025-01-17 10:36:58 +01:00
Felix Rieseberg
8a64cdc0b1
docs: Why Electron? ( #45191 ) ( #45222 )
...
* docs: Why Electron?
* Apply suggestions from code review
* Update docs/why-electron.md
---------
Co-authored-by: Sam Maddock <samuel.maddock@gmail.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2025-01-16 14:06:57 -05:00
Calvin
e57b69f106
docs: correct breaking changes versions ( #45173 )
2025-01-13 14:15:24 -08:00
Michaela Laurencin
19ee4464c2
docs: update timelines for E35 ( #45167 )
2025-01-10 16:21:08 -08:00
Kavindu Udara
f89813401d
docs: remove extra " ( #45029 )
...
remove extra "
2024-12-16 13:20:17 -05:00
Calvin
82ea3faae5
docs: update security scoped bookmarks info ( #44968 )
2024-12-09 10:44:43 -08:00
Shelley Vohr
208dc568d8
fix: context-menu
event with BaseWindows
( #44940 )
...
fix: context-menu event with BaseWindows
2024-12-04 13:35:28 -08:00
Felix Rieseberg
687a59b43b
feat: Add shared dictionary management APIs ( #44750 )
...
* Add bare-bones GetSharedDictionaryUsageInfo
* Add GetSharedDictionaryInfo()
* Improve API, use isolation keys
* Add documentation
* Update docs/api/session.md
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
* Add tests
* Implement feedback <3
* Improve tests
* chore: lint
* docs: add note about clearing cache in ses.clearData
---------
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: alice <alice@makenotion.com>
2024-12-04 12:25:11 -05:00
Niklas Wenzel
5324c0e6c3
docs: fix grammar in app.relaunch
docs ( #44920 )
2024-12-03 09:56:09 -08:00
Sam Maddock
2222920429
feat: WebFrameMain.collectJavaScriptCallStack() ( #44204 )
...
* feat: WebFrameMain.unresponsiveDocumentJSCallStack
* Revert "feat: WebFrameMain.unresponsiveDocumentJSCallStack"
This reverts commit e0612bc1a00a5282cba5df97da3c9c90e96ef244.
* feat: frame.collectJavaScriptCallStack()
* feat: frame.collectJavaScriptCallStack()
* Update web-frame-main.md
2024-12-03 13:32:24 +09:00