Samuel Attard
415301c477
chore: cherry-pick 3fbd1dca6a4d from libvpx ( #40024 )
...
* chore: cherry-pick 3fbd1dca6a4d from libvpx
* build: update patches config
* chore: update patches
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
v25.8.4
2023-09-28 03:31:06 -07:00
trop[bot]
b4742f9f91
feat: enable dark mode on GTK UIs ( #40009 )
...
feat: port DarkModeManagerLinux
This is needed after https://bugs.chromium.org/p/chromium/issues/detail?id=998903
and replaces the previous workaround to detect dark mode on GTK.
Detect system dark theme preference via xdg settings portal:
https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Settings
Closes: https://github.com/electron/electron/issues/38961
Closes: https://github.com/electron/electron/issues/28838
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Robert Günzler <r@gnzler.io >
2023-09-27 17:13:08 -04:00
trop[bot]
5868f9ac5e
build: fix with enable_pdf_viewer = false ( #40000 )
...
build: fix with enable_pdf_viewer = false
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-27 19:33:55 +02:00
trop[bot]
6e675c831e
chore: add deprecated app.runningUnderRosettaTranslation to breaking-changes.md ( #39982 )
...
chore: add deprecated app.runningUnderRosettaTranslation to breaking-changes.md
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
v25.8.3
2023-09-26 16:59:02 -04:00
Athul Iddya
66432ed9fc
fix: use generic capturer to list both screens and windows when possible ( #39710 )
...
Screensharing with PipeWire via XDG Desktop Portal requires explicit
user permission via permission dialogs. Chromium has separate tabs for
screens and windows and thus its portal implementation requests
permissions separately for each. However, the screencast portal has no
such limitation and supports both screens and windows in a single
request.
WebRTC now supports this type of capture in a new method called
called `CreateGenericCapturer`. The `desktopCapturer` implementation has
been modified to use it. Additionally, Chromium has been patched to use
same generic capturer to ensure that the source IDs remain valid for
`getUserMedia`.
2023-09-25 12:44:55 +02:00
trop[bot]
0ed48378c2
chore: cherry-pick tls shutdown crash fix from upstream ( #39945 )
...
* chore: cherry-pick tls shutdown crash fix from upstream
Co-authored-by: deepak1556 <hop2deep@gmail.com >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-21 15:21:18 -04:00
trop[bot]
42b4744740
docs: add a more detailed explanation to cookies.flushStore() ( #39905 )
...
* docs: cookies.flushStore()
Co-authored-by: Spencer17x <1253478653@qq.com >
* docs: modify cookies.flushStore()
Co-authored-by: Spencer17x <1253478653@qq.com >
* Update docs/api/cookies.md
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: spencer17x <1253478653@qq.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Spencer17x <1253478653@qq.com >
2023-09-21 11:13:40 -04:00
trop[bot]
04e85b4eda
ci: fix linux builds of forks ( #39941 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-21 10:07:26 -04:00
trop[bot]
e42169b7e4
fix: app.runningUnderARM64Translation() always returning true on Windows ARM64 ( #39930 )
...
fix: app.runningUnderARM64Translation() always returning true on ARM64
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-09-21 10:04:41 -04:00
Pedro Pontes
67b2739f44
chore: cherry-pick 1 changes from Release-0-M117 ( #39919 )
...
* chore: [25-x-y] cherry-pick 1 changes from Release-0-M117
* cf1d4d3c0b6e from v8
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
v25.8.2
2023-09-19 23:48:06 -07:00
trop[bot]
a5e78c4a2f
fix: restore flag that allowed websockets to not be backgrounded ( #39753 )
...
* fix: restore flag that allowed websockets to not be backgrounded
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* chore: update patches
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-19 15:32:25 -04:00
Samuel Attard
fe62d46a4a
build: use afs on aks instead of circle cache ( #39912 )
...
* build: use afs on aks instead of circle cache (#39881 )
* build: use afs on aks instead of circle cache
* build: do not use aks logic on linux hosts checking out for macOS
* build: fix gn-check could-be-aks
* build: sigh
* build: no ls mnt
* build: keep build alive while debugging
* build: make debuggable
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* build: also update node build
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-19 15:13:21 +02:00
trop[bot]
beebf99946
build: fixup autoninja ( #39900 )
...
chore: set GOMA_DIR for autoninja
(cherry picked from commit 94f24bde4d )
(cherry picked from commit 90c1f6e1cb8d22d94dd01791dc4b9c3e0a7e86fc)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-18 20:37:01 -04:00
trop[bot]
df0f25dfd9
fix: keyCodes being incorrectly converted in webContents.sendInputEvent() ( #39820 )
...
fix: sendInputEvent keyCodes being incorrectly converted
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-15 20:23:44 +02:00
trop[bot]
e0e5549ce8
build: run on circle hosts for forks ( #39866 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2023-09-14 15:46:00 -04:00
Shelley Vohr
1d1ce9c63f
fix: chrome://gpu failing to load ( #39852 )
...
fix: chrome://gpu failing to load
2023-09-14 11:09:53 -04:00
Shelley Vohr
aa799e2239
fix: ensure BrowserView bounds are always relative to window ( #39851 )
2023-09-14 10:38:10 -04:00
Samuel Attard
3ac4532efb
build: use aks backed runners for linux builds ( #39836 )
...
* build: use aks backed runners for linux builds (#39403 )
* build: test aks runner
* build: stress test
* build: use super-large nodes for publish jobs
* build: try using aks for everything...
* build: shared host not great
* build: clean up
* build: apparently tests dont run in kube infra?
* build: do not change test size
* ci: fixup known hosts for linux publish (#39437 )
* ci: fixup known hosts for linux publish
* build: use 2023 known hosts
* build: use rebuilt docker image
* Revert "build: use rebuilt docker image"
This reverts commit f9506a9cc0 .
---------
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-12 16:51:43 -07:00
Samuel Attard
dc3ce65dd5
chore: cherry-pick b2eab7500a18 from chromium ( #39825 )
...
* chore: cherry-pick b2eab7500a18 from chromium
* chore: update patches
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
v25.8.1
2023-09-12 11:44:33 -07:00
trop[bot]
9faee48070
fix: ensure app load is limited to real asar files when appropriate ( #39809 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-09-11 14:12:09 -07:00
Pedro Pontes
69b8ebc7f4
chore: cherry-pick 3 changes from Release-3-M116 ( #39756 )
...
* chore: [25-x-y] cherry-pick 3 changes from Release-3-M116
* 74a2eb9c8cb2 from chromium
* 038530c94a06 from v8
* 26175b0903d8 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-09-11 11:22:21 -04:00
trop[bot]
2e8177c839
fix: fullscreen crashing with no roundedCorners and no frame ( #39794 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-11 14:16:26 +02:00
trop[bot]
7a3d7b5c95
fix: devtools allow restoring saved dock state on Windows ( #39766 )
...
* fix: devtools allow restoring saved dock state on Windows
Co-authored-by: deepak1556 <hop2deep@gmail.com >
* chore: address feedback
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 >
2023-09-11 11:23:10 +02:00
trop[bot]
84b863d399
fix: make titlebar opaque while fullscreen ( #39779 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2023-09-08 17:14:27 -07:00
trop[bot]
149f314e38
fix: prevent errors when extensions listen for chrome.tabs events ( #39770 )
...
* fix: prevent errors when extensions listen for chrome.tabs events
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: mark events unsupported in Electron
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 >
2023-09-07 09:20:18 -04:00
trop[bot]
0c450f8c89
test: fix flaky content tracing test ( #39769 )
...
* test: fix flaky content tracing test
(cherry picked from commit 964004fb15 )
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* test: use default timeout
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 >
2023-09-07 09:15:55 -04:00
John Kleinschmidt
3a99edbbdb
build: fix depot_tools patch application ( #39748 )
...
(cherry picked from commit 34b79c15c2 )
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-06 11:21:50 -07:00
trop[bot]
4d371b067b
fix: promise resolved to early when browser initiated in-page navigation v2 ( #39678 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Tomasz Malinowski <tomasz@openfin.co >
2023-08-31 10:40:02 -04:00
trop[bot]
84d7f7f071
fix: assert module in the renderer process ( #39622 )
...
* fix: assert module in the renderer process
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: update patches after trop
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
v25.8.0
2023-08-30 11:08:12 -04:00
Pedro Pontes
4cefd54143
chore: cherry-pick 1 changes from Release-2-M116 ( #39687 )
...
* chore: [25-x-y] cherry-pick 1 changes from Release-2-M116
* 35c06406a658 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-08-30 10:08:09 -04:00
Pedro Pontes
c7fde250bb
chore: cherry-pick 4 changes from Release-1-M116 ( #39646 )
...
* chore: [25-x-y] cherry-pick 3 changes from Release-1-M116
* 1939f7b78eda from chromium
* 37447eb52a74 from chromium
* e4669a74888d from angle
* chore: update patches
* chore: [25-x-y] cherry-pick missing changes from Release-1-M116
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-08-28 15:19:33 +09:00
trop[bot]
1c7de7e5ee
fix: ensure windows respect fullscreenability with different resizability values ( #39642 )
...
* fix: ensure child windows respect fullscreenability/resizability when parent is fullscreen
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* test: add an extra resize test
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 >
2023-08-28 11:05:29 +09:00
trop[bot]
4ad7e5f648
ci: explicitly use python3 to start goma ( #39654 )
...
ci: explicitly use python3 to start goma (#39650 )
* ci: explicitly use python3 to start goma
* ci: explicitly use python3 for goma
(cherry picked from commit 83760bd5c6 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-08-25 14:59:46 +02:00
trop[bot]
3bb93c472d
feat: allow headers to be sent with webContents.downloadURL() ( #39561 )
...
feat: allow headers to be sent with webContents.downloadURL()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-08-24 11:05:49 -04:00
trop[bot]
0412b07612
fix: instantiate tab video tracks from BrowserCaptureMediaStreamTrack ( #39617 )
...
return BrowserCaptureMediaStreamTrack instead of MediaStreamTrack
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: brhenrique <bruno.d@miro.com >
2023-08-23 13:28:03 -04:00
trop[bot]
f818ec3295
fix: chrome.tabs 'url' and 'title' are privileged information ( #39609 )
...
fix: tabs url and title are privileged information
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
v25.7.0
2023-08-22 17:28:54 +02:00
trop[bot]
437a0a2c6e
fix: dangling raw_ptr in ElectronBrowserMainParts dtor ( #39592 )
...
* fix: dangling raw_ptr in ElectronBrowserMainParts dtor
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fixup! fix: dangling raw_ptr in ElectronBrowserMainParts dtor
Browser::WhenReady() holds a reference to JsEnv isolate so must come after
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 >
2023-08-21 13:48:44 +02:00
trop[bot]
2d4c150a99
fix: explorer restart does not recreated thumbnail toolbar buttons ( #39586 )
...
fix: explorer restart does not recreated thumbnail toolbar buttons.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: harada <harada@thinkridge.com >
2023-08-21 17:03:05 +09:00
Pedro Pontes
31aa0dacee
chore: cherry-pick 4 changes from Release-0-M116 ( #39557 )
...
* chore: [25-x-y] cherry-pick 3 changes from Release-0-M116
* 8ff63d378f2c from v8
* 5486190be556 from angle
* d671b099a57d from v8
* chore: update patches
* chore: cherry-pick missing changes
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-08-21 11:42:57 +09:00
trop[bot]
39bdf64347
fix: use tiled edges to calculate frame inset sizes in Linux ( #39569 )
...
Adapt to the window frame size calculation changes in CL 3970920 by
setting the inset sizes to 0 for tiled edges.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Athul Iddya <athul@iddya.com >
2023-08-21 09:44:57 +09:00
trop[bot]
1f3161b2ce
docs: note macOS bounds Tray offset ( #39555 )
...
* docs: note macOS bounds Tray offset
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* Update docs/api/browser-window.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.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 >
2023-08-17 10:59:31 -04:00
Keeley Hammond
e3f64e7b1f
chore: cherry-pick 11 changes from Release-1-M115 ( #39517 )
...
* chore: [25-x-y] cherry-pick 11 changes from Release-1-M115
* d0c1b8954a1b from chromium
* 96fc6d931c97 from v8
* abb3ebd3d2ef from chromium
* fa181f8768c9 from chromium
* 337124b13aaa from chromium
* 83b0bdb696d8 from chromium
* 8d60b1d3b1be from v8
* 285c7712c506 from angle
* 2bf945775fe6 from angle
* cafe56b591ed from angle
* e40cb330b645 from chromium
* chore: modify/remove patches already upstreamed
* 1459124: 311802: Prevent SDP munging of duplicate SSRCs | https://webrtc-review.googlesource.com/c/src/+/311802
2023-08-17 10:51:29 +02:00
trop[bot]
6fb688889d
docs: add missing webview render-process-gone event ( #39546 )
...
docs: add mising webview 'render-process-gone' event
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-08-16 23:04:30 -05:00
trop[bot]
92371e7231
feat: support dns-result-order Node.js cli flag ( #39500 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-08-16 14:06:54 -04:00
trop[bot]
417f2fd3f1
fix: crash when calling BrowserWindow.moveTop() on modal children ( #39528 )
...
fix: crash when calling moveTop() on modal children
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
v25.6.0
2023-08-16 16:00:49 +02:00
trop[bot]
e033c294fc
refactor: clean up Node.js cli arg parsing ( #39511 )
...
* refactor: clean up Node.js arg parsing
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: feedback from review
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 >
2023-08-16 09:44:25 +02:00
trop[bot]
f138d464b2
feat: add support for chrome.tabs.query ( #39430 )
...
* feat: add support for tabs.query
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* fix: scope to webContents in current session
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* test: add test for session behavior
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 >
2023-08-14 10:05:29 +02:00
trop[bot]
dfd80db886
fix: macOS tray button selection with VoiceOver ( #39448 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-08-11 11:24:13 +02:00
trop[bot]
74d019463a
chore: update _api_features manifest requirements ( #39435 )
...
chore: update api_resources manifest requirements
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-08-10 09:29:21 -04:00
trop[bot]
a56fbc563a
feat: allow more Node.js cli flags in main process ( #39374 )
...
* feat: allow more Node.js cli flags in main process
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* docs: update cli switch documentation
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 >
2023-08-10 09:42:02 +02:00