trop[bot]
6908088d38
feat: add app.getPreferredSystemLanguages() API ( #36291 )
...
* feat: add app.getSystemLanguage() API
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Change the API to getPreferredSystemLanguages
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Fix test
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Clarify docs and add Linux impl
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Remove USE_GLIB
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Don't add C to list
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Remove examples since there's a lot of edge cases
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Fix lint
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Add examples
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Fix compile error
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Apply PR feedback
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Update the example
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
2022-11-09 17:20:50 -05:00
trop[bot]
548a91a24b
fix: app.dock.setIcon() crash before app ready ( #36293 )
...
fix: dock.setIcon() crash before app ready
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 >
2022-11-09 15:00:20 -05:00
trop[bot]
04b3fb30ea
fix: arm linux glibc dependency ( #36272 )
...
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 >
v22.0.0-beta.4
2022-11-08 11:31:59 +01:00
trop[bot]
3395a813fb
docs: fix driverId -> deviceId typo ( #36271 )
...
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2022-11-08 11:30:38 +01:00
electron-roller[bot]
d299d267b3
chore: bump chromium to 108.0.5359.29 (22-x-y) ( #36243 )
...
chore: bump chromium in DEPS to 108.0.5359.29
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2022-11-03 16:20:14 -04:00
trop[bot]
71701978b8
docs: Fixed outdated documentation (uploading to App Store) ( #36213 )
...
* Updated docs on uploading
- replaced mention of Application Loader with Apple Transporter, its replacement
- replaced mention of iTunes Connect with App Store Connect
- updated link for creating a record
Co-authored-by: Georgescu Gabriel <29951139+gabi200@users.noreply.github.com >
* Update mac-app-store-submission-guide.md
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Georgescu Gabriel <29951139+gabi200@users.noreply.github.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-11-01 16:39:15 -07:00
electron-roller[bot]
7a8346cc11
chore: bump chromium to 108.0.5359.22 (22-x-y) ( #36163 )
...
* chore: bump chromium in DEPS to 108.0.5359.19
* chore: update patches
* 3859750: [linux/wayland] Added plumbing for the state of tiled edges.
https://chromium-review.googlesource.com/c/chromium/src/+/3859750
Also 3970920: [linux/wayland] Fixed the tiled edges for the GTK frame.
https://chromium-review.googlesource.com/c/chromium/src/+/3970920
(cherry picked from commit d3f0dbb68a )
* chore: bump chromium in DEPS to 108.0.5359.22
* chore: update patches
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 >
2022-11-01 17:17:00 -04:00
trop[bot]
ddcc9b20f2
build: fix building with enable_plugins = false ( #36201 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-11-01 16:05:38 -04:00
trop[bot]
4a13d2708c
fix: resolve loadURL properly for in-page navigations ( #36151 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-11-01 11:08:47 -04:00
trop[bot]
53ebcb0110
docs: add EOL dates to timeline doc ( #36189 )
...
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 >
v22.0.0-beta.3
2022-10-28 19:14:11 -07:00
Keeley Hammond
3a179fb2b7
build: use npm@7 for npm view command ( #36188 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
v22.0.0-beta.2
2022-10-28 13:07:52 -07:00
trop[bot]
820b80b320
build: prefix version in uploader script ( #36174 )
...
build: prefix v in uploader script
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2022-10-27 17:47:07 -07:00
trop[bot]
60889443f7
refactor: handle uncaught promise error ( #36159 )
...
Co-authored-by: daief <1437931235@qq.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: daief <1437931235@qq.com >
2022-10-27 14:23:44 -04:00
trop[bot]
15e0366c35
test: fix flake in will-navigate test ( #36165 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-27 14:19:39 -04:00
John Kleinschmidt
65c4cd7f19
test: fixup HID test for ARM CI ( #36168 )
...
(cherry picked from commit caf28066d6 )
2022-10-27 10:59:31 -07:00
Keeley Hammond
286b533ec1
build: determine electron version from tags not files ( #36134 )
...
* build: determine electron version from tags not files (#36106 )
* build: determine electron version from tags not files
* build: make electron_version dependent on packed-refs and git HEAD
* build: do not delete electron/.git
* build: do not revert a commit we didn't make
* build: gen version file instead of just writing it
* build: update cache and ninja targets
* build: copy resource.h to generated electron.rc
* build: electron_win32_resources should be public deps
* build: also copy the icon
Co-authored-by: MarshallOfSound <marshallofsound@electronjs.org >
* build: ensure get-version runs in the electron git checkout (#36128 )
* build: strip v in the getElectronVersion helper
Co-authored-by: MarshallOfSound <marshallofsound@electronjs.org >
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-10-27 10:28:21 -04:00
trop[bot]
d0d7dfab67
docs: correcting main example in WebRequest documentation ( #36161 )
...
docs: correcting main example in WebRequest documentation (#36113 )
Correcting main example
The entry `*://electron.github.io` is invalid and produces an exception. i.e.
> UnhandledPromiseRejectionWarning: TypeError: Invalid url pattern *://electron.github.io: Empty path.
Setting a valid path to resolve this issue
Co-authored-by: Shane Gannon <sgannon200@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shane Gannon <sgannon200@gmail.com >
2022-10-27 09:31:03 -04:00
trop[bot]
3d619ac79f
docs: document that when invoke rejects, it gives a different Error ( #36148 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-26 17:28:07 -07:00
trop[bot]
163518b80f
build: use python3 for appveyor commands ( #36133 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-10-25 20:28:12 -07:00
Sudowoodo Release Bot
b930387036
Bump v22.0.0-beta.1
v22.0.0-beta.1
2022-10-25 10:02:00 -07:00
trop[bot]
ba08f4c157
docs: fixed MenuItem documentation to use the same formatting for all role options ( #36120 )
...
docs: fixed MenuItem documentation to use the same formatting for all role options (#36112 )
Fixed MenuItem documentation
Some of the items in the list of possible roles were formatted differently, which made it harder to read.
Sorry if this was intended, but I found it easier to read with them all formatted the same.
Co-authored-by: flynow10 <37031514+flynow10@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: flynow10 <37031514+flynow10@users.noreply.github.com >
2022-10-25 20:45:23 +09:00
trop[bot]
51f6a644e9
refactor: enable OOPIF printing to PDF ( #36095 )
...
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 >
2022-10-24 15:26:30 -04:00
trop[bot]
2b13ba9231
test: exit properly when node-spec-runner validates specs ( #36102 )
...
test: exit properly when node spec runner validates specs
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 >
2022-10-24 15:25:04 -04:00
trop[bot]
dc73409683
test: disable flaky linux arm/arm64 crash test case ( #36097 )
...
test: disable failing linux arm/arm64 crash test case
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 >
2022-10-24 14:48:52 -04:00
Sudowoodo Release Bot
b637d0312c
Bump v22.0.0-alpha.8
v22.0.0-alpha.8
2022-10-24 06:30:55 -07:00
electron-roller[bot]
fa39ee4bb7
chore: bump chromium to 108.0.5359.10 (22-x-y) ( #36063 )
...
* chore: bump chromium in DEPS to 108.0.5359.4
* chore: update patches
* fixup! Change content::PluginList to only run on the UI thread.
(cherry picked from commit 7b5ec87d4f )
Co-Authored-By: Robo <hop2deep@gmail.com >
(cherry picked from commit 76a618e7d0 )
* chore: bump chromium in DEPS to 108.0.5359.10
* chore: update patches
* fixup printing patch
https://github.com/electron/electron/pull/35375 accidentally
broke https://github.com/electron/electron/pull/34711
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 >
2022-10-21 20:00:18 -04:00
trop[bot]
b0a5ada661
fix: printToPDF default margins ( #36073 )
...
fix: printToPDF default margins (#36060 )
printToPDF default margins
The document printToPDF has a 1cm margin and this default value has been added in the code.
Co-authored-by: Yusoo <Yusoo@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Yusoo <Yusoo@users.noreply.github.com >
2022-10-20 14:32:13 -04:00
trop[bot]
abf7a48605
feat: support serialPort.forget() ( #36062 )
...
feat: enable serialPort.revoke()
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 >
2022-10-20 14:29:48 -04:00
Sudowoodo Release Bot
0525247b38
Bump v22.0.0-alpha.7
v22.0.0-alpha.7
2022-10-20 06:31:10 -07:00
trop[bot]
6ee24c97ac
fix: headless job tracking in printToPDF ( #36065 )
...
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 >
2022-10-19 10:09:36 +02:00
trop[bot]
72075edca5
chore: bump chromium to 108.0.5355.0 (22-x-y) ( #36056 )
...
* chore: bump chromium to 108.0.5355.0 (main) (#35900 )
* chore: bump chromium in DEPS to 108.0.5339.0
* chore: bump chromium in DEPS to 108.0.5341.0
* chore: sync patch to unrelated upstream code shear
patches/chromium/network_service_allow_remote_certificate_verification_logic.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793
* chore: sync patch to unrelated upstream code shear
patches/chromium/printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793
* chore: sync patch to unrelated upstream code shear
patches/chromium/chore_add_electron_deps_to_gitignores.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3906023
* chore: refresh patches - `e patches all`
* chore: remove unused parameter from WillCreateURLLoaderRequestInterceptors
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3932218
* perf: avoid unique pointer round trip
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3913938
* refactor: Simplify entropy provider management.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3901211
* fixup! perf: avoid unique pointer round trip
* fixup! perf: avoid unique pointer round trip
* refactor: update typeof FileSelectHelper::select_file_dialog_
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3930092
* fixup! fixup! perf: avoid unique pointer round trip
* chore: bump chromium in DEPS to 108.0.5343.0
* chore: update patches
* chore: bump chromium in DEPS to 108.0.5345.0
* chore: bump chromium in DEPS to 108.0.5347.0
* chore: bump chromium in DEPS to 108.0.5349.0
* chore: bump chromium in DEPS to 108.0.5351.0
* chore: bump chromium in DEPS to 108.0.5353.0
* chore: bump chromium in DEPS to 108.0.5355.0
* chore: update patches
* Refactor display::win::DisplayInfo to display::win::internal::DisplayInfo
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3929014
* Update proxy resolution to use NAK - Part 2
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3934016
* Disable PreconnectManager when the user disabled preloading.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3928470
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3937183
* chore: update patches
* chore: update sysroot
* linux: Remove breakpad integration
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3764621
* chore: update comments
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: fixup patches
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: John Kleinschmidt <jkleinsc@electronjs.org >
2022-10-17 14:42:15 -04:00
Sudowoodo Release Bot
f486172114
Bump v22.0.0-alpha.6
v22.0.0-alpha.6
2022-10-17 11:38:11 -07:00
trop[bot]
b938b30128
docs: update VS Code debugger types to remove "pwa-" prefix ( #36054 )
...
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2022-10-17 14:16:44 -04:00
Sudowoodo Release Bot
0b9212859b
Revert "Bump v22.0.0-alpha.6"
...
This reverts commit abd8c8367f .
2022-10-17 08:59:17 -07:00
Sudowoodo Release Bot
abd8c8367f
Bump v22.0.0-alpha.6
2022-10-17 06:31:02 -07:00
trop[bot]
9ab5b08466
fix: override app's desktop name and v8 flags in default-app ( #36049 )
...
Co-authored-by: Piroro-hs <Piroro-hs@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Piroro-hs <Piroro-hs@users.noreply.github.com >
2022-10-17 14:03:14 +02:00
trop[bot]
8e7c81052d
chore: remove useless Node.js V8 patch ( #36043 )
...
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 >
2022-10-17 11:39:23 +02:00
trop[bot]
b403ccc73c
test: re-enable <webview> tag DOM events emits resize event ( #36044 )
...
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 >
2022-10-17 10:57:43 +02:00
trop[bot]
583b24f0b2
test: more robust PDF specs ( #36008 )
...
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 >
2022-10-15 01:25:04 -07:00
trop[bot]
b8a6fcd6c7
test: re-enable power monitor tests on arm64 ( #36021 )
...
test: re-enable powermonitor on arm64
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 >
2022-10-15 01:24:05 -07:00
trop[bot]
ec7e24da56
fix: Windows 7 frame showing for frameless non-resizable windows ( #36024 )
...
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
2022-10-13 17:02:46 -04:00
trop[bot]
f232a31891
fix: disable nodeIntegrationInWorker for certain Worker types ( #36010 )
...
fix: disable nodeIntegrationInWorker for certain Worker types
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 >
2022-10-13 11:40:51 -04:00
Sudowoodo Release Bot
cc7822f950
Bump v22.0.0-alpha.5
v22.0.0-alpha.5
2022-10-13 07:06:04 -07:00
Sudowoodo Release Bot
71cbdb01b2
Revert "Bump v22.0.0-alpha.5"
...
This reverts commit 323803263f .
2022-10-13 07:03:50 -07:00
Sudowoodo Release Bot
323803263f
Bump v22.0.0-alpha.5
2022-10-13 06:30:59 -07:00
trop[bot]
5b6b7e85ff
build: fix building with enable_ppapi = false ( #36007 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-10-12 13:09:50 -04:00
trop[bot]
0c8be31d1a
docs: remove references to Widevine ( #35989 )
...
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 >
2022-10-12 10:03:44 -04:00
trop[bot]
b74a04cce5
fix: webContents.printToPDF option plumbing ( #35993 )
...
fix: contents.printToPDF option plumbing
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 >
2022-10-12 10:50:48 +02:00
trop[bot]
a4afb0ab86
fix: drag and drop should copy on macOS ( #35976 )
...
fix: drag and drop should copy on macOS (#35963 )
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 >
2022-10-11 23:19:58 +02:00
trop[bot]
ba0ebeecdb
fix: on-screen-keyboard hides on input blurred in webview ( #35983 )
...
Co-authored-by: Kyrylo Hrechykhin <khrechykhin@microsoft.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kyrylo Hrechykhin <khrechykhin@microsoft.com >
2022-10-11 23:19:44 +02:00