trop[bot]
548f84df40
docs: document e27 breaking change of dropping macOS 10.13, 10.14 ( #38925 )
...
docs: document e27 breaking change of dropping macOS 10.13, 10.14 support
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-26 15:39:01 -04:00
electron-roller[bot]
779a4e700d
chore: bump chromium to 116.0.5845.4 (26-x-y) ( #38826 )
...
* chore: bump chromium in DEPS to 116.0.5845.3
* chore: bump chromium in DEPS to 116.0.5845.4
* Potential fix for flaky DesktopCaptureApiTest.Delegation unittest
https://chromium-review.googlesource.com/c/chromium/src/+/4632824
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-26 15:07:07 -04:00
trop[bot]
76f4291130
feat: allow headers to be sent with session.downloadURL() ( #38871 )
...
* feat: allow headers to be sent with session.downloadURL
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Charles Kerr <charles@charleskerr.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 >
v26.0.0-beta.1
v26.0.0-alpha.8
2023-06-22 14:40:11 -04:00
trop[bot]
16aac6da13
chore: bump chromium to 116.0.5845.0 (26-x-y) ( #38893 )
...
* chore: bump chromium in DEPS to 116.0.5835.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 116.0.5837.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 116.0.5839.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 116.0.5841.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 116.0.5843.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* Update patches
CLs that affected printing.patch:
- 4616791: Refactor PrintViewManagerBase::PrintNow()
https://chromium-review.googlesource.com/c/chromium/src/+/4616791
- 4602776: Make PrintNodeUnderContextMenu operation go through PrintViewManager
https://chromium-review.googlesource.com/c/chromium/src/+/4602776
Co-authored-by: clavin <clavin@electronjs.org >
* 4506614: geolocation: Add LocationProvider::FillDiagnostics https://chromium-review.googlesource.com/c/chromium/src/+/4506614
Co-authored-by: clavin <clavin@electronjs.org >
* chore: bump chromium in DEPS to 116.0.5845.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* fixup! 4506614: geolocation: Add LocationProvider::FillDiagnostics https://chromium-review.googlesource.com/c/chromium/src/+/4506614
Co-authored-by: clavin <clavin@electronjs.org >
* 4609704: Remove gnome-keyring https://chromium-review.googlesource.com/c/chromium/src/+/4609704
Co-authored-by: clavin <clavin@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
2023-06-22 13:57:04 -04:00
trop[bot]
479c2d8d4a
fix: crash calling BrowserWindow.removeBrowserView() with destroyed webContents ( #38885 )
...
fix: crash calling removeBrowserView() with destroyed webContents
https://github.com/electron/electron/issues/37642
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-22 12:56:33 +02:00
trop[bot]
6c05422a61
fix: set supported scale factors on startup ( #38861 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-21 10:19:41 +02:00
trop[bot]
a6d76efc9e
refactor: use constexpr lookup tables in gin helper ( #38835 )
...
* feat: add gin_helper::FromV8WithLookup()
feat: add gin_helper::FromV8WithLowerLookup()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use constexpr lookup table in gin Converters
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-06-20 14:38:30 +02:00
trop[bot]
88408358ed
fix: crash on nativeTheme change during context menu close ( #38840 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-19 14:46:30 +02:00
trop[bot]
1e3837f4c3
refactor: remove unused InspectableWebContentsView::GetWebView() ( #38820 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-16 12:43:28 -05:00
trop[bot]
f8ed70b613
fix: webContents.print({ silent: true }) not working correctly ( #38812 )
...
fix: webContents.print({ silent: true }) not working correctly
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-15 22:40:34 +02:00
electron-roller[bot]
c2e362d2d3
chore: bump chromium to 116.0.5833.0 (26-x-y) ( #38808 )
...
* chore: bump chromium in DEPS to 116.0.5833.0
* chore: update patches
* 4530656: Add DeviceLoginScreenWebHidAllowDevicesForUrls policy
https://chromium-review.googlesource.com/c/chromium/src/+/4530656
(cherry picked from commit 2c376c7f1a )
* Split CertDatabase notifications between trust changes and client cert changes
https://chromium-review.googlesource.com/c/chromium/src/+/4596317
(cherry picked from commit 1e2f7ef605 )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-15 16:37:27 -04:00
electron-roller[bot]
b3a5ef767b
chore: bump chromium to 116.0.5831.0 (26-x-y) ( #38783 )
...
* chore: bump chromium in DEPS to 116.0.5831.0
* chore: update patches
(cherry picked from commit 0be644a8ae )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
v26.0.0-alpha.7
2023-06-15 12:02:59 +02:00
trop[bot]
94dba56d2c
feat: support node: prefixed requires in sandboxed renderer preloads ( #38728 )
...
feat: support node: prefixed requires in sandboxed renderer preloads
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-06-15 11:59:57 +02:00
trop[bot]
7ad80e414a
refactor: constexpr lookup tables ( #38797 )
...
* refactor: use a constexpr lookup table in GetPathConstant()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use a constexpr lookup table in SystemPreferences::GetColor()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use a constexpr lookup table in SimpleURLLoaderWrapper::Create()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-14 22:08:54 -05:00
trop[bot]
e5419bcf5a
chore: remove unused std includes ( #38795 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-14 17:35:49 -04:00
trop[bot]
8eeaacfafe
fix: preferCSSPageSize error type ( #38793 )
...
fix: preferCSSPageSize error type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-14 11:05:49 -07:00
trop[bot]
582844c537
build: update typescript-generator and docs-parser ( #38777 )
...
* build: update typescript-generator and docs-parser
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
* again...
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
* build: handle more specific pageSize types
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-06-14 10:47:24 -04:00
trop[bot]
77d4ab0701
chore: bump chromium to 116.0.5829.0 (26-x-y) ( #38765 )
...
* chore: bump chromium in DEPS to 116.0.5823.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 116.0.5825.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 116.0.5827.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* 4568811: Integrate Search Prefetch with Extensions.
https://chromium-review.googlesource.com/c/chromium/src/+/4568811
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* 4567511: [DevTools] Add recordCountHistogram API.
https://chromium-review.googlesource.com/c/chromium/src/+/4567511
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* 4507692: Delete base/guid.h
https://chromium-review.googlesource.com/c/chromium/src/+/4507692
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* 4589551: Convert some of /base to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4589551
Also:
4601769: Convert immersive mode controllers to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4601769
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Convert MaybeSizeInBytes() to take in SharedImageFormat
https://chromium-review.googlesource.com/c/chromium/src/+/4594677
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* 4564108: [BRP] Enable check_raw_ptr_fields for Mac
https://chromium-review.googlesource.com/c/chromium/src/+/4564108
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* chore: bump chromium in DEPS to 116.0.5828.0
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* chore: bump chromium in DEPS to 116.0.5829.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-14 07:47:10 -04:00
trop[bot]
923ae840e1
docs: add missing isSameDocument property to will-frame-navigate event details ( #38766 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-13 21:07:13 -05:00
trop[bot]
50014e593f
build: move chrome_lib_arc to chromium_src/BUILD.gn ( #38772 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-06-13 16:23:09 -07:00
trop[bot]
3a7e8d6a24
refactor: use compile-time cli arg sets. ( #38769 )
...
We're currently building these on the heap with `std::set<std::string>`
but this can be a very small compile-time container instead.
Marking as 'refactor' rather than 'perf' since this isn't called often,
but moving from heap to compile-time is good and using this container
makes the code more readable.
2023-06-13 17:23:23 -05:00
trop[bot]
a55410576a
docs: clarify supported accelerator punctuation ( #38756 )
...
doc: clarify supported accelerator punctuation
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-13 16:24:02 -04:00
electron-roller[bot]
cddfdf3ba2
chore: bump chromium to 116.0.5817.0 (26-x-y) ( #38546 )
...
* chore: bump chromium in DEPS to 116.0.5805.2
* chore: bump chromium in DEPS to 116.0.5807.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5809.2
* chore: bump chromium in DEPS to 116.0.5811.0
* chore: bump chromium in DEPS to 116.0.5813.0
* chore: bump chromium in DEPS to 116.0.5815.0
* chore: bump chromium in DEPS to 116.0.5817.0
* chore: bump chromium in DEPS to 116.0.5819.0
* chore: bump chromium in DEPS to 116.0.5821.0
* chore: bump chromium in DEPS to 116.0.5823.0
* chore: bump chromium in DEPS to 116.0.5825.0
* chore: bump chromium in DEPS to 116.0.5827.0
* chore: bump chromium to 116.0.5817.0
cherry picked from fd5e6fbc14
* refactor: add ARC scaffolding for macOS (#38621 )
(cherry picked from commit 9a9d8ae5ea )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
v26.0.0-alpha.6
2023-06-12 18:29:28 -04:00
trop[bot]
e6a631f078
perf: prefer base::StringPiece over std::string for build-time strings ( #38738 )
...
* perf: use base::StringPiece in InclusionStatusToString()
The strings are all build-time constants and this is a private function
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: use base::StringPiece in ErrorCodeToString()
The strings are all build-time constants and this is a private function
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: use base::StringPiece in MessageSourceToString()
The strings are all build-time constants and this is a private function
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: use base::StringPiece in CursorTypeToString()
The strings are all build-time constants and this is a private function
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: use base::StringPiece in MediaStreamTypeToString()
The strings are all build-time constants and this is a private function
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: use base::StringPiece in ModifiersToArray()
The strings are all build-time constants and this is a private function
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: use base::StringPiece in WebFrameRenderer::MaybeGetRenderFrame()
The strings are all build-time constants and this is a private function
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-06-12 12:21:08 -05:00
trop[bot]
9d4debb791
fix: webContents.print() cancellation callback ( #38735 )
...
fix: webContents.print() cancellation callback
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-12 16:17:34 +02:00
trop[bot]
0b181e7977
fix: webContents.print parameter validation error ( #38721 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-11 09:56:35 +02:00
trop[bot]
29d776400a
refactor: api web contents ownership ( #38723 )
...
* refactor: aggregate api::WebContents::exclusive_access_manager_ directly
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: make WebContents::devtools_file_system_indexer_ scoped_refptr const
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: make WebContents::file_task_runner_ scoped_refptr const
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: make WebContents::print_task_runner_ scoped_refptr const
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-06-09 18:57:32 -05:00
trop[bot]
0b7e2b6d91
build: move uploadIndexJson to just before publishRelease ( #38698 )
...
* build: move uploadIndexJson to just before publishRelease
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* chore: move uploadNodeShasums as well
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* build: upload node checksums before validating them
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-06-09 12:22:35 -07:00
trop[bot]
744b8dfc31
refactor: add SessionPreferences::CreateForBrowserContext() ( #38713 )
...
Copy the NativeWindowRelay::CreateForWebContents() idiom
to simplify SessionPreferences's constructor and lifecycle.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-09 12:21:30 -07:00
trop[bot]
9a64d47132
fix: WCO transparent background ( #38716 )
...
* fix: WCO transparency
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
* doc: wco color transparency
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
* fix: transparent buttons when calling setTitleBarOverlay
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
2023-06-09 12:19:31 -07:00
trop[bot]
7acdcae772
fix: menu bar visibility when exiting full screen ( #38683 )
...
* fix:visibility of menu bar when exiting full screen
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* format code
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* format code
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* Modify comments
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* add menu bar visibility test
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* format code
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* change code
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
* platform related in test
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: wugaosheng <wugaosheng@kylinos.cn >
v26.0.0-alpha.5
2023-06-09 13:59:15 +02:00
Erick Zhao
b8d9a80dbb
docs: use local img for contents.adjustSelection api ( #38697 )
...
docs: use local img for contents.adjustSelection api (#38655 )
* docs: use local img for contents.adjustSelection api
* fixup
2023-06-08 13:42:43 -07:00
trop[bot]
67f9b1f88d
fix: dangling pointer warning when updating menus ( #38690 )
...
fix: dangling raw_ptr warning when updating menus
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-08 16:40:52 -04:00
trop[bot]
fc241977fe
fix: reparenting UAF crash on macOS ( #38679 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-08 13:29:17 -04:00
trop[bot]
01faeef36a
build: use upstream's presubmit cpplint filters. ( #38686 )
...
* build: use upstream's presubmit cpplint filters.
Our list of filters has fallen out-of-sync with upstream tests and so
our checks don't match those in the Google + Chromium guides.
The checks in this PR come from depot_tools and are copied manually
since the depot_tools code is python but our linter is js. 🤷
Perhaps we should rewrite in python?
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fixup! build: use upstream's presubmit cpplint filters.
chore: make linter happy with my linter changes
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-06-08 13:28:37 -04:00
trop[bot]
9d3c1d993a
chore: clean up ElectronPermissionManager ( #38669 )
...
chore: clean up ElectronPermissionManager
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-08 12:19:01 +02:00
trop[bot]
95f8fa8732
fix: bad error passing webContents.print(null) ( #38641 )
...
fix: bad error passing webContents.print(null)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-07 23:53:02 -07:00
trop[bot]
53b398d7c3
refactor: remove unused OffScreenRenderWidgetHostView fields ( #38649 )
...
* refactor: remove unused field OffScreenRenderWidgetHostView::last_time_
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: remove unused field OffScreenRenderWidgetHostView::last_scroll_offset_
Unused since 1a9e253
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: remove unused field OffScreenRenderWidgetHostView::paint_callback_running_
assigned to, but unread, since 81bf158
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-06-07 23:51:07 -07:00
trop[bot]
4d4191ed1a
build: improve error output in release.js ( #38660 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-06-07 23:47:55 -07:00
trop[bot]
1facc6d304
fix: validate response in protocol.handle() ( #38635 )
...
fix: validate response in protocol.handle()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-07 10:44:54 -05:00
trop[bot]
455458ace8
fix: sync api::Screen wrapper method sigs to upstream ( #38633 )
...
refactor: sync api::Screen getter sigs to upstream
ui::Display GetAllDisplays(), GetPrimaryDisplay(), GetDisplayMatching(),
and GetDisplayNearestPoint() methods are all const, so make our wrappers
const too.
ui::Display GetAllDisplays() returns a const reference, so make our
wrapper return a const reference too. This avoids creating a new
std::vector<display::Display> each time it's called.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-07 12:09:23 +02:00
trop[bot]
0e2fd41733
refactor: remove redundant resizing strategy equality check ( #38617 )
...
* refactor: remove redundant resizing strategy equality check
Upstream already checks this.
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: remove devtools_settings.h from iwc header
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: remove unused <vectro> from iwc header
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-06-07 09:28:42 +02:00
trop[bot]
dbc4e2d8d7
docs: removed outdated Appveyor doc ( #38626 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-06 19:57:16 -07:00
trop[bot]
3f3435bea7
fix: account for BrowserView bounds in setting autofill popup bounds ( #38610 )
...
fix: account for BrowserView bounds in setting autofill popup bounds
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
v26.0.0-alpha.4
2023-06-06 21:50:52 +02:00
trop[bot]
d142292485
refactor: use process_util.h helpers ( #38606 )
...
refactor: use process_util.h helpers
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-06-06 15:48:33 -04:00
trop[bot]
42a5affba8
fix: file selection when disallowed on macOS ( #38590 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
v26.0.0-alpha.3
2023-06-05 16:21:41 +02:00
trop[bot]
f89974fe4b
refactor: use direct aggregation in NativeWindowViews ( #38576 )
...
* refactor: in NativeWindowViews, aggregate root_view_ directly
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: in NativeWindowViews, aggregate keyboard_event_handler_ directly
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: make NativeWindowClientView::window_ a raw_ref
Xref: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++.md\#non_owning-pointers-in-class-fields
Prefer const raw_ref<T> whenever the held pointer will never be null
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: make lint happy
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-06-05 15:42:25 +02:00
trop[bot]
c62a32df72
chore: type check JS in docs ( #38584 )
...
* build(deps): update @electron/lint-roller
* chore: type check JS in docs
* docs: add @ts-check and @ts-expect-error to code blocks
* chore: fix type check errors in docs
* chore: add ts-type to blocks
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-06-05 14:08:01 +02:00
trop[bot]
75981c1e9a
docs: clarify which electron modules are exposed in sandboxed renderers ( #38579 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-06-05 11:56:16 +02:00
trop[bot]
d9935276dd
docs: fix SerialPort typing ( #38583 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-06-05 11:33:46 +02:00