Shelley Vohr
fceeb64e7c
fix: swipe event emission on macOS ( #37946 )
2023-04-13 11:28:22 +02:00
Zenkie Bear
f03315ad4d
docs: Fix the syntax error for code fragment ( #37939 )
...
By using `app.on('ready').then(xxx)`, application will throw a TypeError
2023-04-13 10:00:27 +02:00
Michaela Laurencin
6f2ab392ab
docs: update 22-x-y EOL dates ( #37955 )
...
To account for https://www.electronjs.org/blog/electron-22-0#windows-7881-support-update
Not sure if it is worth adding as a historical change though
2023-04-12 18:10:47 -07:00
electron-roller[bot]
33a625d0ee
chore: bump chromium to 114.0.5710.0 (main) ( #37950 )
...
* chore: bump chromium in DEPS to 114.0.5710.0
* chore: update patches
* 4411421: [json-schema-compiler] Support separating numbers in enum entries |
https://chromium-review.googlesource.com/c/chromium/src/+/4411421
* 4400251: Remove MayBlock and TaskShutdownBehavior from BrowserTaskTraits |
https://chromium-review.googlesource.com/c/chromium/src/+/4400251
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
2023-04-12 18:10:31 -07:00
David Sanders
2ad1324b9d
ci: only remove blocked/need-repro on comment ( #37879 )
2023-04-12 16:33:59 -07:00
Jeremy Rose
fef1b04238
feat: remove on(ready) requirement from powerMonitor ( #37937 )
2023-04-12 15:37:52 -07:00
electron-roller[bot]
908bef7ca9
chore: bump chromium to 114.0.5708.0 (main) ( #37834 )
...
* chore: bump chromium in DEPS to 114.0.5696.0
* chore: update patches
* chore: revert clang revert
(cherry picked from commit 4c3ffa8001b5fdbfc99374bf77895d8d8e35ee31)
* test: remove unneeded test for title on ses.setCertificateVerifyProc
This test is unnecessary because all that really needs to be verified is that the request was rejected.
* chore: Revert "Reland "[BRP] Enable clang plugin check for Linux""
* chore: bump chromium in DEPS to 114.0.5697.0
* chore: bump chromium in DEPS to 114.0.5698.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5700.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5702.0
* chore: bump chromium in DEPS to 114.0.5704.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5705.0
* 4368281: Add bottom-up CertVerifier change observer flow. |
https://chromium-review.googlesource.com/c/chromium/src/+/4368281
* 4402277: Enable check_raw_ptr_fields for Linux |
https://chromium-review.googlesource.com/c/chromium/src/+/4402277
* 4389621: [ChromeAppsDeprecation] Remove deprecated chrome apps from AppService |
https://chromium-review.googlesource.com/c/chromium/src/+/4389621
* 4402191: Allow default initializing BrowserTaskTraits |
https://chromium-review.googlesource.com/c/chromium/src/+/4402191
* chore: bump chromium in DEPS to 114.0.5708.0
* chore: remove incorrectly re-added clang patch
* chore: update patches (clean sync)
* ci: use newer clang for 32-bit Linux ARM
Fixes crash on compiling skia/skia/SkPatchUtils.cpp
* build: generate new libcxx filenames
* 4409898: Update paper printable area in UpdatePrintSettings |
https://chromium-review.googlesource.com/c/chromium/src/+/4409898
* chore: update sysroots.json
Sysroot CL: https://chromium-review.googlesource.com/c/chromium/src/+/4383374
Chromium CL: 4246577: media/gpu: Add CQP AV1 VA-API video encoder | https://chromium-review.googlesource.com/c/chromium/src/+/4246577
* 4336198: [task] Move source location and use it in v8 platform | https://chromium-review.googlesource.com/c/v8/v8/+/4336198
---------
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: VerteDinde <vertedinde@electronjs.org>
Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2023-04-12 07:37:48 -04:00
Darshan Sen
c326b0068e
fix: recommended node-gyp
version in node.h
error ( #37829 )
...
fix: recommended node-gyp version in node.h error
In
https://github.com/electron/electron/blob/main/docs/tutorial/using-native-node-modules.md#using-npm ,
we recommend setting the `npm_config_disturl` variable but doing that
does not work on node-gyp v8.4.0 because after
https://github.com/nodejs/node-gyp/pull/2497
landed, the dist URL was read only from `gyp.opts['dist-url']`. The fix
for reading the value from `npm_config_disturl` by parsing
`gyp.opts.disturl` was landed in
https://github.com/nodejs/node-gyp/pull/2547 and that change was
released in node-gyp v9.0.0, so this change updates the error macro to
recommend node-gyp v9.0.0 as the minimum required version.
Signed-off-by: Darshan Sen <raisinten@gmail.com>
2023-04-11 13:26:26 +02:00
Samuel Attard
c01dff8d89
fix: exceptions during function/promise result conversions live in calling world ( #37904 )
2023-04-11 11:57:48 +02:00
Shelley Vohr
c65632d404
fix: broken buttons in PDF viewer ( #37856 )
2023-04-11 15:30:36 +09:00
David Sanders
adb1172066
chore: use nested namespaces ( #37855 )
2023-04-11 15:30:25 +09:00
David Sanders
e929b2140d
chore: change some for loops to range-based ( #37857 )
2023-04-11 15:27:07 +09:00
David Sanders
82442239bc
chore: use emplace when possible ( #37877 )
2023-04-11 15:21:03 +09:00
David Sanders
3c0c4d5c27
fix: menus on Linux after window modification ( #37798 )
...
* fix: menus on Linux after window modification
* test: don't run on CI
2023-04-11 15:17:45 +09:00
Samuel Attard
6958668448
fix: exceptions in nested conversions live in the target world ( #37895 )
2023-04-10 14:58:27 -07:00
Keeley Hammond
1e206deec3
docs: update E24/E25 breaking changes ( #37878 )
2023-04-06 21:23:29 -07:00
Mikael Finstad
e8c87859c4
fix: showAboutPanel also on linux ( #37828 )
...
showAboutPanel also on linux
2023-04-06 14:50:24 -04:00
Keeley Hammond
83e186fdbc
docs: update 21-x-y EOL dates ( #37841 )
...
* docs: update 21-x-y EOL dates
* doc: update node versions
2023-04-06 14:04:15 -04:00
David Sanders
9563b5f98b
test: support 'latest'/'latest@X' Electron version strings ( #37840 )
2023-04-06 14:03:14 -04:00
Shelley Vohr
251e567eff
fix: don't emit did-fail-load
for MediaDocuments ( #37824 )
...
* fix: don't emit did-fail-load for MediaDocuments
* spec: add test
2023-04-06 10:23:34 +02:00
Fedor Indutny
6bfef67aae
feat: session.resolveHost ( #37690 )
...
* feat: session.resolveHost
Expose Chromium's host resolution API through the Session object.
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
* address feedback
* fix tests
* address feedback
* Add options
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com>
* Update shell/browser/net/resolve_host_function.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com>
* lint
* return object
* add missing file
* fix crash
* handle scope
* links
---------
Co-authored-by: Fedor Indutny <indutny@signal.org>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: Cheng Zhao <github@zcbenz.com>
2023-04-05 10:06:14 -04:00
David Sanders
db27b9f433
chore: initial linting fixes for JS in docs/fiddles ( #37689 )
2023-04-05 09:42:20 -04:00
Shelley Vohr
be32740991
docs: fix app.getPreferredSystemLanguages()
return type ( #37821 )
...
docs: fix app.getPreferredSystemLanguages() return type
2023-04-05 09:31:53 -04:00
Calvin
b8a21dbcd7
test: migrate to helpers & disabled tests list ( #37513 )
...
* test: migrate to helpers & disabled tests list
* can't disable a test suite
* correct condition
* address review comments
2023-04-04 09:48:51 -04:00
electron-roller[bot]
58f3c0ee37
chore: bump chromium to 114.0.5694.0 (main) ( #37820 )
...
* chore: bump chromium in DEPS to 114.0.5694.0
* 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>
2023-04-04 15:42:56 +02:00
Shelley Vohr
3f42040a1b
fix: Fn+F fullscreen transitioning on macOS ( #37803 )
2023-04-04 15:16:59 +02:00
Jeremy Rose
e9d5c3517c
fix: apply csp correctly when contextIsolation: false ( #37756 )
...
* fix: apply csp correctly when contextIsolation: false
* better comments
2023-04-04 17:31:49 +09:00
Shelley Vohr
91f62ae73f
refactor: only override V8Platform::CreateJob
( #37800 )
...
refactor: only override V8Platform::CreateJob
2023-04-04 10:28:28 +02:00
David Sanders
4c8583c365
test: remove workaround for fixed Menu.closePopup issue ( #37802 )
2023-04-04 10:27:51 +02:00
Shelley Vohr
0b4ef2b1e5
chore: combine parallel/test-v8-stats
v8 patches ( #37801 )
...
* chore: combine parallel/test-v8-stats v8 patches
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-04-04 10:19:45 +02:00
electron-roller[bot]
4ba5723aed
chore: bump chromium to 114.0.5692.0 (main) ( #37806 )
...
* chore: bump chromium in DEPS to 114.0.5692.0
* 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>
2023-04-03 15:45:36 -07:00
Keeley Hammond
652d603e69
build: bump nmv to 116 (Electron 25) ( #37797 )
...
build: bump nmv to 116 (e25)
2023-04-03 15:26:31 -07:00
Jeremy Rose
f40bd2da23
fix: record helper error messages in electron_main_mac ( #37807 )
2023-04-03 13:14:19 -07:00
electron-roller[bot]
e31f101712
chore: bump chromium to 114.0.5690.0 (main) ( #37780 )
...
* chore: bump chromium in DEPS to 114.0.5686.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5688.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5690.0
* 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>
2023-04-03 18:56:57 +02:00
David Sanders
4415b7638a
chore: enforce consistent Markdown style for strong and emphasis ( #37787 )
2023-04-03 13:20:10 +02:00
github-actions[bot]
f7c6545eab
build: update appveyor image to latest version ( #37773 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com>
2023-04-02 21:08:27 -07:00
Shelley Vohr
ef657bdc9d
chore: remove wasm CompileJSToWasmWrapperJob
patch ( #37782 )
...
chore: remove wasm CompileJSToWasmWrapperJob patch
2023-04-01 08:47:54 -04:00
David Sanders
6012172187
fix: set background color for menu bar on Windows ( #37766 )
2023-03-31 18:06:09 +02:00
Samuel Attard
a75b892e90
build: remove request dependency ( #37747 )
...
* build: remove request dependency
* oops
2023-03-31 12:20:25 +02:00
Shelley Vohr
7c4f4c537e
build: fix build-tools schema in config ( #37765 )
2023-03-31 12:20:02 +02:00
Erick Zhao
4ca6fb3c4e
docs: update references to @electron/rebuild ( #37757 )
2023-03-31 11:36:59 +02:00
electron-roller[bot]
3fa03977c7
chore: bump chromium to 114.0.5684.0 (main) ( #37701 )
...
* chore: bump chromium in DEPS to 113.0.5672.0
* chore: bump chromium in DEPS to 114.0.5673.0
* chore: bump chromium in DEPS to 114.0.5675.0
* chore: update patches
* 4223697: [json-schema-compiler] T::Populate with base::Value::Dict
https://chromium-review.googlesource.com/c/chromium/src/+/4223697
* chore: update filenames.libcxx.gni
* 4290476: Report an explicit pause reason when stopping after taking a step.
https://chromium-review.googlesource.com/c/v8/v8/+/4290476
* chore: bump chromium in DEPS to 114.0.5682.0
* 4373699: [SystemProfileSelectionDefaultNone] Enable feature by default
https://chromium-review.googlesource.com/c/chromium/src/+/4373699
* chore: update patches
* Revert AsyncCompileJSToWasmWrapperJob simplification
https://chromium-review.googlesource.com/c/v8/v8/+/4347597/11
* 4365718: Reland "Reland "Reland "[Tracing] Use Perfetto client library for tracing on Linux"""
https://chromium-review.googlesource.com/c/chromium/src/+/4365718
* chore: bump chromium in DEPS to 114.0.5684.0
* chore: update patches
* 4335544: [handles] Refactor classes for abstract handles
https://chromium-review.googlesource.com/c/v8/v8/+/4335544
* update patch description to include tracking issue
---------
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>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-03-30 22:03:58 -04:00
David Sanders
75919e28b8
docs: add links to IPC event structures ( #37760 )
2023-03-30 10:13:21 -07:00
Jeremy Rose
ac58607605
docs: remove save-to-disk disposition ( #37758 )
2023-03-30 10:07:54 -07:00
David Sanders
835ace243c
ci: don't use pull_request_target with semantic PR title check ( #37745 )
2023-03-29 14:28:52 -07:00
John Kleinschmidt
8f3ef39f1e
chore: update line endings on HTML files ( #37755 )
2023-03-29 15:02:13 -04:00
David Sanders
48e13fde80
docs: update docs.microsoft.com links to learn.microsoft.com ( #37707 )
2023-03-29 12:16:44 +02:00
David Sanders
bb6648b79e
chore: force LF endings for .html files in .gitattributes ( #37704 )
2023-03-28 11:17:16 -04:00
Will Anderson
2b9dae4b06
feat: add will-frame-navigate
event ( #34418 )
...
* feat: add will-navigate-in-frame event to webContents
* docs: add documentation for webview will-frame-navigate event
* feat: Eliminate isInPlace argument from will-frame-navigate event
* fix: Fire will-frame-navigate before will-navigate
* feat: send will-frame-navigate with a WebFrameMain in the event details
* docs: Update WebContents docs for new API signature
* feat: Add custom event forwarding for <webview> will-frame-navigate
* fix: wrap WebFrameMain so it can be sent as an event
* test: update webContents and <webview> tests to match new signatures
* chore: undo unnecessary change
* fix: don't switch will-navigate to use EmitNavigationEventDetails
* test: clean up will-navigate and will-frame-navigate tests for <webview>
* chore: apply lint fixes
* chore: move GetRenderFrameHost helper into anonymous namespace
* docs: auto-generate WillFrameNavigateDetails rather than defining it manually
* test: Update <webview> tests to actually pass under new spec runner
* docs: Add section explaining relationship between various nav events
* test: Add some tests to ensure navigation event order doesn't silently change
* test: Always monitor all nav events to ensure unexpected ones don't fire
* test: Add test to verify in-page navigation event order
* feat: Change to new style where extra params are exposed as event props
* fix: Remove unused EmitNavigationEventDetails
* fix: Update tests to use new async helpers
* docs: Rename and reorder sections documenting navigation events
---------
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2023-03-28 10:55:41 -04:00
Mikołaj Sawicki
2e1f803f37
docs: updated package.json content and electron version in build first app guide ( #37554 )
...
* Docs: updated package.json content and electron version in build first app guide
* docs: removed caret from electron version
2023-03-28 10:53:20 -04:00