Keeley Hammond
8a89ff06c9
fix: revert SameParty cookie attribute removal
2023-09-21 16:25:46 -07:00
Fredy Whatley
7c2df8860b
docs: tiny update on example message-ports.md ( #39884 )
...
Update message-ports.md
fix multiplying object * a number. It would multiply number * number.
2023-09-21 11:46:23 -04:00
github-actions[bot]
56e45baeb8
build: update appveyor image to latest version - e-119.0.6019.2 ( #39924 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-21 09:49:04 -04:00
Robo
5f712fa325
chore: cherry-pick tls shutdown crash fix from upstream ( #39928 )
2023-09-21 09:47:31 -04:00
John Kleinschmidt
ba8915242a
ci: fix linux builds of forks ( #39933 )
2023-09-21 12:10:46 +02:00
Milan Burda
c9eb3deab5
chore: remove deprecated scroll-touch-{begin,end,edge} events ( #39814 )
...
* chore: remove deprecated `scroll-touch-{begin,end,edge}` events
* update spec/ts-smoke
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-20 17:41:29 -04:00
Valentin Hăloiu
58fd8825d2
fix: add support for ELECTRON_OZONE_PLATFORM_HINT env var ( #39792 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-20 16:21:23 -04:00
Milan Burda
6a8b70639b
fix: app.runningUnderARM64Translation() always returning true on Windows ARM64 ( #39920 )
...
fix: app.runningUnderARM64Translation() always returning true on ARM64
2023-09-20 16:15:19 -04:00
electron-roller[bot]
1766511e34
chore: bump node to v18.18.0 (main) ( #39915 )
...
* chore: bump node in DEPS to v18.18.0
* child_process: harden against prototype pollution
https://github.com/nodejs/node/pull/48726
* deps: upgrade to libuv 1.46.0
https://github.com/nodejs/node/pull/49591
* module: reduce url invocations in esm/load.js
https://github.com/nodejs/node/pull/48337
* Revert "test: remove test-crypto-keygen flaky designation"
https://github.com/nodejs/node/pull/48652
* fix: FTBTFS in ada dep
https://github.com/ada-url/ada/pull/464
https://github.com/ada-url/idna/pull/31
* fix: force_colors snapshot line number
* chore: fixup patch indices
* chore: update filenames.json
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-20 16:13:43 -04:00
electron-roller[bot]
28eda03aba
chore: bump chromium to 119.0.6019.2 (main) ( #39925 )
...
* chore: bump chromium in DEPS to 119.0.6018.4
* chore: update patches
* chore: bump chromium in DEPS to 119.0.6019.2
* chore: update patches
* 4876292: Roll libc++ from 7cee6b00d34a to 3e8a3b3c5d49 (6 revisions)
https://chromium-review.googlesource.com/c/chromium/src/+/4876292
* 4851616: [Extensions] Enable matchOriginAsFallback for dynamic content scripts
https://chromium-review.googlesource.com/c/chromium/src/+/4851616
* 4869393: [Extensions UserScripts] Add error messages for script matching errors
https://chromium-review.googlesource.com/c/chromium/src/+/4869393
---------
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: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-20 16:08:26 -04:00
George Xu
7685f27b31
feat: expose app accessibility transparency settings api ( #39631 )
...
* feat: expose app accessibility transparency settings api
* docs: fix typo
* chore: add doc
* change to property
* add as property instead of method
* chore: fix lint
* rename function name in header
---------
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-09-20 12:48:02 -07:00
Shelley Vohr
463586a6c5
chore(deps): roll nan to pick up upstreams ( #39916 )
2023-09-20 15:37:10 +02:00
electron-roller[bot]
a39c0ee659
chore: bump chromium to 119.0.6017.0 (main) ( #39922 )
...
* chore: bump chromium in DEPS to 119.0.6017.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-09-20 11:30:38 +02:00
github-actions[bot]
0b0a8a5ef3
build: update appveyor image to latest version, e-119.0.6006.0 ( #39908 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-19 23:46:47 -07:00
electron-roller[bot]
986becdb4d
chore: bump chromium to 119.0.6016.0 (main) ( #39898 )
...
* chore: bump chromium in DEPS to 119.0.6016.0
* chore: update patches
* 4839124: Rename chrome/app/ branding strings
https://chromium-review.googlesource.com/c/chromium/src/+/4839124
* 4846834: Clean up PrintRenderFrameHelper interaction with Blink.
https://chromium-review.googlesource.com/c/chromium/src/+/4846834
* 4850759: Cache bounds of document pip windows
https://chromium-review.googlesource.com/c/chromium/src/+/4850759
* 4864669: Roll libc++ from 84fb809dd6da to 68a6f0b88287 (352 revisions)
https://chromium-review.googlesource.com/c/chromium/src/+/4864669
* 4863987: Remove five gpu workarounds.
https://chromium-review.googlesource.com/c/chromium/src/+/4863987
---------
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 >
2023-09-19 19:34:56 +02:00
Samuel Attard
75ea294b6f
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 >
2023-09-19 03:12:14 -07:00
spencer17x
18717ee62d
docs: add a more detailed explanation to cookies.flushStore() ( #37572 )
...
* docs: cookies.flushStore()
* docs: modify cookies.flushStore()
* Update docs/api/cookies.md
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-18 16:51:46 -04:00
electron-roller[bot]
73e33bc876
chore: bump chromium to 119.0.6006.0 (main) ( #39774 )
...
* chore: bump chromium in DEPS to 119.0.5994.0
* chore: update patches
* Add some more debugging for navigation origin & process lock mismatch
https://chromium-review.googlesource.com/c/chromium/src/+/4829483
* chore: bump chromium in DEPS to 119.0.5996.2
* chore: bump chromium in DEPS to 119.0.5997.0
* chore: bump chromium in DEPS to 119.0.6000.0
* chore: bump chromium in DEPS to 119.0.6002.0
* 4781766: Port remaining control color ids to the color pipeline
https://chromium-review.googlesource.com/c/chromium/src/+/4781766
* 4846057: Preloading: Move prefetch_prefs to chrome/browser/preloading/
https://chromium-review.googlesource.com/c/chromium/src/+/4846057
* chore: fixup patch indices
* 4848108: Pass v8::Isolate into FromV8Value calls on blink API
https://chromium-review.googlesource.com/c/chromium/src/+/4848108
* 4834471: Reland "[api] allow v8::Data as internal field"
https://chromium-review.googlesource.com/c/v8/v8/+/4834471
* 4808884: Major overhaul of ExceptionState in the v8 bindings
https://chromium-review.googlesource.com/c/chromium/src/+/4808884
* 4791643: [sandbox] Add a TRUSTED_SPACE and TRUSTED_LO_SPACE to the V8 heap
https://chromium-review.googlesource.com/c/v8/v8/+/4791643
* chore: bump chromium in DEPS to 119.0.6005.0
* 4776268: [v8][etw] Enables filtering of ETW tracing by URL
https://chromium-review.googlesource.com/c/chromium/src/+/4776268
* chore: fixup patch indices
* 4673258: WebSQL: Disable WebSQL by default
https://chromium-review.googlesource.com/c/chromium/src/+/4673258
* chore: bump chromium in DEPS to 119.0.6006.0
* chore: update patches
* 4854732: Reland^2 "[iterator-helpers] Unship due to incompat"
https://chromium-review.googlesource.com/c/v8/v8/+/4854732
* 4794133: [AWC] Add `display-state` CSS @media feature
https://chromium-review.googlesource.com/c/chromium/src/+/4794133
* fixup! Add some more debugging for navigation origin & process lock mismatch
* Revert "fixup! Add some more debugging for navigation origin & process lock mismatch"
This reverts commit 38fef075fc .
* 4858437: Revert "[iOS] Delete GN flags for mach absolute time ticks"
https://chromium-review.googlesource.com/c/chromium/src/+/4858437
* refactor: fix_crash_loading_non-standard_schemes_in_iframes.patch (#39879 )
* chore: 4869108: handle absolute and relative gn imports in autoninja
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4869108
* chore: set GOMA_DIR for autoninja
* Revert "chore: 4869108: handle absolute and relative gn imports in autoninja"
This reverts commit d94c7720ba .
---------
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>
Co-authored-by: Robo <hop2deep@gmail.com >
2023-09-18 16:44:09 -04:00
John Kleinschmidt
c8544e25df
build: fixup autoninja ( #39896 )
...
chore: set GOMA_DIR for autoninja
(cherry picked from commit 94f24bde4d )
(cherry picked from commit 90c1f6e1cb8d22d94dd01791dc4b9c3e0a7e86fc)
2023-09-18 16:43:27 -04:00
Milan Burda
9c7086074e
docs: add missing ipcRenderer.off() / ipcRenderer.addListener() aliases ( #39816 )
...
* docs: add missing `ipcRenderer.off()` / `ipcRenderer.addListener()` aliases
* Update docs/api/ipc-renderer.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* fix ipcRenderer.removeListener
* update ts-smoke
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-09-19 01:58:20 +09:00
Milan Burda
d7e4bb6608
chore: remove no-op fullscreenWindowTitle option ( #39815 )
2023-09-19 01:55:47 +09:00
David Sanders
706653d5e4
ci: fix issue-commented workflow sytnax ( #39875 )
2023-09-17 19:23:59 -07:00
John Kleinschmidt
65952abc99
test: fixup node flakes ( #39871 )
...
chore: fixup node flakes
2023-09-15 03:43:13 -07:00
Athul Iddya
50ce02c312
fix: check PipeWire init before creating generic capturer ( #39846 )
...
Check if PipeWire can be initialized before creating generic capturer.
This harmonizes the conditions with the ones used in Linux
implementations of DesktopCapturer::CreateRawScreenCapturer and
DesktopCapturer::CreateRawWindowCapturer.
2023-09-14 15:50:20 -04:00
Milan Burda
fb6b92076e
fix: prevent gin_helper::Locker heap allocation ( #39847 )
...
fix: prevent gin_helper::Locker heap allocation
2023-09-14 15:48:43 -04:00
David Sanders
d6c04a3787
ci: ignore actions taken by triage bot ( #39855 )
...
* ci: ignore actions taken by triage bot
* ci: don't remove blocked label on bot comment
2023-09-14 14:01:07 -04:00
Samuel Attard
2791474a01
build: run on circle hosts for forks ( #39858 )
2023-09-14 11:07:11 -04:00
Charles Kerr
f6e8a42c48
refactor: remove unused fields, methods in gin_helper::Locker ( #39803 )
...
* refactor: remove unused field gin_helper::Locker::g_is_browser_process
refactor: remove unused field gin_helper::Locker::g_is_renderer_process
refactor: make field const gin_helper::Locker::locker_
* refactor: remove unused declaration gin_helper::Locker::new()
refactor: remove unused declaration gin_helper::Locker::delete()
* refactor: make field const electron::JavascriptEnvironment::locker_
* refactor: remove unused #include gin_helper/locker.h
2023-09-12 16:53:20 -07:00
David Sanders
650ef9a51c
build: update @electron/lint-roller to 1.9.0 ( #39812 )
2023-09-12 12:38:31 +02:00
Charles Kerr
a1c44a18e2
fix: NodeService order-of-destruction issue ( #39783 )
...
* refactor: make ElectronRendererClient::node_bindings_ a const ptr
refactor: make ElectronRendererClient::electron_bindings_ a const ptr
* fix: order-of-destruction bug in NodeService
js_env_ depends on the uv_loop from node_bindings_, but is destroyed after node_bindings_
* chore: revert unintentional commit
2023-09-12 12:27:14 +02:00
Shelley Vohr
ec9c8476fe
fix: keyCodes being incorrectly converted in webContents.sendInputEvent() ( #39776 )
...
fix: sendInputEvent keyCodes being incorrectly converted
2023-09-12 11:28:45 +02:00
Samuel Attard
470a14d8d4
docs: add missing macOS tag
2023-09-11 14:07:25 -07:00
Samuel Attard
5bff0fe342
feat: add new ElectronSquirrelPreventDowngrades flag ( #38625 )
...
* sketch
* feat: add new ElectronSquirrelPreventDowngrades flag
* test: remove only
* chore: fix lint
2023-09-11 11:54:51 -07:00
Samuel Attard
16aec702b4
fix: ensure app load is limited to real asar files when appropriate ( #39788 )
2023-09-11 11:51:14 -07:00
Samuel Attard
ac040bf734
build: update @electron/typescript-definitions to fix titlebaroverlay ( #39799 )
...
build: update @electron/typescript-definitions to fix titlebarstyle
2023-09-11 11:36:36 -07:00
David Sanders
aceb432f45
chore: remove deprecated systemPreferences APIs ( #39696 )
2023-09-11 11:34:13 -04:00
Calvin
d182794179
fix: frameless mica/acrylic windows ( #39708 )
...
* fix: backgroundMaterial works with frameless
* TODO: fix frameless mica/acrylic windows
* update caption color appropriately
* set background color properly
* refactor translucency method
* actualization
2023-09-11 14:51:54 +02:00
Shelley Vohr
ab185c058f
fix: fullscreen crashing with no roundedCorners and no frame ( #39747 )
2023-09-11 09:38:10 +02:00
David Sanders
2324c4d8fd
ci: ignore blocked label removed on closed issues ( #39793 )
2023-09-11 09:33:39 +02:00
Charles Kerr
792037b338
fix: raw_ptr destruction order in NodeBindings ( #39762 )
2023-09-07 18:25:17 -05:00
Samuel Attard
0b44f433c8
fix: make titlebar opaque while fullscreen ( #39759 )
2023-09-07 15:55:17 -07:00
github-actions[bot]
5fa9dee68a
build: update appveyor image to latest version e-118.0.5993.0 ( #39765 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-07 09:40:42 -04:00
Shelley Vohr
75bad34131
fix: prevent errors when extensions listen for chrome.tabs events ( #39729 )
...
* fix: prevent errors when extensions listen for chrome.tabs events
* chore: mark events unsupported in Electron
2023-09-07 12:41:24 +02:00
Robo
0a064cece9
fix: devtools allow restoring saved dock state on Windows ( #39734 )
...
* fix: devtools allow restoring saved dock state on Windows
* chore: address feedback
2023-09-07 17:14:01 +09:00
Milan Burda
f6e8544ef6
refactor: use replaceAll() instead of replace() when appropriate ( #39721 )
...
refactor: use replaceAll() instead of replace() when appropriate
2023-09-07 15:50:14 +09:00
electron-roller[bot]
029127a8b6
chore: bump chromium to 118.0.5993.0 (main) ( #39745 )
...
* chore: bump chromium in DEPS to 118.0.5993.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-09-06 19:27:25 -04:00
Milan Burda
e71a56d11e
refactor: const Module = require('module') as NodeJS.ModuleInternal; ( #38757 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-09-06 18:04:25 -04:00
Samuel Attard
65901f4c6a
fix: restore flag that allowed websockets to not be backgrounded ( #39738 )
2023-09-06 11:23:17 -07:00
github-actions[bot]
feb804cea8
build: update appveyor image to latest version ( #39716 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-06 14:07:34 -04:00
Shelley Vohr
34b79c15c2
build: fix depot_tools patch application ( #39742 )
...
build: fix depot_tools patch application
2023-09-06 07:49:00 -04:00
electron-roller[bot]
d9ba26273a
chore: bump chromium to 118.0.5991.0 (main) ( #39714 )
...
* chore: bump chromium in DEPS to 118.0.5982.0
* chore: bump chromium in DEPS to 118.0.5983.0
* chore: bump chromium in DEPS to 118.0.5985.0
* chore: bump chromium in DEPS to 118.0.5987.0
* chore: update v8 patches
* chore: update chromium patches
* chore: update patches
* [PEPC] Add new structs to contain permission request data
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4756727
* Add ThumbnailCapturer interface
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4812256
* Reland "[ChromeRefresh2023] Update document pip windows for Chrome Refresh"
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4814275
* chore: bump chromium in DEPS to 118.0.5989.0
* chore: bump chromium in DEPS to 118.0.5991.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-09-05 21:17:56 -04:00
David Sanders
c96bb9958f
chore: remove deprecated webContents.getPrinters() ( #39663 )
2023-09-05 10:16:41 +02:00
Milan Burda
d76a35afe4
test: remove a few casts to any ( #39713 )
2023-09-05 11:22:41 +09:00
Milan Burda
c5b20eeb13
test: add missing tests to api-web-frame-spec.ts ( #39720 )
...
test: add missing tests to spec/api-web-frame-spec.ts
2023-09-05 11:20:58 +09:00
John Kleinschmidt
4cc0f6fb78
test: fix flaky content tracing test ( #39682 )
2023-09-04 14:08:26 +02:00
Milan Burda
f27b034045
test: convert a few more specs to async/await ( #39712 )
2023-09-04 12:33:29 +02:00
Shelley Vohr
54d8402a6c
fix: broken chrome.scripting compilation ( #39725 )
...
fix: broken chrome.scripting impl after roll
2023-09-04 16:03:10 +09:00
Samuel Attard
89659fa9c9
chore: fix broken patches on main ( #39715 )
2023-09-01 01:28:01 -07:00
electron-roller[bot]
89117fdd99
chore: bump chromium to 118.0.5975.0 (main) ( #39531 )
...
* chore: bump chromium in DEPS to 118.0.5951.0
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4727894
No logic changes, but patch needed to be manually re-applied due to upstream code shear
* chore: update port_autofill_colors_to_the_color_pipeline.patch
No manual changes; patch applied with fuzz
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5953.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5955.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5957.0
* chore: update patches
* chore: include path of native_web_keyboard_event.h
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4758689
* chore: remove reference to eextensions/browser/notification-types.h
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4771627
* chore: update references to renamed upstream field NativeWebKeyboardEvent.skip_if_unhandled (formerly known as skip_in_browser
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4758689
Need a second pair of eyes on this commit. In particular the reference in content_converter.cc, skipInBrowser, seems to not be set or documented anywhere? Is this unused/vestigal code?
* chore: sync signature of ElectronExtensionsBrowserClient::IsValidContext() to upstream change
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4784198
* chore: add auto_pip_setting_helper.[cc,h] to chromium_src build
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4688277
Exiting upstream code used by chromium_src now depends on this new upstream class
* chore: bump chromium in DEPS to 118.0.5959.0
* chore: update add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
manually adjust patch to minor upstream chagnes
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5961.0
* chore: bump chromium in DEPS to 118.0.5963.0
* chore: update patches
* 4780994: Rename various base files to "apple" since iOS uses them too
https://chromium-review.googlesource.com/c/chromium/src/+/4780994
* Many files moved from `mac` -> `apple`
This commit follows a handful of CLs that simply rename files/symbols to change `mac`
to `apple`
to signify their use across both macOS and iOS:
- 4784010: Move scoped_nsautorelease_pool to base/apple, leave a forwarding header
- 4790744: Move foundation_util to base/apple, leave a forwarding header
- 4790741: Move scoped_cftypreref to base/apple, leave a forwarding header
- 4787627: Move and rename macOS+iOS base/ files in PA to "apple"
- 4780399: Move OSStatus logging to base/apple
- 4787387: Remove forwarding headers
- 4781113: Rename message_pump_mac to "apple" because iOS uses it too
* fixup minor patch update error
A function param got dropped from this patch somewhere earlier
* chore: bump chromium in DEPS to 118.0.5965.2
* chore: update patches
* 4799213: Move ScopedTypeRef and ScopedCFTypeRef into base::apple::
https://chromium-review.googlesource.com/c/chromium/src/+/4799213
* Fix removed include to BrowserContext
In crrev.com/c/4767962 an include to BrowserContext was removed,
which was necessary for compilation. This broke only for us because
"chrome/browser/profiles/profile.h" includes that class, but we remove
all references to profiles.
* chore: bump chromium in DEPS to 118.0.5967.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5969.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5971.0
* chore: bump chromium in DEPS to 118.0.5973.0
* chore: update patches
* 4772121: [OOPIF PDF] Replace PDFWebContentsHelper with PDFDocumentHelper
https://chromium-review.googlesource.com/c/chromium/src/+/4772121
* 4811164: [Extensions] Do some cleanup in ChromeManagementAPIDelegate.
https://chromium-review.googlesource.com/c/chromium/src/+/4811164
* 4809488: Remove duplicate dnd functionality between Web and Renderer prefs
https://chromium-review.googlesource.com/c/chromium/src/+/4809488
Given that this is no longer an option of web preferences, we should
consider deprecating this option and then removing it.
* chore: bump chromium in DEPS to 118.0.5975.0
* chore: update patches
* fixup! chore: add auto_pip_settings_helper.{cc|h} to chromium_src build
* Reland "[windows] Remove RegKey::DeleteEmptyKey"
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4813255
* Ensure StrCat means StrCat
Refs https://chromium-review.googlesource.com/c/chromium/src/+/1117180
* fixup! Remove RegKey::DeleteEmptyKey
* Consistently reject large p and large q in DH
Refs https://boringssl-review.googlesource.com/c/boringssl/+/62226
---------
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: clavin <clavin@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-09-01 15:54:59 +09:00
Milan Burda
0b0707145b
refactor: replace .forEach() with for-of ( #39691 )
...
* refactor: replace `.forEach()` with `for-of`
* refactor docs/fiddles/features/web-hid/renderer.js
2023-08-31 23:36:43 +09:00
David Sanders
7858921a1f
docs: fix return typing of ses.getExtension ( #39697 )
2023-08-30 18:10:32 -07:00
Samuel Attard
ac031bf8de
feat: I guess it's esm ( #37535 )
...
* fix: allow ESM loads from within ASAR files
* fix: ensure that ESM entry points finish loading before app ready
* fix: allow loading ESM entrypoints via default_app
* fix: allow ESM loading for renderer preloads
* docs: document current known limitations of esm
* chore: add patches to support blending esm handlers
* refactor: use SetDefersLoading instead of JoinAppCode in renderers
Blink has it's own event loop so pumping the uv loop in the renderer is not enough, luckily in blink we can suspend the loading of the frame while we do additional work.
* chore: add patch to expose SetDefersLoading
* fix: use fileURLToPath instead of pathname
* chore: update per PR feedback
* fix: fs.exists/existsSync should never throw
* fix: convert path to file url before importing
* fix: oops
* fix: oops
* Update docs/tutorial/esm-limitations.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* windows...
* windows...
* chore: update patches
* spec: fix tests and document empty body edge case
* Apply suggestions from code review
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* spec: add tests for esm
* spec: windows
* chore: update per PR feedback
* chore: update patches
* Update shell/common/node_bindings.h
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: update patches
* rebase
* use cjs loader by default for preload scripts
* chore: fix lint
* chore: update patches
* chore: update patches
* chore: fix patches
* build: debug depshash
* ?
* Revert "build: debug depshash"
This reverts commit 0de82523fb .
* chore: allow electron as builtin protocol in esm loader
* Revert "Revert "build: debug depshash""
This reverts commit ff86b1243c .
* chore: fix esm doc
* chore: update node patches
---------
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com >
2023-08-30 17:38:07 -07:00
Erick Zhao
b8ac798344
docs: use node: imports for node core modules ( #39681 )
...
docs: use `node:` imports for node builtin modules
2023-08-30 11:55:23 -04:00
David Sanders
2182202e8e
ci: use new GitHub App for issue triage related actions ( #39635 )
2023-08-30 11:09:33 -04:00
Milan Burda
e66c1f6c56
refactor: generate 'chrome:// pages' specs to remove duplicate code ( #39684 )
2023-08-30 11:07:41 -04:00
Milan Burda
9280b79112
docs: enable contextIsolation in fiddles ( #39613 )
2023-08-29 15:52:16 -04:00
Milan Burda
2e79f34c84
docs: fix the minimum supported macOS version to Catalina ( #39667 )
...
docs: update the minimum supported macOS version to Catalina
2023-08-29 09:01:11 +09:00
Tomasz
f30fbebb98
fix: promise resolved to early when browser initiated in-page navigation v2 ( #39597 )
2023-08-28 12:37:28 -04:00
Shelley Vohr
f0ad357af2
feat: support chrome.scripting extension APIs ( #39395 )
...
feat: support chrome.scripting extension APIs
2023-08-28 10:39:28 -04:00
Milan Burda
5078cae861
chore: remove deprecated ipcRenderer.sendTo() ( #39087 )
...
chore: remove deprecated ipcRenderer.sendTo()
2023-08-28 10:29:27 -04:00
Robo
b5997a012d
chore: enable v8_enable_private_mapping_fork_optimization by default ( #39253 )
...
* chore: enable v8_enable_private_mapping_fork_optimization by default
* chore: cherry-pick 292a4a6 from v8
2023-08-28 10:16:20 -04:00
Shelley Vohr
f369b144d6
feat: add more extensions manifest key options ( #39599 )
...
feat: add more manifest key options
2023-08-28 10:02:22 -04:00
Milan Burda
f2f83a73fc
docs: use electron/main & electron/renderer imports in fiddles ( #39666 )
2023-08-28 20:23:10 +09:00
Shelley Vohr
d42a94ddde
fix: webview exiting fullscreen presentation mode ( #39616 )
2023-08-25 14:11:58 -04:00
David Sanders
3bdc7ce64a
ci: don't mark status/confirmed labeled issues as stale ( #39659 )
2023-08-25 14:09:28 -04:00
David Sanders
48e14bc54e
ci: fix deprecation review automation for PRs ( #39649 )
2023-08-25 14:09:12 -04:00
John Kleinschmidt
83760bd5c6
ci: explicitly use python3 to start goma ( #39650 )
...
* ci: explicitly use python3 to start goma
* ci: explicitly use python3 for goma
2023-08-24 21:43:24 -04:00
wanted002
e14964ccd0
feat: add setter and getter apis to specify udp port range for webrtc ( #39046 )
...
* feat:Add setter and getter apis to specify udp port range for webrtc (issue#9042)
* lint error fix for PR#39046
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for codereview
* fix lint error
* fix lint errors in file api-web-contents-spec.ts
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for review from itsananderson
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for review from jkleinsc
* fix lint error
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for review from codebyter
2023-08-24 17:21:22 -04:00
Athul Iddya
33000c4b42
feat: enable WaylandWindowDecorations by default ( #39582 )
2023-08-24 17:02:05 -04:00
Shelley Vohr
33e66b5cd0
fix: ensure windows respect fullscreenability with different resizability values ( #39620 )
...
* fix: ensure child windows respect fullscreenability/resizability when parent is fullscreen
* test: add an extra resize test
2023-08-24 16:54:08 -04:00
Shelley Vohr
2affecd4dd
feat: allow generating accessible pdf with printToPDF ( #39563 )
...
* feat: allow generating accessible pdf with printToPDF
* docs: mark generateTaggedPDF experimental
2023-08-24 11:01:59 -04:00
Erick Zhao
381c955bca
docs: mention alternative tooling ( #39337 )
...
* docs: mention alternative tooling
* Update forge-overview.md
* Update forge-overview.md
2023-08-24 12:03:30 +02:00
Charles Kerr
35969939a1
refactor: node::Environment self-cleanup ( #39604 )
...
* chore: savepoint
* chore: turn raw_ptr tests back off
2023-08-23 09:56:16 -04:00
Shelley Vohr
a8999bc529
fix: ensure BrowserView bounds are always relative to window ( #39605 )
...
fix: ensure BrowserView bounds are always relative to window
2023-08-23 09:55:31 -04:00
Shelley Vohr
522bba3dc6
chore: cleanup arc migration helpers ( #39606 )
2023-08-23 09:54:21 -04:00
Shelley Vohr
ddc7e3ebb3
fix: assert module in the renderer process ( #39540 )
2023-08-23 11:38:47 +02:00
Bruno Henrique da Silva
2481f94b4e
fix: instantiate tab video tracks from BrowserCaptureMediaStreamTrack ( #39074 )
...
return BrowserCaptureMediaStreamTrack instead of MediaStreamTrack
2023-08-23 10:49:24 +02:00
Shelley Vohr
e1d63794e5
fix: chrome.tabs 'url' and 'title' are privileged information ( #39595 )
...
fix: tabs url and title are privileged information
2023-08-22 14:56:58 +02:00
Cheng Zhao
bfa58df7c9
chore: move node headers generation to electron ( #39589 )
2023-08-22 11:13:49 +02:00
Milan Burda
c1898c39bf
chore: remove obsolete "simple" object annotations for the remote module ( #39486 )
2023-08-22 13:43:30 +09:00
Milan Burda
3102a257af
feat: expose dummy module.exports to the sandboxed preload scripts ( #39484 )
2023-08-22 13:43:08 +09:00
Milan Burda
90865fa97d
chore: remove deprecated getTrafficLightPosition() / setTrafficLightPosition() ( #39479 )
...
chore: remove deprecated getTrafficLightPosition() / setTrafficLightPosition()
2023-08-21 15:58:09 +02:00
Charles Kerr
3a91d1f1e1
fix: dangling raw_ptr in ElectronBrowserMainParts dtor ( #39539 )
...
* fix: dangling raw_ptr in ElectronBrowserMainParts dtor
* fixup! fix: dangling raw_ptr in ElectronBrowserMainParts dtor
Browser::WhenReady() holds a reference to JsEnv isolate so must come after
2023-08-21 10:29:25 +02:00
Milan Burda
09190085c0
refactor: add gin_helper::Dictionary::CreateEmpty() helper ( #39547 )
2023-08-21 10:43:41 +09:00
tr2-harada
9937a2bbe8
fix: explorer restart does not recreated thumbnail toolbar buttons ( #39551 )
...
fix: explorer restart does not recreated thumbnail toolbar buttons.
2023-08-21 09:43:49 +09:00
Shelley Vohr
95bf9d8adb
fix: chrome://gpu failing to load ( #39556 )
...
fix: chrome://gpu failing to load
2023-08-21 09:41:00 +09:00
Athul Iddya
c75e193a3e
fix: use tiled edges to calculate frame inset sizes in Linux ( #39523 )
...
Adapt to the window frame size calculation changes in CL 3970920 by
setting the inset sizes to 0 for tiled edges.
2023-08-17 14:26:49 -04:00
Shelley Vohr
0621f39296
test: enable parallel/test-debugger-random-port-with-inspect-port ( #39533 )
...
test: enable parallel/test-debugger-random-port-with-inspect-port
2023-08-17 12:16:14 -04:00
Shelley Vohr
aeb89b143b
chore: cleanup asar initialization logic ( #39532 )
2023-08-17 16:42:53 +02:00
Charles Kerr
213388cd87
refactor: prefer Sorted variant of MakeFixedFlatSet() ( #39537 )
...
perf: prefer Sorted variant of MakeFixedFlatSet()
https://chromium-review.googlesource.com/c/chromium/src/+/4660000
says that the sorted version is simpler at compile time because it
can skip MakeFixedFlatSet()'s compile-time dynamic sorting.
2023-08-17 08:58:04 -05:00
David Sanders
8374b9c2ad
ci: add prev-major variable to release board templating ( #39454 )
2023-08-17 14:24:57 +02:00
Shelley Vohr
00746e662b
feat: allow headers to be sent with webContents.downloadURL() ( #39455 )
...
feat: allow headers to be sent with webContents.downloadURL()
2023-08-17 14:17:55 +02:00
Shelley Vohr
31dfde7fa6
docs: note macOS bounds Tray offset ( #39512 )
...
* docs: note macOS bounds Tray offset
* Update docs/api/browser-window.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-08-17 11:02:03 +02:00
Charles Kerr
dd8df3b0c4
fix: destruction order of js env fields ( #39521 )
...
isolate_ depends on isolate_holder_ and so must be destroyed first.
2023-08-16 23:06:24 -05:00
Milan Burda
b04ce6a5c8
docs: add missing webview render-process-gone event ( #39494 )
...
docs: add mising webview 'render-process-gone' event
2023-08-17 08:52:15 +09:00
Keeley Hammond
fce9ed65d6
build: update NMV to 118 ( #39538 )
2023-08-16 11:46:16 -07:00
github-actions[bot]
a4a3ba9341
build: update appveyor image to latest version - e-118.0.5949.0. ( #39524 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-08-16 14:06:19 -04:00
John Kleinschmidt
9d6d606192
build: fixup libcxx zip ( #39536 )
2023-08-16 14:05:39 -04:00
Shelley Vohr
1eb398b328
fix: crash when calling BrowserWindow.moveTop() on modal children ( #39499 )
...
fix: crash when calling moveTop() on modal children
2023-08-16 13:28:29 +02:00
Sergei Chestakov
f7a7085019
docs: fix typo in open-url API docs ( #39513 )
...
* Fix typo in open-url API docs
* Update app.md
2023-08-16 12:26:02 +02:00
electron-roller[bot]
0c45d160d6
chore: bump chromium to 118.0.5949.0 (main) ( #39505 )
...
* chore: bump chromium in DEPS to 118.0.5949.0
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4705386
no manual code changes; existing patch applied with fuzz
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4779059
no manual code changes; existing patch applied with fuzz
* chore: add OffScreenRenderWidgetHostView::InvalidateLocalSurfaceIdAndAllocationGroup()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4563504
Add an impl for a new pure virtual method that was added upstream.
Local impl inspired by upstream implementations in same CL
* chore: update patches
---------
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>
2023-08-15 15:44:24 -04:00
Shelley Vohr
22429e2112
refactor: clean up Node.js cli arg parsing ( #39465 )
...
* refactor: clean up Node.js arg parsing
* chore: feedback from review
2023-08-15 14:49:21 -04:00
David Sanders
1d20ec5b99
ci: fix @electron/github-app-auth CLI usage ( #39507 )
2023-08-15 11:41:29 -07:00
Michaela Laurencin
22c359ac4f
docs: update timelines for E27 ( #39493 )
2023-08-15 12:57:48 -05:00
electron-roller[bot]
c3036d4557
chore: bump chromium to 117.0.5938.0 (main) ( #39375 )
...
* chore: bump chromium in DEPS to 117.0.5929.0
* chore: bump chromium in DEPS to 117.0.5931.0
* chore: bump chromium in DEPS to 117.0.5932.0
* chore: update patches
* 4728317: Prevent PrintRenderFrameHelper from printing when already printing
| https://chromium-review.googlesource.com/c/chromium/src/+/4728317
* 4739501: Use base::SequenceBound to manage SerialPortManagerImpl |
https://chromium-review.googlesource.com/c/chromium/src/+/4739501
* 4702051: Allow overriding source in install-sysroot.py | https://chromium-review.googlesource.com/c/chromium/src/+/4702051
* chore: update filenames.libcxx.gni
* 4727002: Rename "enable_arc2" to "enable_arc" |
https://chromium-review.googlesource.com/c/chromium/src/+/4727002
* chore: bump chromium in DEPS to 117.0.5934.0
* 4736873: Rename ColorSpaces methods on display::Display | https://chromium-review.googlesource.com/c/chromium/src/+/4736873
* 4727203: Replace bool with an enum in as suggested in DevtoolsManagerDelegate. | https://chromium-review.googlesource.com/c/chromium/src/+/4727203
* 4744479: [DevTools] Add 'generateTaggedPDF' option to DevTools Page.printToPDF | https://chromium-review.googlesource.com/c/chromium/src/+/4744479
* 4735893: Don't share WebUSB permissions with webviews | https://chromium-review.googlesource.com/c/chromium/src/+/4735893
* revert: update filenames.libcxx.gni
* chore: bump chromium in DEPS to 117.0.5936.0
* chore: update patches
* 4746465: SAA: Query for embargoed StorageAccess permissions | https://chromium-review.googlesource.com/c/chromium/src/+/4746465
* 4666325: Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src. | https://chromium-review.googlesource.com/c/chromium/src/+/4666325
* chore: bump chromium in DEPS to 117.0.5938.0
* chore: bump chromium in DEPS to 118.0.5939.0
* chore: update patches
* Send line bounds through CursorAnchorInfo on requestCursorUpdate
https://chromium-review.googlesource.com/c/chromium/src/+/4394588
* Fixup lint for Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src
* 4700305: [mac] Fix override of CHILD_PROCESS_EXE
https://chromium-review.googlesource.com/c/chromium/src/+/4700305
Needed because of 4729689: Reland "Remove redundant existence check in PathService" | https://chromium-review.googlesource.com/c/chromium/src/+/4729689
* 4753759: More consistent icon handling for menus.
https://chromium-review.googlesource.com/c/chromium/src/+/4753759
* chore: bump chromium in DEPS to 118.0.5941.0
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5938.0
* test: update nan-spec-runner cflags
* build: fix isystem include path in nan-spec-runner
* fixup! 4666325: Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src. | https://chromium-review.googlesource.com/c/chromium/src/+/4666325
fix a few more instances of the old path
libc++.a and libc++abi.a are still in buildtools/
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-08-15 10:49:41 -05:00
Robo
bee5d94886
feat: support dns-result-order Node.js cli flag ( #39376 )
...
* feat: support dns-result-order Node.js cli flag
* chore: update docs
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* chore: remove patch
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2023-08-15 12:19:45 +02:00
electron-roller[bot]
ef5d5f888d
chore: bump node to v18.17.1 (main) ( #39457 )
...
* chore: bump node in DEPS to v18.17.1
* chore: update patches
* policy: disable process.binding() when enabled
d4570fae35
---------
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: Shelley Vohr <shelley.vohr@gmail.com >
2023-08-15 10:06:55 +02:00
wgsheng
127584dc37
feat: add a 'title' parameter to openDevTools() ( #39047 )
...
* [Feature Request]: Add a parameter to openDevTools() that sets the DevTools window title bar
* all titles->title
* add GetDevToolsTitle(),update docs
* fix:lint error
* fix:lint error
* add setDevToolTitle
* lint errror
* lint errror
* ling errror (.md)
* build error
* build error in mac
* build error
* build error
* change docs
* std::string->std::u16string
* lint error
* build error
* build error
2023-08-15 14:32:53 +09:00
Shelley Vohr
8e3dcc8b17
refactor: update WebContentsZoomController ( #39428 )
...
refactor: update WebContentsZoomController
2023-08-15 10:33:30 +09:00
David Sanders
5d11c30720
ci: improve blocked/need-repro workflow ( #39451 )
...
* ci: improve blocked/need-repro workflow
* ci: let maintainer comments suppress bot comment
* ci: ensure failures bubble up
2023-08-15 10:32:38 +09:00
David Sanders
813853297d
ci: automation for deprecation project board ( #39477 )
2023-08-15 10:28:42 +09:00
David Sanders
dbff7bb531
ci: automation for issue triage board ( #39464 )
2023-08-15 10:28:17 +09:00
David Sanders
effafdf498
test: use as const to remove some usages of as any ( #39475 )
2023-08-15 10:24:32 +09:00
Shelley Vohr
9eeef55469
test: resolve failing Node.js line number failure ( #39490 )
2023-08-14 13:08:55 -04:00
David Sanders
1b3e4dae8d
chore: document deprecated systemPreferences APIs ( #39343 )
...
* chore: document deprecated systemPreferences APIs
* chore: forgot systemPreferences.appLevelAppearance
* test: expect deprecation messages
2023-08-14 11:34:04 +02:00
Milan Burda
d5f31c2208
docs: remove duplicate fiddles (part #2 ) ( #39474 )
...
docs: remove duplicate fiddles
2023-08-14 10:44:07 +02:00
David Sanders
d166182865
chore: remove deprecated systemPreferences color scheme events ( #39341 )
2023-08-14 10:37:18 +02:00
Cheng Zhao
cf658b700d
fix: use nested run loop in clipboard.readImage ( #39466 )
2023-08-14 10:35:37 +02:00
Milan Burda
08bbff5361
docs: handle opening links in the default browser in main.js (part #2 ) ( #39473 )
...
docs: handle opening links in the default browser in main.js
2023-08-14 10:04:29 +02:00
Shelley Vohr
117d5310f5
revert: promise resolved too early when browser initiates in-page navigation ( #39481 )
...
This reverts commit a0effaf9b8 .
2023-08-14 13:13:15 +09:00
John Kleinschmidt
f16dffccd0
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 >
2023-08-10 12:40:58 -04:00
Milan Burda
255064659f
docs: update external links ( #39421 )
2023-08-10 11:55:52 +02:00
David Sanders
11600c5f96
chore: document deprecated webContents.getPrinters API ( #39356 )
...
* chore: document deprecated webContents.getPrinters API
* chore: remove duplicate deprecation warning
2023-08-10 11:50:30 +02:00
Milan Burda
1ce2fdd63d
docs: fix take-screenshot fiddle to use desktopCapturer in main.js ( #39420 )
2023-08-10 10:53:23 +02:00
Milan Burda
c4d417b6f6
docs: remove duplicate fiddles ( #39419 )
2023-08-10 10:52:52 +02:00
Milan Burda
0f49868234
chore: deprecate senderId and senderIsMainFrame ( #39381 )
2023-08-09 10:38:48 -04:00
Shelley Vohr
70508b5273
chore: update _api_features manifest requirements ( #39412 )
...
chore: update api_resources manifest requirements
2023-08-09 10:38:13 -04:00
Tomasz
a0effaf9b8
fix: promise resolved to early when browser initiated in-page navigation ( #39260 )
2023-08-09 16:06:39 +02:00
Shelley Vohr
d9329042e2
feat: add support for chrome.tabs.query ( #39330 )
...
* feat: add support for tabs.query
* fix: scope to webContents in current session
* test: add test for session behavior
2023-08-09 14:47:19 +02:00
David Sanders
0425454687
test: helper to expect deprecation warnings ( #39405 )
2023-08-09 11:01:52 +02:00
Samuel Attard
d24d8f1f78
fix: avoid package.json check on built-in modules ( #39418 )
2023-08-09 00:32:00 -07:00
electron-roller[bot]
ab08803959
chore: bump node to v18.17.0 (main) ( #39154 )
...
* chore: bump node in DEPS to v18.17.0
* chore: update build_modify_js2c_py_to_allow_injection_of_original-fs_and_custom_embedder_js.patch
Xref: https://github.com/nodejs/node/pull/46930
manually sync patch to minor upstream code shear
* chore: update build_ensure_native_module_compilation_fails_if_not_using_a_new.patch
Xref: https://github.com/nodejs/node/pull/48248
manually sync patch to minor upstream code shear
* chore: update fix_expose_the_built-in_electron_module_via_the_esm_loader.patch
Xref: https://github.com/nodejs/node/pull/47824
chore: upstream func throwIfUnsupportedURLProtocol() has been removed, so no need to patch it
* chore: update api_pass_oomdetails_to_oomerrorcallback.patch
Xref: https://github.com/nodejs/node/pull/47695
manually sync patch to minor upstream code shear
* chore: remove fix_prevent_changing_functiontemplateinfo_after_publish.patch
Xref: https://github.com/nodejs/node/pull/46979 (upstreamed patch)
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/2718147 (related)
* chore: update fix_adapt_debugger_tests_for_upstream_v8_changes.patch
Xref: https://github.com/nodejs/node/pull/47274
manually sync patch to minor upstream code shear
some tests moved from sequential to parallel
* chore: remove fix_libc_buffer_overflow_in_string_view_ctor.patch
Xref: fix_libc_buffer_overflow_in_string_view_ctor.patch
patch is no longer needed due to upstream bump to ada 2.2.0
* chore: remove fix_preventing_potential_oob_in_ada_no_scheme_parsing.patch
Xref: https://github.com/nodejs/node/pull/47339
patch is no longer needed due to upstream bump to ada 2.2.0
* chore: rebuild filenames.json
several files removed/added/changed upstream
* chore: update build_add_gn_build_files.patch
upstream dep histogram 0.11.7 moved its include path from src/ to include/
Xref: https://github.com/nodejs/node/pull/47742
* chore: update fix_crypto_tests_to_run_with_bssl.patch
Xref: https://github.com/nodejs/node/pull/47160
BoringSSL doesn't support BIO_s_secmem() (a secure heap variant of
BIO_s_mem()), so use BIO_s_mem() instead.
Related discussion of secure heap support in BoringSSL:
https://boringssl-review.googlesource.com/c/boringssl/+/54309
* fix: ftbfs in node dep ada
* fix: ftbfs in node dep uvwasi
* chore: rebuild patches
* chore: update fix_handle_boringssl_and_openssl_incompatibilities.patch
Upstream used `BIO_s_secmem()`, a secure heap variant of `BIO_s_mem()`.
BoringSSL doesn't support it, so this PR opts for `BIO_s_mem()` instead.
Upstream Node.js change that prompted this:
https://github.com/nodejs/node/pull/47160
Related discussion of BoringSSL support of secure heap:
https://boringssl-review.googlesource.com/c/boringssl/+/54309
* fix: work around Node 18 isURL() regression
* chore: sort script/node-disabled-tests.json alphabetically
* test: add parallel/test-snapshot-argv1 to disabled list
test: add parallel/test-snapshot-namespaced-builtin to disabled list
We don't support that type of snapshotting at the moment.
* chore: disable flaky node test parallel/test-dgram-send-cb-quelches-error
fails upstream in v18.x on my box as well
* ci: ensure spawned node tests have ELECTRON_RUN_AS_NODE set
* fixup! fix: work around Node 18 isURL() regression
fix: infinite loop regression
* fixup! fix: work around Node 18 isURL() regression
* chore: patch fixtures/errors/force_colors.snapshot
The line numbers in the stacktrace from our v8 build don't match what
Node's tests are expecting, so update the stacktrace to match our build.
The specific numbers probably aren't t needed for the force_colors test,
which is trying to see whether or not the lines are greyed out. One option
is to upstream a test change to stop hardcoding the stacktrace.
* fixup! fix: work around Node 18 isURL() regression
fix; pull in upstream bugfix
* fixup! ci: ensure spawned node tests have ELECTRON_RUN_AS_NODE set
chore: do not inject ELECTRON_RUN_AS_NODE in test-assert-colors.js
* chore: disable flaky node test parallel/test-debugger-random-port-with-inspect-port
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-08-08 17:52:51 -05:00
Shelley Vohr
5e59ddca1a
chore: update chrome.runtime.getPlatformInfo impl ( #39392 )
...
chore: update chrome.runtime.getPlatformInfo impl
2023-08-08 22:29:03 +02:00
Shelley Vohr
1b3c63145c
chore: remove i18n JSON spec ( #39391 )
2023-08-08 14:02:16 -04:00
Samuel Attard
814735cb72
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
2023-08-08 09:56:41 -07:00
David Sanders
dcf1c65426
chore: fix ipcRenderer.sendTo deprecation warning ( #39342 )
2023-08-08 13:49:56 +02:00
Milan Burda
24c9cbcc0a
docs: handle opening links in the default browser in main.js ( #39379 )
...
docs: handle opening links in the default browser in the main process
2023-08-08 12:35:59 +02:00
Robo
eecfaec8c9
fix: crash when closing active macOS native tab ( #39394 )
...
fix: crash when closing current active macOS native tab
2023-08-08 17:45:03 +09:00
Shelley Vohr
8f4f82618c
fix: removeBrowserView draggable region removal ( #39387 )
...
fix: removeBrowserView draggable region removal
Closes https://github.com/electron/electron/issues/39377 .
2023-08-08 10:23:14 +02:00
github-actions[bot]
1548a2f9fb
build: update appveyor image to e-117.0.5921.0 ( #39390 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-08-07 13:08:53 -07:00
Milan Burda
3d45429667
refactor: use for-of instead of for simple array iteration ( #39338 )
2023-08-07 11:30:15 +02:00
Shelley Vohr
67523a47b4
fix: chrome.tabs.update return value ( #39365 )
...
fix: chrome.tabs.update return value
2023-08-07 10:03:45 +02:00
David Sanders
330c775252
docs: fix description of pageRanges ( #39378 )
...
Co-authored-by: Alain BUFERNE <albu.consult@gmail.com >
2023-08-07 09:56:36 +02:00
Shelley Vohr
dc707ee938
fix: macOS tray button selection with VoiceOver ( #39352 )
2023-08-07 09:52:18 +02:00
John Kleinschmidt
1eb6e45a36
ci: fix hang when validating AppVeyor artifacts ( #39362 )
2023-08-07 09:51:53 +02:00
Shelley Vohr
2e0517c0ad
feat: allow more Node.js cli flags in main process ( #39344 )
...
* feat: allow more Node.js cli flags in main process
* docs: update cli switch documentation
2023-08-04 19:59:40 +09:00
electron-roller[bot]
c5b9f766f3
chore: bump chromium to 117.0.5923.0 (main) ( #39304 )
...
* chore: bump chromium in DEPS to 117.0.5921.0
* chore: update chromium patches
* 4721409: Remove redundant ARC configuration in /components | https://chromium-review.googlesource.com/c/chromium/src/+/4721409
* 4643750: Add V8_LOW_PRIORITY_TQ for main thread | https://chromium-review.googlesource.com/c/chromium/src/+/4643750
* 4022621: Re-register status item when owner of status watcher is changed | https://chromium-review.googlesource.com/c/chromium/src/+/4022621
* chore: update V8/boringssl patches
* fixup! 4643750: Add V8_LOW_PRIORITY_TQ for main thread | https://chromium-review.googlesource.com/c/chromium/src/+/4643750
* chore: bump chromium in DEPS to 117.0.5923.0
* build [debug]: remove assert
4722125: Update enterprise content analysis buildflags usage | https://chromium-review.googlesource.com/c/chromium/src/+/4722125
* chore: manually rollback to 117.0.5921.0
* build [arc]: ARC conversion in auto_updater
* build [arc]: ARC conversion in browser/api
* build [arc]: ARC conversion in notifications/mac
* build [arc]: ARC conversion in in_app_purchase
* build [arc]: ARC conversion in browser/ui
* build [arc]: ARC conversion in ui/cocoa
* build [arc]: ARC conversion in shell/common
* build [arc]: ARC conversion in OSR
* build [arc]: ARC conversion in login_helper
* build [arc]: ARC conversion in app_mas
* build [arc]: fix up ARC syntax (thanks @codebytere!)
* 4726946: [Extensions] Work around dangling BrowserContext pointer. | https://chromium-review.googlesource.com/c/chromium/src/+/4726946
---------
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-08-04 10:47:29 +02:00
Shelley Vohr
6d0e8044eb
fix: update chrome.tabs for Manifest v3 ( #39317 )
2023-08-03 18:34:02 +02:00
Shelley Vohr
f8b05bc127
feat: support minimum_chrome_version manifest key ( #39256 )
...
feat: support minimum_chrome_version extension key
2023-08-03 11:38:31 -04:00
David Sanders
e6931a788f
docs: clean up removed systemPreferences methods ( #39334 )
2023-08-03 14:40:29 +02:00
Robo
e96b1613a4
fix: destroy message port backend when JS env exits ( #39335 )
2023-08-03 14:30:19 +02:00
Milan Burda
fe93f69e5a
refactor: use Set instead of Array when appropriate ( #39324 )
2023-08-03 14:29:57 +02:00
Milan Burda
c5e50e4882
refactor: use more appropriate array methods ( #39321 )
2023-08-02 19:43:45 +02:00
Shelley Vohr
7686d1c379
docs: correct powerSaveBlocker.stop(id) return type ( #39320 )
...
doc: correct powerSaveBlocker.stop return type
2023-08-02 11:39:40 +02:00
Shelley Vohr
303b707fbf
fix: update chrome.i18n for Manifest v3 ( #39291 )
...
fix: update chrome.i18n for Manifest v3
2023-08-02 11:02:16 +02:00
github-actions[bot]
aaae2abf20
build: update appveyor image to latest version e-117.0.5911.0. ( #39318 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-08-02 10:23:21 +02:00
David Sanders
0eef6c67d1
docs: fix return type for ipcMain handle functions ( #39237 )
2023-08-01 10:02:20 +02:00
Shelley Vohr
1f19a74417
fix: potential crash calling tray.popUpContextMenu() ( #39231 )
...
fix: potential crash calling tray.popUpContextMenu
2023-08-01 15:07:30 +09:00
Shelley Vohr
c8f7a0e052
fix: Chrome Extensions service worker host registration ( #39290 )
2023-08-01 15:04:38 +09:00
David Sanders
b2c62d6ad1
fix: initial dark mode title bar on Windows 10 ( #39287 )
2023-07-31 22:02:23 -07:00
electron-roller[bot]
cfc0826b65
chore: bump chromium to 117.0.5913.0 (main) ( #39172 )
...
* chore: bump chromium in DEPS to 117.0.5899.0
* 4686653: webui: Filter out non-chrome scheme URLs in WebUIConfigMap
https://chromium-review.googlesource.com/c/chromium/src/+/4686653
* 4696355: Remove deprecated version of base::CommandLine::CopySwitchesFrom()
https://chromium-review.googlesource.com/c/chromium/src/+/4696355
* chore: fixup patch indices
* 4603888: Reland "Enable raw_ref check on linux"
https://chromium-review.googlesource.com/c/chromium/src/+/4603888
* chore: bump chromium in DEPS to 117.0.5901.0
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5903.0
* chore: bump chromium in DEPS to 117.0.5903.2
* chore: bump chromium in DEPS to 117.0.5905.0
* 4706792: Printing: Add debug code for a DispatchBeforePrintEvent() failure
https://chromium-review.googlesource.com/c/chromium/src/+/4706792
* 4704786: Refactor libunwind build rules/flags
https://chromium-review.googlesource.com/c/chromium/src/+/4704786
* 4701710: [Linux Ui] Set toolkit dark preference based on FDO dark preference
https://chromium-review.googlesource.com/c/chromium/src/+/4701710
* chore: fixup patch indices
* chore: bump chromium in DEPS to 117.0.5907.0
* chore: bump chromium in DEPS to 117.0.5909.2
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5911.0
* chore: update patches
* chore: build-what-we-include
* fix: set allowFileAccess on devtools extensions correctly
Ref: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4714725
* 4670615: Reland "[iterator-helpers] Shipping iterator helpers"
https://chromium-review.googlesource.com/c/v8/v8/+/4670615
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-07-31 10:47:32 -07:00
Shelley Vohr
8e5bb4949b
fix: skip artifact validation for doc-only PRs ( #39296 )
2023-07-31 09:59:51 -04:00
Milan Burda
724f90a2a7
refactor: throw errors directly in async functions ( #39233 )
2023-07-31 10:39:37 +02:00
David Sanders
68701c4c3c
chore: update @electron/lint-roller and improve doc type checks ( #39262 )
2023-07-31 10:39:01 +02:00
hunter
2b283724ce
docs: fix some string union type ( #39258 )
...
* docs: fix some string union types
Improve Type Union Typings in the Docs
* test: add smoke tests
* test: update `ses.clearStorageData` test case
* test: update `ses.clearStorageData` test case
---------
Co-authored-by: mhli <mhli@hillinsight.com >
2023-07-31 10:32:59 +02:00
Shelley Vohr
6df392162f
fix: pageVisibility state when backgroundThrottling disabled ( #39223 )
...
fix: pageVisibility state when backgroundThrottling disabled
2023-07-28 10:48:25 +02:00
Milan Burda
c9bae5da8e
refactor: use optional catch binding ( #39232 )
2023-07-27 10:53:45 -04:00
Samuel Attard
8dea783805
fix: do not resolve electron entrypoints on disk ( #39247 )
2023-07-26 22:10:58 -07:00
Shelley Vohr
695fcf3cb2
fix: reparenting after BrowserWindow.destroy() ( #39062 )
...
fix: reparenting after BrowserWindow.destroy()
2023-07-26 16:47:32 +02:00
Athul Iddya
fa5b1be6f3
fix: delete desktop capturers when they're not needed ( #39194 )
...
* fix: delete desktop capturers when they're not needed
Delete desktop capturer objects by resetting the DesktopMediaList
objects that own them after the sources have been collected. Capturers
that are not delegated are already being reset via a patch on
NativeDesktopMediaList. That is not safe for delegated capturers as
thumbnail generation depends on user events. Deleting the
DesktopMediaList operation is safe for all capturers and releases OS
capture resources as soon as possible.
* fix: add a patch to clean up PipeWire resources
Adding a patch to workaround a Chromium issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=1467060
The patch can be removed when the issue is resolved.
2023-07-26 10:40:19 +02:00
Shelley Vohr
38c3d8df29
fix: traffic lights not working when child windows are restored via parent window ( #39225 )
2023-07-26 10:10:34 +02:00
Shelley Vohr
12548294c0
fix: resizable: false should disable fullscreen button at start ( #39086 )
...
fix: resizable should disable fullscreen button at start
2023-07-25 12:18:36 -04:00
Milan Burda
455f57322f
refactor: use TypeError instead of generic Error when appropriate ( #39209 )
...
refactor: use TypeError instead of generic Error when appropriate
2023-07-25 12:08:46 -04:00
George Xu
77cc1d6ffa
chore: add dependencies upgrade policy to readme ( #39163 )
...
* chore: add dependencies upgrade policy to readme
as per wg-releases july 19 meeting
https://docs.google.com/document/d/1XWdD4uAu9m8Gcpiw1j5fLwwZ_hU4rce9JyTpuKU6uM8/edit?pli=1
* Update CONTRIBUTING.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-07-25 11:58:16 +02:00
John Kleinschmidt
e543126957
ci: fail appveyor build if artifacts are missing ( #39210 )
2023-07-24 16:38:34 -04:00
Shelley Vohr
1231f0a734
docs: document idleDetector permissions ( #39180 )
...
doc: document idleDetector permissions
2023-07-24 14:57:41 -04:00
github-actions[bot]
cd408a826c
build: update appveyor image to latest version - e-117.0.5897.0 ( #38970 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-07-24 12:44:27 -04:00
Milan Burda
3df6d337f3
feat: add senderIsMainFrame to messages sent via ipcRenderer.sendTo() ( #38868 )
...
* feat: add isMainFrame to events emitted via ipcRenderer.sendTo()
* chore: rename isMainFrame to senderIsMainFrame
2023-07-24 14:27:30 +02:00
Michaela Laurencin
09e6e4b9a7
docs: update window-open.md to include target ( #39162 )
...
Update window-open.md to include target
2023-07-24 12:33:41 +02:00
David Sanders
2caf08059e
docs: update @electron/fuses code examples ( #39175 )
2023-07-24 12:33:26 +02:00
David Sanders
1ca3a7d3c9
docs: fill in Node.js version for v25 release ( #39187 )
2023-07-24 12:33:10 +02:00
Milan Burda
2c52eb7e1c
refactor: replace .indexOf() with .includes() ( #39195 )
2023-07-24 12:32:54 +02:00
Athul Iddya
9cd5de7588
fix: use generic capturer to list both screens and windows when possible ( #39111 )
...
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-07-21 16:03:01 -07:00
David Sanders
a83f9c06d7
docs: update binding linking example in creating API doc ( #39177 )
2023-07-21 14:33:39 -07:00
David Sanders
b66449add5
ci: don't set column for draft issues on new project board ( #39178 )
2023-07-21 14:33:14 -07:00
Milan Burda
ada8eb33b2
feat: deprecate ipcRenderer.sendTo() ( #39091 )
...
* feat: deprecate ipcRenderer.sendTo()
* docs: add _Deprecated_ to ipcRenderer.sendTo()
2023-07-21 11:16:44 +02:00
David Sanders
3a5e2dd90c
docs: remove redundant IPC event sections ( #39133 )
...
* docs: use correct names for IPC events
* docs: remove redundant IPC event sections
2023-07-20 11:43:08 -07:00
Shelley Vohr
6688b0f31a
build: fix Appveyor test workflow checkout ( #39137 )
...
* build: fix Appveyor test workflow checkout
* fix: +refs/pull/num/merge -> +refs/pull/num/head
* chore: add to appveyor-woa as well
2023-07-20 11:19:57 +02:00
David Sanders
565705bd1d
docs: fix casing of _Deprecated_ ( #39152 )
2023-07-20 11:16:20 +02:00
electron-roller[bot]
e02cf8674d
chore: bump chromium to 117.0.5897.0 (main) ( #39147 )
...
* chore: bump chromium in DEPS to 117.0.5896.0
* chore: update patches
* 4622260: [Service Workers] Allow fetches from workers to use auto-picked certs
https://chromium-review.googlesource.com/c/chromium/src/+/4622260
* chore: bump chromium in DEPS to 117.0.5897.0
* 4665672: [ProfileSelections] Transition extension keyed factories to use Profile Selections
https://chromium-review.googlesource.com/c/chromium/src/+/4665672
* chore: fixup patch indices
---------
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: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-20 09:36:59 +02:00
dependabot[bot]
3e7c904f02
build(deps): bump word-wrap from 1.2.3 to 1.2.4 ( #39148 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 19:24:26 +02:00
Charles Kerr
f2b32af1f6
perf: small perf changes in HidChooserController ( #39057 )
...
* perf: avoid string temporary in HidChooserController::PhysicalDeviceIdFromDeviceInfo()
return a const ref instead of a new string
* perf: avoid second map lookup in HidChooserController::AddDeviceInfo()
2023-07-19 16:54:30 +02:00
Cheng Zhao
cc39ddb728
test: add some environment variables for controlling tests ( #39149 )
...
chore: add some environment variables for controlling tests
2023-07-19 16:54:08 +02:00
electron-roller[bot]
bbdd037219
chore: bump chromium to 117.0.5892.0 (main) ( #39118 )
...
* chore: bump chromium in DEPS to 117.0.5892.0
* 4670267: Don't send javascript: or empty URLs to browser in CreateNewWindow.
https://chromium-review.googlesource.com/c/chromium/src/+/4670267
* 4662090: Add metrics for WebGPU support
https://chromium-review.googlesource.com/c/chromium/src/+/4662090
* 4672599: Use set_defaults for mac_app_bundle
https://chromium-review.googlesource.com/c/chromium/src/+/4672599
* 4663771: usb: Add connection count tracking methods for UsbDelegate
https://chromium-review.googlesource.com/c/chromium/src/+/4663771
* 4664578: Remove unused parameter from ExtensionsGuestViewManagerDelegate ctor
https://chromium-review.googlesource.com/c/chromium/src/+/4664578
* 4622253: usb: Create classes for usb system tray icon
https://chromium-review.googlesource.com/c/chromium/src/+/4622253
* 4678263: Remove ARC support from scoped_nsobject
https://chromium-review.googlesource.com/c/chromium/src/+/4678263
* chore: follow-up ARC changes and missing guard corrections
* chore: don't mark 0-param ctor explicit
Follow up to https://chromium-review.googlesource.com/c/chromium/src/+/4664578
* chore: fixup patch indices
* 4670865: Merge ObjectProxy::CallMethodAndBlock{,WithErrorDetails}.
https://chromium-review.googlesource.com/c/chromium/src/+/4670865
* chore: follow-up ARC changes and missing guard corrections
* fixup: retain ElectronApplicationDelegate
* fix: correct rustc binary
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-19 00:26:27 +02:00
Shelley Vohr
ee4460ac68
build: correct codespaces devcontainer extensions settings ( #39123 )
2023-07-19 00:20:11 +02:00
Shelley Vohr
00d96970cb
build: fixup Codespaces build-tools setup ( #39138 )
...
* build: fixup Codespaces build-tools setup
* oops evm.testing1.json -> evm.testing.json
2023-07-18 22:58:26 +02:00
Keeley Hammond
139774ce48
docs: update stable dates ( #39128 )
2023-07-18 09:30:04 -07:00
Milan Burda
47951cc95b
refactor: use Date.now() instead of +new Date() ( #38901 )
...
refactor: use Date.now()
2023-07-18 10:58:02 +02:00
Shelley Vohr
8874306dc0
fix: window.open causing occasional Node.js crashes ( #38754 )
...
* fix: window.open causing occasional Node.js crashes
* chore: always free isolate data
* chore: clear pending ticks in worker thread
* fix: UAF crash when creating WebWorkerObserver
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-07-18 10:41:50 +02:00
ZWJKFLC
4ab0a5ade4
docs: fix a capitalization problem in messagePort tutorial ( #39083 )
...
fix a capitalization problem
For a rookie, this little mistake took a long time to find out.
2023-07-17 10:41:46 -07:00
Milan Burda
626f46f75a
refactor: use node scheme imports in docs/fiddles ( #39110 )
2023-07-17 10:30:53 +02:00
electron-roller[bot]
9645f7f6d8
chore: bump chromium to 117.0.5884.1 (main) ( #38969 )
...
* chore: bump chromium in DEPS to 117.0.5866.0
* chore: bump chromium in DEPS to 117.0.5868.0
* chore: update mas_no_private_api.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4634925
Minor manual patch syncing due to upstream code shear
* chore: update mas_disable_remote_layer.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4647191
Manually sync patch to minor upstream code shear
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4641746
No manual changes; patch applied with fuzz
* chore: update mas_avoid_usage_of_private_macos_apis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4634925
Manually sync base/process/launch_mac.cc to minor upstream shear
Manually sync base/mac/foundation_util.mm to upstream changes:
_CFIsObjC use has been removed upstream, so we no longer need
to remove it 🎉
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4658496
Manually sync patch to minor upstream code shear
* chore: update disable_color_correct_rendering.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4625254
Manually sync patch to minor upstream code shear
* chore: update feat_expose_raw_response_headers_from_urlloader.patch
Xref: services/network/public/cpp/resource_request.cc
No manual changes; patch applied with fuzz
* chore: update add_electron_deps_to_license_credits_file.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4634961
No manual changes; patch applied with fuzz
* chore: update build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4648411
No manual changes; patch applied with fuzz
* chore: update patches
* fixup! chore: update add_electron_deps_to_license_credits_file.patch
chore: license files must be an array
* chore: bump chromium in DEPS to 117.0.5870.0
* chore: update patches
* chore: run ./script/gen-libc++-filenames.js
* chore: update json_parse_errors_made_user-friendly.patch
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/4652014
v8 error message changed upstream; update Node test to match it
* chore: bump chromium in DEPS to 117.0.5872.0
* chore: update patches
* chore: explicitly cast x11::Window to unsigned int
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4661049
This is an `enum class Window : uint32_t` defined in ui/gfx/x/xproto.h.
Previous versions of clang let this implicit cast happen,
but it generates a warning in the new clang roll.
* chore: remove unused #include
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4650453
header was removed upstream, so FTBFS unless removed here
* chore: add include guard patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4628373
h/t @jkleinsc
* chore: bump chromium in DEPS to 117.0.5874.0
* chore: update render_widget_host_view_mac.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4661244
Manually sync patch to minor upstream code
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4653209
Manually sync patch to upstream code shear
* chore: update build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4653209
Manually sync patch to minor upstream code shear
* chore: update GetInitiatorProcessId()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4641991
trivial upstream naming change: s/ProcessID/ProcessId/
* chore: sync to upstream SetInputRegion() changes
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4665245
Simple upstream chang: SetInputRegion() used to take a gfx::Rect* where
`nullptr` meant "no opaque region". The function signature changed to
absl::optional<gfx::Rect> w/the same meaning.
* chore: sync to upstream SetOpaqueRegion() changes
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4656738
Simple upstream chang: SetOpaqueRegion() used to take a vector<Rect>* where
`nullptr` meant "no opaque region". The function signature changed to
absl::optional<std::vector<gfx::Rect>> w/the same meaning.
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5876.0
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4658375
We no longer need to patch out a field that's now removed upstream.
RenderWidgetHostNSViewBridgeOwner.remote_accessibility_element_
* chore: update feat_filter_out_non-shareable_windows_in_the_current_application_in.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4658680
Manually sync patch to upstream code shear (ARC adoption).
* chore: update patches
* fix: -Werror,-Wshadow error in Node.js
* chore: bump chromium in DEPS to 117.0.5878.0
* chore: bump chromium in DEPS to 117.0.5880.0
* chore: bump chromium in DEPS to 117.0.5880.4
* chore: update patches
* 4658680: Convert /content/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4658680
* 4669995: Remove CFToNSCast and NSToCFCast
https://chromium-review.googlesource.com/c/chromium/src/+/4669995
* WIP: 4658680: Convert /content/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4658680
* chore: update printing patch after rebase
* chore: bump chromium in DEPS to 117.0.5882.0
* Revert "WIP: 4658680: Convert /content/browser to use ARC"
This reverts commit c8559ea448 .
* Revert "4669995: Remove CFToNSCast and NSToCFCast"
This reverts commit 38e145f33d .
* chore: bump chromium in DEPS to 117.0.5874.0
* 4661244: Convert /content/browser/renderer_host to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4661244
* 4653209: Convert /ui/views:views to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4653209
* chore: fixup mas_disable_remote_accessibility.patch
* chore: fixup render_widget_host_view_mac.patch
* chore: update to newer clang
* chore: bump chromium in DEPS to 117.0.5884.1
(cherry picked from commit a3879acfde8f3d962d58d6ad0632164ccb88ee63)
* 4669995: Remove CFToNSCast and NSToCFCast
https://chromium-review.googlesource.com/c/chromium/src/+/4669995
(cherry picked from commit 38e145f33d )
(cherry picked from commit b1224ab7e00aedbd0e5dc78ebb3c6162573b28c4)
* 4658680: Convert /content/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4658680
(cherry picked from commit 77039a323b9ebb3e8edb3a92a3b94a8d7d026a32)
* Rename and cleanup ExtensionsBrowserClient functions
| https://chromium-review.googlesource.com/c/chromium/src/+/4665670
(cherry picked from commit 677a2e646a8d82da60dc252b08b320c3ddff6be6)
* chore: bump chromium in DEPS to 117.0.5886.0
* chore: update patches
* Revert "chore: update patches"
This reverts commit db9294f944 .
* Revert "chore: bump chromium in DEPS to 117.0.5886.0"
This reverts commit a7de0276e6 .
* build: use built toolchains instead of locally installed VSCode
* fixup: build: use built toolchains instead of locally installed VSCode
* chore: add missing mojo dep
---------
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: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-16 16:14:43 +02:00
Shelley Vohr
f61425efdb
fix: clipboard.readImage() should be synchronous ( #39069 )
...
* feat: clipboard.readImage returns a Promise
* chore: update breaking changes doc
* fix: make function synchronous
* Update docs/api/native-image.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-07-13 16:59:14 -04:00
Robo
34e7c3696a
feat: expose safestorage backend information on linux ( #38873 )
...
* feat: expose safestorage backend information on linux
* Remove gnome-keyring
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4609704
2023-07-13 11:14:33 +02:00
Charles Kerr
dc671804da
perf: avoid redundant lookup in BluetoothChooser::AddOrUpdateDevice() ( #39059 )
...
perf: avoid redundant map lookup in BluetoothChooser::AddOrUpdateDevice()
2023-07-13 10:16:25 +02:00
Milan Burda
b14b876d50
docs: fix fiddles ( #39060 )
...
* refactor: replace Array.prototype.forEach.call with plain for-of
* fix: add missing contextIsolation: false
* fix: open links in default browser
2023-07-13 10:10:37 +02:00
Charles Kerr
a8622aed7b
perf: avoid redundant map lookup in NativeImage::GetHICON() ( #39058 )
...
perf: avoid double map lookup in NativeImage::GetHICON()
2023-07-13 15:37:43 +09:00
Shelley Vohr
da3475998f
fix: BrowserWindow.moveAbove() not working for child windows ( #39034 )
...
fix: BrowserWindow.moveAbove() not working for child windows
2023-07-12 17:42:24 +02:00
Alka Vats
9d1a16b2e6
docs: updated the markup tag i with the em ( #39041 )
2023-07-12 15:52:10 +02:00
Shelley Vohr
b142fce229
fix: protocol.handle not intercepting file protocol ( #39048 )
...
fix: protocol.handle not intercepting file protocol
2023-07-12 11:42:49 +02:00
Mikhail Leliakin
f959fb0c96
feat: browserWindow.getBrowserViews() to return sorted by z-index array ( #38943 )
2023-07-11 11:01:30 +02:00
Athul Iddya
905e41bbdd
fix: use StartUpdating method for PipeWire capturer ( #38833 )
...
* fix: use StartUpdating method for PipeWire capturer
Fixed a crash related to PipeWire capturer by adapting to Chromium's
interface changes. Chromium expects a call to
`NativeDesktopMediaList::StartUpdating` with an implementation of
`DesktopMediaListObserver` for delegated capturers like PipeWire. This
interface allows listening to user permission events and listing
sources only after the user has made a choice on the permission dialog.
The interface has been implemented by an inner class to allow listening
to screen and window capture permissions concurrently using two
instances of the class. A patch that was resetting the capturer on the
first refresh has been changed to exclude PipeWire. PipeWire capturer
object will follow the lifecycle of `NativeDesktopMediaList`, as is the
case in Chromium.
Fixes #37463
* fix: wait for thumbnails from PipeWire when necessary
The PipeWire stream starts after the dialog is dismissed. If the sources
are listed immediately afterwards, the thumbnail may not have been
generated by that time. Explicitly wait for both thumbnail generation
and a selection on the source dialog before listing sources.
2023-07-11 10:21:11 +02:00
Athul Iddya
3e3152008f
fix: remove types from GTK CSS selectors ( #39003 )
...
Remove types from GTK CSS selectors similar to Chromium's changes in CL
4289229.
Fixes #38786
Co-authored-by: Athul Iddya <athul@iddya.com >
2023-07-10 22:52:12 +02:00
Anton Gilgur
f3f3f53904
docs: add link to Travis CI headless page ( #38990 )
...
docs(headless): link to Travis CI docs
- Travis has a specific page in its docs all about headless, with several different methods of using `xvfb`
- c.f. https://docs.travis-ci.com/user/gui-and-headless-browsers/
2023-07-10 16:45:18 -04:00
Shelley Vohr
117a700724
fix: printing optional access crash on Windows ( #38976 )
2023-07-10 09:26:29 -04:00
Shelley Vohr
c7bdd907d7
fix: set prototype names on gin::Constructible classes ( #39006 )
...
* fix: set prototype names on gin::Constructible classes
* test: add tests
2023-07-10 11:49:20 +02:00
Mikhail Leliakin
56b5c00312
feat: add BrowserWindow.showAllTabs() for macOS ( #38965 )
2023-07-10 10:43:37 +02:00
John Kleinschmidt
040e9a027a
build: disable unneeded depot_tools update on Windows CI ( #39011 )
...
build: disable unneeded depot_tools update
2023-07-06 16:13:20 -04:00
Shelley Vohr
a97028bacf
fix: Notification 'Show' button visible when no actions exist ( #38997 )
2023-07-06 15:50:08 -04:00
Shelley Vohr
cc7d724a3b
fix: menu border being created properly on Windows 11 ( #38998 )
...
* fix: menu border being created properly on Windows 11
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-07-06 15:46:12 +02:00
Shelley Vohr
c7a64ab994
fix: webview crash when removing in close event ( #38996 )
2023-07-06 10:20:34 +02:00
Shelley Vohr
5a77c75753
revert: compensate for title bar height when setting bounds on BrowserView ( #38981 )
...
This reverts commit 75f9573e53 .
2023-07-06 09:50:08 +02:00
Varun Sood
ec4c9024b9
docs: Improved the Documentation on BrowserWindow type attribute ( #38666 )
...
* docs: Documentation changes
* made the required changes in the docs
* made the toolbar type text correction
2023-07-05 16:26:39 -04:00
Cheng Zhao
3fa15ebb7e
fix: use Chromium's way to compute min/max sizes ( #38974 )
2023-07-05 11:02:05 -04:00
David Sanders
52fe76ca28
ci: automate release board creation ( #38629 )
...
* ci: refactor determining major branch
* ci: automate release board creation
2023-07-03 10:34:57 +02:00
Sergei Chestakov
e991c1868e
docs: fix misleading code sample for handling deeplinks on Linux ( #38862 )
...
Fix misleading docs for handling deeplinks in Linux
2023-07-03 10:30:45 +02:00
electron-roller[bot]
ccd4531bfb
chore: bump chromium to 117.0.5852.0 (main) ( #38891 )
...
* chore: bump chromium in DEPS to 117.0.5846.0
* chore: update patches
* 4628901: Bump the macOS deployment target to 10.15
https://chromium-review.googlesource.com/c/chromium/src/+/4628901
* 4593350: [Private Network Access] Trigger Permission Prompt
https://chromium-review.googlesource.com/c/chromium/src/+/4593350
* 4631011: Remove unlaunched "InstallReplacementAndroidApp" Platform App APIs
https://chromium-review.googlesource.com/c/chromium/src/+/4631011
* chore: disable API deprecation warnings in NSKeyedArchiver
* chore: update libcxx filenames
* chore: bump chromium in DEPS to 117.0.5848.2
* chore: update feat_add_set_theme_source_to_allow_apps_to.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4629743
No manual changes; patch succeeded with fuzz
* chore: update process_singleton.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4605398
Trivial manual patch adjustments to account for code shear.
* chore: remove electron::BrowserContext::GetMediaDeviceIDSalt()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4608130
upstream tldr:
- content::BrowserContext::GetMediaDeviceIDSalt()
- content::ContentBrowserClient::ArePersistentMediaDeviceIDsAllowed()
+ content::ContentBrowserClient::GetMediaDeviceIDSalt()
This commit leaves ElectronBrowserContext::GetMediaDeviceIDSalt() in
place (now non-virtual, non-override). It is now called by the new
function ElectronBrowserClient::GetMediaDeviceIDSalt().
As a followup, we might want to consider using the new upstream
media_device_salt::MediaDeviceSaltService and removing our
electron::MediaDeviceIDSalt code. CC @MarshallOfSound for 2nd
opinion since he has done the most work on MediaDeviceIDSalt and
may have more context.
* chore: fix iwyu breakage
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4629624
electron_browser_main_parts.cc uses ui::ColorProviderManager but didn't
include it. Things worked anyway because we got it indirectly from
content/public/browser/web_contents.h until 4629624.
* chore: remove call to base::mac::IsAtLeastOS10_14
upstream has bumped minimum version to 10.15 so this call is moot?
* chore: remove obsolete API_AVAILABLE calls in IAP
upstream has bumped minimum version to 10.15 so this call is moot?
* chore: remove obsolete API_AVAILABLE calls in electron_application_delegate
upstream has bumped minimum version to 10.15 so this call is moot?
* chore: remove broken-before-macOS-10.15 patch in mas_avoid_usage_of_private_macos_apis.patch
Upstream has bumped minimum to macOS 10.15
* chore: remove @available(macOS 10.14) check
Upstream minimum requirement for macOS is now 10.15
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5850.0
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5852.0
* chore: update patches
* Move two params from NetworkContextParams to NetworkContextFilePaths.
https://chromium-review.googlesource.com/c/chromium/src/+/4615930
* WebUSB: Add exclusionFilters to USBRequestDeviceOptions
https://chromium-review.googlesource.com/c/chromium/src/+/4614682
* Convert /chrome/browser/ui to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4615920
* fixup! Bump the macOS deployment target to 10.15
* fixup! Bump the macOS deployment target to 10.15
* chore: update libcxx files
* win: Remove 10Glass from Windows10Glass function and var names
https://chromium-review.googlesource.com/c/chromium/src/+/4641314
* chore: revert 392e5f43 from chromium
* Add an ExecutionContext to ScriptState
https://chromium-review.googlesource.com/c/chromium/src/+/4609446
* fixup! Add an ExecutionContext to ScriptState
* chore: fix header
* Revert "chore: revert 392e5f43 from chromium"
This reverts commit b7f782943e4ce83cae8cd35780d8d3618cf0772c.
* fix: return correct min/max sizes in WinFrameView
* fixup! Revert chore: revert 392e5f43 from chromium
* fixup! Add an ExecutionContext to ScriptState
* Revert "fixup! Revert chore: revert 392e5f43 from chromium"
This reverts commit 7e2c7281abfc4f309255339fdba073d90a9ae3eb.
* Revert "fix: return correct min/max sizes in WinFrameView"
This reverts commit 3f418b1ab5155686730e087ae6cabe4a21b4bb61.
* Revert "Revert "chore: revert 392e5f43 from chromium""
This reverts commit 56296d8b7c434147e032e3c3b08c0e371b6c27ba.
---------
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: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-07-01 16:22:55 -04:00
Samuel Attard
499d893040
feat: add support for keyboard initialized menu popup ( #38903 )
...
* feat: add support for keyboard initialized menu popup
* Update docs/api/menu.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* fix: add patch to chromium for keyboard accessibility menu behavior
* refactor: s/initiatedByKeyboard/sourceType
* fix: ignore initial mouse event to retain keyboard initiated focus
* Update docs/api/menu.md
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2023-06-29 15:54:06 -07:00
Milan Burda
607e71d563
refactor: replace Object.prototype.hasOwnProperty() with Object.hasOwn() ( #38929 )
2023-06-27 16:57:33 -04:00
Cheng Zhao
09669f9d21
fix: child window may have opener removed ( #38910 )
2023-06-26 17:04:54 -04:00
github-actions[bot]
ff6d0df2d5
build: update appveyor image to latest version e-116.0.5845.0 ( #38913 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-26 15:57:10 -04:00
Milan Burda
81a454d148
chore: re-enable node/no-deprecated-api linting ( #38899 )
...
* chore: re-enable node/no-deprecated-api linting
* chore: re-enable no-global-assign linting
2023-06-26 13:51:59 -04:00
Charles Kerr
acba6d79fb
docs: document e27 breaking change of dropping macOS 10.13, 10.14 ( #38917 )
...
docs: document e27 breaking change of dropping macOS 10.13, 10.14 support
2023-06-26 13:29:00 -04:00
electron-roller[bot]
327af3b03c
chore: bump node to v18.16.1 (main) ( #38869 )
...
* chore: bump node in DEPS to v18.16.1
* chore: update patches
* deps: update c-ares to 1.19.1
https://github.com/nodejs/node/pull/48115
* chore: fix -Wunreachable-code,-Werror FTBFS in c-ares
* chore: disable x509 bssl test
new test added in bf3e2c892
* fixup! chore: fix -Wunreachable-code,-Werror FTBFS in c-ares
also fix related -Werror,-Wunused-function FTBFS
* fixup! chore: fix -Wunreachable-code,-Werror FTBFS in c-ares
also fix another related -Werror,-Wunused-function FTBFS
* fixup! chore: disable x509 bssl test
fix yet another -Werror,-Wunused-function FTBFS
---------
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: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-26 12:03:30 -04:00
Milan Burda
ef6569b7d3
chore: cleanup unusued variables + enable linting ( #38898 )
2023-06-26 02:51:54 -07:00
dependabot[bot]
e900f6ecc3
build(deps-dev): bump semver from 5.7.0 to 7.5.2 ( #38916 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.0 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.0...v7.5.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 13:17:43 -07:00
Milan Burda
9226cc662b
refactor: use types for once() return values in spec ( #38872 )
2023-06-22 14:38:52 -04:00
Milan Burda
abec9ead06
refactor: use node scheme imports in scripts ( #38846 )
...
* refactor: use node scheme imports in script
* refactor: use node scheme imports in build
2023-06-22 16:21:42 +02:00
Charles Kerr
395b608dd5
refactor: more constexpr lookup tables ( #38886 )
...
* refactor: use constexpr lookup table in electron_api_web_contents.cc
* refactor: make KeyboardCodeFromStr() private
it is only used as a helper to KeyboardCodeFromStr()
* chore: savepoint
* chore: make lint happy
* fixup! refactor: make KeyboardCodeFromStr() private
* refactor: use constexpr lookup table in electron_url_loader_factory
* refactor: use constexpr lookup table in electron_api_tray
* refactor: use constexpr lookup table in web_contents_preferences.cc
* refactor: use constexpr lookup table in content_converter
2023-06-22 14:33:44 +02:00
electron-roller[bot]
1eb19f3078
chore: bump chromium to 116.0.5845.0 (main) ( #38827 )
...
* chore: bump chromium in DEPS to 116.0.5835.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5837.0
* chore: bump chromium in DEPS to 116.0.5839.0
* chore: bump chromium in DEPS to 116.0.5841.0
* chore: bump chromium in DEPS to 116.0.5843.0
* 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
* 4506614: geolocation: Add LocationProvider::FillDiagnostics
https://chromium-review.googlesource.com/c/chromium/src/+/4506614
* chore: bump chromium in DEPS to 116.0.5845.0
* chore: update patches
* fixup! 4506614: geolocation: Add LocationProvider::FillDiagnostics https://chromium-review.googlesource.com/c/chromium/src/+/4506614
* 4609704: Remove gnome-keyring
https://chromium-review.googlesource.com/c/chromium/src/+/4609704
---------
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 10:51:15 +02:00
Shelley Vohr
a00a25376d
fix: crash calling BrowserWindow.removeBrowserView() with destroyed webContents ( #38842 )
...
fix: crash calling removeBrowserView() with destroyed webContents
https://github.com/electron/electron/issues/37642
2023-06-21 15:20:54 -04:00
Michaela Laurencin
ce6fe040fe
fix: set minimize visibility true with enable ( #38860 )
2023-06-21 14:58:33 -04:00
Shelley Vohr
e73edb5481
feat: allow headers to be sent with session.downloadURL() ( #38785 )
2023-06-21 15:31:28 +02:00
Milan Burda
74d73166d9
chore: remove deleted guest-window-proxy.ts from CODEOWNERS ( #38848 )
...
chore: remove deleted /lib/browser/guest-window-proxy.ts from CODEOWNERS
2023-06-20 17:19:33 -04:00
Milan Burda
6bd02bf181
refactor: use node scheme imports in default_app ( #38847 )
2023-06-20 17:17:03 -04:00
github-actions[bot]
a595044989
build: update appveyor image to latest version - e-116.0.5833.0. ( #38803 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-20 14:15:00 -04:00
Shelley Vohr
f6bbc34658
fix: set supported scale factors on startup ( #38836 )
2023-06-20 12:24:03 -04:00
Milan Burda
2b3902e526
refactor: use content::GlobalRenderFrameHostId ( #38843 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-20 15:32:31 +02:00
Milan Burda
93024be3b2
build: rename spec/.eslintrc -> spec/.eslintrc.json ( #38838 )
...
chore: rename spec/.eslintrc -> spec/.eslintrc.json
2023-06-19 14:19:11 +02:00
Shelley Vohr
b693f88491
fix: crash on nativeTheme change during context menu close ( #38824 )
2023-06-19 11:26:54 +02:00
Charles Kerr
97132ece33
refactor: use constexpr lookup tables in gin helper ( #38818 )
...
* feat: add gin_helper::FromV8WithLookup()
feat: add gin_helper::FromV8WithLowerLookup()
* refactor: use constexpr lookup table in gin Converters
2023-06-19 10:33:09 +02:00
Charles Kerr
41ab5f327f
refactor: remove unused InspectableWebContentsView::GetWebView() ( #38799 )
2023-06-16 00:44:19 -05:00
electron-roller[bot]
7219142a54
chore: bump chromium to 116.0.5833.0 (main) ( #38809 )
...
* 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
* Split CertDatabase notifications between trust changes and client cert changes
https://chromium-review.googlesource.com/c/chromium/src/+/4596317
---------
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:01 -04:00
Shelley Vohr
46fb0d8f5f
fix: webContents.print({ silent: true }) not working correctly ( #38741 )
...
fix: webContents.print({ silent: true }) not working correctly
2023-06-15 10:46:38 -04:00
Milan Burda
d78f37ec8f
refactor: use node scheme imports in spec ( #38487 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-15 10:42:27 -04:00
Charles Kerr
bf1ba4a857
refactor: constexpr lookup tables ( #38771 )
...
* refactor: use a constexpr lookup table in GetPathConstant()
* refactor: use a constexpr lookup table in SystemPreferences::GetColor()
* refactor: use a constexpr lookup table in SimpleURLLoaderWrapper::Create()
2023-06-14 17:00:46 -04:00
electron-roller[bot]
bb4e9b27b5
chore: bump chromium to 116.0.5831.0 (main) ( #38784 )
...
* chore: bump chromium in DEPS to 116.0.5831.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-14 16:59:54 -04:00
github-actions[bot]
30579859c4
build: update appveyor image to latest version - e-116.0.5829.0 ( #38779 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-14 15:35:25 -04:00
Charles Kerr
5ad8b4b7d1
chore: remove unused std includes ( #38767 )
2023-06-14 11:07:18 -07:00
Shelley Vohr
f7c0a29d89
build: update to latest TypeScript ( #38763 )
2023-06-14 11:06:46 -07:00
Shelley Vohr
10852b3fd5
fix: preferCSSPageSize error type ( #38761 )
...
fix: preferCSSPageSize error type
2023-06-14 10:49:00 -04:00
Milan Burda
dc2e822dc7
fix: asar integration for require('node:child_process') ( #38742 )
2023-06-14 18:03:53 +09:00
Samuel Attard
46458ab517
build: update typescript-generator and docs-parser ( #38747 )
...
* build: update typescript-generator and docs-parser
* again...
* build: handle more specific pageSize types
2023-06-13 16:22:53 -07:00
Keeley Hammond
9aefe5db33
build: move chrome_lib_arc to chromium_src/BUILD.gn ( #38764 )
2023-06-13 16:23:11 -04:00
Charles Kerr
167c2b250e
refactor: use compile-time cli arg sets. ( #38748 )
...
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 14:37:59 -05:00
Milan Burda
1621fcf5d3
docs: add missing isSameDocument property to will-frame-navigate event details ( #37940 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-13 15:15:20 -04:00
github-actions[bot]
18d484f39c
build: update appveyor image to latest version e-116.0.5815.0. ( #38739 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-13 14:56:43 -04:00
Milan Burda
e37111edcc
build: remove enable_osr build flag ( #38703 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-13 14:48:53 -04:00
electron-roller[bot]
80a3ba5c68
chore: bump chromium to 116.0.5829.0 (main) ( #38726 )
...
* chore: bump chromium in DEPS to 116.0.5823.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5825.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5827.0
* chore: update patches
* 4568811: Integrate Search Prefetch with Extensions.
https://chromium-review.googlesource.com/c/chromium/src/+/4568811
* 4567511: [DevTools] Add recordCountHistogram API.
https://chromium-review.googlesource.com/c/chromium/src/+/4567511
* 4507692: Delete base/guid.h
https://chromium-review.googlesource.com/c/chromium/src/+/4507692
* 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
* [viz] Convert MaybeSizeInBytes() to take in SharedImageFormat
https://chromium-review.googlesource.com/c/chromium/src/+/4594677
* 4564108: [BRP] Enable check_raw_ptr_fields for Mac
https://chromium-review.googlesource.com/c/chromium/src/+/4564108
* chore: bump chromium in DEPS to 116.0.5828.0
* chore: bump chromium in DEPS to 116.0.5829.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>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-13 14:45:48 -04:00
Shelley Vohr
678d1aa37d
docs: clarify supported accelerator punctuation ( #38740 )
...
doc: clarify supported accelerator punctuation
2023-06-13 12:42:55 +02:00
David Sanders
f5869b6fb9
chore: change remaining usages of process.mainModule ( #38705 )
2023-06-12 09:55:36 +02:00
Charles Kerr
ab49e98401
perf: prefer base::StringPiece over std::string for build-time strings ( #38717 )
...
* perf: use base::StringPiece in InclusionStatusToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in ErrorCodeToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in MessageSourceToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in CursorTypeToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in MediaStreamTypeToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in ModifiersToArray()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in WebFrameRenderer::MaybeGetRenderFrame()
The strings are all build-time constants and this is a private function
2023-06-12 09:55:22 +02:00
Shelley Vohr
fa6d14c22d
fix: webContents.print() cancellation callback ( #38709 )
...
fix: webContents.print() cancellation callback
2023-06-12 09:42:18 +02:00
Milan Burda
5d123765d9
feat: support node: prefixed requires in sandboxed renderer preloads ( #38567 )
...
feat: support node: prefixed requires in sandboxed renderer preloads
2023-06-10 14:36:16 -04:00
electron-roller[bot]
fd5e6fbc14
chore: bump chromium to 116.0.5817.0 (main) ( #38465 )
...
* chore: bump chromium in DEPS to 116.0.5793.3
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5795.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5797.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5799.0
* 4522192: [serial] Allow Bluetooth ports to be requested by service class ID. | https://chromium-review.googlesource.com/c/chromium/src/+/4522192
* 4545385: Create base::apple::Owned[frameworktype], use it for gfx::NativeEvent | https://chromium-review.googlesource.com/c/chromium/src/+/4545385
* chore: bump chromium in DEPS to 116.0.5801.0
* chore: update patches
* 4562796: Use base::apple::Owned[frameworktype] for ui::PlatformEvent | https://chromium-review.googlesource.com/c/chromium/src/+/4562796
* 4559790: Manual raw_ptr rewrite: //base | https://chromium-review.googlesource.com/c/chromium/src/+/4559790
* chore: bump chromium in DEPS to 116.0.5803.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5805.2
* chore: update patches
* 4547630: Move content/public/common/network_service_util.h to c/p/browser/ | https://chromium-review.googlesource.com/c/chromium/src/+/4547630
* 4510075: Adding extensions to network response experiment | https://chromium-review.googlesource.com/c/chromium/src/+/4510075
* 4566552: Auto-generate grd file for chrome://accessibility. | https://chromium-review.googlesource.com/c/chromium/src/+/4566552
* chore: bump chromium in DEPS to 116.0.5807.0
* chore: update patches
* 4533536: [Privacy Hub] Geolocation manager used directly | https://chromium-review.googlesource.com/c/chromium/src/+/4533536
* chore: patch out ARC support from /chrome/browser
4571955: Convert /chrome/browser to use ARC | https://chromium-review.googlesource.com/c/chromium/src/+/4571955
* chore: bump chromium in DEPS to 116.0.5809.2
* chore: bump chromium in DEPS to 116.0.5811.0
* chore: update patches
* 4573627: Adopt base::NoDestructor for KeyedService factories | https://chromium-review.googlesource.com/c/chromium/src/+/4573627
* 4576878: Reland "Shared Storage: Add mojo method for observing response headers" | https://chromium-review.googlesource.com/c/chromium/src/+/4576878
* chore: bump chromium in DEPS to 116.0.5813.0
* chore: update patches
* fixup! 4566552: Auto-generate grd file for chrome://accessibility. | https://chromium-review.googlesource.com/c/chromium/src/+/4566552
* chore: fix up lint
* test: (debug) use Promise.all in asan tests
* chore: manually roll DEPS to 116.0.5815.0
* chore: update patches
* 4585150: Convert /printing to use ARC | https://chromium-review.googlesource.com/c/chromium/src/+/4585150
* test: (asan) extend timeout, clean up debugging
* chore: remove ARC chromium patch
* chore: update patches after main sync
* 4546398: Convert /chrome/browser to use ARC | https://chromium-review.googlesource.com/c/chromium/src/+/4546398
* build: add chrome_lib_arc for chromium_src/BUILD.gn sources
* fixup! 4559790: Manual raw_ptr rewrite: //base | https://chromium-review.googlesource.com/c/chromium/src/+/4559790
---------
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: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2023-06-09 16:08:36 -07:00
Charles Kerr
a3448376a1
refactor: api web contents ownership ( #38695 )
...
* refactor: aggregate api::WebContents::exclusive_access_manager_ directly
* refactor: make WebContents::devtools_file_system_indexer_ scoped_refptr const
* refactor: make WebContents::file_task_runner_ scoped_refptr const
* refactor: make WebContents::print_task_runner_ scoped_refptr const
2023-06-09 15:28:11 -05:00
Shelley Vohr
c0d9764de9
fix: webContents.print parameter validation error ( #38614 )
2023-06-09 21:41:01 +02:00
Samuel Maddock
e8fd5fd3a8
fix: WCO transparent background ( #38693 )
...
* fix: WCO transparency
* doc: wco color transparency
* fix: transparent buttons when calling setTitleBarOverlay
2023-06-09 09:57:57 -07:00
Charles Kerr
d95ae19edf
refactor: add SessionPreferences::CreateForBrowserContext() ( #38656 )
...
Copy the NativeWindowRelay::CreateForWebContents() idiom
to simplify SessionPreferences's constructor and lifecycle.
2023-06-09 11:20:43 -05:00
Samuel Attard
12b85a77a8
build: upload node checksums before validating them ( #38710 )
2023-06-09 02:30:26 -07:00
Samuel Attard
38dc43f649
build: actually use m1.large for publish job ( #38706 )
2023-06-08 23:56:26 -07:00
Samuel Attard
43f5cf1eae
build: update sentry cli for m1 support ( #38704 )
2023-06-08 16:31:15 -07:00
David Sanders
2a81b2aea3
build: move uploadIndexJson to just before publishRelease ( #38659 )
...
* build: move uploadIndexJson to just before publishRelease
* chore: move uploadNodeShasums as well
2023-06-08 16:41:23 -04:00
Milan Burda
05d39d8313
build: remove enable_run_as_node build flag ( #38413 )
...
* feat: remove enable_run_as_node flag
* drop features.isRunAsNodeEnabled()
* use IsEnvSet() helper in electron_main_linux.cc
* cleanup [[maybe_unused]]
---------
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-08 16:40:08 -04:00
John Kleinschmidt
806f00285c
build: ensure correct dsymutil is downloaded for macOS ( #38692 )
2023-06-08 13:39:13 -07:00
Cheng Zhao
534bf77d9b
chore: modify patches so we can build other chromium targets ( #38637 )
...
chore: tune patches so we can build other chromium targets
2023-06-08 13:30:36 -04:00
Charles Kerr
9d8da7839e
fix: dangling pointer warning when updating menus ( #38643 )
2023-06-08 09:29:32 -05:00
Charles Kerr
95d6a932ca
build: use upstream's presubmit cpplint filters. ( #38638 )
2023-06-08 09:25:56 -05:00
David Sanders
4956bcc6bd
ci: remove release dependencies workflow ( #38646 )
2023-06-08 12:33:35 +02:00
wgsheng
c8bdd014c8
fix: menu bar visibility when exiting full screen ( #38599 )
2023-06-08 12:19:34 +02:00
Shelley Vohr
5ee890fb6f
fix: reparenting UAF crash on macOS ( #38603 )
2023-06-08 12:18:37 +02:00
Shelley Vohr
9a9d8ae5ea
refactor: add ARC scaffolding for macOS ( #38621 )
2023-06-08 10:26:33 +02:00
Milan Burda
0294debc31
build: remove enable_picture_in_picture build flag ( #38620 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-07 23:56:31 -07:00
Shelley Vohr
933544d449
chore: clean up ElectronPermissionManager ( #38636 )
...
chore: clean up ElectronPermissionManager
2023-06-07 23:55:36 -07:00
David Sanders
bbfba4fc24
build: fix semver/none label on appveyor update PR ( #38647 )
2023-06-07 23:52:05 -07:00
Dani Haro
be45614f6f
docs: indicate app.setBadgeCount() needs notifications permission to work ( #38648 )
...
docs: match docs for `app.badgeCount` and `app.setBadgeCount()`
2023-06-07 23:51:49 -07:00
Erick Zhao
1f08e46bca
docs: use local img for contents.adjustSelection api ( #38655 )
...
* docs: use local img for contents.adjustSelection api
* fixup
2023-06-07 23:49:19 -07:00
David Sanders
714402b08e
build: improve error output in release.js ( #38658 )
2023-06-07 16:49:12 -07:00
Samuel Attard
08ab45535d
build: use m1 hosts to build apple silicon binaries ( #38258 )
...
* build: try m1 speed test
* yolo?
* build: fix gn binary on m1
* build: remove arm64 snapshot logic
* build: strip x64 on arm64 hosts...
* if is fi
* build: no more GENERATE_CROSS_ARCH_SNAPSHOT
* build: chromedriver inline on arm64 darwin
* build: no copy chromedriver
* build: use m1 for publish
* medium?
2023-06-07 16:34:02 -07:00
Charles Kerr
69790f4b2a
refactor: remove unused OffScreenRenderWidgetHostView fields ( #38623 )
2023-06-07 16:28:35 -05:00
Shelley Vohr
c5972ba43c
fix: bad error passing webContents.print(null) ( #38612 )
...
fix: bad error passing webContents.print(null)
2023-06-07 19:18:26 +02:00
Shelley Vohr
86824c070e
fix: validate response in protocol.handle() ( #38587 )
...
fix: validate response in protocol.handle()
2023-06-07 09:29:04 +02:00
Charles Kerr
5931f69f18
fix: sync api::Screen wrapper method sigs to upstream ( #38597 )
...
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.
2023-06-07 09:28:50 +02:00
John Kleinschmidt
80246cf97f
docs: removed outdated Appveyor doc ( #38622 )
2023-06-06 15:38:07 -07:00
zeeker999
28332c94bf
feat: Allow customizing the default math font ( #38514 )
2023-06-06 17:26:32 -04:00
Charles Kerr
5c1321b20a
refactor: remove redundant resizing strategy equality check ( #38596 )
...
* refactor: remove redundant resizing strategy equality check
Upstream already checks this.
2023-06-06 14:03:39 -05:00
Shelley Vohr
7982c6cee2
build: remove V8 patch for ArrayBuffer DCHECK ( #38591 )
2023-06-06 10:21:58 +02:00
Shelley Vohr
b2059f288a
fix: account for BrowserView bounds in setting autofill popup bounds ( #38489 )
2023-06-06 10:21:42 +02:00
Milan Burda
bb2ba35b51
refactor: use process_util.h helpers ( #38574 )
...
refactor: use process_util.h helpers
2023-06-06 17:19:13 +09:00
Shelley Vohr
8d689c565a
fix: file selection when disallowed on macOS ( #38557 )
2023-06-05 14:08:10 +02:00
David Sanders
905aad9cb6
chore: type check JS in docs ( #38423 )
...
* 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
2023-06-05 16:26:26 +09:00
David Sanders
4c89061e0e
docs: fix SerialPort typing ( #38544 )
2023-06-05 15:58:30 +09:00
Milan Burda
8fdd7de3d2
docs: clarify which electron modules are exposed in sandboxed renderers ( #38568 )
2023-06-05 15:57:15 +09:00
Charles Kerr
83d023747c
refactor: use direct aggregation in NativeWindowViews ( #38559 )
...
* refactor: in NativeWindowViews, aggregate root_view_ directly
* refactor: in NativeWindowViews, aggregate keyboard_event_handler_ directly
* 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
* chore: make lint happy
2023-06-05 14:37:46 +09:00
Charles Kerr
05db963f87
chore: remove unused electron::api::View code ( #38561 )
...
chore: remove unused electron::api::View methods
Remove code that was added in 2c8dc9e but never used.
2023-06-03 10:40:44 -05:00
Charles Kerr
f247ca3f62
perf: avoid unnecessary base value clone ( #38537 )
2023-06-02 08:38:29 -05:00
Shelley Vohr
d818f35ad4
build: fix doc-only early exit on Appveyor ( #38547 )
2023-06-01 10:40:35 -04:00
Sergey
9ffffdb6ef
docs: fix performance tutorial ( #38469 )
...
* docs: fixed "Analyze runtime performance" link
* docs: added missing list item
2023-05-31 15:56:06 -04:00
Charles Kerr
c14f7b7d0b
refactor: remove unused switches ( #38497 )
...
* refactor: remove unused declaration of electron::kSHA1Certificate
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kSHA1MajorDescription
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kSHA1MinorDescription
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kCertificateError
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kValidCertificate
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kValidCertificateDescription
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kSecureProtocol, kSecureProtocolDescription
usage removed in 497f5a1
* refactor: remove electron::options::kPreloadScripts
removed in bad8d5e0
* refactor: remove electron::options::kImageAnimationPolicy
removed in 385d0f5
2023-05-31 15:55:21 -04:00
David Sanders
74b8133a93
ci: set description for release labels ( #38528 )
2023-05-31 15:49:16 -04:00
Shelley Vohr
57147d1b8d
fix: navigator.connection not working as intended ( #38491 )
...
* fix: navigator.connection not working as intended
* chore: make network quality methods private
2023-05-31 11:06:25 -04:00
Milan Burda
67f273a6d6
docs: add <webview> new-window event removal to breaking-changes.md ( #36985 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-31 10:47:08 -04:00
Shelley Vohr
b454f8c7c1
build: combine and elaborate on exposed BoringSSL ciphers ( #38506 )
...
build: combine and elaborate on exposed BoringSSL ciphers
2023-05-31 10:30:04 -04:00
Shelley Vohr
663497dc6b
chore: make contentTracing.stopRecording() failure clearer ( #38488 )
...
chore: make contentTracing.stopRecording() failure clearer
2023-05-31 09:54:41 -04:00
Shelley Vohr
115d37477e
build: shrink unnecessary test changes in patch revert ( #38505 )
...
build: shrink unneccesary test changes in patch revert
2023-05-31 09:52:13 -04:00
Matt Henkes
2c742cfadb
chore: cherry-pick 0e1cc35 from v8 ( #38490 )
2023-05-31 11:58:48 +02:00
Shelley Vohr
40e724e5dd
fix: DCHECK minimizing parent window with non-modal child ( #38460 )
2023-05-31 11:57:44 +02:00
github-actions[bot]
13f9e2db40
build: update appveyor image to latest version ( #38449 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-05-30 21:13:33 -04:00
Shelley Vohr
a769b48164
ci: clean up docs only change logic ( #38456 )
2023-05-30 12:38:41 -04:00
John Kleinschmidt
b4ec363b3d
feat: add USB protected classes handler ( #38263 )
...
* feat: add USB protected classes handler
* chore: apply review suggestions
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: update docs
* chore: apply review suggestions
* update doc per suggestion
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-05-30 12:35:25 -04:00
Milan Burda
71fb19ea14
chore: upgrade to eslint v8 ( #38472 )
...
chore: upgrade to eslint@8
2023-05-30 13:10:22 +02:00
Milan Burda
a6f7c7690d
refactor: use literals instead of new RegExp() where possible ( #38458 )
2023-05-30 10:53:11 +02:00
Charles Kerr
0203bd3305
refactor: prefer base::Contains() over find() + end() ( #38443 )
...
* refactor: use base::Contains() in KeyWeakMap::Has()
* refactor: use base::Contains() in WebRequest::RequestFilter::MatchesType()
* refactor: use base::Contains() in BaseWindow::AddBrowserView()
* refactor: use base::Contains() in DeepFreeze()
* refactor: use base::Contains() in Clipboard::Read()
* Revert "refactor: use base::Contains() in BaseWindow::AddBrowserView()"
This reverts commit 60152359d3978451ebdd7c8eed602c2fb8a9cafa.
* refactor: use base::Contains() in BaseWindow::AddBrowserView()
* refactor: use base::Contains() in IsDevToolsFileSystemAdded()
* refactor: use base::Contains() in MessagePort::DisentanglePorts()
* refactor: use base::Contains() in PowerSaveBlocker::IsStarted()
* refactor: use base::Contains() in SpellCheckClient::OnSpellCheckDone()
* refactor: use base::Contains() in ShowTaskDialogWstr()
* refactor: use base::Contains() in PrintViewManagerElectron::ScriptedPrint()
* refactor: use base::Contains() in PrintViewManagerElectron::DidGetPrintedPagesCount()
* refactor: use base::Contains() in NativeWindow::AddDraggableRegionProvider()
* refactor: use base::Contains() in ElectronBindings::ActivateUVLoop()
* refactor: use base::Contains() in NativeWindowViews::IsVisibleOnAllWorkspaces()
* refactor: use base::Contains() in HidChooserController::OnDeviceAdded()
* refactor: use base::Contains() in ElectronSandboxedRendererClient::WillReleaseScriptContext()
* refactor: use base::Contains() in ElectronRendererClient::WillDestroyWorkerContextOnWorkerThread()
* refactor: use base::Contains() in GlobalShortcut::OnKeyPressed()
2023-05-30 10:28:43 +02:00
Shelley Vohr
9640ac441d
build: make ReactiveObjC/Mantle deps format consistent ( #38450 )
2023-05-29 10:44:21 +02:00
Shelley Vohr
b233d0805a
chore: process.mainModule -> require.main ( #38452 )
...
chore: process.mainModule -> require.main
2023-05-29 10:44:09 +02:00
Shelley Vohr
56138d879e
fix: Windows FrameView always appearing inactive ( #38468 )
2023-05-28 18:39:13 -04:00
electron-roller[bot]
ddcec84ace
chore: bump chromium to 116.0.5791.0 (main) ( #38448 )
...
* chore: bump chromium in DEPS to 116.0.5791.0
* 4504298: Relax checks in BlobDataBuilder::AppendBlob.
https://chromium-review.googlesource.com/c/chromium/src/+/4504298
* chore: fixup patch indices
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-25 16:10:08 +02:00
Milan Burda
185180a8e2
refactor: tweak bindings in typings/internal-ambient.d.ts for readability ( #38411 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-25 14:53:23 +02:00
Milan Burda
470b1d9e9d
refactor: split clipboard module implementation for browser / renderer ( #38429 )
2023-05-25 20:36:12 +09:00
Charles Kerr
a20896f519
refactor: remove InspectableWebContents::GetAll() ( #38442 )
...
It is unused and also keeps a persistent std::list<>, so remove it.
2023-05-25 17:23:19 +09:00
electron-roller[bot]
64045fd058
chore: bump chromium to 115.0.5790.0 (main) ( #38418 )
...
* chore: bump chromium in DEPS to 115.0.5789.0
* 4550346: Revert "Convert /chrome/browser to use ARC"
https://chromium-review.googlesource.com/c/chromium/src/+/4550346
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5790.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-05-25 09:54:26 +02:00
David Sanders
294f196907
build: upgrade @electron/github-app-auth to 2.0.0 ( #38435 )
2023-05-25 09:54:09 +02:00
Milan Burda
82af000a37
chore: cleanup eslint suppressions ( #38417 )
...
* chore: cleanup eslint suppressions
* address feedback
* revert script/lib/azput.js
* revert spec/fixtures/apps/remote-control/main.js
* address feedback
* revert typings/internal-ambient.d.ts
2023-05-25 10:09:17 +09:00
github-actions[bot]
1c075e5ea0
chore: update appveyor image to latest version ( #38426 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-05-24 17:03:14 -04:00
Shelley Vohr
ec85be3fb0
docs: ensure app.md examples are runnable ( #38416 )
...
docs: ensure app.md examples are runnable
2023-05-24 16:41:29 -04:00
Milan Burda
06cc9caeaa
build: remove enable_desktop_capturer flag ( #38412 )
...
feat: remove enable_desktop_capturer flag
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 15:32:31 -04:00
Milan Burda
13fae292a7
build: remove unused enable_color_chooser build flag ( #38419 )
...
chore: remove unused enable_color_chooser build flag
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 21:24:42 +02:00
Alexey Kuzmin
c4c17d7534
build: fix build with "enable_pdf_viewer=false" ( #38421 )
...
* build: fix build with "enable_pdf_viewer=false"
* fixup! build: fix build with "enable_pdf_viewer=false"
2023-05-24 14:37:07 -04:00
Milan Burda
a043a60b89
refactor: cleanup global variable declarations ( #38410 )
...
refactor: eliminate duplicate isolatedApi typing
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 20:01:07 +02:00
Milan Burda
2f8e68f8b3
chore: remove ViewsDelegate::IsWindowInMetro() override ( #38409 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 20:00:52 +02:00
Shelley Vohr
16cd486356
fix: MediaDevices missing DisplayMediaInformation ( #38390 )
...
fix: MediaDevices missing DisplayMediaInformation
2023-05-24 11:17:08 -04:00
David Sanders
f07b040cb9
build: update yarn.lock ( #38422 )
2023-05-24 10:19:47 +02:00
Milan Burda
b6ef4a3929
build: remove unused enable_tts build flag ( #38420 )
...
chore: remove unused enable_tts build flag
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 10:18:43 +02:00
Cheng Zhao
dec9a1d9db
chore: remove dead draggable region code ( #38404 )
2023-05-24 10:03:07 +02:00
Charles Kerr
b6c80ba646
fix: dangling_raw_ptr warning in electron_api_web_contents ( #38403 )
...
fix: dangling_raw_ptr warning in electron_api_web_contents
2023-05-23 21:52:07 -04:00
Charles Kerr
30e992dec4
chore: bump chromium to 115.0.5786.0 (main) ( #38301 )
...
* chore: bump chromium in DEPS to 115.0.5772.0
* chore: update disable_color_correct_rendering.patch
no manual changes; patch succeeded with fuzz 2.
* chore: update chromium/build_libc_as_static_library.patch
no manual changes; patch succeeded with fuzz 2 (offset 1 line).
* chore: update chromium/feat_configure_launch_options_for_service_process.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4518747
patch manually reapplied due to upstream code shear
* chore: update chromium/chore_patch_out_profile_methods_in_profile_selections_cc.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4502965
patch manually reapplied due to upstream code shear
* chore: update bundle_locations #include location
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4525355
* chore: Remove `extension_name` from DesktopStreamsRegistry
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4514081
* chore: bump chromium in DEPS to 115.0.5778.0
* chore: add chromium/chore_patch_out_profile_methods_in_chrome_browser_pdf.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4482679
Another instance of patching out upstream references to Profile code
* refactor: add WebViewGuestDelegate::GetGuestDelegateWeakPtr()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4515455
This approach copied from GuestViewBase::GetGuestDelegateWeakPtr() approach in that same commit.
* fixup! chore: update bundle_locations #include location
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4525355
Sync namespace use to upstream base::mac -> base::apple changes
* fixup! chore: update bundle_locations #include location
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4525355
Sync namespace use to upstream base::mac -> base::apple changes
* chore: update chromium/mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4530546
patch manually reapplied due to upstream code shear
* chore: update chromium/printing.patch
no manual changes; patch succeeded with fuzz
* chore: update chromium/build_add_electron_tracing_category.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4517872
no manual changes; patch succeeded with fuzz
* chore: update chromium/feat_ensure_mas_builds_of_the_same_application_can_use_safestorage.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4529098
patch manually reapplied due to upstream code shear
* chromium/build_only_use_the_mas_build_config_in_the_required_components.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4529098
patch manually reapplied due to upstream code shear
* chore: update chromium/mas-cgdisplayusesforcetogray.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4529475
no manual changes; patch succeeded with fuzz
* chore: update chromium/build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4429011
no manual changes; patch succeeded with fuzz
* chore: remove chromium/cherry-pick-48a136e77e6d.patch
already present upstream
* chore: remove chromium/cherry-pick-e6e23ba00379.patch
already present upstream
* [Code Health] Remove value based RegisterPref for Dict and List
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4533537
* Remove `cxx17_backports.h` and adjust unittest file
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4534916
Notes: mostly just removing #include and s/base::clamp/std::clamp/
* refactor: add FakeBrowserProcess helper class
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4424072
Used in ElectronBrowserMainParts' fake_browser_process_ field. Previously
this was an BrowserProcessImpl instance, but upstream 4424072 makes that
an abstract base class. `FakeBrowserProcess` is a thin subclass with the
minimum code needed to make it concrete.
`ElectronBrowserMainParts::fake_browser_process_` is now a `shared_ptr`
instead of a `unique_ptr` so we can avoid exposing `FakeBrowserProcess`
in the header.
* fixup! refactor: add FakeBrowserProcess helper class
remove unnecessary unique_ptr
* fix: Browser::SetDockIcon() when !Browser.is_ready()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4410741
An alternative fix for https://github.com/electron/electron/pull/36279 .
The previous fix was to call `SetSupportedScales()` ourselves (1b1609a ),
but upstream has removed this API.
CC @codebytere
* fixup! chore: remove chromium/cherry-pick-e6e23ba00379.patch
* chore: update chromium/export_gin_v8platform_pageallocator_for_usage_outside_of_the_gin.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4517404
patch manually reapplied due to upstream code shear
* chore: update patches
* chore: add dep: resource_coordinator:mojo_bindings
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4521464
* fixup! chore: add dep: resource_coordinator:mojo_bindings
chore: make lint happy
* chore: patch out Profile methods in titlebar_config
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4508143 (primary)
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4534461 (followup)
* chore: bump chromium in DEPS to 115.0.5780.0
* chore: update chromium/disable_hidden.patch
no manual changes; patch succeeded with fuzz
* chore: update chromium/sysroot.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4535715
no manual changes; patch succeeded with fuzz
* chore: update chromium/feat_enable_offscreen_rendering_with_viz_compositor.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4403623
patch manually reapplied due to upstream code shear
* chore: update chromium/refactor_expose_cursor_changes_to_the_webcontentsobserver.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4547380
patch manually reapplied due to upstream code shear
* chore: update patches
* fixup! fix: Browser::SetDockIcon() when !Browser.is_ready()
chore: iwyu image.h
* chore: bump chromium in DEPS to 115.0.5782.0
* chore: bump chromium in DEPS to 115.0.5784.0
* 4514181: CR2023: Update filled cr-input styles.
https://chromium-review.googlesource.com/c/chromium/src/+/4514181
* 4521894: Remove SiteInstanceDeleting usage outside of tests.
https://chromium-review.googlesource.com/c/chromium/src/+/4521894
* 4525355: Move backup_util and bundle_locations to base/apple
https://chromium-review.googlesource.com/c/chromium/src/+/4525355
* 4484743: webauthn: add underlying support for calling iCloud Keychain on macOS.
https://chromium-review.googlesource.com/c/chromium/src/+/4484743
* chore: fixup patch indices
* 4546398: Convert /chrome/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4546398
* chore: bump chromium in DEPS to 115.0.5786.0
* chore: update patches
* 4540682: Initialize PDF SDK with policy in chrome_pdf::RenderPDFPageToDC()
https://chromium-review.googlesource.com/c/chromium/src/+/4540682
* Don't import ObjC++ fn headers into electron_api_app
* 4535715: Refactor sysroot-creator.sh
https://chromium-review.googlesource.com/c/chromium/src/+/4535715
* fixup! refactor: add FakeBrowserProcess helper class
* 4531903: [string][test] Create/Copy strings to old space before externalization
https://chromium-review.googlesource.com/c/v8/v8/+/4531903
* 59645: Add APIs to support RSA keys with large e.
https://boringssl-review.googlesource.com/c/boringssl/+/59645
---------
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-23 21:58:58 +02:00
Kilian Valkhof
e7b8bb4766
docs: disablewebsecurity on webview-tag can not be changed for an active session ( #38373 )
...
disablewebsecurity on webview-tag can not be changed for an active session
2023-05-22 16:29:41 +02:00
Shelley Vohr
aebcd3a8c4
build: try removing V8 symbol export patch for Windows ( #38391 )
2023-05-22 15:10:29 +02:00
Bruno Pitrus
395abf5620
fix: linker error missing uv__strtok ( #38382 )
...
fix: linker error missing uv__strtok
This symbol is referenced inside what seems to be dead code
in `uv__search_path` in third_party/electron_node/deps/uv/src/unix/core.c
When compiling in LTO mode, the reference is removed,
but not during a non-LTO build.
2023-05-22 13:00:45 +02:00
Keeley Hammond
508d7c1353
docs: update timelines for E26 ( #38378 )
...
docs: update E26 timeline, add E22 support note
2023-05-19 12:05:45 -07:00
Shelley Vohr
826c29abcc
build: use @octokit/request v6.2.4 ( #38346 )
2023-05-18 15:37:58 -07:00
Milan Burda
2acb97aa85
chore: eliminate a few uses of base::AdaptCallbackForRepeating() ( #38293 )
2023-05-18 17:01:44 -04:00
Shelley Vohr
642950a00e
build: try removing V8 DCHECK patch ( #38341 )
2023-05-18 20:53:15 +02:00
Shelley Vohr
b35ec4a23c
build: modify gclient.py with unified patch ( #38351 )
...
* build: modify gclient.py with unified patch
* ci: ensure depot_tools does not update
* ci: move auto-update disable outside if
2023-05-17 14:54:26 -04:00
David Sanders
e138f5f915
docs: fix typing of message box type value ( #38336 )
...
* docs: fix typing of dialog type value
* test: add smoke tests
* test: update test
2023-05-17 10:33:30 -07:00
David Sanders
a22635bd9f
docs: update example to use app.whenReady() ( #38337 )
...
* docs: update example to use app.whenReady()
* docs: retain async
2023-05-17 10:32:59 -07:00
Shelley Vohr
683235daf0
build: combine V8 BUILD.gn patches ( #38342 )
...
* build: combine V8 BUILD.gn patches
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-05-17 13:17:52 +02:00
Shelley Vohr
32d8f84cad
fix: getNormalBounds() for transparent windows on Windows ( #38218 )
2023-05-17 13:11:43 +02:00
Shelley Vohr
ad07712561
fix: win.isMaximized() for transparent windows on Windows ( #38234 )
2023-05-17 10:17:08 +02:00
Shelley Vohr
9902e01d2c
build: remove CppHeapCreateParams patch ( #38321 )
...
build: remove CppHeapCreateParams patch
2023-05-17 09:52:29 +02:00
Shelley Vohr
e08c583dea
build: remove V8 ARM undefined symbol patch ( #38316 )
2023-05-17 09:52:10 +02:00
Samuel Attard
2a16c73834
chore: cherry-pick e6e23ba00379 from chromium ( #38323 )
...
* chore: cherry-pick e6e23ba00379 from chromium
* make it work
2023-05-16 15:21:22 -07:00
David Sanders
c7ca29e80f
chore: add smoke test for devtools-open-url ( #38302 )
2023-05-16 16:42:24 -04:00
Calvin
fa81f77f40
test: re-enable tests that aren't broken & remove old test ( #38251 )
2023-05-16 14:30:25 +02:00
Shelley Vohr
c05051e307
chore: remove obsoleted DecrementCapturerCount patch ( #38294 )
...
chore: remove obsoleted DecrementCapturerCount patch
2023-05-16 14:29:01 +02:00
Shelley Vohr
8b63a3fc8a
build: bump brew cache to v6 ( #38312 )
2023-05-16 12:38:30 +02:00
Shelley Vohr
e83197669c
fix: unify BrowserWindow.isVisible() logic cross-platform ( #38242 )
2023-05-16 11:46:45 +02:00
Shelley Vohr
9bd9d312f8
fix: enable BrowserWindow.id access post-destruction ( #38241 )
...
fix: enable BrowserWindow id access post-destruction
2023-05-16 09:29:00 +02:00
Shelley Vohr
042663e190
fix: isMaximized after minimize/fullscreen on macOS ( #38291 )
...
fix: isMaximized after isMinimized on macOS
2023-05-16 09:26:41 +02:00
Shelley Vohr
e19500fa03
feat: support Mica/Acrylic on Windows ( #38163 )
...
* feat: support Mica/Acrylic on Windows
* chore: feedback from review
2023-05-15 16:31:57 -04:00
Shelley Vohr
c2d7164021
chore: remove unnecessary spellchecker revert patch ( #38248 )
2023-05-15 16:17:00 -04:00
Shelley Vohr
a1b2dae68e
build: add labels to appveyor update PR ( #38292 )
2023-05-15 16:52:25 +02:00
David Sanders
c591ecf518
test: prewarm Node headers cache if specifying Electron version ( #38287 )
2023-05-15 02:10:22 -07:00
Samuel Attard
d1c5e623fa
build: drop python2 from CI ( #38259 )
...
* build: drop python2 from CI
* python3
* python3 uses linux not linux2
2023-05-15 02:06:12 -07:00
github-actions[bot]
9ac4787325
build: update appveyor image to latest version ( #38257 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-05-15 10:53:38 +02:00
Cesar Kohl
6645f49a9d
chore: variable name should comply with naming convention ( #38249 )
2023-05-15 10:30:22 +02:00
Shelley Vohr
e7fc1a422d
feat: add missing 'cursor-changed' type values ( #38210 )
2023-05-15 10:27:09 +02:00
David Sanders
eeb1e7d499
chore: fix lint:js-in-markdown script ( #38260 )
2023-05-15 09:58:35 +02:00
Milan Burda
0149ae72e6
refactor: use standard naming for enum class values ( #38232 )
2023-05-12 15:24:01 +02:00
Milan Burda
88a9962e22
refactor: convert HashAlgorithm to enum class ( #38233 )
2023-05-12 15:23:42 +02:00
John Kleinschmidt
3dbc0a365f
chore: enable check raw ptr fields ( #38167 )
2023-05-11 16:07:39 -04:00
Keeley Hammond
141175c723
build: disable v8 builtins pgo ( #38252 )
2023-05-10 20:53:18 -07:00
Keeley Hammond
95cd84f140
build: fix octokit resolution with patch-package ( #38250 )
2023-05-10 20:52:59 -07:00
electron-roller[bot]
894e056e6b
chore: bump chromium to 115.0.5760.0 (main) ( #38033 )
...
* chore: bump chromium in DEPS to 114.0.5721.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5723.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5725.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5727.0
* chore: bump chromium in DEPS to 114.0.5729.0
* chore: bump chromium in DEPS to 114.0.5731.0
* chore: update patches
* 4450570: Clean up content shell
https://chromium-review.googlesource.com/c/chromium/src/+/4450570
* 4262527: geolocation: Introduce mojom::GeopositionResult
https://chromium-review.googlesource.com/c/chromium/src/+/4262527
* 4450327 : Android/Nav: Stop taking content timeout timer from old host.
https://chromium-review.googlesource.com/c/chromium/src/+/4450327
Also, see:
4451366: Reland "Prerender: Fix prerender new content timeout start timing"
https://chromium-review.googlesource.com/c/chromium/src/+/4451366
* chore: bump chromium in DEPS to 114.0.5733.2
* chore: update patches
* chore: bump CircleCI xcode version
this will hopefully get us the necessary macOS sdk 13.3 on CI.
* chore: bump chromium in DEPS to 114.0.5735.0
* chore: update patches
* test: fix geolocation test
* chore: bump chromium in DEPS to 115.0.5736.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5738.0
* chore: update patches
* fix: remove profiles from spellcheck service
* chore: update libc++ filenames
* chore: bump chromium in DEPS to 115.0.5740.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5742.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5744.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5746.0
* chore: update patches
* chore: update filenames.libcxx.gni
* chore: bump chromium in DEPS to 115.0.5748.0
* chore: update patches
* build: update libcxx filenames
* chore: bump chromium in DEPS to 115.0.5750.0
* chore: bump chromium in DEPS to 115.0.5752.2
* chore: bump chromium in DEPS to 115.0.5754.0
* chore: bump chromium in DEPS to 115.0.5756.0
* chore: bump chromium in DEPS to 115.0.5758.0
* chore: update patches
* chore: update patch after rebase
* 4500969: Delete content/dev_ui_content_resources.grd file.
https://chromium-review.googlesource.com/c/chromium/src/+/4500969
* Use base.Value.Dict in OmahaAttributesHandler related code
https://chromium-review.googlesource.com/c/chromium/src/+/4506402
* chore: bump chromium in DEPS to 115.0.5760.0
* chore: update patches
* chore: fixup line endings
* 4336172: Include client-drawn window decorations in aspect ratio. |
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4336172
(cherry picked from commit 27c2f6c43e )
* spec: fix race condition in alwaysOnTop test
(cherry picked from commit 2ec5213fa0 )
* build: use xcode 14.2 not 14.3
(cherry picked from commit b7c62351a7 )
* build: use macOS 12 to run tests
The new macOS 13 VMs appear to have different screen / display behavior
(cherry picked from commit 14dc1dbc24 )
* Remove always-true flag --harmony-sharedarraybuffer
https://chromium-review.googlesource.com/c/v8/v8/+/4429630
---------
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 >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2023-05-10 10:47:48 -04:00
Shelley Vohr
2806feede2
docs: fix devtools-open-url ts definition ( #38231 )
...
docs: fix devtools-open-url ts definition
2023-05-10 11:25:50 +02:00
Shelley Vohr
13e309e1fb
fix: only exit fullscreen conditionally with setKiosk ( #38219 )
...
fix: only exit fullscreen conditionally with setKiosk
2023-05-09 12:28:37 -04:00
Shelley Vohr
f432245456
fix: handle AXManualAccessibility attribute cross-protocol ( #38142 )
...
* fix: handle AXManualAccessibility attribute cross-protocol
* Update shell/browser/mac/electron_application.mm
Co-authored-by: Robo <hop2deep@gmail.com >
---------
Co-authored-by: Robo <hop2deep@gmail.com >
2023-05-09 11:13:14 +02:00
Shelley Vohr
0212c264ca
build: fix CRLF endings in messages.json ( #38212 )
2023-05-08 14:51:24 -04:00
David Sanders
9ccf2275d2
chore: migrate to @electron/lint-roller for Markdown linting ( #38191 )
2023-05-08 12:50:42 +02:00
David Sanders
911900eae9
build: add pretest script to create TS definitions ( #38201 )
2023-05-08 11:30:06 +02:00
David Sanders
7a03509b71
ci: automate release label tasks ( #38181 )
2023-05-08 10:39:28 +02:00
Shelley Vohr
a6c9aefb4a
chore: fix TrustedTypes policy in chrome://accessibility ( #38179 )
...
chore: fix TrustedTypes policy in chrome://accessibility
2023-05-08 10:39:04 +02:00
Calvin
13be6dc8b4
test: enable CircleCI's "re-run failed tests only" feature ( #38178 )
...
* test: enable CircleCI rerun failed *tests* only
* .
* .
* console.log never fails 🤷
* normalize the filtered paths
circleci gives us a list of absolute paths here
* remove test output check
sometimes rerunning only failed tests results in some runners having
no tests to run, and thus no output
* keep relative paths the same
* error for when no tests match
* cleanup
* .
2023-05-08 17:14:59 +09:00
David Sanders
3a7cfe300a
ci: do conditional in blocked/need-repro workflows at job level ( #38186 )
2023-05-08 17:07:04 +09:00
Adam Stone-Lord
88710612a3
docs: update dead link to Apple Human Interface notification guidelines ( #38187 )
2023-05-08 17:05:50 +09:00
Calvin
58d49927a3
test: disable flaky asar worker test on ASan build ( #38193 )
2023-05-08 17:03:30 +09:00
Shelley Vohr
534e90c2a6
build: force LF checkout of more files ( #38194 )
2023-05-08 17:02:42 +09:00
Shelley Vohr
35a03a6bc1
refactor: remove IPC from mouse_util ( #38183 )
2023-05-08 09:50:30 +02:00
David Sanders
a7adbae543
docs: fix typing of session.setDevicePermissionHandler ( #38188 )
2023-05-08 09:46:35 +02:00
Shelley Vohr
f8d534f33e
chore: stop using a RenderWidgetHost observer in FileSelectHelper ( #38168 )
...
chore: stop using a RenderWidgetHost observer in FileSelectHelper
2023-05-04 21:43:29 +02:00
David Sanders
ec75172d68
ci: update CircleCI CLI install URL ( #38176 )
2023-05-04 10:40:01 -04:00
Shelley Vohr
bb490161fb
fix: printing crash when settings invalid ( #38165 )
2023-05-04 09:10:54 -04:00
Alexey Kuzmin
bc957e3945
test: use await to call "closeWindow" ( #38166 )
...
* test: wait for an async "closeWindow" call
* fixup! test: wait for an async "closeWindow" call
2023-05-04 07:14:46 +09:00
Shelley Vohr
ee1e6aab3e
chore: implement WebContentsDelegate::GetFullscreenState ( #38141 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4255184
2023-05-03 15:55:47 +02:00
Russell Carpenella
7f5364f98d
docs: moves icpMain.handle call in tutorial part 3 ( #38138 )
2023-05-03 14:52:02 +02:00
Shelley Vohr
a8c0ed890f
feat: surface more webContents text selection commands ( #37978 )
...
* feat: surface more text selection commands
* refactor: use options argument
* docs: correct for review
2023-05-02 21:14:29 -04:00
David Sanders
a26343f3e0
fix: falsy transparent shouldn't affect webContents background ( #36914 )
2023-05-02 14:44:34 -07:00
Shelley Vohr
d95f9d2c63
chore: add OCR scaffolding to PDF Viewer ( #38127 )
2023-05-02 10:27:32 +02:00
Fedor Indutny
c548f8f59e
feat: net.resolveHost ( #37853 )
2023-05-02 09:53:00 +02:00
Milan Burda
7c482518bf
chore: add missing content::WebContentsDelegate section ( #38133 )
2023-05-01 09:23:47 -04:00
Shelley Vohr
a2d35e9cf5
test: re-enable extensions test with http server ( #38129 )
2023-04-28 01:20:46 +02:00
Shelley Vohr
ba8887f586
feat: emit context-menu event from extensions ( #38029 )
...
feat: emit context-menu event from extensions
2023-04-27 12:54:51 +02:00
Shelley Vohr
f35b9b3f06
fix: AXManualAccessibility showing failure ( #38102 )
...
fix: AXManualAccessibility showing failure
2023-04-26 19:41:56 +02:00
Bruno Pitrus
a0a44f07dd
chore: correct extra qualification causing build error with GCC ( #37548 )
...
* chore: correct extra qualification causing build error with GCC
* fixup for lint
* chore: fix lint
---------
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-26 10:40:02 -04:00
David Sanders
08593fd2bd
chore: fix clang-tidy warnings ( #38079 )
...
* chore: fix clang-tidy warnings
* refactor: avoid need for NOLINTNEXTLINE
2023-04-26 10:09:54 -04:00
Shelley Vohr
fe5cdd39d6
test: re-enable passing Node.js tests ( #38116 )
2023-04-26 12:08:50 +02:00
Shelley Vohr
05faabe9e8
test: re-enable multi-window fullscreen test ( #38119 )
2023-04-26 10:13:36 +02:00
Shelley Vohr
9d525f9861
test: formally mark some Node.js tests as flaky ( #38117 )
2023-04-26 10:11:14 +02:00
Milan Burda
e823869bb0
docs: add separate linkable browser-window-options.md and web-preferences.md ( #34633 )
2023-04-25 15:16:11 +02:00
Shelley Vohr
f4b7e59b2d
fix: crash on missing RenderWidgetHostView ( #38100 )
...
chore: fix crash on missing RenderWidgetHostView
2023-04-25 11:30:16 +02:00
Francis Chartrand
a0a1a3645b
docs: fix start highlight tutorial-2-first-app.md ( #38069 )
...
doc: fix start highlight tutorial-2-first-app.md
2023-04-25 11:19:14 +02:00
David Sanders
9b41ab1e53
chore: always lint JS in docs/fiddles ( #38025 )
2023-04-24 10:35:14 -04:00
Black-Hole️
141f65b291
fix: webContents return type incorrect ( #38026 )
...
* fix: webContents type incorrect
* fix: ci failed
* fix: ci failed 2
2023-04-24 10:28:21 -04:00
Quang Lam
b626be5e33
docs: fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings ( #38035 )
...
* Fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings
* Add webContents
2023-04-23 22:16:38 +02:00
Milan Burda
964934c161
fix: defaults broken in shell.openExternal() options ( #38038 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-04-21 13:13:59 -04:00
github-actions[bot]
f727da4a74
ci: update appveyor image to latest version ( #38015 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-04-21 10:37:02 -04:00
Jason Etcovitch
cf4c46c8e0
build: fix Codespaces prebuilds with missing comma ( #38052 )
...
Add missing comma
2023-04-20 15:41:54 -07:00
Robo
0240f6664e
fix: crash in utilityProcess when generating code from strings ( #38014 )
2023-04-20 09:27:02 +09:00
Shelley Vohr
f12e12b341
chore: remove --no-harmony-atomics related code ( #38030 )
...
chore: remove --no-harmony-atomics related code
2023-04-19 10:29:18 -04:00
Shelley Vohr
7e715b66ae
test: re-enable reporting specs ( #35936 )
2023-04-19 14:24:38 +02:00
Jeremy Rose
ba835ddac1
feat: add thermal states to powerMonitor ( #37935 )
...
* feat: add thermal states to powerMonitor
* update docs
2023-04-19 11:46:55 +02:00
electron-roller[bot]
b2411e05a8
chore: bump chromium to 114.0.5719.0 (main) ( #38017 )
...
* chore: bump chromium in DEPS to 114.0.5719.0
* chore: update patches
* revert eb07a797cc
---------
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: Jeremy Rose <jeremya@chromium.org >
2023-04-18 14:23:22 -07:00
electron-roller[bot]
de192c2db2
chore: bump node to v18.16.0 (main) ( #37973 )
...
* chore: bump node in DEPS to v18.16.0
* build,test: add proper support for IBM i
https://github.com/nodejs/node/pull/46739
* lib: enforce use of trailing commas
https://github.com/nodejs/node/pull/46881
* src: add initial support for single executable applications
https://github.com/nodejs/node/pull/45038
* lib: do not crash using workers with disabled shared array buffers
https://github.com/nodejs/node/pull/41023
* src: remove shadowed variable in OptionsParser::Parse
https://github.com/nodejs/node/pull/46672
* src: allow embedder control of code generation policy
https://github.com/nodejs/node/pull/46368
* src: allow optional Isolate termination in node::Stop()
https://github.com/nodejs/node/pull/46583
* lib: fix BroadcastChannel initialization location
https://github.com/nodejs/node/pull/46864
* chore: fixup patch indices
* chore: sync filenames.json
* fix: add simdutf dep to src/inspector BUILD.gn
- https://github.com/nodejs/node/pull/46471
- https://github.com/nodejs/node/pull/46472
* deps: replace url parser with Ada
https://github.com/nodejs/node/pull/46410
* tls: support automatic DHE
https://github.com/nodejs/node/pull/46978
* fixup! src: add initial support for single executable applications
* http: unify header treatment
https://github.com/nodejs/node/pull/46528
* fix: libc++ buffer overflow in string_view ctor
https://github.com/nodejs/node/pull/46410
* test: include strace openat test
https://github.com/nodejs/node/pull/46150
* fixup! fixup! src: add initial support for single executable applications
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-18 22:23:11 +02:00
Samuel Attard
941153be32
build: bump dependencies to clean yarn audit ( #37998 )
...
* build: bump dependencies to clean yarn audit
* build: add url
2023-04-18 16:54:16 +02:00
Shelley Vohr
32afdda9ee
feat: add did-resign-active event on app ( #37933 )
...
feat: add did-resign-active event on app
2023-04-18 16:53:39 +02:00
github-actions[bot]
f4b172b9ec
ci: update appveyor image to latest version ( #37817 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-04-17 20:04:12 -04:00
electron-roller[bot]
7a6af1a529
chore: bump chromium to 114.0.5715.0 (main) ( #37976 )
...
* chore: bump chromium in DEPS to 114.0.5712.0
* chore: update patches
* 4401084: Remove extensions::InfoMap which is no longer needed. | https://chromium-review.googlesource.com/c/chromium/src/+/4401084
* 4415646: Add more details to print settings error log | https://chromium-review.googlesource.com/c/chromium/src/+/4415646
* chore: bump chromium in DEPS to 114.0.5714.0
* chore: update patches
* chore: update libcxx filenames
* chore: bump chromium in DEPS to 114.0.5715.0
* chore: update patches
* fix extensions test
---------
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: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-04-17 14:40:26 -07:00
Alexey Kuzmin
1ffe7ee76b
build: fix building with no PDF support ( #38003 )
2023-04-17 11:02:43 -04:00
Shelley Vohr
c857c9b7e2
docs: add note to win.setFullScreen(flag) ( #37921 )
...
docs: add note to win.setFullScreen(flag)
2023-04-17 10:45:40 +02:00
Shelley Vohr
f0e1848a5e
chore: replace uses of ComPtr::GetAddressOf() with ComPtr::operator& ( #37948 )
...
chore: replace uses of ComPtr::GetAddressOf() with ComPtr::operator&
2023-04-16 17:08:37 -07:00
David Sanders
d1cddf2517
docs: update github.com links ( #37958 )
2023-04-15 21:20:59 -07:00
David Sanders
c7ea887227
chore: drop patch for fixed Linux menus issue in Views ( #37984 )
2023-04-15 21:20:34 -07:00
Shelley Vohr
fa3379a5d5
chore: fix lint ( #37971 )
2023-04-13 15:54:41 +02:00
Calvin
cdace75389
chore: disable flaky node test ( #37900 )
2023-04-13 13:27:45 +02:00
David Sanders
e84bcb39e7
fix: defaultFontFamily in webPreferences ( #37863 )
...
* fix: defaultFontFamily in webPreferences
* chore: check if default_font_family_ is empty
2023-04-13 11:30:25 +02:00
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
Shelley Vohr
4c6092e151
fix: draggable regions shouldn't capture clicks on frames windows ( #37594 )
2023-03-28 10:52:28 -04:00
github-actions[bot]
b72f81ab5b
ci: fixup update appveyor image workflow ( #37684 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-27 20:57:27 -04:00
Shelley Vohr
97b19a7946
chore: generator objects can't be sent over the context bridge ( #37593 )
...
* chore: generator objects can't be sent over the context bridge
* Trigger Build
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-27 20:36:55 -04:00
Shelley Vohr
b27e4cae21
fix: crash in MessagePortMain with some postMessage params ( #37585 )
...
* fix: crash in MessagePortMain postMessage
* Update shell/browser/api/message_port.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-03-27 13:56:55 -04:00
Peter Xu
1e106c8aa4
docs: fixup incorrect value for disabling sandbox ( #37711 )
2023-03-27 13:27:55 -04:00
Jeremy Rose
fda8ea9277
feat: add protocol.handle ( #36674 )
2023-03-27 10:00:55 -07:00
John Kleinschmidt
6a6908c4c8
fix: allow cancelling of bluetooth requests ( #37601 )
...
* fix: allow cancelling of bluetooth requests
allows cancelling of bluetooth requests when no devices present
* docs: update docs to reflect how bluetooth works.
2023-03-27 09:31:15 -04:00
electron-roller[bot]
42e7cd9b3f
chore: bump chromium to 113.0.5670.0 (main) ( #37675 )
...
* chore: bump chromium in DEPS to 113.0.5670.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-23 17:15:56 -04:00
John Kleinschmidt
8cf03f5661
ci: fixup gn check to actually run gn check ( #37676 )
2023-03-23 15:02:08 -04:00
electron-roller[bot]
916861036d
chore: bump chromium to 113.0.5668.0 (main) ( #37646 )
...
* chore: bump chromium in DEPS to 113.0.5668.0
* chore: update patches
* chore: fixup for lint
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-22 20:09:13 -04:00
Erick Zhao
52481bc923
docs: update notifications tutorial ( #37602 )
...
* docs: update notifications tutorial
* delete unused assets
2023-03-21 21:40:43 -04:00
electron-roller[bot]
5023b49713
chore: bump chromium to 113.0.5666.0 (main) ( #37634 )
...
* chore: bump chromium in DEPS to 113.0.5666.0
* chore: update patches
* Make Clear-Site-Data: "cookies" respect third-party cookie blocking
https://chromium-review.googlesource.com/c/chromium/src/+/4346675
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-21 21:19:23 -04:00
Erick Zhao
2ac9ff1f20
docs: change MSDN links to new Microsoft docs ( #37603 )
2023-03-21 11:39:19 -04:00
electron-roller[bot]
46d3c4e04f
chore: bump chromium to 113.0.5664.0 (main) ( #37620 )
...
* chore: bump chromium in DEPS to 113.0.5664.0
* chore: update patches
* [Code Health] Migrate to WebUIDataSource::CreateAndAdd(), part 8
https://chromium-review.googlesource.com/c/chromium/src/+/4121701
Needed because of 4349773: Get rid of WebUIDataSource::Create() and WebUIDataSource::Add() | https://chromium-review.googlesource.com/c/chromium/src/+/4349773 landing
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-20 21:37:21 -04:00
John Kleinschmidt
0f77fec9d9
ci: make sure that strip_binary.gni is properly preserved ( #37626 )
2023-03-20 20:06:27 -04:00
dependabot[bot]
94f701edb8
build(deps-dev): bump webpack from 5.73.0 to 5.76.0 ( #37583 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 13:33:08 -04:00
Charles Kerr
caa5989eed
fix: avoid deprecated value apis ( #37590 )
...
* fix: use base::Value::Dict:::Remove() instead of RemoveKe()
the latter is deprecated.
* fix: use base::Value::Dict::FindString() instead of base::Value::FindStringKey()
The latter is deprecated.
* chore: make lint happy
2023-03-20 10:38:45 -04:00
George Joseph
e0c348a2f8
feat: Allow usage of an absolute path for partitions used in a session ( #37604 )
...
* Allow an absolute path to be used for creating sessions
Allows an absolute path to be used for creating sessions
by adding the session.fromPath() API.
* Fixup! Clarify that an emptry string is not permitted as a parameter to fromPath()
2023-03-20 10:34:49 -04:00
Shelley Vohr
eb613ef3d4
fix: invoke app.dock.{hide|show} instead of duplicating logic ( #37599 )
...
fix: invoke app.dock.{hide|show} instead of duplicating logic
2023-03-20 10:30:49 -04:00
Milan Burda
7ed3c7a359
chore: remove unnecessary casting to base::Value ( #37591 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-03-20 10:26:42 -04:00
David Sanders
64b39dce14
docs: update broken links ( #37610 )
2023-03-20 10:25:54 -04:00
electron-roller[bot]
5261e08d0c
chore: bump chromium to 113.0.5660.0 (main) ( #37612 )
...
* chore: bump chromium in DEPS to 113.0.5657.0
* chore: bump chromium in DEPS to 113.0.5660.0
* chore: update patches
printing.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4347664
https://chromium-review.googlesource.com/c/chromium/src/+/4347664
https://chromium-review.googlesource.com/c/chromium/src/+/4338810
https://chromium-review.googlesource.com/c/chromium/src/+/4339496
mas_disable_remote_layer.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4334544
https://chromium-review.googlesource.com/c/chromium/src/+/4335299
* Add API to verify `TOP_LEVEL_STORAGE_ACCESS` permission status
https://chromium-review.googlesource.com/c/chromium/src/+/4306712
* Move os_crypt into a sync/ subdirectory.
https://chromium-review.googlesource.com/c/chromium/src/+/4336304
* chore: generate libc++ headers
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-03-20 07:06:57 -04:00
John Kleinschmidt
9611b641c9
chore: Use thread_local: base/threading/ ( #37600 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/4335524
2023-03-17 09:27:41 -04:00
Erick Zhao
095f9067a7
docs: delete synopsis.md ( #37580 )
...
* docs: delete synopsis.md
* remove code references to doc
2023-03-16 17:05:15 -07:00
Shelley Vohr
b8f970c1c7
fix: properly bubble up cookie creation failure message ( #37586 )
2023-03-16 13:48:14 +01:00
electron-roller[bot]
48d0b09ad9
chore: bump chromium to 113.0.5653.0 (main) ( #37587 )
...
* chore: bump chromium in DEPS to 113.0.5653.0
* chore: update patches
* [Extensions c2s] Move HasActiveTabAndCanAccess() to //extensions
https://chromium-review.googlesource.com/c/chromium/src/+/4305558
* [Privacy Hub] Respecting ChromeOS geoloc setting
https://chromium-review.googlesource.com/c/chromium/src/+/4171824
* Add runtime DLLs to win_clang_x64 when needed
https://chromium-review.googlesource.com/c/chromium/src/+/4336228
* chore: fix lint
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-03-16 19:03:53 +09:00
John Kleinschmidt
c5fc5efc00
chore: update filenames.libcxx.gni ( #37588 )
2023-03-15 15:41:32 -04:00
Milan Burda
6dc46e5bcf
refactor: replace deprecated base::Value::Set<Type>Key usage ( #37570 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-03-15 09:07:51 -04:00
electron-roller[bot]
061e2e5e73
chore: bump chromium to 113.0.5651.0 (main) ( #37553 )
...
* chore: bump chromium in DEPS to 113.0.5645.0
* chore: update patches/chromium/mas_avoid_usage_of_private_macos_apis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4300129
Fix simple code shear
* chore: update patches/chromium/build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4297496
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4327491
patch-fuzz update; no manual changes
* chore: remove patches/chromium/fix_x11_window_restore_minimized_maximized_window.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4252946
Upstreamed by zcbenz, so local patch is no longer needed
* chore: update chromium/printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4313019
Remove cookie parameter from PrintViewManagerBase::UpdatePrintSettings()
* chore: remove NOTIMPLEMENTED BrowserProcessImpl::GetBreadcrumbPersistentStorageManager()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4247145
method removed upstream, so we do not need to add a stub for it in the subclass
* chore: remove PrintViewManagerElectron::UpdatePrintSettings()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4313019
Previously, our implementation checked to see if we recognized the
cookie param that was passed in. If so, we reported a bad message.
Otherwise, we passed it up to the base class' UpdatePrintSettings().
CL4313019 removed the cookie param, so checking for a bad cookie
param is no longer necessary / no longer possible. Since the only
remaining task was to pass the work up to the base class, this commit
removes the subclass implmentation entirely.
* chore: update patches
* chore: bump chromium in DEPS to 113.0.5647.0
* chore: bump chromium in DEPS to 113.0.5649.2
* chore: bump chromium in DEPS to 113.0.5651.0
* chore: update patches
---------
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: deepak1556 <hop2deep@gmail.com >
2023-03-15 18:20:32 +09:00
Jeremy Spiegel
bf1cc1aeb2
fix: don't set delegate for QLPreviewPanel ( #37530 )
...
fix: don't set delegate for QLPreviewPanel
2023-03-14 14:41:34 +01:00
Shelley Vohr
e480cb7103
docs: clarify open-url not preventable ( #37564 )
...
docs: clarify open-url not preventable
2023-03-14 14:17:28 +01:00
github-actions[bot]
3b69a542fb
build: update appveyor image to latest version ( #37561 )
...
* build: update appveyor image to latest version
* build: update appveyor-woa.yml with latest image
* build: modify action to update both appveyor & appveyor-woa
---------
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-03-13 19:44:27 -04:00
Yureka
82456c6915
refactor: DEPS: remove squirrel.mac from recursedeps ( #37496 )
...
DEPS: remove squirrel.mac from recursedeps
squirrel.mac repository does not contain a gclient DEPS file, so recursing into it is useless
2023-03-13 22:16:23 +01:00
John Kleinschmidt
e58f0411d9
chore: fixup filenames.libcxx.gni ( #37567 )
2023-03-13 13:55:25 -04:00
electron-roller[bot]
e61728beb9
chore: bump node to v18.15.0 (main) ( #37532 )
...
* chore: bump node in DEPS to v18.15.0
* chore: update patches
* chore: update node filenames patch
* chore: re-enable parallel/test-intl
* chore: disable parallel/test-webcrypto-wrap-unwrap
---------
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 >
2023-03-13 09:51:03 -04:00
electron-roller[bot]
feaf18e371
chore: bump chromium to 113.0.5636.0 (main) ( #37130 )
...
* chore: bump chromium in DEPS to 112.0.5576.0
* 4211172: Use the Mac ImageTransportSurface on iOS.
https://chromium-review.googlesource.com/c/chromium/src/+/4211172
* 4191759: Reuse PrintBackend process from query for printing
https://chromium-review.googlesource.com/c/chromium/src/+/4191759
* 4189718: Revert "[code health] Remove NotificationService use by SpellcheckService"
https://chromium-review.googlesource.com/c/chromium/src/+/4189718
* 4216074: web_contents_delegate: remove content::
https://chromium-review.googlesource.com/c/chromium/src/+/4216074
* 4192284: ios: Add feature flag for PartitionAlloc.
https://chromium-review.googlesource.com/c/chromium/src/+/4192284
* chore: bump chromium in DEPS to 112.0.5578.0
* 4211172: Use the Mac ImageTransportSurface on iOS.
https://chromium-review.googlesource.com/c/chromium/src/+/4211172
* 4067682: Define ThirdPartyCookiesUserBypass runtime feature and plumb it through to URLRequest.cookie_setting_overrides.
https://chromium-review.googlesource.com/c/chromium/src/+/4067682
* chore: fixup patch indices
* 4218354: Disable the use of preserve_most on arm64 Windows
https://chromium-review.googlesource.com/c/v8/v8/+/4218354
* chore: fixup patch indices
* chore: bump chromium in DEPS to 112.0.5579.0
* chore: update patches
* chore: bump chromium in DEPS to 112.0.5581.0
* chore: update patches
* refactor: use modern base values in tracing
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4210912
* refactor: remove GetFontLookupTableCacheDir
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4191820
* refactor: base value type DICTIONARY replaced with DICT
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4198081
* chore: add stub impls for WCO routing
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/4182690
* refactor: rename latency metrics
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/4048262
* refactor: add sanitized context to clipboard write
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4178264
* refactor: s/Rect/WindowFeatures
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4167001
* refacotr: switch mojom::NetworkHintsHandler to use SchemeHostPair instead of URL
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4185417
* chore: remove dead DecodeToken code
* refactor: refactoring geolocation manager
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4161603
* chore: iwyu net/cert/cert_verify_result.h
* build: use xcode 14
* chore: bump chromium in DEPS to 112.0.5583.0
* chore: update patches
* chore: fixup mas patches
* refactor: base::span explicit conversion checks
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4219636
* chore: bump chromium in DEPS to 112.0.5591.0
* chore: bump chromium in DEPS to 112.0.5593.0
* chore: bump chromium in DEPS to 112.0.5594.3
* chore: bump chromium in DEPS to 112.0.5597.0
* chore: update chromium patches
* 4242507: Move most of GetChromeKeySystems() into components/cdm
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4242507
It seems as though the bug this patch was trying to resolve is now fixed.
* chore: update v8 patches
* 4240798: Get rid of ShowInvalidPrinterSettingsError() in PrintManagerHost.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4240798
* 4247938: Bump min required GTK version to 3.20
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4247938
* 4173660: Remove unused argument in BeforeUnloadCompleted
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4173660
* 4226656: Add response url to SimpleURLLoader::OnRedirectCallback
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4226656
* fixup!: 4240798: Get rid of ShowInvalidPrinterSettingsError() in PrintManager Host.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4240798
* chore: bump chromium in DEPS to 112.0.5599.0
* chore: update patches
* 4251237: [StorageKey Cleanup] (2) Rename CreateFirstParty constructors
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4251237
* 4256866: [Extensions] Replace GetHooksForAPI with a RegisterHooksDelegate
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4256866
* chore: bump chromium in DEPS to 112.0.5601.0
* chore: update patches
* chore: bump chromium in DEPS to 112.0.5603.0
* chore: bump chromium in DEPS to 112.0.5605.0
* chore: bump chromium in DEPS to 112.0.5607.0
* update patches
* fix mas patch
* chore: bump chromium in DEPS to 112.0.5609.0
* chore: update patches
* build: update appveyor image
4072083: New toolchain for Windows 11 10.0.22621.755 SDK | https://chromium-review.googlesource.com/c/chromium/src/+/4072083
* chore: bump chromium in DEPS to 112.0.5611.0
* fix patches
* chore: update patches
* 4261434: Remove browser_watcher (1/3): Move ExitCodeWatcher to chrome/app
https://chromium-review.googlesource.com/c/chromium/src/+/4261434
* 4258446: Move network::mojom::ClearDataFilter to its own mojom file
https://chromium-review.googlesource.com/c/chromium/src/+/4258446
* 4128591: Enable large pdbs by default
https://chromium-review.googlesource.com/c/chromium/src/+/4128591
* move dbgcore/dbghelp to extensions_to_skip
* chore: bump chromium in DEPS to 113.0.5624.0
* chore: bump chromium in DEPS to 113.0.5626.0
* chore: bump chromium in DEPS to 113.0.5628.2
* chore: bump chromium in DEPS to 113.0.5630.0
* chore: bump chromium in DEPS to 113.0.5632.0
* chore: bump chromium in DEPS to 113.0.5634.0
* chore: bump chromium in DEPS to 113.0.5636.0
* 4255184: Permit popups from fullscreen-within-tab openers
https://chromium-review.googlesource.com/c/chromium/src/+/4255184
* 4297715: [mac] Introduce BluetoothLowEnergyAdapterApple to reuse CoreBluetooth
https://chromium-review.googlesource.com/c/chromium/src/+/4297715
* 4301154: Remove GLContextCGL and cleanup relevant code
https://chromium-review.googlesource.com/c/chromium/src/+/4301154
* 4278389: CDP: fix Page.addScriptToEvaluateOnNewDocument in iframes
https://chromium-review.googlesource.com/c/chromium/src/+/4278389
* 4240798: Get rid of ShowInvalidPrinterSettingsError() in PrintManagerHost.
https://chromium-review.googlesource.com/c/chromium/src/+/4240798
* 4291989: Refactor logic determining untrusted mojo invitation flag.
https://chromium-review.googlesource.com/c/chromium/src/+/4291989
* 4110189: Add Select option to content touch selection menu.
https://chromium-review.googlesource.com/c/chromium/src/+/4110189
* 4309923: [Extensions] Add a unit test for API permissions having features
https://chromium-review.googlesource.com/c/chromium/src/+/4309923
* 4282657: Revert "[headless] Route stdio to parent console on Windows."
https://chromium-review.googlesource.com/c/chromium/src/+/4282657
* 4306685: [v8] Improve V8 flag configuration to avoid errors
https://chromium-review.googlesource.com/c/chromium/src/+/4306685
* 4295455: Add fallback Linux UI for when GTK 3.20 isn't available
https://chromium-review.googlesource.com/c/chromium/src/+/4295455
* 4289774: Remove feature for shared sandbox policies
https://chromium-review.googlesource.com/c/chromium/src/+/4289774
* 4292705: Rename WebSwapCGLLayer to ANGLESwapCGLLayer outside WebKit.
https://chromium-review.googlesource.com/c/angle/angle/+/4292705
* chore: fixup patch indices
* fixup! 4297715: [mac] Introduce BluetoothLowEnergyAdapterApple to reuse CoreBluetooth
* 4289789: Remove base::JSONReader::ReadDeprecated
https://chromium-review.googlesource.com/c/chromium/src/+/4289789
* 4281521: Remove `base::Value::FindKey()`
https://chromium-review.googlesource.com/c/chromium/src/+/4281521
* 4276761: Update NAK constructor and GetIsCrossSite
https://chromium-review.googlesource.com/c/chromium/src/+/4276761
* 4288119: Let GetUpload work with UploadInfo pointers
https://chromium-review.googlesource.com/c/chromium/src/+/4288119
* 4285322: content: Move WebExposedIsolationLevel to its own public header
https://chromium-review.googlesource.com/c/chromium/src/+/4285322
* 4251818: [Extensions] Make ExtensionSet moveable.
https://chromium-review.googlesource.com/c/chromium/src/+/4251818
* 4299554: [json-schema-compiler] Refactor to Params::Create (14/74)
https://chromium-review.googlesource.com/c/chromium/src/+/4299554
* chore: update printing patch indices
* chore: update chromium/add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4295455
Our patch changes the signature of `LinuxUiTheme::GetWindowFrameProvider()`.
Upstream 4295455 added a new subclass (FallbackLinuxUi) so sync its version
of GetWindowFrameProvider() to match our changes.
* chore: disable node test parallel/test-intl
Disabling the test because upstream is still working on this feature.
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/4237675
Xref: https://bugs.chromium.org/p/chromium/issues/detail?id=1414292
When upstream churn is done we should re-enable this test and update
it as necessary.
* win7dep: Remove ResolveCoreWinRTStringDelayload
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4277708
Upstream has removed this since Win7 support is deprecated.
This updates our `language_util_win.cc` file using the same
approach that 4277708 uses for `base/win/win_util.cc`.
* fix: remove use of ResolveCoreWinRTDelayload()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4297979
A followup to prev commit, which removed ResolveCoreWinRTStringDelayload().
This PR follows the 4297979 approach of simply removing the calls, e.g.
https://chromium-review.googlesource.com/c/chromium/src/+/4297979/4/chrome/browser/device_reauth/win/authenticator_win.cc
* fix: add d3dcompiler_47 to the zip manifest
Xref: https://chromium-review.googlesource.com/c/angle/angle/+/4285717
Xref (24-x-y): 0fb1def32b
* This clang roll breaks Linux arm 32-bit
Xref (24-x-y): 1229114494
Xref (chromium): https://crbug.com/1410101
* fix: WebUSB on ARM64 macs (#37441 )
* chore: update patches
* chore: fix macOS CI build.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4278307
That whole dir was previously being removed to save space since we don't
use it. We still don't use anything in the file, but gn needs it to exist.
* fixup! chore: fix macOS CI build.
chore: mkdir --parents does not exist on BSD; use mkdir -p
* chore: update chromium/mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4273450
Upstream added a new block of code using NSAccessibilityRemoteUIElement,
so stub it out with `#if !IS_MAS_BUILD()` same as we do everwhere else.
* chore: address code review nit :)
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-10 10:07:42 -06:00
Shelley Vohr
8ee58e18fd
refactor: createThumbnailFromPath takes size not maxSize ( #37362 )
...
refactor: createThumbnailFromPath takes size not maxSize
2023-03-08 21:48:29 -05:00
Erick Zhao
f33bf2a271
docs: remove outdated ipc example ( #37523 )
2023-03-08 21:41:26 -05:00
Keeley Hammond
77bd80dfb2
fix: fallback to X11 capturer if pipewire fails on Wayland ( #37511 )
...
* fix: fallback to x11 desktop capturer on Wayland
* fix: sanitize window/screen capturer inputs
* chore: clean up patch description
2023-03-07 13:59:06 -08:00
John Kleinschmidt
0d3aee26b9
docs: fixup WebUSB fiddle ( #37455 )
...
docs: fixup webusb fiddle
2023-03-07 21:36:31 +01:00
John Kleinschmidt
efde7a140b
fix: WebUSB on ARM64 macs ( #37441 )
2023-03-07 12:40:40 -05:00
Jeremy Rose
4e85bb921b
docs: remove misleading info from will-finish-launching docs ( #37514 )
2023-03-06 16:24:52 -08:00
Shelley Vohr
512e56baf7
feat: expose audio-state-changed on webContents ( #37366 )
...
feat: expose audio-state-changed on webContents
2023-03-06 17:00:24 +01:00
Calvin
c8f715f9a1
fix: Showing the about panel is async on all platforms ( #37440 )
...
* fix: about panel is a base::Value::Dict
* nix this test for a diff PR
* what if the about dialog was not blocking
* add this test back in
* document synchronicity
* github editor is a fan of spaces
2023-03-06 09:46:35 -05:00
Shelley Vohr
829fb4f586
fix: don't double-log unhandled rejections ( #37464 )
2023-03-06 11:04:43 +01:00
Shelley Vohr
17ccb3c6ec
refactor: leverage Skia helpers for NSColor ANSI logic ( #37452 )
2023-03-03 09:42:50 +01:00
Jeremy Rose
6bd9ee6988
feat: net.fetch() supports custom protocols ( #36606 )
2023-03-02 15:47:45 -08:00
Jeremy Rose
76c825d619
fix: draggable regions on MAS ( #37466 )
2023-03-02 11:21:51 -08:00
Kevin Law
692876c737
docs(clipboard): fix an issue of demo code ( #37438 )
...
doc(clipboard): fix an issue of demo code
2023-03-02 12:24:59 +01:00
Jeremy Rose
c3f06ef037
fix: DCHECK in MessageSync in rare cases ( #37439 )
2023-03-02 10:03:52 +01:00
Shelley Vohr
9b20b3a722
chore: improve contents.takeHeapSnapshot error messages ( #37434 )
...
* chore: improve contents.takeHeapSnapshot error messages
* fix wstring conversion issue
2023-03-01 10:50:36 -05:00
Shelley Vohr
8f2917db01
fix: min/max width/height enforcement when aspectRatio is set ( #37306 )
...
fix: min/max width/height with aspect ratio
2023-03-01 10:50:14 -05:00
Theo Gravity
49df19214e
feat: add enableLocalEcho flag to setDisplayMediaRequestHandler() callback ( #37315 )
2023-03-01 11:37:19 +01:00
Shelley Vohr
5e25d23794
fix: handle closing webContents in BrowserViews ( #37420 )
...
* fix: handle closing webContents in BrowserViews
* test: add window.close() test
2023-03-01 11:35:06 +01:00
Shelley Vohr
8fb0f43030
fix: Notification with reply obscuring first action on macOS ( #37381 )
...
fix: Notification with reply obscuring first action
2023-03-01 09:46:56 +01:00
Calvin
1f390119fe
test: add disabled tests list ( #37334 )
2023-02-28 17:27:54 -05:00
Shelley Vohr
87f2a1d572
fix: BroadcastChannel initialization location ( #37421 )
...
* fix: BroadcastChannel initialization location
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-02-28 17:26:37 -05:00
Calvin
2e03bdb9b6
fix: about panel crash ( #37373 )
...
* fix: about panel is a base::Value::Dict
* nix this test for a diff PR
2023-02-28 17:26:00 -05:00
Jeremy Rose
3a5ae28c95
feat: expose initiator in navigation events ( #37085 )
2023-02-28 11:08:22 -08:00
Milan Burda
ed7b5c44a2
feat: add types to webRequest filter ( #30914 )
2023-02-27 11:16:59 -08:00
Milan Burda
edf887bdc5
refactor: use _loadURL(url, options ?? {}); ( #37337 )
2023-02-27 10:05:58 +01:00
David Sanders
1ff7f098f1
chore: set wg-releases as owner of /docs/breaking-changes.md ( #37405 )
2023-02-24 11:34:23 -08:00
David Sanders
fb100e8f49
chore: remove dead config code for trop ( #37406 )
2023-02-24 11:11:04 -08:00
Jeremy Rose
3384908da1
docs: document change in draggable region behavior on macOS ( #37396 )
2023-02-24 11:10:27 -08:00
John Kleinschmidt
73bd9a3155
ci: rename Electron build step to include type of build being built ( #37371 )
...
ci: rename Electron build step to describe what is being built
2023-02-23 21:13:54 -05:00
Jeremy Rose
e27905c765
fix: allow contextmenu event in draggable regions ( #37386 )
2023-02-23 16:05:30 -08:00
Jeremy Rose
a3e3efe4c4
test: use node helpers for events.once and setTimeout promise ( #37374 )
2023-02-23 15:53:53 -08:00
electron-roller[bot]
46c8b9c728
chore: bump node to v18.14.2 (main) ( #37380 )
...
* chore: bump node in DEPS to v18.14.2
* 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-02-22 19:17:03 +01:00
Shelley Vohr
6395898a79
refactor: use associated v8::Context for event setup ( #37355 )
...
refactor: use associated v8::Context for event setup
2023-02-22 10:03:46 +01:00
Shelley Vohr
32c60b29bb
fix: html fullscreen when window not fullscreenable ( #37348 )
2023-02-21 12:11:34 +01:00
Black-Hole
868676aa5c
feat: add httpOnly cookies.get filter ( #37255 )
...
feat: add httpOnly cookies filter
2023-02-21 11:44:35 +01:00
Shelley Vohr
85cf56d80b
fix: guard more private API usage on MAS builds ( #37309 )
2023-02-21 11:44:18 +01:00
Cheng Zhao
a92fd2aa05
fix: restoring X11 window should not remove previous maximize state ( #37346 )
2023-02-21 09:49:02 +01:00
Shelley Vohr
ee966ad6ec
build: remove unused python code ( #37351 )
2023-02-21 09:48:52 +01:00
Jeremy Rose
872d1fe05a
feat: implement net.fetch ( #36733 )
2023-02-20 12:57:38 -08:00
electron-roller[bot]
63f94f2359
chore: bump node to v18.14.1 (main) ( #37332 )
...
* chore: bump node in DEPS to v18.14.1
* 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-02-20 09:22:08 -08:00
Mikael Finstad
67a6fbf265
docs: fixed a typo in process.defaultApp doc ( #37342 )
...
docs: improve `defaultApp`
2023-02-20 13:06:19 +01:00
Milan Burda
f97d68c4bf
test: convert functions to async & eliminate duplicates ( #37316 )
...
test: convert functions to async
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-20 12:30:57 +01:00
Milan Burda
969665eaa2
test: type-safe import of menu-item-roles in api-menu-item-spec.ts ( #37320 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-19 01:27:03 -08:00
Milan Burda
0d8dd61257
test: use expect(dir).to.be.an.instanceof(fs.Dirent); ( #37331 )
2023-02-19 01:25:40 -08:00
Milan Burda
cf10c19c33
test: cleanup let xyz = null as unknown as T; ( #37335 )
2023-02-19 01:24:24 -08:00
Milan Burda
fcfbcbc7e1
test: move desktopCapturer usage from renderer to main in ts-smoke ( #37321 )
2023-02-17 16:29:36 -06:00
Milan Burda
e34cc6f48c
test: enable linting of ts-smoke and fix all issues ( #37322 )
2023-02-17 12:56:09 -06:00
Milan Burda
ee87438d28
test: use async helpers to simplify tests ( #37314 )
...
test: use async helpers to simplify the tests
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-17 12:32:39 -06:00
Cheng Zhao
0de1012280
feat: add BrowserWindow.set/getWindowButtonPosition APIs ( #37094 )
2023-02-17 19:06:32 +09:00
Milan Burda
0a5e634736
test: rename & split internal module tests ( #37318 )
2023-02-17 10:14:40 +01:00
Alexey Kuzmin
73b7aac6a4
test: fix "crash cases" tests not failing properly ( #37304 )
...
* test: fix "crash cases" tests not failing properly
* fixup! test: fix "crash cases" tests not failing properly
2023-02-17 10:14:00 +01:00
Milan Burda
ea848bc1c5
test: use webContents.create() in type-safe way ( #37281 )
...
test: use (webContents as typeof ElectronInternal.WebContents).create()
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-16 15:41:41 +01:00
Shelley Vohr
a44e76fb70
build: strip warnings from stdout in get_release ( #37277 )
...
build: strip warnings from stdout in get_release
2023-02-16 15:20:19 +01:00
Shelley Vohr
3138acc377
chore: remove redundant Node.js patch ( #37279 )
...
* chore: fix patch for other patch
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-02-16 15:18:47 +01:00
Milan Burda
beed240454
test: use render-process-gone event in tests ( #37280 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-16 01:25:41 -08:00
Milan Burda
fdab0799fe
docs: only macOS 10.13+ is supported now ( #37286 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-15 16:29:02 -08:00
Keeley Hammond
17ea7f42fc
build: ignore makeLatest on pre-releases ( #37274 )
...
* build: ignore makeLatest on pre-releases
* chore: set makeLatest to false by default
Co-authored-by: Samuel Attard <sam@electronjs.org >
---------
Co-authored-by: Samuel Attard <sam@electronjs.org >
2023-02-14 21:12:07 -08:00
Shelley Vohr
d0cf9c4b08
build: add missing is_verbose_mode import ( #37273 )
...
build: add missing is_verbose_mode import
2023-02-14 22:52:53 +01:00
Keeley Hammond
fe7c535a3f
chore: add logging for debugging release json ( #37270 )
...
* chore: add debug logging for JSON
* chore: better logging
2023-02-14 13:03:50 -08:00
Shelley Vohr
8eee4f2df1
fix: BrowserView crash when 'beforeunload' prevented ( #37205 )
...
fix: crash when beforeunload prevented
2023-02-14 18:40:37 +01:00
Keeley Hammond
4d6f230d21
build: re-bake node v18.12.1 image for asset upload ( #37254 )
...
* debug: peek node version
* build: force uninstall/reinstall 18.12.1
* build: update image, re-comment out deps
* build: remove nodejs-lts uninstall, node debug line
2023-02-14 07:44:39 -08:00
Shelley Vohr
889859df5b
feat: include all standard paper sizes for webContents.print() ( #37159 )
2023-02-14 11:44:34 +01:00
Andrew Ferreira
cb03c6516b
docs: add win.isFocusable() return type ( #37245 )
...
docs: fix `win.isFocusable()` return type
2023-02-14 10:01:22 +01:00
Shelley Vohr
2e8114aea3
refactor: simplify Node.js event loop with SpinEventLoop ( #34884 )
...
refactor: simplify Node.js event loop with SpinEventLoop
2023-02-14 09:54:09 +01:00
Milan Burda
a38b711fb1
feat: add logUsage to shell.openExternal() options ( #37139 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-14 17:53:18 +09:00
Keeley Hammond
3972073116
build: revert to e-110.0.5451.0 on Appveyor ( #37253 )
2023-02-13 18:13:34 -08:00
Keeley Hammond
8c986ff194
build: bake node v18.12.1 Appveyor image ( #37250 )
...
* chore: bake a new AppVeyor image
* build: use image e-111.0.5560.0-4
* build: remove nodejs-lts
* build: use new baked image
2023-02-13 14:03:12 -08:00
Jeremy Rose
71944f2c3b
refactor: simplify events ( #37099 )
2023-02-13 13:39:18 -08:00
Black-Hole
8b3e498436
fix: cookies filter secure invalid ( #37203 )
2023-02-13 15:02:55 +01:00
Samuel Attard
cf80994729
build: set make_latest correctly on published releases ( #37233 )
2023-02-13 01:16:27 -08:00
Jeremy Rose
01f1522cbd
chore: change undocumented protocol.registerProtocol to detect body type ( #36595 )
...
* feat: add protocol.registerProtocol
* remove wip handleProtocol code
* lint
* Update shell/browser/net/electron_url_loader_factory.h
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
* fix
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-02-13 16:48:30 +09:00
David Sanders
a37f572388
chore: update links in comments ( #37197 )
2023-02-11 18:52:54 -08:00
Milan Burda
3180312595
chore: update https://cs.chromium.org/ links to https://source.chromium.org/ ( #37190 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-11 18:52:32 -08:00
John Kleinschmidt
ff60fe25c1
ci: update appveyor build agent ( #37211 )
...
ci update appveyor image
2023-02-11 13:28:28 -05:00
Shelley Vohr
12ed401ca2
chore: re-enable worker spec failures ( #37015 )
2023-02-09 18:18:35 +01:00
Milan Burda
e5e9186d61
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() ( #37173 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-09 11:38:39 +01:00
Shelley Vohr
478ce96914
fix: avoid using v8 on Isolate termination ( #35766 )
...
* fix: avoid using v8 on Isolate termination
* chore: refactor for review
---------
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2023-02-09 09:48:49 +01:00
Jeremy Rose
8dc98aeeae
chore: remove load-url event ( #37174 )
2023-02-09 14:40:37 +09:00
Milan Burda
35a9e67dba
chore: rename built-in modules to bindings to match naming update in node ( #37182 )
2023-02-09 10:31:38 +09:00
Samuel Attard
8b380ee2f2
test: ensure fullscreen test is retryable ( #37179 )
...
spec: ensure fullscreen test is retryable
2023-02-08 12:40:24 -08:00
Shelley Vohr
a15c9d3058
test: Node.js hkdf tests work now ( #37180 )
2023-02-08 13:35:28 -05:00
David Sanders
22de86d5f4
docs: remove reference to electron/releases ( #37164 )
2023-02-08 15:27:09 +01:00
Samuel Attard
8783d03a59
test: mark some node specs as flaky ( #37181 )
2023-02-08 15:19:02 +01:00
Bruno Pitrus
df6f99aa72
fix: correct redefinition which is invalid C++ ( #36096 )
...
* fix: correct redefinition which is invalid C++
See https://stackoverflow.com/a/15538759 for an explanation of class scope.
GCC gives an error when compiling this code: https://godbolt.org/z/sYhc3cMjE
* Update export_gin_v8platform_pageallocator_for_usage_outside_of_the_gin.patch
---------
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2023-02-08 16:03:47 +09:00
Samuel Attard
00a542358d
build: only retry tests on CI ( #37167 )
2023-02-07 22:44:53 -08:00
Jeremy Rose
9a0a0a7a46
fix: type for received-apns-notification event ( #37177 )
2023-02-07 22:43:29 -08:00
Milan Burda
6a3cb34326
fix: expose native bindings by process type ( #35949 )
2023-02-07 20:22:18 -05:00
electron-roller[bot]
de607cbcde
chore: bump node to v18.14.0 (main) ( #37129 )
...
* chore: bump node in DEPS to v18.14.0
* src: add support for externally shared js builtins
https://github.com/nodejs/node/pull/44376
* test: fix test broken under --node-builtin-modules-path
https://github.com/nodejs/node/pull/45894
* build: add option to disable shared readonly heap
https://github.com/nodejs/node/pull/45887
* src: remove unnecessary semicolons
https://github.com/nodejs/node/pull/46171
* src: remove return after abort
https://github.com/nodejs/node/pull/46172
* chore: fixup patch indices
* test_runner: parse yaml
https://github.com/nodejs/node/pull/45815
* src: use simdutf for converting externalized builtins to UTF-16
https://github.com/nodejs/node/pull/46119
* src: rename internal module declaration as internal bindings
https://github.com/nodejs/node/pull/45551
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-02-07 15:51:07 -05:00
David Sanders
7abe38b46e
build: fix version check in release_dependency_versions.yml ( #37155 )
...
* build: fix version check in release_dependency_versions.yml
* chore: also mksnapshot
2023-02-07 11:38:50 -05:00
David Sanders
d17507e3f6
docs: use relative links within docs ( #37042 )
2023-02-07 19:28:24 +09:00
Keeley Hammond
9b2b3aa287
docs: update stable dates ( #37150 )
2023-02-06 13:42:58 -08:00
github-actions[bot]
b4acbbb1e9
build: update appveyor image to latest version ( #37151 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-02-06 13:42:32 -08:00
David Sanders
dc972b3919
chore: remove old script code for ATOM_SHELL_ ( #37140 )
...
The TODO is from 2016, seems like it's time
2023-02-06 13:07:45 -08:00
Jeremy Rose
67dc178e70
refactor: move gin_helper::Constructible methods to prototype ( #37087 )
2023-02-06 12:59:49 -08:00
Milan Burda
8d382b9c60
chore: remove deprecated capturer count APIs ( #37075 )
...
chore: remove deprecated incrementCapturerCount() / decrementCapturerCount()
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-06 07:54:47 -08:00
Samuel Attard
7dcd97f864
fix: enable basic a11y when voice control is active ( #37122 )
...
c.f. https://chromium-review.googlesource.com/c/chromium/src/+/2680102
2023-02-06 20:32:21 +09:00
David Sanders
9ec13afeaf
docs: add missing ipcRenderer require to example code ( #37134 )
2023-02-06 14:40:16 +09:00
dependabot[bot]
9c0dcaf36b
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 ( #37132 )
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 13:50:33 -08:00
Samuel Attard
e60b0958e2
build: update spec dependencies to clean up yarn audit ( #37116 )
2023-02-03 13:17:05 -08:00
Shelley Vohr
0524b4e98a
build: allow workflow_dispatch on scheduled Actions ( #37128 )
2023-02-03 20:55:04 +01:00
electron-roller[bot]
d02c9f8bc6
chore: bump chromium to 111.0.5544.3 (main) ( #36820 )
...
* chore: bump chromium in DEPS to 111.0.5522.0
* chore: bump chromium in DEPS to 111.0.5524.0
* chore: bump chromium in DEPS to 111.0.5526.0
* chore: bump chromium in DEPS to 111.0.5528.0
* chore: update patches/chromium/mas_avoid_usage_of_private_macos_apis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4132807
Fix simple code shear
* chore: update patches/chromium/unsandboxed_ppapi_processes_skip_zygote.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4130675
Fix simple code shear
* chore: update patches/chromium/hack_plugin_response_interceptor_to_point_to_electron.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4144281
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/chromium/disable_unload_metrics.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4126173
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/chromium/feat_add_data_parameter_to_processsingleton.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4144281
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/chromium/preconnect_manager.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4144281
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/v8/force_cppheapcreateparams_to_be_noncopyable.patch
https://chromium-review.googlesource.com/c/v8/v8/+/3533019
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches
* chore: update patches/chromium/add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4128765
Upstream added a new call to HeaderContext(), whose signature we have patched
* chore: bump chromium in DEPS to 111.0.5530.0
* chore: update patches
* Move ChildProcessHost* from content/common to content/browser
Xref: Move ChildProcessHost* from content/common to content/browser
* Remove RenderViewHostChanged
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4134103
[upstream removal of RenderViewHostChanged]
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4092763
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4093234
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133892
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4134103
[examples of upstream code adjusting to the change]
Upstream handles this change in roughly two approaches:
1. Move the code over to RenderFrameHostChanged(old_host, new_host)
but test for new_host->IsInPrimaryMainFrame() before acting
2. Migrate to the PrimaryPageChanged(page) API and use
page.GetMainDocument() to get the RenderFrameHost.
I've chosen 1. because electron_api_web_contents needed that pointer
to old_host to call RemoveInputEventListener(), but I may be missing
some context & would appreciate review on this commit.
* Make electron/shell/browser/relauncher_win.cc use <winternl.h>
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4129135
Many internal Windows types are now available in winternl.h
so upstrem no longer defines the types themselves.
* Move ChildProcessHost* from content/common to content/browser
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4134795
* fixup! Make electron/shell/browser/relauncher_win.cc use <winternl.h>
winternl.h does not define the field we need, so clone the struct Chromium was using into unnamed namespace
* fixup! Move ChildProcessHost* from content/common to content/browser
chore: update #includes too
* chore: bump chromium in DEPS to 111.0.5532.0
* chore: sync patches/chromium/pepper_plugin_support.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133323
manually reync patch; no code changes
* chore: sync patches/chromium/mas_no_private_api.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4143865
the content/common/pseudonymization_salt.cc patch is no longer needed
* chore: sync patches/chromium/mas_disable_remote_accessibility.patch
patch-fuzz update; no manual changes
* chore: sync patches/chromium/build_do_not_depend_on_packed_resource_integrity.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4111725
manually reync patch; no code changes
* chore: sync patches/chromium/create_browser_v8_snapshot_file_name_fuse.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133323
manually reync patch; no code changes
* chore: sync patches/v8/fix_build_deprecated_attribute_for_older_msvc_versions.patch
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/4127230
patch-fuzz update; no manual changes
* chore: rebuild patches
* fixup! Remove RenderViewHostChanged
Use PrimaryPageChanged()
* chore: remove unused method TabsUpdateFunction::OnExecuteCodeFinished()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133991
This private, already-unused function showed up as a FTBFS because it
took a base::ListValue parameter and ListValue was removed upstream.
* task posting v3: remove includes of runner handles and IWYU task runners
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133323
* chore: lint
* chore: more lint
* fixup! task posting v3: remove includes of runner handles and IWYU task runners
macOS, too
* fixup! task posting v3: remove includes of runner handles and IWYU task runners
* chore: bump chromium in DEPS to 111.0.5534.0
* chore: sync patches/chromium/allow_new_privileges_in_unsandboxed_child_processes.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4141862
patch-fuzz update; no manual changes
* chore: sync patches/chromium/logging_win32_only_create_a_console_if_logging_to_stderr.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4153110
Sync to minor upstream changes. Add const correctness.
* chore: sync electron/patches/chromium/feat_configure_launch_options_for_service_process.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4141862
patch-fuzz update; no manual changes
* chore: patches/v8/fix_build_deprecated_attribute_for_older_msvc_versions.patch
sync https://chromium-review.googlesource.com/c/v8/v8/+/4147787
patch-fuzz update; no manual changes
* chore: update patches
* chore: bump chromium in DEPS to 111.0.5536.0
* chore: sync patches/chromium/allow_new_privileges_in_unsandboxed_child_processes.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4141863
Sync with upstream code changes. Minor code golf for readability.
Note: upstream is laying groundwork for being able to work off of env vars
instead of switches. Doesn't affect us yet but worth being aware of.
> + // Environment variables could be supported in the future, but are not
> + // currently supported when launching with the zygote.
* chore: update patches/chromium/feat_expose_raw_response_headers_from_urlloader.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4126836
patch-fuzz update; no manual changes
* chore: sync electron/patches/chromium/feat_configure_launch_options_for_service_process.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4141863
manual sync
* chore: sync electron/patches/v8/fix_build_deprecated_attribute_for_older_msvc_versions.patch
https://chromium-review.googlesource.com/c/v8/v8/+/4147788
fuzz-patch
* chore: rebuild patches
* chore: bump chromium in DEPS to 111.0.5538.0
* chore: bump chromium in DEPS to 111.0.5540.0
* chore: update patches
* Remove sdk_forward_declarations
https://chromium-review.googlesource.com/c/chromium/src/+/4166680
* task posting v3: Remove task runner handles from codebase entirely
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4150928
* Cleanup child_process_launcher_helper*
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4141863
* fix: utilityprocess spec on macOS
* fix: build on windows
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4141863
* chore: fix lint
* chore: bump chromium 111.0.5544.3
* chore: gen filenames.libcxx.gni
* Add check for Executable+Writable handles in renderer processes.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3774416
* fixup! Add check for Executable+Writable handles in renderer processes.
* 4143761: [110] Disable SwiftShader for WebGL on M1 Macs.
https://chromium-review.googlesource.com/c/chromium/src/+/4143761
(cherry picked from commit 2f74db3c21 )
* chore: bump chromium to 111.0.5555.0
* 56085: Remove hmac.h include from ssl.h.
https://boringssl-review.googlesource.com/c/boringssl/+/56085
* 4167020: Remove forwarding headers
https://chromium-review.googlesource.com/c/chromium/src/+/4167020
* chore: bump chromium to 111.0.5559.0
* 4181044: Restrict WebCursor usage to RenderWidgetHostViewAura
https://chromium-review.googlesource.com/c/chromium/src/+/4181044
* 4189437: views: rename ink_drop_host_view to ink_drop_host
https://chromium-review.googlesource.com/c/chromium/src/+/4189437
* chore: bump chromium to 111.0.5560.0
* 4167016: win7dep: remove non aeroglass code
https://chromium-review.googlesource.com/c/chromium/src/+/4167016
* fixup after rebase: Remove forwarding header
s https://chromium-review.googlesource.com/c/chromium/src/+/4167020
* 4125755: Reland "Reject getDisplayMedia calls without user activation"
https://chromium-review.googlesource.com/c/chromium/src/+/4125755
* test: add workaround
* chore: update patches
* fix: alter coreModuleRegExp to prevent arm crash
* Revert "fix: alter coreModuleRegExp to prevent arm crash"
This reverts commit 7e50630c98 .
* 4218354: Disable the use of preserve_most on arm64 Windows
https://chromium-review.googlesource.com/c/v8/v8/+/4218354
* chore: review changes
---------
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: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-02-03 12:43:42 +01:00
Milan Burda
446c7809cc
refactor: process event emitting for sandboxed renderers ( #37109 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-03 11:59:57 +01:00
Samuel Attard
6e0d63c356
build: update mocha for retries and audit fix ( #37117 )
2023-02-02 17:40:30 -08:00
Samuel Attard
d069b8fc66
build: actually upload symbol zips ( #37124 )
2023-02-02 17:39:51 -08:00
Samuel Attard
1a6085e20e
docs: improve globalShortcut and hookWindowMessage types ( #37115 )
2023-02-02 12:31:28 -08:00
Shelley Vohr
33c32a798b
build: remove mips64el build config ( #37093 )
...
build: remove mips64el build config
2023-02-02 20:53:54 +09:00
David Sanders
23ae0dde17
docs: use automatic link syntax for symbol server link ( #37089 )
2023-02-02 19:16:41 +09:00
Milan Burda
ac266e2187
docs: remove invalid appcache value from storages in clearStorageData() ( #37095 )
2023-02-01 17:35:21 -08:00
Jeremy Rose
6aa7e27b39
fix: nodeIntegrationInWorker fails to boot in AudioWorklets ( #37041 )
2023-02-01 16:03:23 -08:00
Shelley Vohr
2dc76d0d80
build: fixup release_dependency_versions action ( #37036 )
2023-02-01 19:12:19 +01:00
Milan Burda
fd761ec8f7
chore: strip trailing whitespace ( #35969 )
2023-02-01 12:59:16 +01:00
Samuel Attard
dbdbb6fb3b
build: bump deps to clean up yarn audit ( #36535 )
...
build: update dependencies to clean up yarn audit
2023-01-31 13:58:39 -08:00
Shelley Vohr
26ee197fe5
chore: validate .mjs spec files in Node.js smoke tests ( #37073 )
...
chore: take mjs spec files in Node.js smoke tests
2023-01-31 12:36:27 -08:00
Shelley Vohr
730a07ad62
docs: note how to clear an aspect ratio ( #37074 )
2023-01-31 12:36:09 -08:00
David Sanders
01b4e3b521
ci: update actions/stale to v6.0.1 ( #37079 )
2023-01-31 12:30:40 -08:00
David Sanders
899881457b
docs: update modules list in docs/README.md ( #37080 )
2023-01-31 12:29:33 -08:00
John Kleinschmidt
9adbf49240
ci: fixup ninja for release ( #37083 )
2023-01-31 11:29:39 -05:00
Milan Burda
c6203d54d0
refactor: simplify script/lint.js ( #37077 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-31 14:33:50 +01:00
Shelley Vohr
23739c644b
fix: crash on WebWorkerObserver script execution ( #37050 )
...
fix: crash on WebWorkerObserver script execution
2023-01-31 12:29:29 +01:00
Shelley Vohr
ce35bda805
fix: crash on window.print() ( #37052 )
...
fix: crash on window.print()
2023-01-31 12:06:11 +01:00
John Kleinschmidt
fcc7a869f2
ci: ensure correct ninja is used ( #37069 )
2023-01-30 12:35:38 -05:00
Jeremy Rose
85f41d59ac
fix: ensure autofill popup view is > 1x1 in size ( #36121 )
...
* fix: ensure autofill popup view is > 1x1 in size
ref #26667
* Update shell/browser/ui/views/autofill_popup_view.cc
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-27 10:50:19 +01:00
Shelley Vohr
0026fdb78a
fix: resizing borders in nondraggable regions ( #37016 )
...
* fix: resizing borders in nondraggable regions
* chore: remove frame handling from ShouldDescendIntoChildForEventHandling
2023-01-26 14:04:19 +01:00
Mikaël Barbero
1486cbdf64
feat: add support for unlocking with Apple Watch ( #36935 )
2023-01-26 13:05:42 +01:00
Cheng Zhao
c303135b02
fix: fallback to GtkStatusIcon when app indicator is not supported ( #36815 )
...
* chore: get ready for multi backend tray
* fix: fallback to GtkStatusIcon when app indicator is not supported
* chore: use smart pointers
2023-01-26 19:15:55 +09:00
Shelley Vohr
7d46d3ec9d
feat: emit devtools-open-url event for DevTools link selection ( #36774 )
...
* feat: emit event for DevTools link selection
* chore: devtools-open-in-new-tab -> devtools-open-url
2023-01-26 09:54:26 +01:00
Himanshu Patil
8d008c977d
docs: updated deep link docs ( #36952 )
...
* removed open-url listener from windows code
* updated deep-link fiddle
* fixed url hash to app.requestSingleInstanceLock
* code linted
* updated website url to relative file path
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-01-26 16:20:10 +09:00
Shelley Vohr
c6b9340b89
chore: fix memory leak in v8.serialize() ( #37021 )
...
chore: fix memory leak in v8.serialize()
2023-01-26 15:43:57 +09:00
Milan Burda
397aee7315
chore: update README.md ( #37002 )
...
Update README.md
2023-01-26 09:57:20 +09:00
Robo
a30a9c7c4f
chore: remove crashpad related sandbox policy ( #37013 )
2023-01-26 09:01:34 +09:00
kyrylo-hrechykhin
a59f11fdb1
feat: enable whole-program optimization native modules by default ( #36937 )
...
* feat: enable whole-program optimization
Enable whole-program optimization in electron native modules by default.
* pass --with-ltcg to configure.py instead of setting variable
* enable ltcg only on windows
Co-authored-by: Kyrylo Hrechykhin <khrechykhin@microsoft.com >
2023-01-25 13:06:05 -08:00
Samuel Attard
58beec1da2
fix: do not error on null exports in ESM loader ( #37009 )
2023-01-25 13:03:47 -08:00
Milan Burda
4bc6b15f53
refactor: move spec helpers to spec/lib ( #37010 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 13:01:25 -08:00
Milan Burda
355f322dbd
chore: remove unused fixture_support.md ( #37011 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 13:00:51 -08:00
Milan Burda
2f79444535
refactor: separate WEB_VIEW_ATTRIBUTES / WEB_VIEW_ERROR_MESSAGES ( #36972 )
2023-01-25 16:08:46 +01:00
Milan Burda
a9b6041d38
chore: remove unused files in spec/fixtures ( #37012 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 16:02:44 +01:00
Shelley Vohr
afca3ff965
chore: call ListenerDestroyed() in FileSelectHelper::RunFileChooserEnd() ( #37006 )
...
chore: call ListenerDestroyed() in FileSelectHelper::RunFileChooserEnd()
2023-01-25 15:51:01 +01:00
Shelley Vohr
86f99e9cf0
chore: cleanup ElectronContentClient::AddPlugins ( #37005 )
...
chore: cleanup ElectronContentClient::AddPlugins
2023-01-25 14:57:30 +01:00
David Sanders
ca3145a547
chore: use vscode-markdown-languageservice for link linting ( #36901 )
...
* chore: use vscode-markdown-languageservice for docs link linting
* docs: make links relative
2023-01-24 09:00:25 +01:00
Shelley Vohr
37f5881882
test: add a <datalist> spec for time type ( #36953 )
...
spec: add a datalist spec for time type
2023-01-23 11:21:28 -05:00
David Sanders
f20d0b4ecb
chore: clean up .keep files ( #36980 )
2023-01-23 09:57:00 +01:00
Robo
cdb65c15a8
fix: make plugin helper executable unconditional ( #36971 )
2023-01-21 09:42:45 +09:00
Shelley Vohr
c3f02d7df2
chore: cleanup autofill agent shutdown sequence ( #36954 )
2023-01-20 14:35:06 -08:00
David Sanders
3b018143b4
ci: don't run stale workflow jobs in parallel ( #36967 )
2023-01-20 13:02:50 -08:00
David Sanders
885c1878d4
test: fix nativeTheme test when system in dark mode ( #36943 )
2023-01-19 21:59:20 -05:00
GGIEnrike
5ce8dfdcb5
docs: Change factuality and word choice in app.runningUnderARM64Translation ( #36947 )
...
Change factuality and word choice.
Added "or WOW" to the phrase, "when they are running the x64 version under Rosetta", to reflect the use of a supported platform, Windows, as a possible scenario.
Changed the wording of that same sentence to make it appear clearer. "incorrectly" to "mistakenly" and moved this word to before the verb instead of the end of the sentence.
2023-01-19 15:00:06 -05:00
David Sanders
4e4ae9ff53
docs: update clipboard fiddles ( #36946 )
2023-01-19 14:59:35 -05:00
Shelley Vohr
55c818d0a8
fix: <datalist> dropdown positioning ( #36934 )
...
fix: datalist dropdown positioning
2023-01-19 19:44:23 +01:00
David Sanders
9630e26e6d
test: support running tests against Electron releases ( #36944 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-01-19 12:14:59 +01:00
David Sanders
b69236d177
test: fix test for USB device.forget() ( #36942 )
2023-01-18 16:30:01 -05:00
Shelley Vohr
b1548c2dbe
fix: webview background color on reload ( #36920 )
2023-01-18 14:46:47 +01:00
Shelley Vohr
1d98b27a66
chore: update node types version ( #36924 )
2023-01-18 14:46:27 +01:00
John Kleinschmidt
91ccf08853
ci: run WOA tests on AppVeyor ( #36925 )
2023-01-18 12:12:57 +01:00
Milan Burda
2c56a06ad3
feat: add label property to Display objects ( #36855 )
2023-01-18 15:44:40 +09:00
David Sanders
a7bc579220
ci: update pinned versions for security scorecard workflow ( #36910 )
2023-01-17 10:41:05 -08:00
David Sanders
e2b21d87d7
ci: update amannn/action-semantic-pull-request version ( #36902 )
2023-01-16 10:23:38 +01:00
David Sanders
d94f35a8f6
chore: disallow shortcut reference links in docs Markdown ( #36860 )
...
* chore: disallow shortcut reference links in docs Markdown
* docs: clean up shortcut-style links
2023-01-16 10:22:49 +01:00
Shelley Vohr
a9e7bb0027
fix: Cmd+Tab not working when exiting kiosk mode ( #36854 )
2023-01-16 10:06:43 +01:00
Keeley Hammond
ad1a09bb10
build: bump appveyor to e-111.0.5518.0 ( #36900 )
2023-01-12 17:54:06 -05:00
Shelley Vohr
c953109f01
build: remove older branch migration helpers ( #36888 )
...
* build: remove older branch migration helpers
* chore: fix typo
2023-01-12 12:05:26 -05:00
Shelley Vohr
3f764cbbd5
build: remove ScriptOrModule V8 flag ( #36887 )
...
build: remove ScriptOrModule V8 flag
2023-01-12 13:02:40 +01:00
Eugene Nesvetaev
ce56d614a3
chore: fix typo in promise rejection ( #36763 )
2023-01-12 12:32:56 +01:00
David Sanders
a9c03950c0
docs: cleanup reference links ( #36659 )
2023-01-11 22:16:34 -08:00
Robo
fefb22a83d
chore: enable microtask queue per window agent ( #36870 )
...
* chore: enable microtask queue per window agent
* chore: switch policies on context microtask queue
* fix: ensure node::Environment is valid
2023-01-12 01:59:32 +09:00
Robo
2a7d0a84c0
fix: missing libcxx headers ( #36863 )
...
* chore: add libcxx script to precommit hook
* chore: run gen-libc++-filename.js
2023-01-12 01:59:03 +09:00
Shelley Vohr
f31826f4a0
fix: getUserMedia duplicate permissions call ( #36787 )
...
* fix: getUserMedia duplicate permissions call
* test: add regression test
2023-01-11 11:55:31 +01:00
electron-roller[bot]
1d9a4ab02c
chore: bump node to v18.13.0 (main) ( #36818 )
...
* chore: bump node in DEPS to v18.13.0
* child_process: validate arguments for null bytes
https://github.com/nodejs/node/pull/44782
* bootstrap: merge main thread and worker thread initializations
https://github.com/nodejs/node/pull/44869
* module: ensure relative requires work from deleted directories
https://github.com/nodejs/node/pull/42384
* src: add support for externally shared js builtins
https://github.com/nodejs/node/issues/44000
* lib: disambiguate `native module` to `binding`
https://github.com/nodejs/node/pull/45673
* test: convert test-debugger-pid to async/await
https://github.com/nodejs/node/pull/45179
* deps: upgrade to libuv 1.44.2
https://github.com/nodejs/node/pull/42340
* src: fix cppgc incompatibility in v8
https://github.com/nodejs/node/pull/43521
* src: use qualified `std::move` call in node_http2
https://github.com/nodejs/node/pull/45555
* build: fix env.h for cpp20
https://github.com/nodejs/node/pull/45516
* test: remove experimental-wasm-threads flag
https://github.com/nodejs/node/pull/45074
* src: iwyu in cleanup_queue.cc
https://github.com/nodejs/node/pull/44983
* src: add missing include for `std::all_of`
https://github.com/nodejs/node/pull/45541
* deps: update ICU to 72.1
https://github.com/nodejs/node/pull/45068
* chore: fixup patch indices
* chore: remove errant semicolons
- https://github.com/nodejs/node/pull/44179
- https://github.com/nodejs/node/pull/44193
* src: add support for externally shared js builtins
https://github.com/nodejs/node/pull/44376
* chore: add missing GN filenames
* deps: update nghttp2 to 1.51.0
https://github.com/nodejs/node/pull/45537
* chore: disable more Node.js snapshot tests
The Snapshot feature is currently disabled
* chore: disable ICU timezone tests
Node.js uses a different version of ICU than Electron so they
will often be out of sync.
* chore: disable threadpool event tracing test
Event tracing is not enabled in embedded Node.js
* chore: fixup patch indices
* chore: comments from review
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-11 11:33:48 +01:00
Samuel Attard
b3d16e727c
build: migrate patch-up to use app creds ( #36817 )
2023-01-10 21:56:50 -08:00
Shelley Vohr
dfe501941c
build: update release deps workflow ( #36530 )
2023-01-10 12:46:30 +01:00
Shelley Vohr
414791232a
fix: RTL WindowButtonsProxy buttons ( #36839 )
...
* fix: RTL WindowButtonsProxy buttons
* chore: address review feedback
2023-01-10 12:19:00 +01:00
David Sanders
168726a052
fix: handle null/undefined options for fs.readdir ( #34764 )
2023-01-10 12:16:39 +01:00
Milan Burda
1c9e7687f9
docs: add missing window-management permission value to setPermissionRequestHandler() ( #36776 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-10 09:49:04 +01:00
Shelley Vohr
f56a26c4f7
build: fix broken stale issues workflow ( #36843 )
2023-01-09 19:16:58 +01:00
Shelley Vohr
1a9c338c92
chore: cleanup drag_util ( #36806 )
...
chore: cleanup drag_util
2023-01-09 10:00:47 +01:00
David Sanders
0d05273024
docs: fix link in breaking-changes.md ( #36793 )
2023-01-09 16:37:57 +09:00
electron-roller[bot]
90af7d7fe2
chore: bump chromium to 111.0.5518.0 (main) ( #36575 )
...
* chore: bump chromium in DEPS to 110.0.5461.0
* chore: update patches
* 3903024: hid: Add connection count tracking methods for HidDelegate
https://chromium-review.googlesource.com/c/chromium/src/+/3903024
* 4076211: Turn FrameTreeNode::frame_tree into raw_ref.
https://chromium-review.googlesource.com/c/chromium/src/+/4076211
* chore: bump chromium in DEPS to 110.0.5463.0
* chore: bump chromium in DEPS to 110.0.5465.0
* fix patches
* 3835037: Add new slides media session actions to Picture-in-Picture window
https://chromium-review.googlesource.com/c/chromium/src/+/3835037
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5467.0
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5469.0
* chore: bump chromium in DEPS to 110.0.5471.0
* chore: bump chromium in DEPS to 110.0.5473.0
* chore: bump chromium in DEPS to 110.0.5475.0
* chore: update patches
* 4074449: Add gl::FrameData to software path
https://chromium-review.googlesource.com/c/chromium/src/+/4074449
* 4065264: [Extensions] Add a new side panel view type
https://chromium-review.googlesource.com/c/chromium/src/+/4065264
* 4060548: Remove base::Value::GetListDeprecated().
https://chromium-review.googlesource.com/c/chromium/src/+/4060548
* chore: add missing RefCountedMemory include
* 4081108: task posting v3: remove task_runner_util{.h,_unittest.cc}
https://chromium-review.googlesource.com/c/chromium/src/+/4081108
* 4072471: Rename Mixed Download Blocking to Insecure Download Blocking
https://chromium-review.googlesource.com/c/chromium/src/+/4072471
* 4025927: [Code Health] Migrate e/c/manifest.cc to base::Value::Dict interface
https://chromium-review.googlesource.com/c/chromium/src/+/4025927
* chore: fixup patch indices
* chore: bump chromium in DEPS to 110.0.5477.0
* chore: fixup preconnect_manager.patch
* chore: fixup patch indices
* fixup! 4074449: Add gl::FrameData to software path
* 4074449: Add gl::FrameData to software path
This commit also reformatted the two files in this patch. The only
change here is the addition of the |data| arg to |OnSwapBuffers|.
https://chromium-review.googlesource.com/c/chromium/src/+/4074449
* 4081108: task posting v3: remove task_runner_util{.h,_unittest.cc}
https://chromium-review.googlesource.com/c/chromium/src/+/4081108
* 4085814: [Test Automation] Move NativeWindowTracker to ui/views
https://chromium-review.googlesource.com/c/chromium/src/+/4085814
* 4032656: hid: Abstract HidSystemTrayIcon class for profiles' HID connections
https://chromium-review.googlesource.com/c/chromium/src/+/4032656
* chore: bump chromium in DEPS to 110.0.5479.0
* chore: fixup patches & simplify printing patch
To be specific, I replaced some combination of line removals &
commenting-out with `#if 0` blocks since they were already there for
android.
Should be functionally the same, just written differently for better
patch maintainability.
* chore: bump chromium in DEPS to 110.0.5481.0
* chore: update patch indicies
* 4098946: Migrate Extension::Create() argument to base::Value::Dict (part 4 of 4)
https://chromium-review.googlesource.com/c/chromium/src/+/4098946
* chore: bump chromium in DEPS to 111.0.5482.0
* chore: bump chromium in DEPS to 111.0.5484.0
* chore: bump chromium in DEPS to 111.0.5486.0
* chore: update patch indices
* 4112903: Reland "Move gl::FrameData to gfx::FrameData"
https://chromium-review.googlesource.com/c/chromium/src/+/4112903
* 4056216: Option to create a tab target with Target.createTarget in /json/new
https://chromium-review.googlesource.com/c/chromium/src/+/4056216
* chore: bump chromium in DEPS to 111.0.5488.0
* chore: bump chromium in DEPS to 111.0.5490.0
* chore: bump chromium in DEPS to 111.0.5492.0
* chore: bump chromium in DEPS to 111.0.5494.0
* chore: bump chromium in DEPS to 111.0.5496.0
* chore: bump chromium in DEPS to 111.0.5498.0
* chore: bump chromium in DEPS to 111.0.5500.0
* chore: bump chromium in DEPS to 111.0.5502.0
* chore: update patch indices
+ small update to printing.patch due to:
3653941: [printing] Extract settings logic from PrintJobWorker
https://chromium-review.googlesource.com/c/chromium/src/+/3653941
* 4113994: Cleanup: Rename webui_generated_resources_* to webui_resources_*.
https://chromium-review.googlesource.com/c/chromium/src/+/4113994
* 4112537: Remove DictionaryPrefUpdate.
https://chromium-review.googlesource.com/c/chromium/src/+/4112537
* 4072073: Remove //chrome/browser/ash dependency from pdf_extension_util.cc
https://chromium-review.googlesource.com/c/chromium/src/+/4072073
* 4055223: [Remove FileSystemConnector] Remove DownloadItemRerouteInfo
https://chromium-review.googlesource.com/c/chromium/src/+/4055223
* Migrate base::DictionaryValue to base::Value::Dict
This relates to multiple CLs cleaning up this class in this roll,
but the ones that are specifically relevant here:
4116096: [CodeHealth] Remove DictionaryValue::GetInteger
https://chromium-review.googlesource.com/c/chromium/src/+/4116096
4113764: [CodeHealth] Remove deprecated DictionaryValue::SetInteger()
https://chromium-review.googlesource.com/c/chromium/src/+/4113764
* 3653941: [printing] Extract settings logic from PrintJobWorker
https://chromium-review.googlesource.com/c/chromium/src/+/3653941
* chore: bump chromium in DEPS to 111.0.5504.0
* chore: update patches
* (WIP) 4003663: Enable Microtask queues per WindowAgent.
https://chromium-review.googlesource.com/c/chromium/src/+/4003663
* chore: bump chromium in DEPS to 111.0.5506.0
* chore: update patches
* fix: printing patch
It was complaining that this method isn't used on windows
* chore: bump chromium in DEPS to 111.0.5508.0
* chore: bump chromium in DEPS to 111.0.5510.0
* chore: bump chromium in DEPS to 111.0.5512.0
* chore: bump chromium in DEPS to 111.0.5514.0
* chore: bump chromium in DEPS to 111.0.5516.0
* chore: update patches
* chore: bump chromium in DEPS to 111.0.5518.0
* chore: update patches
* 4027428: [rsafor] Move rsaFor requests to a separate permission
https://chromium-review.googlesource.com/c/chromium/src/+/4027428
* Revert "(WIP) 4003663: Enable Microtask queues per WindowAgent."
This reverts commit cc36d226e3f3fe5f4bea6538102d55ce3203190f.
* chore: disable Microtask queues per WindowAgent.
see https://chromium-review.googlesource.com/c/chromium/src/+/4003663
* chore: cleanup after rebase
* fixup: disable Microtask queues per WindowAgent.
* chore: cleanup password from keychain after test
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: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Calvin Watford <cwatford@slack-corp.com >
Co-authored-by: clavin <clavin@electronjs.org >
2023-01-05 21:35:34 -05:00
Mikael Finstad
ba962c94cc
docs: Add note about argv getting modified ( #36735 )
...
Add note about argv getting modified
See https://github.com/electron/electron/issues/20322
2023-01-05 11:39:45 +01:00
Jeremy Rose
9b8b8f5880
fix: move report_raw_headers to TrustedParams ( #36725 )
...
* fix: move report_raw_headers to TrustedParams
* Update electron_api_url_loader.cc
* missed a copy constructor
2023-01-05 10:36:14 +01:00
Shelley Vohr
32288ac9c5
fix: focus rings with multiple buttons in showMessageBox ( #36772 )
...
fix: focus rings with multiple buttons in messageBox
2023-01-05 09:56:38 +01:00
Milan Burda
42cda4a893
fix: rename WebSwapCGLLayer to WebSwapCGLLayerChromium ( #35961 )
...
* fix: rename WebSwapCGLLayer to WebSwapCGLLayerChromium
* undo changes to patches/config.json
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-01-05 15:49:08 +09:00
David Sanders
700f43c90c
docs: cleanup some rogue backticks ( #36778 )
2023-01-04 14:52:46 +01:00
Marco Pelloni
6cb5f5a1eb
docs: update incorrect grammar ( #36780 )
...
#### Description of Change
The first sentence within the documentation "[Important: signing your code](https://www.electronjs.org/docs/latest/tutorial/tutorial-packaging#important-signing-your-code )" is grammatically incorrect.
> In order to distribute desktop applications to end users, we highly recommended for you to code sign your Electron app.
I've adjusted the copy to switch "highly recommended" to "highly recommend". I've also switched out "for you to code sign" for "that you code sign" for clarity.
> In order to distribute desktop applications to end users, we _highly recommend_ that you **code sign** your Electron app.
2023-01-04 14:52:29 +01:00
David Sanders
20cff64282
docs: update links ( #36657 )
2023-01-02 11:52:18 +01:00
David Sanders
20ac617c03
chore: update electron/clerk links in PR template ( #36658 )
2023-01-02 11:23:43 +01:00
Roger Zurawicki
28cfaccb1d
docs: update code highlights in tutorial ( #36691 )
...
docs: fix code highlighting in preload tutorial
The highlighted lines in the code snippets were unaligned,
which could cause a newcomer unneeded confusion on what
lines need to be changed.
2023-01-02 11:14:34 +01:00
YongWoo Roh
c4a93390dd
docs: main.js file change was displayed incorrectly ( #36709 )
...
main.js file change was displayed incorrectly
The line in the main.js file change was displayed incorrectly, so it was corrected.
2023-01-02 11:04:41 +01:00
David Sanders
327abb4b52
docs: improve dark mode example fiddle ( #36596 )
2023-01-02 11:02:15 +01:00
George Xu
644243efd6
docs: update visual studio min version ( #36702 )
2022-12-22 11:48:48 -08:00
Jeremy Rose
8f23b1527b
fix: use chrome headers in net.request for everything except cookie ( #36666 )
2022-12-21 14:53:29 -08:00
MAPGarrett
8c837fda4f
docs: Fix incorrect highlight in an example snippet ( #36700 )
...
Fix incorrect highlight in an example snippet
At the moment, the "Communicating between processes" `main.js` snippet highlights the line containing `})` when the relevant line is `ipcMain.handle('ping', () => 'pong')`.
2022-12-20 10:06:25 -08:00
Milan Burda
5fd7a43970
test: replace (webContents as any).destroy() with webContents.destroy() ( #36653 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-12-14 16:07:38 -05:00
Jeremy Rose
fb461effae
chore: cherry-pick 32b7dc86a763 from v8 ( #36651 )
...
* chore: cherry-pick 32b7dc86a763 from v8
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-12-14 16:06:10 -05:00
Jeremy Rose
9e7fbc7021
fix: blend node and blink code generation policy when both are loaded ( #36567 )
2022-12-14 10:05:34 -08:00
Webster Xu
f72e6551f0
fix: use the process cache to reduce the memory for asar file ( #36600 )
...
* fix: use the process cache to reduce the memory for asar file
* Update shell/common/api/electron_api_asar.cc
Co-authored-by: webster.xu <webster.xu@ringcentral.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-12-14 12:37:28 -05:00
Robert Günzler
ab890fb8c3
fix: strip branded binaries ( #36641 )
...
When creating branded release builds and using scripts/strip-binaries.py
on Linux, the final artifacts end up unstripped due to the static set of
binaries considered for stripping.
With this patch the name of the electron binary is taken from the
BRANDING.json `project_name` key.
Signed-off-by: Robert Günzler <r@gnzler.io >
Signed-off-by: Robert Günzler <r@gnzler.io >
2022-12-13 17:01:20 -05:00
John Kleinschmidt
425f1ffa98
chore: update AppVeyor image to include latest Windows updates ( #36649 )
...
clenaup
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-12-13 14:28:09 -05:00
David Sanders
4d9c84d7c0
chore: update markdownlint ( #36540 )
2022-12-13 10:55:53 -08:00
Bruno Pitrus
1432f9bb65
chore: reland “fix ambiguous reference gcc compile error” ( #36544 )
...
This is a reland of #35714 . The broken code got reintroduced in #35310 due to a mismerge.
2022-12-13 10:55:08 -08:00
Michał Zarach
6a798b1c58
feat: added username to IAP purchaseProduct method ( #35902 )
2022-12-12 10:11:48 -08:00
Hugh Davey
4e66184287
docs: add mdn link to web-request-filter.md ( #36603 )
...
* Add MDN link to web-request-filter.md
When I was using the Electron docs I wanted to know how to use [webRequest.onBeforeSendHeaders](https://www.electronjs.org/docs/latest/api/web-request#webrequestonbeforesendheadersfilter-listener ) but I was unable to correctly guess the correct format for the `WebRequestFilter` URL strings, and there was no explanation in the Electron docs. Eventually I googled it and found the MDN article which helped me.
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Black-Hole <158blackhole@gmail.com >
2022-12-08 17:11:42 -05:00
Jeremy Rose
99b0d63c84
ci(not-really): autoclose issues with blocked/need-repro and no response ( #36532 )
2022-12-05 20:53:07 -05:00
Samuel Attard
e1e66fc8ac
docs: link net.request options to ClientRequestConstructorOptions ( #36556 )
2022-12-05 15:17:37 -08:00
electron-roller[bot]
8acf6039e7
chore: bump chromium to 110.0.5451.0 (main) ( #36394 )
...
* chore: bump chromium in DEPS to 110.0.5425.0
* chore: bump chromium in DEPS to 110.0.5427.0
* chore: bump chromium in DEPS to 110.0.5429.0
* chore: bump chromium in DEPS to 110.0.5431.0
* chore: update patches/chromium/picture-in-picture.patch to fix upstream code shear
https://chromium-review.googlesource.com/c/chromium/src/+/4024078
* chore: sync patch w/upstream shear: remove_usage_of_incognito_apis_in_the_spellchecker.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3967854
* chore: sync patch w/upstream shear: feat_expose_raw_response_headers_from_urlloader.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3983373
* chore: sync patch w/upstream shear: chromium/custom_protocols_plzserviceworker.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3983373
* build: update references to core_api_provider; its location was moved upstream
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4006696
* build: remove back_to_tab_image_button from our enable_picture_in_picture deps
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4024078
back_to_tab_image_button has been removed upstream
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5433.0
* chore: sync patch w/upstream shear: chromium/printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4006638
* chore: sync patch w/trivial upstream shear: chromium/process_singleton.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4031817
* refactor: remove kAutofillCenterAlignedSuggestions feature flag check.
This behavior had been an experiment behind a feature flag. The
experiment was a success so the feature was kept & the flag was removed.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3870616
moves from disabled-by-default to enabled-by-default
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4030556
removed the feature flag
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5435.0
* chore: update patches
* chore: sync code with upstream change: AXLMode method name
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3950054
* 3841761: Adapting code to support kSystemProfileSelectionDefaultNone experiment
https://chromium-review.googlesource.com/c/chromium/src/+/3841761
* chore: bump chromium in DEPS to 110.0.5437.0
* 4040140: Pip 2.0: Merge VideoOverlayWindowViews and OverlayWindowViews
https://chromium-review.googlesource.com/c/chromium/src/+/4040140
* 4045567: Fix a crash opening a popup from tab capture fullscreen
https://chromium-review.googlesource.com/c/chromium/src/+/4045567
* chore: fixup patch indices
* 4048263: Remove deprecated Value calls in frame_tracker_unittest.cc.
https://chromium-review.googlesource.com/c/chromium/src/+/4048263
* 4004606: [intl] Migrate to ICU 72
https://chromium-review.googlesource.com/c/v8/v8/+/4004606
* chore: bump chromium in DEPS to 110.0.5439.0
* 3890670: Prerender: Add first implementation of prerender-in-new-tab mode
https://chromium-review.googlesource.com/c/chromium/src/+/3890670
* chore: fixup patch indices
* chore: bump chromium in DEPS to 110.0.5441.0
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5443.0
* 4035451: Remove remaining uses of ScopedNestableTaskAllower.
https://chromium-review.googlesource.com/c/chromium/src/+/4035451
* chore: bump chromium in DEPS to 110.0.5445.0
* chore: update patches
* fixup! 3890670: Prerender: Add first implementation of prerender-in-new-tab mode
* test: disable parallel/test-worker-init-failure
Refs https://chromium-review.googlesource.com/c/v8/v8/+/4017512
Refs https://github.com/nodejs/node-v8/issues/246
* chore: disable parallel/test-fetch
Test is flaky on Linux CI, but runs fine locally.
* chore: bump chromium in DEPS to 110.0.5451.0
* chore: update patches
* chore: cleanup patch
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: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-12-05 17:59:19 -05:00
StepSecurity Bot
2a26cef577
ci: pin action shas ( #36562 )
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2022-12-05 12:11:10 -08:00
David Sanders
993d0337a7
docs: fix broken links ( #36519 )
...
* docs: fix broken links
* docs: change link to navigator.getUserMedia
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* docs: fix link in examples.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-12-05 13:18:57 -05:00
Shelley Vohr
b90a5baa6d
fix: new WebAssembly API support in Node.js ( #36420 )
2022-12-05 12:07:49 -05:00
Milan Burda
909ee0ed6b
refactor: make StatusIconType an enum class ( #36500 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-12-05 00:59:20 -08:00
John Kleinschmidt
79d2fc9c23
build: fixup mksnapshot args on linux ( #36531 )
2022-12-01 14:12:32 -05:00
Shelley Vohr
d092e6bda4
feat: expose window.invalidateShadow() ( #32452 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-12-01 10:24:44 -08:00
Keeley Hammond
35a7c07306
chore: update NMV for Electron 24 ( #36465 )
2022-11-30 22:10:36 -08:00
Milan Burda
eb291485bb
chore: drop support for Windows 7 / 8 / 8.1 ( #36427 )
...
* chore: drop support for Windows 7 & 8
* chore: remove disable-redraw-lock.patch
* chore: update patches
* Update docs/breaking-changes.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/breaking-changes.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
* fix breaking-changes.md
* chore: note last supported version
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: add link to deprecation policy
* Update docs/breaking-changes.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* update README.md
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-11-30 17:13:29 -08:00
Jeremy Rose
4ff0642af7
fix: treat maxWidth/Height<=0 as unlimited ( #36487 )
2022-11-30 17:02:22 -08:00
Jeremy Rose
835e248dff
docs: document outlivesOpener option in window open handler ( #36486 )
2022-11-30 15:20:19 -08:00
Jeremy Spiegel
665cf03f74
fix: handle Notification requireInteraction option ( #36477 )
2022-11-30 16:18:35 -05:00
Black-Hole
f527b8aa2a
refactor: improve accelerator check failed message ( #36476 )
2022-11-30 11:31:16 -08:00
Jeremy Rose
e3b7c3024f
docs: fix loadExtension example ( #36489 )
2022-11-30 11:29:02 -08:00
Keeley Hammond
9f007b9afb
chore: update NMV for Electron 23 ( #36464 )
2022-11-30 10:57:27 -08:00
George Xu
d5ce1387ce
docs: change pull request template to include mentions of templates and examples ( #36474 )
2022-11-29 22:22:09 -08:00
Michaela Laurencin
42ca25c338
docs: update E23 release dates ( #36475 )
2022-11-29 15:08:55 -08:00
Robo
2c723d7e84
fix: enable crashpad for ELECTRON_RUN_AS_NODE processes ( #36460 )
...
* wip: enable crashpad for node processes
fix: add PID testing method
wip: plumb fd into child_process in node
* node::ProcessInitializationFlags::kNoDefaultSignalHandling
* chore: clean up debug logging
* chore: gate platform includes
* test: clean up node process test
* fix: pass pid in node_main
* chore: cleanup impl
* chore: fixup patch method definition
* fix: expose bound methods to node_main
* fix: remove bound methods
* fix: crashpad connection for all ELECTRON_RUN_AS_NODE processes
* chore: fix typo
* chore: address review feedback
* chore: delay crashpad initialization
* chore: ensure options.env, code hygiene
* chore: add argv test, check for process.env over {}
* fix: fix test, return options.env immutability
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-11-29 10:33:54 -05:00
Cheng Zhao
16a7bd7102
fix: reimplement Tray with StatusIconLinuxDbus on Linux ( #36333 )
2022-11-28 11:36:25 -08:00
dependabot[bot]
bbb590b777
build(deps): bump minimatch from 3.0.4 to 3.0.8 ( #36418 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.0.8.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:24:13 -08:00
Jeremy Rose
32583ac756
docs: add missing event-emitter link to utility-process docs ( #36428 )
...
add missing event-emitter link
2022-11-23 17:52:36 +09:00
John Kleinschmidt
679ce632a9
build: fixup appveyor image for release ( #36429 )
...
* build: make sure symstore is in the PATH when baking an image
* build: update to use fixed baked image
* cleanup sdk install
2022-11-22 16:57:49 -05:00
John Kleinschmidt
629c54ba36
feat: add support for WebUSB ( #36289 )
...
* feat: add support for WebUSB
* fixup for gn check
* fixup gn check on Windows
* Apply review feedback
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: address review feedback
* chore: removed unneeded code
* Migrate non-default ScopedObservation<> instantiations to ScopedObservationTraits<> in chrome/browser/
https://chromium-review.googlesource.com/c/chromium/src/+/4016595
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-11-22 16:50:32 -05:00
Samuel Attard
2751c2b07f
build: update devcontainer and use latest codespaces features ( #36422 )
...
* build: update devcontainer to latest build image
* build: add update-content-command
* build: set good vscode config
* build: be less noisy in update command
* build: only run sync in prebuild environment
* build: list env vars
* build: run sync always
2022-11-22 12:16:15 -08:00
electron-roller[bot]
c6d6af2551
chore: bump node to v18.12.1 (main) ( #36356 )
...
* chore: bump node in DEPS to v18.12.1
* chore: update patches
* chore: add missing <algorithm> include
* src: add detailed embedder process initialization AP
https://github.com/nodejs/node/pull/44121
* chore: update gn build files
* dns: support dns module in the snapshot
https://github.com/nodejs/node/pull/44633
https://github.com/electron/electron/issues/36118
* src: fix OOB reads in process.title getter
https://github.com/nodejs/node/pull/31633
* chore: fix incorrectly removed patch bit
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 >
2022-11-21 10:55:01 -05:00
Keeley Hammond
b71cccb0d6
ci: bake appveyor images automatically, run sync on depshash change ( #35396 )
...
* chore: update yml formatting for parser
* ci: bake appveyor images automatically, run sync on depshash change
* chore: clean up .yml files
* chore: bump to e-110.0.5415.0
2022-11-21 10:24:26 -05:00
Samuel Attard
3a94634ae5
build: force ninja binary to the right arch after src cache restore ( #36401 )
2022-11-18 23:45:22 -08:00
hyrious
9c48992e21
chore: fix dangling promise in npm install ( #36379 )
...
* Fix dangling promise introduced in #33979
* fix reject in callback
* simplify code
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Black-Hole <158blackhole@gmail.com >
2022-11-18 15:21:11 -08:00
John Kleinschmidt
7529ebfe0e
fix: remove unneeded --turbo-profiling-input arg from mksnapshot_args ( #36378 )
...
fix: remove unneeded --turbo-profiling-input args from mksnapshot_args
2022-11-17 17:49:12 -05:00
dependabot[bot]
4f1f263a9a
build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /spec ( #36375 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 17:48:48 -05:00
electron-roller[bot]
87c183df6a
chore: bump chromium to 110.0.5415.0 (main) ( #36186 )
...
* chore: bump chromium in DEPS to 109.0.5386.0
* chore: bump chromium in DEPS to 109.0.5388.0
* chore: bump chromium in DEPS to 109.0.5390.0
* chore: bump chromium in DEPS to 109.0.5392.0
* chore: bump chromium in DEPS to 109.0.5394.0
* chore: bump chromium in DEPS to 109.0.5396.0
* chore: bump chromium in DEPS to 109.0.5398.0
* chore: bump chromium in DEPS to 109.0.5400.0
* chore: update galactus
* chore: bump chromium in DEPS to 109.0.5402.0
* chore: bump chromium in DEPS to 109.0.5403.0
* chore: bump chromium in DEPS to 109.0.5406.0
* chore: update patches
* 4004247: Delete unused DocumentWebContentsDelegate
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4004247
* chore: bump chromium in DEPS to 109.0.5408.1
* chore: update patches
* 3949284: Support pkey debug mode without pkey 0 access
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3949284
* chore: bump chromium in DEPS to 109.0.5410.0
* chore: update patches
* 4000944: [Extensions] Create an API directory in //chrome/renderer/extensions
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4000944
* 3988524: Remove DocumentOverlayWindowViews | https://chromium-review.googlesource.com/c/chromium/src/+/3988524
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com >
* chore: bump chromium in DEPS to 109.0.5412.0
* chore: update patches
* 3984022: Add AddChildWindowToBrowser to DisplayClient mojo interface
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3984022
* 3957079: Delete the CryptoToken component extension and internal API
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3957079
* 4004421: Migreate ScopedAllowIO to ScopedAllowBlocking
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4004421
Co-authored-by: George Xu <georgexu99@users.noreply.github.com >
* chore: bump chromium in DEPS to 109.0.5414.0
* chore: update patches
* 4016180: Split PPAPI Mojo interfaces out of RenderFrameHostImpl.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4016180
* 3970838: [MPArch] Convert HostZoomMap and ZoomController off of RenderViewHost ids
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3970838
* 3997795: Don't add Chromium as a login item
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3997795
* 3993482: Remove RefCountedString::TakeString
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3993482
* 3990749: Allow forward-declared sources in base::ScopedObservation<>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3990749
* fixup! 3957079: Delete the CryptoToken component extension and internal API
* chore: bump chromium in DEPS to 110.0.5415.0
* 3883790: Move devtools_frame_token to the RenderFrameHost, to preserve RFH identity across MPArch activations.
https://chromium-review.googlesource.com/c/chromium/src/+/3883790
* 4022205: Move license tooling into //tools/licenses
https://chromium-review.googlesource.com/c/chromium/src/+/4022205
* chore: fixup patch indices
* fixup! 3957079: Delete the CryptoToken component extension and internal API
* 4008687: Finish ScopedAllowIO migration
https://chromium-review.googlesource.com/c/chromium/src/+/4008687
* 3991548: Move WindowButtonOrderObserver and WindowFrameAction to LinuxUi
https://chromium-review.googlesource.com/c/chromium/src/+/3991548
* fixup! 3984022: Add AddChildWindowToBrowser to DisplayClient mojo interface
* 4016595: Migrate non-default ScopedObservation<> instantiations to ScopedObservationTraits<> in chrome/browser/
https://chromium-review.googlesource.com/c/chromium/src/+/4016595
* 4000481: Rename :chromedriver to :chromedriver_server
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4000481
* 4008687: Finish ScopedAllowIO migration
https://chromium-review.googlesource.com/c/chromium/src/+/4008687
* 3988524: Remove DocumentOverlayWindowViews
https://chromium-review.googlesource.com/c/chromium/src/+/3988524
* fixup! 3997795: Don't add Chromium as a login item
* chore: fixup patches
* 3996872: Plumb input event task runner to EventFactoryEvdev
https://chromium-review.googlesource.com/c/chromium/src/+/3996872
* 4014994: Enable SiteIsolationForGuests by default.
https://chromium-review.googlesource.com/c/chromium/src/+/4014994
* chore: adopt new thread restrictions api for //electron (#36357 )
chore: add thread blocking api
* fixup! 4014994: Enable SiteIsolationForGuests by default.
* pull parent HWND for dialogs on ui thread
* chore: set parent_window in MessageBoxSettings
* chore: remove redundant patch
* chore: revert accidental deletion
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com >
Co-authored-by: George Xu <georgexu99@users.noreply.github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-11-17 14:59:23 -05:00
Step Security Bot
517225b99e
ci: add default action permissions ( #36363 )
...
* [StepSecurity] Apply security best practices
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
* Delete dependabot.yml
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-11-16 15:44:25 -05:00
Samuel Attard
bd345358f6
build: build mas and darwin simultaneously ( #36354 )
...
build: build mas on osx
2022-11-16 10:57:09 -08:00
Samuel Attard
9616dfb1f6
docs: update SECURITY.md with new GHSA reporting feature ( #36367 )
2022-11-15 20:02:01 -08:00
dependabot[bot]
41d393c076
build(deps): bump loader-utils from 1.4.1 to 1.4.2 ( #36365 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 17:31:16 -08:00
Samuel Attard
2cc24542f5
build: remove out cache ( #36355 )
2022-11-15 12:00:46 -05:00
Samuel Attard
d57d9f71df
build: make src cache smaller ( #36344 )
2022-11-15 00:30:07 -08:00
Tierney Cyren
f8aee0fbe7
docs: update README.md to use correct twitter handle ( #36345 )
...
doc: update README.md to use correct twitter handle
2022-11-14 22:23:37 -08:00
Step Security Bot
f9d1b9aded
ci: pin some more action versions ( #36343 )
...
* [StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
* Update electron_woa_testing.yml
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-11-14 18:39:13 -08:00
Jeremy Rose
9618a7227e
ci: pin amannn/action-semantic-pull-request ( #36341 )
2022-11-14 16:46:58 -08:00
Jeremy Rose
9f8308907b
ci: pin version of actions/checkout ( #36342 )
2022-11-14 16:46:45 -08:00
Joyce
05577d0903
chore: enable scorecard github action ( #35741 )
2022-11-14 16:22:10 -08:00
Samuel Attard
a9ef68f126
refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() ( #36332 )
...
* refactor: change defined(MAS_BUILD) to IS_MAS_BUILD()
This is missing-definition safe and thus allows us to move the definition of this macro away from "all compilation targets" to "just the compilation targets that depend on this macro".
In turn this makes the rebuild time changing from mas <-> darwin only 80 seconds on my machine, instead of the 12-15 minutes it used to take. This will also allow us in the future to build both MAS and darwin on the same CI machine. Costing us ~2 minutes on one machine but saving us anywhere from 30 minutes to an hour of CI time on other parts of the matrix.
* build: always define IS_MAS_BUILD even on non-mac builds
* build: use extra_configs
2022-11-14 12:46:52 -08:00
Samuel Attard
d8bb172318
fix: abort ShipIt installation attempt at the final mile if the app is running ( #36130 )
...
* fix: abort ShipIt installation attempt at the final mile if the app is running
* chore: remove only
* Update patches/squirrel.mac/fix_abort_installation_attempt_at_the_final_mile_if_the_app_is.patch
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: update patches
* spec: make the ShipIt process lister helper more resilient
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-11-14 10:12:16 -08:00
Samuel Attard
654e571512
build: provide moduleVersion to docs-parser directly ( #36329 )
2022-11-14 10:04:36 -05:00
Erick Zhao
46a74d1086
docs: update tutorials for Forge 6 ( #36313 )
...
docs: update tutorial for Forge 6
2022-11-11 11:42:27 -08:00
Shelley Vohr
75d2caf451
chore: upgrade to Node.js v18 ( #35999 )
...
* chore: update to Node.js v18
* child_process: improve argument validation
https://github.com/nodejs/node/pull/41305
* bootstrap: support configure-time user-land snapshot
https://github.com/nodejs/node/pull/42466
* chore: update GN patch
* src: disambiguate terms used to refer to builtins and addons
https://github.com/nodejs/node/pull/44135
* src: use a typed array internally for process._exiting
https://github.com/nodejs/node/pull/43883
* chore: lib/internal/bootstrap -> lib/internal/process
* src: disambiguate terms used to refer to builtins and addons
https://github.com/nodejs/node/pull/44135
* chore: remove redudant browserGlobals patch
* chore: update BoringSSL patch
* src: allow embedder-provided PageAllocator in NodePlatform
https://github.com/nodejs/node/pull/38362
* chore: fixup Node.js crypto tests
- https://github.com/nodejs/node/pull/44171
- https://github.com/nodejs/node/pull/41600
* lib: add Promise methods to avoid-prototype-pollution lint rule
https://github.com/nodejs/node/pull/43849
* deps: update V8 to 10.1
https://github.com/nodejs/node/pull/42657
* src: add kNoBrowserGlobals flag for Environment
https://github.com/nodejs/node/pull/40532
* chore: consolidate asar initialization patches
* deps: update V8 to 10.1
https://github.com/nodejs/node/pull/42657
* deps: update V8 to 9.8
https://github.com/nodejs/node/pull/41610
* src,crypto: remove AllocatedBuffers from crypto_spkac
https://github.com/nodejs/node/pull/40752
* build: enable V8's shared read-only heap
https://github.com/nodejs/node/pull/42809
* src: fix ssize_t error from nghttp2.h
https://github.com/nodejs/node/pull/44393
* chore: fixup ESM patch
* chore: fixup patch indices
* src: merge NativeModuleEnv into NativeModuleLoader
https://github.com/nodejs/node/pull/43824
* [API] Pass OOMDetails to OOMErrorCallback
https://chromium-review.googlesource.com/c/v8/v8/+/3647827
* src: iwyu in cleanup_queue.cc
* src: return Maybe from a couple of functions
https://github.com/nodejs/node/pull/39603
* src: clean up embedder API
https://github.com/nodejs/node/pull/35897
* src: refactor DH groups to delete crypto_groups.h
https://github.com/nodejs/node/pull/43896
* deps,src: use SIMD for normal base64 encoding
https://github.com/nodejs/node/pull/39775
* chore: remove deleted source file
* chore: update patches
* chore: remove deleted source file
* lib: add fetch
https://github.com/nodejs/node/pull/41749
* chore: remove nonexistent node specs
* test: split report OOM tests
https://github.com/nodejs/node/pull/44389
* src: trace fs async api
https://github.com/nodejs/node/pull/44057
* http: trace http request / response
https://github.com/nodejs/node/pull/44102
* test: split test-crypto-dh.js
https://github.com/nodejs/node/pull/40451
* crypto: introduce X509Certificate API
https://github.com/nodejs/node/pull/36804
* src: split property helpers from node::Environment
https://github.com/nodejs/node/pull/44056
* https://github.com/nodejs/node/pull/38905
bootstrap: implement run-time user-land snapshots via --build-snapshot and --snapshot-blob
* lib,src: implement WebAssembly Web API
https://github.com/nodejs/node/pull/42701
* fixup! deps,src: use SIMD for normal base64 encoding
* fixup! src: refactor DH groups to delete crypto_groups.h
* chore: fixup base64 GN file
* fix: check that node::InitializeContext() returns true
* chore: delete _noBrowserGlobals usage
* chore: disable fetch in renderer procceses
* dns: default to verbatim=true in dns.lookup()
https://github.com/nodejs/node/pull/39987
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-11-10 22:31:20 +01:00
Shelley Vohr
1b1609aa0f
fix: app.dock.setIcon() crash before app ready ( #36279 )
...
fix: dock.setIcon() crash before app ready
2022-11-09 17:13:24 +01:00
Raymond Zhao
5fc3ed936e
feat: add app.getPreferredSystemLanguages() API ( #36035 )
...
* feat: add app.getSystemLanguage() API
* Change the API to getPreferredSystemLanguages
* Fix test
* Clarify docs and add Linux impl
* Remove USE_GLIB
* Don't add C to list
* Remove examples since there's a lot of edge cases
* Fix lint
* Add examples
* Fix compile error
* Apply PR feedback
* Update the example
2022-11-09 10:50:43 -05:00
dependabot[bot]
8f5959aad2
build(deps): bump loader-utils from 1.2.3 to 1.4.1 in /spec ( #36281 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.2.3 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 10:49:23 -05:00
Milan Burda
31a0bb7de2
chore: remove unsupported OS_FREEBSD flag check ( #36273 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-11-08 20:43:04 +01:00
dependabot[bot]
5c1186f624
build(deps): bump loader-utils from 1.2.3 to 1.4.1 ( #36276 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.2.3 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 11:27:59 +01:00
Jeremy Rose
184ac2b382
refactor: move draggable regions to WebContents ( #36230 )
2022-11-07 10:15:57 -08:00
John Kleinschmidt
2008c9a5d0
fix: arm linux glibc dependency ( #36247 )
2022-11-07 09:38:08 -05:00
David Sanders
0ba0df4523
docs: fix driverId -> deviceId typo ( #36246 )
2022-11-07 09:37:51 -05:00
Georgescu Gabriel
71b8804fd0
docs: Fixed outdated documentation (uploading to App Store) ( #35116 )
...
* 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
* Update mac-app-store-submission-guide.md
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-11-01 17:07:50 -04:00
Brad Carter
15540975ff
feat: Add BrowserWindow option to hide window in Mission Control (macOS) ( #36092 )
...
* feat: Add BrowserWindow option to ignore Mission Control (macOS)
* There are many circumstances when app developers may want to hide their
windows from mission control. E.g., full screen overlays, small helper
windows, dialogs, etc.
* This PR adds the functionality, docs, and tests.
* chore:Rename variables
* Update shell/browser/native_window_mac.h
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-11-01 16:43:42 -04:00
Shelley Vohr
8b430c9d26
test: re-enable window.open referrer test ( #36155 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-11-01 11:11:11 -04:00
Milan Burda
2f2c43e5e5
build: fix building with enable_plugins = false ( #36193 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-10-31 16:18:15 -07:00
Shelley Vohr
169cf531ba
docs: add EOL dates to timeline doc ( #36187 )
2022-10-28 13:08:06 -07:00
Jeremy Rose
b9464d89b8
fix: remove undocumented feature and flaky test for webview resize event ( #36154 )
2022-10-27 16:44:53 -07:00
Keeley Hammond
67a0c702fa
build: prefix version in uploader script ( #36169 )
...
build: prefix v in uploader script
2022-10-27 12:02:18 -07:00
electron-roller[bot]
ea6f873f97
chore: bump chromium to 109.0.5382.0 (main) ( #36057 )
...
* chore: bump chromium in DEPS to 109.0.5364.0
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5366.0
* chore: update patches
* i3940364: Change PermissionType::WINDOW_PLACEMENT to WINDOW_MANAGEMENT
https://chromium-review.googlesource.com/c/chromium/src/+/3940364
* 3866812: Change content::PluginList to only run on the UI thread.
https://chromium-review.googlesource.com/c/chromium/src/+/3866812
* chore: bump chromium in DEPS to 109.0.5368.0
* [cleanup] Replace enable_basic_printing with enable_printing
https://chromium-review.googlesource.com/c/chromium/src/+/3957357
* chore: update patches
* 3956318: Desktop PWAs: Retire kWebAppWindowControlsOverlay flag
https://chromium-review.googlesource.com/c/chromium/src/+/3956318
* fixup! Change content::PluginList to only run on the UI thread.
(cherry picked from commit 7b5ec87d4f )
Co-Authored-By: Robo <hop2deep@gmail.com >
* chore: bump chromium in DEPS to 109.0.5370.0
* 3956299: Quota: Cleanup QuotaPermissionContext
https://chromium-review.googlesource.com/c/chromium/src/+/3956299
* chore: update patches
* 3803867: Add Mojo interface to parse XML for OOP printer capabilities
https://chromium-review.googlesource.com/c/chromium/src/+/3803867
* fixup: Add Mojo interface to parse XML for OOP printer capabilities
* chore: bump chromium in DEPS to 109.0.5372.0
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5374.0
* chore: bump chromium in DEPS to 109.0.5376.0
* chore: bump chromium in DEPS to 109.0.5378.0
* chore: update patches
* Quota: Cleanup kPersistent in BrowsingDataRemover
https://chromium-review.googlesource.com/c/chromium/src/+/3964859
* 3955976: serial: Create DOMException with V8ThrowDOMException
https://chromium-review.googlesource.com/c/chromium/src/+/3955976
* 3758405: Append trailer data to serialized messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3758405
* chore: revert clang roll
This patch reverts https://chromium-review.googlesource.com/c/chromium/src/+/3967491
because that roll breaks the WOA build: https://crbug.com/1377819
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5380.0
* 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
* chore: bump chromium in DEPS to 109.0.5382.0
* chore: update patches
* chore: revert Use accessibility.pkey when setting page access.
https://chromium-review.googlesource.com/c/chromium/src/+/3949281
breaks our Linux builds run under Docker.
This patch should be removed once
https://chromium-review.googlesource.com/c/chromium/src/+/3949284
is merged.
* 3976312: Roll clang llvmorg-16-init-8189-g97196a2d-2 : llvmorg-16-init-8697-g60809cd2-1
https://chromium-review.googlesource.com/c/chromium/src/+/3976312
* 3967841: [heap] Remove AllocationSpace::MAP_SPACE enum constant
https://chromium-review.googlesource.com/c/v8/v8/+/3967841
* 3956131: [cleanup] Remove flag for Wasm threads & atomics
https://chromium-review.googlesource.com/c/v8/v8/+/3956131
* chore: update docs for Quota: Cleanup kPersistent in BrowsingDataRemover
https://chromium-review.googlesource.com/c/chromium/src/+/3964859
* test: fixup HID test for ARM CI
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2022-10-27 12:37:04 -04:00
Jeremy Rose
07530f8e37
test: fix flake in will-navigate test ( #36153 )
2022-10-27 09:29:19 -04:00
Robo
260678bd0c
docs: add utility process info to tutorial docs ( #36074 )
2022-10-27 20:55:28 +09:00
Shane Gannon
02ad8fcd5f
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
2022-10-27 16:18:07 +09:00
daief
ff4816367e
refactor: handle uncaught promise error ( #35484 )
2022-10-27 16:16:26 +09:00
Samuel Attard
ff3289d260
build: use npm@7 for npm view command
2022-10-26 18:31:20 -07:00
Samuel Attard
99a34d5209
build: strip v in the getElectronVersion helper
2022-10-26 17:56:30 -07:00
Jeremy Rose
625b4619d6
fix: resolve loadURL properly for in-page navigations ( #36129 )
2022-10-26 13:57:39 -07:00
Jeremy Rose
a75e8e051e
docs: document that when invoke rejects, it gives a different Error ( #36127 )
2022-10-26 13:56:41 -07:00
Samuel Attard
09302a2fc6
build: use python3 for appveyor commands ( #36131 )
2022-10-25 16:39:21 -07:00
Samuel Attard
b13f776d1b
build: ensure get-version runs in the electron git checkout ( #36128 )
2022-10-25 11:27:10 -07:00
Samuel Attard
7ca2bb5f9c
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
2022-10-24 23:44:43 -07:00
flynow10
ad289d120f
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.
2022-10-24 14:51:50 -04:00
Sudowoodo Release Bot
85b193178f
Bump v23.0.0-nightly.20221024
2022-10-24 06:01:28 -07:00
Sudowoodo Release Bot
3aed596fba
Bump v23.0.0-nightly.20221021
2022-10-21 06:01:08 -07:00
Shelley Vohr
3e730ab016
test: exit properly when node-spec-runner validates specs ( #36091 )
...
test: exit properly when node spec runner validates specs
2022-10-21 11:13:59 +02:00
John Kleinschmidt
0158077bec
test: disable flaky linux arm/arm64 crash test case ( #36094 )
...
test: disable failing linux arm/arm64 crash test case
2022-10-20 18:06:06 -04:00
Shelley Vohr
7921fec761
refactor: enable OOPIF printing to PDF ( #36051 )
2022-10-20 14:30:40 -04:00
Sudowoodo Release Bot
289bdbe4bc
Bump v23.0.0-nightly.20221020
2022-10-20 06:03:15 -07:00
Robo
da0fd286b4
feat: UtilityProcess API ( #34980 )
...
* chore: initial scaffolding
* chore: implement interface and docs
* chore: address code style review
* fix: cleanup of utility process on shutdown
* chore: simplify NodeBindings::CreateEnvironment
* chore: rename disableLibraryValidation => allowLoadingUnsignedLibraries
* chore: implement process.parentPort
* chore(posix): implement stdio pipe interface
* chore(win): implement stdio interface
* chore: reenable SetNodeOptions for utility process
* chore: add specs
* chore: fix lint
* fix: update kill API
* fix: update process.parentPort API
* fix: exit event
* docs: update exit event
* fix: tests on linux
* chore: expand on some comments
* fix: shutdown of pipe reader
Avoid logging since it is always the case that reader end of
pipe will terminate after the child process.
* fix: remove exit code check for crash spec
* fix: rm PR_SET_NO_NEW_PRIVS for unsandbox utility process
* chore: fix incorrect rebase
* fix: address review feedback
* chore: rename utility_process -> utility
* chore: update docs
* chore: cleanup c++ implemantation
* fix: leak in NodeServiceHost impl
* chore: minor cleanup
* chore: cleanup JS implementation
* chore: flip default stdio to inherit
* fix: some api improvements
* Support cwd option
* Remove path restriction for modulePath
* Rewire impl for env support
* fix: add tests for cwd and env option
* chore: alt impl for reading stdio handles
* chore: support message queuing
* chore: fix lint
* chore: new UtilityProcess => utilityProcess.fork
* fix: support for uncaught exception exits
* chore: remove process.execArgv as default
* fix: windows build
* fix: style changes
* fix: docs and style changes
* chore: update patches
* spec: disable flaky test on win32 arm CI
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-19 22:49:49 -07:00
Samuel Attard
44c40efecf
refactor: migrate from asar to @electron/asar ( #36070 )
...
* refactor: migrate from asar to @electron/asar
* fix: update asar require calls
2022-10-19 13:39:31 -07:00
Sudowoodo Release Bot
8bd66026a8
Bump v23.0.0-nightly.20221019
2022-10-19 06:02:29 -07:00
Yusoo
dde513b0d3
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.
2022-10-19 10:16:28 +02:00
Shelley Vohr
a8d89b3d52
fix: headless job tracking in printToPDF ( #36046 )
2022-10-18 15:46:19 +02:00
Sudowoodo Release Bot
b13606e55d
Bump v23.0.0-nightly.20221018
2022-10-18 06:01:30 -07:00
Shelley Vohr
4310468513
feat: support serialPort.forget() ( #35310 )
...
feat: enable serialPort.revoke()
2022-10-18 11:22:32 +02:00
Daniel Kocielinski
23d4a252c6
chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView ( #35007 )
...
* hore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView
The draggable regions implementation is related to WebView, so
InspectableWebContentsView is a more appropriate place to put it there.
Also, this refactoring will allow the subsequent extension of the
WebContentsView API, which will eventually replace BrowserView API.
* fix: Lint error
* fix: Adjusted owner-window
2022-10-17 11:10:07 -04:00
electron-roller[bot]
f2c341b655
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>
2022-10-17 10:22:24 -04:00
Sudowoodo Release Bot
bcafe8f654
Bump v23.0.0-nightly.20221017
2022-10-17 06:01:25 -07:00
David Sanders
d8d5d4a4a1
docs: update VS Code debugger types to remove "pwa-" prefix ( #36042 )
2022-10-17 13:35:36 +02:00
Piroro-hs
295c5331ee
fix: override app's desktop name and v8 flags in default-app ( #35997 )
2022-10-17 10:34:24 +02:00
John Kleinschmidt
76880be6d2
test: re-enable <webview> tag DOM events emits resize event ( #36026 )
2022-10-17 14:57:44 +09:00
Shelley Vohr
e660fdf776
chore: remove useless Node.js V8 patch ( #36013 )
2022-10-17 14:57:31 +09:00
Sudowoodo Release Bot
dd757f4e22
Bump v23.0.0-nightly.20221014
2022-10-14 06:01:11 -07:00
Jeremy Rose
dc5d27a73b
docs: fix erroneous removal warning for decrementCapturerCount ( #36016 )
2022-10-13 11:40:25 -04:00
Raymond Zhao
ce138fe969
fix: Windows 7 frame showing for frameless non-resizable windows ( #35365 )
2022-10-13 11:39:40 -04:00
Sudowoodo Release Bot
79454dc50d
Bump v23.0.0-nightly.20221013
2022-10-13 07:17:26 -07:00
Sudowoodo Release Bot
8f09d6b47e
Revert "Bump v23.0.0-nightly.20221013"
...
This reverts commit 294f27900c .
2022-10-13 07:14:49 -07:00
John Kleinschmidt
b307314401
test: re-enable power monitor tests on arm64 ( #36015 )
...
test: re-enable powermonitor on arm64
2022-10-13 10:09:09 -04:00
Sudowoodo Release Bot
294f27900c
Bump v23.0.0-nightly.20221013
2022-10-13 06:01:22 -07:00
Jeremy Rose
8a926ffde4
refactor: use views NonClientHitTest for draggable regions on mac ( #35603 )
...
* refactor: use views NonClientHitTest for draggable regions on mac
* iwyu
* add backport of 9bb5f0316
* chore: update patches
* remove some unneeded functions
* remove test for triggering when BW is focused
* chore: update patches
* simplify views/mac split now that the draggable logic is the same
* Apply suggestions from code review
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update shell/browser/native_window.h
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fix build
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-10-12 12:05:45 -04:00
Shelley Vohr
7ce94eb0b4
fix: disable nodeIntegrationInWorker for certain Worker types ( #35919 )
...
fix: disable nodeIntegrationInWorker for certain Worker types
2022-10-12 10:36:24 -04:00
Milan Burda
1328d8d670
docs: use webContents.mainFrame.on() in MessagePort tutorial ( #35824 )
...
* docs: use webContents.mainFrame.on() in MessagePort tutorial
* Update docs/tutorial/message-ports.md
Co-authored-by: Samuel Maddock <smaddock@salesforce.com >
Co-authored-by: Samuel Maddock <smaddock@salesforce.com >
2022-10-12 10:27:58 -04:00
Shelley Vohr
76afd8c028
test: more robust PDF specs ( #35979 )
2022-10-12 10:15:49 -04:00
Milan Burda
eb97ce1931
build: fix building with enable_ppapi = false ( #35988 )
2022-10-12 10:04:30 -04:00
Sudowoodo Release Bot
b6eadf2414
Bump v23.0.0-nightly.20221012
2022-10-12 06:01:34 -07:00
Milan Burda
8212616c76
chore: remove WebKit leftovers after it was renamed to Blink ( #35966 )
2022-10-11 20:01:57 -04:00
Shelley Vohr
ee7cf5a6d4
fix: webContents.printToPDF option plumbing ( #35975 )
...
fix: contents.printToPDF option plumbing
2022-10-11 16:06:34 -07:00
John Kleinschmidt
0759f3320e
docs: remove references to Widevine ( #35980 )
2022-10-11 16:06:13 -07:00
kyrylo-hrechykhin
c2cb97ea29
fix: on-screen-keyboard hides on input blurred in webview ( #35921 )
...
Co-authored-by: Kyrylo Hrechykhin <khrechykhin@microsoft.com >
2022-10-11 13:21:41 -04:00
Shelley Vohr
e8ae0571b8
test: remove redundant color diffing dependency ( #33215 )
2022-10-11 13:11:58 -04:00
Shelley Vohr
b3fd5eb258
fix: drag and drop should copy on macOS ( #35963 )
2022-10-11 18:19:59 +02:00
Sudowoodo Release Bot
9006f0e0c5
Bump v23.0.0-nightly.20221011
2022-10-11 06:00:46 -07:00
Darshan Sen
7493062555
test: add tests for valid electron module names ( #35931 )
...
* test: add tests for valid electron module names
https://github.com/electron/electron/pull/35915 landed without any
tests, so this change adds some. This also documents why these
variations exist.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* fixup! doc: rephrase comment
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* fixup! test: remove "Uncaught Error:" from error regex
Signed-off-by: Darshan Sen <raisinten@gmail.com >
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-10-11 15:59:23 +09:00
Sudowoodo Release Bot
e02de74ff2
Bump v23.0.0-nightly.20221010
2022-10-10 14:35:21 -07:00
Shelley Vohr
ebb866e63d
fix: override content::ContentMainDelegate::CreateContentClient() ( #35932 )
2022-10-10 16:48:44 +02:00
Sudowoodo Release Bot
ef00a2a1da
Revert "Bump v23.0.0-nightly.20221010"
...
This reverts commit 6072c4c71b .
2022-10-10 07:35:18 -07:00
Sudowoodo Release Bot
6072c4c71b
Bump v23.0.0-nightly.20221010
2022-10-10 06:01:40 -07:00
Samuel Attard
1fe21ff712
fix: expose the built-in electron module via the ESM loader ( #35930 )
2022-10-10 03:02:30 -07:00
David Sanders
a072f06168
docs: remove pywin32 mention in Windows build instructions ( #35940 )
2022-10-10 03:01:11 -07:00
Milan Burda
8bfbb251cc
fix: add missing #include "base/cxx17_backports.h" ( #35945 )
2022-10-10 03:00:56 -07:00
Sudowoodo Release Bot
3f4c4a4470
Bump v23.0.0-nightly.20221007
2022-10-07 06:01:54 -07:00
Sudowoodo Release Bot
5c784c2b1b
Bump v23.0.0-nightly.20221006
2022-10-06 06:01:26 -07:00
Samuel Attard
e1494ddc47
chore: cherry-pick c83640db21b5 from chromium ( #35924 )
...
* chore: cherry-pick c83640db21b5 from chromium
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-06 04:27:28 -07:00
Samuel Attard
e31c96a564
fix: only override valid electron module names ( #35915 )
...
Fixes #33014
2022-10-06 19:14:03 +09:00
Shelley Vohr
faafcc7f87
refactor: eliminate DecrementCapturerCount patch ( #35710 )
2022-10-05 19:51:33 +02:00
Shelley Vohr
a6b6816bec
build: clean up patch linting errors ( #35917 )
2022-10-05 10:34:53 -07:00
Sudowoodo Release Bot
f916ce2c49
Bump v23.0.0-nightly.20221005
2022-10-05 06:01:06 -07:00
Keeley Hammond
6196393c94
docs: update supported Mac versions ( #35911 )
2022-10-04 21:25:03 -07:00
Shmuel Leider
ff0517be3e
docs: update bluetooth fiddle example event name to trigger correct event ( #35894 )
...
* Fix event type spelling for bluetooth fiddle example
* docs: Fix event type spelling for bluetooth documentation fiddle example
2022-10-04 15:31:02 -04:00
Sudowoodo Release Bot
d8e037e426
Bump v23.0.0-nightly.20221004
2022-10-04 12:30:32 -07:00
Keeley Hammond
3bd85c8dc2
chore: update libcxx filenames ( #35904 )
...
* chore: update libcxx filenames
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-04 15:29:24 -04:00
Sudowoodo Release Bot
e63d4a6321
Revert "Bump v23.0.0-nightly.20221004"
...
This reverts commit 256d4678bb .
2022-10-04 08:16:47 -07:00
Sudowoodo Release Bot
256d4678bb
Bump v23.0.0-nightly.20221004
2022-10-04 06:00:58 -07:00
Samuel Attard
2cda1443fc
fix: ensure mas builds of the same application can use safestorage ( #35864 )
...
feat: ensure mas builds of the same application can use safestorage
This change ensures that MAS builds of applications with an equivilant darwin build that share the same name do not fight over access to the same Safe Storage account.
Specifically this changes the account name for app "My App" from "My App" to "My App AppStore" if the app is using a MAS build of Electron.
We attempt to migrate the safe storage key from the old account, if that migration succeeds we delete the old key and move on.
Existing apps that aren't built for the app store should be unimpacted, there is one edge case where a user uses BOTH an AppStore and a darwin build of the same app only one will keep it's access to the safestorage key as during the migration we delete the old account. This is an acceptable edge case as no one should be actively using two versions of the same app.
2022-10-03 23:36:17 -07:00
Samuel Attard
12eade752d
build: move from stale GH app to stale action ( #35845 )
...
* build: move from stale GH app to stale action
* Update .github/workflows/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
* Update .github/workflows/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
* Update .github/workflows/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-03 23:36:01 -07:00
Shelley Vohr
c76a931e20
fix: TryCatch scope in node_bindings ( #35850 )
...
fix: TryCatch scope in node_bindings
2022-10-03 23:35:20 -07:00
electron-roller[bot]
16f459228b
chore: bump chromium to 108.0.5329.0 (main) ( #35628 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-03 13:21:00 -07:00
Sudowoodo Release Bot
94955a7999
Bump v23.0.0-nightly.20221003
2022-10-03 06:01:17 -07:00
Sudowoodo Release Bot
29ca3d1467
Bump v23.0.0-nightly.20220930
2022-09-30 06:01:05 -07:00
Sudowoodo Release Bot
3f598ef1ed
Bump v23.0.0-nightly.20220929
2022-09-29 06:00:48 -07:00
Calvin
6a68afdb8a
docs: update breaking changes for v21 ( #35820 )
2022-09-28 09:47:25 -07:00
Sudowoodo Release Bot
fea844c3da
Bump v22.0.0-nightly.20220928
2022-09-28 06:01:05 -07:00
Jeremy Rose
f82a863f65
feat: replace scroll-touch* with generic input-event ( #35531 )
2022-09-27 12:47:46 -07:00
Shelley Vohr
dfb8a2d804
build: fix deps workflow tag comparison ( #35830 )
2022-09-27 12:24:11 -04:00
James Cash
998a0820d9
fix: set display_id in desktop capturer on Linux ( #33861 )
...
Previously, display_id was an empty string, pending Chrome support for
sharing individual screens. Now that this has been added, it is
desirable to have this property set correctly.
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-09-27 11:40:44 -04:00
Sudowoodo Release Bot
621baa7bb7
Bump v22.0.0-nightly.20220927
2022-09-27 06:01:07 -07:00
Felix Rieseberg
74d59af3c5
fix: Handle an electron.d.ts file in a custom build ( #33979 )
...
* Handle an electron.d.ts file in a custom build
* Fix linter issues
Co-authored-by: Felix Rieseberg <felixr@stripe.com >
2022-09-26 14:39:26 -04:00
Samuel Maddock
c09c94fc98
feat: add WebContents.opener and webContents.fromFrame() ( #35140 )
...
* feat: add WebContents.opener
* feat: add webContents.fromFrame(frame)
* fix: unknown type name
* test: fix and add more fromFrame cases
* docs: clarified terminology
2022-09-26 12:37:08 -04:00
John Kleinschmidt
697a219bcb
feat: add support for Web Bluetooth pin pairing ( #35416 )
...
* feat: add bluetooth pairing handler
* Update docs/api/session.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update docs/api/session.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* docs: update based on review
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: update docs per review
* chore: cleanup callback per review
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-09-26 10:19:58 -04:00
Shelley Vohr
f8077cc004
build: fix major dependencies update workflow file ( #35811 )
2022-09-26 10:15:37 -04:00
Sudowoodo Release Bot
e0b4c485fe
Bump v22.0.0-nightly.20220926
2022-09-26 06:01:48 -07:00
David Sanders
a2ae308448
build: remove unused GitHub app config file ( #35797 )
2022-09-26 10:55:52 +02:00
Dominik Ilja
7d96321786
docs: minor grammar fixes in tutorial ( #35804 )
2022-09-26 10:53:08 +02:00
electron-roller[bot]
39d79c5c28
chore: bump node to v16.17.1 (main) ( #35800 )
...
* chore: bump node in DEPS to v16.17.1
* 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>
2022-09-26 10:12:52 +02:00
Milan Burda
f62aab76b3
fix: potential exception when calling webFrameMainBinding.fromIdOrNull() ( #35785 )
...
* fix: potential exception when calling webFrameMainBinding.fromIdOrNull()
* replace try/catch in getWebFrameForEvent
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-09-24 12:19:07 -07:00
Samuel Attard
324db14969
fix: set macOS crypto keychain name earlier ( #34683 )
...
* fix: set macOS crypto keychain name earlier
* spec: ensure arm64 mac tests are cleaned up
2022-09-23 12:32:10 -07:00
Raymond Zhao
8a0b4fa338
feat: add app.getSystemLocale() method ( #35697 )
...
* feat: add app.getSystemLocale() method
* Update shell/browser/electron_browser_main_parts.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Change methods to be const
* Apply PR feedback
* Fix mac compile
* Add missing scope
* Apply style changes
* Change note
* Add braces to get the comment indentation right
* Change to static
* Apply PR feedback
* Fix the documentation
* Remove extraneous file
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-09-23 11:50:46 -07:00
Keeley Hammond
626e248dea
chore: update NMV for Electron 22 ( #35772 )
2022-09-23 11:38:29 -07:00
Keeley Hammond
22d6102702
docs: update E22 release dates ( #35773 )
...
* doc: update E22 release dates
* chore: update 18.0.0 supported chart
2022-09-23 11:38:02 -07:00
Sudowoodo Release Bot
ad33a5f364
Bump v22.0.0-nightly.20220923
2022-09-23 06:02:20 -07:00
Cyril Chukwuebuka
d357218654
docs: changed event.data to data under the message.port in docs ( #35086 )
...
* docs: changed event.data to data under the message.port in docs
* docs: corrected BrowserWindow wrong usage and change window.messagePort to window.electronMessagePort
2022-09-23 01:07:53 -07:00
Samuel Attard
c69754b8e6
build: make patches owned by patch-owners (formed by upgrades + security) ( #35778 )
2022-09-22 14:15:40 -07:00
Aman Gupta
0df8878da4
docs: update the link for Introduction to Node.js ( #35761 )
...
Updated the link for Introduction to NodeJs
2022-09-22 09:46:11 -07:00
Sudowoodo Release Bot
4438731124
Bump v22.0.0-nightly.20220922
2022-09-22 06:01:15 -07:00
Shelley Vohr
eb3262cd87
fix: allow docking DevTools with WCO ( #35754 )
...
fix: allow for docking devtools with WCO
2022-09-22 10:44:27 +02:00
George Xu
4ffdd284c3
docs: add forge-overview.md ( #35473 )
...
* docs: move forge-specific docs to electronforge.io
* docs: add reference to forge icon tutorial
* docs: add references to forge-overview.md
* docs: add recommended
* docs: update forge-overview
* docs: apply code review comments
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-09-21 16:49:22 -04:00
Alexander Prinzhorn
9719cea250
docs: remove claim that HTTPS authenticates the remote server ( #35526 )
...
Update security.md
I don't think this is accurate. This is not a feature of HTTPS. This would require certificate pinning. It has been in the security docs since 2db125890c
Related
https://github.com/electron/electron/issues/3330
https://www.npmjs.com/package/electron-ssl-pinning
https://cheatsheetseries.owasp.org/cheatsheets/Pinning_Cheat_Sheet.html
2022-09-21 16:19:04 -04:00
Akshay Deo
dfc134de42
feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge ( #34974 )
...
* feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge
* Updates exposeInIslatedWorld worldId documentation
2022-09-21 13:17:10 -05:00
Sudowoodo Release Bot
8c3c0f0b50
Bump v22.0.0-nightly.20220921
2022-09-21 06:01:04 -07:00
xrkffgg
0783692809
ci: add blocked/needs-repro issues-helper ( #35605 )
2022-09-21 10:58:15 +02:00
matthewloft
4935fd2422
fix: WebAuthn Discoverable Credential (Resident Credential) ( #35374 )
...
* fix: WebAuthn Discoverable Credential (Resident Credential) #33353
Enables support for Webauthn discoverable credentials (aka resident
credentials). This allows users to authenticate without first having to
select or type a username.
To decide if discoverable credentials are supported, the class
'AuthenticatorCommon', in the chrome content code, indirectly calls the
method 'context::WebAuthenticationDelegate.SupportsResidentKeys(..)'.
The default implementation of this returns false, leaving it up to
specific implementations to override.
This change adds a new class 'ElectronWebAuthenticationDelegate' to
subclass 'WebAuthenticationDelegate' and override the behaviour of the
'SupportsResidentKeys' method to return true.
The implementation is copied from the Chrome browser equivalent
'ChromeWebAuthenticationDelegate', though the chrome class includes
other methods that don't seem to be required for this functionality.
The 'ElectronContentClient' class was also updated to store an instance
of 'ElectronWebAuthenticationDelegate', and to provide an accessor
method, GetWebAuthenticationDelegate().
* Remove redundant, commented-out code
* style: comment cleanup
* style: updated comments and formatting based on pull request review
* style: fix lint error on header guard clause
2022-09-20 15:47:42 -07:00
Milan Burda
99f4a42d41
chore: add missing .eslintrc.json files to limit imports properly ( #35719 )
2022-09-20 13:25:33 -05:00
Sebastian Vittersø
b1d7b30ca3
docs: fix wording mistake in security.md section 4 ( #35682 )
...
Update security.md
Under "4. Process Sandboxing", it said "For mor information on what `contextIsolation` is..." which was the previous section (copied from there). This updates it to say "For more information on what Process Sandboxing is..."
2022-09-20 11:14:44 -04:00
Sudowoodo Release Bot
d71b5e53fd
Bump v22.0.0-nightly.20220920
2022-09-20 06:01:49 -07:00
Bruno Pitrus
6cc69122ce
chore: fix ambiguous reference gcc compile error ( #35714 )
2022-09-19 17:05:24 -05:00
Kishan Bagaria
76ce6d5fb4
fix: edge case in app.isInApplicationsFolder() ( #35636 )
...
* fix: edge case in IsInApplicationsFolder
* use realpath instead
* lint
* revert lowercasing
* optimize
* Update shell/browser/ui/cocoa/electron_bundle_mover.mm
* lint
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-09-19 14:19:49 -04:00
Sudowoodo Release Bot
01cf5c5f99
Bump v22.0.0-nightly.20220919
2022-09-19 07:46:33 -07:00
Sudowoodo Release Bot
80bcea7e55
Revert "Bump v22.0.0-nightly.20220919"
...
This reverts commit 9aed5bcac5 .
2022-09-19 07:45:31 -07:00
Sudowoodo Release Bot
9aed5bcac5
Bump v22.0.0-nightly.20220919
2022-09-19 06:01:44 -07:00
Jeremy Rose
eebf34cc6c
feat: add webContents.close() ( #35509 )
...
* feat: add webContents.close()
* update docs, add test for beforeunload override
* Update web-contents.md
2022-09-16 16:22:59 -07:00
Sudowoodo Release Bot
994834d25a
Bump v22.0.0-nightly.20220916
2022-09-16 06:01:11 -07:00
Milan Burda
7d3f22dd32
fix: uv_os_gethostname failing on Windows 7 (libuv patch regression) ( #35702 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-09-15 22:33:01 -07:00
Jeremy Rose
fa3cd17475
docs: reverse support matrix order ( #35699 )
2022-09-15 15:53:26 -07:00
Erik Marks
ee8a27492f
build: update .nvmrc Node.js version from 14 to 16 ( #35676 )
...
Update `.nvmrc` Node.js version from 14 to 16
The `DEPS` file states that Electron is on Node.js ^16.x. I am guessing that the PR bumping to Node.js 16 overlooked the `.nvmrc` file, which is updated in this PR. If leaving the `.nvmrc` file on 14 was intentional, please disregard this PR.
2022-09-15 15:40:18 -07:00
Samuel Attard
bd6612273b
build: add stale configuration ( #35698 )
...
* build: add stale configuration
* Update .github/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
* Update stale.yml
* Update .github/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-09-15 15:37:33 -07:00
Ryan Manuel
f25c87dc70
feat: allow custom v8 snapshots to be used in the main process and the default snapshot in the renderer process ( #35266 )
...
* Updates to allow for using a custom v8 snapshot file name
* Allow using a custom v8 snapshot file name
* Fix up patch due to merge
* Use fuse to set up custom v8 snapshot file in browser process
* Refactor to use delegate instead of command line parameter
* Refactoring
* Update due to merge
* PR comments
* Rename patch
* Rename patch
2022-09-15 13:21:16 -07:00
Milan Burda
5cf15cdab7
build: fix building with enable_basic_printing false ( #35687 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-09-15 19:29:10 +02:00
marekharanczyk
532162d2b5
fix: EventEmitter is missing properties in sandbox preload script. ( #35522 )
2022-09-15 09:33:08 -07:00
Sudowoodo Release Bot
30bdede09f
Bump v22.0.0-nightly.20220915
2022-09-15 06:02:38 -07:00
Shelley Vohr
38a7da692a
chore: make macOS spellchecker fns formal no-ops ( #35514 )
...
* chore: make macOS spellchecker fns formal no-ops
* docs: correct no-op note
* test: add no-op specs
2022-09-14 15:10:16 -07:00
Sudowoodo Release Bot
bf20aabb9e
Bump v22.0.0-nightly.20220914
2022-09-14 06:01:23 -07:00
Juan Cruz Viotti
3a3be23f0e
build: make check-symlinks.js aware of BRANDING.json changes ( #35579 )
...
Right now the `check-symlinks.js` assumes that the branding product name
is "Electron". If users change `BRANDING.json` on custom builds, the
script will fail.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2022-09-13 14:13:40 -07:00
Cheng Zhao
748c6af61e
docs: add back docs about asar archives ( #35563 )
2022-09-13 14:00:42 -07:00
Aryan Shridhar
f244e75927
docs: add IPC validation guideline link in checklist ( #35573 )
2022-09-13 13:56:41 -07:00
Shyamkumar Yadav
c847229a7e
docs: Markdown linting and typo ( #35568 )
...
* Fix reference definitions should be needed
* typo
* typo
* typo and style
* Fix reference definitions should be needed
* Fix typo
* restore to previous
2022-09-13 13:49:11 -07:00
Raymond Zhao
62502b8937
fix: allow maximizing when window enters tablet mode with WCO ( #35617 )
...
* fix: Backport CL 3753528 for WCO
* Update comment
* Update shell/browser/ui/views/win_caption_button_container.cc
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
2022-09-13 13:41:23 -07:00
Michaela Laurencin
12a7d7eea5
fix: remove extra dot in extension ( #35618 )
2022-09-13 11:47:04 -07:00
Jeremy Rose
9f97c3e50a
feat: expose content-bounds-updated event ( #35533 )
2022-09-13 10:49:34 -07:00
Leon Schwanitz
200153da8e
docs: fix typescript error in code samples ( #35641 )
...
Fixed typescript error
2022-09-13 09:38:06 -07:00
Sudowoodo Release Bot
71ba841f0a
Bump v22.0.0-nightly.20220913
2022-09-13 06:01:41 -07:00
Adrian Petrescu
ef463b39be
docs: Use inline image link in faq.md ( #35413 )
...
* Use absolute URL in faq.md image link
The relative link is rendered relative to the host domain, which works fine when viewing it on Github, but since you also use the same generated HTML in your doc site, the link is broken. See here: https://www.electronjs.org/docs/latest/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do
Using an absolute URL here should fix the issue on the main site.
* Use inline image reference for subpixel rendering example
As suggested by @dsanders11
2022-09-12 16:09:12 -07:00
Benjamin Pasero
6ec4c7e563
docs: add performance advice to disable default menu creation ( #35525 )
2022-09-12 15:29:42 -07:00
Milan Burda
b3a744db8a
fix: potential "Object has been destroyed" error in BrowserWindow.getFocusedWindow ( #35520 )
2022-09-12 14:46:05 -07:00
Sudowoodo Release Bot
c14f52aeb7
Bump v22.0.0-nightly.20220912
2022-09-12 06:01:41 -07:00
Sudowoodo Release Bot
88dac9afc5
Bump v22.0.0-nightly.20220909
2022-09-09 06:00:50 -07:00
Jeremy Spiegel
730d9181b3
fix: ensure history navigations are sandboxed-iframe-aware ( #35420 )
2022-09-09 09:08:56 +09:00
electron-roller[bot]
b0036ea43a
chore: bump chromium to 107.0.5286.0 (main) ( #35590 )
...
* chore: bump chromium in DEPS to 107.0.5286.0
* 3866335: media: Rename KeySystemProperties to KeySystemInfo - file renaming
https://chromium-review.googlesource.com/c/chromium/src/+/3866335
* 3864686: [PA] Introduce *Scan buildflag
https://chromium-review.googlesource.com/c/chromium/src/+/3864686
* chore: fixup patch indices
* 3849359: Remove unused PrefValueStore::Delegate
https://chromium-review.googlesource.com/c/chromium/src/+/3849359
* 3873005: [CodeHealth] Modernising extensions Tab utils
https://chromium-review.googlesource.com/c/chromium/src/+/3873005
* 3846595: Auto-select PipeWire target once selection is made
https://chromium-review.googlesource.com/c/chromium/src/+/3846595
* 3826169: [json-schema-compiler] Support abs::optional<bool>
https://chromium-review.googlesource.com/c/chromium/src/+/3826169
* fixup! Remove unused PrefValueStore::Delegate
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-09-08 16:23:08 -07:00
Jeremy Rose
a0dbae72c8
chore: remove UnresponsiveSuppressor altogether ( #35507 )
...
* chore: drop unresponsive suppressor for menu_mac
* also for views
* header
* chore: remove UnresponsiveSuppressor altogether
2022-09-08 15:49:33 -07:00
CanadaHonk
a0c20fef96
docs: fix misspelling in fuses ( #35609 )
2022-09-08 15:33:58 -07:00
Erick Zhao
34cb360730
docs: update sandbox renderer defaults for Electron 20 ( #35379 )
...
* docs: update E20 sandbox rendering defaults
* docs: update tutorial
* simplify paragraph
* dont mention context isolation
2022-09-08 13:21:50 -07:00
Raymond Zhao
4fb4167b8b
fix: Set background for WCO container ( #35569 )
...
* fix: Set background for WCO container
* Add background when invalidating as well
2022-09-08 22:11:51 +09:00
Sudowoodo Release Bot
17d5016163
Bump v22.0.0-nightly.20220908
2022-09-08 06:01:03 -07:00
Frank Pian
e3efa16415
fix: session.getBlobData never resolves with blob sizes > 65536 ( #35277 )
...
* fix: session.getBlobData never resolves with blob sizes > 65536 (#34398 )
* Add unit test case for session.getBlobData
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-09-07 17:47:06 -04:00
Kishan Bagaria
3a6d6ff008
docs: improve registerFileProtocol example ( #35580 )
...
* improve registerFileProtocol example
* link ProtocolResponse
* kick lint
2022-09-07 14:45:09 -04:00
John Kleinschmidt
ebd1c8358b
ci: make sure artifacts are saved for fork PRs ( #35593 )
2022-09-07 13:25:44 -04:00
Keeley Hammond
84c94c3ebb
chore: move dark mode activation to main_win.cc ( #35529 )
2022-09-07 09:39:35 -07:00
Samuel Attard
142eb89d5e
docs: add fuses and asar integrity docs ( #35528 )
2022-09-07 08:41:03 -07:00
Gregory R. Wroblewski
c16baa063a
docs: fix missing includes in code example ( #35479 )
2022-09-07 15:37:29 +02:00
dependabot[bot]
87145c393c
build(deps): bump ansi-regex from 4.1.0 to 4.1.1 ( #35541 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 15:34:15 +02:00
Jeremy Rose
7d89cb1bd4
chore: remove no-op force-paint for hidden windows ( #35532 )
...
* chore: remove no-op force-paint for hidden windows
* fix build
2022-09-07 11:48:59 +02:00
electron-roller[bot]
08ccc81574
chore: bump chromium to 107.0.5274.0 (main) ( #35375 )
...
* chore: bump chromium in DEPS to 106.0.5247.1
* chore: update can_create_window.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3805043
content/renderer/render_view_impl.cc was removed
* chore: update patches/chromium/printing.patch
Normal code shear.
* chore: update patches/chromium/add_contentgpuclient_precreatemessageloop_callback.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3764862
fix minor code shear that caused the patch to not apply
* chore: update patches/chromium/picture-in-picture.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3781646
Normal code shear.
* chore: update patches/chromium/allow_disabling_blink_scheduler_throttling_per_renderview.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3805043
content/renderer/render_view_impl.cc was removed
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3792324
Normal code shear.
* chore: update patches/chromium/feat_add_streaming-protocol_registry_to_multibuffer_data_source.patch
Normal code shear.
* chore: update patches/chromium/fix_patch_out_profile_refs_in_accessibility_ui.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3798548
Normal code shear.
* chore: update patches/chromium/build_disable_print_content_analysis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3810473
Normal code shear.
* chore: short-circuit_permissions_checks_in_mediastreamdevicescontroller.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3807504
Normal code shear.
* chore: update patches
* chore: bump chromium in DEPS to 106.0.5249.0
* chore: bump chromium in DEPS to 107.0.5250.0
* chore: bump chromium in DEPS to 107.0.5252.0
* chore: bump chromium in DEPS to 107.0.5254.0
* chore: bump chromium in DEPS to 107.0.5256.1
* chore: update v8 patches
* chore: update chromium patches
* [CodeHealthRotation] base::Value::Dict (v2) migration for //c/b/ui/zoom
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3778239
* Add support for snapped window states for lacros
https://chromium-review.googlesource.com/c/chromium/src/+/3810538
* webui: Migrate /chrome/browser/ui/webui URLDataSources to GetMimeType(GURL)
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3774560
* Provide explicit template arguments to blink::AssociatedInterfaceRegistry::AddInterface
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3773459
* Make WebScriptExecutionCallback base::OnceCallback
Refs
https://chromium-review.googlesource.com/c/chromium/src/+/3676532
https://chromium-review.googlesource.com/c/chromium/src/+/3724623
https://chromium-review.googlesource.com/c/chromium/src/+/3675752
* Add implementation of reduce accept language service
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3687391
* Add PermissionResult in //content/public.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3807504
* [Extensions] Add new Webstore domain to extension URLs and clients
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3793043
* chore: update node patches
* chore: fix lint
* chore: update filenames.libcxx.gni
* fixup! Make WebScriptExecutionCallback base::OnceCallback
* chore: bump chromium in DEPS to 107.0.5266.1
* chore: bump chromium in DEPS to 107.0.5268.0
* chore: bump chromium in DEPS to 107.0.5270.1
* chore: update patches
* 3848842: [DevTools] Added 'printing-in-progress' error code.
https://chromium-review.googlesource.com/c/chromium/src/+/38488
* 3855766: PA: Move the allocator shim files into partition_allocator/shim/ | https://chromium-review.googlesource.com/c/chromium/src/+/3855766
* Change gfx::Rect to blink::mojom::WindowFeatures in AddNewContents and some related functions.
https://chromium-review.googlesource.com/c/chromium/src/+/3835666
* Use base::FunctionRef for the various ForEachRenderFrameHost helpers.
https://chromium-review.googlesource.com/c/chromium/src/+/3767487
* [loader] Send cached metadata as part of OnReceiveResponse
https://chromium-review.googlesource.com/c/chromium/src/+/3811219
* 3832927: [json-schema-compiler] Support abs::optional<int>
https://chromium-review.googlesource.com/c/chromium/src/+/3832927
* Use unique_ptr for BrowserPluginGuestDelegate::CreateNewGuestWindow
https://chromium-review.googlesource.com/c/chromium/src/+/3847070
* 3847044: [Android] Dismiss select popup upon entering fullscreen
https://chromium-review.googlesource.com/c/chromium/src/+/3847044
* chore: update patches
* chore: add missing header
* Migration of chrome/ BrowserContextKeyedServiceFactory to ProfileKeyedServiceFactory Part 12
https://chromium-review.googlesource.com/c/chromium/src/+/3804581
* 3786946: cast pwrite64 arg to long to avoid compilation error on arm
https://chromium-review.googlesource.com/c/linux-syscall-support/+/3786946
* chore: update patches after rebase
* 3846114: float: Implement for lacros p2.
https://chromium-review.googlesource.com/c/chromium/src/+/3846114
* 3825237: Enable -Wunqualified-std-cast-call
https://chromium-review.googlesource.com/c/chromium/src/+/3825237
* chore: bump chromium in DEPS to 107.0.5272.0
* chore: update patches
* 3835746: Rename PepperPluginInfo to ContentPluginInfo
https://chromium-review.googlesource.com/c/chromium/src/+/3835746
* 3852542: Plumb drag-image rect from blink to browser to RenderWidgetHostImpl
https://chromium-review.googlesource.com/c/chromium/src/+/3852542
* 3826169: [json-schema-compiler] Support abs::optional<bool>
https://chromium-review.googlesource.com/c/chromium/src/+/3826169
Also 3840687: [json-schema-compiler] Support abs::optional<double>
https://chromium-review.googlesource.com/c/chromium/src/+/3840687
* 3857319: Reland "Remove PrefService::Get"
https://chromium-review.googlesource.com/c/chromium/src/+/3857319
* 3854614: Rework LinuxUi ownership and creation
https://chromium-review.googlesource.com/c/chromium/src/+/3854614
* chore: bump chromium in DEPS to 107.0.5274.0
* 3866104: [DownloadBubble] Change download notifications in exclusive_access
https://chromium-review.googlesource.com/c/chromium/src/+/3866104
* chore: update patches
* chore: disable optimization guide for preconnect feature
* 3860569: Enable -Wshadow on Linux.
https://chromium-review.googlesource.com/c/chromium/src/+/3860569
* chore: update patches after rebase
* fixup: update to accomodate Wc++98-compat-extra-semi flag
* Revert "fixup! Make WebScriptExecutionCallback base::OnceCallback"
This reverts commit 0866fe8648671f04e4ea45ceed85db6e4a3b260b.
* fixup! Make WebScriptExecutionCallback base::OnceCallback
* fixup! Make WebScriptExecutionCallback base::OnceCallback
* 3840937: [sandbox] Merge V8_SANDBOXED_POINTERS into V8_ENABLE_SANDBOX
https://chromium-review.googlesource.com/c/v8/v8/+/3840937
* fixup! chore: update can_create_window.patch
* chore: update patches
* 53946: Track SSL_ERROR_ZERO_RETURN explicitly.
https://boringssl-review.googlesource.com/c/boringssl/+/53946
* fixup: Migration of chrome/ BrowserContextKeyedServiceFactory to ProfileKeyedServiceFactory Part 12
https://chromium-review.googlesource.com/c/chromium/src/+/3804581
* 3805932: [headless] Added print compositor support for OOPIF printing.
https://chromium-review.googlesource.com/c/chromium/src/+/3805932
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: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-09-07 09:46:37 +02:00
Sudowoodo Release Bot
f53ca20d41
Bump v22.0.0-nightly.20220906
2022-09-06 07:21:50 -07:00
Sudowoodo Release Bot
e09a4a31ca
Revert "Bump v22.0.0-nightly.20220906"
...
This reverts commit bda094674f .
2022-09-06 06:55:15 -07:00
Sudowoodo Release Bot
bda094674f
Bump v22.0.0-nightly.20220906
2022-09-06 06:01:28 -07:00
Sudowoodo Release Bot
de206987fe
Bump v22.0.0-nightly.20220905
2022-09-05 06:01:13 -07:00
Shelley Vohr
2db0f7f8d4
fix: screen.getCursorScreenPoint() crash on Wayland ( #35503 )
...
fix: screen.getCursorScreenPoint() crash on Wayland
2022-09-05 10:10:50 +02:00
Sudowoodo Release Bot
98c0fa1c8b
Bump v22.0.0-nightly.20220902
2022-09-02 06:01:55 -07:00
Sudowoodo Release Bot
bfbe73396b
Bump v22.0.0-nightly.20220901
2022-09-01 06:00:49 -07:00
Jeremy Rose
6ad679f540
feat: webFrameMain.origin ( #35438 )
2022-08-31 17:40:57 -07:00
Jeremy Rose
a7248af79e
chore: remove unneeded SetBackgroundOpaque hack ( #35496 )
2022-08-31 17:40:26 -07:00
Jeremy Rose
f99122abfc
refactor: BrowserView is owned by a BaseWindow ( #35511 )
2022-08-31 17:40:02 -07:00
Jeremy Rose
9cdc8bf6ca
chore: drop unresponsive suppressor for menus ( #35498 )
2022-08-31 10:25:01 -07:00
Milan Burda
b7c5b48c38
test: move api-media-handler-spec from spec-main to spec ( #35518 )
2022-08-31 08:32:57 -07:00
Jeremy Rose
5fe1ac5c3d
refactor: simplify WebContents::Destroy ( #35510 )
2022-08-31 10:16:27 -05:00
Sudowoodo Release Bot
1830c0f6c3
Bump v22.0.0-nightly.20220831
2022-08-31 06:01:55 -07:00
Shelley Vohr
e0fb5cbe1f
fix: crash loading non-standard schemes in iframes ( #35485 )
2022-08-31 10:08:11 +02:00
Sudowoodo Release Bot
bfced8cbfe
Bump v22.0.0-nightly.20220830
2022-08-30 06:00:55 -07:00
Shelley Vohr
75f9573e53
fix: compensate for title bar height when setting bounds on BrowserView ( #34713 )
...
fix: compensate for title bar height when setting bounds
2022-08-29 17:53:03 +02:00
electron-roller[bot]
d0e220cbce
chore: bump node to v16.17.0 (main) ( #35350 )
...
* chore: bump node in DEPS to v16.17.0
* chore: fixup asar patch
* lib: use null-prototype objects for property descriptors
https://github.com/nodejs/node/pull/43270
* src: make SecureContext fields private
https://github.com/nodejs/node/pull/43173
* crypto: remove Node.js-specific webcrypto extensions
https://github.com/nodejs/node/pull/43310
* test: refactor to top-level await
https://github.com/nodejs/node/pull/43500
* deps: cherry-pick two libuv fixes
https://github.com/nodejs/node/pull/43950
* src: slim down env-inl.h
https://github.com/nodejs/node/pull/43745
* util: add AggregateError.prototype.errors to inspect output
https://github.com/nodejs/node/pull/43646
* esm: improve performance & tidy tests
https://github.com/nodejs/node/pull/43784
* src: NodeArrayBufferAllocator delegates to v8's allocator
https://github.com/nodejs/node/pull/43594
* chore: update patch indices
* chore: update filenames
* src: refactor IsSupportedAuthenticatedMode
https://github.com/nodejs/node/pull/42368
* src: add --openssl-legacy-provider option
https://github.com/nodejs/node/pull/40478
* lib,src: add source map support for global eval
https://github.com/nodejs/node/pull/43428
* trace_events: trace net connect event
https://github.com/nodejs/node/pull/43903
* deps: update ICU to 71.1
https://github.com/nodejs/node/pull/42655
This fails the test because it's missing https://chromium-review.googlesource.com/c/chromium/deps/icu/+/3841093
* lib: give names to promisified exists() and question()
https://github.com/nodejs/node/pull/43218
* crypto: add CFRG curves to Web Crypto API
https://github.com/nodejs/node/pull/42507
* src: fix memory leak for v8.serialize
https://github.com/nodejs/node/pull/42695
This test does not work for Electron as they do not use V8's
ArrayBufferAllocator.
* buffer: fix atob input validation
https://github.com/nodejs/node/pull/42539
* src: fix ssize_t error from nghttp2.h
https://github.com/nodejs/node/pull/44393
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-08-29 09:55:36 -04:00
Shelley Vohr
1847581848
fix: crash on WebWorker destruction ( #35422 )
2022-08-29 15:45:48 +02:00
Sudowoodo Release Bot
2f23bdb19e
Bump v22.0.0-nightly.20220829
2022-08-29 06:02:20 -07:00
Shelley Vohr
4744674e93
fix: crash when switching origins with emulation settings set ( #35466 )
2022-08-29 14:53:24 +02:00
Shelley Vohr
f6bbad287a
chore: use nghttp2's config.h on all platforms ( #35449 )
...
https://github.com/nodejs/node/pull/27283
2022-08-29 12:23:47 +02:00
Nik K
23264488c5
docs: update docs description to match sidebar ( #35144 )
...
Update introduction.md
2022-08-29 17:17:58 +09:00
Shelley Vohr
d829fb7ef2
chore: delete implicit fallthrough patch ( #35452 )
2022-08-26 13:21:33 +02:00
Samuel Attard
f65b05b8cc
fix: pass rfh instances through to the permission helper ( #35419 )
...
* fix: pass rfh instances through to the permission helper
* refactor: use WeakDocumentPtr instead of frame node id
* fix: handle missing initiator document
* fix: dispatch openExternal event for top level webview navs still
2022-08-26 12:31:33 +02:00
Shelley Vohr
8128fa6d85
build: fix missing patch config dir error ( #35451 )
2022-08-25 09:39:16 -07:00
Jeremy Rose
3eb593dfde
test: fix some broken globs for spec-main ( #35439 )
2022-08-25 09:36:08 -07:00
Sudowoodo Release Bot
3de7844212
Bump v22.0.0-nightly.20220825
2022-08-25 06:02:31 -07:00
Shelley Vohr
a3a9463024
fix: fullscreen crashing with roundedCorners: false ( #35421 )
2022-08-25 13:39:01 +02:00
Shelley Vohr
70d6cbfb44
chore: remove unused GuestViewContainer ( #35405 )
...
chore: remove unused GuestViewContainer
2022-08-25 15:56:47 +09:00
Shelley Vohr
22ff2b6b93
fix: Node.js atob input validation ( #35415 )
...
fix: Node.js atob input validation
2022-08-25 15:55:07 +09:00
Keeley Hammond
7e8607fd7a
ci: fix appveyor x64 tests ( #35406 )
...
* ci: fix appveyor x64 tests
* extract builtins-pgo to correct directory
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-08-25 10:11:44 +09:00
John Kleinschmidt
6f77e63804
ci: fixup doc-only-change on Windows ( #35431 )
2022-08-24 17:39:56 -04:00
John Kleinschmidt
07c3e62d68
build: fix export patches to work when source directory does not exist ( #35432 )
2022-08-24 17:37:11 -04:00
Sudowoodo Release Bot
e1459f4d50
Bump v22.0.0-nightly.20220824
2022-08-24 06:02:36 -07:00
Sudowoodo Release Bot
900ffede41
Bump v22.0.0-nightly.20220823
2022-08-23 06:01:36 -07:00
Michaela Laurencin
3ce35f224e
fix: add restore event for minimized maximization ( #35342 )
2022-08-23 10:32:42 +09:00
Raymond Zhao
0ff6508f5b
chore: apply chromium commit 30a32e6 ( #35370 )
...
chore: Apply Chromium commit 30a32e6
2022-08-23 10:31:23 +09:00
Robo
33325e3608
fix: undefined details.requestingUrl from session.setPermissionCheckHandler ( #35281 )
...
fix: undefined details.requestingUrl from setPermissionCheckHandler
2022-08-23 10:25:57 +09:00
Jeremy Rose
221bb51326
feat: session.setDisplayMediaRequestHandler ( #30702 )
2022-08-22 14:15:32 -07:00
Sudowoodo Release Bot
0c04be502c
Bump v22.0.0-nightly.20220822
2022-08-22 13:13:15 -07:00
Keeley Hammond
d6d86f8b16
build: update libcxx filenames ( #35397 )
...
* build: update libcxx filenames
* build: change upload_to_storage variable
2022-08-22 13:11:41 -07:00
Sudowoodo Release Bot
eca6029c0a
Revert "Bump v22.0.0-nightly.20220822"
...
This reverts commit fc2e6bd0ed .
2022-08-22 08:58:00 -07:00
Samuel Attard
9b2b1998b8
fix: ensure chrome colors are initialized ( #35034 )
...
* fix: ensure chrome colors are initialized
* build: fix linking on windows
* build: fix linking on windows
* build: add needed files to chromium_src/BUILD
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2022-08-22 16:38:45 +02:00
Sudowoodo Release Bot
fc2e6bd0ed
Bump v22.0.0-nightly.20220822
2022-08-22 06:02:41 -07:00
Robo
19baea4bc2
chore: update process singleton patch ( #35376 )
...
* chore: update process singleton patch
* fix: windows compilation error
* chore: remove outdated comment in patch
2022-08-20 07:45:58 +09:00
John Kleinschmidt
9b787d30f4
ci: use AppVeyor workflows ( #35377 )
...
* ci: use AppVeyor workflows
* fixup for skipping test on pr jobs
2022-08-19 13:10:16 -04:00
Sudowoodo Release Bot
748a739291
Revert "Bump v22.0.0-nightly.20220819"
...
This reverts commit b9bffb19ca .
2022-08-19 08:35:09 -07:00
Sudowoodo Release Bot
b9bffb19ca
Bump v22.0.0-nightly.20220819
2022-08-19 06:01:57 -07:00
Sudowoodo Release Bot
82f146e223
Revert "Bump v22.0.0-nightly.20220818"
...
This reverts commit 402553aeeb .
2022-08-18 08:56:57 -07:00
Sudowoodo Release Bot
402553aeeb
Bump v22.0.0-nightly.20220818
2022-08-18 06:01:56 -07:00
Jeremy Rose
1d6885c781
fix: don't bypass redirect checks ( #35357 )
2022-08-17 17:04:47 -07:00
electron-roller[bot]
97b353a30a
chore: bump chromium to 106.0.5216.0 (main) ( #34993 )
2022-08-17 11:35:53 -07:00
George Xu
e15e66f229
docs: add dependencies and troubleshooting section to build-instructions ( #35345 )
...
* docs: add dependencies and troubleshooting section to build-instructions
* docs: update certifi description
2022-08-17 10:54:49 -07:00
Sudowoodo Release Bot
532025c207
Bump v22.0.0-nightly.20220817
2022-08-17 06:05:24 -07:00
Robo
43182bf030
fix: promise support with webFrameMain.executeJavaScript ( #35292 )
...
* fix: promise support with webFrameMain.executeJavaScript
* chore: reject when result is an error
2022-08-17 13:08:13 +09:00
Bruno Pitrus
8e4a168a13
build: allow Linux distros to build against system shared libraries ( #34841 )
...
* build: allow Linux distros to build against system shared libraries
Add GN flags to build the embedded nodejs copy against system libraries
instead of vendored copies in `third_party/electron_node/deps`:
* cares
* llhttp
* nghttp2
* hdr_histogram
See also chromium's build/linux/unbundle/README for more
Electron-relevant information about vendored dependencies.
* Update patches/node/build_add_gn_build_files.patch
Co-authored-by: Darshan Sen <raisinten@gmail.com >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-08-16 22:50:15 -04:00
Raymond Zhao
947f1b0abf
fix: Frameless window shows frame while opening ( #35189 )
...
* fix: Frameless window shows frame while opening
* Clarify comments
* Inline setter
* Edit comment
2022-08-16 14:22:47 -07:00
Jeremy Rose
db7c92fd57
test: drop now-empty remote runner ( #35343 )
...
* test: drop the now-empty remote runner from CI
* move fixtures to spec-main
* remove remote runner
* fix stuff
* remove global-paths hack
* move ts-smoke to spec/
* fix test after merge
* rename spec-main to spec
* no need to ignore spec/node_modules twice
* simplify spec-runner a little
* no need to hash pj/yl twice
* undo lint change to verify-mksnapshot.py
* excessive ..
* update electron_woa_testing.yml
* don't search for test-results-remote.xml
it is never produced now
2022-08-16 15:23:13 -04:00
Sudowoodo Release Bot
e87c4015fe
Bump v22.0.0-nightly.20220816
2022-08-16 06:01:24 -07:00
Milan Burda
e85450b21a
fix: IPC emit order in -ipc-ports handler ( #35320 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-08-16 11:21:56 +09:00
Shelley Vohr
672539187c
fix: serialPort.open() failing ( #35306 )
...
fix: serialPort.open() failing
2022-08-15 11:49:20 -04:00
Zuohui Yang
cbc1ee5775
fix: add uv_loop_close when object release to fix crash ( #35322 )
...
Co-authored-by: yangzuohui <yangzuohui@bytedance.com >
2022-08-15 10:40:52 -04:00
Sudowoodo Release Bot
9c2d89476c
Bump v22.0.0-nightly.20220815
2022-08-15 06:01:59 -07:00
Milan Burda
8424779906
refactor: don't expose deprecate as an internal module ( #35311 )
2022-08-15 17:09:33 +09:00
Jeremy Rose
81766707fc
test: migrate remaining webview specs to main ( #35213 )
...
* test: migrate remaining webview specs to main
* fix merge
* add dirty-chai
* retry capturePage()
* fix test
2022-08-15 17:06:02 +09:00
Rhitik Bhatt
4cb57ad1a0
docs: removes unused import in preload script ( #35324 )
...
* Remove unused import of path
This import gives out the error in the preload script:
Error: module not found: path
at preloadRequire
* Removes unused import in preload script
notes: Removes unused import which causes issue in preload script of drag and drop tutorial
* Remove import path as it is not used in the script
note: Removes import path as it is not used in the script
2022-08-15 15:23:59 +09:00
Charles Kerr
a8934d2302
docs: add Electron deps to license credits file ( #35283 )
...
* docs: add Electron deps to license credits file
* fixup! docs: add Electron deps to license credits file
remove nan; it is dev-only
2022-08-15 10:35:12 +09:00
Shelley Vohr
f1216ca593
refactor: simplify Browser::SetLoginItemSettings ( #35303 )
...
refactor: simplify Browser::SetLoginItemSettings
2022-08-15 09:44:23 +09:00
Sudowoodo Release Bot
ceabca850c
Bump v22.0.0-nightly.20220812
2022-08-12 06:01:44 -07:00
Keeley Hammond
81d95b53b3
build: bump @electron/get to 2.0.0, node to >= 12+ ( #35301 )
...
* infra: bump @electron/get to 2.0.0, node to >= 12+
* chore: empty commit to trigger CircleCI
2022-08-11 15:31:24 +02:00
Shelley Vohr
4d54cadb28
fix: WCO occlusion of DevTools ( #35209 )
2022-08-11 15:16:12 +02:00
Sudowoodo Release Bot
eab7ab2c47
Bump v22.0.0-nightly.20220811
2022-08-11 06:01:27 -07:00
Sudowoodo Release Bot
882cdb1f7a
Bump v22.0.0-nightly.20220810
2022-08-10 06:01:07 -07:00
Samuel Attard
1d95b98cc8
docs: fix getStoragePath return type ( #35288 )
...
Fixes #35255
2022-08-09 22:39:36 -07:00
Milan Burda
8646bf8d30
chore: remove deprecated 'new-window' event ( #34526 )
2022-08-09 17:57:05 -04:00
Trang Le
32fefb1f50
fix(docs): fix a typo in section on debugging with VSCode ( #35256 )
...
fix(docs): fix a typo
2022-08-09 15:01:38 -04:00
Sudowoodo Release Bot
6548808054
Bump v22.0.0-nightly.20220809
2022-08-09 06:01:28 -07:00
Jeremy Rose
faa2f7afa3
test: migrate asar specs to main runner ( #35230 )
...
* test: migrate node specs to main
* test: migrate asar specs to main runner
* fix execFile
2022-08-09 09:39:14 +02:00
Darshan Sen
f3dbdaaf33
build: fix error in the ts-compile-doc-change step ( #35258 )
...
build: fix error in the ts-compile-doc-change step
Fixes the following error: https://app.circleci.com/pipelines/github/electron/electron/56517/workflows/ea0f6548-e0ac-40c6-bacb-e24610cd6670/jobs/1287168?invite=true#step-103-29
```sh
$ webpack --config build/webpack/webpack.config.asar.js --output-filename=asar.js --output-path=./.tmp --env.mode=development
[webpack-cli] Error: Unknown option '--env.mode=development'
[webpack-cli] Run 'webpack --help' to see available commands and options
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
This probably started happening because of the recent webpack upgrade
in https://github.com/electron/electron/pull/34990 .
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-08-08 17:09:09 -04:00
Sudowoodo Release Bot
0400eb2e60
Bump v22.0.0-nightly.20220808
2022-08-08 06:02:50 -07:00
Aaron Meriwether
91f9436ad8
fix: app.relaunch loses args when execPath specified ( #35108 )
2022-08-08 10:12:06 +02:00
Milan Burda
34b985c556
refactor: use optional chaining / nullish coalescing operator ( #35217 )
2022-08-08 10:11:04 +02:00
John Kleinschmidt
76431ac1fa
test: temporarily disable tests on mas arm64 that are causing a crash ( #35226 )
...
* test: temporarily disable test on mas arm64 that is causing crash
* disable the right test
* chore: speculative fix for CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER crash
* enable all the tests
* Revert "chore: speculative fix for CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER crash"
This reverts commit b7c8ef364c .
* test: disable tests that crash on mas arm64
2022-08-06 19:02:04 -04:00
Shelley Vohr
a11cc3274f
build: fix webpack prod failure ( #35227 )
2022-08-05 09:21:00 -07:00
Sudowoodo Release Bot
a719568ac1
Revert "Bump v22.0.0-nightly.20220805"
...
This reverts commit fbcd8f8a6e .
2022-08-05 07:54:04 -07:00
Sudowoodo Release Bot
fbcd8f8a6e
Bump v22.0.0-nightly.20220805
2022-08-05 06:01:13 -07:00
Jeremy Rose
aaa60dc0bc
test: migrate remaining chromium specs to main ( #35216 )
2022-08-04 17:20:56 -07:00
Jeremy Rose
4cfdef0ffd
test: migrate node specs to main ( #35212 )
2022-08-04 17:20:17 -07:00
Erick Zhao
b9fea0d2d2
docs: remove reference to electron/i18n in README ( #35228 )
2022-08-04 15:18:06 -07:00
Sudowoodo Release Bot
1b2e5b4106
Revert "Bump v22.0.0-nightly.20220804"
...
This reverts commit 47a08f9570 .
2022-08-04 08:27:56 -07:00
Sudowoodo Release Bot
47a08f9570
Bump v22.0.0-nightly.20220804
2022-08-04 06:00:52 -07:00
Brad Carter
21117ea5b2
docs: update tray docs with info for mac menubar icons ( #35136 )
2022-08-04 11:24:32 +02:00
Jeremy Rose
6d859dcd7f
feat: add WebContents.ipc ( #34959 )
2022-08-03 16:55:12 -07:00
Jeremy Rose
bba22ae720
test: migrate <webview> tag event specs to main runner ( #35077 )
2022-08-03 12:03:44 -07:00
Jeremy Rose
d15348ecc2
test: migrate webview attribute specs to spec-main ( #35076 )
2022-08-03 09:59:00 -07:00
Shelley Vohr
3baf713648
build: upgrade webpack and related deps ( #34990 )
2022-08-03 10:42:50 -04:00
Sudowoodo Release Bot
2b96d06960
Revert "Bump v21.0.0-nightly.20220803"
...
This reverts commit 4e919c919c .
2022-08-03 07:36:56 -07:00
TAN
c47031a279
docs: Fix the URL bugs at tutorial-6-publishing-updating.md ( #35175 )
...
* Update tutorial-6-publishing-updating.md
The dot at the end of the URL will depend on the site that cannot open. Because it will open `https://update.electronjs.org./ ` which does not exist.
* docs: fix the URL problems at tutorial-6-publishing-updating.md
The dot at the end of the URL will depend on the site that cannot open. Because it will open `https://update.electronjs.org./ ` which does not exist.
* docs: fix the URL problems at tutorial-6-publishing-updating.md
* docs: fix the URL problems at tutorial-6-publishing-updating.md
2022-08-03 10:20:37 -04:00
Erick Zhao
74432a313c
docs: fix link in tutorial ( #35192 )
...
Relands https://github.com/electron/electronjs.org-new/pull/240 upstream
2022-08-03 10:12:06 -04:00
Sudowoodo Release Bot
4e919c919c
Bump v21.0.0-nightly.20220803
2022-08-03 06:01:39 -07:00
Maya Nedeljković Batić
fb39f241fb
docs: update categories to match sidebar ( #35196 )
...
This page describes each of the categories available in the sidebar, but some of the category titles didn't match.
2022-08-03 12:03:45 +02:00
Cheng Zhao
afa4f5052b
fix: consider dock space when showing menu ( #35194 )
2022-08-03 17:52:42 +09:00
msizanoen1
7b8fb2b074
fix: Wayland general CSD fixes ( #34955 )
...
* fix: broken wayland window decorations due to botched chromium update
The `GetTitlebarBounds().height()` is obviously intended to be placed in
the `top` parameter, which used to be the second one before upstream
removed multi-parameter `gfx::Rect::Inset`, but it's the first parameter
for `gfx::Insets::TLBR`, which was intended to replace the removed
`Inset` function. However, whoever updated Chromium kept the parameter
unchanged, causing the title bar height to be passed to the `left`
parameter, causing the window title bar to be unclickable.
* fix: wayland window top bar buttons unclickable
Use NonClientFrameView::TargetForRect for the ClientFrameViewLinux
implementation because the default inherited from FramelessView blocks
any non-HTCLIENT events.
* fix: add maximized parameter to LinuxUI::GetWindowFrameProvider
* fix: pass frame_->IsMaximized() to GetWindowFrameProvider
This ensures that the toolkit renders the window decorations in maximized mode
while the window is maximized to ensure that there is no empty space around the window.
2022-08-03 17:51:52 +09:00
Cheng Zhao
4e8480b15b
chore: fix linking with component ffmpeg ( #35178 )
2022-08-03 16:51:30 +09:00
Keeley Hammond
3fe00d75e9
chore: update NMV for Electron 21 ( #35124 )
2022-08-02 12:57:42 -07:00
Jeremy Rose
3d4d1b33ba
fix: fail non-fatally when InitLogging fails ( #35138 )
2022-08-02 15:45:30 -04:00
Robo
53cd23159e
chore: remove unsupported skiptaskbar linux impl ( #35179 )
...
chore: unsupported skiptaskbar linux impl
2022-08-02 11:53:36 -07:00
Sudowoodo Release Bot
31be6ecf7b
Bump v21.0.0-nightly.20220802
2022-08-02 06:01:38 -07:00
Robo
e3893632e7
fix: touch events not recognized by WCO on windows ( #35117 )
2022-08-02 12:13:58 +09:00
Michaela Laurencin
0cdc946b27
fix: modify file extension generation on Windows ( #34723 )
...
* fix: modify file extension generation on Windows
* modify includes
* include vector in header
* add win build flags
* remove hardcoded strings
* Update shell/browser/electron_download_manager_delegate.h
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fix string manipulation and function definitions
* Update electron_download_manager_delegate.h
* convert to std::string and modify for electron
* Update shell/browser/electron_download_manager_delegate.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* remove vector include and update conversion
* add vectr include for lint
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-08-02 09:40:17 +09:00
John Kleinschmidt
0d36c0cdc6
ci: turn off windows on arm test result comments ( #35142 )
2022-08-01 18:59:20 -04:00
Shelley Vohr
7588bb7425
fix: DCHECK entering fullscreen while loading url ( #35111 )
...
* fix: DCHECK entering fullscreen while loading url
* spec: fixup test
2022-08-01 16:52:58 -04:00
Keeley Hammond
6c17dd2296
fix: ensure native modules use the correct config ( #35159 )
...
* fix: ensure native modules are built with config.gypi
This works by patching node.h to check that two defines are set using the equivilant of an XNOR operation. One define "ELECTRON_ENSURE_CONFIG_GYPI" is set via common.gypi which is _already_ used to build native modules and has been since the dawn of time. Therefore this define will be set for all native module compilations targetting the Electron runtime. The second define "USING_ELECTRON_CONFIG_GYPI" is only defined when the gypi argument "using_electron_config_gypi" is set to 1 which is only done so via config.gypi. Only new enough versions of node-gyp correctly use the config.gypi file thus resulting in a compilation error on version of node-gyp that are too old.
* chore: fix lint
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-08-01 07:52:26 -07:00
Sudowoodo Release Bot
29434ee7c6
Bump v21.0.0-nightly.20220801
2022-08-01 06:01:38 -07:00
Charles Kerr
b67c69d741
fix: remove skip-taskbar feature on Linux. ( #35123 )
2022-08-01 12:42:02 +02:00
Kilian Valkhof
00e9bf107a
docs: new main -> renderers messageChannel example ( #34978 )
...
* docs: new main -> renderers messageChannel example
* consistent use of your
* fix a typo
* linting
* markdown linting
* Update docs/tutorial/message-ports.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* update code example headings, reference contextIsolation example
* remove nodeIntegration: false from browserWindows
* rename "messagePort" to "electronMessagePort" for compatibility
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-07-29 09:47:43 -07:00
Shelley Vohr
9028bb79a8
fix: empty result of webContents.getUserAgent() ( #35069 )
...
fix: empty result of webContents.getUserAgent()
2022-07-29 11:09:47 -04:00
Sudowoodo Release Bot
8004cb8722
Bump v21.0.0-nightly.20220729
2022-07-29 06:00:43 -07:00
Sofia Nguy
7f757075bc
docs: update E21 release date ( #35122 )
...
* docs: update E21 release date
* chore: fix lint
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2022-07-28 21:54:48 -07:00
John Kleinschmidt
674596d11e
ci: switch to GHA for WOA ( #35109 )
...
* ci: switch to GHA for WOA
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-07-28 19:05:59 -04:00
Sudowoodo Release Bot
3c2ec2280e
Bump v21.0.0-nightly.20220728
2022-07-28 06:03:11 -07:00
Jeremy Rose
de1cec8693
test: migrate shell specs to main process ( #35058 )
2022-07-27 09:18:33 -07:00
Sudowoodo Release Bot
99c2706376
Bump v21.0.0-nightly.20220727
2022-07-27 06:01:22 -07:00
Stuart Schechter
63593ffb22
docs: don't wait for ready event to register open-url listener ( #35019 )
...
* Update app.md
Add warning about late registration of the open-url event.
* Update app.md
2022-07-27 14:00:35 +02:00
Samuel Attard
b0c6fb5152
chore: add electon deps to //src gitignore ( #35065 )
2022-07-27 13:15:34 +02:00
Jeremy Rose
77b4aab720
test: migrate the rest of the webFrame tests to main ( #35080 )
2022-07-27 11:10:14 +02:00
Jeremy Rose
7c2ed98214
test: migrate more chromium specs to main ( #35081 )
2022-07-27 11:10:04 +02:00
Charles Kerr
62001dc6cb
fix: crash on startup in X11 ( #35075 )
...
Fixes #34996 .
2022-07-27 13:44:44 +09:00
Keeley Hammond
ff804e3a74
fix: use win_clang_x64 binary for x86 extract symbols ( #35078 )
...
fix: use win_clang_x64 for x86 extract symbols
2022-07-27 13:33:07 +09:00
Ian German Mesner
9416091180
fix: allow setsize to be called within a move or resize for preventDefault ( #34843 )
...
fix : #34599 allow setsize to be called within a move or resize for preventDefault
2022-07-27 09:02:06 +09:00
Jeremy Rose
6d9e8b65bc
test: add process module tests for main process ( #35057 )
2022-07-26 15:42:50 -07:00
Shelley Vohr
b42fd1ddca
fix: handle WCO pressed state when going maximized -> minimized ( #35070 )
2022-07-26 13:30:15 -04:00
John Kleinschmidt
182ab9ad76
test: remove duplicate test that is causing hang in Windows ( #35071 )
2022-07-26 13:28:59 -04:00
Jeremy Rose
77e1a046ec
test: move chromium spec config to its own folder ( #35063 )
2022-07-26 09:37:11 -07:00
Devin Foley
0be73d18ef
fix: Make disable_color_correct_rendering patch work again ( #35050 )
...
Fix disable_color_correct_rendering patch.
2022-07-26 09:35:10 -07:00
Jeremy Rose
c842f63383
test: migrate process module specs to spec-main ( #35056 )
2022-07-26 09:31:26 -07:00
Sudowoodo Release Bot
6674082041
Bump v21.0.0-nightly.20220726
2022-07-26 06:01:07 -07:00
Jeremy Rose
cabfb8507d
test: remove references to robotjs ( #35064 )
2022-07-26 01:12:04 -07:00
Jeremy Rose
aa40652456
test: remove unused spec/expect-helpers ( #35055 )
2022-07-26 09:57:12 +02:00
Jeremy Rose
dd68fae081
test: migrate nativeImage specs to main ( #35062 )
...
* test: move nativeImage specs to main
* simplify test
2022-07-26 09:57:01 +02:00
Jeremy Rose
ad1bbc198b
test: migrate clipboard spec to spec-main ( #35059 )
2022-07-26 09:37:37 +02:00
electron-roller[bot]
2c51a81e85
chore: bump node to v16.16.0 (main) ( #34853 )
...
* chore: bump node in DEPS to v16.16.0
* chore: update patches
* 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>
2022-07-25 17:06:52 -04:00
John Kleinschmidt
648c9934c0
fix: properly fire serial-port-added and serial-port-removed events ( #34958 )
...
Based on 2309652: [webhid] Notify chooser context observers on shutdown | https://chromium-review.googlesource.com/c/chromium/src/+/2309652
2022-07-25 10:50:19 -04:00
Sudowoodo Release Bot
aeba6ca973
Bump v21.0.0-nightly.20220725
2022-07-25 06:01:47 -07:00
Mike Lee
49302e4a2f
docs: Add missing link to tutorial page ( #35035 )
...
Add missing link to tutorial page
2022-07-25 11:22:06 +02:00
Shelley Vohr
57c265198e
refactor: use Get/SetID from views:View in Button ( #35022 )
2022-07-25 09:46:14 +02:00
Keeley Hammond
08dd38d9be
docs: update build dependencies for Fedora ( #35024 )
2022-07-25 15:25:42 +09:00
Sudowoodo Release Bot
dd82a26e95
Bump v21.0.0-nightly.20220722
2022-07-22 06:01:06 -07:00
Jeremy Rose
3c63f075bd
chore: remove unused WebContents._sendToFrameInternal ( #35010 )
2022-07-21 10:25:54 -07:00
Sudowoodo Release Bot
fec4cca8d4
Bump v21.0.0-nightly.20220721
2022-07-21 06:01:19 -07:00
Shelley Vohr
1ed191114a
fix: clean up callback handling in webContents.print() ( #34894 )
...
* refactor: clean up callback handling in webContents.print()
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-07-21 12:46:15 +02:00
Milan Burda
d4e97483aa
refactor: only create webContents after 'will-attach-webview' ( #32941 )
2022-07-21 11:29:31 +02:00
dependabot[bot]
7ae3025fd5
build(deps): bump terser from 4.6.7 to 4.8.1 ( #34987 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.6.7 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 11:15:00 +02:00
Valentin Hăloiu
67eda4bcc8
fix: add support for --ozone-platform-hint flag on Linux ( #34937 )
2022-07-21 10:37:54 +02:00
Sudowoodo Release Bot
9f0e7126c4
Bump v21.0.0-nightly.20220720
2022-07-20 08:02:19 -07:00
Keeley Hammond
be7f90481d
build: update mediastreamdevicescontroller.patch ( #34995 )
2022-07-20 08:00:31 -07:00
Sudowoodo Release Bot
6dc1218c37
Revert "Bump v21.0.0-nightly.20220720"
...
This reverts commit cffcd0d47a .
2022-07-20 07:14:04 -07:00
Sudowoodo Release Bot
cffcd0d47a
Bump v21.0.0-nightly.20220720
2022-07-20 06:01:09 -07:00
electron-roller[bot]
9e0a3c44dd
chore: bump chromium to 105.0.5187.0 (main) ( #34921 )
...
* chore: bump chromium in DEPS to 105.0.5179.0
* chore: update patches
* 3758224: Reland^2 "[flags] Enable freezing of flags"
https://chromium-review.googlesource.com/c/v8/v8/+/3758224
* chore: bump chromium in DEPS to 105.0.5181.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5183.0
* chore: bump chromium in DEPS to 105.0.5185.0
* chore: bump chromium in DEPS to 105.0.5187.0
* chore: update patches
* 3723298: Pass RemoteFrame mojo channels through its creation messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3723298
* 3737382: [Code Heath] Replace base::{ListValue,DictionaryValue} in skia et al
https://chromium-review.googlesource.com/c/chromium/src/+/3737382
* Pass RemoteFrame mojo channels through its creation messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3723298
* Changed PrintRenderFrame.PrintWithParams mojo interface to use callback.
https://chromium-review.googlesource.com/c/chromium/src/+/3761203
* 3738183: [CSP] Add support for `DisableWasmEval`
https://chromium-review.googlesource.com/c/chromium/src/+/3738183
* 3740498: Move LinuxUI from //ui/views/linux_ui to //ui/linux
https://chromium-review.googlesource.com/c/chromium/src/+/3740498
* 3558277: Moves subsystem and semantics to enum class
https://chromium-review.googlesource.com/c/chromium/src/+/3558277
* chore: fix broken steps-electron-gn-check
* 3749583: [arm64] Fix undefined symbol linker error
https://chromium-review.googlesource.com/c/v8/v8/+/3749583
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: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-07-20 13:03:34 +02:00
Shelley Vohr
1b96a3aa1d
build: consolidate gn templates ( #34918 )
2022-07-20 11:14:54 +02:00
Jeremy Rose
3c7d446fad
refactor: unduplicate MediaStreamDevicesController ( #34895 )
...
* refactor: unduplicate MediaStreamDevicesController
* restore old logic for GUM_* request types
* lint
* gn format
* add test for unsupported getDisplayMedia
* simplify + comment
2022-07-20 17:09:14 +09:00
Alexander Petrov
60b6e74e3f
fix: merge crash annotations instead of overwriting ( #34795 )
...
ElectronCrashReporterClient::GetProcessSimpleAnnotations() merges
annotations provided as argument with global_annotations_,
preserving useful information.
2022-07-19 09:18:04 -07:00
Sudowoodo Release Bot
ba25714e16
Bump v21.0.0-nightly.20220719
2022-07-19 06:01:27 -07:00
Shelley Vohr
05d4966251
fix: delegate to PrintViewManagerBase on failed print ( #34893 )
...
fix: delegate to PrintViewManagerBase on failed print
2022-07-19 14:46:08 +02:00
Shelley Vohr
eb8c9452cb
fix: crash on BrowserWindow.setEnabled() ( #34904 )
...
fix: crash on BrowserWindow.setEnabled()
2022-07-19 12:31:49 +02:00
Shelley Vohr
38848c5bf7
test: optionally validate disabled Node.js specs ( #34899 )
2022-07-19 12:14:21 +02:00
Shelley Vohr
57b02e153d
fix: potential hang on print settings failure ( #34892 )
2022-07-19 11:45:10 +02:00
John Kleinschmidt
8a0df1f487
ci: wait longer for goma to be ready ( #34956 )
2022-07-19 10:20:16 +02:00
Sudowoodo Release Bot
c4cde78818
Bump v21.0.0-nightly.20220718
2022-07-18 06:01:46 -07:00
Samuel Attard
f1746c81c6
fix: do not define _LIBCPP_ABI_NAMESPACE=Cr for all native modules ( #34932 )
...
This define is only needed when linking against Chromiums libc++ which we currently
do not ship / expose the symbols of. We probably should make those symbols visible and
actually ensure that electron-rebuild et. al link against our libc++ instead of the system libc++
but for now this fixes compilation issues on macOS where the default system clang links to the system libc++
which does not (obviously) use the Chromium ABI namespace.
For our nan tests which do link against Chromiums libc++ we define the ABI namespace in the spec runner.
2022-07-15 16:57:29 -07:00
Sudowoodo Release Bot
9d23a624c1
Bump v21.0.0-nightly.20220715
2022-07-15 15:12:54 -07:00
Keeley Hammond
574da5a9a1
chore: cherry-pick 5e227bebf193 from v8 ( #34931 )
...
* chore: cherry-pick 5e227bebf193 from v8
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-07-15 15:12:01 -07:00
Sudowoodo Release Bot
2afb284456
Revert "Bump v21.0.0-nightly.20220715"
...
This reverts commit 4bec26cd0c .
2022-07-15 07:32:25 -07:00
Sudowoodo Release Bot
4bec26cd0c
Bump v21.0.0-nightly.20220715
2022-07-15 06:01:14 -07:00
Sudowoodo Release Bot
0cb39b5bb5
Revert "Bump v21.0.0-nightly.20220714"
...
This reverts commit e9f42b4ad4 .
2022-07-14 08:12:33 -07:00
Sudowoodo Release Bot
e9f42b4ad4
Bump v21.0.0-nightly.20220714
2022-07-14 06:03:36 -07:00
Samuel Attard
9a5d759ea3
fix: ensure that v8 sandbox isnt enabled for arm ( #34914 )
2022-07-14 10:46:41 +02:00
electron-roller[bot]
d32e6cc252
chore: bump chromium to 105.0.5173.0 (main) ( #34770 )
...
* chore: bump chromium in DEPS to 105.0.5147.0
* chore: update chromium/can_create_window.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3642216
fix minor code shear in patch
* chore: update chromium/port_autofill_colors_to_the_color_pipeline.patch
Xref: chromium/port_autofill_colors_to_the_color_pipeline.patch
fix minor code shear in patch
* chore: remove chromium/posix_replace_doubleforkandexec_with_forkandspawn.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3727368
Removing upstreamed patch
* chore: update patches
* chore: update patches
* chore: add new enum kOffscreenDocument to switch statement
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3722498
* chore: add stub for new parent virtual method OnNewCropVersion()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3717305
* chore: remove download_schedule arg from DownloadTargetCallback invocation
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3711096
Clean up DownloadLater flags and prefs
* chore: add stub for new parent virtual method OnNewCropVersion()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3717305
* chore: use base::List for extensions::Event
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3718366
Remove Event constructor overloads that take vector<base::Value>
* refactor: replace ClearStorageDataOptions.origin with .storage_key
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3702946
Refactor ClearData to take StorageKey
* chore: bump chromium in DEPS to 105.0.5149.0
* chore: update patches
* refactor: migrate InspectableWebContents to base::Value::List
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3726326
Migrate DevToolsEmbedderMessageDispatcher to base::Value::List.
* refactor: update electron_api_clipboard_mac Clipboard::ReadFindText()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3721398
Mac: Remove unused FindPasteboard C++ interface
* chore: bump chromium in DEPS to 105.0.5151.0
* chore: fix code shear in chromium/build_do_not_depend_on_packed_resource_integrity.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3714995
Move Cart DB proto to //components/commerce
* Revert "chore: fix code shear in chromium/build_do_not_depend_on_packed_resource_integrity.patch"
This reverts commit f8de4605eb3d35152b186646fefd8e88d1df836b.
* chore: fix code shear in chromium/build_do_not_depend_on_packed_resource_integrity.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3714995
Move Cart DB proto to //components/commerce
* chore: update patches
* chore: update ElectronAccessibilityUIMessageHandler to use base::Value::List
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3733367
Convert /chrome/browser/accessibility away from WebUI::RegisterDeprecatedMessageCallback
* chore: bump chromium in DEPS to 105.0.5153.0
* chore: bump chromium in DEPS to 105.0.5155.0
* chore: bump chromium in DEPS to 105.0.5157.0
* chore: bump chromium in DEPS to 105.0.5159.0
* chore: update patches
* chore: update CL reference
* Replace ContentMainDelegate::InvokedIn with a variant
https://chromium-review.googlesource.com/c/chromium/src/+/3705957
* Switch devtools_frontend.mojom to mojom.DictValue.
https://chromium-review.googlesource.com/c/chromium/src/+/3726425
* webhid: Bind HID service with service workers
https://chromium-review.googlesource.com/c/chromium/src/+/3680562
* chore: fix lint
* Don't fire load-complete AX notification on macOS for unfocused windows
https://chromium-review.googlesource.com/c/chromium/src/+/3695403
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5165.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5167.0
* chore: bump chromium in DEPS to 105.0.5169.0
* chore: bump chromium in DEPS to 105.0.5171.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5173.0
* chore: update patches
* 3743346: Stop generating unsupported policies on macOS
https://chromium-review.googlesource.com/c/chromium/src/+/3743346
* 3727612: [Bluetooth][Win] Refactor pairing prompt code
https://chromium-review.googlesource.com/c/chromium/src/+/3727612
* 3737325: system-extensions: Move IsEnabled() out of SystemExtensionsProvider.
https://chromium-review.googlesource.com/c/chromium/src/+/3737325
* 3748635: Remove RenderView from the public API.
https://chromium-review.googlesource.com/c/chromium/src/+/3748635
* fixup: 3743346: Stop generating unsupported policies on macOS
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: John Kleinschmidt <jkleinsc@electronjs.org >
2022-07-13 17:26:16 -04:00
Gellert Hegyi
440c575aa6
fix: alwaysOnTop browser window option for X11 Linux ( #34766 )
...
fix: alwaysontop browser window option for x11
2022-07-13 11:59:57 -07:00
Sudowoodo Release Bot
46e5c537c8
Bump v21.0.0-nightly.20220713
2022-07-13 06:01:20 -07:00
Shelley Vohr
07d168343a
fix: enable deviceName validation on Linux ( #34872 )
2022-07-13 12:23:24 +02:00
Shelley Vohr
62aeb74d7c
fix: base::DictionaryValue usage in APNS notifs ( #34897 )
2022-07-13 12:22:17 +02:00
Joan Xie
afd08c9450
feat: Enable APNS registration + notification delivery in macOS apps ( #33574 )
2022-07-12 08:38:49 -07:00
Sudowoodo Release Bot
5314ae5342
Bump v21.0.0-nightly.20220712
2022-07-12 06:01:28 -07:00
Samuel Attard
511ff8bc8d
fix: ensure that requestMediaKeySystemAccess resolves ( #34886 )
...
When widevine was disabled at the build level we never dealt with the callback passed into GetSupportedKeySystems. This was ok until requests became marked pending in https://chromium-review.googlesource.com/c/chromium/src/+/3430502 until the callback was called. This resulted in a promise never resolving / rejecting and certain media websites (E.g. spotify) hanging on load waiting for a signal that would never arrive.
2022-07-12 00:48:51 -07:00
Shelley Vohr
95019f0454
fix: update Windows caption buttons to match Win11 style ( #34790 )
2022-07-12 09:13:40 +02:00
Jeremy Rose
4190ec2482
feat: sandbox preloads by default ( #32869 )
2022-07-11 16:28:09 -07:00
Valentin Hăloiu
f63bba8ce2
fix: set Wayland application ID ( #34855 )
...
* refactor: extract XDG app ID logic into a method
* fix: set application ID on Wayland
2022-07-11 11:26:18 -07:00
Sudowoodo Release Bot
8f3fb8db09
Bump v21.0.0-nightly.20220711
2022-07-11 06:01:12 -07:00
David Sanders
2b862c18ba
chore: improve run-clang-tidy.ts behavior when filenames < jobs ( #34736 )
2022-07-11 12:25:39 +02:00
Samuel Attard
fa8e4a7610
build: use third_party DEPOT_TOOLS when running lint scripts ( #34846 )
...
Some folks (especially build_tools users) do not have a version of depot_tools on their path
2022-07-11 12:25:17 +02:00
Shelley Vohr
2eb0e5dcab
fix: safer check for WCO button updates ( #34833 )
2022-07-11 11:45:01 +02:00
Samuel Attard
459404f536
build: run CI tests on Xcode 13.3.0 ( #34850 )
...
* build: test disabling security
* build: install python2 during tests
* build: do not install python2 on arm64 runners
* attempt 2
* build: only allow 13.3.0 xcode
2022-07-11 17:04:32 +09:00
Sudowoodo Release Bot
78848f8bfe
Bump v21.0.0-nightly.20220708
2022-07-08 06:01:44 -07:00
Samuel Attard
eba9d3fc79
fix: ensure v8 pointer compression + sandbox is enabled on 64bit native modules ( #34844 )
...
* fix: ensure v8 pointer compression + sandbox is enabled on 64bit native modules
* build: rely on config.gypi to enable pointer compression
2022-07-08 01:06:06 -07:00
Shelley Vohr
1941c88442
fix: setRepresentedFilename with non-default titlebarStyle ( #34834 )
...
fix: setRepresentedFilename with non-default titlebarStyle
2022-07-07 23:33:42 -07:00
Keeley Hammond
e83c3ec744
test: add first-party-set chromium tests ( #34827 )
...
test: add first-part-set chromium feature tests
2022-07-07 15:14:53 -04:00
Shelley Vohr
7ec88584b5
fix: WCO pressed background state updates ( #34771 )
2022-07-07 17:17:20 +02:00
Sudowoodo Release Bot
47d8d4cc5c
Bump v21.0.0-nightly.20220707
2022-07-07 06:01:40 -07:00
Sudowoodo Release Bot
f7428baace
Bump v21.0.0-nightly.20220706
2022-07-06 06:02:02 -07:00
Jeremy Rose
403bd39d05
chore: modernize base::Value useage in asar/archive ( #34796 )
2022-07-05 12:35:38 -04:00
David Sanders
c418275228
chore: update Discord invite links ( #34730 )
2022-07-05 11:55:15 -04:00
David Sanders
98cd16d336
chore: fix typos ( #34731 )
2022-07-05 11:49:56 -04:00
Jeremy Rose
e5db178ab6
feat: enable v8 sandboxed pointers ( #34724 )
...
* feat: enable v8 sandboxed pointers
* update breaking-changes.md
* update zero-fill patch
benchmarks showed the function call was slower
2022-07-05 11:28:22 -04:00
Jeremy Rose
0ee7f14190
chore: modernize Value usage in converters ( #34794 )
...
* chore: modernize Value usage in converters
* Date is parsed as an empty object now
2022-07-05 11:25:18 -04:00
Sudowoodo Release Bot
d28ed0da20
Bump v21.0.0-nightly.20220705
2022-07-05 06:01:17 -07:00
Sudowoodo Release Bot
1edf9d2ada
Bump v21.0.0-nightly.20220704
2022-07-04 06:02:50 -07:00
Sudowoodo Release Bot
d359736e65
Bump v21.0.0-nightly.20220701
2022-07-01 06:00:58 -07:00
Darshan Sen
c885f9063b
docs: document the removal of IA32 Linux support ( #34787 )
...
* docs: document the removal of IA32 Linux support
Chromium had dropped support for IA32 Linux, so the Chromium
102.0.4999.0 upgrade PR,
https://github.com/electron/electron/pull/33731 , had introduced the commit,
389ef0731e ,
to drop support for IA32 Linux but the change landed without an addition
to the documentation for the breaking changes, so this PR adds that.
Closes: https://github.com/electron/electron/issues/34783
Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=1194538
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* Update docs/breaking-changes.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2022-06-30 09:23:03 -07:00
Sudowoodo Release Bot
c3920c5c02
Bump v21.0.0-nightly.20220630
2022-06-30 06:02:00 -07:00
David Sanders
5d120359f6
chore: used nested namespaces ( #34737 )
2022-06-29 12:55:47 -07:00
Jeremy Rose
0d4e417594
chore: modernize ListValue usage in permission manager ( #34662 )
2022-06-29 10:09:48 -07:00
Jeremy Rose
4ddd03b1b3
chore: modernize some devtools code using deprecated ListValue ( #34655 )
2022-06-29 09:39:48 -07:00
Shelley Vohr
7c12baccab
build: remove appveyor hook to defunct service ( #34789 )
2022-06-29 17:19:05 +02:00
Sudowoodo Release Bot
461561c19c
Bump v21.0.0-nightly.20220629
2022-06-29 06:01:40 -07:00
Josh Soref
1f814eacb2
build: fix release_dependency_versions workflow ( #34573 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2022-06-29 14:55:59 +02:00
Shelley Vohr
ad2b1fee59
fix: re-enable HKDF crypto functionality ( #34767 )
...
* fix: re-enable HKDF crypto functionality
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-06-29 14:53:57 +02:00
Shelley Vohr
35ff95d3c7
fix: <datalist> bounds vertical cutoff ( #34759 )
2022-06-29 10:14:03 +02:00
Sudowoodo Release Bot
6257e0c348
Bump v21.0.0-nightly.20220628
2022-06-28 20:28:29 -07:00
Keeley Hammond
3310e4039f
build: update makeRequest parameters ( #34782 )
2022-06-28 20:26:00 -07:00
Jeremy Rose
40fbc05bb2
chore: modernize base::Value usage in accessibility_ui ( #34666 )
2022-06-28 16:40:56 -07:00
Keeley Hammond
3458eac276
chore: update printing patch for main gclient sync ( #34777 )
...
chore: update printing patch
2022-06-28 16:40:23 -07:00
Samuel Attard
44b9ee51f4
fix: resolve symlinks when computing relative asar paths for integrity ( #34776 )
2022-06-28 16:02:00 -07:00
Jeremy Rose
07294cbf15
chore: modernize ListValue usage in gpu info ( #34663 )
2022-06-28 09:52:59 -07:00
Sudowoodo Release Bot
a4043237da
Revert "Bump v21.0.0-nightly.20220628"
...
This reverts commit f1087cc830 .
2022-06-28 07:40:00 -07:00
Micha Hanselmann
704b2199b3
build: fix building with enable_basic_printing false ( #34711 )
...
* build: fix building with enable_basic_printing false
* temp flags for ci builds
* fix other systems
* disable cups
* disable print preview
* revert changes
* merge with printing.patch
2022-06-28 16:34:00 +02:00
Sudowoodo Release Bot
f1087cc830
Bump v21.0.0-nightly.20220628
2022-06-28 07:07:08 -07:00
Sudowoodo Release Bot
d028044a24
Revert "Bump v21.0.0-nightly.20220628"
...
This reverts commit 9c311a2059 .
2022-06-28 07:05:52 -07:00
Sudowoodo Release Bot
9c311a2059
Bump v21.0.0-nightly.20220628
2022-06-28 06:01:35 -07:00
dependabot[bot]
47afaddaf5
build(deps-dev): bump got from 6.7.1 to 11.8.5 ( #34697 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 6.7.1 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v6.7.1...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 11:18:47 +02:00
David Sanders
59d3c12cae
chore: remove spurious trailing namespace comments ( #34732 )
2022-06-28 10:08:55 +02:00
electron-roller[bot]
e86d1cba75
chore: bump chromium to 105.0.5129.0 (main) ( #34403 )
...
* chore: bump chromium in DEPS to 104.0.5096.0
* 3651284: Use the entry settings object for window.open navigation
https://chromium-review.googlesource.com/c/chromium/src/+/3651284
* 3644598: Make RenderFrameHost used for notification permission decision
https://chromium-review.googlesource.com/c/chromium/src/+/3644598
* 3642842: Window Placement: Prototype Fullscreen Capability Delegation - Part 2
https://chromium-review.googlesource.com/c/chromium/src/+/3642842
* 3652785: [sandbox] Enable sandboxed pointers on sanitizer builds
https://chromium-review.googlesource.com/c/v8/v8/+/3652785
* 3611967: webhid: Migrate HidDelegate to use BrowserContext and Origin
https://chromium-review.googlesource.com/c/chromium/src/+/3611967
* 3665762: Remove RenderFrameHost::IsRenderFrameCreated from //content/.
https://chromium-review.googlesource.com/c/chromium/src/+/3665762
* 3659375: Fold x509_util_ios and most of x509_util_mac into x509_util_apple
https://chromium-review.googlesource.com/c/chromium/src/+/3659375
* 3656234: [CodeHealth] Remove uses of base::ListValue::Append() (Final, take 2)
https://chromium-review.googlesource.com/c/chromium/src/+/3656234
* chore: update patch indices
* chore: fix lint
* 3644598: Make RenderFrameHost used for notification permission decision
https://chromium-review.googlesource.com/c/chromium/src/+/3644598
* webhid: Migrate HidDelegate to use BrowserContext and Origin
This is a temporary fix for https://chromium-review.googlesource.com/c/chromium/src/+/3611967 to get the build compiling, but we need to either patch around https://chromium-review.googlesource.com/c/chromium/src/+/3611967 or move our device permissioning to BrowserContext
* chore: fix lint
* build: run electron/script/gen-libc++-filenames.js
fixes gn check
* chore: bump chromium in DEPS to 104.0.5098.0
* chore: disable flaking tests
* 3682394: Change pipes surrounding code references in comments to backticks
https://chromium-review.googlesource.com/c/chromium/src/+/3682394
* 3652749: Delete GLRenderer and related classes
https://chromium-review.googlesource.com/c/chromium/src/+/3652749
* chore: fixup patch indices
* 3671199: Remove ContentMainDelegate::PostFieldTrialInitialization
https://chromium-review.googlesource.com/c/chromium/src/+/3671199
* 3607963: hid: Do not exclude HID device with no collections
https://chromium-review.googlesource.com/c/chromium/src/+/3607963
* refactor: use ElectronBrowserContext instead of WebContents to persist devices
due to changes like https://chromium-review.googlesource.com/c/chromium/src/+/3611967 ,
we can no longer use WebContents to store device permissions so this commit
moves device permission storage to live in memory in ElectronBrowserContext
instead.
* 3557253: Deprecate some signature checks
https://chromium-review.googlesource.com/c/v8/v8/+/3557253
* chore: bump chromium in DEPS to 104.0.5100.0
* 3680781: Add policy for Renderer App Container.
https://chromium-review.googlesource.com/c/chromium/src/+/3680781
* chore: update patch indices
* 3675465: Update NetLog network service API to use mojom::DictionaryValue.
https://chromium-review.googlesource.com/c/chromium/src/+/3675465
* chore: bump chromium in DEPS to 104.0.5102.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5103.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5104.0
* chore: update patches
* fix: add patch for DCHECK in fullscreen test
* build: fix nan build
* build: make the nan spec runner work on macOS
* chore: bump chromium in DEPS to 104.0.5106.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5108.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5110.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5112.0
* chore: bump chromium in DEPS to 105.0.5113.0
* chore: bump chromium in DEPS to 105.0.5115.0
* chore: bump chromium in DEPS to 105.0.5117.0
* chore: update patches
* chore: update libcpp patch
* 3693745: Delete base::LowerCaseEqualsASCII()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3693745
* 3669226: Remove printing PostTask usage of IO thread
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3669226
* 3687395: Remove DictionaryValue::HasKey().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3687395
* 3691014: Prevent unsafe narrowing: ui/accessibility, part 2
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3691014
* 3560567: [MSC] Porting GenerateStreams clients to handle stream vectors.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3560567
* 3684873: [Bluetooth][Win/Linux] Add bluetooth pair confirmation prompt
https://chromium-review.googlesource.com/c/chromium/src/+/3684873
* chore: bump chromium in DEPS to 105.0.5119.0
* chore: missing includes in desktop_notification_controller
* chore: update patches
* 3685951: Reland "Make sure screen object is created once in tests."
https://chromium-review.googlesource.com/c/chromium/src/+/3685951
* fixup: Reland "Make sure screen object is created once in tests."
* 3646014: [API] Deprecate LegacyOOMErrorCallback
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3646014
* chore: bump chromium in DEPS to 105.0.5121.0
* chore: update patches
* 3699085: [cleanup] update PrintBackend::EnumeratePrinters to use reference
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3699085
* chore: bump chromium in DEPS to 105.0.5123.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5125.0
* chore: update patches
* 3630082: [sandbox] Also enable the sandbox outside of Chromium builds
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3630082
* chore: bump chromium in DEPS to 105.0.5127.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5129.0
* chore: update patches
* 3703741: Remove WebContents::GetMainFrame.
https://chromium-review.googlesource.com/c/chromium/src/+/3703741
* chore: update patches
* fixup! 3703741: Remove WebContents::GetMainFrame.
* fix lint
* more lint
* chore: document breaking change
* 3687671: [v8] Freeze flags after initialization
https://chromium-review.googlesource.com/c/chromium/src/+/3687671
* fixup! 3560567: [MSC] Porting GenerateStreams clients to handle stream vectors.
* use the v8 allocator for node serdes
* chore: update patches
* remove faulty non-v8-sandbox-compatible code
* make NodeArrayBufferAllocator use the v8 allocator under the hood
* fixup! 3560567: [MSC] Porting GenerateStreams clients to handle stream vectors.
* fix build on windows
* 3691954: [Reland][Extensions Bindings] Validate arguments sent to API events
https://chromium-review.googlesource.com/c/chromium/src/+/3691954
* chore: remove deprecated AccessorSignatures
https://github.com/nodejs/nan/pull/941
* Update patches/chromium/notification_provenance.patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* remove chore_expose_v8_initialization_isolate_callbacks.patch
* add link to nodejs/nan#941
* 52026: Do not allow md4 or md5 based signatures in X.509 certificates.
https://boringssl-review.googlesource.com/c/boringssl/+/52026
* chore: update patches
* disable nan buffer-test
* disable sandboxed pointers for now
* force sandboxed pointers off
* improve node allocation patch
* restore accidentally dropped node crypto test patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com >
2022-06-27 15:50:08 -05:00
Sudowoodo Release Bot
032e1d9bef
Bump v21.0.0-nightly.20220627
2022-06-27 06:02:43 -07:00
David Sanders
39840502be
docs: replace broken Windows taskbar images ( #34729 )
2022-06-27 14:14:01 +02:00
David Sanders
8238cca87b
test: use maximize event instead of resize event ( #34740 )
2022-06-27 10:29:55 +02:00
David Sanders
e2c58d164d
chore: replace Object.assign with object spread syntax ( #34739 )
2022-06-27 10:29:18 +02:00
Milan Burda
ba4893c248
refactor: load webFrame via process._linkedBinding in security-warnings.ts ( #34735 )
2022-06-27 10:28:35 +02:00
Sudowoodo Release Bot
c5b87e4919
Bump v21.0.0-nightly.20220624
2022-06-24 06:01:02 -07:00
Shelley Vohr
3b881e4a13
fix: WCO respects maximizable/closable/minimizable ( #34677 )
2022-06-23 13:08:32 -04:00
Sudowoodo Release Bot
106aa0e922
Bump v21.0.0-nightly.20220623
2022-06-23 06:00:50 -07:00
Jeremy Rose
11924bdbb2
chore: modernize ListValue usage in dict_util.mm and related files ( #34661 )
...
* chore: modernize ListValue usage in dict_util.mm and related files
* use base::Value::{Dict,List} instead of raw base::Value
* fix compile
* fix build
* fix build again
2022-06-23 15:28:41 +09:00
Jeremy Rose
cd19a741b1
chore: modernize base::Value usage in shell/renderer/printing ( #34682 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-06-22 10:37:58 -07:00
Jeremy Rose
5895296239
test: disable flaky transparent window test ( #34660 )
2022-06-22 10:37:32 -07:00
Sudowoodo Release Bot
e3243ad113
Bump v21.0.0-nightly.20220622
2022-06-22 06:00:53 -07:00
David Sanders
5fee5b0e22
chore: chunk filenames when linting C++ files ( #34237 )
...
* chore: chunk filenames when linting C++ files
* chore: refactor code for better readability
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: further tweak
* chore: limit all platforms to 4095 characters on command line
* chore: use python3
* Revert "chore: use python3"
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-06-22 19:23:11 +09:00
Milan Burda
f172136752
chore: remove undocumented page-title-set webview event ( #34533 )
2022-06-22 17:18:42 +09:00
Juan Cruz Viotti
218797eb61
fix: allow macOS debug builds to be built ( #34536 )
...
Extending the `testing` GN profile with the arguments documented to
allow breakpoint debugging
(https://www.electronjs.org/docs/latest/development/debugging#breakpoint-debugging )
doesn't quite work on macOS:
```sh
is_debug = true
symbol_level = 2
forbid_non_component_debug_builds = false
```
The build eventually fails on both Intel and Apple Silicon with the
following (summarized) error:
```sh
[S:41062 R:1 (41062:41247) (C/s:0.1 O/s:13.6)] SOLINK 'obj/electron/electron_framework_shared_library/Electron Framework' 'obj/electron/electron_framework_shared_library/Electron Framework.TOC'
FAILED: obj/electron/electron_framework_shared_library/Electron Framework obj/electron/electron_framework_shared_library/Electron Framework.TOC
...
Undefined symbols for architecture x86_64:
"platform_util::GetViewForWindow(gfx::NativeWindow)", referenced from:
BoundsOverlapWithAnyOpenPrompt(gfx::Rect const&, content::WebContents*) in libchrome.a(autofill_popup_view_utils.o)
"platform_util::GetParent(gfx::NativeView)", referenced from:
BoundsOverlapWithAnyOpenPrompt(gfx::Rect const&, content::WebContents*) in libchrome.a(autofill_popup_view_utils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...
```
This symbol is defined on a file that is not declared as a dependency of
`libchrome` on the GN definitions. Why the problem is not reproducible
on plain testing or release builds remains a mystery to me. I'm guessing
some non-debug path somewhere in the GN definitions does eventually
require that file.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2022-06-22 17:18:12 +09:00
Erick Zhao
e410109a3d
docs: expand tutorial ( #34604 )
...
* docs: base tutorial update
* more docs
* zzz
* remove unused images
2022-06-22 17:17:48 +09:00
Milan Burda
a5869fe997
refactor: use std::size(args) instead of hardcoded values ( #34651 )
2022-06-22 10:15:27 +02:00
Jeremy Rose
bf52318c76
fix: modernize ListValue in net converters ( #34657 )
2022-06-22 10:14:57 +02:00
Jeremy Rose
73c85410c5
chore: modernize ListValue code in session ( #34656 )
...
* chore: modernize ListValue code in session
* also in browser_context
2022-06-22 10:14:35 +02:00
Jeremy Rose
ad7aab8338
chore: modernize base::Value usage in WebRequest ( #34667 )
2022-06-22 10:11:27 +02:00
Sudowoodo Release Bot
140c8d0d0a
Bump v21.0.0-nightly.20220621
2022-06-21 09:07:50 -07:00
Keeley Hammond
34fc53e5e6
chore: Revert "build: build & release libcxx objects on darwin ( #34586 )" ( #34680 )
...
Revert "build: build & release libcxx objects on darwin (#34586 )"
This reverts commit 2bbbc66eb8 .
2022-06-21 09:06:50 -07:00
Sudowoodo Release Bot
528cbe8131
Revert "Bump v21.0.0-nightly.20220621"
...
This reverts commit 116c32a030 .
2022-06-21 08:27:51 -07:00
Sudowoodo Release Bot
116c32a030
Bump v21.0.0-nightly.20220621
2022-06-21 06:00:53 -07:00
Shelley Vohr
530a022b05
fix: window button visibility fullscreen interaction ( #34530 )
2022-06-21 16:35:53 +09:00
Milan Burda
f3f327823e
chore: move main process only accessible API bindings away from common ( #34634 )
2022-06-21 16:34:56 +09:00
Milan Burda
0f528c1e43
chore: let result: ReturnType<typeof this._callWindowOpenHandler>; ( #34628 )
2022-06-21 10:39:41 +09:00
Keeley Hammond
2bbbc66eb8
build: build & release libcxx objects on darwin ( #34586 )
...
* build: build & release libcxx objects on darwin
* Fix merge error
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-06-21 10:35:16 +09:00
Shelley Vohr
3cd5223134
build: mark existing Node.js flakes as dontcare ( #34644 )
2022-06-20 15:54:52 -04:00
Shelley Vohr
8e45f43f18
refactor: remove deprecated drag-and-drop code ( #34615 )
2022-06-20 15:17:53 +02:00
Sudowoodo Release Bot
d341610d64
Bump v21.0.0-nightly.20220620
2022-06-20 06:01:30 -07:00
Shelley Vohr
6e9466f96b
fix: overzealous media key listening on Windows ( #34594 )
2022-06-20 19:40:10 +09:00
Shelley Vohr
e2f42e5d99
chore: fix BrowserView painting when origin updated ( #34581 )
...
chore: fix View painting when origin updated
2022-06-20 13:31:53 +09:00
Darshan Sen
ec98e95b8a
fix: performance problem in crashReporter.start() on macOS ( #34609 )
...
fix: performance problem in crashReporter.start() on macOS
This change reduces the duration of crashReporter.start() on Intel macOS
from 622 milliseconds to 257 milliseconds!
Backports https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3641386
posix: Replace DoubleForkAndExec() with ForkAndSpawn()
The DoubleForkAndExec() function was taking over 622 milliseconds to run
on macOS 11 (BigSur) on Intel i5-1038NG7. I did some debugging by adding
some custom traces and found that the fork() syscall is the bottleneck
here, i.e., the first fork() takes around 359 milliseconds and the
nested fork() takes around 263 milliseconds. Replacing the nested fork()
and exec() with posix_spawn() reduces the time consumption to 257
milliseconds!
See https://github.com/libuv/libuv/pull/3064 to know why fork() is so
slow on macOS and why posix_spawn() is a better replacement.
Another point to note is that even base::LaunchProcess() from Chromium
calls posix_spawnp() on macOS -
8f8d82dea0 :base/process/launch_mac.cc;l=295-296
Change-Id: I25c6ee9629a1ae5d0c32b361b56a1ce0b4b0fd26
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3641386
Reviewed-by: Mark Mentovai <mark@chromium.org >
Commit-Queue: Mark Mentovai <mark@chromium.org >
Fixes: https://github.com/electron/electron/issues/34321
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-06-20 13:31:29 +09:00
dependabot[bot]
bf4efb693b
build(deps): bump jpeg-js from 0.4.3 to 0.4.4 in /spec-main ( #34607 )
...
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases )
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.3...v0.4.4 )
---
updated-dependencies:
- dependency-name: jpeg-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 09:57:25 +09:00
Raymond Zhao
999a225edb
refactor: use stubs for gdk-pixbuf dependency ( #34077 )
...
* refactor: use stubs for gdk-pixbuf dependency
* Adjust build file
* Add includes
* Merge gdk_pixbuf stubs into gtk stubs
* Split pixbuf sigs into own file again
* Add initialization check
* Apply PR feedback
2022-06-19 17:42:30 -07:00
Milan Burda
b3ec0a801a
chore: cleanup undocumented keys from webFrame.getWebPreference() ( #34588 )
2022-06-19 17:40:03 -07:00
Sudowoodo Release Bot
6f8bfdeb7a
Bump v21.0.0-nightly.20220617
2022-06-17 06:02:13 -07:00
Shelley Vohr
20538c4f34
fix: draggable regions updating on bounds change ( #34582 )
2022-06-17 12:01:38 +02:00
Sudowoodo Release Bot
d2e539c7d4
Bump v21.0.0-nightly.20220616
2022-06-16 06:00:48 -07:00
Josh Soref
ea4278754c
chore: fix spelling errors in multiple files ( #34574 )
...
* chore: fix spelling in .circleci
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in BUILD.gn
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in appveyor.yml
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in build
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in docs
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in lib
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in script
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in shell
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in spec
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in spec-main
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2022-06-16 16:46:11 +09:00
Milan Burda
f418a49857
chore: warn when using the deprecated new-window event ( #34528 )
2022-06-15 18:17:42 -07:00
Jeremy Rose
bad8d5e08a
fix: make preload calculation identical between sandbox & non-sandboxed ( #34531 )
2022-06-15 13:22:28 -07:00
Sudowoodo Release Bot
4ec95edf06
Bump v21.0.0-nightly.20220615
2022-06-15 06:01:24 -07:00
Michaela Laurencin
4c7c0b41c2
feat: add immersive dark mode on windows ( #33624 )
...
* feat: add immersive dark mode
* fix syntax and add header
* add me
* Update fuses.json5
* fix: redraw title bar on dark mode change
* chore: SetWindowTheme doesn't seem to be needed
* chore: separate out Win 10 dark mode implementation
* final touches
* final touches
* chore: limit Win 10 to >= 20H1 and drop fuse
* fix types
* fix lint
Co-authored-by: Micha Hanselmann <micha.hanselmann@gmail.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2022-06-14 12:27:28 -04:00
isailaandrei
21ef8501e7
feat: add panel support for BrowserWindow ( #34388 )
...
* feat: add NSPanel support for BrowserWindow
* change header guard to satisfy linter
* change panel wording in browser-window
* Revert "change panel wording in browser-window"
This reverts commit 6f3f80f94a .
* change wording in browser-window
* Update shell/browser/ui/cocoa/electron_native_widget_mac.mm
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Update shell/browser/ui/cocoa/electron_native_widget_mac.h
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Changed ScopedDisableResize class to allow for nesting
Co-authored-by: andreiisaila <andreiisaila@microsoft.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2022-06-14 12:24:52 -04:00
Shelley Vohr
bed38e0985
fix: crash when setWindowOpenHandler callback throws ( #34523 )
...
* fix: crash when setWindowOpenHandler throws
* refactor: throw as process uncaughtException event
2022-06-14 12:22:23 -04:00
Milan Burda
8de5cdb426
test: add missing page-title-updated event spec for webview ( #34529 )
2022-06-14 12:15:45 -04:00
Sudowoodo Release Bot
9707812d68
Bump v21.0.0-nightly.20220614
2022-06-14 06:02:37 -07:00
Milan Burda
16cd22ff6a
test: use webContents.setWindowOpenHandler() in specs ( #34514 )
...
* test: use webContents.setWindowOpenHandler() in specs
* test: use browser-window-created instead of new-window for visibility spec
2022-06-13 13:07:47 -04:00
Jeremy Rose
954fd72500
fix: make navigator.userAgentData non-empty ( #34481 )
2022-06-13 09:35:42 -07:00
Sudowoodo Release Bot
8157a01a42
Bump v21.0.0-nightly.20220613
2022-06-13 08:39:00 -07:00
Sudowoodo Release Bot
d565243f98
Revert "Bump v21.0.0-nightly.20220613"
...
This reverts commit 77dcf4a5e0 .
2022-06-13 08:37:46 -07:00
Sudowoodo Release Bot
77dcf4a5e0
Bump v21.0.0-nightly.20220613
2022-06-13 06:01:32 -07:00
Milan Burda
2a9b3cc9cd
chore: remove unused proxy-window-open.snapshot.txt ( #34501 )
...
chore: remove unused spec-main/fixtures/snapshots/proxy-window-open.snapshot.txt
2022-06-13 16:01:34 +09:00
Milan Burda
7ca3f55b10
refactor: move duplicate code to RendererClientBase::ShouldLoadPreload helper ( #34477 )
2022-06-13 15:58:27 +09:00
Shelley Vohr
e5543a2dd2
fix: all files selection logic on linux ( #34496 )
2022-06-13 15:57:03 +09:00
John Kleinschmidt
bd81ae08ac
fix: don't require glibc 2.29+ on linux arm64 builds ( #34491 )
...
* build: use sid sysroot for linux arm64
2022-06-10 14:15:52 -04:00
Sudowoodo Release Bot
57b863c213
Bump v21.0.0-nightly.20220610
2022-06-10 06:02:06 -07:00
Michaela Laurencin
52c0a4fafc
docs: add macOS height option info ( #34451 )
2022-06-09 15:17:27 -04:00
Sudowoodo Release Bot
1302ebf50e
Bump v21.0.0-nightly.20220609
2022-06-09 06:01:17 -07:00
Shelley Vohr
37d93b0482
fix: update normal bounds prior to minimizing ( #34473 )
2022-06-09 10:48:50 +02:00
Shelley Vohr
2fd0194e94
build: update clang-format script ( #34286 )
2022-06-08 21:26:41 +02:00
Sudowoodo Release Bot
6d50717eed
Bump v21.0.0-nightly.20220608
2022-06-08 06:00:42 -07:00
David Sanders
289128b96c
chore: use --root instead of --project_root for cpplint ( #34456 )
...
--root has been improved upstream in depot_tools to better handle Windows:
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3648533
2022-06-08 10:29:39 +02:00
Shelley Vohr
16db5a112e
fix: html fullscreen transitions stacking ( #32905 )
...
* fix: html fullscreen transitions stacking
* spec: move webview test to spec-main
2022-06-07 12:59:50 -04:00
Sudowoodo Release Bot
f44ecb7f03
Bump v21.0.0-nightly.20220607
2022-06-07 07:30:55 -07:00
Sudowoodo Release Bot
8e97f3badf
Revert "Bump v21.0.0-nightly.20220607"
...
This reverts commit a203123473 .
2022-06-07 07:12:33 -07:00
Sudowoodo Release Bot
a203123473
Bump v21.0.0-nightly.20220607
2022-06-07 07:11:11 -07:00
Sudowoodo Release Bot
c750936328
Revert "Bump v21.0.0-nightly.20220607"
...
This reverts commit 5f0f517486 .
2022-06-07 07:09:18 -07:00
Sudowoodo Release Bot
5f0f517486
Bump v21.0.0-nightly.20220607
2022-06-07 06:01:42 -07:00
Shelley Vohr
4ec2de659f
chore: fix nan spec runner on macOS ( #34447 )
2022-06-07 12:09:08 +02:00
David Sanders
30d15715a9
build: switch to --use-color flag for clang-tidy ( #34457 )
...
chore: switch to --use-color flag for clang-tidy
2022-06-07 09:49:52 +02:00
Samuel Maddock
882fa36940
test: fix for flaky renderer crash test ( #34452 )
2022-06-06 17:39:58 -04:00
Sudowoodo Release Bot
e56f626b94
Bump v21.0.0-nightly.20220606
2022-06-06 06:02:02 -07:00
Charles Kerr
92b0f3e808
build: add --unique option to release notes script ( #34296 )
...
Useful when looking for changes unique to a single branch
2022-06-06 14:51:10 +09:00
Will Anderson
4f99e3e46c
docs: fix did-frame-navigate example in webFrameMain docs ( #34419 )
...
docs: fix did-frame-navigate example in webFrameMain docs
2022-06-06 14:49:14 +09:00
electron-roller[bot]
f39c1a35e5
chore: bump node to v16.15.1 (main) ( #34424 )
2022-06-03 16:13:27 +02:00
Sudowoodo Release Bot
05b03b01dc
Bump v21.0.0-nightly.20220603
2022-06-03 06:00:36 -07:00
Shelley Vohr
6038e42c23
fix: fullscreen windows aren't resizable on macOS ( #34379 )
2022-06-03 09:47:19 +02:00
Samuel Maddock
b00c026a54
fix: render process crash handling ( #34428 )
...
* fix: crash when renderer process is reused
Could occur when a renderer crashes and the same-origin URL is loaded again
which leads to reusing the renderer process.
* test: renderer process crash recovery
* fix: handle case which leads to render frame DCHECK
* fix: lint
2022-06-02 17:23:01 -07:00
Shelley Vohr
eb26f99f6e
test: re-enable shared worker webview test ( #34338 )
2022-06-02 17:27:37 -04:00
Sudowoodo Release Bot
d13c879a15
Bump v21.0.0-nightly.20220602
2022-06-02 14:15:14 -07:00
Sudowoodo Release Bot
3ad70d0f0b
Revert "Bump v21.0.0-nightly.20220602"
...
This reverts commit eb9888d1d2 .
2022-06-02 14:12:58 -07:00
Keeley Hammond
0671f229ac
chore: increase timeout for electron-build step ( #34427 )
2022-06-02 14:12:10 -07:00
Shelley Vohr
539a53786c
chore: remove redundant @available checks ( #34407 )
...
* chore: require macOS 10.13 for Chromium
* chore: fix lint
2022-06-02 14:43:40 -04:00
Keeley Hammond
000c3d981c
build: disable 32-bit Windows symbol generation ( #34412 )
2022-06-02 09:01:33 -07:00
Sudowoodo Release Bot
eb9888d1d2
Bump v21.0.0-nightly.20220602
2022-06-02 06:01:23 -07:00
Samuel Attard
1cd07c565a
fix: crash in WebFrameMain mojo connection when RenderFrameHost is nullptr ( #34411 )
...
* fix: crash when RenderFrameHost is nullptr
* chore: lint fix
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
2022-06-01 16:03:04 -07:00
Sudowoodo Release Bot
f306fbc010
Revert "Bump v21.0.0-nightly.20220601"
...
This reverts commit 5057cbf418 .
2022-06-01 14:31:30 -07:00
Sudowoodo Release Bot
5057cbf418
Bump v21.0.0-nightly.20220601
2022-06-01 10:32:32 -07:00
Naoki Maeda
561be72373
chore: update husky to v8.0.1 ( #34343 )
...
* chore: update husky v8.0.1
* chore: remove unnecessary .husky/.gitignore
ref : https://github.com/typicode/husky/releases/tag/v7.0.0
* chore: add ^ prefix for husky version
* chore: update yarn.lock
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-06-01 13:00:48 -04:00
John Kleinschmidt
a38e5d20ff
ci: cache python install to better deal with download errors. ( #34360 )
...
* ci: cache python install to better deal with download errors.
* chore: use our CDN to download python2
* build: DRY up the python install steps
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-06-01 12:59:26 -04:00
Sudowoodo Release Bot
cda8f3c15c
Revert "Bump v21.0.0-nightly.20220601"
...
This reverts commit df91dd6d2b .
2022-06-01 08:28:12 -07:00
Sudowoodo Release Bot
df91dd6d2b
Bump v21.0.0-nightly.20220601
2022-06-01 06:02:01 -07:00
electron-roller[bot]
470396d6ac
chore: bump chromium to 104.0.5073.0 (main) ( #34272 )
2022-06-01 08:12:47 +02:00
Sudowoodo Release Bot
3849d19e14
Bump v21.0.0-nightly.20220531
2022-05-31 06:01:31 -07:00
Shelley Vohr
2cb53c5db1
fix: zombie windows when fullscreening and closing ( #34378 )
2022-05-31 10:43:42 +02:00
Shelley Vohr
93b39b92b5
refactor: printToPDF should be headless ( #33654 )
2022-05-31 08:21:25 +02:00
Sudowoodo Release Bot
0d69067dee
Bump v21.0.0-nightly.20220530
2022-05-30 06:01:33 -07:00
Samuel Attard
fd88908457
fix: hide content protected windows during screen capture with ScreenCaptureKitMac ( #34362 )
...
fix: hide content protected windows during screen capture
2022-05-30 14:13:48 +02:00
Keeley Hammond
34a9268e97
ci: re-enable CalculateNativeWinOcclusion ( #34374 )
2022-05-30 10:28:33 +02:00
Sudowoodo Release Bot
03d9615f99
Bump v21.0.0-nightly.20220527
2022-05-27 06:02:05 -07:00
Sudowoodo Release Bot
2ffa31832e
Bump v21.0.0-nightly.20220526
2022-05-26 06:01:46 -07:00
Shelley Vohr
4accf67d2b
build: trigger mksnapshot/chromedriver releases automatically ( #34346 )
2022-05-25 20:52:41 +02:00
Sudowoodo Release Bot
afca3519fd
Revert "Bump v20.0.0-nightly.20220525"
...
This reverts commit 4b3a7b7762 .
2022-05-25 06:24:48 -07:00
Sudowoodo Release Bot
4b3a7b7762
Bump v20.0.0-nightly.20220525
2022-05-25 06:18:50 -07:00
Sudowoodo Release Bot
a6a2bb65a4
Revert "Bump v20.0.0-nightly.20220525"
...
This reverts commit fd559d8516 .
2022-05-25 06:16:08 -07:00
Sudowoodo Release Bot
fd559d8516
Bump v20.0.0-nightly.20220525
2022-05-25 06:01:00 -07:00
Shelley Vohr
7bc4b919dc
fix: esc not working on Windows during fullscreen ( #34317 )
...
* fix: esc not working on Windows during fullscreen
* chore: fix lint
2022-05-24 21:38:38 -07:00
Samuel Attard
6cb2b9eab7
build: do not checkout chromium for ts docs check ( #34331 )
2022-05-24 14:04:49 -07:00
Sudowoodo Release Bot
b8abf5e38a
Bump v20.0.0-nightly.20220524
2022-05-24 06:00:37 -07:00
Milan Burda
6667de28e3
chore: use webContents.setWindowOpenHandler() in default-app ( #34308 )
2022-05-24 10:23:56 +02:00
Milan Burda
9d3fc9c794
refactor: return options directly in makeBrowserWindowOptions() helper ( #34309 )
2022-05-24 10:23:16 +02:00
John Kleinschmidt
ba573f5583
feat: add support for HIDDevice.forget() ( #34210 )
...
* feat: add support for HIDDevice.forget()
* chore: remove whitespace
* chore: use `SetGetter` to serialize the render_frame_host
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
* fixup chore: use `SetGetter` to serialize the render_frame_host
* fixup after rebase
* fixup for crash on navigator.serial.getPorts()
* fixup for lint
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2022-05-23 15:13:18 -04:00
Darshan Sen
df9383cb3c
chore: add a TRACE call for crash_reporter::Start() ( #34268 )
...
chore: add a TRACE call for crash_reporter::Start()
Initializing the crashReporter takes around 620 milliseconds on Intel
macOS. I have sent a CL to crashpad to partially fix the performance
issue in
https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3641386 .
It would be beneficial to log the performance impact of this function in
the traces in case this slows down in the future.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-05-23 08:38:03 -07:00
Milan Burda
09a80ea48c
test: use webContents.setWindowOpenHandler() in specs ( #34310 )
2022-05-23 16:39:50 +02:00
John Kleinschmidt
887b5a7dc7
fix: crash on navigator.serial.getPorts() ( #34280 )
...
* fix: crash on navigator.serial.getPorts()
* test: fixup BrowserWindow.setTitlebarOverlay test
2022-05-23 10:33:39 -04:00
Sudowoodo Release Bot
c3fa6005db
Bump v20.0.0-nightly.20220523
2022-05-23 06:02:11 -07:00
FantasqueX
89fab6a549
docs: remove X-Content-Security-Policy header in quick-start.md ( #34307 )
...
reference: Note: It is known that having both Content-Security-Policy
and X-Content-Security-Policy or X-Webkit-CSP causes unexpected
behaviours on certain versions of browsers. Please avoid using deprecated
X-* headers. https://content-security-policy.com/
also:
1ad18486ed
2022-05-23 14:49:38 +02:00
Milan Burda
291eb60916
fix: building node modules with Visual Studio 2017 ( #34217 )
2022-05-23 20:04:08 +09:00
Michaela Laurencin
aa3e852a73
docs: add height option and color transparency info ( #34278 )
2022-05-23 20:01:22 +09:00
Robo
1639ccf98f
fix: service worker registration with custom protocols ( #34290 )
...
Refs https://github.com/electron/electron/issues/32664
2022-05-23 00:42:37 -07:00
Keeley Hammond
38c21b7aca
revert: add first-instance-ack event to the app.requestSingleInstanceLock() flow ( #34297 )
...
fix: revert "feat: add first-instance-ack event to the `app.requestSingleInstanceLock()` flow"
2022-05-22 22:20:54 -07:00
Varun Sharma
ff13fa8f0a
ci: Add GitHub token permissions for workflows ( #34298 )
...
ci: add GitHub token permissions
2022-05-21 17:35:26 -07:00
Sudowoodo Release Bot
ba7dedcc6f
Bump v20.0.0-nightly.20220520
2022-05-20 06:00:58 -07:00
Samuel Maddock
5ff94e7f2b
fix: crash when creating interface for speculative frame ( #33919 )
2022-05-19 11:34:58 -07:00
Sudowoodo Release Bot
17c8ec765b
Bump v20.0.0-nightly.20220519
2022-05-19 06:00:53 -07:00
Shelley Vohr
588005a9d5
fix: DCHECK on webContents.print() ( #34271 )
2022-05-19 10:05:07 +02:00
Shelley Vohr
73e0bf973d
fix: delayed bounds when moving/resizing and preventing default ( #34204 )
2022-05-19 10:03:02 +02:00
Sofia Nguy
455544dfb6
docs: Update release dates for E20 ( #34267 )
2022-05-18 09:39:40 -07:00
Sudowoodo Release Bot
2436152536
Bump v20.0.0-nightly.20220518
2022-05-18 06:00:56 -07:00
electron-roller[bot]
61374019c0
chore: bump chromium to 103.0.5046.0 (main) ( #33906 )
...
* chore: bump chromium in DEPS to 103.0.5020.0
* chore: bump chromium in DEPS to 103.0.5022.0
* chore: bump chromium in DEPS to 103.0.5024.0
* chore: update patches
* 3587410: [Printing] Remove JobEventDetails
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3587410
* chore: bump chromium in DEPS to 103.0.5026.0
* chore: update patches
* 3577218: WebUI: Delete webui_resources.grd and related GN targets.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3577218
* chore: bump chromium in DEPS to 103.0.5028.0
* chore: update patches
* 3579297: Convert UpdatePrintSettings() to use non-deprecated base::Value APIs.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3579297
* 3560622: serial: Add SerialPort.forget() method
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3560622
* 3581708: Restore original display when moving from tab-fullscreen to browser-fullscreen.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3581708
* chore: fix authorization flags lint error
* 3583363: Remove net wrappers around base/strings/escape.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3583363
* fixup! 3560622: serial: Add SerialPort.forget() method
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3560622
* 3587589: Reland "Propagate the MIME type from DownloadTargetDeterminer to DownloadItem"
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3587589
* 3584006: Remove IsRenderViewLive from content public
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3584006
* 3596174: [api] Remove APIs for resurrecting finalizers
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3596174
* 3368244: Hook SnapshotForContentAnalysis renderer API to scan system prints
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3368244
* chore: bump chromium in DEPS to 103.0.5030.0
* chore: update patches
* chore: bump chromium in DEPS to 103.0.5032.0
* chore: bump chromium in DEPS to 103.0.5034.0
* chore: bump chromium in DEPS to 103.0.5036.0
* chore: update patches
* 3586363: Introduce PrintRenderFrame.PrintWithParams() for batch printing to PDF
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3586363
* 3593199: Remove content::PermissionType references and replace them with blink::PermissionType
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3593199
* 3368244: Hook SnapshotForContentAnalysis renderer API to scan system prints
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3368244
* chore: lint
* chore: bump chromium in DEPS to 103.0.5038.0
* chore: update patches
* fixup! 3560622: serial: Add SerialPort.forget() method
* 3606495: mac screen capture: add metric
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3606495
* chore: bump chromium in DEPS to 103.0.5040.0
* chore: update patches
* 3590840: Add IPs to DnsOverHttpsServerConfig
https://chromium-review.googlesource.com/c/chromium/src/+/3590840
* stub functions for ElectronSerialDelegate and SerialChooserController to fix link
* 3566412: [base] Remove base/android dependency on post_task.h and officially remove post_task.h!
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3566412
* 3347944: [content] No longer hand-off whole MainFunctionParams to BrowserMainParts
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3347944
* fixup! 3566412: [base] Remove base/android dependency on post_task.h and off…
e3ea3e1
…icially remove post_task.h!
* chore: update process_singleton patches for content::GetIOThreadTaskRunner({})
Ref: 2015655: [BrowserThread] Migrate co/pub/br and co/br/scheduler to the new API | https://chromium-review.googlesource.com/c/chromium/src/+/2015655
* chore: migrate base::DeleteSoon to content::GetUIThreadTaskRunner({})->DeleteSoon
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3566412
* chore: remove duplicate functions for RevokePortPermissionWebInitiated & GetPortInfo
* chore: migrate Linux/Windows methods off of post_task.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3566412
* 64908: Stop building legacy SwiftShader GL in Chromium
https://swiftshader-review.googlesource.com/c/SwiftShader/+/64908
* 3573245: Added Themed versions of RoundedRectBackground and RoundedRectBorder.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3573245
* chore: bump chromium in DEPS to 103.0.5042.0
* chore: update patches
* 3571804: [api] Advance API deprecation for V8 version v10.2
https://chromium-review.googlesource.com/c/v8/v8/+/3571804
* fixup! 3571804: [api] Advance API deprecation for V8 version v10.2
* build: fix run-clang-format extension matching
* lint
* fix windows build
* how is clang-format still not working for me
* chore: update patches
* 3623985: Replace ad-hoc SetPublicFirstPartySets calls with method in ContentBrowserClient.
https://chromium-review.googlesource.com/c/chromium/src/+/3623985
* no need to implement WillProvidePublicFirstPartySets; the default is false
* 3601036: [QT] Introduce ui/views/linux_ui/linux_ui_factory.*
https://chromium-review.googlesource.com/c/chromium/src/+/3601036
* 3583363: Remove net wrappers around base/strings/escape.h
https://chromium-review.googlesource.com/c/chromium/src/+/3583363
* lint
* chore: bump chromium in DEPS to 103.0.5044.0
* fix conflicts
* chore: update patches
* upgrade nan
* pin version of nan in tests
* replace my hacky deprecated override fix with the fix from upstream
* revert runtime dcheck in v8
* pin nan version at root too
* refactor: tell gyp to use c++17 when building with our node
* Revert "refactor: tell gyp to use c++17 when building with our node"
This reverts commit 41a03a5799 .
* Undo the reversion of 41a03a5799 .
This reverts commit 54440abc59 .
* disable sequential/test-cpu-prof-kill for now
* also sequential/test-diagnostic-dir-cpu-prof
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-05-17 12:48:40 -04:00
mkiki01
04b33b319b
docs: added units to <webview>.print() pageSize option ( #34088 )
2022-05-17 11:59:24 -04:00
Shelley Vohr
97c9451efc
fix: WCO crash on bad titlebarStyle ( #34140 )
...
fix: WCO crash on bad titlebarStyle
2022-05-17 11:50:27 -04:00
Sudowoodo Release Bot
4e3587c7c6
Bump v20.0.0-nightly.20220517
2022-05-17 08:15:20 -07:00
Sudowoodo Release Bot
ccde8994b5
Revert "Bump v20.0.0-nightly.20220517"
...
This reverts commit 125c324a49 .
2022-05-17 08:12:04 -07:00
Sudowoodo Release Bot
125c324a49
Bump v20.0.0-nightly.20220517
2022-05-17 06:03:06 -07:00
Milan Burda
4aba68a59d
docs: add missing explanation for [angle|dawn]_enable_vulkan_validation_layers = false ( #34216 )
2022-05-16 16:18:01 -04:00
Shelley Vohr
7af0b58c98
test: add setTitlebarOverlay spec ( #34221 )
...
spec: add setTitlebarOverlay spec
2022-05-16 12:14:27 -04:00
Sudowoodo Release Bot
cc411946d7
Bump v20.0.0-nightly.20220516
2022-05-16 06:02:41 -07:00
Sudowoodo Release Bot
b06737fdac
Bump v20.0.0-nightly.20220513
2022-05-13 06:01:28 -07:00
Shelley Vohr
8b5613efcb
fix: fetching PDF element from WebLocalFrame ( #34176 )
...
fix: fetching PDF element from WebLocalFrame
2022-05-12 20:20:45 -04:00
Shelley Vohr
a8103691ac
fix: tray icon not highlighting on empty menu ( #34173 )
2022-05-12 16:14:11 +02:00
Sudowoodo Release Bot
142e1f667b
Bump v20.0.0-nightly.20220512
2022-05-12 06:02:20 -07:00
Samuel Maddock
ff5f66395e
chore: upgrade extract-zip for installer ( #34166 )
2022-05-12 10:18:42 +02:00
Samuel Attard
ba3aca8200
test: fix background transparency flake ( #34190 )
2022-05-12 09:41:58 +02:00
Shelley Vohr
d67532ee9f
fix: crash when loading extension with missing manifest ( #34168 )
...
* fix: crash when loading extension missing manifest
* Update electron_paks.gni
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
2022-05-11 13:41:06 -07:00
John Kleinschmidt
4f8a843606
docs: clarify added/removed events on device APIs ( #34177 )
2022-05-11 13:01:56 -07:00
Shelley Vohr
dd6ce91f57
fix: call loadUrl when opening new windows from links ( #34159 )
...
* fix: call loadUrl when opening new windows from links
* spec: add regression test
2022-05-11 11:34:33 -07:00
John Kleinschmidt
6f8a36f404
test: fixup done being called multiple times ( #34175 )
2022-05-11 10:23:24 -07:00
Keeley Hammond
c512993744
build: re-enable 32-bit Windows symbol generation ( #34162 )
2022-05-11 08:27:23 -07:00
FantasqueX
6063d4f8df
docs: fix typo in quick-start.md ( #34149 )
...
According to Jetbrains LanguageTool, "Consider using All the. "
2022-05-11 10:05:59 -04:00
Sudowoodo Release Bot
64dc90824b
Bump v20.0.0-nightly.20220511
2022-05-11 06:01:00 -07:00
Robo
79e1881b2a
chore: rm enable_31_bit_smis_on_64bit_arch_and_ptr_compression.patch ( #34157 )
...
* chore: rm enable_31_bit_smis_on_64bit_arch_and_ptr_compression.patch
* chore: update patch
2022-05-11 01:39:51 -07:00
Sudowoodo Release Bot
a853a6ce9f
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit 5633c45c19 .
2022-05-10 18:40:53 -07:00
Sudowoodo Release Bot
5633c45c19
Bump v20.0.0-nightly.20220510
2022-05-10 18:39:00 -07:00
Jeremy Rose
9bcbe70dbe
test: run node specs with py3 ( #34154 )
2022-05-10 14:26:53 -07:00
Milan Burda
e76cf3e2ed
fix: building node modules with Visual Studio 2017 ( #34109 )
2022-05-10 14:26:07 -07:00
Keeley Hammond
627c2987ba
fix: create singleton pipename from user & executable ( #34139 )
...
* fix: create singleton pipename from user & executable
* fix: use process id & main thread id for pipe name
* fix: write rand to file using WIN method
* fix: remove file rand, add user_name to pipe
* chore: style fixes, shorten program_name & user_name
* fix: remove user_name
2022-05-10 13:24:40 -07:00
Sudowoodo Release Bot
7f5346b954
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit 4fc42092b8 .
2022-05-10 10:33:23 -07:00
Sudowoodo Release Bot
4fc42092b8
Bump v20.0.0-nightly.20220510
2022-05-10 10:27:54 -07:00
Sudowoodo Release Bot
c8fbabae48
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit b94f25c287 .
2022-05-10 09:14:27 -07:00
Sudowoodo Release Bot
b94f25c287
Bump v20.0.0-nightly.20220510
2022-05-10 09:05:20 -07:00
Sudowoodo Release Bot
5572659988
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit 030087c1c7 .
2022-05-10 08:37:52 -07:00
Sudowoodo Release Bot
030087c1c7
Bump v20.0.0-nightly.20220510
2022-05-10 06:01:41 -07:00
electron-roller[bot]
5391211824
chore: bump node to v16.15.0 (main) ( #33947 )
...
* chore: bump node in DEPS to v16.15.0
* chore: update patches
* src: allow preventing InitializeInspector in env
https://github.com/nodejs/node/pull/35025
* chore: update node gn filenames
* crypto: change default check(Host|Email) behavior
* Revert "crypto: change default check(Host|Email) behavior"
This reverts commit 1f1eb23702 .
* update node crypto tests to work with boringssl
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-05-09 18:55:49 -04:00
Robo
00368aca37
chore: stub gtk_native_dialog_get_type ( #34141 )
2022-05-09 13:37:50 -07:00
Cheng Zhao
9483e714c4
feat: allow customizing browser data location ( #33554 )
...
* feat: redirect Electron/Chromium cache location
* fix: network services should also use browserData
* test: browserData
* chore: no need to explicitly create dir
* feat: browserData => sessionData
* test: check existings of specific items
* docs: add background on userData and sessionData
Co-authored-by: emmanuel.kimmerlin@thomsonreuters.com <emmanuel.kimmerlin@thomsonreuters.com >
2022-05-09 10:26:57 -04:00
Darshan Sen
03e68e2efe
fix: fix a crash in safeStorage on Linux ( #33913 )
...
On Linux, `isEncryptionAvailable()` was crashing instead of returning a
boolean before the 'ready' event was emitted by the app. The reason of
the crash is that [`CreateKeyStorage()`](https://source.chromium.org/chromium/chromium/src/+/main:components/os_crypt/os_crypt_linux.cc;l=74;drc=35be6215ec8f09e50176f36753c68f26c63d1885;bpv=1;bpt=0 )
expects the config to be set but the function responsible for setting the
config, [`SetConfig()`](https://source.chromium.org/chromium/chromium/src/+/main:components/os_crypt/os_crypt_linux.cc;l=237;drc=35be6215ec8f09e50176f36753c68f26c63d1885;bpv=1;bpt=0 ),
is called only after the app is ready inside [`PostCreateMainMessageLoop()`](https://github.com/electron/electron/blob/main/shell/browser/electron_browser_main_parts.cc#L499 ).
So this changes `IsEncryptionAvailable()` to return `false` when the app
is not ready on Linux and uses that instead of the raw API in other
places like `EncryptString()` and `DecryptString()`.
Fixes: https://github.com/electron/electron/issues/32206
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-05-09 09:38:53 -04:00
Keeley Hammond
6fea35271c
build: change upload-to-s3 vars to upload-to-storage ( #34105 )
...
* build: change upload-to-s3 vars to upload-to-az
* build: change upload-to-az to upload-to-storage
2022-05-09 09:34:17 -04:00
Sudowoodo Release Bot
dd7dfd7ecd
Bump v20.0.0-nightly.20220509
2022-05-09 06:01:36 -07:00
Raymond Zhao
3ba60de51d
docs: add missing ackCallback parameter ( #34126 )
2022-05-06 13:24:14 -07:00
Sudowoodo Release Bot
1bdbb69351
Bump v20.0.0-nightly.20220506
2022-05-06 12:58:25 -07:00
Keeley Hammond
2900bc55aa
build: remove ending slash upload-index-json ( #34125 )
2022-05-06 12:57:18 -07:00
Sudowoodo Release Bot
0d35084ada
Revert "Bump v20.0.0-nightly.20220506"
...
This reverts commit 0f2da5c830 .
2022-05-06 08:14:11 -07:00
Sudowoodo Release Bot
0f2da5c830
Bump v20.0.0-nightly.20220506
2022-05-06 06:01:48 -07:00
Samuel Attard
808efd89ed
build: use azure function to hash assets instead of lambda ( #34117 )
2022-05-06 02:42:34 -07:00
Keeley Hammond
0696320d28
build: remove S3 uploads ( #34104 )
2022-05-05 21:40:34 -07:00
Shelley Vohr
a401360057
refactor: prevent RemoveFromLoginItems() from mounting volumes from login items ( #34068 )
2022-05-05 20:46:36 -04:00
Jeremy Rose
d8a7219d07
chore: stop using v8::Locker everywhere ( #34078 )
2022-05-05 11:50:21 -07:00
Samuel Attard
a2a8e493eb
test: unflake some more tests ( #34084 )
...
* test: unflake webview fullscreen test
* test: unflake net throttle test
* Update spec-main/api-net-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-05-05 11:42:38 -07:00
Shelley Vohr
90eb47f70b
fix: offscreen rendering crash on input select ( #34069 )
2022-05-05 09:53:39 -04:00
Sudowoodo Release Bot
323f7d4c19
Bump v20.0.0-nightly.20220505
2022-05-05 06:01:44 -07:00
Jeremy Rose
706d585eb8
build: fix run-clang-format extension matching ( #34076 )
2022-05-05 10:41:52 +02:00
Raymond Zhao
5b648854d5
fix: requestSingleInstanceLock API sometimes hangs ( #33777 )
2022-05-04 13:30:30 -04:00
Milan Burda
2091343b78
refactor: initialize member variables directly ( #34046 )
2022-05-04 16:30:05 +02:00
Sudowoodo Release Bot
4fad376b0e
Bump v20.0.0-nightly.20220504
2022-05-04 06:04:36 -07:00
Samuel Attard
60f1e5e008
test: unflake some focus tests ( #34061 )
...
* spec: unflake some focus tests
* test: disable flaky webFrame visibiilty spec
2022-05-04 01:29:30 -07:00
Milan Burda
349cd98b0a
test: fix nativeModulesEnabled in spec/webview-spec.js ( #34027 )
2022-05-03 23:56:45 -07:00
Samuel Attard
747dfe5851
build: remove dead circle config bits ( #34034 )
2022-05-03 12:06:25 -07:00
Milan Burda
658407df7a
test: fix require('echo') -> require('@electron-ci/echo') ( #34026 )
2022-05-03 11:49:01 -04:00
Sudowoodo Release Bot
0893733496
Bump v20.0.0-nightly.20220503
2022-05-03 06:02:57 -07:00
Darshan Sen
f887000d50
fix: make BrowserWindow#isFocused() return false when blur() is called on macOS ( #33734 )
...
The isFocused() method on macOS works by checking if the selected
BrowserWindow is a key window. Unfortunately, this didn't work well
with blur() because it wasn't calling any macOS APIs that would change
the key status of the window. Hence, this changes the implementation of
blur() to call orderOut first, which removes the key
status of the window. Then when the orderBack function is called, it
moves the window to the back of its level in the screen list, without
changing the key window.
Fixes: https://github.com/electron/electron/issues/33732
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-05-03 16:39:18 +09:00
Ruben R
7dee5179cb
Handle SIGUSR2 ( #33589 )
...
`start-server-webpack-plugin` uses `SIGUSR2` to signal an HMR update to a server process: https://github.com/ericclemmons/start-server-webpack-plugin/blob/master/src/StartServerPlugin.js#L70
Note that this signal does not actually kill the child process, but merely functions as a message-passing system.
2022-05-03 10:36:06 +09:00
John Kleinschmidt
a71936e395
test: skip flaky test on 32-bit Windows ( #34021 )
2022-05-02 21:08:20 -04:00
Jamie Magee
e1ed96b574
test: scope internal test fixtures under @electron-ci ( #33822 )
...
* test: scope internal test fixtures under `@electron`
* Missed references
* Move packages from @electron to @electron-ci scope
* Fix tests
2022-05-02 13:09:23 -04:00
Kevin Ushey
9901d2f281
fix: support mixed-case extensions in Linux file dialogs ( #33918 )
2022-05-02 11:54:17 -04:00
Keeley Hammond
14f07d7814
fix: move FirstPartySets into the browser process ( #33998 )
...
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3448551
2022-05-02 08:20:30 -07:00
Sudowoodo Release Bot
6f851afab5
Bump v20.0.0-nightly.20220502
2022-05-02 06:01:26 -07:00
Milan Burda
682d2e3f78
build: allow script/spec-runner.js with empty list of runners ( #33982 )
2022-05-02 14:49:13 +09:00
Milan Burda
b55f9d868a
spec: allow connections to port 2049 ( #33983 )
2022-04-30 04:29:05 -07:00
Sudowoodo Release Bot
ce562b6889
Bump v20.0.0-nightly.20220429
2022-04-29 06:01:34 -07:00
Keeley Hammond
015185ad5a
fix: fix FirstPartySetsHandler initialization ( #33971 )
2022-04-28 22:17:19 -07:00
Shelley Vohr
fb534c927a
refactor: better solution for resizable frameless DCHECK ( #33790 )
...
* refactor: better solution for resizable frameless DCHECK
* fix: also implement TargetForRectin WinFrameView
2022-04-28 20:34:12 -04:00
Jacek Oleksy
192a7fad0d
fix: disable MallocNanoZone on mac ( #33704 )
2022-04-28 10:28:27 -04:00
Sudowoodo Release Bot
097da1d4ba
Bump v20.0.0-nightly.20220428
2022-04-28 06:01:07 -07:00
Samuel Attard
b3530d5df8
build: use smaller resource_class because goma ( #33905 )
2022-04-28 03:17:05 -07:00
Darshan Sen
b5297ea8e2
docs: fix return type of setJumpList() in electron.d.ts ( #33910 )
...
Before:
```ts
setJumpList(categories: (JumpListCategory[]) | (null)): void;
```
After:
```ts
setJumpList(categories: (JumpListCategory[]) | (null)): ('ok' | 'error' | 'invalidSeparatorError' | 'fileTypeRegistrationError' | 'customCategoryAccessDeniedError');
```
Fixes: https://github.com/electron/electron/issues/33909
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-04-28 03:15:23 -07:00
Baoshuo Ren
15c931201a
chore: remove git.io ( #33933 )
...
* chore: remove git.io
All links on git.io will stop redirecting after April 29, 2022.
- https://github.blog/changelog/2022-04-25-git-io-deprecation/
* fix: lint
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-04-27 15:56:01 -04:00
Samuel Attard
f91b24deb5
build: ensure sync-done file exists during git cache save ( #33949 )
2022-04-27 15:54:52 -04:00
Samuel Attard
d2c3e78117
build: actually verify az urls too ( #33929 )
2022-04-27 10:37:26 -07:00
Sudowoodo Release Bot
a00544c745
Bump v20.0.0-nightly.20220427
2022-04-27 06:00:58 -07:00
Samuel Attard
160d6923db
build: improve CI speeds and reduce CI costs ( #33904 )
...
* rely on src cache instead of workspace
* run some tasks in the background and "thread join" later
* merge some ninja build commands to reduce overhead
2022-04-26 23:14:59 -07:00
Samuel Attard
6d5501d0bd
build: use dev-cdn instead of sysroots s3 bucket ( #33922 )
2022-04-26 15:21:59 -07:00
Sudowoodo Release Bot
bfabd67112
Bump v20.0.0-nightly.20220426
2022-04-26 06:01:17 -07:00
Sudowoodo Release Bot
40c022ad69
Bump v20.0.0-nightly.20220425
2022-04-25 14:01:18 -07:00
John Kleinschmidt
028a72daac
build: fix macos release GN gen ( #33915 )
2022-04-25 14:00:32 -07:00
John Kleinschmidt
6a1748da06
ci: update release script to handle new CircleCI configs ( #33914 )
2022-04-25 11:14:16 -04:00
Sudowoodo Release Bot
0a73f60423
Revert "Bump v20.0.0-nightly.20220425"
...
This reverts commit f48a921d14 .
2022-04-25 06:47:42 -07:00
Sudowoodo Release Bot
f48a921d14
Bump v20.0.0-nightly.20220425
2022-04-25 06:02:58 -07:00
electron-roller[bot]
f3e0517b6e
chore: bump chromium to 102.0.4999.0 (main) ( #33731 )
...
* chore: bump chromium in DEPS to 102.0.4999.0
* 3576640: Set OOM handler during V8 initialization
https://chromium-review.googlesource.com/c/chromium/src/+/3576640
* 3574964: Remove deprecated base::Value usage in print_settings_conversion code.
https://chromium-review.googlesource.com/c/chromium/src/+/3574964
* 3570062: Replicate Active state to render process for all RenderViews.
https://chromium-review.googlesource.com/c/chromium/src/+/3570062
* chore: fixup patch indices
* 3380402: Remove legacy SwiftShader
https://chromium-review.googlesource.com/c/chromium/src/+/3380402
* 3570254: [Local Fonts] Rename permission name from FONT_ACCESS to LOCAL_FONTS.
https://chromium-review.googlesource.com/c/chromium/src/+/3570254
* 3572172: Rename or remove several parameters involved in creation of MimeHandler streams
https://chromium-review.googlesource.com/c/chromium/src/+/3572172
* fix: add missing base/bits include
* chore: fix lint
* chore: remove ia32 Linux support
* chore: patch out swift-format cipd dep on macOS
* build: apply patch better
* build: reset all caches
* build: update zip manifests to remove swiftshared libraries
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3380402
* Revert "build: update zip manifests to remove swiftshared libraries"
This reverts commit 6aeec01ef1a79425a7b7d8c1cfb131a26b91c494.
* Revert "3380402: Remove legacy SwiftShader"
This reverts commit 4c7eebbbf2d0a459cc192959e17ae20f970c2da2.
* build: remove unused swiftshader egl libraries
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-04-22 15:36:22 -07:00
Sudowoodo Release Bot
53c3dd68b2
Revert "Bump v20.0.0-nightly.20220422"
...
This reverts commit 283e4826af .
2022-04-22 11:45:02 -07:00
Sudowoodo Release Bot
283e4826af
Bump v20.0.0-nightly.20220422
2022-04-22 11:40:22 -07:00
Sudowoodo Release Bot
e571417c52
Revert "Bump v20.0.0-nightly.20220422"
...
This reverts commit a5501d7118 .
2022-04-22 09:22:41 -07:00
Sudowoodo Release Bot
a5501d7118
Bump v20.0.0-nightly.20220422
2022-04-22 09:18:12 -07:00
Sudowoodo Release Bot
0c8c755ffb
Revert "Bump v20.0.0-nightly.20220422"
...
This reverts commit bb146e3deb .
2022-04-22 09:17:29 -07:00
Sudowoodo Release Bot
bb146e3deb
Bump v20.0.0-nightly.20220422
2022-04-22 06:01:30 -07:00
Samuel Attard
33e9bfd99b
build: improve circleci config ( #33881 )
...
* build: fix conditional restore of git cache
* build: split lint out of setup.yml
2022-04-21 14:34:25 -07:00
Sudowoodo Release Bot
e864bc44c6
Bump v20.0.0-nightly.20220421
2022-04-21 06:05:18 -07:00
Milan Burda
64517b36ef
build: fix intermittent compilation failures on macOS ( #33768 )
...
* build: fix intermittent compilation failures on macOS
* chore: remove //base dependency from main executable
* chore: fix lint
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-04-21 17:25:51 +09:00
Robo
00021a41b1
chore: backport 7c9b3938d from libuv ( #33815 )
...
Backports https://github.com/libuv/libuv/pull/3597
2022-04-21 10:38:47 +09:00
Robo
b53118ca28
fix: adopt partition alloc early initialization ( #33832 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3298858
2022-04-20 13:52:15 -07:00
Jeremy Rose
0c864837af
chore: use semantic-commit-action ( #33857 )
...
* chore: use semantic-commit-action
* Update semantic.yml
2022-04-20 16:49:59 -04:00
Sudowoodo Release Bot
fec147a0cb
Bump v20.0.0-nightly.20220420
2022-04-20 06:01:22 -07:00
Samuel Attard
841e0a4e0c
fix: include accessibility blink strings ( #33840 )
2022-04-19 20:00:51 -07:00
Sudowoodo Release Bot
31c2b5703a
Bump v20.0.0-nightly.20220419
2022-04-19 06:00:47 -07:00
Darshan Sen
6733279037
docs: document when BrowserWindow and BrowserView can be used ( #33696 )
...
We already document such info for other APIs, like the 'screen' API in
f711fe6b57/docs/api/screen.md (L7-L8) .
So we should do the same thing for these ones too.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-04-18 10:11:44 -04:00
Samuel Attard
2d0ad04354
docs: update security guide regarding ctx isolation ( #33807 )
2022-04-18 10:09:54 -04:00
Sudowoodo Release Bot
5ae234d5e1
Bump v20.0.0-nightly.20220418
2022-04-18 06:38:13 -07:00
Robo
0f087127de
chore: fix patch conflicts from 37b7e347 ( #33818 )
...
* chore: update patches
* chore: address review feedback
2022-04-18 09:36:17 -04:00
Sudowoodo Release Bot
b9c0166b49
Revert "Bump v20.0.0-nightly.20220418"
...
This reverts commit fd191fc50b .
2022-04-18 06:35:44 -07:00
Sudowoodo Release Bot
fd191fc50b
Bump v20.0.0-nightly.20220418
2022-04-18 06:01:41 -07:00
Robo
37b7e347fc
fix: potential crash caused by dlopen different gtk libraries ( #33650 )
2022-04-18 13:24:32 +09:00
Sudowoodo Release Bot
9d4aceb940
Bump v20.0.0-nightly.20220415
2022-04-15 09:32:01 -07:00
Sudowoodo Release Bot
eee4232069
Bump v20.0.0-nightly.20220414
2022-04-14 20:08:45 -07:00
Sudowoodo Release Bot
635b3a94c8
Revert "Bump v20.0.0-nightly.20220414"
...
This reverts commit 99791f620b .
2022-04-14 20:08:02 -07:00
Sudowoodo Release Bot
99791f620b
Bump v20.0.0-nightly.20220414
2022-04-14 18:08:45 -07:00
Keeley Hammond
8b0af86097
ci: build python2 from source ( #33793 )
...
* ci: add python2 to publish jobs
* chore: install python2 via circle
2022-04-14 18:07:51 -07:00
Sudowoodo Release Bot
f5e874cbcb
Revert "Bump v20.0.0-nightly.20220414"
...
This reverts commit dda8bc3cd1 .
2022-04-14 07:03:05 -07:00
Sudowoodo Release Bot
dda8bc3cd1
Bump v20.0.0-nightly.20220414
2022-04-14 06:13:26 -07:00
Shelley Vohr
233a39dbc9
fix: event propagation after exiting fullscreen on Windows ( #33757 )
2022-04-14 12:35:36 +02:00
Keeley Hammond
7658edfa1a
ci: manually install python@2 ( #33785 )
2022-04-14 09:53:05 +02:00
Robo
16f8d713ab
fix: apply senderFrame details to ipcMain port event ( #33756 )
2022-04-13 21:01:00 -07:00
Keeley Hammond
3d4d39d67b
chore: interpret bytes to string ( #33766 )
2022-04-13 14:51:00 -07:00
Shelley Vohr
b66667b843
feat: allow null when subscribing notification ( #33641 )
...
* feat: allow null when subscribing notification
* docs: document null event
2022-04-13 22:02:33 +02:00
Shelley Vohr
bfbba9dad6
chore: add missing GN dep ( #33758 )
2022-04-13 10:55:57 -07:00
Shelley Vohr
341b7bdf4a
fix: #ARGB to #RGBA conversion ( #33707 )
...
* fix: argb to rgba conversion
* chore: remove logging import
* refactor: color_str -> converted_color_str
2022-04-13 10:46:05 +02:00
Sudowoodo Release Bot
4c4e02318f
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit de2f48b40f .
2022-04-12 23:49:32 -07:00
Sudowoodo Release Bot
de2f48b40f
Bump v20.0.0-nightly.20220412
2022-04-12 21:26:21 -07:00
Sudowoodo Release Bot
a9c52926c0
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit 7038d2d418 .
2022-04-12 21:25:04 -07:00
Jeremy Rose
bfa5b21044
docs: note reason for is_cfi = false ( #33749 )
2022-04-12 21:00:03 -07:00
Samuel Attard
d804cd5de2
build: add comment for enable_cet_shadow_stack ( #33747 )
2022-04-12 16:23:07 -07:00
Sudowoodo Release Bot
7038d2d418
Bump v20.0.0-nightly.20220412
2022-04-12 16:14:58 -07:00
Sudowoodo Release Bot
b8c0ef9713
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit c5b93eaf17 .
2022-04-12 16:13:49 -07:00
Sudowoodo Release Bot
c5b93eaf17
Bump v20.0.0-nightly.20220412
2022-04-12 14:10:26 -07:00
Keeley Hammond
2ca46058cd
build: migrate urllib to python3 ( #33737 )
2022-04-12 14:07:40 -07:00
Shelley Vohr
3057ff0120
docs: note safeStorage.isEncryptionAvailable() needs ready event ( #33724 )
2022-04-12 12:47:15 -07:00
Sudowoodo Release Bot
48edb2c707
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit 56ab3d73c6 .
2022-04-12 12:06:19 -07:00
Sudowoodo Release Bot
56ab3d73c6
Bump v20.0.0-nightly.20220412
2022-04-12 08:05:06 -07:00
Sudowoodo Release Bot
0287c3f511
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit 1c53fc4331 .
2022-04-12 07:52:41 -07:00
Sudowoodo Release Bot
1c53fc4331
Bump v20.0.0-nightly.20220412
2022-04-12 06:00:49 -07:00
Jeremy Rose
c0d442364a
build: explicitly run scripts with python3 ( #33720 )
...
* build: explicitly run scripts with python3
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-04-12 13:21:55 +02:00
electron-roller[bot]
59dd17f2cf
chore: bump chromium to 102.0.4989.0 (main) ( #33557 )
...
* chore: bump chromium in DEPS to 102.0.4975.0
* chore: bump chromium in DEPS to 102.0.4977.0
* chore: update patches
* Remove parameter of OnGpuProcessCrashed()
https://chromium-review.googlesource.com/c/chromium/src/+/3543396
* hid: Add exclusionFilters option to requestDevice
https://chromium-review.googlesource.com/c/chromium/src/+/3478175
* chore: bump chromium in DEPS to 102.0.4979.0
* chore: bump chromium in DEPS to 102.0.4981.0
* chore: update patches
* Deny notification/push permission for documents in non-standard StoragePartitions
https://chromium-review.googlesource.com/c/chromium/src/+/3257305
* Improve FrameTreeNode tracking in URLLoaderNetworkContext
https://chromium-review.googlesource.com/c/chromium/src/+/3341866
* fixup! Remove parameter of OnGpuProcessCrashed()
* chore: fix lint
* Reland "Use gfx::Insets[F]::TLBR() and gfx::Insets[F]::VH() in the rest of Chrome"
https://chromium-review.googlesource.com/c/chromium/src/+/3554236
* chore: bump chromium in DEPS to 102.0.4983.0
* Ensure EyeDropperView does not access a destroyed window
https://chromium-review.googlesource.com/c/chromium/src/+/3561542
* ci: don't delete dawn .git directory
83901: Adds a generated file with the dawn git hash encoded at build time. | https://dawn-review.googlesource.com/c/dawn/+/83901
* ci: update Windows toolchain
3550827: New toolchain for Windows 10 20348 SDK | https://chromium-review.googlesource.com/c/chromium/src/+/3550827
* chore: bump chromium in DEPS to 102.0.4985.0
* chore: update patches
* chore: bump chromium in DEPS to 102.0.4987.0
* chore: update patches
* 3563432: codehealth: remove uses of DictionaryValue in cbui/webui
https://chromium-review.googlesource.com/c/chromium/src/+/3563432
* chore: update patches after rebase
* Use gfx::Insets[F]::TLBR() and gfx::Insets[F]::VH() in the rest of Chrome
https://chromium-review.googlesource.com/c/chromium/src/+/3554236
* 3565724: Preserve "proper method names" as-is in error.stack.
https://chromium-review.googlesource.com/c/v8/v8/+/3565724
* chore: bump chromium in DEPS to 102.0.4989.0
* chore: update patches
* fixup ci: don't delete dawn .git directory for Windows
* 3560843: Remove multi-parameter version of gfx::Rect[F]::Inset()
https://chromium-review.googlesource.com/c/chromium/src/+/3560843
* 3572711: Remove unused IDS_PDF_TOOLTIP_ROTATE_CW resource.
https://chromium-review.googlesource.com/c/chromium/src/+/3572711
* 3572926: Reland "[Sysroot] Switch to Debian Bullseye stable"
https://chromium-review.googlesource.com/c/chromium/src/+/3572926
* build: fixup sysroots with electron specific dependencies
* fixup Remove multi-parameter version of gfx::Rect[F]::Inset()
* fixup 3565724: Preserve "proper method names" as-is in error.stack.
* fixup Remove multi-parameter version of gfx::Rect[F]::Inset()
* test: add spec for navigator.hid.requestDevice({ exclusionFilters: [...] }
* fixup 3565724: Preserve "proper method names" as-is in error.stack.
* ci: use python3 to get the windows toolchain profile
3525960: Explicitly run everything with python3 | https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3525960
* chore: add diagnostic logging
* fix: try calling process.crash()
* chore: remove logging
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-04-12 13:19:14 +02:00
Shelley Vohr
e8ed9cb4b5
test: re-enable disabled ScriptOrModule specs ( #33702 )
2022-04-12 12:00:42 +02:00
Jeremy Rose
c9fd255093
build: use python3 to lint ( #33627 )
2022-04-11 16:05:21 -07:00
Shelley Vohr
caddc83cfe
feat: implement chrome.tabs.reload ( #33560 )
2022-04-11 22:51:10 +02:00
Sudowoodo Release Bot
a7a5e7fcfd
Bump v20.0.0-nightly.20220411
2022-04-11 11:23:37 -07:00
Sudowoodo Release Bot
207d4e5823
Revert "Bump v20.0.0-nightly.20220411"
...
This reverts commit 8e2310db31 .
2022-04-11 11:22:06 -07:00
Sudowoodo Release Bot
8e2310db31
Bump v20.0.0-nightly.20220411
2022-04-11 11:08:17 -07:00
Sudowoodo Release Bot
6872306117
Revert "Bump v20.0.0-nightly.20220411"
...
This reverts commit 9d6e6c45c1 .
2022-04-11 11:03:28 -07:00
Keeley Hammond
41c1a7e318
chore: modify uploaded assets for win-ia32 ( #33699 )
...
* chore: filter correct symbol files
* chore: upload correct assets
2022-04-11 11:02:01 -07:00
Sudowoodo Release Bot
9d6e6c45c1
Bump v20.0.0-nightly.20220411
2022-04-11 06:01:10 -07:00
Sudowoodo Release Bot
f711fe6b57
Bump v20.0.0-nightly.20220408
2022-04-08 06:04:36 -07:00
John Kleinschmidt
94c2a7671c
build: temporarily disable 32-bit Windows symbol generation ( #33653 )
...
* build: temporarily disable 32-bit Windows symbol generation
* fix: modify upload.py
* chore: fix comment
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-04-08 04:17:51 -07:00
Milan Burda
4d4682c0e3
fix: report more detailed errors in shell.openExternal() on Windows ( #33620 )
2022-04-07 11:07:39 -07:00
Sudowoodo Release Bot
7fb1c8faad
Revert "Bump v20.0.0-nightly.20220407"
...
This reverts commit ba8e7b9638 .
2022-04-07 08:59:17 -07:00
Sudowoodo Release Bot
ba8e7b9638
Bump v20.0.0-nightly.20220407
2022-04-07 06:02:15 -07:00
Cheng Zhao
75ccec7996
docs: recommend setting e.returnValue ( #33628 )
2022-04-07 09:39:51 +02:00
Inclusive Coding Bot
68d6d8d451
chore: switch to gender neutral terms ( #33532 )
...
* Switch to gender neutral terms
* Update docs/api/web-contents.md
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update docs/api/webview-tag.md
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update script/release/uploaders/upload.py
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* Update docs/tutorial/in-app-purchases.md
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: inclusive-coding-bot <inclusive-coding-bot@github.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2022-04-06 17:19:32 -04:00
Jeremy Rose
0168aede8e
chore: use //chrome resources directly ( #33626 )
2022-04-06 09:34:35 -07:00
Sudowoodo Release Bot
a05d9be44f
Bump v20.0.0-nightly.20220406
2022-04-06 06:01:36 -07:00
Shelley Vohr
f95e565884
chore: combine some smaller MAS patches ( #33595 )
...
* chore: combine some smaller MAS patches
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-04-06 13:40:52 +02:00
David Sanders
4615fc53ca
chore: fix typo in NotifyWindowRequestPreferredWidth method name ( #33568 )
2022-04-05 11:25:07 -05:00
Sudowoodo Release Bot
927ab3104d
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit df34d20a21 .
2022-04-05 09:17:12 -07:00
Shelley Vohr
cc3743bd43
fix: remove usage of private pid API on MAS ( #33594 )
2022-04-05 09:09:12 -07:00
Samuel Attard
fcbdaab5e3
fix: add missing translation string for ax tree ( #33614 )
2022-04-04 20:22:36 -07:00
Samuel Attard
a72acfc535
fix: revert "fix: some frameless windows showing a frame on Windows ( #32692 )" ( #33599 )
...
This reverts commit 7c701367c0 .
2022-04-04 17:01:12 -07:00
Samuel Attard
477aa389e6
build: disable RDP
2022-04-04 16:25:32 -07:00
Samuel Attard
1ada5d7ddf
Revert "Revert "build: enable RDP for release builds""
...
This reverts commit dce6c23b33 .
2022-04-04 16:25:19 -07:00
Samuel Attard
dce6c23b33
Revert "build: enable RDP for release builds"
...
This reverts commit d309558f64 .
2022-04-04 16:25:10 -07:00
Sudowoodo Release Bot
df34d20a21
Bump v20.0.0-nightly.20220404
2022-04-04 15:50:33 -07:00
Samuel Attard
d309558f64
build: enable RDP for release builds
2022-04-04 15:49:43 -07:00
Sudowoodo Release Bot
128560c4ac
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit bff1a37791 .
2022-04-04 15:49:20 -07:00
Sudowoodo Release Bot
bff1a37791
Bump v20.0.0-nightly.20220404
2022-04-04 15:46:28 -07:00
Samuel Attard
fcd7dbfa5c
build: enable RDP for release builds
2022-04-04 15:45:11 -07:00
Sudowoodo Release Bot
58386fbf43
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit 5985e6fd76a552b9647eb81c0fbaf9f609b11935.
2022-04-04 15:44:53 -07:00
Sudowoodo Release Bot
09251fe24c
Bump v20.0.0-nightly.20220404
2022-04-04 15:44:53 -07:00
Samuel Attard
18db9c551d
Revert "build: enable RDP for release builds"
...
This reverts commit c2449c421c .
2022-04-04 15:43:57 -07:00
Samuel Attard
c2449c421c
build: enable RDP for release builds
2022-04-04 15:43:36 -07:00
Sudowoodo Release Bot
e28bde9947
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit f287b0b382 .
2022-04-04 07:31:00 -07:00
Sudowoodo Release Bot
f287b0b382
Bump v20.0.0-nightly.20220404
2022-04-04 06:03:57 -07:00
Samuel Attard
204b53e7b8
build: upload to AZ as well as S3 ( #33573 )
...
* build: upload to AZ aswell as S3
* fix: provide env to azput
2022-04-04 02:32:57 -07:00
David Sanders
0ac6d74536
docs: mark platform-specific functionality for BrowserWindow ( #33512 )
2022-04-04 18:00:45 +09:00
Micha Hanselmann
78a3752ade
fix: create userData on requestSingleInstanceLock() if needed ( #33559 )
...
* test: use custom userData folder for requestSingleInstanceLock()
* update test
* prefix test folder path
* fix: create userDataDir on requestSingleInstanceLock() if needed
* Trigger Build
2022-04-04 10:39:55 +09:00
Sudowoodo Release Bot
9207c2aa68
Revert "Bump v20.0.0-nightly.20220401"
...
This reverts commit 1864edd287 .
2022-04-01 09:52:10 -07:00
Sudowoodo Release Bot
1864edd287
Bump v20.0.0-nightly.20220401
2022-04-01 06:02:12 -07:00
Sudowoodo Release Bot
9722ca78b2
Revert "Bump v20.0.0-nightly.20220331"
...
This reverts commit 7612df7687 .
2022-03-31 12:14:36 -07:00
Sudowoodo Release Bot
7612df7687
Bump v20.0.0-nightly.20220331
2022-03-31 06:01:00 -07:00
Cheng Zhao
cbd06cd25e
docs: remove "cache" from app.getPath ( #33509 )
2022-03-31 09:33:38 +09:00
Shelley Vohr
8c8642634d
fix: don't unmaximize on macOS if user set max bounds ( #33480 )
2022-03-31 00:29:02 +02:00
Robo
afe0116d59
fix: build when pdf component is disabled ( #33513 )
2022-03-30 11:55:38 -07:00
electron-roller[bot]
b711860d21
chore: bump chromium to 102.0.4971.0 (main) ( #33454 )
...
* chore: bump chromium in DEPS to 102.0.4965.0
* chore: 3-way merge of chromium/printing.patch
* chore: update patch shear in chromium/picture-in-picture.patch
* chore: update patches
* 3101519: Window Placement: Prototype fullscreen companion window support
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3101519
build: add popup_preventer.cc, .h to our library. It's needed because
FullscreenController, we were already using, started aggregating a
PopupPreventer in 3101519.
* chore: bump chromium in DEPS to 102.0.4967.0
* Revert "3101519: Window Placement: Prototype fullscreen companion window support"
This reverts commit fc215cb99c464e939882ed3f5cf8e9874a8e3311.
Adding popup_preventer might not be the right solution; there are
cascading dependencies.
* 3551449: Add service-based usage for system print settings
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3551449
chore: fix code shear in patches/chromium/printing.patch
* chore: update patches
* chore: bump chromium in DEPS to 102.0.4969.0
* chore: update patches
* chore: bump chromium in DEPS to 102.0.4971.0
* chore: update fix_patch_out_permissions_checks_in_exclusive_access.patch
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3101519
PopupunderPreventer is not useful in //electron since the window
attributes are controlled by the user via setWindowOpenHandler.
* chore: update patches
* Add FirstPartySetsHandler as a interface class in content API.
https://chromium-review.googlesource.com/c/chromium/src/+/3503410
* Create a new MediaStreamRequestType for GetOpenDevice
https://chromium-review.googlesource.com/c/chromium/src/+/3541939
* Support site isolation for <webview> tags in WebViewRendererState.
https://chromium-review.googlesource.com/c/chromium/src/+/3537735
* ci: update xcode version
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3544199
https://developer.apple.com/documentation/screencapturekit/capturing_screen_content_in_macos
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 >
2022-03-30 14:08:58 -04:00
Cheng Zhao
929fc8bea5
test: make test apps' name prefixed with electron-test- ( #33511 )
2022-03-30 13:17:34 -04:00
John Kleinschmidt
a508dce1bf
ci: save Windows artifacts at end of job in case they fail ( #33510 )
2022-03-30 09:50:26 -04:00
Sudowoodo Release Bot
f13f07023f
Bump v20.0.0-nightly.20220330
2022-03-30 06:01:28 -07:00
Shelley Vohr
aac546368f
test: re-enable test-child-process-stdio-overlapped ( #33502 )
2022-03-30 12:51:13 +02:00
Cheng Zhao
c119b1ebef
chore: remove redundant code in node integration ( #33500 )
2022-03-29 20:09:42 -07:00
Samuel Attard
df3cfb663c
refactor: use posix_spawn instead of NSTask so we can disclaim the spawned ShipIt executable ( #33468 )
2022-03-29 19:50:59 -07:00
Mitchell Cohen
a9296229c8
feat: add app.isHidden API for macOS ( #32155 )
...
* feat: add app.isHidden API
* Update docs/api/app.md
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
* fixed isHidden tests
* Update docs/api/app.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* Update spec-main/api-app-spec.ts
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2022-03-29 21:34:07 -04:00
David Sanders
9c3b159b95
fix: on macOS show BrowserWindow on maximize if not currently shown ( #32949 )
2022-03-29 19:08:34 -04:00
Keeley Hammond
89c1abd1b3
chore: bump NMV for Electron 20 ( #33476 )
2022-03-29 16:07:55 -07:00
dependabot[bot]
10f67e64f9
build(deps): bump ansi-regex from 3.0.0 to 3.0.1 in /spec ( #33484 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 18:47:46 -04:00
Shelley Vohr
0615fadead
chore: set v8_typed_array_max_size_in_heap to default ( #33496 )
2022-03-29 15:34:44 -07:00
Samuel Attard
479f652f90
feat: add new Squirrel.Mac bundle installation method behind flag ( #33470 )
2022-03-29 14:47:34 -07:00
Samuel Attard
4c988a5a24
docs: fix type of 'value' param in setUserDefaults ( #33481 )
2022-03-29 14:47:06 -07:00
dependabot[bot]
94498b923e
build(deps): bump minimist from 1.2.5 to 1.2.6 in /spec-main ( #33431 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 12:25:40 -04:00
Shelley Vohr
d1ea62c3e8
fix: getting focused window with destroyed webContents ( #33404 )
...
* fix: getting focused window with destroyed webContents
* fix: add extra safeguards
2022-03-29 12:22:58 -04:00
Shelley Vohr
8ea0631b82
test: re-enable desktop specs ( #33497 )
2022-03-29 11:57:21 -04:00
Shelley Vohr
f0c22a770d
chore: fix moveAbove desktopCapturer spec ( #33471 )
2022-03-29 16:05:08 +02:00
dependabot[bot]
bf3d0e2257
build(deps-dev): bump minimist from 1.2.5 to 1.2.6 ( #33432 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 15:39:38 +02:00
Sudowoodo Release Bot
9a2b35163e
Bump v19.0.0-nightly.20220329
2022-03-29 06:01:08 -07:00
Cheng Zhao
4e66b072da
chore: update libuv patch for event loop integration ( #31647 )
...
* chore: update libuv patch for loop integration
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-03-29 19:03:07 +09:00
Joseph
6b66fea67d
docs: update heading level of webFrame.insertCSS ( #33467 )
2022-03-29 16:02:30 +09:00
John Kleinschmidt
37a94d9857
ci: fixup esbuild on macos ( #33486 )
...
* ci: fixup esbuild on macos
* ci: call update_depot_tools right after clone
* when all else fails, use sed
2022-03-28 20:57:11 -07:00
Gellert Hegyi
4aeeb64d30
fix: crash when WindowButtonsProxy references cleared NSWindow ( #33069 )
...
* resets WindowButtonsProxy on window delete on macOS
* fixes reset
2022-03-28 23:02:44 -04:00
Calvin
594dc7e24a
chore: update node types version ( #33452 )
...
* chore: update node types version
* update express types to solve type conflict
* one more yarn.lock type bump
* update another types package to fix incompatible global declarations
* remove incompatible type magicks
* update our ambient types to match the node types
* fix test type
2022-03-28 14:37:35 -07:00
Charles Kerr
1c5bbba5cf
docs: simplify skipTaskbar breaking changes text ( #33479 )
2022-03-28 15:06:11 -05:00
Baitinq
c4e3a1aad3
docs: Use Node's URL parser in the 5th security recommendation ( #33463 )
...
Rule 13 recommends using Node's URL parser for handling url inputs. At
the moment, this is not being followed in the code example for rule 5,
which falls back on checking that the url ends with a '/'. If this was
forgotten when a user copies this code it could introduce security
vulnerabilities if an attacker uses an URL in the following way:
"https://example.com.attacker.com "
Using Node's URL parser fixes this potential missuse and enables the
'/' to be omited from the code example.
Co-authored-by: Baitinq <you@example.com >
2022-03-28 14:25:44 -04:00
Samuel Attard
3c30b59c3e
build: store last ninja log in artifacts ( #32936 )
2022-03-28 13:34:10 -04:00
Marek Rusinowski
cdf2b3f4e4
fix: calling of X11 functions when running under Wayland ( #33355 )
...
* fix: don't call X11 functions in file dialog and message box
* refactor: remove unused GtkUiPlatform declaration
* fix: set gtk darktheme only when running under X11
* fix: replace X11 window state watcher with implementation using ozone
* fix: make sure global menu barr is used only when supported
* fix: don't call X11 function in native window views under wayland
* style: fix lint issues
* fix: use GtkUiPlatform::ShowGtkWindow instead of gtk_window_present directly
* refactor: extract CreateGlobalMenuBar into separate function
* refactor: move checking for WaylandWindowDecorations inside class
* fix: check if we run under X11 only in ozone build
* refactor: drop including unused ui/base/ui_base_features.h header
* fix: modify ui_gtk_public_header.patch to also export gtk_ui.h
* fix: refactor guarding of X11 calls
- Introduce patch exposing new electron_can_call_x11 property
- Replace defined(USE_OZONE) with BUILDFLAG(OZONE_PLATFORM_X11) flags
* fix: remove the last remaining usage of USE_X11
* fix: usage of BUILDFLAG(OZONE_PLATFORM_X11) not building on non ozone
* fix: call UpdateWindowState from OnBoundsChanged only under X11
2022-03-28 12:48:50 -04:00
Shelley Vohr
1153a5ce5a
fix: BrowserView background color in webContents ( #33435 )
...
* chore: fix BrowserView background color in webContents
* disable screen capture test on linux
* spec: fix platform failure condition
2022-03-28 12:47:08 -04:00
Sofia Nguy
9e45a1cd51
docs: Update release dates for E19 and fix typos ( #33464 )
2022-03-28 09:30:05 -07:00
Sudowoodo Release Bot
d4a34fb175
Bump v19.0.0-nightly.20220328
2022-03-28 06:02:03 -07:00
electron-roller[bot]
c11cd3c14c
chore: bump chromium to 102.0.4962.3 (main) ( #33447 )
...
* chore: bump chromium in DEPS to 102.0.4962.3
* 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>
2022-03-25 12:35:32 -05:00
Sudowoodo Release Bot
3c5c880a33
Bump v19.0.0-nightly.20220325
2022-03-25 06:01:13 -07:00
Calvin
b03d6dfba9
fix: non-client windows messages on legacy widget host (again) ( #33438 )
2022-03-25 11:12:09 +01:00
Robo
f60ff18b14
fix: gn check when //printing component is disabled ( #33429 )
2022-03-24 20:48:23 -07:00
electron-roller[bot]
7e59d784a0
chore: bump chromium to 102.0.4961.0 (main) ( #33091 )
...
* chore: bump chromium in DEPS to 101.0.4911.0
* chore: bump chromium in DEPS to 101.0.4913.0
* chore: bump chromium in DEPS to 101.0.4915.0
* chore: bump chromium in DEPS to 101.0.4917.0
* chore: bump chromium in DEPS to 101.0.4919.0
* chore: bump chromium in DEPS to 101.0.4921.0
* chore: bump chromium in DEPS to 101.0.4923.0
* chore: bump chromium in DEPS to 101.0.4925.0
* chore: bump chromium in DEPS to 101.0.4927.0
* chore: bump chromium in DEPS to 101.0.4929.0
* chore: update patches
* chore: bump chromium in DEPS to 101.0.4931.0
* chore: update patches
* 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3475388
Actual fixes in 1824792: Migrate DisplayClient to the new Mojo types | https://chromium-review.googlesource.com/c/chromium/src/+/1824792
* 3503874: Remove base::size(), base::empty(), and base::data().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3503874
* chore: reconcile patches with main rebase
* chore: bump chromium in DEPS to 101.0.4933.0
* chore: update patches
* 3329593: [Fenced Frame] Ensure to support external protocols in a fenced frame
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3329593
* 3503874: Remove base::size(), base::empty(), and base::data().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3503874
* 3446451: Use forward decl of ImageSkiaRep in //ui/gfx/image/image_skia.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3446451
* 3499818: partition_alloc: Rename AllocFlags to AllocWithFlags
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3499818
* chore: bump chromium in DEPS to 101.0.4935.0
* chore: update patches
* 3463286: partition_alloc: Move PartitionAlloc into the own namespaces (15 of N)
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3463286
* 3506590: Reland "Support ChromeOS external protocol dialog for Fenced Frame navigations"
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3506590
* 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3475388
Actual fixes in 1880987: Convert URLLoaderReqeust from //content to new Mojo types | https://chromium-review.googlesource.com/c/chromium/src/+/1880987 The change in the roll started causing the legacy types to fail
* chore: missing SkRegion include
* 3499600: Introduce blink::WebCssOrigin
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3499600
* fixup!: 3503874: Remove base::size(), base::empty(), and base::data().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3503874
* chore: bump chromium in DEPS to 101.0.4937.0
* chore: update patches
* 3500826: [locales] Refactor locales for ios
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3500826
* 3509531: Make some public Blink media files private
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3509531
* 3497377: bluetooth: Add BluetoothDevice.forget()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3497377
* chore: bump chromium in DEPS to 101.0.4939.0
* chore: bump chromium in DEPS to 101.0.4941.0
* 3514804: Deprecate all existing uses of mojo_base.mojom.{Dictionary,List}Value.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3514804
* 3502592: Delete PPAPI init/shutdown code in //pdf.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3502592
* chore: update patches
* fixup! 3502592: Delete PPAPI init/shutdown code in //pdf.
* chore: bump chromium in DEPS to 101.0.4943.0
* chore: fix lint, remove unneeded headers
* fixup! 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
* update mojo calls in offscreen patch
* update hunspell filenames
* chore: bump chromium in DEPS to 101.0.4945.0
* chore: update patches
* fix offscreen patch again
* chore: bump chromium in DEPS to 101.0.4947.0
* chore: update patches
* chore: bump chromium in DEPS to 101.0.4949.0
* support unseasoned pdf
* update patches
* chore: update patches
* chore: [IWYU] include missing skia headers
* chore: bump chromium in DEPS to 101.0.4951.0
* chore: update patches
* 3457645: media: Remove IsKeySystemsUpdateNeeded()
https://chromium-review.googlesource.com/c/chromium/src/+/3457645
* chore: bump chromium in DEPS to 102.0.4952.2
* chore: update patches
* 3488672: Add documentId as a parameter in tabs.connect() and tabs.sendMessage().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3488672
* 3508375: Fix an issue dangerous dialog is not shown for some apk download
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3508375
* chore: bump chromium in DEPS to 102.0.4953.0
* chore: update patches
* 3510189: Harden up drag and drop support across same-process boundaries.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3510189
* 3526815: Remove hardcoded colors from chrome/browser/ui/views/overlay/.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3526815
* chore: bump chromium in DEPS to 102.0.4955.0
* build: add af and ur locale to manifests
3498914 [locales] Add af and ur to desktop
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3498914
* fixup! build: add af and ur locale to manifests
* chore: bump chromium in DEPS to 102.0.4957.0
* 3529090: gin: set JS flags before v8 initialization
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3529090
chore: fix code shear in chromium/gin_enable_disable_v8_platform.patch
* chore: update patches
* 3536433: [network] Rename data_path and http_cache_path from _path to _directory.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3536433
* 3111565: Relocated Page.printToPDF implementation to //components
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3111565
refactor: inject E args to PrintRequestedPages() and ScriptedPrintCallback
TODO: currently passes a placeholder for job_settings. We have other
code paths that inject settings from electron_api_web_contents.cc.
Should those be injected here as well? (CC @codebytere)
* fixup! 3111565: Relocated Page.printToPDF implementation to //components
* fixup! 3111565: Relocated Page.printToPDF implementation to //components
* 3520025: Make "libcxx_abi_unstable" not a gn arg
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3520025
build: since it is no longer a gn arg, patch it in
* chore: change usages of std::vector with const elements (#33373 )
* chore: bump chromium in DEPS to 102.0.4959.0
* chore: update patches
* build: iwyu base/threading/platform_thread.h
* 3525774: Add GPSForCurrentDocument() into PermissionControllerDelegate.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3525774
refactor: copy upstream impl of GetPermissionStatusForCurrentDocument into +ElectronPermissionManager
* use gclient_gn_args_from instead of hand-copying
* checkout mac on mac
* chore: update patches
* Revert "checkout mac on mac"
This reverts commit fe9ccf49ec .
* fixup! 3525774: Add GPSForCurrentDocument() into PermissionControllerDelegate.
* fixup! 3457645: media: Remove IsKeySystemsUpdateNeeded()
add nogncheck
* fix: set .eslintrc.json to root to avoid cascade to chromium eslintrc
* Xref: 6dfdf79b8c
Xref: https://reviews.llvm.org/D101458
Upstream added a CMakeLists.txt in an include dir ¯\_(ツ)_/¯ and
so it must be enumerated in filenames.libcxxabi.gni
* 3511268: Remove unused headers from cxx17_backports.h
https://chromium-review.googlesource.com/c/chromium/src/+/3511268
use std::size instead of base::size
* iwyu: SkPaint
3488428: [includes] Fix transitive includes of SkImageEncoder
* chore: [IWYU] include missing skia headers
* fixup! 3511268: Remove unused headers from cxx17_backports.h
* chore: bump chromium in DEPS to 102.0.4961.0
* chore: update patches
* fixup! 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
chore: remove unused #include
* fixup! 3510189: Harden up drag and drop support across same-process boundaries. | https://chromium-review.googlesource.com/c/chromium/src/+/3510189
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-03-24 21:39:03 -04:00
Hanlin
92c5dedc76
Update china npmmirror ( #33401 )
...
Source: https://zhuanlan.zhihu.com/p/465424728
2022-03-24 20:08:33 -04:00
Calvin
f69b59effc
feat: add WCO title bar style setters ( #33066 )
...
* feat: add wco title bar style setters
* return after throwing
2022-03-24 20:02:45 -04:00
Jeremy Rose
4fdf8584ed
docs: fix SCA and postMessage links in web-frame-main.md ( #33415 )
2022-03-24 13:12:47 -04:00
David Sanders
962f4a6558
docs: remove pywin32 from Windows build instructions ( #33402 )
2022-03-24 09:09:12 -04:00
Sudowoodo Release Bot
d5ad18db03
Bump v19.0.0-nightly.20220324
2022-03-24 06:00:50 -07:00
Cheng Zhao
9d698c76c5
chore: update out-dated node patches ( #33421 )
2022-03-24 10:26:34 +01:00
electron-roller[bot]
db5a3c014a
chore: bump node to v16.14.2 (main) ( #32833 )
...
* chore: bump node in DEPS to v16.14.0
* src: add flags for controlling process behavior
https://github.com/nodejs/node/pull/40339
* src: add x509.fingerprint512 to crypto module
https://github.com/nodejs/node/pull/39809
* deps: upgrade to libuv 1.43.0
https://github.com/nodejs/node/pull/41398
* chore: fixup patch indices
* chore: add missing filenames
https://github.com/nodejs/node/pull/39283
https://github.com/nodejs/node/pull/40665
* crypto: trim input for NETSCAPE_SPKI_b64_decode
https://github.com/nodejs/node/pull/40757
* chore: update patches
* chore: bump node in DEPS to v16.14.1
* tools: enable no-empty ESLint rule
https://github.com/nodejs/node/pull/41831
* chore: update patches
* chore: update patches
* chore: bump node in DEPS to v16.14.2
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-03-23 18:59:54 -04:00
John Kleinschmidt
cc253f5de9
ci: abort CI if goma authentication is invalid ( #33413 )
2022-03-23 18:55:26 -04:00
John Kleinschmidt
41f94ef154
Revert "test: re-enable webview resize events test ( #33220 )" ( #33409 )
...
This reverts commit c262eac441 .
2022-03-23 12:40:29 -04:00
Jeremy Rose
f912130be6
fix: libuv patches to address child_process.spawn slowness ( #33337 )
...
* fix: libuv patches to address child_process.spawn slowness
* chore: backport additional patches
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-03-23 06:30:54 -07:00
Sudowoodo Release Bot
a5ab10f3d2
Bump v19.0.0-nightly.20220323
2022-03-23 06:00:58 -07:00
David Sanders
6bb492ac23
docs: update Ubuntu version used for Linux prebuilt binaries ( #33372 )
2022-03-23 18:46:45 +09:00
andreasdj
3744ac0a52
fix: persist BrowserView content bounds when calculating layout ( #32747 )
...
Reverting change introduced in PR: https://github.com/electron/electron/pull/30510
Co-authored-by: Andreas Johansson <aj3621@tobii.com >
2022-03-23 10:16:15 +09:00
Samuel Attard
800b96fe14
docs: add new IPC validation section to the security tutorial ( #33369 )
...
* docs: add new IPC validation section to the security tutorial
* Update security.md
* Update docs/tutorial/security.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/tutorial/security.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-03-22 20:45:23 -04:00
Fedor Indutny
06a00b74e8
fix: initialize asar support in worker threads ( #33216 )
...
* fix: initialize asar support in worker threads
Use `ObjectWrap` instead of gin's Wrap in `electron_api_asar.cc` because
gin isn't fully initialized (and apparently not possible to initialize
without ruining the isolate configuration and array buffer allocator) in
worker threads. In the worker thread call `setupAsarSupport` just as we
do for the main process.
* Update lib/asar/fs-wrapper.ts
Co-authored-by: Darshan Sen <raisinten@gmail.com >
* Update patches/node/worker_thread_add_asar_support.patch
Co-authored-by: Darshan Sen <raisinten@gmail.com >
* Add a test
Co-authored-by: Darshan Sen <raisinten@gmail.com >
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-03-22 20:37:55 -04:00
David Sanders
27ddf19f3c
chore: use pylint-2.7 ( #33232 )
...
* chore: use pylint-2.7
* chore: fix pylint errors
2022-03-22 20:17:35 -04:00
David Sanders
4633376b28
test: fix crash on image.crop ( #33148 )
...
* test: fix crash on image.crop
* Trigger CI
2022-03-22 20:14:49 -04:00
Johns Gresham
8ad1470d08
docs: remove extra $ from npm install command ( #33366 )
2022-03-23 08:54:08 +09:00
Black-Hole
3aec1c3e3f
chore: upgrade @electron/get version to ^1.14.1 ( #33259 )
...
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2022-03-22 09:41:21 -07:00
Keeley Hammond
feff8b3584
ci: enable thin LTO on Mac ( #33194 )
...
* build: remove thin lto mac patch
* build: remove step-get-more-space-on-mac
* build: remove USE_PREBUILT_V8_CONTEXT_SNAPSHOT
* ci: re-add mksnapshot logic
* ci: re-add USE_PREBUILT_V8_CONTEXT_SNAPSHOT
* ci: re-add get-more-space, delete thin LTO cache & .dSYM
* ci: don't delete v8_snapshot_generator.dSYM
* ci: add timeout to mksnapshot
2022-03-22 11:31:53 -04:00
Sudowoodo Release Bot
b7188f07f4
Bump v19.0.0-nightly.20220322
2022-03-22 06:00:54 -07:00
David Sanders
4d8ebcd19c
chore: change usages of std::vector with const elements ( #33373 )
2022-03-22 01:52:10 -07:00
Samuel Attard
81318f0acc
fix: disable SIGUSR1 when --inspect is disabled ( #33188 )
2022-03-22 16:51:04 +09:00
Samuel Attard
956406a193
fix: use stricter options in SecStaticCodeCheckValidity ( #33368 )
...
* fix: use stricter options in SecStaticCodeCheckValidity
* Update patches/squirrel.mac/fix_use_kseccschecknestedcode_kseccsstrictvalidate_in_the_sec.patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-03-22 00:19:46 -07:00
Charles Kerr
0af2b8de73
docs: mark skipTaskbar as unsupported on Linux ( #33226 )
...
Fixes #33124 .
2022-03-22 15:12:20 +09:00
Shelley Vohr
f5112632a3
fix: pend bounds change when moving BrowserWindows ( #33288 )
...
* fix: ensure bounds changes apply when moving windows
* chore: remove unused queue include
2022-03-22 15:07:09 +09:00
Charles Kerr
c262eac441
test: re-enable webview resize events test ( #33220 )
2022-03-22 08:55:53 +09:00
Jeremy Rose
d79d3fc7d7
test: fix and re-enable Network.getResponseBody test ( #33227 )
2022-03-22 08:38:46 +09:00
zeeker999
108ee7037f
fix: IncrementCapturerCount doesn't increase the capturer count ( #32973 )
2022-03-22 08:38:03 +09:00
Shelley Vohr
59246a4c7c
fix: NOTREACHED when resizing windows frameless bounds ( #33029 )
...
* fix: NOTREACHED when resizing windows frameless bounds
* fix: scope to window_->IsResizable()
2022-03-22 08:30:05 +09:00
David Sanders
2205d725f2
chore: bump @electron/docs-parser version ( #33346 )
2022-03-21 14:17:25 -04:00
David Sanders
1ccf206e77
docs: add note about supported versions to issue template ( #33348 )
2022-03-21 13:51:59 -04:00
Shelley Vohr
db79734bfb
feat: support more color formats for backgroundColor ( #31868 )
2022-03-21 18:35:54 +01:00
Sudowoodo Release Bot
4b8b492b62
Bump v19.0.0-nightly.20220321
2022-03-21 06:01:28 -07:00
Milan Burda
755feb4d81
feat: add nativeTheme.inForcedColorsMode ( #32956 )
2022-03-21 10:30:02 +01:00
Robo
4cc2ed842e
fix: iocp integration when process is reused ( #33207 )
2022-03-21 16:42:22 +09:00
Lalit
e100402b13
docs: possible change in tutorial/ipc ( #33218 )
...
The `counter` channel should be `update-counter` channel
2022-03-21 11:13:55 +09:00
David Sanders
45e2f86fe0
chore: fix pylint-2.7 errors ( #33233 )
2022-03-21 11:11:21 +09:00
BIKI DAS
fdb60240f3
fix: removed unused imported Objects ( #33304 )
2022-03-21 10:21:21 +09:00
Keeley Hammond
08d54d2416
fix: intialize FPS file in network service ( #33339 )
2022-03-18 21:29:42 -07:00
Samuel Attard
e07c2b84d7
fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames ( #33323 )
...
* fix: ensure ElectronBrowser mojo service is only bound to authorized render frames
Notes: no-notes
* refactor: extract electron API IPC to its own mojo interface
* fix: just check main frame not primary main frame
2022-03-18 19:50:05 -07:00
Sudowoodo Release Bot
f2b06324b8
Bump v19.0.0-nightly.20220318
2022-03-18 06:01:12 -07:00
Sudowoodo Release Bot
ac6ed62ab9
Bump v19.0.0-nightly.20220317
2022-03-17 06:01:17 -07:00
David Sanders
7acb513ba6
docs: update links to Chromium source ( #33309 )
2022-03-17 13:45:55 +01:00
David Sanders
ce8e248b60
docs: remove unused images ( #33310 )
2022-03-17 09:40:00 +01:00
David Sanders
df8fd1b269
build: fix build by removing usage of removed preloadUrl ( #33319 )
2022-03-17 00:13:48 -07:00
Jeremy Rose
4342b7ff55
chore: remove awkward semi-documented preloadURL WebPreference ( #33228 )
2022-03-16 16:23:41 -07:00
Jeremy Rose
e904486076
fix: BrowserWindow.fromWebContents should work in browser-window-created ( #33257 )
2022-03-16 16:23:14 -07:00
Robo
b2c5623a13
fix: crash when destroying node env with pending promises ( #33280 )
...
* fix: crash when destroying node env with pending promises
* chore: add spec
2022-03-16 18:54:45 +01:00
David Sanders
652680e801
fix: ensure external memory adjustments are balanced ( #33266 )
2022-03-16 18:54:30 +01:00
David Sanders
cf3ee7be56
build: drop pywin32 usage ( #26186 )
...
* build: drop pywin32 usage
* chore: ignore extra output on AppVeyor
2022-03-16 13:40:47 -04:00
Abhay Gupta
b274011720
fix: fiddle ipc code pattern 3 ( #33262 )
2022-03-16 11:01:29 -04:00
Jeremy Rose
02fe245521
docs: webFrame.insertCSS should mention options arg ( #33274 )
2022-03-16 10:56:20 -04:00
Sudowoodo Release Bot
a5382b7780
Bump v19.0.0-nightly.20220316
2022-03-16 06:02:33 -07:00
David Sanders
fc7f38c7ce
docs: remove "marked" from process.getBlinkMemoryInfo() ( #33263 )
2022-03-16 11:51:56 +01:00
Milan Burda
2657383ea7
feat: allow setting code cache directory ( #31154 )
...
* feat: allow setting code cache directory
* chore: address review feedback
* chore: update docs
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: rewrite with base::Contains
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-03-15 15:34:53 -05:00
CanadaHonk
37a904c299
docs: specify default for BrowserWindow's center option ( #33264 )
2022-03-15 10:48:25 -07:00
Samuel Attard
c8a3a00017
fix: race condition where webContents can be nullptr during re-focus and a multi-window close sequence ( #33063 )
...
* fix: race condition where webContents can be nullptr during re-focus and a multi-window close sequence
* chore: update electron_inspectable_web_contents_view.mm
2022-03-15 10:45:56 -07:00
Aryan Shridhar
7382891015
docs: reword sentence for better understanding ( #33265 )
2022-03-15 10:11:40 -07:00
Sudowoodo Release Bot
75339dccb3
Bump v19.0.0-nightly.20220315
2022-03-15 06:01:15 -07:00
Sudowoodo Release Bot
4bdb50eeee
Bump v19.0.0-nightly.20220314
2022-03-14 06:02:37 -07:00
Milan Burda
039c061d07
fix: add missing [[maybe_unused]] to IsEnvSet ( #33224 )
2022-03-14 18:19:15 +09:00
Jeremy Rose
f372953256
fix: cppgc/node collisions in renderer process ( #33252 )
...
* fix: cppgc/node collisions in renderer process
* Update be_compatible_with_cppgc.patch
2022-03-12 18:28:10 -05:00
Jeremy Rose
cdc27a3793
fix: prevent UAF crash in setCertificateVerifyProc ( #33204 )
2022-03-11 11:35:48 -08:00
Darshan Sen
bbb79880f7
chore: cherry-pick 2ed58f4 from chromium ( #33109 )
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658
Fixes: https://github.com/electron/electron/issues/33049
Signed-off-by: Darshan Sen <raisinten@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-03-11 11:19:51 -06:00
Sudowoodo Release Bot
dc63b8e7f4
Bump v19.0.0-nightly.20220311
2022-03-11 05:01:42 -08:00
Sudowoodo Release Bot
b888d9cd17
Bump v19.0.0-nightly.20220310
2022-03-10 05:01:04 -08:00
David Sanders
e589e9b259
fix: fire show event when BrowserWindow shown via maximize() ( #32979 )
2022-03-09 17:30:42 -05:00
Harry Hopkinson
86e746c36b
Formatted C++ Files According to the clang-format file. ( #33158 )
2022-03-09 16:28:54 -05:00
Jeremy Rose
ebfcf89a0b
fix: propagate unsafely-treat-insecure-origin-as-secure to renderer children ( #33189 )
...
* fix: propagate unsafely-treat-insecure-origin-as-secure to renderer children
* fix build
2022-03-09 10:15:50 -05:00
Sudowoodo Release Bot
865a29ed17
Bump v19.0.0-nightly.20220309
2022-03-09 05:00:38 -08:00
Shelley Vohr
373a905319
fix: settings not persisting across devtools loads ( #33120 )
...
* fix: settings not persisting across devtools loads
* chore: remove redundant RegisterPreference impl
2022-03-08 20:17:43 -05:00
Jeremy Rose
27527fe5ca
feat: warn that preloads will be sandboxed by default in v20 ( #32868 )
2022-03-08 15:39:53 -08:00
Calvin
e41c3e960d
fix: non-client mouse events on WCO-enabled windows ( #32871 )
2022-03-08 16:06:20 -05:00
Shelley Vohr
076bc58b2a
fix: crash when showin item in folder on DevTools ( #33024 )
2022-03-08 14:40:25 -05:00
Milan Burda
b96f15bfc2
fix: patches to use BUILDFLAG(IS_WIN) / BUILDFLAG(IS_MAC) checks ( #33160 )
2022-03-08 14:38:15 -05:00
Kevin Ushey
3bc3896ee7
docs: fix documented return value for getFocusedWebContents ( #33170 )
2022-03-08 14:15:05 -05:00
Sudowoodo Release Bot
a20216de7a
Bump v19.0.0-nightly.20220308
2022-03-08 05:01:16 -08:00
Samuel Attard
a5a4818b67
chore: add ignore revs file for GH blame UI ( #33171 )
2022-03-07 18:40:28 -08:00
Jeremy Rose
aa8119515f
fix: gracefully fail if app.configureHostResolver is called before ready ( #33062 )
2022-03-07 16:52:40 -08:00
John Kleinschmidt
3d9b9b97cf
build: put v8_context_snapshot_generator.dSYM in its own zip file ( #33183 )
2022-03-07 18:47:58 -05:00
Makonede
12aa991df2
Fix a typo ( #33042 )
2022-03-07 17:17:12 -05:00
Chuion
0ff1727ec0
docs: fix missing dependencies in ipc patterns ( #33082 )
2022-03-07 17:04:58 -05:00
Micha Hanselmann
a1c01ded9c
fix: really strip crashpad handler binary ( #33126 )
2022-03-07 14:49:50 -05:00
Sudowoodo Release Bot
94a85cb191
Revert "Bump v19.0.0-nightly.20220307"
...
This reverts commit b43f7702c8 .
2022-03-07 09:23:13 -08:00
John Kleinschmidt
f45aaea537
test: disable newly added tests on WOA ( #33143 )
...
* tests: disable newly added tests on WOA
* test: also disable test on arm64 macOS
2022-03-07 09:18:58 -05:00
Sudowoodo Release Bot
b43f7702c8
Bump v19.0.0-nightly.20220307
2022-03-07 05:01:43 -08:00
Sudowoodo Release Bot
7beffb51fc
Revert "Bump v19.0.0-nightly.20220303"
...
This reverts commit 89725f31bf .
2022-03-05 15:55:12 -08:00
John Kleinschmidt
3663f8e0ae
ci: use larger machine for docs only check ( #33141 )
2022-03-03 16:57:21 -08:00
Alvin Philips
41c81ed066
docs: Updated list numbering ( #32991 )
...
* docs: Updated list numbering
The steps to package and distribute an application using electron had incorrect numbering
* Indented text within ordered list sections
* Removed single space
* Fixed indentation
2022-03-03 15:35:51 -08:00
Erick Zhao
62366aeb95
docs: remove platform notices from tutorial titles ( #32937 )
...
* docs: remove platform notices from tutorial titles
* Update docs/tutorial/launch-app-from-url-in-another-app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2022-03-03 09:56:00 -08:00
Sudowoodo Release Bot
89725f31bf
Bump v19.0.0-nightly.20220303
2022-03-03 05:02:08 -08:00
Keeley Hammond
f71a6db3ff
ci: disable use-thin-lto on Mac only ( #33115 )
...
* build: remove use_thin_lto = false
* ci: enabling if things get really bad (all darwin)
* build: lol don't enable that
* build: add patch to disable thin lto for mac
2022-03-02 16:57:26 -08:00
Sudowoodo Release Bot
c040305db4
Revert "Bump v19.0.0-nightly.20220302"
...
This reverts commit d9bf02d9b6 .
2022-03-02 08:56:25 -08:00
Sudowoodo Release Bot
d9bf02d9b6
Bump v19.0.0-nightly.20220302
2022-03-02 05:01:04 -08:00
Sudowoodo Release Bot
318c91b78c
Revert "Bump v19.0.0-nightly.20220228"
...
This reverts commit 998c85af13 .
2022-03-01 16:48:02 -08:00
Shelley Vohr
ebd80a0602
fix: max window size defaults to 0 ( #33025 )
2022-03-01 14:20:07 -08:00
Keeley Hammond
306147ddf5
fix: disable partition alloc on mac ( #33114 )
2022-03-01 14:16:37 -08:00
Samuel Maddock
7cb62bfc22
test: BrowserWindow backgroundColor and transparency ( #31017 )
...
* test: BrowserWindow backgroundColor
* test: allow similar colors
* test: disable linux capturing
* refactor: split screen capture from reading pixel color
2022-03-01 14:14:11 -08:00
Shelley Vohr
283fa2b79d
fix: macOS tray icon alternate images ( #33026 )
2022-02-28 14:59:27 -08:00
Erick Zhao
1e50f7d2b6
docs: consolidate info docs ( #32964 )
...
* docs: consolidate info docs
* fill in table
* more newlines to admonitions
* update china mirror thing
2022-02-28 11:46:52 -08:00
Sudowoodo Release Bot
998c85af13
Bump v19.0.0-nightly.20220228
2022-02-28 05:00:53 -08:00
electron-roller[bot]
3da598015b
chore: bump chromium to 100.0.4894.0 (main) ( #32852 )
...
* chore: bump chromium in DEPS to 100.0.4880.0
* resolve conflicts
* chore: update patches
* fix patch
* PIP20: add a new DocumentOverlayWindowViews subtype
https://chromium-review.googlesource.com/c/chromium/src/+/3252789
* Clean up PictureInPictureWindowManager::EnterPictureInPicture()
https://chromium-review.googlesource.com/c/chromium/src/+/3424145
* Remove StoragePartitionId.
https://chromium-review.googlesource.com/c/chromium/src/+/2811120
* Remove FLoC code
https://chromium-review.googlesource.com/c/chromium/src/+/3424359
* media: Make AddSupportedKeySystems() Async
https://chromium-review.googlesource.com/c/chromium/src/+/3430502
* [Extensions] Move some l10n file util methods to //extensions/browser
https://chromium-review.googlesource.com/c/chromium/src/+/3408192
* chore: IWYU
* Reland "webhid: Grant permissions for policy-allowed devices"
https://chromium-review.googlesource.com/c/chromium/src/+/3444147
* Migrate base::Value::GetList() to base::Value::GetListDeprecated(): 2/N.
https://chromium-review.googlesource.com/c/chromium/src/+/3435727
https://chromium-review.googlesource.com/c/chromium/src/+/3440910
https://chromium-review.googlesource.com/c/chromium/src/+/3440088
* [text blink period] Cache blink period instead of fetching from defaults
https://chromium-review.googlesource.com/c/chromium/src/+/3419059
* chore: update picture-in-picture.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3252789
* ci: update to Xcode 13.2.1
https://chromium-review.googlesource.com/c/chromium/src/+/3437552
* chore: bump chromium in DEPS to 100.0.4882.1
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4884.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4886.0
* chore: update patches
* Refactor DownloadManager to use StoragePartitionConfig
https://chromium-review.googlesource.com/c/chromium/src/+/3222011
* Remove ToWebInputElement() in favor of new WebNode::DynamicTo<> helpers.
https://chromium-review.googlesource.com/c/chromium/src/+/3433852
* refactor: autofill to use the color pipeline
https://bugs.chromium.org/p/chromium/issues/detail?id=1249558
https://bugs.chromium.org/p/chromium/issues/detail?id=1003612
* [ProcessSingleton] Add many more trace events to cover all scenarios
https://chromium-review.googlesource.com/c/chromium/src/+/3429325
* fixup! PIP20: add a new DocumentOverlayWindowViews subtype
* chore: bump chromium in DEPS to 100.0.4888.0
* chore: update patches
* chore: update picture-in-picture.patch
* fixup! refactor: autofill to use the color pipeline
* ci: fixup fix sync
(cherry picked from commit c1e3e395465739bce5ca8e1c5ec1f5bd72b99ebd)
* chore: bump chromium in DEPS to 100.0.4889.0
* chore: update patches
* chore: fix feat_add_data_transfer_to_requestsingleinstancelock.patch
* fixup! PIP20: add a new DocumentOverlayWindowViews subtype
* Remove remaining NativeTheme::GetSystemColor() machinery.
https://chromium-review.googlesource.com/c/chromium/src/+/3421719
* ci: fetch proper esbuild for macos
* ci: fixup fetch proper esbuild for macos
* fix: failing Node.js test on outdated CurrentValueSerializerFormatVersion
* chore: bump chromium in DEPS to 100.0.4892.0
* 3460365: Set V8 fatal error callbacks during Isolate initialization
https://chromium-review.googlesource.com/c/chromium/src/+/3460365
* 3454343: PIP20: use permanent top controls
https://chromium-review.googlesource.com/c/chromium/src/+/3454343
* 3465574: Move most of GTK color mixers to ui/color/.
https://chromium-review.googlesource.com/c/chromium/src/+/3465574
* chore: fixup patch indices
* 3445327: [locales] Remove locales reference
https://chromium-review.googlesource.com/c/chromium/src/+/3445327
* 3456548: [DBB][#7 ] Blue border falls back to all tab if cropped-to zero pixels
https://chromium-review.googlesource.com/c/chromium/src/+/3456548
* 3441196: Convert GuestView's remaining legacy IPC messages to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/3441196
* 3455491: Don't include run_loop.h in thread_task_runner_handle.h
https://chromium-review.googlesource.com/c/chromium/src/+/3455491
* fixup! 3454343: PIP20: use permanent top controls
* 3442501: Add missing includes of //base/observer_list.h
https://chromium-review.googlesource.com/c/chromium/src/+/3442501
* 3437552: mac: Deploy a new hermetic build of Xcode 13.2.1 13C100
https://chromium-review.googlesource.com/c/chromium/src/+/3437552
* chore: bump chromium in DEPS to 100.0.4894.0
* fixup! 3460365: Set V8 fatal error callbacks during Isolate initialization
* chore: update patches
* 3425231: Use DnsOverHttpsConfig where appropriate
https://chromium-review.googlesource.com/c/chromium/src/+/3425231
* test: disable test-heapsnapshot-near-heap-limit-worker.js
As a result of CLs linked in https://bugs.chromium.org/p/v8/issues/detail?id=12503 ,
heap snapshotting near the heap limit DCHECKS in Node.js specs. This will
likely require a larger refactor in Node.js so i've disabled the test for
now and opened an upstream issue on node-v8 issue
at https://github.com/nodejs/node-v8/issues/218 .
* Port all usage of NativeTheme color IDs to color pipeline
https://bugs.chromium.org/p/chromium/issues/detail?id=1249558
* chore: update patches after rebase
* ci: use gen2 machine for more disk space
* ci: don't try to make root volume writeable
* ci: use older xcode/macos for tests
* fix: html fullscreen transitions stacking
(cherry picked from commit 5e10965cdd7b2a024def5fc568912cefd0f05b44)
* ci: speed up woa testing
(cherry picked from commit 75c33c48b032137794f5734348a9ee3daa60d9de)
(cherry picked from commit e819962340 )
* ci: disable flaky tests on WOA
* ci: run remote tests separately to isolate issue there
* tests: disable node test parallel/test-worker-debug for now
* revert: fix: html fullscreen transitions stacking
* tests: disable flaky test on macOS arm64
* fixup circleci config so build tools can find xcode version
* make sure the workspace is clean before job runs
(cherry picked from commit 75f713c974 )
* tests: disable flaky test on Linux
* ci: debug why windows i32 is crashing
* Revert "ci: debug why windows i32 is crashing"
This reverts commit 4c4bba87ea .
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-02-25 13:17:35 -05:00
Sudowoodo Release Bot
c1a667c931
Revert "Bump v19.0.0-nightly.20220225"
...
This reverts commit d5539ce834 .
2022-02-25 07:09:17 -08:00
Sudowoodo Release Bot
d5539ce834
Bump v19.0.0-nightly.20220225
2022-02-25 05:01:49 -08:00
Ruslan
067cc8ae2b
Update main.js ( #33039 )
2022-02-24 12:59:29 -08:00
Shelley Vohr
c5a2af7811
fix: tray garbage collection ( #33040 )
2022-02-24 20:03:59 +01:00
Sudowoodo Release Bot
8cf345660c
Bump v19.0.0-nightly.20220224
2022-02-24 05:01:41 -08:00
Sudowoodo Release Bot
da54cfcb3e
Revert "Bump v19.0.0-nightly.20220223"
...
This reverts commit 5b2d3910c1 .
2022-02-23 10:12:10 -08:00
Shelley Vohr
268cd31e38
fix: DCHECK when calling app.exit() ( #33035 )
2022-02-23 16:27:54 +01:00
Sudowoodo Release Bot
5b2d3910c1
Bump v19.0.0-nightly.20220223
2022-02-23 05:00:59 -08:00
Shelley Vohr
08e26175fd
fix: broken OSR transparent option ( #32885 )
2022-02-23 19:33:42 +09:00
t57ser
41b2945ced
feat: add ability to configure if window should close when opener closes ( #31314 )
...
* feat: Added ability to configure if window should close when opener closes
* fix: check if embedder is destroyed
* fix: correctly take over closeWithOpener property
* chore: Added documentation
* Update docs/api/window-open.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* chore: refactor
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* chore: changed property name from `closeWithOpener` to `outlivesOpener`
* dummy change to kick lint
* undo above
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-02-23 16:59:50 +09:00
Sudowoodo Release Bot
bcf060fab6
Revert "Bump v19.0.0-nightly.20220221"
...
This reverts commit 83a4ac1841 .
2022-02-22 10:52:23 -08:00
Shelley Vohr
e9b9835feb
chore: fix out-of-date chromium patch ( #33030 )
2022-02-22 16:24:11 +09:00
dependabot[bot]
fa7461685d
build(deps): bump ajv from 6.10.1 to 6.12.6 ( #32865 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.1...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 14:28:34 -08:00
dependabot[bot]
484a70f9b8
build(deps): bump ajv from 6.11.0 to 6.12.6 in /spec-main ( #32864 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.11.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.11.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 14:27:56 -08:00
Sudowoodo Release Bot
83a4ac1841
Bump v19.0.0-nightly.20220221
2022-02-21 05:04:50 -08:00
David Sanders
1e8da899a3
chore: fix typos ( #32985 )
2022-02-21 10:27:45 +01:00
David Sanders
069cde09fb
fix: don't restore maximized BrowserWindow when calling showInactive ( #32870 )
2022-02-21 10:23:55 +01:00
Robo
bdad6335c4
fix: command string for windows protocol handler ( #32953 )
2022-02-21 16:43:27 +09:00
Jeremy Rose
9d72c8b0ad
chore: add @electron/wg-security to patches/ CODEOWNERS ( #32963 )
2022-02-21 10:27:58 +09:00
Kev
faa392af28
docs: fix broken link to GNOME notifications spec ( #32934 )
2022-02-21 10:23:17 +09:00
dependabot[bot]
683ff2ea02
build(deps): bump ajv from 6.10.2 to 6.12.6 in /spec ( #32863 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 10:19:53 +09:00
dependabot[bot]
9168f65321
build(deps): bump pathval from 1.1.0 to 1.1.1 ( #32861 )
...
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 10:18:58 +09:00
Sudowoodo Release Bot
101e17d6f3
Revert "Bump v19.0.0-nightly.20220216"
...
This reverts commit c75ec2e689 .
2022-02-18 09:08:21 -08:00
Micha Hanselmann
b1463d2da1
fix: stale renderer process on quit ( #32888 )
2022-02-17 21:02:22 -08:00
Samuel Attard
36e730da93
build: use gen2 macOS resources for tests ( #32935 )
2022-02-17 13:57:23 -08:00
Cheng Zhao
e08ced5979
chore: update patch to fix CI ( #32950 )
2022-02-17 21:05:01 +09:00
Shelley Vohr
84cf685e76
fix: webContents.openDevTools({mode}) not working ( #32829 )
2022-02-17 14:59:13 +09:00
Fedor Indutny
fe43296f7f
chore: backport EPROTOTYPE fixes from libuv ( #32856 )
...
This commit backports three commits from libuv's 1.x branch to fix
issues with CPU going to 100% on macOS when EPROTOTYPE is returned.
See: abb109f30f
See: 3a7b95593a
See: de24da8c11
2022-02-17 14:58:21 +09:00
Shelley Vohr
34129b83a4
chore: error catching in node_bindings ( #32858 )
2022-02-17 14:56:53 +09:00
dependabot[bot]
b1777c5ad1
build(deps): bump pathval from 1.1.0 to 1.1.1 in /spec ( #32859 )
...
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 14:56:38 +09:00
Erick Zhao
cc0eb7b908
docs: update checklists ( #32902 )
2022-02-16 09:47:32 -08:00
Sudowoodo Release Bot
c75ec2e689
Bump v19.0.0-nightly.20220216
2022-02-16 05:01:13 -08:00
Erick Zhao
600c37160b
docs: fix relative link in developer documentation ( #32844 )
2022-02-15 13:54:28 -08:00
Sudowoodo Release Bot
512bb96dcb
Revert "Bump v19.0.0-nightly.20220215"
...
This reverts commit 90f17e4945 .
2022-02-15 09:36:37 -08:00
Sudowoodo Release Bot
90f17e4945
Bump v19.0.0-nightly.20220215
2022-02-15 05:01:28 -08:00
Sudowoodo Release Bot
d36524c640
Revert "Bump v19.0.0-nightly.20220214"
...
This reverts commit 8397bfbd16 .
2022-02-14 06:25:11 -08:00
Sudowoodo Release Bot
8397bfbd16
Bump v19.0.0-nightly.20220214
2022-02-14 05:01:42 -08:00
Sudowoodo Release Bot
1e074605dc
Revert "Bump v19.0.0-nightly.20220211"
...
This reverts commit 96c3179f32 .
2022-02-11 09:47:06 -08:00
Sudowoodo Release Bot
96c3179f32
Bump v19.0.0-nightly.20220211
2022-02-11 05:00:51 -08:00
Sudowoodo Release Bot
8dfcf817e4
Revert "Bump v19.0.0-nightly.20220210"
...
This reverts commit 0a120468c0 .
2022-02-10 20:37:02 -08:00
Sudowoodo Release Bot
0a120468c0
Bump v19.0.0-nightly.20220210
2022-02-10 17:46:57 -08:00
Keeley Hammond
4fa3310887
build: add stack_trace.h to main delegate ( #32854 )
...
* build: add stack_trace.h to main delegate
* build: trigger circleci
* build: free up a tiny bit more space
* build: disable use_thin_lto
* fixup build/args/all.gn
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-02-10 17:43:14 -08:00
Sudowoodo Release Bot
ceab6a146a
Revert "Bump v19.0.0-nightly.20220210"
...
This reverts commit cd7dc52c53 .
2022-02-10 07:02:10 -08:00
Sudowoodo Release Bot
cd7dc52c53
Bump v19.0.0-nightly.20220210
2022-02-10 05:00:42 -08:00
electron-roller[bot]
28ada6ea8b
chore: bump chromium to 100.0.4857.0 (main) ( #32419 )
...
* chore: bump chromium in DEPS to 99.0.4819.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4824.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4827.0
* chore: update patches
* 3352511: PiP: Add inkdrop and pointer cursor to PiP window buttons
https://chromium-review.googlesource.com/c/chromium/src/+/3352511
* 3309164: webhid: Show FIDO devices in the chooser if allowed
https://chromium-review.googlesource.com/c/chromium/src/+/3309164
* 3297868: hid: Add experimental HIDDevice.forget()
https://chromium-review.googlesource.com/c/chromium/src/+/3297868
* 3362491: [Extensions] Move i18n API to //extensions
https://chromium-review.googlesource.com/c/chromium/src/+/3362491
* MCC Refactor step0: Allow embedders to register associated_interface binders with RenderFrameHostImpl::associated_registry_.
https://chromium-review.googlesource.com/c/chromium/src/+/3281481
* 3352616: [Gtk] Remove libgtk from the link-line
https://chromium-review.googlesource.com/c/chromium/src/+/3352616
* 3249211: Clear-Site-Data support for partitioned cookies
https://chromium-review.googlesource.com/c/chromium/src/+/3249211
* [Extensions][COIL] Use [allow|block]list in //extensions/common
https://chromium-review.googlesource.com/c/chromium/src/+/3372668
* Begin ScopedUserPrefUpdate migration to modern base::Value
https://chromium-review.googlesource.com/c/chromium/src/+/3376154
* [Code Health] Refactor PrefService GetDict + GetList to use base::Value
https://chromium-review.googlesource.com/c/chromium/src/+/3343526
* 3354997: [CodeHealth] Remove deprecated SetDictionary method
https://chromium-review.googlesource.com/c/chromium/src/+/3354997
* 3287323: Add LacrosPrefStore for lacros settings
https://chromium-review.googlesource.com/c/chromium/src/+/3287323
* 3365916: [PA] Clean up remaining lazy commit code
https://chromium-review.googlesource.com/c/chromium/src/+/3365916
* [MPArch] Target the external protocol error at the responsible frame.
https://chromium-review.googlesource.com/c/chromium/src/+/3011560
* Pass origin to RegisterNonNetworkSubresourceURLLoaderFactories
https://chromium-review.googlesource.com/c/chromium/src/+/3350608
* Linux: Send OSCrypt raw encryption key to the Network Service
https://chromium-review.googlesource.com/c/chromium/src/+/3320484
* [PlzServiceWorker] Remove remaining references to PlzServiceWorker.
https://chromium-review.googlesource.com/c/chromium/src/+/3359441
* chore: fixup for lint
* 3327621: Fix tablet mode detection for Win 11.
https://chromium-review.googlesource.com/c/chromium/src/+/3327621
* 3342428: ax_mac: move AXTextMarker conversion utils under ui umbrella
https://chromium-review.googlesource.com/c/chromium/src/+/3342428
* 3353974: Mac: Use base::Feature for overlay features
https://chromium-review.googlesource.com/c/chromium/src/+/3353974
* chore: bump chromium in DEPS to 99.0.4828.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4837.0
* chore: update patches
* chore: update patches
* 3379142: Drop FALLTHROUGH macro
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3379142
* 3381749: C++17: Allow use of std::map::try_emplace and std::map::insert_or_assign
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3381749
* chore: bump chromium in DEPS to 99.0.4839.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4840.0
* chore: bump chromium in DEPS to 99.0.4844.0
* 3395881: [api] Deprecate Local<v8::Context> v8::Object::CreationContext()
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3395881
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4845.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4847.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4849.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4851.0
* chore: bump chromium in DEPS to 100.0.4853.0
* update patches
* chore: update patches
* update patches
* 3383599: Fonts Access: Remove prototype that uses a font picker.
https://chromium-review.googlesource.com/c/chromium/src/+/3383599
* 3404768: Remove ALLOW_UNUSED macros
https://chromium-review.googlesource.com/c/chromium/src/+/3404768
* 3374762: Remove ignore_result.h
https://chromium-review.googlesource.com/c/chromium/src/+/3374762
* 3399305: [unseasoned-pdf] Apply proper frame offsets for touch selections
https://chromium-review.googlesource.com/c/chromium/src/+/3399305
* 3402210: [Extensions] Don't trigger unload event for already unloaded extension
https://chromium-review.googlesource.com/c/chromium/src/+/3402210
* 3410912: Combine URLLoaderClient OnReceiveResponse and OnStartLoadingResponseBody.
https://chromium-review.googlesource.com/c/chromium/src/+/3410912
* 3370428: Make the AuthSchemes policy support dynamic refresh
https://chromium-review.googlesource.com/c/chromium/src/+/3370428
* 3407603: Finish ScopedUserPrefUpdate migration to modern base::Value
https://chromium-review.googlesource.com/c/chromium/src/+/3407603
* 3378352: ozone/x11: move code from //ui/p/x11 to //ui/ozone/p/x11
https://chromium-review.googlesource.com/c/chromium/src/+/3378352
* 3370810: Delete chrome/service, AKA the Cloud Print service process.
https://chromium-review.googlesource.com/c/chromium/src/+/3370810
* chore: bump chromium in DEPS to 100.0.4855.0
* chore: update patches
* fixup! 3370810: Delete chrome/service, AKA the Cloud Print service process.
* revert 3348007 to fix windows build
* 3318572: [Code health] Fix gn check errors in //extensions/browser:*
https://chromium-review.googlesource.com/c/chromium/src/+/3318572
* fix printing.patch
* fix iwyu issue
* 3408515: win: Make ShorcutOperation an enum class and modernize names
https://chromium-review.googlesource.com/c/chromium/src/+/3408515
* 3388333: [UIA] Remove dead code accessibility_misc_utils.h/cc
https://chromium-review.googlesource.com/c/chromium/src/+/3388333
* fix windows build? i hope
* patch gn visibility of //ui/ozone/platform/x11
* missing include base/logging.h
* use BUILDFLAG for USE_NSS_CERTS
https://chromium-review.googlesource.com/c/chromium/src/+/3379123
* defined(OS_*) ==> BUILDFLAG(IS_*)
https://bugs.chromium.org/p/chromium/issues/detail?id=1234043
* fixup! 3404768: Remove ALLOW_UNUSED macros
* another attempt to fix windows build
* temporarily disable the custom scheme service worker test
https://github.com/electron/electron/issues/32664
* fix loading mv3 extensions
not sure what cl broke this unfort.
* fixup! 3404768: Remove ALLOW_UNUSED macros
* patch nan
https://chromium-review.googlesource.com/c/v8/v8/+/3395880
* fix node test
* fix nullptr in FindPdfFrame
* patch perfetto to fix build issue on win-ia32
bc44c3c753
* fix build for linux-x64-testing-no-run-as-node
* fix patch
* skip <webview>.capturePage() test
https://github.com/electron/electron/issues/32705
* test: fix failing tests of focus/blur events of WebContents (#32711 )
* inherit stdio from app module test child processes
this prevents them from timing out due to full stdout buffers
* test to see if we can get better logs on windows ci
* try again for appveyor log things
* skip contentTracing tests on ia32
* ci: disable gpu compositing
* drop applied patch
* fix merge fail
* Revert "ci: disable gpu compositing"
This reverts commit 0344129fcb .
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: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-02-09 18:58:52 -08:00
Erick Zhao
e9a43be9be
docs: add IPC doc ( #32059 )
...
* docs: add IPC doc
* fix: use "string" primitive
* use 'string' ipcrenderer
* use "number" primitive
* Update docs/tutorial/ipc.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update docs/tutorial/ipc.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* add code sample
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-02-09 11:00:05 -05:00
Cheng Zhao
254dbd7400
test: disable the test that makes spec runner hang on exit ( #32834 )
2022-02-09 09:20:51 -05:00
Sudowoodo Release Bot
baaa7787af
Bump v19.0.0-nightly.20220209
2022-02-09 05:01:45 -08:00
Shelley Vohr
ac1d426c51
fix: pointer lock escape handling ( #32369 )
2022-02-09 10:40:50 +01:00
Darshan Sen
841d223b3b
build: rebuild the dist_zips when the deps get modified ( #32713 )
...
* build: rebuild the dist_zips when the deps get modified
The dist.zip generated by the electron_dist_zip action was not getting
updated when changes were being made to the dependencies, like the
source files. It turns out, we were using data_deps for the dependencies
instead of deps. Here is the difference:
data_deps: things needed to ultimately run the thing built by a target
deps: things needed to build the target
So the difference in treatment of both sets of dependencies is actually
intentional.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* fixup! build: rebuild the dist_zips when the deps get modified
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-02-08 13:03:33 -05:00
marekharanczyk
e119da8ce2
Make ElectronBrowser mojo interface frame associated. ( #32734 )
2022-02-08 11:33:21 -05:00
Shelley Vohr
58af7d2a9a
fix: failure to print on macOS ( #32767 )
2022-02-08 16:15:30 +01:00
Sudowoodo Release Bot
c09ce25ab6
Bump v19.0.0-nightly.20220208
2022-02-08 05:01:02 -08:00
Jeremy Rose
ce86e81aa6
docs: clarify meaning of cssOrigin ( #32753 )
2022-02-08 12:59:28 +01:00
Sudowoodo Release Bot
bf3650eb1f
Bump v19.0.0-nightly.20220207
2022-02-07 05:02:35 -08:00
Shelley Vohr
81fcd732c2
fix: savePage throw on relative paths ( #32728 )
2022-02-07 09:51:59 +01:00
Sudowoodo Release Bot
d46431b564
Bump v19.0.0-nightly.20220204
2022-02-04 05:01:08 -08:00
Shelley Vohr
fb3f5e490e
test: improve webContents.savePage() specs ( #32727 )
2022-02-03 16:56:50 -05:00
Juan Cruz Viotti
7442905dd2
build: Support cygwin in script/lib/util.py ( #32731 )
...
Running a build on Cygwin or MSYS2 otherwise fails.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2022-02-03 15:57:21 -05:00
Sudowoodo Release Bot
2526031a5f
Bump v19.0.0-nightly.20220203
2022-02-03 05:01:03 -08:00
Keeley Hammond
e0f2511cba
chore: bump NMV for Electron 19 ( #32703 )
2022-02-02 17:14:11 -05:00
Shelley Vohr
4c39eb32b0
refactor: use QuickLookThumbnailing where applicable ( #32456 )
2022-02-02 23:01:05 +01:00
Cheng Zhao
c3d11e2ea2
test: fix failing tests of focus/blur events of WebContents ( #32711 )
2022-02-02 10:32:53 -05:00
Sofia Nguy
ed185f324e
docs: Update E18 release date ( #32665 )
2022-02-02 10:07:11 -05:00
Calvin
9a5a45e804
fix: WCO window hover on window controls on Windows ( #32672 )
...
* fix: WCO window hover on window controls
* Update shell/browser/ui/win/electron_desktop_window_tree_host_win.cc
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
2022-02-02 10:06:36 -05:00
Sudowoodo Release Bot
8b6202b6a8
Bump v19.0.0-nightly.20220202
2022-02-02 05:20:39 -08:00
Shelley Vohr
7c701367c0
fix: some frameless windows showing a frame on Windows ( #32692 )
2022-02-02 11:23:02 +01:00
Shelley Vohr
56c6d25e98
fix: crash on printer dialog cancellation ( #32632 )
...
* fix: crash on printer dialog cancellation
* fix: remove commented out code
* chore: address review
2022-02-01 20:00:09 +01:00
John Kleinschmidt
b346f909e7
ci: fixup gclient cache on ubuntu 20 ( #32691 )
...
* ci: fixup gclient cache on ubuntu 20
* ci: update to Ubuntu 20.04 docker image
2022-02-01 11:54:27 -05:00
Sudowoodo Release Bot
939bfa50f6
Bump v18.0.0-nightly.20220201
2022-02-01 05:01:37 -08:00
Tobias Nießen
2289a52fb3
docs: fix typo in BrowserWindow description ( #32667 )
2022-02-01 12:47:49 +01:00
Samuel Maddock
aeee9cfb78
feat: add focus and blur events for WebContents ( #25873 )
...
test: add focus and blur WebContents event tests
test: confirm that webcontents focus event is fired on browserwindow focus
fix: mac focus event test timeout
2022-02-01 19:28:57 +09:00
Paul Hollinsky
e34d7f5d6f
docs: fix missing tag end in clipboard example ( #32673 )
2022-02-01 17:57:33 +09:00
Shelley Vohr
f5dc2a6535
fix: transparent window max/unmax event firing ( #32643 )
2022-01-31 22:10:57 +01:00
John Kleinschmidt
365933f1f3
fix: expose all serial devices to setDevicePermissionHandler ( #32651 )
2022-01-31 14:04:45 -05:00
Sudowoodo Release Bot
8e0e2d40e2
Bump v18.0.0-nightly.20220131
2022-01-31 05:01:27 -08:00
Milan Burda
db9ab80694
chore: update to latest TypeScript ( #32596 )
2022-01-31 20:37:40 +09:00
Harshil jain
32ae67c873
docs: update the build docs for electron to improve doc readability ( #32663 )
2022-01-31 20:36:47 +09:00
Marek Šuppa
c6d061c2d4
Update config.py ( #32666 )
...
* Fix missing comma
2022-01-31 10:57:52 +01:00
Harshil jain
d657cd8ed6
docs: Remove the latin words from doc ( #32641 )
2022-01-28 12:40:20 -08:00
Sudowoodo Release Bot
e693738f7c
Bump v18.0.0-nightly.20220128
2022-01-28 05:02:11 -08:00
John Kleinschmidt
63908ccf89
Revert "ci: update to Ubuntu 20.04 docker image ( #32614 )" ( #32656 )
...
This reverts commit 8803e7f020 .
2022-01-27 17:45:06 -05:00
Shelley Vohr
3768a7b25f
fix: css transparent background being lost ( #32593 )
2022-01-27 15:56:35 +01:00
Sudowoodo Release Bot
86f8faea6b
Bump v18.0.0-nightly.20220127
2022-01-27 05:01:10 -08:00
Mikael Finstad
20ed5701e9
docs: update context bridge docs about Promises and Errors ( #32533 )
...
* Update context bridge docs about Promises
From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:
80577a4f08/spec-main/api-context-bridge-spec.ts (L693)
* docs: Update docs for errors too
2022-01-27 20:23:40 +09:00
Jeremy Rose
16fcad3488
fix: maxWidth not being respected ( #32628 )
2022-01-26 14:00:17 -08:00
Ryan Gonzalez
7caa88c46f
fix: Add support for Wayland window decorations ( #29618 )
...
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-01-26 13:59:09 -08:00
dependabot[bot]
cabad35383
build(deps): bump node-fetch from 2.6.1 to 2.6.7 ( #32599 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 15:42:38 -05:00
WeiZhiHuang
8ec81c1437
fix webRequest.onBeforeSendHeaders' attributes ( #32474 )
...
Co-authored-by: Wayne Huang <zjason4202@gmail.com >
2022-01-26 11:41:54 -05:00
Balakrishna Avulapati
7f517ba878
docs: separate the dependency list for ubuntu ( #32607 )
2022-01-26 10:29:16 -05:00
Sudowoodo Release Bot
bac0a28324
Revert "Bump v18.0.0-nightly.20220126"
...
This reverts commit 4f6b8d06be .
2022-01-26 07:03:50 -08:00
Sudowoodo Release Bot
4f6b8d06be
Bump v18.0.0-nightly.20220126
2022-01-26 05:03:03 -08:00
John Kleinschmidt
8803e7f020
ci: update to Ubuntu 20.04 docker image ( #32614 )
2022-01-25 16:06:41 -05:00
John Kleinschmidt
7814f96413
ci: update ts-compile-doc-change to properly use src cache ( #32613 )
2022-01-25 15:58:24 -05:00
Shelley Vohr
65bee9120f
docs: correct requestSingleInstanceLock parameter ( #32595 )
2022-01-25 12:57:57 -08:00
John Kleinschmidt
335f24b0d0
fix: webContents.setZoomFactor crash ( #32604 )
2022-01-25 12:54:48 -08:00
Cheng Zhao
1cf36822e3
fix: make window without rounded corners closable ( #32597 )
2022-01-25 09:51:53 -05:00
Sudowoodo Release Bot
a0b7e30fe7
Bump v18.0.0-nightly.20220125
2022-01-25 05:01:35 -08:00
Michaela Laurencin
2f0d5651a9
feat: add WCO height option ( #31222 )
...
* feat: add WCO height option
* add docs and mac functionality
* add macOS functionality and height lowerbound
* Update docs/api/browser-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* update macOS functionality
* add chromium related notes
* add test and fix pixel under button bug and fix typo
* revert changes to docs/api/frameless-window.md
* modify `useCustomHeight` calls
* update `useCustomHeight` and `getCurrentMargin`
* modify margin calculation
* fix minimum custom height on macOS
* Update window_buttons_proxy.mm
* fix specified traffic light positions
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-01-24 17:09:21 -05:00
Kevin
2fe5d0e1e8
feat: Added missing info to IAP transaction and product structures ( #31739 )
2022-01-24 08:55:18 -08:00
Matthew Rayermann
d26d337bb8
feat: add rawHeaders to IncomingMessage ( #31853 )
...
* Add response.rawHeaders to docs for IncomingMessage
* Remove trailing spaces
* Implement raw headers, add tests
* Fix lint issues
* Add example from NodeJS docs
* Fix lint issue in doc example
* Add missing #
2022-01-24 11:46:15 -05:00
Sudowoodo Release Bot
d1b48c0636
Bump v18.0.0-nightly.20220124
2022-01-24 05:01:18 -08:00
Milan Burda
9d054755d6
refactor: implement ajax() in tests using native fetch instead of jQuery ( #32579 )
2022-01-24 10:34:23 +01:00
Jeremy Rose
7032be660d
fix: bundle a11y strings in resources ( #32564 )
2022-01-21 10:04:06 -08:00
Sudowoodo Release Bot
f5e138a5e3
Bump v18.0.0-nightly.20220121
2022-01-21 05:02:26 -08:00
Sudowoodo Release Bot
11a8a296b5
Revert "Bump v18.0.0-nightly.20220120"
...
This reverts commit d619804fc8 .
2022-01-20 19:35:20 -08:00
John Kleinschmidt
6fb013fc10
ci: call autoninja without ninjalog_uploader_wrapper.py ( #32569 )
2022-01-20 19:58:04 -05:00
Jeremy Rose
87b3f6db9d
fix: undisable AXTextMarker and related APIs on MAS ( #32543 )
2022-01-20 15:42:43 -08:00
John Kleinschmidt
6b41356868
test: disable flaky test on WOA ( #32542 )
2022-01-20 13:59:02 -05:00
Sudowoodo Release Bot
d619804fc8
Bump v18.0.0-nightly.20220120
2022-01-20 05:01:34 -08:00
Jeremy Rose
84e2460012
fix: strip crashpad_handler binary ( #32540 )
2022-01-19 19:48:48 -08:00
Shelley Vohr
df50a0efb1
fix: undefined backgroundColor ( #32517 )
2022-01-19 15:51:12 -05:00
Shelley Vohr
b89361a991
fix: crash when saving edited PDF files ( #32512 )
2022-01-19 12:58:32 -05:00
Sudowoodo Release Bot
edfadda899
Bump v18.0.0-nightly.20220119
2022-01-19 05:01:13 -08:00
dependabot[bot]
92bbac8ab6
build(deps): bump shelljs from 0.8.3 to 0.8.5 ( #32481 )
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.3 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.3...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 12:26:47 -05:00
David Sanders
4903d47ef3
docs: fix broken images for symbol server setup ( #32485 )
2022-01-18 12:14:48 -05:00
AN
ac0d6bdb1e
Clarify will-redirect event doc ( #32093 )
2022-01-18 12:06:22 -05:00
Julia Nam
6860429bf4
Remove broken link and update CircleCI's name ( #32448 )
2022-01-18 12:02:35 -05:00
Sudowoodo Release Bot
015d54ac10
Bump v18.0.0-nightly.20220118
2022-01-18 05:01:15 -08:00
Sudowoodo Release Bot
b93f5fb066
Bump v18.0.0-nightly.20220117
2022-01-17 05:02:43 -08:00
David Sanders
0c75b3b2ea
fix: check for maximized window before unmaximizings ( #32438 )
2022-01-17 16:47:14 +09:00
Shelley Vohr
2a8d49a059
fix: maximize/unmaximize firing on linux ( #32441 )
2022-01-17 16:46:52 +09:00
Jeremy Rose
6e6f5efad9
fix: re-enable PartitionAlloc on macOS ( #32442 )
...
* fix: re-enable PartitionAlloc on macOS
* no need to copy ignore_result on linux
* factor out FixStdioStreams
* include buildflags.h in electron_main_linux
* #include electron/fuses
* more missing includes
2022-01-17 16:46:33 +09:00
David Sanders
fac61122d5
docs: fix anchors for broken relative links ( #32478 )
2022-01-17 16:36:19 +09:00
Sudowoodo Release Bot
868794a6bd
Bump v18.0.0-nightly.20220114
2022-01-14 05:01:00 -08:00
Takao Baba
f75a274019
fix: Corrupted title of alert dialog ( #32434 )
2022-01-13 16:23:36 -05:00
Shelley Vohr
7f4efb6747
fix: desktop screen capture on macOS not releasing ( #32435 )
2022-01-13 16:21:28 +01:00
Shelley Vohr
6c88e3b8e7
fix: optional postMessage transfer arg ( #32433 )
2022-01-13 14:52:48 +01:00
Sudowoodo Release Bot
1aaa0fad69
Bump v18.0.0-nightly.20220113
2022-01-13 05:01:31 -08:00
Charles Kerr
ddd66543f7
docs: explicitly allow string for MessageBoxOptions.icon ( #32422 )
...
Fixes #32390 . See #19782 for context.
2022-01-13 10:30:15 +09:00
Gellert Hegyi
f4548985f4
fix: use setAspectRatio for frameless window on mac ( #32287 )
...
* fix(window): setAspectRatio for frameless windows
* dummy
* undo dummy
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-01-13 09:42:42 +09:00
David Sanders
506d82a902
chore: update IsWebContentsCreationOverridden patch ( #32421 )
2022-01-13 09:41:06 +09:00
Jeremy Rose
0a7bc4f5d1
feat: expose blowfish cipher family ( #32356 )
...
Closes #20238
2022-01-12 10:44:28 -08:00
Sudowoodo Release Bot
de436f040f
Bump v18.0.0-nightly.20220112
2022-01-12 05:01:36 -08:00
Milan Burda
99ee1fc0eb
fix: will-attach-webview handler modifying params.instanceId does not break <webview> ( #32386 )
2022-01-12 16:41:20 +09:00
David Sanders
cbe68bdbb8
chore: update DesktopMediaList patch ( #32414 )
2022-01-12 16:39:49 +09:00
David Sanders
2bbba9e242
chore: fix incorrect usage of reference ( #32413 )
2022-01-12 16:39:30 +09:00
David Sanders
94db8cd45e
chore: update notification provenance patch ( #32415 )
2022-01-11 11:27:24 -08:00
Charles Kerr
5d90ff083f
build: pin colors to v1.4.0 in package.json ( #32420 )
2022-01-11 11:24:54 -08:00
electron-roller[bot]
cb927af455
chore: bump node to v16.13.2 (main) ( #32418 )
...
* chore: bump node in DEPS to v16.13.2
* 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>
2022-01-11 10:12:30 -06:00
Sudowoodo Release Bot
d640260592
Bump v18.0.0-nightly.20220111
2022-01-11 05:01:39 -08:00
electron-roller[bot]
b0f315a637
chore: bump chromium to 99.0.4767.0 (main) ( #31986 )
...
* chore: bump chromium in DEPS to 98.0.4726.0
* 3292117: Remove unneeded base/compiler_specific.h includes in //chrome.
https://chromium-review.googlesource.com/c/chromium/src/+/3292117
* 3289198: Enables calculating line, word and sentence boundaries on the browser
https://chromium-review.googlesource.com/c/chromium/src/+/3289198
* 3276176: Remove expired gdi-text-printing flag and associated code.
https://chromium-review.googlesource.com/c/chromium/src/+/3276176
* 3240963: content: allow embedder to prevent locking scheme registry
https://chromium-review.googlesource.com/c/chromium/src/+/3240963
* 3269899: Rename WebContentsImpl::GetFrameTree to GetPrimaryFrameTree
https://chromium-review.googlesource.com/c/chromium/src/+/3269899
* chore: fixup patch indices
* 3276279: Enable -Wshadow by default for the "chromium code" config.
https://chromium-review.googlesource.com/c/chromium/src/+/3276279
* 3279737: appcache: Remove WebPreference/WebSetting
https://chromium-review.googlesource.com/c/chromium/src/+/3279737
* 3275564: [api] Advance API deprecation for APIs last marked in v9.6
https://chromium-review.googlesource.com/c/v8/v8/+/3275564
* 3261873: Clean up WebScriptSource constructors
https://chromium-review.googlesource.com/c/chromium/src/+/3261873
* 3279346: appcache: Remove ConsoleMessage appcache field
https://chromium-review.googlesource.com/c/chromium/src/+/3279346
* 3264212: Move legacy file loading to legacy_test_runner
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264212
Both Persistence and UI have been removed from globals, but the issues they
seemed to be patching are no longer reproducible from what I can tell, and
so we can just delete these and re-evaluate if something surfaces.
* 3290415: x11: remove the USE_X11 define.
https://chromium-review.googlesource.com/c/chromium/src/+/3290415
* chore: bump Chromium to 98.0.4728.0
* 3179530: Defer system calls in PrintingContext for OOP printing
https://chromium-review.googlesource.com/c/chromium/src/+/3179530
* 3299445: Consolidate is_win conditionals in chrome/test/BUILD.gn.
https://chromium-review.googlesource.com/c/chromium/src/+/3299445
* chore: update patch indices
* 3223975: Break PrintJobWorker OOP logic into separate class
https://chromium-review.googlesource.com/c/chromium/src/+/3223975
* chore: bump chromium in DEPS to 98.0.4730.0
* 3279001: Remove support for font-family: -webkit-pictograph
https://chromium-review.googlesource.com/c/chromium/src/+/3279001
* chore: fixup patch indices
* chore: bump chromium in DEPS to 98.0.4732.0
* chore: update patches
* chore: bump chromium in DEPS to 98.0.4734.0
* chore: bump chromium in DEPS to 98.0.4736.0
* chore: update patches
* chore: update printing patch for miracle ptr
* chore: add noexcept to fix clang error
* chore: bump chromium in DEPS to 98.0.4738.0
* chore: update patches
* chore: bump chromium in DEPS to 98.0.4740.0
* chore: bump chromium in DEPS to 98.0.4742.0
* chore: bump chromium in DEPS to 98.0.4744.0
* chore: bump chromium in DEPS to 98.0.4746.0
* chore: bump chromium in DEPS to 98.0.4748.0
* chore: bump chromium in DEPS to 98.0.4750.0
* chore: update patches
* 3293841: Remove File Handling permissions code
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3293841
* chore: update patches
3311700: Move the PpapiPluginSandboxedProcessLauncherDelegate | https://chromium-review.googlesource.com/c/chromium/src/+/3311700
* 3289260: [CodeHealth]: Remove uses of Notification Service
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3289260
* 3301600: Disable scripted print in fenced frames
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3301600
* chore: add missing thread_restrictions headers
* 3305132: Rewrite most `Foo* field_` pointer fields to `raw_ptr<Foo> field_`.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3305132
* fix: add ppapi_sandbox header for linux
3311700: Move the PpapiPluginSandboxedProcessLauncherDelegate | https://chromium-review.googlesource.com/c/chromium/src/+/3311700
* chore: manually bump chromium in DEPS to 98.0.4757.0
* chore: update patches
* 3321044: Remove DictionaryValue::Clear()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3321044
* chore: update printing.patch
Refs:
- 3304556: [code health] Remove notification observation from PrintJob. | https://chromium-review.googlesource.com/c/chromium/src/+/3304556
- 3305095: [code health] Remove NotificationService from PrintViewManagerBase. | https://chromium-review.googlesource.com/c/chromium/src/+/3305095
* build: add v8-embedder-state headers to GN patch
* chore: bump chromium in DEPS to 99.0.4767.0
* chore: update patches
* chore: rename CookiePartitionKeychain
...to CookiePartitionKeyCollection
* chore: update video consumers
* refactor: use newer base::Value API
* 3232598: Convert net::DnsOverHttpsServerConfig into a class | https://chromium-review.googlesource.com/c/chromium/src/+/3232598
* 3327865: Remove the default WebContentsUserData ctor. | https://chromium-review.googlesource.com/c/chromium/src/+/3327865
* 3302814: DevTools: Add getPreference binding | https://chromium-review.googlesource.com/c/chromium/src/+/3302814
* 3301474: [tq][runtime] Use build flags for JS context promise hooks | https://chromium-review.googlesource.com/c/v8/v8/+/3301474
* oops 😵💫
* 3272411: Reland "base/allocator: Enable PartitionAlloc-Everywhere on macOS" | https://chromium-review.googlesource.com/c/chromium/src/+/3272411
build: turn PartitionAlloc back off on mac for now
* fix: WCO method got renamed
* 3344749: Revert "Stop using NSRunLoop in renderer process"
https://chromium-review.googlesource.com/c/chromium/src/+/3344749
* 3288746: [serial] Fix BluetoothSerialDeviceEnumerator threading issues.
https://chromium-review.googlesource.com/c/chromium/src/+/3288746
* Revert "3288746: [serial] Fix BluetoothSerialDeviceEnumerator threading issues."
This reverts commit 5cc69f102e43ca72ac9ef45063711bcc7d849740.
* chore: disable serial device enumerator sequence dcheck
* fix: comment out line in DeviceService dtor
* fixup! 3279001: Remove support for font-family: -webkit-pictograph
* fixup! 3279346: appcache: Remove ConsoleMessage appcache field
* chore: update patches after rebase
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-01-10 17:31:39 -05:00
Romain Pokrzywka
483808a8cf
fix: Support running git-[im,ex]port-patches with Python3 too ( #32303 )
...
* script: Python3 compatibility for utf8 conversion
The unicode() method has been renamed to str() in Python3,
add a wrapper around it to support running against both versions.
* script: don't require python2 for git-[import,export]-patches
The scripts work just fine with python3 too, so use the generic
python executable as the script interpreter.
Most setups don't even require or provide python 2 anymore,
so this saves one from having to install it just for the scripts.
2022-01-10 16:47:55 -05:00
Raymond Zhao
746927c972
feat: Add first-instance-ack event to the app.requestSingleInstanceLock() flow ( #31460 )
...
* feat: Add onFirstInstanceAck event for requestSingleInstanceLock
* Add tests
* Apply patch fix
* Add back missing docs
* Rebase
* Listen for exit earlier in test
* Rebase
2022-01-10 11:54:46 -05:00
Sudowoodo Release Bot
7c16ef1f62
Bump v18.0.0-nightly.20220110
2022-01-10 05:02:55 -08:00
Evan Hahn
ef058892bb
docs: clarify case insensitive dictionary hosting ( #32222 )
...
You must either (1) have a case-insensitive file server (2) upload files in both casings. This improves the docs to clarify that.
[0]: https://github.com/electron/electron/issues/22482#issuecomment-593617375
2022-01-10 11:07:46 +01:00
David Sanders
bd861e5079
docs: fix note for will-move event ( #32362 )
2022-01-10 11:02:16 +01:00
Milan Burda
cb2c1f888e
fix: incorrect skipTransformProcessType option parsing in win.setVisibleOnAllWorkspaces() ( #32364 )
2022-01-10 11:00:28 +01:00
Milan Burda
6d8a858897
docs: left is a valid mode in contents.openDevTools() options ( #32372 )
2022-01-10 10:50:18 +01:00
Sudowoodo Release Bot
948db1d881
Bump v18.0.0-nightly.20220107
2022-01-07 05:01:26 -08:00
Tommy MacWilliam
824c909e2a
fix: Allow npm_config_arch override on mac ( #32266 )
...
If the npm_config_arch environment variable is set on Mac, then use the
specified architecture rather than overriding it to x64.
2022-01-07 17:53:15 +09:00
Milan Burda
7678a0aebb
chore: cleanup spec-main/ambient.d.ts ( #32363 )
2022-01-07 17:52:47 +09:00
Raymond Zhao
88ae6c0635
fix: Don't create console window when creating process ( #32340 )
...
* fix: Don't create console window when creating process
* Update patches/node/fix_don_t_create_console_window_when_creating_process.patch
Co-authored-by: Robo <hop2deep@gmail.com >
* Remove extra line in description
Co-authored-by: Robo <hop2deep@gmail.com >
2022-01-07 17:38:34 +09:00
Jeremy Rose
a015332342
fix: drop nativeWindowOpen deprecation warning ( #32370 )
2022-01-06 12:01:55 -08:00
Mitchell Cohen
5af6b898d9
feat: add Substitutions menu roles on macOS ( #32024 )
2022-01-06 10:41:28 -08:00
Jeremy Rose
d44a187d0b
feat: remove nativeWindowOpen option ( #29405 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-01-06 09:28:03 -08:00
Milan Burda
2f9fd06534
chore: deprecate nativeWindowOpen in Electron 17 ( #32116 )
2022-01-06 05:08:59 -08:00
Sudowoodo Release Bot
c3b9f0e7b2
Bump v18.0.0-nightly.20220106
2022-01-06 05:01:49 -08:00
MikeBusuttil
c1c710bc01
docs: improve BrowserView example ( #32098 )
...
* working example
previous example not beginner-friendly
* Update browser-view.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2022-01-06 12:09:36 +09:00
Timothy
30e0620ccc
docs: fix wording on testing documentation ( #32279 )
2022-01-06 09:24:52 +09:00
Keeley Hammond
b61805b63a
fix: use allocationtype kold in v8 scriptormodule legacy lifetime ( #32339 )
2022-01-05 11:43:28 -08:00
Sudowoodo Release Bot
dd4eae8a3b
Bump v18.0.0-nightly.20220105
2022-01-05 05:01:56 -08:00
vulture
62c1c86be9
Rename patch file to .patch to conform to naming standard which utilizes .gitattributes settings ( #32324 )
...
Co-authored-by: stsean <stsean@justin.tv >
2022-01-05 10:36:48 +01:00
Sudowoodo Release Bot
b63c190fe6
Bump v18.0.0-nightly.20220104
2022-01-04 05:01:25 -08:00
Shubham Kumar
cbdb2e6ec2
fix : #32141 register wrong command for setAsDefaultProtocolClient for windows ( #32220 )
2022-01-04 10:47:28 +09:00
Maciej Krawczyk
84f1d78558
docs: correct webFrame description ( #32205 )
...
The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame.
2022-01-04 10:12:55 +09:00
Darshan Sen
4600d7e7f6
fix: crash caused by app.getLocaleCountryCode() ( #32256 )
...
CFLocaleGetValue() returned null and crashed the process when
app.getLocaleCountryCode() was run on a CircleCI metal resource class
macOS instance with Xcode 12.5.1. This change fixes that logic and adds
further checks to make the code future-proof.
Here too people are complaining that the returned country code migth be
null: https://stackoverflow.com/questions/15202454/nslocalecountrycode-returns-nil
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2022-01-03 13:54:58 -08:00
Duncan Hewett
2c700da4de
docs: add Bugsnag as a 3rd party crash server ( #32053 )
2022-01-03 14:48:15 -05:00
Oran C
195d2b5b3e
[fix] Docs rendering issue with rendering on electronjs quick-start ( #32293 )
...
there is a issue with rendering on the bottom of page https://www.electronjs.org/docs/v14-x-y/tutorial/quick-start
which looks like this

all id did is remove the spacing and it should fix the issue. sometimes having spaces before a "```" will cause issues
hope this helps!
2022-01-03 11:18:02 -08:00
Romain Pokrzywka
727453ef04
build: remove stale dependency for webrtc desktop capture module ( #32304 )
...
WebRTC has changed how they integrate into Chromium, they don't
expose their dependencies externally anymore. Instead, one must
now go through webrtc_overrides:
https://chromium.googlesource.com/chromium/src.git/+/cbc90fd093956
We're already including webrtc_overrides as a dependency which
includes the modules, so this extra deps isn't needed anymore.
2022-01-03 11:57:00 -05:00
Sudowoodo Release Bot
84451e7daf
Bump v18.0.0-nightly.20220103
2022-01-03 05:04:24 -08:00
ganthern
f766bb483d
docs: fix typo in bug report issue template ( #32208 )
2022-01-03 10:35:19 +01:00
Jack Nemitz
1d8612ad5d
Fix typo in quick-start.md ( #32282 )
...
Resolve a grammar issue in the quick-start guide.
2022-01-03 09:59:55 +01:00
Sudowoodo Release Bot
ac39cb14e9
Bump v18.0.0-nightly.20211231
2021-12-31 05:01:03 -08:00
Sudowoodo Release Bot
f1b0d30d8d
Bump v18.0.0-nightly.20211229
2021-12-29 05:01:36 -08:00
Sudowoodo Release Bot
d59a4a0771
Bump v18.0.0-nightly.20211228
2021-12-28 05:01:13 -08:00
Sudowoodo Release Bot
6b2adea867
Revert "Bump v18.0.0-nightly.20211227"
...
This reverts commit 66a55ba778 .
2021-12-27 11:35:06 -08:00
Sudowoodo Release Bot
66a55ba778
Bump v18.0.0-nightly.20211227
2021-12-27 05:01:32 -08:00
Sudowoodo Release Bot
f17e8996ac
Bump v18.0.0-nightly.20211223
2021-12-23 05:02:41 -08:00
Sudowoodo Release Bot
b433163d7a
Bump v18.0.0-nightly.20211222
2021-12-22 05:04:57 -08:00
Sudowoodo Release Bot
79eaef4aab
Bump v18.0.0-nightly.20211221
2021-12-21 05:01:15 -08:00
Sudowoodo Release Bot
2b25e737a7
Bump v18.0.0-nightly.20211220
2021-12-20 05:02:21 -08:00
Keeley Hammond
ffbaa1d83f
fix: check for single bluetooth listener ( #32240 )
2021-12-17 16:55:43 -08:00
Sudowoodo Release Bot
909dbe6890
Bump v18.0.0-nightly.20211217
2021-12-17 05:01:12 -08:00
electron-roller[bot]
eaae6c1553
chore: bump node to v16.13.1 (main) ( #32086 )
...
* chore: bump node in DEPS to v16.13.1
* update patches
* update c-ares BUILD.gn
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
2021-12-16 14:41:25 -08:00
Micha Hanselmann
e9420982d2
fix: older systems crash when playing media files ( #32046 )
...
* fix: win7 crash when playing media
* reset
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-12-16 09:23:30 -08:00
Sudowoodo Release Bot
c1b3b3064b
Bump v18.0.0-nightly.20211216
2021-12-16 05:00:36 -08:00
Samuel Attard
a11f5cbb27
fix: ensure bluetooth devices are not returned by default ( #32178 )
2021-12-15 11:46:48 -08:00
Sudowoodo Release Bot
1facbb4a09
Bump v18.0.0-nightly.20211215
2021-12-15 05:02:27 -08:00
Dennis
d5b6a2f800
Update discord url to electronjs ( #32173 )
...
The discord url in this page is discord.gg/electron, which refers to a (supposed) roblox scripting group.
2021-12-14 13:25:56 -08:00
Sudowoodo Release Bot
292409a301
Bump v18.0.0-nightly.20211214
2021-12-14 05:01:26 -08:00
Sudowoodo Release Bot
f887ca0082
Bump v18.0.0-nightly.20211213
2021-12-13 05:01:46 -08:00
stephen9357
6d9e2e3ad0
docs: Fix environment variable name ( #32094 )
...
The names of environment variables are case-sensitive on Linux and Mac.
2021-12-13 15:42:43 +09:00
Sudowoodo Release Bot
c4e471fbe2
Bump v18.0.0-nightly.20211210
2021-12-10 05:02:25 -08:00
Sudowoodo Release Bot
1341b0a6b7
Bump v18.0.0-nightly.20211209
2021-12-09 05:01:05 -08:00
Sudowoodo Release Bot
cf0959f834
Bump v18.0.0-nightly.20211208
2021-12-08 05:01:41 -08:00
Sudowoodo Release Bot
f615075847
Bump v18.0.0-nightly.20211207
2021-12-07 14:57:31 -08:00
Sudowoodo Release Bot
d53399ea31
Revert "Bump v18.0.0-nightly.20211207"
...
This reverts commit df7eb209a5 .
2021-12-07 08:21:50 -08:00
Sudowoodo Release Bot
df7eb209a5
Bump v18.0.0-nightly.20211207
2021-12-07 05:01:42 -08:00
Sudowoodo Release Bot
12c5b9eaac
Bump v18.0.0-nightly.20211206
2021-12-06 05:01:29 -08:00
Cheng Zhao
35ac7fb8e6
fix: window.open not overriding parent's webPreferences ( #32057 )
...
* fix: window.open not overriding parent's webPreferences
* test: remove "nativeWindowOpen: false" from renderer tests
2021-12-06 12:54:14 +09:00
Milan Burda
77287febf4
refactor: use process type specific electron imports in default_app ( #32097 )
2021-12-06 11:44:41 +09:00
fengmk2
f46e9c3205
docs: change China mirror domain to npmmirror.com ( #32076 )
2021-12-06 11:28:41 +09:00
Sudowoodo Release Bot
f3df76dbdc
Bump v18.0.0-nightly.20211203
2021-12-03 05:02:32 -08:00
Sudowoodo Release Bot
0c5b01f5f6
Bump v18.0.0-nightly.20211202
2021-12-02 05:05:03 -08:00
Tristan Partin
eabfd6c1b9
fix: gtk_native_dialog_run() calls show() internally ( #32049 )
...
In the synchronous code path, gtk_native_dialog_run() will call
gtk_native_dialog_show(). Previously this was causing an assertion to be
hit at run time.
2021-12-01 20:19:36 -08:00
Sudowoodo Release Bot
cce427dc46
Bump v18.0.0-nightly.20211201
2021-12-01 05:00:57 -08:00
Samuel Attard
ed7f9ad5c2
fix: avoid double call in OnRefreshComplete on aura platforms ( #32052 )
2021-11-30 15:12:39 -08:00
Black-Hole
bc8cfbac59
docs: add debug build ( #31979 )
...
* docs: add debug build
* docs: move debug config document to debugging.md
* fix: debug.gn import failed
* docs: modify debug.gn folder on doc
* docs: imporve gn import path
2021-11-30 16:40:58 -05:00
Sudowoodo Release Bot
3d34fd7c91
Bump v18.0.0-nightly.20211130
2021-11-30 11:14:36 -08:00
Sudowoodo Release Bot
ab92455fc8
Revert "Bump v18.0.0-nightly.20211130"
...
This reverts commit 90410e0419 .
2021-11-30 09:49:21 -08:00
Sudowoodo Release Bot
90410e0419
Bump v18.0.0-nightly.20211130
2021-11-30 09:18:59 -08:00
Keeley Hammond
83a4b234d7
build: account for path-filtering workflow in release-build script ( #32063 )
...
* build: account for path-filtering workflow in release-build script
* build: update syntax for workflow id
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-11-30 09:17:04 -08:00
Sudowoodo Release Bot
3278ff6a05
Revert "Bump v18.0.0-nightly.20211130"
...
This reverts commit 395b43b293 .
2021-11-30 09:16:09 -08:00
Sudowoodo Release Bot
395b43b293
Bump v18.0.0-nightly.20211130
2021-11-30 05:00:57 -08:00
Keeley Hammond
43f36b5b24
build: add CI path-filtering for docs-only changes ( #31741 )
...
build: (wip) initial dynamic config research
* build: (wip) test path filtering option
* build: (wip) remove doc-only script, use path filtering to check changes
* build: (wip) add docker image with Electron dependencies
* build: (wip) clean up config
* build (wip): readd parameters, executors and env*s
* build: re-add steps and commands
* build: change doc-only to ts-compile-doc-only
* build: re-add workflows and jobs
* build: split configs to setup & build
* build: move lint to "always run" config
* build: clean up, remove old reference config
* build: bump to path-filtering 0.1.0
* build: remove ts-compile step from build-linux
* build: remove nightly-linux-release-test, linux-checks-nightly
* build: don't run build on publish
* build: set base-revision to main (runs branch vs commit)
* build: update config from chromium roll
2021-11-29 18:09:07 -05:00
Sudowoodo Release Bot
46634bc0f2
Bump v18.0.0-nightly.20211129
2021-11-29 05:03:23 -08:00
Sudowoodo Release Bot
24d272ca41
Bump v18.0.0-nightly.20211126
2021-11-26 05:01:27 -08:00
Erick Zhao
b4b0667d52
chore: make Discord invite non-vanity ( #31991 )
2021-11-26 13:10:07 +13:00
Sudowoodo Release Bot
4609d4cb7a
Bump v18.0.0-nightly.20211125
2021-11-25 05:01:26 -08:00
Sudowoodo Release Bot
3834aaf4e9
Bump v18.0.0-nightly.20211124
2021-11-24 12:47:25 -08:00
John Kleinschmidt
f1b8f9692d
chore: update patches ( #31988 )
2021-11-24 15:35:48 -05:00
Sudowoodo Release Bot
b49a9629c0
Revert "Bump v18.0.0-nightly.20211124"
...
This reverts commit e53f1af97e .
2021-11-24 07:28:53 -08:00
Sudowoodo Release Bot
e53f1af97e
Bump v18.0.0-nightly.20211124
2021-11-24 05:02:04 -08:00
electron-roller[bot]
bd10b19b0c
chore: bump chromium to 98.0.4706.0 (main) ( #31555 )
...
* chore: bump chromium in DEPS to 97.0.4678.0
* chore: bump chromium in DEPS to 97.0.4679.0
* chore: bump chromium in DEPS to 97.0.4680.0
* chore: bump chromium in DEPS to 97.0.4681.0
* chore: bump chromium in DEPS to 97.0.4682.0
* chore: update patches
* 3234737: Disable -Wunused-but-set-variable
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3234737
* 3216953: Reland "Move task-related files from base/ to base/task/"
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3216953
* 3202710: TimeDelta factory function migration.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3202710
* 3226841: Rename WCO::RenderProcessGone to PrimaryMainFrameRenderProcessGone
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3226841
* 3212165: blink/gin: changes blink to load snapshot based on runtime information
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3212165
* 3220292: Deprecate returning a GURL from GURL::GetOrigin()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3220292
* 3231995: build: Enable -Wbitwise-instead-of-logical everywhere except iOS and Windows
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3231995
* 3205121: Remove base::DictionaryValue::GetDouble
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3205121
* 3208413: [flags] Make --js-flags settings have priority over V8 features
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3208413
* chore: bump chromium in DEPS to 97.0.4683.0
* chore: update patches
* 3188834: Combine RWHVBase GetCurrentDeviceScaleFactor/GetDeviceScaleFactor
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3188834
* chore: update process_singleton patches
* chore: bump chromium in DEPS to 97.0.4684.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4685.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4686.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4687.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4688.0
* chore: update patches
* 3247722: Use correct source_site_instance if navigating via context menu
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3247722
Update signature of HandleContextMenu()
* 3247722: Use correct source_site_instance if navigating via context menu
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3247722
Update signature of HandleContextMenu()
* 3223422: Remove PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE enum option
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3223422
sync pepper_plugin_support.patch with upstream
* chore: bump chromium in DEPS to 97.0.4689.0
* 3247791: ax_mac_merge: Merge AX Math attribute implementations
Xref: ax_mac_merge: Merge AX Math attribute implementations
chore: fix minor patch shear in #includes
* 3243425: Add VisibleTimeRequestTrigger helper class
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3243425
chore: fix minor patch shear in #includes
* chore: regen chromium patches
* fixup! 3247722: Use correct source_site_instance if navigating via context menu
* chore: bump chromium in DEPS to 97.0.4690.0
* 3188659: Window Placement: make GetScreenInfo(s) const
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3188659
simple sync GetScreenInfo with upstream refactor
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4690.4
* chore: bump chromium in DEPS to 97.0.4692.0
* 3198073: ozone: //content: clean up from USE_X11
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3198073
Fixing patch shear. Nothing to see here.
* 3252338: Remove label images checkbox from chrome://accessibility page
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3252338
Part of our a11y patch is no longer needed due to upstream label removal
* 3258183: Remove DISALLOW_IMPLICIT_CONSTRUCTORS() definition
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3258183
Replace our use of the macro with explicitly-deleted class methods.
See https://chromium-review.googlesource.com/c/chromium/src/+/3256952
for upstream examples of this same replacement.
* chore: update patches
* 3247295: Unwind SecurityStyleExplanations
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3247295
update GetSecurityStyle() signature and impl to match upstream changes
* 3259578: media: grabs lock to ensure video output when occluded
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3259578
Add stub for new upstream virtual method OnCapturerCountChanged()
* fixup! 3247295: Unwind SecurityStyleExplanations
* 3238504: Fix up drag image is not shown from bookmark bar
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3238504
SetDragImage() no longer takes a widget argument
* 3217452: [devtools] Add getSyncInformation host binding
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3217452
Add stub for new upstream method GetSyncInformation(). Stub sends info back to caller saying that syncing is disabled.
* chore: bump chromium in DEPS to 98.0.4693.0
* chore: bump chromium in DEPS to 98.0.4694.0
* chore: bump chromium in DEPS to 98.0.4695.0
* chore: bump chromium in DEPS to 98.0.4696.0
* chore: bump chromium in DEPS to 98.0.4697.0
* chore: bump chromium in DEPS to 98.0.4699.0
* chore: bump chromium in DEPS to 98.0.4701.0
* chore: bump chromium in DEPS to 98.0.4703.0
* chore: bump chromium in DEPS to 98.0.4705.0
* chore: bump chromium in DEPS to 98.0.4706.0
* chore: update patches
* 3279210: Rename "base/macros.h" => "base/ignore_result.h"
https://chromium-review.googlesource.com/c/chromium/src/+/3279210
* 3259964: Remove all DISALLOW_COPY_AND_ASSIGNs
https://chromium-review.googlesource.com/c/chromium/src/+/3259964
* 3269029: blink/gin: sets histogram callbacks during isolate creation
https://chromium-review.googlesource.com/c/chromium/src/+/3269029
* fixup after rebase
* [content] Make ContentMainParams and MainFunctionParams move-only
https://chromium-review.googlesource.com/c/chromium/src/+/3244976
* 3255305: Stop sending the securityStateChanged event and unwind
https://chromium-review.googlesource.com/c/chromium/src/+/3255305
* [Blink] Add promise support to WebLocalFrame::RequestExecuteScript()
https://chromium-review.googlesource.com/c/chromium/src/+/3230010
* 3256162: Simplify RWHV Show and ShowWithVisibility handling
https://chromium-review.googlesource.com/c/chromium/src/+/3256162
* 3263824: ozone: //ui/base: clean up from USE_X11 1/*
https://chromium-review.googlesource.com/c/chromium/src/+/3263824
* Request or cancel RecordContentToPresentationTimeRequest during capture
https://chromium-review.googlesource.com/c/chromium/src/+/3256802
* appcache: remove BrowsingData/quota references
https://chromium-review.googlesource.com/c/chromium/src/+/3255725
* [Autofill] Don't show Autofill dropdown if overlaps with permissions
https://chromium-review.googlesource.com/c/chromium/src/+/3236729
* Rename to_different_document to should_show_loading_ui in LoadingStateChanged() callbacks
https://chromium-review.googlesource.com/c/chromium/src/+/3268574
* cleanup patch
* fixup [content] Make ContentMainParams and MainFunctionParams move-only
* 3279210: Rename "base/macros.h" => "base/ignore_result.h"
https://chromium-review.googlesource.com/c/chromium/src/+/3279210
* ozone: //chrome/browser clean up from USE_X11
https://chromium-review.googlesource.com/c/chromium/src/+/3186490
Refs: https://github.com/electron/electron/issues/31382
* chore: update support_mixed_sandbox_with_zygote.patch
* Enable -Wunused-but-set-variable.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3234737
* fixup! ozone: //ui/base: clean up from USE_X11 1/*
* fixup! ozone: //chrome/browser clean up from USE_X11
* chore: fix deprecation warning in libuv
* chore: fixup for lint
* 3251161: Reland "Make the Clang update.py script require Python 3"
https://chromium-review.googlesource.com/c/chromium/src/+/3251161
* fixup: Enable -Wunused-but-set-variable.
* [base][win] Rename DIR_APP_DATA to DIR_ROAMING_APP_DATA
https://chromium-review.googlesource.com/c/chromium/src/+/3262369
* Replace sandbox::policy::SandboxType with mojom Sandbox enum
https://chromium-review.googlesource.com/c/chromium/src/+/3213677
* fixup: [content] Make ContentMainParams and MainFunctionParams move-only
* build: ensure angle has a full git checkout available to it
* fixup: [base][win] Rename DIR_APP_DATA to DIR_ROAMING_APP_DATA
* fixup lint
* [unseasoned-pdf] Dispatch 'afterprint' event in PDF plugin frame
https://chromium-review.googlesource.com/c/chromium/src/+/3223434
* fixup: [Autofill] Don't show Autofill dropdown if overlaps with permissions
* 3217591: Move browser UI CSS color parsing to own file part 2/2
https://chromium-review.googlesource.com/c/chromium/src/+/3217591
* Make kNoSandboxAndElevatedPrivileges only available to utilities
https://chromium-review.googlesource.com/c/chromium/src/+/3276784
* 3211575: [modules] Change ScriptOrModule to custom Struct
https://chromium-review.googlesource.com/c/v8/v8/+/3211575
* Address review feedback
* chore: update patches
* 3211575: [modules] Change ScriptOrModule to custom Struct
https://chromium-review.googlesource.com/c/v8/v8/+/3211575
* fix: unused variable compat
* chore: remove redundant patch
* fixup for 3262517: Re-enable WindowCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3262517
* chore: cleanup todo
The functions added in https://chromium-review.googlesource.com/c/chromium/src/+/3256802 are not used by offscreen rendering.
* fixup: update mas_no_private_api.patch
* 3216879: [PA] Make features::kPartitionAllocLazyCommit to be PartitionOptions::LazyCommit
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3216879 Fixes up commit b2f1aca956
* chore: cleanup support_mixed_sandbox_with_zygote.patch
* test: use window focus event instead of delay to wait for webContents focus
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-11-24 09:45:59 +01:00
Erick Zhao
065cad6d2c
docs: add playwright e2e testing docs ( #31961 )
2021-11-23 11:47:24 -08:00
Robo
9ab102e156
fix: console windows from ELECTRON_RUN_AS_NODE instances ( #31963 )
2021-11-23 09:34:07 -08:00
Sudowoodo Release Bot
681fe435fe
Bump v18.0.0-nightly.20211123
2021-11-23 05:01:47 -08:00
Sudowoodo Release Bot
4713acce8d
Bump v18.0.0-nightly.20211122
2021-11-22 05:00:55 -08:00
CezaryKulakowski
557e586667
fix: fix aspect ratio when max width/height is set ( #29101 )
...
Add the native frame border size to the minimum and maximum size if
the view reports its size as the client size. It allows to enlarge
window to proper values when aspect ratio and max width/height are
set. It also fixes DCHECK which was triggered when user tried to
enlarge window above dimensions set during creation of the
BrowserWindow.
2021-11-22 18:31:21 +09:00
Milan Burda
c4ea33d1bf
chore: add ELECTRON_ prefix to C++ include guards ( #31925 )
2021-11-22 16:34:31 +09:00
dependabot[bot]
0865267387
build(deps-dev): bump aws-sdk from 2.727.1 to 2.814.0 ( #31867 )
...
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js ) from 2.727.1 to 2.814.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases )
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.727.1...v2.814.0 )
---
updated-dependencies:
- dependency-name: aws-sdk
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 09:50:36 +09:00
Shelley Vohr
239ba7d905
fix: BrowserView setBackgroundColor needs two calls ( #31863 )
2021-11-22 09:38:05 +09:00
Black-Hole
38d2ec0cb6
fix: ninja build failed on some system ( #31887 )
2021-11-22 09:37:13 +09:00
Milan Burda
7ff15038d6
fix: lint Objective-C header files ( #31923 )
2021-11-22 09:36:32 +09:00
Sudowoodo Release Bot
98a5996b30
Bump v18.0.0-nightly.20211119
2021-11-19 05:02:11 -08:00
Sudowoodo Release Bot
eb56209206
Bump v18.0.0-nightly.20211118
2021-11-18 05:01:32 -08:00
Keeley Hammond
0cb46a3712
fix: add resource strings for file selection ( #31881 )
2021-11-17 14:13:49 -08:00
Keeley Hammond
3e71310a9f
chore: update nmv to 103 for Electron 18 ( #31778 )
2021-11-17 11:35:00 -08:00
Sergey Zolotarev
9f12edac65
Fix typo in distribution docs ( #31791 )
2021-11-17 12:20:24 -06:00
Donald D. Nevermore
706143fe85
docs: update cache paths in installation doc ( #31803 )
2021-11-17 10:16:08 -05:00
Sudowoodo Release Bot
dcf1df0959
Bump v17.0.0-nightly.20211117
2021-11-17 05:01:22 -08:00
Sudowoodo Release Bot
16ba2eff9a
Bump v17.0.0-nightly.20211116
2021-11-16 05:01:49 -08:00
Darshan Sen
25f2abb64d
chore: use std::forward() in ConvertToV8() ( #31817 )
...
The variable `input` is accepted by a universal reference, so it doesn't
make sense to cast a potential lvalue reference into an rvalue
reference. In case `input` is an lvalue reference, we should rather
forward the value as is to `ToV8()`.
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-11-16 09:15:32 +01:00
Milan Burda
e6b1d95a1c
docs: type names changed from wrapper to primitive ( #31752 )
2021-11-15 22:13:18 -06:00
Samuel Attard
246884c4fb
fix: provide paths for all NetworkContextFilePaths keys ( #31777 )
...
* fix: provide paths for all NetworkContextFilePaths keys
* chore: include chrome features header
* chore: build browser_features
* yolo
* add pref service
* fix: include sandbox policy features
* fix pref key
* fix: gate pref key to OS_WIN
Co-authored-by: VerteDinde <khammond@slack-corp.com >
2021-11-15 15:26:09 -08:00
Shelley Vohr
65e4f75058
fix: make BrowserView aware of owning window ( #31796 )
2021-11-15 16:23:31 +01:00
Keeley Hammond
bf7b245fa0
fix: change cookie default from NO_RESTRICTION to LAX_MODE ( #31800 )
...
* fix: change default from NO_RESTRICTION to LAX_MODE
* chore: update cookie docs, redirect tests
2021-11-15 09:20:04 -06:00
Fedor Indutny
d9e93b3c4b
fix: media shouldn't open permissions dialog ( #31805 )
...
* fix: media shouldn't open permissions dialog
Playing media shouldn't open Accessibility permissions dialog on macOS.
However, we still need to watch for media events, just not globally and
`media_keys_listener_` is an API over global capture of the media keys.
The fix is to let chromium call `UpdateWhichKeysAreListenedFor` which
will call `UpdateSystemMediaControlsEnabledControls` and watch for
events on `system_media_controls_` without triggering permissions popup.
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-11-15 14:16:16 +01:00
Sudowoodo Release Bot
2e11f609ac
Bump v17.0.0-nightly.20211115
2021-11-15 05:01:56 -08:00
Micha Hanselmann
d4abb6fb66
fix: setContentProtection affects BrowserWindow frame ( #31768 )
2021-11-15 10:51:27 +01:00
Shelley Vohr
7e328c4b87
fix: crash on browserView.webContents.destroy() ( #31794 )
2021-11-15 08:24:22 +01:00
Charles Kerr
22f863b37a
fix: correct default text for button labels in gtk dialogs ( #31798 )
2021-11-15 08:18:33 +01:00
Charles Kerr
c8ba3b4556
fix: in GTK open dialog, do not preview huge files ( #31799 )
2021-11-15 08:17:11 +01:00
Cheng Zhao
a6a5ca1db3
fix: crash caused by GetHostNameW on Windows 7 ( #31804 )
2021-11-14 16:39:31 +09:00
Sudowoodo Release Bot
a41898bb9b
Bump v17.0.0-nightly.20211112
2021-11-12 05:00:58 -08:00
Charles Kerr
cac871c027
Revert "refactor: only create webContents after 'will-attach-webview' ( #30311 )" ( #31785 )
...
This reverts commit 6e43b0bcbf .
2021-11-11 15:04:06 -05:00
Sudowoodo Release Bot
09d160f406
Bump v17.0.0-nightly.20211111
2021-11-11 05:00:57 -08:00
Sofia Nguy
3108450c77
doc: Update E17 release dates ( #31786 )
2021-11-10 17:13:02 -08:00
Milan Burda
18cc33055d
chore: move libs only used in browser out of common ( #31780 )
2021-11-10 08:54:51 -08:00
Sudowoodo Release Bot
4c4ed6c705
Bump v17.0.0-nightly.20211110
2021-11-10 05:02:00 -08:00
Michaela Laurencin
6bc5fa3758
fix: generate angle brackets in release notes ( #31757 )
2021-11-10 10:06:59 +09:00
Milan Burda
dfb3b24de1
refactor: merge duplicate code from sandboxed/non-sandboxed renderer init ( #31755 )
2021-11-10 09:59:33 +09:00
Shelley Vohr
b40f3d4cfc
fix: BrowserView setBackgroundColor() ( #31746 )
2021-11-09 11:36:29 -05:00
Shelley Vohr
25cdbb7d3a
fix: failing Node.js certificate spec ( #31748 )
2021-11-09 11:29:04 -05:00
Sudowoodo Release Bot
0f83624693
Bump v17.0.0-nightly.20211109
2021-11-09 05:00:42 -08:00
Milan Burda
68b8e9be9a
chore: cleanup obsolete lib/common/remote/ipc-messages.ts ( #31756 )
2021-11-09 03:18:44 -08:00
John Kleinschmidt
4b3aed503f
test: fix crash in electron::NativeWindowMac::Close() ( #31750 )
...
* test: fix crash in electron::NativeWindowMac::Close()
* remove extra close
2021-11-08 19:27:32 -08:00
Milan Burda
fe7f296339
refactor: remove duplicate contextIsolation from getWebPreference() ( #31730 )
2021-11-08 11:57:56 -05:00
Sudowoodo Release Bot
4af21a1df8
Bump v17.0.0-nightly.20211108
2021-11-08 05:02:28 -08:00
Milan Burda
daed10512d
chore: remove Breakpad tests for crashReporter on Linux ( #31729 )
2021-11-08 10:20:43 +01:00
Milan Burda
97eb424450
refactor: move certificate_manager_model to shell ( #31631 )
2021-11-08 09:53:00 +09:00
Milan Burda
95a867b795
fix: <webview> background transparency ( #31722 )
2021-11-05 19:55:19 -07:00
Sudowoodo Release Bot
bc4308dcf8
Bump v17.0.0-nightly.20211105
2021-11-05 06:02:02 -07:00
henrit
3c33d70294
fix: clipboard.writeBuffer raw format access ( #31116 )
...
* fix: clipboard.writeBuffer raw format access
* test: clipboard.writeBuffer raw format access
* test: clipboard win32 test skip
* fixup spec
* cleanup patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-11-04 14:19:30 -04:00
John Kleinschmidt
f8df634197
test: deflake <webview> tag loads devtools extensions on WOA ( #31702 )
2021-11-04 14:00:28 -04:00
Shelley Vohr
96a04c67fd
fix: crash dump location on Linux ( #31668 )
...
* fix: crash dump location on Linux
* fix: ignore client_id for Zygote process
* chore: update comment
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-11-04 13:45:59 -04:00
Sudowoodo Release Bot
b6b9cec604
Bump v17.0.0-nightly.20211104
2021-11-04 06:04:56 -07:00
Raymond Zhao
9e0e04da25
fix: second-instance additionalData parameter ( #31661 )
...
* test: second-instance additionalData parameter
* Fix posix implementation
2021-11-04 01:14:09 -07:00
Keeley Hammond
86f6285299
fix: apply transparency settings to WebContentsPreferences ( #31685 )
...
* fix: add transparency to web_contents_preferences
* fix: correctly apply transparency settings to new webContents from webPreferences
2021-11-03 11:16:18 -07:00
Charles Kerr
190dd31dbc
refactor: use upstream AutofillDriverFactory diffs ( #31676 )
...
* refactor: use upstream AutofillDriverFactory diffs
Update our copy of AutofillDriver and AutofillDriverFactory to match chromium.
2021-11-03 12:17:06 -05:00
Shelley Vohr
24b02d68a7
fix: incorrect Content-Disposition serialization ( #31669 )
...
* fix: incorrect Content-Disposition serialization
* test: fixup test
2021-11-03 10:11:37 -04:00
Sudowoodo Release Bot
31e877515c
Bump v17.0.0-nightly.20211103
2021-11-03 06:05:31 -07:00
Milan Burda
65a980c673
refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN ( #31633 )
2021-11-03 20:41:45 +09:00
Sudowoodo Release Bot
2a2a1a834c
Bump v17.0.0-nightly.20211102
2021-11-02 06:04:29 -07:00
Cheng Zhao
c4d35cd18c
fix: do not run dialog callback inside transaction commit ( #31606 )
2021-11-01 17:08:31 -04:00
electron-roller[bot]
1e618ef06c
chore: bump node to v16.13.0 (main) ( #31607 )
...
* chore: bump node in DEPS to v16.13.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>
2021-11-01 16:58:35 -04:00
John Kleinschmidt
c40a292099
test: fix test-datetime-change-notify after daylight change ( #31654 )
2021-11-01 16:31:12 -04:00
John Kleinschmidt
5899a72df9
fix: clipboard.read() to recognize custom types ( #31623 )
2021-11-01 10:00:36 -04:00
John Kleinschmidt
a938af3f54
fix: use disable-hid-blocklist to allow FIDO ( #31626 )
2021-11-01 10:00:07 -04:00
Sudowoodo Release Bot
97a109991e
Bump v17.0.0-nightly.20211101
2021-11-01 06:04:57 -07:00
Shelley Vohr
20b4813cf8
fix: crash on close window when webContents destroyed ( #31620 )
2021-11-01 13:32:54 +09:00
Sudowoodo Release Bot
a6e5ff3607
Bump v17.0.0-nightly.20211029
2021-10-29 06:02:06 -07:00
Shelley Vohr
639f4428a5
fix: navigator.keyboard.lock() not working ( #31572 )
...
* fix: navigator.keyboard.lock() not working
* chore: address review feedback
2021-10-28 10:23:05 -04:00
Sudowoodo Release Bot
120cff38c5
Bump v17.0.0-nightly.20211028
2021-10-28 06:01:45 -07:00
Erick Zhao
ec34c6c6e7
docs: update test automation doc ( #31506 )
...
* Update WebdriverIO documentation
* Update docs/tutorial/using-selenium-and-webdriver.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update docs/tutorial/using-selenium-and-webdriver.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* docs: update automated testing docs
* lint
* update
* Update docs/tutorial/automated-testing.md
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* fixes
Co-authored-by: Christian Bromann <github@christian-bromann.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-10-28 11:17:43 +09:00
Robo
3bf42593ba
fix: use shorter paths for creating singleton sockets ( #31608 )
2021-10-27 12:25:08 -07:00
Sudowoodo Release Bot
e88a2955da
Bump v17.0.0-nightly.20211027
2021-10-27 06:05:09 -07:00
Keeley Hammond
0f0ed5921d
chore: fix supported versions automation ( #31602 )
2021-10-26 22:26:17 -07:00
Shelley Vohr
771a8f70da
docs: update development-related documentation ( #31043 )
...
* docs: update chromium development-related documentation
* chore: remove obsolete clang-format doc
clang-format linting and fixing is a pre-commit hook now
* docs: update debugging documentation
* docs: misc updates
* Update docs/development/debugging-on-windows.md
Co-authored-by: Micha Hanselmann <mh74182@gmail.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/debugging-on-macos.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/testing.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/testing.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Micha Hanselmann <mh74182@gmail.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-10-27 10:18:38 +09:00
Erick Zhao
3193d7e99b
docs: link to Apple developer docs for app.ready event ( #31583 )
...
Changes some links around. There was no link for `NSUserNotification`, and
`UNNotificationResponse` incorrectly linked to our own `NotificationResponse`
API structure doc.
2021-10-27 09:06:01 +09:00
Milan Burda
be8b1a2727
chore: update chore_add_context_to_context_aware_module_prevention.patch ( #31579 )
2021-10-26 15:50:29 -04:00
Sudowoodo Release Bot
43987bbc19
Bump v17.0.0-nightly.20211026
2021-10-26 06:02:41 -07:00
Shelley Vohr
deb7ab2a40
fix: clipboard.read() crash ( #31566 )
2021-10-26 14:14:08 +02:00
Shelley Vohr
78626a5cc6
chore: fix malformed mojom::CreateNewWindowParams patch ( #31573 )
...
* chore: fix malformed mojom::CreateNewWindowParams patch
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-25 20:04:39 -04:00
Mitchell McCaffrey
23cdf65c53
feat: add webContents.getMediaSourceId() method ( #31204 )
...
* feat: add webContents.getMediaSourceId() method
* fix: account for null frame_hosts in webContents.getMediaSourceId()
* fix: move webContents.getMediaSourceId definition to be more organised
* fix: move webContents.getMediaSourceId implementation
* fix: move webContents.getMediaSourceId docs
2021-10-25 20:03:59 -04:00
Samuel Attard
63eed52626
fix: do not trigger CSP violations when checking eval ( #30991 )
...
* fix: do not trigger CSP violations when checking eval
* Update shell/renderer/api/electron_api_web_frame.cc
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-10-25 14:11:24 -07:00
Samuel Attard
add94f5fe6
build: retry hasher function if it fails first time ( #30899 )
...
* build: retry hasher function if it fails first time
* Update script/release/get-url-hash.js
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-10-25 14:11:07 -07:00
Darshan Sen
8f51d3e1bf
feat: add webContents.getPrintersAsync() ( #31023 )
...
This deprecates the synchronous and blocking `webContents.getPrinters()`
function and introduces `webContents.getPrintersAsync()`, which is
asynchronous and non-blocking.
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-10-25 14:16:58 -04:00
electron-roller[bot]
b936f5e14a
chore: bump node to v16.12.0 (main) ( #31518 )
...
* chore: bump node in DEPS to v16.12.0
* chore: update patches
* esm: consolidate ESM Loader methods
https://github.com/nodejs/node/pull/37468
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: Shelley Vohr <shelley.vohr@gmail.com >
2021-10-25 13:33:01 -04:00
Shelley Vohr
2a4b262354
fix: silent print settings ( #31489 )
...
* fix: silent print settings
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-25 11:52:52 -04:00
Shelley Vohr
5f3af5fdf1
docs: remove Nw.js comparison document ( #31053 )
2021-10-25 11:28:26 -04:00
Milan Burda
3332420886
docs: win.getParentWindow() returns BrowserWindow | null ( #31548 )
2021-10-25 11:10:33 -04:00
Sudowoodo Release Bot
084bcf56ff
Bump v17.0.0-nightly.20211025
2021-10-25 06:03:30 -07:00
Sudowoodo Release Bot
f020ec4748
Bump v17.0.0-nightly.20211022
2021-10-22 14:27:46 -07:00
Keeley Hammond
35d6c2fa98
chore: import base/macros.h into asar archive.h ( #31557 )
2021-10-22 14:26:55 -07:00
Sudowoodo Release Bot
690dbb7e62
Revert "Bump v17.0.0-nightly.20211022"
...
This reverts commit b8ea7bf90b .
2021-10-22 13:22:03 -07:00
Sudowoodo Release Bot
b8ea7bf90b
Bump v17.0.0-nightly.20211022
2021-10-22 06:01:55 -07:00
Shelley Vohr
1d0f94f6b3
fix: vibrant window should have transparent background ( #31493 )
2021-10-21 15:53:52 -04:00
Shelley Vohr
40a8e4fb58
fix: MediaMetadata not working properly ( #31492 )
2021-10-21 15:39:38 -04:00
electron-roller[bot]
87f7625c5d
chore: bump chromium to 96.0.4664.4 (main) ( #31317 )
...
* chore: bump chromium in DEPS to 96.0.4662.0
* chore: bump chromium in DEPS to 96.0.4663.0
* chore: update patches
* [Extensions] Remove RuntimeData entirely
https://chromium-review.googlesource.com/c/chromium/src/+/3177328
* Make helper macros behave consistently for //content/public UserData types
https://chromium-review.googlesource.com/c/chromium/src/+/3198788
* Enabling sandboxing for the speech recognition service browser tests
https://chromium-review.googlesource.com/c/chromium/src/+/3146090
* [devtools] Add 'RegisterPreference' host binding
https://chromium-review.googlesource.com/c/chromium/src/+/3162281
* [Reland][Extensions]: Add persistAcrossSessions flag (scripting API)
https://chromium-review.googlesource.com/c/chromium/src/+/3175161
* [Bluetooth] Add Passkey prompt dialog for bonding.
https://chromium-review.googlesource.com/c/chromium/src/+/2841104
* Clipboard: Remove ReadImage path in browser
https://chromium-review.googlesource.com/c/chromium/src/+/3194826
* Split printing metafile code into its own target.
https://chromium-review.googlesource.com/c/chromium/src/+/3164925
* Cleanup unused DesktopMediaListObserver params
https://chromium-review.googlesource.com/c/chromium/src/+/3179203
* Remove base::DictionaryValue::GetBinary
https://chromium-review.googlesource.com/c/chromium/src/+/3201974
* Window Placement: change RWHV::GetDisplayList to GetScreenInfos
https://chromium-review.googlesource.com/c/chromium/src/+/3138774
* Add a preview to the Tab Capture picker dialog
https://chromium-review.googlesource.com/c/chromium/src/+/3045268
* Add service-based usage to update print settings
https://chromium-review.googlesource.com/c/chromium/src/+/3155426
* chore: bump chromium in DEPS to 96.0.4664.2
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4664.4
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4666.0
* Revert "chore: bump chromium in DEPS to 97.0.4666.0"
This reverts commit d73caae8ba4b39efc9b3ea4de52685b9c92ef3d0.
* Reland "Block external protocol handler with sandbox."
https://chromium-review.googlesource.com/c/chromium/src/+/3198263
* fixup for lint
* Add CookiePartitionKeychain parameter to CookeManager.GetCookieList.
https://chromium-review.googlesource.com/c/chromium/src/+/3206016
* Move ui/gfx/transform*,rrect*,mask_filter_info* into ui/gfx/geometry
https://chromium-review.googlesource.com/c/chromium/src/+/3200392
* fixup Move ui/gfx/transform*,rrect*,mask_filter_info* into ui/gfx/geometry
* ozone: //chrome/browser clean up from USE_X11
https://chromium-review.googlesource.com/c/chromium/src/+/3186490
* content: don't load v8 snapshot in browser process
https://chromium-review.googlesource.com/c/chromium/src/+/3183394
* [devtools] Add 'RegisterPreference' host binding
https://chromium-review.googlesource.com/c/chromium/src/+/3162281
* 3186491: Add 'devtools.sync_preferences' preference
https://chromium-review.googlesource.com/c/chromium/src/+/3186491
* 2951147: DCHECK accessible names for focusable Views
https://chromium-review.googlesource.com/c/chromium/src/+/2951147
* 3201014: Use real font size for calculation of SmallTextRatio
https://chromium-review.googlesource.com/c/chromium/src/+/3201014
* fixup Clipboard: Remove ReadImage path in browser
* chore: update patches
* fix: disable PlzServiceWorker to fix custom protocol SW script loading
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3199761
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: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-10-21 11:51:36 -07:00
Sudowoodo Release Bot
ed2aaed4bd
Bump v17.0.0-nightly.20211021
2021-10-21 06:02:28 -07:00
Sudowoodo Release Bot
6bd06c9a71
Bump v17.0.0-nightly.20211020
2021-10-20 06:04:11 -07:00
Keeley Hammond
14e2678b00
fix: don't use private enterprise APIs in MAS build ( #31482 )
2021-10-19 23:12:59 -07:00
Michaela Laurencin
a2d993c9b4
fix: remove 'NOTREACHED()' from 'GetWindowResizeEdge' ( #31470 )
2021-10-19 11:19:04 -05:00
Shelley Vohr
8364375347
fix: ensure TracingAgent in place for SWs ( #31459 )
2021-10-19 15:04:48 +02:00
Sudowoodo Release Bot
51b49d5bd8
Bump v17.0.0-nightly.20211019
2021-10-19 06:02:51 -07:00
Daniel Ramp
054a32785b
fix: link to image ( #31454 )
...
windows progress bar image was linked with square brackets [] insted of parenthesis () and to github asset storage instead of local image directory.
2021-10-19 17:43:10 +09:00
Erick Zhao
c3a8ad254a
docs: add window customization guide ( #31054 )
...
* docs: add window customization guide
* fixes
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/fiddles/windows/manage-windows/frameless-window/index.html
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* fix code fence
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-10-19 09:58:35 +09:00
t57ser
7eaebe0bd6
fix: add isDestroyed check ( #31208 )
...
* Added isDestroyed check
fix: https://github.com/electron/electron/issues/31196
* fix: unregister frame name
Unregister the frame name so that we do not accidentally unregister the wrong window later on in case there is a timing issue with the events
* fix; check if webContents is destroyed
* fix: check if window/webContents is destroyed
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-10-19 09:57:10 +09:00
universalstrapping
14736c5f30
Avoid Undefined Variable In printToPdf Example ( #31455 )
2021-10-19 09:53:59 +09:00
Sudowoodo Release Bot
6f31683ea5
Bump v17.0.0-nightly.20211018
2021-10-18 06:03:07 -07:00
Sudowoodo Release Bot
e9c6f274f3
Bump v17.0.0-nightly.20211015
2021-10-15 06:01:08 -07:00
Raymond Zhao
db0a152bc1
feat: Add data parameter to app.requestSingleInstanceLock() ( #30891 )
...
* WIP
* Use serialization
* Rebase windows impl of new app requestSingleInstanceLock parameter
* Fix test
* Implement posix side
* Add backwards compatibility test
* Apply PR feedback Windows
* Fix posix impl
* Switch mac impl back to vector
* Refactor Windows impl
* Use vectors, inline make_span
* Use blink converter
* fix: ownership across sequences
* Fix upstream merge from Chromium
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-10-14 21:32:32 -04:00
Milan Burda
5592652504
feat: warn when ipcRenderer.sendSync() called with no listeners for channel ( #31344 )
2021-10-14 14:24:04 -04:00
Samuel Maddock
b744707536
fix: mac window crash native theme update ( #31329 )
2021-10-14 13:36:32 -04:00
Keeley Hammond
bff20bd769
fix: reset render_frame_disposed_ after render frame host change ( #31401 )
...
* fix: reset render_frame_disposed_ after hang
* fix: handle exception in webContents.send
2021-10-14 09:44:44 -07:00
CezaryKulakowski
11db6a7d9a
fix: event with invalid timestamp in trace log ( #31349 )
...
When node is started within Electron's environment it doesn't
initialize v8 and time of v8's start is never set. As a result
we log v8's start time as 0 and it breaks timestamps in the
trace log. With this change we log v8's start time only when
it was initialized by node.
2021-10-14 10:08:34 -04:00
Cheng Zhao
d1e0b6324a
fix: generate valid config.gypi ( #31404 )
2021-10-14 10:07:36 -04:00
Sudowoodo Release Bot
e883beadff
Bump v17.0.0-nightly.20211014
2021-10-14 06:02:25 -07:00
electron-roller[bot]
6c5fbe3566
chore: bump node to v16.11.1 (main) ( #31369 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-10-14 09:43:48 +02:00
Sudowoodo Release Bot
bc3198ed81
Bump v17.0.0-nightly.20211013
2021-10-13 16:14:39 -07:00
Samuel Attard
e4d5ddc85e
Revert "Bump v17.0.0-nightly.20211013"
...
This reverts commit b99b4e7f22 .
2021-10-13 16:13:52 -07:00
Maxime Serrano
b2a2b077da
fix: also pass securityOrigin to media permissions request handler ( #31357 )
2021-10-13 17:10:12 -04:00
Cheng Zhao
a751845afc
test: fix flaky contentTracing.startRecording spec ( #31409 )
2021-10-13 10:06:29 -04:00
Sudowoodo Release Bot
b99b4e7f22
Bump v17.0.0-nightly.20211013
2021-10-13 06:03:15 -07:00
Shelley Vohr
757c01587a
test: re-enable failing Node.js specs ( #31315 )
2021-10-12 20:59:40 +02:00
Sudowoodo Release Bot
22ae945311
Bump v17.0.0-nightly.20211012
2021-10-12 06:03:06 -07:00
Erick Zhao
5301795de6
docs: update Versioning doc ( #31248 )
...
* fix information
* move historical section to bottom
* Update docs/tutorial/electron-versioning.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-10-12 09:12:33 +09:00
Micha Hanselmann
95f81f5980
fix: black window on screen capture when content protection is enabled ( #31340 )
...
Co-authored-by: Micha Hanselmann <mhanselmann@microsoft.com >
2021-10-11 13:29:43 -07:00
Sudowoodo Release Bot
371b521dd2
Bump v17.0.0-nightly.20211011
2021-10-11 06:03:43 -07:00
Shelley Vohr
0e56b85604
chore: remove BoringSSL patch redundancy ( #31323 )
...
* chore: emove BoringSSL patch redundancy
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-11 10:07:17 +09:00
Shelley Vohr
f45bd693f4
chore: update false to use analogous function in SetGroups ( #31325 )
2021-10-11 10:02:26 +09:00
Cheng Zhao
0eb9c4b16d
fix: correctly notify WebViewGuestDelegate when webview is detached ( #31350 )
2021-10-11 09:33:35 +09:00
Milan Burda
f8e6d45b70
docs: nativeWindowOpen default was changed in Electron 15 ( #31345 )
2021-10-08 14:55:28 -07:00
Sudowoodo Release Bot
1e666e5076
Bump v17.0.0-nightly.20211008
2021-10-08 06:04:18 -07:00
Milan Burda
31e295a676
chore: update E17 node module version ( #31282 )
2021-10-07 10:25:56 -07:00
Sudowoodo Release Bot
65d7f893ad
Bump v17.0.0-nightly.20211007
2021-10-07 06:05:09 -07:00
Shelley Vohr
9c8bd18c41
fix: crash on missing render frame ( #31289 )
2021-10-07 07:26:18 +02:00
Samuel Attard
014ebbd6fa
feat: add commandLine.removeSwitch ( #30933 )
...
* feat: add commandLine.removeSwitch
In some cases apps may want to remove Chromium command line switches to avoid certain Chromium behaviors being used, E.g. remote-debugging-port or gpu-launcher
* fix: add missing removeSwitch to app.ts
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-10-06 16:45:58 -04:00
John Kleinschmidt
d6de243837
chore: refactor persisting permission granted to serial ports ( #31181 )
2021-10-06 16:18:00 -04:00
Sudowoodo Release Bot
21c6b33ebe
Bump v17.0.0-nightly.20211006
2021-10-06 06:04:50 -07:00
Milan Burda
36ed216040
docs: add missing 'context-menu' event to webview-tag.md ( #31277 )
2021-10-05 20:42:09 -07:00
Milan Burda
9505c2831a
test: add missing context-menu event spec for <webview> ( #31280 )
2021-10-05 20:41:34 -07:00
electron-roller[bot]
cc01272a8d
chore: bump chromium to 96.0.4647.0 (main) ( #30814 )
...
* chore: bump chromium in DEPS to 95.0.4630.0
* 3133701: Fix chrome root store codegen for cross-compile builds.
https://chromium-review.googlesource.com/c/chromium/src/+/3133701
* 49125: Include SHA512-256 in EVP_get_digestbyname and EVP_MD_do_all.
https://boringssl-review.googlesource.com/c/boringssl/+/49125
* chore: fixup patch indices
* 3131662: [Code Health] Remove ListValue::Append(Integer|Boolean)
https://chromium-review.googlesource.com/c/chromium/src/+/3131662
* chore: bump chromium in DEPS to 95.0.4631.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4635.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4636.0
* chore: bump chromium in DEPS to 95.0.4637.0
* chore: update patches
* refactor: move PlatformNotificationService into BrowserContext
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3137256
* refactor: ListValue::GetSize and ListValue::AppendString were removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3144540
* chore: bump chromium in DEPS to 95.0.4638.0
* chore: bump chromium in DEPS to 95.0.4638.4
* chore: bump chromium in DEPS to 96.0.4640.0
* chore: bump chromium in DEPS to 96.0.4641.0
* chore: bump chromium in DEPS to 96.0.4642.0
* chore: update patches
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
* 3134756: Move extensions/browser/value_store to components/value_store.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3134756
* 3150092: [Autofill] Allow aligning Autofill suggestions to the field's center
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3150092
* chore: bump chromium in DEPS to 96.0.4643.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4644.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4645.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4646.0
* chore: bump chromium in DEPS to 96.0.4647.0
* chore: update patches
Ref (for chromium): https://chromium-review.googlesource.com/c/chromium/src/+/3165772
* 3162087: Reland "Ensure Branch Target Identification is enabled for executable pages."
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3162087
* chore: update evert_add_inline_and_inline_origin_records_to_symbol_file.patch
Xref: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3166678
Xref: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3166674
* chore: update Allocator construction
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3135195
Change RefCount::kAllowed/Disallowed semantics into BackupRefPtr::kEnabled/Disabled
* chore: add UseConfigurablePool to v8::ArrayBuffer::Allocator invocation
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3090845
* chore: do not set network_context_params.context_name
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3155743
Remove name field from mojom::NetworkContext
* fix: use ForEachRenderFrameHost to iterate frames.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3163336
New implementation partially cribbed from
https://source.chromium.org/chromium/chromium/src/+/main:extensions/browser/script_executor.cc;drc=f894f106c6d5fac8e0b75158f622256e0f34f593;l=109
* [Blink Cleanup] Remove WebLocalFrame::RequestExecuteScriptAndReturnValue()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3149699
ExecuteJavaScript's RequestExecuteScript() new params are cribbed from
https://chromium-review.googlesource.com/c/chromium/src/+/3149699/4/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
* Remove IsDescendantOf API on RenderFrameHost.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3165357
function is trivial to implement, so make a local copy in anon namespace
* Rewrite IsDescendantOf check to check GetParentOrOuterDocument.
https://chromium-review.googlesource.com/c/chromium/src/+/3160061
* Remove GetFramesInSubtree from RenderFrameHost
https://chromium-review.googlesource.com/c/chromium/src/+/3163336
* fix: dump_syms for macOS
* chore: update patches
* [Code Health] Remove ListValue::AppendString and ListValue::GetSize
https://chromium-review.googlesource.com/c/chromium/src/+/3144540
* fix: gn check
https://chromium-review.googlesource.com/c/chromium/src/+/3163890
* fix: crash with Isolate::GetHeapCodeAndMetadataStatistics
https://chromium-review.googlesource.com/c/v8/v8/+/3175820
* chore: update patches
* chore: fix windows build
* Add kPrintWithPostScriptType42Fonts feature.
https://chromium-review.googlesource.com/c/chromium/src/+/3150776
* chore: update patches
* chore: fix tests
* ozone/x11: fix VA-API.
https://chromium-review.googlesource.com/c/chromium/src/+/3141878
* Revert "ozone/x11: fix VA-API."
This reverts commit 23e742acb1 .
* Reland "Make Ozone/X11 default."
https://chromium-review.googlesource.com/c/chromium/src/+/3114071
* fixup Reland "Make Ozone/X11 default."
* fixup Reland "Make Ozone/X11 default." for clipboard
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2021-10-05 19:21:00 -07:00
Cheng Zhao
959b657903
chore: remove Node.js patch on Module.globalPaths ( #31275 )
...
* chore: remove Node.js patch on Module.globalPaths
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-06 09:20:05 +09:00
Robo
2a92d8f962
refactor: only access memory coordinator interface from browser process ( #31295 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3174305
2021-10-05 15:30:31 -07:00
Samuel Attard
34599114ce
fix: return HTNOWHERE in resize hit test to allow draggable regions to kick in when required ( #30925 )
2021-10-05 12:48:22 -07:00
Sudowoodo Release Bot
7919851451
Bump v17.0.0-nightly.20211005
2021-10-05 06:05:15 -07:00
Shelley Vohr
d2508a6941
chore: add logging for print_backend failures ( #29884 )
2021-10-05 09:16:04 +02:00
Milan Burda
d7a7c120d1
fix: "Failed to serialize arguments" when emitting 'context-menu' for webview ( #31259 )
...
* fix: sanitize params for 'context-menu' event sent over IPC for webview
* Revert "fix: sanitize params for 'context-menu' event sent over IPC for webview"
This reverts commit 7fee455138 .
* fix: make frame property non-enumerable in params for 'context-menu' event
2021-10-04 14:00:25 -04:00
Sudowoodo Release Bot
3b2c46dfd6
Bump v17.0.0-nightly.20211004
2021-10-04 06:03:59 -07:00
Jeremy Rose
4fd7c2adcd
feat: make desktopCapturer main-process-only ( #30720 )
...
* feat: make desktopCapturer main-process-only
* remove --enable-api-filtering-logging
* remove test
* merge lib/browser/api/desktop-capturer.ts with lib/browser/desktop-capturer.ts
* remove desktop-capturer-get-sources event
* fix specs
* getSources needs to be async
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-10-04 12:16:00 +09:00
Ryan Johnson
6db8d7918d
fix: dialog is not defined ( #31180 )
...
Corrects the following error in Electron Fiddle:
```
Uncaught Exception:
ReferenceError: dialog is not defined
...
```
2021-10-04 10:12:55 +09:00
Tobias Nießen
e53bd1b72a
fix: fix typo in description of secureDnsMode ( #31255 )
2021-10-04 09:57:19 +09:00
Sudowoodo Release Bot
d2425472df
Bump v17.0.0-nightly.20211001
2021-10-01 06:03:54 -07:00
Juan Cruz Viotti
0e042ca64d
fix: Enable X509_V_FLAG_TRUSTED_FIRST flag in BoringSSL ( #31213 )
...
Fixes: https://github.com/electron/electron/issues/31212
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-09-30 13:22:14 -07:00
Sudowoodo Release Bot
6f684d564f
Bump v17.0.0-nightly.20210930
2021-09-30 06:02:17 -07:00
Shelley Vohr
e07d74cf29
chore: remove redundant 10.11 @avilable checks ( #31184 )
2021-09-30 11:41:28 +02:00
Shelley Vohr
2c10d0fe1b
fix: draggable regions in BrowserViews are independent ( #31085 )
2021-09-30 11:41:08 +02:00
Juan Cruz Viotti
1193a37d8f
build: Explicitly pass the project root to cpplint.py ( #31156 )
...
In order to validate that header guards match the corresponding file
names, `cpplint.py` determines the root of the project based on the
presence of a `.git` directory.
For space reasons, our Electron.js fork running on CircleCI deletes the
`.git` directories as upstream Electron.js does here:
cd09a54365/.circleci/config.yml (L426)
If the C++ linter is ran *after* deleting git directories, `cpplint.py`
gets the root wrong and throws errors for every single header guard in
the project.
Making sure we run the C++ linter *before* deleting git directories
fixes the issue. In any case, this commit always manually passes
`--project_root` to `cpplint.py` so that the implicit default is
explicitly declared and saves some confusion for the next person hitting
this.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-09-29 17:44:41 -04:00
Alexey Kuzmin
2d111a4e25
chore: fix pylint ( #31138 )
...
* chore: fix pylint
* chore: fix linter errors
2021-09-29 13:10:13 -04:00
Sudowoodo Release Bot
22d683e3f8
Bump v17.0.0-nightly.20210929
2021-09-29 06:01:29 -07:00
Aidan Nulman
abf6f1cf78
fix: BrowserView drag now delegates to the OS when possible ( #31114 )
2021-09-28 21:12:22 +02:00
Sudowoodo Release Bot
4da66b9d68
Bump v17.0.0-nightly.20210928
2021-09-28 06:03:27 -07:00
electron-roller[bot]
02d3e66bcb
chore: bump node to v16.10.0 (main) ( #31094 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-09-28 09:29:44 +02:00
Sudowoodo Release Bot
3b155f7391
Bump v17.0.0-nightly.20210927
2021-09-27 13:52:10 -07:00
Milan Burda
80577a4f08
refactor: use native WeakRef instead of v8util.weaklyTrackValue() ( #31153 )
2021-09-27 16:50:42 -04:00
Black-Hole
a5f1fbdc54
fix: .lldbinit config stale (unavailable) ( #31108 )
2021-09-27 14:50:36 -04:00
Sudowoodo Release Bot
ecf191e71f
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit 104e0f3059 .
2021-09-27 10:18:22 -07:00
Sudowoodo Release Bot
104e0f3059
Bump v17.0.0-nightly.20210927
2021-09-27 09:35:35 -07:00
Sudowoodo Release Bot
10d92e9f29
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit a758a2eab3 .
2021-09-27 09:34:24 -07:00
Sudowoodo Release Bot
a758a2eab3
Bump v17.0.0-nightly.20210927
2021-09-27 09:07:06 -07:00
John Kleinschmidt
0f6560f1f7
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit c377fe4ba6 .
2021-09-27 12:05:51 -04:00
Daryl Haresign
265474882c
docs: Update Branch Name ( #31106 )
...
* docs: Update CI Badge Branch Name
The CI badges were still pointing at builds for the master branch, which
are stale since the rename to main.
* docs: Update electron/electron Branch Name
Update electron/electron branch name from master to main.
* docs: Update electron/governance Branch Name
Update electron/governance branch name from master to main.
2021-09-27 11:35:56 -04:00
Robo
68c738a177
fix: crash in v8 due to regexp reentrancy ( #31102 )
2021-09-27 16:58:16 +02:00
Milan Burda
98ac0ca52a
fix: running tests with release build ( #31092 )
2021-09-27 16:58:03 +02:00
Sudowoodo Release Bot
c377fe4ba6
Bump v17.0.0-nightly.20210927
2021-09-27 06:04:08 -07:00
Shelley Vohr
25d0963d9b
fix: crash creating private key with unsupported algorithm ( #31087 )
...
* fix: crash creating private key with unsupported algorithm
* test: add regression test
2021-09-27 15:02:13 +02:00
Cheng Zhao
2360012cad
fix: avoid double free when destroying WebContents ( #31104 )
2021-09-27 09:20:55 +02:00
Sudowoodo Release Bot
1a6a8f55af
Bump v17.0.0-nightly.20210924
2021-09-24 06:01:55 -07:00
Shelley Vohr
53bf308497
chore: remove obsolete chunk of BoringSSL patch ( #31086 )
...
Made obsolete in https://boringssl-review.googlesource.com/c/boringssl/+/40484
and can now be removed.
2021-09-24 11:36:56 +02:00
Shelley Vohr
5e1fbc9025
test: re-enable some Node.js specs ( #31077 )
2021-09-24 09:54:20 +02:00
Keeley Hammond
d88e71f688
chore: remove gin::Wrappable crash keys ( #31075 )
...
* chore: remove gin wrappable crash keys
* chore: remove class headers from crash keys
2021-09-23 21:38:40 -07:00
Shelley Vohr
919fd0f28d
fix: first mouse not dragging BrowserView ( #31062 )
2021-09-23 17:35:12 -04:00
Sudowoodo Release Bot
da921e680f
Bump v17.0.0-nightly.20210923
2021-09-23 06:02:26 -07:00
John Kleinschmidt
6aece4a83d
feat: add support for WebHID ( #30213 )
...
* feat: add support for WebHID
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Address review feedback
* Address review feedback
* chore: clear granted_devices on navigation
Also added test to verify devices get cleared
* fixup testing for device clear
* make sure navigator.hid.getDevices is run on correct frame
* clear granted devices on RenderFrameHost deletion/change
* manage device permissions per RenderFrameHost
This change makes sure we don't clear device permission prematurely due to child frame navigation
* Update shell/browser/api/electron_api_web_contents.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* apply review feedback from @zcbenz
* Match upstream ObjectMap
This change matches what ObjectPermissionContextBase uses to cache object permissions: https://source.chromium.org/chromium/chromium/src/+/main:components/permissions/object_permission_context_base.h;l=52;drc=8f95b5eab2797a3e26bba299f3b0df85bfc98bf5;bpv=1;bpt=0
The main reason for this was to resolve this crash on Win x64:
ok 2 WebContentsView doesn't crash when GCed during allocation
Received fatal exception EXCEPTION_ACCESS_VIOLATION
Backtrace:
gin::WrappableBase::SecondWeakCallback [0x00007FF6F2AFA005+133] (o:\gin\wrappable.cc:53)
v8::internal::GlobalHandles::InvokeSecondPassPhantomCallbacks [0x00007FF6F028F9AB+171] (o:\v8\src\handles\global-handles.cc:1400)
v8::internal::GlobalHandles::InvokeSecondPassPhantomCallbacksFromTask [0x00007FF6F028F867+391] (o:\v8\src\handles\global-handles.cc:1387)
node::PerIsolatePlatformData::RunForegroundTask [0x00007FF6F3B4D065+317] (o:\third_party\electron_node\src\node_platform.cc:415)
node::PerIsolatePlatformData::FlushForegroundTasksInternal [0x00007FF6F3B4C424+776] (o:\third_party\electron_node\src\node_platform.cc:479)
uv_run [0x00007FF6F2DDD07C+492] (o:\third_party\electron_node\deps\uv\src\win\core.c:609)
electron::NodeBindings::UvRunOnce [0x00007FF6EEE1E036+294] (o:\electron\shell\common\node_bindings.cc:631)
base::TaskAnnotator::RunTask [0x00007FF6F2318A19+457] (o:\base\task\common\task_annotator.cc:178)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl [0x00007FF6F2E6F553+963] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:361)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork [0x00007FF6F2E6EC69+137] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:266)
base::MessagePumpForUI::DoRunLoop [0x00007FF6F235AA58+216] (o:\base\message_loop\message_pump_win.cc:221)
base::MessagePumpWin::Run [0x00007FF6F235A01A+106] (o:\base\message_loop\message_pump_win.cc:79)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run [0x00007FF6F2E702DA+682] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:470)
base::RunLoop::Run [0x00007FF6F22F95BA+842] (o:\base\run_loop.cc:136)
content::BrowserMainLoop::RunMainMessageLoop [0x00007FF6F14423CC+208] (o:\content\browser\browser_main_loop.cc:990)
content::BrowserMainRunnerImpl::Run [0x00007FF6F144402F+143] (o:\content\browser\browser_main_runner_impl.cc:153)
content::BrowserMain [0x00007FF6F143F911+257] (o:\content\browser\browser_main.cc:49)
content::RunBrowserProcessMain [0x00007FF6EFFA7D18+112] (o:\content\app\content_main_runner_impl.cc:608)
content::ContentMainRunnerImpl::RunBrowser [0x00007FF6EFFA8CF4+1220] (o:\content\app\content_main_runner_impl.cc:1104)
content::ContentMainRunnerImpl::Run [0x00007FF6EFFA87C9+393] (o:\content\app\content_main_runner_impl.cc:971)
content::RunContentProcess [0x00007FF6EFFA73BD+733] (o:\content\app\content_main.cc:394)
content::ContentMain [0x00007FF6EFFA79E1+54] (o:\content\app\content_main.cc:422)
wWinMain [0x00007FF6EECA1535+889] (o:\electron\shell\app\electron_main.cc:291)
__scrt_common_main_seh [0x00007FF6F6F88482+262] (d:\A01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x00007FFEC0087034+20]
RtlUserThreadStart [0x00007FFEC1F02651+33]
✗ Electron tests failed with code 0xc0000005.
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-09-23 20:00:11 +09:00
Milan Burda
77579614e0
feat: add width option to dialog.showMessageBox() ( #30474 )
2021-09-23 19:56:14 +09:00
Black-Hole
e39a1d2ea0
fix: startDrag params type incorrect ( #31034 )
2021-09-23 17:07:39 +09:00
CezaryKulakowski
68d3659f75
fix: update Windows' cache after changing window's style ( #31021 )
...
To enable/disable window resizing we set/unset WS_THICKFRAME style
flag on the window. Window's frame styles are cached so we need to
call SetWindowPos with the SWP_FRAMECHANGED flag set to update
cache properly.
2021-09-23 16:33:41 +09:00
Keeley Hammond
bb6dc99d9d
chore: clarify new-window fix comment ( #31069 )
2021-09-22 15:30:55 -07:00
Shelley Vohr
38b810b2e3
fix: proper localization when using GtkFileChooserNative ( #30888 )
...
* fix: proper localization when using GtkFileChooserNative
* fix: iwyu
2021-09-22 14:12:50 -04:00
Sudowoodo Release Bot
a75617bff1
Bump v16.0.0-nightly.20210922
2021-09-22 06:01:20 -07:00
dependabot[bot]
3ef74abfe4
build(deps): bump tar from 4.4.15 to 4.4.19 ( #30776 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 08:54:39 +09:00
Samuel Maddock
70c534fd14
feat: add frame to context-menu event params ( #30831 )
...
* feat: add frame to context-menu event params
* doc: rephrase frame description
2021-09-22 08:52:49 +09:00
Erick Zhao
52bacd38a9
docs: update glossary ( #30874 )
...
* docs: update glossary
* remove nsis entry
2021-09-22 08:52:24 +09:00
Sofia Nguy
dbd18d8562
docs: update public timeline for E16 ( #31000 )
2021-09-21 11:31:41 -07:00
Keeley Hammond
4fcc0884f8
fix: propagate window.open settings to child window ( #31031 )
2021-09-21 09:06:20 -07:00
Sudowoodo Release Bot
ee19e5ee48
Bump v16.0.0-nightly.20210921
2021-09-21 06:00:36 -07:00
Shelley Vohr
629d8913f6
fix: maximized state calculation for non-resizable windows ( #30989 )
2021-09-21 12:04:32 +02:00
Milan Burda
92bff00d43
feat: add isMainFrame argument to 'certificate-error' event ( #30879 )
2021-09-21 15:49:15 +09:00
Jeremy Rose
e38a0a67c6
fix: suppress insecure resource warning for more local hostnames ( #30885 )
...
* fix: suppress insecure resource warning for more local hostnames
* fix tests
2021-09-21 15:47:54 +09:00
Jeremy Rose
82da4b0090
fix: transparency on child windows being lost ( #31003 )
...
* fix: transparency on child windows being lost
* fix crash
* fix a different crash
* fix more crash
2021-09-21 09:20:54 +09:00
Milan Burda
6dd33b75b2
chore: add wg-security as required reviewer for security-warnings.ts ( #30987 )
2021-09-21 08:52:44 +09:00
Sudowoodo Release Bot
a96f42ce86
Bump v16.0.0-nightly.20210920
2021-09-20 06:01:27 -07:00
Darshan Sen
efa70131e2
refactor: make InitWithWebContents and InspectableWebContents take a unique_ptr ( #30920 )
...
* refactor: make InitWithWebContents take a unique_ptr
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
* refactor: make InspectableWebContents take a unique_ptr
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-09-20 09:34:11 +09:00
Shelley Vohr
6fdf350bea
fix: disabling and enabling resizability on macOS ( #30999 )
2021-09-17 15:54:15 +02:00
Sudowoodo Release Bot
8d8fcd88f5
Bump v16.0.0-nightly.20210917
2021-09-17 06:01:05 -07:00
祈緒ちゃん - Kiochan
ad98f4707f
chore: update links of documentation of chromes ( #30959 )
...
chrome now use developer.chrome.com/docs/extensions/* instead of developer.chrome.com/extensions/*
2021-09-17 10:53:28 +09:00
Antón Molleda
4576d9d23e
fix: links to images ( #30990 )
...
Images that used the inline link format do not show up on Docusaurus or
the old website infrastructure. There are only 2 guides using it so it
is faster to change the format rather than figuring out why the parsin
logic does not work.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ref: https://github.com/electron/electronjs.org-new/issues/84
2021-09-16 18:42:58 -04:00
Sudowoodo Release Bot
64c70c420f
Bump v16.0.0-nightly.20210916
2021-09-16 06:00:56 -07:00
Michaela Laurencin
b491a4c82f
fix: add casing for WCO edge ( #30938 )
2021-09-16 09:34:51 +09:00
Keeley Hammond
c5b517d89f
chore: update E16 node module version ( #30774 )
...
Ref: https://github.com/nodejs/node/pull/39950/files
2021-09-15 16:11:10 -07:00
Tierney Cyren
9c4e3b67fb
docs: add link to @electron/fuses ( #30978 )
2021-09-15 12:14:33 -07:00
electron-roller[bot]
93068cfab5
chore: bump node to v16.9.1 (main) ( #30919 )
...
* chore: bump node in DEPS to v16.9.1
* 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>
2021-09-15 10:25:26 -04:00
Shelley Vohr
c8e4cc29c0
fix: prevent navigator.fonts.query() from crashing ( #30930 )
...
* fix: prevent navigator.fonts.query() from crashing
* refactor: use base::PostTask instead
2021-09-15 09:56:38 -04:00
Sudowoodo Release Bot
9eaa9de3b4
Bump v16.0.0-nightly.20210915
2021-09-15 06:01:48 -07:00
Erick Zhao
664a452fb6
docs: update context isolation doc ( #30898 )
...
* docs: update context isolation doc
* Apply suggestions from code review
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-09-15 10:50:02 +09:00
Erick Zhao
54b44584fa
chore: correct hierarchy of BrowserWindow headings ( #30905 )
...
* chore: correct hierarchy of BrowserWindow headings
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-09-15 09:41:37 +09:00
Raymond Zhao
1295ba0ffc
fix: Building on macOS with is_debug true ( #30913 )
...
* fix: Building on macOS with is_debug true
* Change to no-op impl
2021-09-15 09:40:36 +09:00
Micha Hanselmann
02ac33c4cd
fix: always include pepper flash font file ( #30928 )
2021-09-15 09:39:01 +09:00
Sudowoodo Release Bot
87050d75b8
Bump v16.0.0-nightly.20210914
2021-09-14 06:01:52 -07:00
Shelley Vohr
00d0265782
refactor: reuse upstream //shell_dialogs ( #30663 )
2021-09-14 12:16:34 +02:00
Keeley Hammond
c74b9ff312
fix: remove conflicting RunFileChooserEnd for Mac ( #30935 )
2021-09-13 15:10:28 -07:00
Keeley Hammond
b6a12a53e3
fix: delete rfh after open/save dialog done ( #30916 )
2021-09-13 06:25:13 -07:00
Sudowoodo Release Bot
06b3b49214
Bump v16.0.0-nightly.20210913
2021-09-13 06:02:34 -07:00
Sudowoodo Release Bot
c556ccac08
Bump v16.0.0-nightly.20210910
2021-09-10 06:02:10 -07:00
Samuel Attard
fb539f15d0
chore: fix compile errors ( #30903 )
2021-09-09 19:52:23 -07:00
Samuel Attard
57d088517c
feat: add support for validating asar archives on macOS ( #30667 )
...
* feat: add support for validating asar archives on macOS
* chore: fix lint
* chore: update as per feedback
* feat: switch implementation to asar integrity hash checks
* feat: make ranged requests work with the asar file validator DataSourceFilter
* chore: fix lint
* chore: fix missing log include on non-darwin
* fix: do not pull block size out of missing optional
* fix: match ValidateOrDie symbol on non-darwin
* chore: fix up asar specs by repacking archives
* fix: maintain integrity chain, do not load file integrity if header integrity was not loaded
* debug test
* Update node-spec.ts
* fix: initialize header_validated_
* chore: update PR per feedback
* chore: update per feedback
* build: use final asar module
* Update fuses.json5
2021-09-09 14:49:01 -07:00
Sudowoodo Release Bot
fcad531f2e
Bump v16.0.0-nightly.20210909
2021-09-09 06:01:36 -07:00
electron-roller[bot]
eb955af459
chore: bump node to v16.9.0 (main) ( #30867 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-09-08 18:55:06 +02:00
Sudowoodo Release Bot
9dee1183f9
Bump v16.0.0-nightly.20210908
2021-09-08 06:02:30 -07:00
Shelley Vohr
9891ff14a7
refactor: remove dead code in NeedsCompleteGpuInfoCollection ( #30855 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/1208362
2021-09-08 08:42:03 +09:00
Mark Lee
22abbf76fb
docs(protocols): simplify packaging section & cleanup ( #30832 )
...
* docs(protocols): simplify packaging section & cleanup
* docs(protocol): add basic instructions for Linux support
* Fix typo
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-09-08 08:24:45 +09:00
Darshan Sen
90a3e7f927
feat: warn when crash key name is longer than 39 bytes ( #30742 )
...
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-09-07 11:09:48 -07:00
Jeremy Rose
55c57808fb
feat: serialize NativeImage over ipc ( #30729 )
2021-09-07 10:37:45 -07:00
Christian Engel
ee33374675
Fix wrong code example for preload property ( #30555 )
...
The text mentions that `preload` should be a property of `webPreferences`, but the code example shows something else.
2021-09-07 17:04:08 +02:00
Finn Behrens
6a1726576d
docs: Update windows info for auto-updater ( #30538 )
...
Squirrel.Mac can be served from a static host as well.
2021-09-07 17:03:56 +02:00
Sudowoodo Release Bot
64e33002f8
Bump v16.0.0-nightly.20210907
2021-09-07 06:02:06 -07:00
Samuel Maddock
fb40065c1e
fix: show maximized frameless window ( #30804 )
2021-09-07 10:18:43 +02:00
Sudowoodo Release Bot
ce6a71e936
Bump v16.0.0-nightly.20210906
2021-09-06 19:02:56 -07:00
Sudowoodo Release Bot
57e3c25378
Revert "Bump v16.0.0-nightly.20210906"
...
This reverts commit f39ba9281c .
2021-09-06 18:48:49 -07:00
Samuel Maddock
1546cb6e6c
refactor: use getter for frame in webrequest details ( #30830 )
2021-09-07 09:13:16 +09:00
Sudowoodo Release Bot
f39ba9281c
Bump v16.0.0-nightly.20210906
2021-09-06 06:02:05 -07:00
Milan Burda
8b7631228f
chore: move native-image.ts back into common ( #30838 )
2021-09-06 11:06:27 +02:00
Isaac Taylor
4a2f41ee58
docs: updated webview tag documentation to accurately reflect preload behavior with asar archives ( #30768 )
2021-09-06 17:00:17 +09:00
Samuel Maddock
7379e5eb36
fix: BrowserWindow backgroundColor ( #30778 )
...
* fix: BrowserWindow backgroundColor
* refactor: propagate transparency via backgroundColor
2021-09-06 16:59:09 +09:00
Shelley Vohr
26f981fa3e
fix: devtools not resizable on Windows ( #30823 )
2021-09-06 16:54:47 +09:00
Robo
99c0a723fd
chore: follow-up to roll 95.0.4612.5 ( #30835 )
...
* chore: enable v8 oilpan
* chore: update patches
* fix: network isolation key for preconnect requests
* chore: update feat_expose_raw_response_headers_from_urlloader.patch
2021-09-06 09:33:10 +02:00
Milan Burda
94ca57e296
chore: move global_menu_bar_registrar_x11 out of chromium_src ( #30837 )
2021-09-06 09:03:07 +02:00
Jeremy Rose
1dcb8a370e
refactor: simplify desktop_capturer patch ( #30685 )
2021-09-03 16:37:36 -07:00
Raymond Zhao
e6f781f403
refactor: Convert ProcessSingleton changes to patch ( #30594 )
...
* Convert ProcessSingleton changes to patch
* Update patch
* Polish
* Add sandbox check to patch
* Add missing includes
* Fix linking error
* Fix compile error
* Apply PR feedback
* Fix compile fails
* Fix tests
* Remove extra patch
* Update test
2021-09-03 14:16:33 -07:00
Erick Zhao
b8372f20a0
docs: move module creation guide to /development ( #30826 )
2021-09-03 13:46:53 -07:00
Sudowoodo Release Bot
92222c874f
Bump v16.0.0-nightly.20210903
2021-09-03 06:02:32 -07:00
Sudowoodo Release Bot
c30303207a
Bump v16.0.0-nightly.20210902
2021-09-02 16:35:36 -07:00
Samuel Attard
873872a32b
build: temporarily revert broken dump_syms changes in breakpad ( #30825 )
2021-09-02 16:34:31 -07:00
Sudowoodo Release Bot
5554de0237
Revert "Bump v16.0.0-nightly.20210902"
...
This reverts commit 6d4995ec17 .
2021-09-02 14:40:45 -07:00
Jeremy Rose
ee0e15a52e
feat: deprecate desktopCapturer.getSources in the renderer ( #30721 )
2021-09-02 11:31:47 -07:00
Sudowoodo Release Bot
6d4995ec17
Bump v16.0.0-nightly.20210902
2021-09-02 06:01:22 -07:00
Jeremy Rose
8d86d84ff5
ci: fix setCertificateVerifyProc tests ( #30799 )
2021-09-01 18:58:29 -04:00
Black-Hole
fd8eb3de1b
fix: remove extension warning that do not have any impact ( #29695 )
2021-09-01 15:36:21 -07:00
Samuel Maddock
4d89174b41
feat: add 'dom-ready' event to WebFrameMain ( #29290 )
2021-09-01 15:21:15 -07:00
electron-roller[bot]
49e62f1261
chore: bump chromium to 95.0.4629.0 (main) ( #30676 )
...
* chore: bump chromium in DEPS to 95.0.4620.0
* chore: update patches
* 3076261: Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* [GURL -> SiteForCookies] content/public/browser/content_browser_client.h
https://chromium-review.googlesource.com/c/chromium/src/+/3107759
* chore: fix -Wunreachable-code-return in node
* Tracing to diagnose ContentScriptTracker-related bad message reports
https://chromium-review.googlesource.com/c/chromium/src/+/3057922
* chore: bump chromium in DEPS to 95.0.4621.0
* chore: update patches
* Remove title from the URL format on Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/3108445
* chore: bump chromium in DEPS to 95.0.4623.0
* Revert "chore: disable v8 oilpan"
This reverts commit 5d255cf1d8e8efbb906047937a713279e5f800d0.
(cherry picked from commit ba5cde4da2 )
* Change file paths in network context params to be relative.
https://chromium-review.googlesource.com/c/chromium/src/+/3092927
* Code Health: Rename/replace content::WebUI::RegisterMessageCallback().
https://chromium-review.googlesource.com/c/chromium/src/+/3104691
* Migrate CanExecuteContentScriptSync to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/3108452
* chore: update patches
* remove unreachable code
* Revert "Revert "chore: disable v8 oilpan""
This reverts commit fef495c0294e21760df51bddb5f7bf1ec9ed5f1e.
* fixup mas patch
* Reland "[include] Split out v8.h"
https://chromium-review.googlesource.com/c/v8/v8/+/3113629
* chore: bump chromium in DEPS to 95.0.4624.0
* chore: bump chromium in DEPS to 95.0.4625.0
* chore: bump chromium in DEPS to 95.0.4626.0
* 3033504: Pass NavigationDownloadPolicy in CreateNewWindowParams
https://chromium-review.googlesource.com/c/chromium/src/+/3033504
* 3058038: Introduce TestPrintingContext & test UpdatePrintSettings
https://chromium-review.googlesource.com/c/chromium/src/+/3058038
* 3114943: [Conditional Focus][#4 ] Add tests and remove flag gating
https://chromium-review.googlesource.com/c/chromium/src/+/3114943
* chore: update patch indices
* chore: bump chromium in DEPS to 95.0.4627.0
* chore: update patches
* 3093591: ozone: webpagepopups: calculate anchor for menu bounds. 4/*
https://chromium-review.googlesource.com/c/chromium/src/+/3093591
* 3110414: [PA] Remove the leading cookie
https://chromium-review.googlesource.com/c/chromium/src/+/3110414
* chore: update patches
* 3076261: Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* 3113629: Reland "[include] Split out v8.h"
https://chromium-review.googlesource.com/c/v8/v8/+/3113629
* chore: bump chromium in DEPS to 95.0.4628.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4629.0
* chore: update patches
* Fix chrome root store codegen for cross-compile builds.
https://chromium-review.googlesource.com/c/chromium/src/+/3133701
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: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-09-01 15:55:07 -04:00
John Kleinschmidt
e6802bf935
ci: ignore pdb download failure ( #30785 )
2021-09-01 10:26:12 -04:00
Sudowoodo Release Bot
ad776d6113
Bump v16.0.0-nightly.20210901
2021-09-01 06:01:17 -07:00
jiang kun
f533c44912
docs: fix code example in process-model.md ( #30690 )
...
* Update process-model.md
the demo have two error:
- at macos, close all window, the app will not quite, unless press cmd + q
- attach preload.js, use preload prop that is member of `webPreferences` property of `BrowserWindow` controller argument
* Update docs/tutorial/process-model.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-09-01 20:46:32 +09:00
Shelley Vohr
63b35403ef
fix(linux): OpenURI portal support for shell.showItemInFolder() ( #30716 )
2021-09-01 10:04:28 +09:00
ComplexSpaces
399032252f
docs: improve documentation about macOS entitlement usage security ( #30740 )
2021-09-01 10:02:42 +09:00
Jeremy Rose
dd7aeda6fb
feat: add app.configureHostResolver ( #30576 )
2021-08-31 11:55:30 -07:00
Keeley Hammond
3b2db5f168
docs: add remote removal to E14 breaking changes ( #30769 )
2021-08-31 11:14:46 -07:00
electron-roller[bot]
c1075debf3
chore: bump node to v16.8.0 (main) ( #30714 )
...
* chore: bump node in DEPS to v16.8.0
* build: add option to hide console window
https://github.com/nodejs/node/pull/39712
* chore: fixup patch indices
* stream: duplexify
https://github.com/nodejs/node/pull/39519
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-08-31 10:36:04 -04:00
Sudowoodo Release Bot
88ff3a6a9a
Bump v16.0.0-nightly.20210831
2021-08-31 06:00:47 -07:00
Samuel Attard
8007d01874
feat: add support for the U2F Web API ( #30438 )
...
* feat: add support for the U2F Web API
* chore: fix lint
* chore: fix tests
* build: disable src caching
* Revert "build: disable src caching"
This reverts commit c4c8a60fc435a10788475ec171399a55ac2dd674.
* chore: update per feedback
* chore: consistent code removal
2021-08-30 11:22:46 -07:00
Sudowoodo Release Bot
c2da4ec2bc
Bump v16.0.0-nightly.20210830
2021-08-30 06:01:39 -07:00
Jeremy Rose
aa9da78edb
fix: remove ipc wrapper for nativeImage.createThumbnailFromPath ( #30728 )
2021-08-27 14:21:36 -07:00
Samuel Maddock
352ac21413
feat: add webContents.fromDevToolsTargetId() ( #29399 )
...
* feat: add webContents.fromDevToolsTargetId()
* refactor: avoid using FromOrCreate
2021-08-27 14:01:24 -07:00
Sudowoodo Release Bot
96131af5d3
Bump v16.0.0-nightly.20210827
2021-08-27 06:01:16 -07:00
Sudowoodo Release Bot
f9c6f9af83
Bump v16.0.0-nightly.20210826
2021-08-26 06:01:35 -07:00
Cheng Zhao
00d65eb9ac
fix: titlebar and buttons state under simple fullscreen ( #30671 )
2021-08-26 08:29:34 +09:00
Jeremy Rose
a9983c1d06
docs: feature_request additional information not required ( #30684 )
2021-08-25 10:11:52 -07:00
Sudowoodo Release Bot
c2c1b22a31
Bump v16.0.0-nightly.20210825
2021-08-25 06:03:14 -07:00
Milan Burda
501ac15b1d
feat: add <webview>.sendToFrame() / frameId to 'ipc-message' event ( #30451 )
2021-08-25 09:46:46 +02:00
Samuel Attard
be43996d35
docs: explain the null webContents case in permission checks ( #30645 )
...
* docs: explain the null webContents case in permission checks
* Update docs/api/session.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-08-25 09:41:56 +09:00
Shelley Vohr
32194f0f71
fix: crash when using TouchBarScrubber arrow button ( #30661 )
2021-08-24 18:28:57 +02:00
Sudowoodo Release Bot
e43a25724c
Bump v16.0.0-nightly.20210824
2021-08-24 06:01:17 -07:00
electron-roller[bot]
5513e66982
chore: bump chromium to 95.0.4612.5 (main) ( #30503 )
...
* chore: bump chromium in DEPS to 94.0.4604.0
* build: 3-way merge of chromium patches
* chore: bump chromium in DEPS to 94.0.4605.0
* build: 3-way merge of chromium patches
* 3076040: Reland Remove delete_children RemoveAllChildViews arg
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076040
* 3069287: Remove the remaining uses and delete the deprecated API
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3069287
* 2297212: Replace RemoveWithoutPathExpansion(.*, nullptr) with Value::RemoveKey()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2297212
Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
* 3082756: Change transport_security_persister_path param to be a path to a file.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3082756
> this CL intentionally changes the name of the parameter
> in the network context parameters and the order of the constructor
> parameters to ensure all callers update their code to pass a full
> file path rather than a path to a directory.
The 'path' in this diff is already an absolute path, coming from
`CHECK(base::PathService::Get(chrome::DIR_USER_DATA, &path_));` at
08ff1c2cbf/shell/browser/electron_browser_context.cc (L126)
* iwyu: network::mojom::HttpRawHeaderPair
* fixup! 3076040: Reland Remove delete_children RemoveAllChildViews arg
Missed one.
* 2999884: CodeHealth: Remove DictionaryValue::GetStringWithoutPathExpansion
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2999884
(example of replacing GetStringWithoutPathExpansion() w/FindStringKey())
Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
(removal of DictionaryValue::GetStringWithoutPathExpansion)
* 3059260: Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3059260
We had both of these in a 'disable_features' list. Since these feature have
been removed upstream, remove them from our disable list, too.
IMPORTANT: this commit should not be backported to older branches that
still have these features, because doing so would un-disable them.
* 2920890: Load reroute_info from download in-progress and history db back into DownloadItem.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2920890
* 3039323: [Clipboard API] Clipboard Custom Formats implementation Part 5.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3039323
* chore: bump chromium in DEPS to 94.0.4606.0
* 3084502: Add a new PrintRasterizePdfDpi policy.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3084502
* chore: update patches
* chore: bump chromium in DEPS to 94.0.4606.3
* chore: bump chromium in DEPS to 95.0.4608.0
* chore: bump chromium in DEPS to 95.0.4609.0
* [DevTools] Remove report_raw_headers from network::ResourceRequest
https://chromium-review.googlesource.com/c/chromium/src/+/2856099
* Remove content::WebContentsObserver::OnInterfaceRequestFromFrame
https://chromium-review.googlesource.com/c/chromium/src/+/3092665
* Disable kDesktopCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3069272
* Add a new PrintRasterizePdfDpi policy.
https://chromium-review.googlesource.com/c/chromium/src/+/3084502
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4609.3
* disable `use_lld` for macos
* chore: update patches
* Linux: use chrome_crashpad_handler instead of crashpad_handler
https://chromium-review.googlesource.com/c/chromium/src/+/3054290
* chore: fix lint
* Revert "[DevTools] Remove report_raw_headers from network::ResourceRequest"
This reverts commit 28f4da1582d046e96cb58f3cbb590503e89dfd0d.
* [DevTools] Remove report_raw_headers from network::ResourceRequest (Attempt #2 )
https://chromium-review.googlesource.com/c/chromium/src/+/2856099
* DCHECK that predictor always has a non-empty NetworkIsolationKey.
https://chromium-review.googlesource.com/c/chromium/src/+/3067698
* Remove --no-untrusted-code-mitigations from //content and //gin
https://chromium-review.googlesource.com/c/chromium/src/+/3096585
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
https://chromium-review.googlesource.com/c/chromium/src/+/3059260
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
* Convert PrintManager to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3072019
* chore: bump chromium in DEPS to 95.0.4612.5
* chore: disable v8 oilpan
* [Compiler] Remove untrusted code mitigations.
https://chromium-review.googlesource.com/c/v8/v8/+/3045704
* Remove most FTP logic from services/network.
https://chromium-review.googlesource.com/c/chromium/src/+/3076119
* Rename scale_factor.h -> resource_scale_factor.h
https://chromium-review.googlesource.com/c/chromium/src/+/3057113
* [GURL -> SiteForCookies] extensions/
https://chromium-review.googlesource.com/c/chromium/src/+/3100825
* breadcrumbs: add desktop entry point
https://chromium-review.googlesource.com/c/chromium/src/+/3021746
* Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* chore: iwyu
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
* Disable kDesktopCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3069272
* fixup! [Compiler] Remove untrusted code mitigations.
* fixup! Disable kDesktopCaptureMacV2
* Revert "chore: disable v8 oilpan"
This reverts commit 5d255cf1d8e8efbb906047937a713279e5f800d0.
* Reland "chore: disable v8 oilpan"
This reverts commit 1c252765b07a205560e7b5eed06de2605336e2d8.
The previous revert was to test on which platforms did the
heapsnapshot test actually fail.
* [Clipboard API] Clipboard Custom Formats implementation Part 5.
https://chromium-review.googlesource.com/c/chromium/src/+/3039323
* Convert ExtensionFrameHost to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3063358
* Convert PDFWebContentsHelper to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3049751
* [Underscore Migration] Migrate ui/legacy
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3093160
* chore: remove unknown permission error
* chore: fix lint
* chore: ignore -Wunreachable-code-return for node deps/
* fixup! chore: ignore -Wunreachable-code-return for node deps/
* fix: windows build
* fix: build dependency
Dependency was missed in cbeae20438
* 3108669: arm,dsp: Fix 8bpp Dct64_NEON().
https://chromium-review.googlesource.com/c/codecs/libgav1/+/3108669
* chore: revert libgav1 roll
* Revert "3108669: arm,dsp: Fix 8bpp Dct64_NEON()."
This reverts commit 7ed3132312 .
* Revert "chore: revert libgav1 roll"
This reverts commit 084a490d29 .
* chore: revert clang roll
* chore: Fix -Wunreachable-code-aggressive warnings in arm and arm64 code
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: deepak1556 <hop2deep@gmail.com >
Co-authored-by: mlaurencin <mlaurencin@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-08-23 20:52:17 -04:00
Jeremy Rose
10c4931477
docs: remove link to outdated examples from README ( #30648 )
2021-08-23 09:19:16 -07:00
Milan Burda
aad1c0d493
feat: add <webview> 'did-redirect-navigation' event ( #30457 )
2021-08-23 10:26:00 -04:00
Sudowoodo Release Bot
34f1bc0e82
Bump v16.0.0-nightly.20210823
2021-08-23 06:01:59 -07:00
electron-roller[bot]
fb990ba1eb
chore: bump node to v16.7.0 (main) ( #30350 )
...
* chore: bump node in DEPS to v16.6.0
* chore: bump node in DEPS to v16.6.1
* crypto: fix generateKeyPair with encoding 'jwk'
https://github.com/nodejs/node/pull/39319
* build: add library_files to gyp variables
https://github.com/nodejs/node/pull/39293
* debugger: rename internal module
https://github.com/nodejs/node/pull/39378
* chore: fixup patch indices
* deps: extract gtest source files to deps/googletest
https://github.com/nodejs/node/pull/39386
* crypto: fix generateKeyPair with encoding 'jwk'
https://github.com/nodejs/node/pull/39319
* deps: bump HdrHistogram_C to 0.11.2
https://github.com/nodejs/node/pull/39462
* fixup! deps: extract gtest source files to deps/googletest
* chore: bump node in DEPS to v16.6.2
* chore: update patches
* deps: reflect c-ares source tree
https://github.com/nodejs/node/pull/39653
* deps: update c-ares to 1.17.2
https://github.com/nodejs/node/pull/39724
* fix: _ReadBarrier undefined symbol error on WOA arm64
* chore: update patches
* chore: bump node in DEPS to v16.7.0
* deps: upgrade to libuv 1.42.0
https://github.com/nodejs/node/pull/39525
* chore: update filenames
* src: remove extra semicolons outside fns
* chore: fixup patch filenames
* chore: sort and alphabetize disabled tests
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-08-20 19:25:50 +02:00
Sudowoodo Release Bot
517b174c3c
Bump v16.0.0-nightly.20210820
2021-08-20 06:01:13 -07:00
Samuel Attard
c83de755c1
Revert "fix: DCHECK on reload when forcefullyCrashRenderer() is called ( #30544 )" ( #30646 )
...
This reverts commit 90b5ba3bed .
2021-08-19 12:07:48 -07:00
Samuel Attard
aab5ea5f9d
build: embed binary checksums in the npm package ( #30611 )
...
* build: embed binary checksums in the npm package
* Update docs/tutorial/installation.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* refactor: replace reduce with loop
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-08-19 11:26:17 -07:00
Samuel Attard
7093cd75cb
build: add nvmrc file ( #30612 )
2021-08-19 11:12:17 -07:00
Jeremy Rose
2a28ca226f
ci: drop with_tags with_branch_heads from sync on appveyor ( #30601 )
2021-08-19 09:23:34 -07:00
Sudowoodo Release Bot
4820dee980
Bump v16.0.0-nightly.20210819
2021-08-19 06:00:58 -07:00
Samuel Maddock
cb7c16cb2d
fix: WebFrameMain mojo pipe not reset ( #30629 )
2021-08-19 15:10:11 +09:00
Larry Kluger
11de995d38
docs: typo in launch-app-from-url-in-another-app.md ( #30566 )
...
* Typo in launch-app-from-url-in-another-app.md
Code snippet for the info.plist example had html formatting. Removed.
* Fix paddings
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-08-19 10:38:30 +09:00
Erick Zhao
ea889b423d
docs: update Hazel information ( #30517 )
2021-08-19 08:42:12 +09:00
Erick Zhao
655b614ecd
docs: remove unused Desktop Environment Integration doc ( #30577 )
...
* docs: remove unused Desktop Environment Integration doc
* Update docs/api/app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-08-19 08:34:34 +09:00
Keeley Hammond
cbeae20438
fix: change gin_wrappable to scoped crash key ( #30578 )
2021-08-18 13:51:40 -07:00
Cheng Zhao
8699124397
refactor: dynamically search defines from node ( #30563 )
2021-08-18 13:34:15 -07:00
Shelley Vohr
ec13a0b0e6
fix: documentEdited with non-default titlebarStyle ( #30565 )
2021-08-18 12:09:57 -07:00
Shelley Vohr
e92d92d7eb
build: remove redundant --ignore_locks from appveyor ( #30591 )
2021-08-18 12:08:02 -07:00
Samuel Maddock
dd16d68e96
fix: cross-origin navigation disposing WebFrameMain instances ( #30076 )
2021-08-18 11:23:41 -07:00
Shelley Vohr
90b5ba3bed
fix: DCHECK on reload when forcefullyCrashRenderer() is called ( #30544 )
2021-08-18 11:23:06 -07:00
Jeremy Rose
29749f3dc6
chore: delete unused content_tracing.idl ( #30554 )
2021-08-18 09:54:40 -07:00
Sudowoodo Release Bot
f797159fbe
Bump v16.0.0-nightly.20210818
2021-08-18 06:00:48 -07:00
Samuel Attard
b62bbfda4e
fix: ensure web_contents() is alive before grabbing view ( #30571 )
2021-08-17 14:00:49 -07:00
Shelley Vohr
db8644ee7a
fix: media key globalShortcuts on macOS ( #30552 )
2021-08-17 13:44:17 -04:00
Milan Burda
04aafcc5ef
refactor: simplify <webview> event dispatch ( #30458 )
...
* refactor: simplify <webview> event dispatch
* Update lib/browser/guest-view-manager.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* remove undocumented new-window event properties
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-08-17 12:10:27 -04:00
Sudowoodo Release Bot
ff128a32d9
Bump v16.0.0-nightly.20210817
2021-08-17 06:00:38 -07:00
Shelley Vohr
a9a90fa1b6
fix: {exit|enter}-html-fullscreen emitted after esc in webview ( #30537 )
2021-08-17 09:03:45 +02:00
Samuel Attard
7cdd132d18
fix: handle nullish WebContentsView in UpdateDraggableRegions ( #30556 )
...
* fix: handle nullish WebContentsView in UpdateDraggableRegions
* build: nogncheck on webcontentsimpl include
2021-08-16 23:29:49 -07:00
Samuel Attard
93d7968d64
build: fix gclient config file
2021-08-16 10:56:29 -07:00
Samuel Attard
cd09a54365
build: add basic codespaces configuration ( #30528 )
...
* build: @jasonetco said that this will make codespaces work
* tmp
* Codespaces
* Update docker-compose.yml
* Update docker-compose.yml
* tada?
* e use
* do not use pizza...
* point at correct goma file
* use ghcr for codespaces
* pass --yes to npx
* build: use auth.notgoma codespace token auth to auto-auth goma
* build: move build-tools set up to Dockerfile
* build: provide default extensions list
* Fix locale tests
* add vnc support
* use prebuilt devcontainer image
* update docker images
* update docker images
* update docker images
* add docs for codespaces
* chore: update docker images
* build: do not overwrite modified buildtools configs on container rebuilds
* use gn language server
* update docker images
* update docker images
* fill in missing links
Co-authored-by: Codespaces <codespaces@github.com >
2021-08-16 10:33:49 -07:00
Sudowoodo Release Bot
eaa5d372fb
Bump v16.0.0-nightly.20210816
2021-08-16 06:01:11 -07:00
Erick Zhao
6669abf38d
docs: clarify platform-specific usage of the acceptFirstMouse option ( #30522 )
2021-08-16 14:13:02 +02:00
Erick Zhao
740dcc5c16
docs: uniformize tutorial titles ( #30527 )
2021-08-16 14:12:34 +02:00
Shelley Vohr
fcce2b16d5
fix: persist BrowserView background color when bounds offscreen ( #30510 )
2021-08-16 12:26:58 +02:00
John Kleinschmidt
94111c9d5c
ci: update git on CI machines ( #30526 )
2021-08-14 16:00:40 -07:00
Samuel Attard
8b9d0092cb
build: manually pull 64bit dugite for 32bit tests ( #30531 )
2021-08-14 15:44:43 -07:00
Samuel Attard
0c1f762119
build: fix publish-to-npm script post requests migration
2021-08-13 13:26:38 -07:00
Keeley Hammond
a11a234eac
fix: disable kWindowCaptureMacV2 for desktopCapturer ( #30507 )
2021-08-13 13:23:56 -07:00
Samuel Attard
fc9a197f6c
build: do not excessively log response bodies
2021-08-13 13:15:39 -07:00
Samuel Attard
61117a11a1
build: ensure getAssetContents is called in a async wrapper fn
2021-08-13 13:07:17 -07:00
Sudowoodo Release Bot
7132f36ddd
Bump v16.0.0-nightly.20210813
2021-08-13 10:41:03 -07:00
Samuel Attard
d1bd9afbbf
build: use basic auth to trigger CI if either a username OR password is provided
2021-08-13 10:40:26 -07:00
Sudowoodo Release Bot
1e983e2a6e
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit c5db7a9013 .
2021-08-13 10:39:45 -07:00
Sudowoodo Release Bot
c5db7a9013
Bump v16.0.0-nightly.20210813
2021-08-13 10:38:06 -07:00
Samuel Attard
a48968c1ce
build: do not pass undefined to Auth header in CI scripts
2021-08-13 10:37:30 -07:00
Sudowoodo Release Bot
d313ddbd3d
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit 6ad47322fa .
2021-08-13 10:30:22 -07:00
Sudowoodo Release Bot
6ad47322fa
Bump v16.0.0-nightly.20210813
2021-08-13 10:27:52 -07:00
Samuel Attard
93b1d2d932
build: fix release CI jobs start script ( #30521 )
...
This broke in #30492 , we weren't handled 20X status codes and weren't authing to appveyor correctly.
2021-08-13 10:25:17 -07:00
Sudowoodo Release Bot
17615654e8
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit c6267d9fb0 .
2021-08-13 10:23:49 -07:00
Sudowoodo Release Bot
c6267d9fb0
Bump v16.0.0-nightly.20210813
2021-08-13 09:30:30 -07:00
Sudowoodo Release Bot
52890e9efd
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit 7668507c9d .
2021-08-13 08:10:10 -07:00
Sudowoodo Release Bot
7668507c9d
Bump v16.0.0-nightly.20210813
2021-08-13 06:01:58 -07:00
Samuel Attard
439e83de6c
refactor: remove all usages of the legacy request module ( #30492 )
...
* Replaces request with got
* Replaces nugget with got streams
* Replaces request in docs with got
* Upgrades dugite to drop requests dependency
2021-08-12 10:34:49 -07:00
Sudowoodo Release Bot
08ff1c2cbf
Bump v16.0.0-nightly.20210812
2021-08-12 06:01:50 -07:00
electron-roller[bot]
81c143318b
chore: bump chromium to 94.0.4590.2 (main) ( #30274 )
...
* chore: bump chromium in DEPS to 94.0.4587.0
* chore: update patches
* 2823155: fix GPU video decoding capabilities enumeration
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/2823155
* 3041383: Reduce includes in url_request_mojom_traits.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3041383
* chore: bump chromium in DEPS to 94.0.4588.0
* chore: update patches
* chore: bump chromium in DEPS to 94.0.4589.0
* chore: update patches
* 3050633: Rename ScaleFactor to ResourceScaleFactor
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3050633
* 3048296: Create new mojo target to prevent traits header spreading
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3048296
* 3046186: Rename base::ClampToRange
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3046186
* chore: update picture-in-picture patch
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3056037
* chore: bump chromium in DEPS to 94.0.4590.0
* chore: update patches
* 3057495: Fix base::NoDestructor usage in Mac KeychainPassword
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3057495
* 3056134: Remove NetworkIsolationKey unused methods
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3056134
* 3035091: [rab/gsab] Fix gsab maxByteLength after transferring to worker
Adds a patch to v8 to disable a DCHECK that is also firing on node streams
in child processes.
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3035091
* chore: bump chromium in DEPS to 94.0.4590.2
* chore: fix mas_no_private_api.patch
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3049052
* 3049555: [views] Add CHECK to prevent fallthrough to global NativeTheme
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3049555
* chore: empty commit
* chore: fix whitespace for lint
* chore: cherry-pick chromium woa fix
* Revert "chore: cherry-pick chromium woa fix"
This reverts commit 64f3082e2d .
* chore: fix the build on Windows on ARM
* chore: remove commented code in printing.patch
* fixup! chore: remove commented code in printing.patch
do not remove the new weak_ptr check
* build: sync disable_use_lld_for_macos.patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-08-11 17:04:56 -04:00
John Kleinschmidt
c8f3324610
ci: make arm64 macos test cleanup more resilient ( #30495 )
2021-08-11 16:23:47 -04:00
Keeley Hammond
60650abf09
fix: explicitly define REFGUID from ::GUID&, not base::GUID ( #30442 )
...
* fix: explicitly define REFGUID from ::GUID&
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076480
* fix: duplicate GUID_NULL symbol, add comment
2021-08-11 12:43:33 -07:00
Samuel Attard
e11953b0e6
build: update remark ( #30493 )
2021-08-11 11:13:33 -07:00
Michaela Laurencin
41646d1168
feat: enable windows control overlay on Windows ( #29600 )
...
* rebase "feat: enable windows control overlay on Windows"
* correct compilation error
* fix linting errors
* modify includes and build file
* change `hidden` option to `overlay`
* add patch to fix visual layout
* add button background color parameter
* add button text color parameter
* modify `overlay` in docs and modify button hover/press transition color
* change `text` to `symbol`
* remove todo and fix `text` replacement
* add new titleBarOverlay property and remove titleBarStyle `overlay`
* update browser and frameless window docs
* remove chromium patches
* chore: update patches
* change button hover color, update trailing `_`, update test file
* add dchecks, update title bar drawing checks, update test file
* modify for mac and linux builds
* update docs with overlayColor and overlaySymbolColor
* add corner and side hit test info
* modify docs and copyright info
* modify `titlebar_overlay_` as boolean or object
* move `title_bar_style_ to `NativeWindow`
* update docs with boolean and object titlebar_overlay_
* add `IsEmpty` checks
* move get options for boolean and object checks
* fix linting error
* disable `use_lld` for macos
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Apply docs suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* modify `true` option description `titleBarOverlay`
* ci: cleanup keychain after tests on arm64 mac (#30472 )
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-08-11 14:07:36 -04:00
Sudowoodo Release Bot
42936b07fe
Bump v16.0.0-nightly.20210811
2021-08-11 06:01:26 -07:00
dependabot[bot]
985f1b5c04
build(deps): bump path-parse from 1.0.6 to 1.0.7 ( #30480 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 02:04:43 -07:00
Shelley Vohr
ac49e6af4a
repl: fix crash when SharedArrayBuffer disabled ( #30456 )
2021-08-11 09:42:15 +09:00
John Kleinschmidt
69f1c1b083
ci: cleanup keychain after tests on arm64 mac ( #30472 )
2021-08-10 16:15:30 -04:00
Sudowoodo Release Bot
f17e6ae318
Bump v16.0.0-nightly.20210810
2021-08-10 06:01:37 -07:00
Milan Burda
4f739d7837
docs: add missing <webview> event documentation ( #30450 )
2021-08-10 10:12:54 +09:00
nibbleswap
590858a38d
docs: fix camelcase in menu example ( #30341 )
...
* docs: fix camelcase in menu example and add hint to deal with TS error
hideothers -> hideOthers (the TS compiler caught this)
The TypeScript compiler also did not like the pattern used to
switch between platforms for submenus was loosing the type information
of the literal constants and generalized them as strings which
conflicts with the type definition of MenuItemConstructorOptions.
* docs: Fix spelling, added hint to TypeScript
Without explicitly stating the type for the const template TypeScript does not create a
with the correct shape due to generalization to strings.
* remove ts hints
Co-authored-by: a <a@b>
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-08-10 10:01:39 +09:00
Charles Kerr
edb7413bae
fix: mouse doesn't work on frameless browserwindows ( #30447 )
2021-08-10 10:01:20 +09:00
Jeremy Rose
e223b4db94
fix: respect image animation policy pref ( #30403 )
2021-08-09 09:58:03 -07:00
Electron Bot
08e9aea940
Bump v16.0.0-nightly.20210809
2021-08-09 06:02:07 -07:00
Electron Bot
66c458a353
Bump v16.0.0-nightly.20210806
2021-08-06 14:06:30 -07:00
Keeley Hammond
6a9cada98c
fix: build SetCrashKeyGW without tray on Windows ( #30437 )
2021-08-06 14:04:19 -07:00
Electron Bot
d783e944d3
Revert "Bump v16.0.0-nightly.20210806"
...
This reverts commit 641260bc32 .
2021-08-06 12:58:53 -07:00
Electron Bot
641260bc32
Bump v16.0.0-nightly.20210806
2021-08-06 06:01:19 -07:00
George Xu
bc508c6113
feat: add electron.safeStorage encryption API ( #30020 )
...
* feat: add SafeStorage api; first commit
* chore: rename files to fit semantically
* chore: add linkedBindings
* chore: fix function signatures
* chore: refactor eisCookieEncryptionEnabled() fuse
* chore: create test file
* chore: add tests and documentation
* chore: add copyright and lint
* chore: add additional tests
* chore: fix constructor
* chore: commit for pair programming
* wip: commit for keeley pairing
* chore: docs change and code cleanup
* chore: add linux import
* chore: add description to documentation
* chore: fixing tests
* chore: modify behaviour to not allow unencrypted strings as decyption input
* fix add patch for enabling default v11 encryption on Linux
* chore: remove file after each test
* chore: fix patch
* chore: remove chromium patch
* chore: add linux specific tests
* chore: fix path
* chore: add checker for linuux file deletion
* chore: add dcheck back
* chore: remove reference to headless mode
* chore: remove tests for linux
* chore: edit commit message
* chore: refactor safeStorage to not be a class
* chore: remove static variable from header
* chore: spec file remove settimeout
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2021-08-05 15:12:54 -07:00
Jeremy Rose
ec6cd0053e
chore: more crash-keys for gin::Wrappable debugging ( #30404 )
2021-08-05 11:39:07 -07:00
Darshan Sen
8e1160fde4
build: use fully qualified path names for deps ( #30414 )
...
This aligns the code with the GN Style Guide: https://gn.googlesource.com/gn/+/refs/heads/main/docs/style_guide.md#deps
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-08-05 11:03:50 -07:00
Samuel Attard
320bea4c28
feat: add fuses for NODE_OPTIONS and --inspect ( #30190 )
...
* feat: add fuses for NODE_OPTIONS and --inspect
* chore: add node patch to ensure NODE_OPTIONS are never parsed when fuse is disabledd
* chore: fix lint
* chore: flip boolean logic
* chore: update patches
* chore: add trailing _ to static member
* Update add_should_read_node_options_from_env_option_to_disable_node_options.patch
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-08-05 10:50:11 -07:00
Samuel Attard
59ab79417d
build: rebase release branch before reverting bump ( #30400 )
2021-08-05 10:49:12 -07:00
Electron Bot
423172775e
Bump v16.0.0-nightly.20210805
2021-08-05 06:01:09 -07:00
Samuel Attard
4703dc0a1d
build: bust the deps cache on windows ( #30401 )
2021-08-04 15:31:17 -07:00
Jeremy Rose
481b774fd7
docs: crashpad on linux lands in 16, not 15. ( #30387 )
2021-08-04 10:16:05 -07:00
Electron Bot
acbd643e2a
Bump v16.0.0-nightly.20210804
2021-08-04 06:00:53 -07:00
Cheng Zhao
97929eab5f
fix: move window buttons in-place on macOS ( #30322 )
2021-08-04 09:31:12 +09:00
Milan Burda
1c29734c91
build: fix building with enable_desktop_capturer = false ( #30372 )
2021-08-03 15:12:46 -07:00
Jeremy Rose
8179349625
feat: enable sandbox by default in limited circumstances ( #30197 )
2021-08-03 15:07:03 -07:00
Jeremy Rose
a17e48061a
fix: console window popping up when --enable-logging passed on windows ( #30375 )
2021-08-03 14:09:02 -07:00
Jeremy Rose
40e76dca07
feat: switch to crashpad on linux ( #30278 )
2021-08-03 14:01:12 -07:00
Milan Burda
6e43b0bcbf
refactor: only create webContents after 'will-attach-webview' ( #30311 )
2021-08-03 10:08:49 -07:00
Electron Bot
4519bc3cd1
Bump v16.0.0-nightly.20210803
2021-08-03 06:01:40 -07:00
Robo
2b897c8ad8
fix: crash due to race between attach and destruction of webview ( #24344 )
2021-08-02 08:35:57 -07:00
Electron Bot
0cabff0a21
Bump v16.0.0-nightly.20210802
2021-08-02 06:01:52 -07:00
Jeremy Rose
888ac65c72
fix: toggleDevTools menu role closes devtools window ( #29922 )
2021-08-02 10:58:28 +09:00
Matthew Shen
c0e72bd335
docs: update to the use of arrow functions in line with the style guide ( #30194 )
...
* docs: Update to the use of arrow functions in line with the style guide
* docs: Fixed unmatched bracket typo in previous commit 9ebe3e58f7948c6636d77f3c58a2693683b69691
* fix linting
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-08-02 10:57:37 +09:00
Biru Mohanathas
ced2e8779f
feat: Allow detection of MITM HTTPS proxies like ZScaler ( #30174 )
...
* feat: Allow detection of MITM HTTPS proxies like ZScaler
For security purposes, Figma heavily restrics the origins that are
allowed to load within our Electron app. Unfortunately some corporate
environments use MITM proxies like ZScaler, which intercepts our
connection to `https://www.figma.com ` and serves a redirect to e.g.
`https://gateway.zscloud.net ` before finally redirecting back to
`https://www.figma.com `.
In order to detect this situation and handle it gracefully, we need to
be able to know whether or not the certificate for our own origin
(`https://www.figma.com `) is chained to a known root. We do this by
exposesing `CertVerifyResult::is_issued_by_known_root`.
If the certification verification passed without the certificate being
tied to a known root, we can safely assume that we are dealing with a
MITM proxy that has its root CA installed locally on the machine. This
means that HTTPS can't be trusted so we might as well make life easier
for corporate users by loosening our origin restrictions without any
manual steps.
* Tweak docs wording
2021-08-02 10:24:58 +09:00
Samuel Attard
9693fb9a37
build: update build images to update npm and node ( #30359 )
2021-08-02 10:01:59 +09:00
Jeremy Rose
9a63d96e83
fix: respect LogJsConsoleMessages feature in InspectableWebContents::DidAddMessageToConsole ( #30312 )
2021-07-30 10:18:49 -07:00
Electron Bot
7b5deb2f3a
Bump v16.0.0-nightly.20210730
2021-07-30 06:01:04 -07:00
Samuel Attard
8651c5d02d
chore: update deps ( #30339 )
2021-07-30 02:21:54 -07:00
Shelley Vohr
639f03977f
fix: BrowserViews not painting their WebContents ( #29919 )
2021-07-30 08:59:24 +09:00
John Kleinschmidt
9cc1b55663
chore: remove experimental from navigator.serial implementation ( #30237 )
2021-07-30 08:57:22 +09:00
Shelley Vohr
3ee6326b93
fix: use contentAspectRatio not aspectRatio ( #30305 )
2021-07-29 23:27:21 +02:00
Shelley Vohr
39c3ff5292
fix: guard against missing native view ( #30304 )
2021-07-29 23:27:02 +02:00
Electron Bot
4aa9455613
Bump v16.0.0-nightly.20210729
2021-07-29 06:02:12 -07:00
Milan Burda
c5ad7ed0cd
refactor: remove guestInstanceId from WebPreferences ( #30280 )
...
* refactor: remove guestInstanceId from WebPreferences
* refactor: remove WebViewManager::GetEmbedder
2021-07-28 15:32:53 -07:00
Samuel Attard
c3abbdefdd
build: set the export goma auth fallback flag for the control process ( #30313 )
2021-07-28 14:02:50 -07:00
George Xu
bd85b1d028
docs: create documentation for browser api ( #30071 )
...
* docs: create documentation for browser api
* docs: add cpp theme
2021-07-28 12:37:45 -07:00
Jeremy Rose
fa464286ee
test: deflake crashReporter.getLastCrashReport test ( #30276 )
2021-07-28 08:56:15 -07:00
Electron Bot
d63980edeb
Bump v16.0.0-nightly.20210728
2021-07-28 06:01:28 -07:00
Anders Kaseorg
1c95d30c0f
fix: Add missing items to menuItem.role documentation ( #30217 )
2021-07-28 08:45:06 +02:00
Milan Burda
fc7ea75009
refactor: move related code to makeWebPreferences in guest-view-manager.ts ( #30272 )
2021-07-27 16:12:49 -07:00
Jeremy Rose
ceebae170e
feat: partially support chrome.tabs.update ( #30069 )
2021-07-27 13:36:22 -07:00
John Kleinschmidt
cce27a0961
chore: update publish to npm to use GitHub token ( #30275 )
...
ensures that we don't get hit with a rate limit while trying to publish a release.
2021-07-27 09:52:18 -04:00
Electron Bot
10424c0149
Bump v16.0.0-nightly.20210727
2021-07-27 06:00:51 -07:00
Milan Burda
a545cd3790
fix: type internal APIs that can return null properly ( #29852 )
2021-07-27 14:48:12 +09:00
John Kleinschmidt
461db8f1ab
fix: persist permission granted to serial ports ( #30209 )
2021-07-26 13:10:57 -04:00
Cheng Zhao
d2989de5d9
fix: update traffic lights position for macOS 11 ( #30263 )
2021-07-26 09:22:21 -07:00
Jeremy Rose
385d0f590f
refactor: remove base::Value from WebContentsPreferences ( #30193 )
2021-07-26 09:04:09 -07:00
electron-roller[bot]
64ba8feb93
chore: bump chromium to 94.0.4584.0 (main) ( #30030 )
...
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: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-07-26 09:02:16 -07:00
Electron Bot
a6ab702ae4
Bump v16.0.0-nightly.20210726
2021-07-26 06:01:26 -07:00
Antón Molleda
62711e23ad
docs: update title of guide ( #30205 )
2021-07-26 17:42:55 +09:00
Electron Bot
3cb06457c4
Bump v16.0.0-nightly.20210723
2021-07-23 06:01:58 -07:00
stephen9357
e3fe80e0e8
fix: increase stack size on windows x86 ( #29474 )
...
* fix: increace main thread stack size on windows x86
* chore: improve quit-on-crashed-event spec
* chore: add debug logs
* Revert "chore: add debug logs"
This reverts commit 0be81ae07c .
* chore: use a reliable crash endpoint
Co-authored-by: Stephen Wang <wangwenqiang.wwq@bytedance.com >
Co-authored-by: Deepak Mohan <hop2deep@gmail.com >
2021-07-22 12:49:21 -07:00
Shelley Vohr
b24cfe17bc
fix: process.exit crash in nativeWindowOpen ( #30218 )
2021-07-22 15:38:11 +02:00
Electron Bot
eca1098b55
Bump v16.0.0-nightly.20210722
2021-07-22 06:01:34 -07:00
Keeley Hammond
19820fc2a7
chore: add additional crash key to gin::Wrappable ( #30161 )
2021-07-21 09:33:25 -04:00
Electron Bot
adc3f39a9e
Bump v15.0.0-nightly.20210721
2021-07-21 06:02:02 -07:00
Samuel Attard
9fe70c5580
build: handle release failure by existing with code 1 ( #30216 )
2021-07-21 00:45:57 -07:00
Electron Bot
ea69da279f
Bump v15.0.0-nightly.20210720
2021-07-20 06:02:23 -07:00
Keeley Hammond
deb75ceaa5
build: update version-bumper to support alpha ( #30165 )
...
* build: update version-bumper to support alpha
* build: seperate alpha bump version tests
For easier deletion. If we want to continue supporting an alpha channel,
they can be reintegrated with main tests.
* chore: fix regex
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-07-19 17:58:15 -07:00
Jeremy Rose
d35fb2a2e3
docs: mention sandboxing in security docs ( #30147 )
2021-07-19 12:45:47 -07:00
Jeremy Rose
c9ba0d02d7
feat: support crashpad on linux ( #29719 )
2021-07-19 10:11:10 -07:00
Jeremy Rose
612361c4da
chore: remove unused getWebPreferences method ( #30160 )
2021-07-19 09:29:23 -07:00
Mark Lee
a3298424b3
docs: update default branch for Electron Packager API links ( #30175 )
2021-07-19 09:25:05 -07:00
Jota
9441ff747d
docs: Ffx broken context isolation link in sandbox docs ( #30177 )
2021-07-19 09:24:27 -07:00
Electron Bot
d4b2f69f36
Bump v15.0.0-nightly.20210719
2021-07-19 06:02:42 -07:00
Electron Bot
cfb2829634
Bump v15.0.0-nightly.20210716
2021-07-16 06:01:06 -07:00
Jeremy Rose
0d9e6f29ba
fix: allow colored tray titles when font type is specified ( #30146 )
2021-07-15 16:45:20 -07:00
Shelley Vohr
1bb689e6dd
fix: BrowserWindow transparency not working ( #30136 )
2021-07-15 16:18:39 -04:00
electron-roller[bot]
063ac19712
chore: bump node to v16.5.0 (main) ( #30031 )
...
* chore: bump node in DEPS to v16.4.2
* chore: update patches
* ci: run main and remote woa tests separately
* chore: bump node in DEPS to v16.5.0
* build: restore libplatform headers in distribution
https://github.com/nodejs/node/pull/39288
* build: pass directory instead of list of files to js2c.py
https://github.com/nodejs/node/pull/39069
* chore: various BoringSSL/OpenSSL upstreams
- https://github.com/nodejs/node/pull/39136
- https://github.com/nodejs/node/pull/39138
- https://github.com/nodejs/node/pull/39054
* test: move debugger test case to parallel
https://github.com/nodejs/node/pull/39300
* chore: fixup patch indices
* build: pass directory instead of list of files to js2c.py
https://github.com/nodejs/node/pull/39069
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 >
2021-07-15 11:25:00 -04:00
Electron Bot
849a3b6f81
Bump v15.0.0-nightly.20210715
2021-07-15 07:13:56 -07:00
David Sanders
341b370213
fix: handle redirects within registered protocols ( #29796 )
2021-07-15 20:14:46 +09:00
Shelley Vohr
3f38681c55
fix: double traffic lights on exit fullscreen ( #30114 )
2021-07-14 16:45:12 -07:00
Cheng Zhao
05ba6359d0
feat: add signal option to dialog.showMessageBox ( #26102 )
...
* mac: add dialog.closeMessageBox API
* win: Implement dialog.closeMessageBox
* mac: Return cancelId with closeMessageBox
* gtk: Implement dialog.closeMessageBox
* win: Fix 32bit build
* win: Reduce the scope of lock
* fix: Build error after rebase
* feat: Use AbortSignal to close message box
* chore: silently handle duplicate ID
* win: Add more notes about the threads
* chore: apply reviews
* fix: base::NoDestructor should be warpped in function
* chore: fix style on windows
2021-07-15 07:59:27 +09:00
George Xu
4b780f9770
docs: update supported versions to match new release cadence ( #30121 )
2021-07-14 15:38:28 -07:00
Utkarsh Dixit
b2da2f759a
docs: add runtime.reload as supported extension api ( #29925 )
2021-07-14 15:37:53 -07:00
Robo
4931c055a9
spec: disable flaky fullscreen test ( #30141 )
2021-07-14 15:26:09 -07:00
Antón Molleda
a855aa34d9
docs: fix fiddle path ( #30139 )
...
This is breaking the build in `electron/electronjs.org-new` and will
most likely not work when clicking the "Fiddle" button.
Rel: https://github.com/electron/electronjs.org-new/pull/65
2021-07-14 16:16:59 -04:00
Jeremy Rose
bec47f54f4
fix: use correct userData path when unbundled ( #30113 )
2021-07-14 13:10:37 -07:00
Electron Bot
4db7221c7d
Bump v15.0.0-nightly.20210714
2021-07-14 06:02:07 -07:00
Davenury
75b4267aa9
Update quick-start.md ( #30064 )
...
Change app-quit link definition, so both window-all-closed and app-quit redirects to appropriate sites.
2021-07-14 20:59:32 +09:00
Milan Burda
c0995b8dff
docs: add <webview> 'did-attach' event documentation ( #29899 )
2021-07-14 20:59:20 +09:00
Cheng Zhao
637ba48b42
fix: pressing ESC should exit fullscreen from webview ( #30063 )
2021-07-14 20:51:26 +09:00
Jeremy Rose
4d0475c9ce
feat: expose location and modifiers on before-input-event ( #29850 )
...
* feat: expose location and modifiers on before-input-event
* lint
2021-07-14 20:50:02 +09:00
Keeley Hammond
1897b14af3
chore: update releases to 8 weeks in CONTRIBUTING ( #30115 )
...
* chore: update releases to 8 weeks in CONTRIBUTING
* chore: update support.md for four version support
2021-07-13 13:57:19 -07:00
Sofia Nguy
eb2efd4b7e
docs: Update timeline for E15 alpha announcement ( #30109 )
...
* docs: Update timeline for E15 alpha announcement
* fix line break
2021-07-13 13:54:13 -07:00
1akshat1
d267f979b7
feat: continue-activity event is extended to support webpageURL property ( #30042 )
...
Co-authored-by: Akshat Malik <amalik@microstrategy.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-07-13 13:21:33 -07:00
Electron Bot
3582a513ca
Bump v15.0.0-nightly.20210713
2021-07-13 06:02:20 -07:00
Milan Burda
9959f01e4c
spec: fix check for electron_common_testing binding in logging-spec.ts ( #30086 )
2021-07-12 22:11:19 -07:00
Robo
19a6286dfd
chore: cherry-pick 9bab573a37 from chromium ( #30084 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3010140
2021-07-12 18:35:29 -07:00
Jeremy Rose
459a8417e3
test: disable failing node tests ( #30096 )
2021-07-13 09:40:58 +09:00
Jeremy Rose
96ff8d7bd7
build: decode error output as utf8 ( #30093 )
2021-07-12 15:22:26 -07:00
Jeremy Rose
e26901aba4
fix: crash when invoking login callback synchronously ( #30068 )
2021-07-12 12:33:41 -07:00
Jeremy Rose
0cb5631b0b
fix: return RGBA values from getSystemColor ( #30055 )
2021-07-12 11:08:10 -07:00
Robo
36079b822a
chore: disable fullscreen test on mac arm ( #30083 )
2021-07-12 08:53:35 -07:00
Electron Bot
c15f44c20f
Bump v15.0.0-nightly.20210712
2021-07-12 06:01:17 -07:00
Robo
c806184bfe
chore: fix flaky fullscreen inheritance test ( #30081 )
2021-07-11 23:19:30 -07:00
Cheng Zhao
21f6937728
chore: remove unneeded conversions between wstring and u16string ( #30047 )
2021-07-12 13:33:26 +09:00
Robo
ccfde6c9d4
fix: window ordering on mac ( #29857 )
2021-07-09 13:38:25 -07:00
Electron Bot
98f617e856
Bump v15.0.0-nightly.20210709
2021-07-09 06:01:45 -07:00
George Xu
b7164428ec
docs: modernize protocol-handler docs ( #29380 )
...
* docs: modernize protocol-handler docs
* docs: iadd contextIsolation
* docs: add guide for launch-app-from-URL-in-other-app
* docs: address comments
* chore: fix brackets
* chore: add escaped brackets
2021-07-08 11:42:28 -07:00
Electron Bot
0824fc57f7
Bump v15.0.0-nightly.20210708
2021-07-08 06:01:00 -07:00
Milan Burda
53386914e1
docs: move webRequest filters definition to structures/web-request-filter.md ( #29900 )
2021-07-08 00:20:08 -07:00
Milan Burda
635ed5a6e3
feat: add missing resourceType conversions for webRequest listener details ( #29902 )
2021-07-08 00:19:16 -07:00
Milan Burda
13bf2fd7ec
build: fix building with enable_plugins = false ( #30040 )
2021-07-08 00:18:11 -07:00
Electron Bot
cd031a77dd
Bump v15.0.0-nightly.20210707
2021-07-07 13:02:22 -07:00
Electron Bot
767b4973a3
Revert "Bump v15.0.0-nightly.20210707"
...
This reverts commit 5f1233cdad .
2021-07-07 12:11:40 -07:00
Electron Bot
5f1233cdad
Bump v15.0.0-nightly.20210707
2021-07-07 06:01:31 -07:00
Jeremy Rose
550d3c11a8
docs: mention contextIsolation in ipc-main example ( #29918 )
2021-07-06 10:27:35 -07:00
Electron Bot
257b796856
Bump v15.0.0-nightly.20210706
2021-07-06 06:01:39 -07:00
electron-roller[bot]
2585e6d5fa
chore: bump chromium to 93.0.4566.0 (main) ( #29980 )
...
* chore: bump chromium in DEPS to 93.0.4562.0
* chore: update patches
* [base] Made Value::Take{Dict,List}() rvalue ref-qualified.
https://chromium-review.googlesource.com/c/chromium/src/+/2988105
* Revert "Reland "Roll src/buildtools/third_party/libc++/trunk/ 8fa879467..79a2e924d (426 commits)""
https://chromium-review.googlesource.com/c/chromium/src/+/2995482
This reverts commit 9691d6c265 and 797723ec83
* Pass gfx::Insets to GetHTComponentForFrame
https://chromium-review.googlesource.com/c/chromium/src/+/2984243
* chore: bump chromium in DEPS to 93.0.4563.0
* [Clipboard API] Clipboard Custom Formats implementation Part 2.
https://chromium-review.googlesource.com/c/chromium/src/+/2967649
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4564.0
* chore: bump chromium in DEPS to 93.0.4565.0
* chore: update patches
* Prevent use of base::NoDestructor for trivially-destructible types
https://chromium-review.googlesource.com/c/chromium/src/+/2998672
* chore: update patches
* fixup! [Clipboard API] Clipboard Custom Formats implementation Part 2.
* chore: bump chromium in DEPS to 93.0.4566.0
* chore: update patches
* chore: add missing header
* ci: do not run clipboard tests on WOA
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: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-07-06 08:17:13 -04:00
Samuel Attard
7169734470
fix: download the arm64 version of Electron when running node under rosetta ( #29953 )
2021-07-06 10:40:26 +09:00
Jenux
f3517b6635
docs: match css filename in dark-mode.md ( #29936 )
...
* Update dark-mode.md
Fix the unmatched css file name
* Update docs/tutorial/dark-mode.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-07-06 10:37:41 +09:00
David Sanders
6c251da201
chore: correct spelling of is_quitting in electron::Browser ( #29948 )
2021-07-05 15:45:50 -04:00
electron-roller[bot]
60366ad171
chore: bump node to v16.4.1 (main) ( #29994 )
...
* chore: bump node in DEPS to v16.4.1
* 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>
2021-07-05 13:47:09 -04:00
Electron Bot
6db9b274b7
Bump v15.0.0-nightly.20210705
2021-07-05 06:01:17 -07:00
Cheng Zhao
25a77761f6
fix: build error caused by extra ] ( #30015 )
2021-07-05 01:34:39 -07:00
Shelley Vohr
af991123f1
fix: self.module.paths not working in web workers ( #29955 )
...
* fix: global.module.paths in workers
* spec: add a regression test
2021-07-05 08:48:46 +09:00
Antón Molleda
20c1f504ae
docs: remove Experimental from contextBridge.exposeInMainWorld ( #29985 )
...
The API has been around for about 3 years. It should no longer be
considered experimental.
2021-07-05 08:46:47 +09:00
Cheng Zhao
18d0ed8155
fix: do not leak NSUUID ( #29990 )
2021-07-05 08:45:00 +09:00
Cheng Zhao
0403494a6b
docs: remove mention of node-mac-notifier ( #29991 )
2021-07-03 13:23:47 -07:00
Electron Bot
800873b44d
Bump v15.0.0-nightly.20210702
2021-07-02 06:01:44 -07:00
Cheng Zhao
85a69f88f1
chore: remove unused _grantOriginAccess method ( #29976 )
2021-07-01 19:53:38 -07:00
Cheng Zhao
6eff9231b8
fix: webview should maximize on requestFullscreen ( #29952 )
2021-07-01 20:56:29 -04:00
David Sanders
95a9ff952c
chore: cleanup usages of const char* ( #29906 )
2021-07-02 09:51:52 +09:00
David Sanders
f6531166ae
chore: clean up forward declarations ( #29904 )
2021-07-02 09:51:37 +09:00
John Kleinschmidt
1f8a46c9c6
feat: enable window controls overlay on macOS ( #29253 )
...
* feat: enable windows control overlay on macOS
* address review feedback
* chore: address review feedback
* Address review feedback
* update doc per review
* only enable WCO when titleBarStyle is overlay
* Revert "only enable WCO when titleBarStyle is overlay"
This reverts commit 1b58b5b1fc .
* Add new titleBarOverlay property to manage feature
* spelling fix
* Update docs/api/frameless-window.md
Co-authored-by: Samuel Attard <sam@electronjs.org >
* Update shell/browser/api/electron_api_browser_window.cc
Co-authored-by: Samuel Attard <sam@electronjs.org >
* update per review feedback
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-07-01 15:25:40 -04:00
Electron Bot
0fe2836151
Bump v15.0.0-nightly.20210701
2021-07-01 06:00:47 -07:00
Samuel Attard
331444d103
build: add support for spawning builds for a specific commit on appveyor ( #29971 )
2021-06-30 18:17:59 -07:00
Shelley Vohr
98809d8d64
fix: honor user-defined Downloads directory ( #29938 )
2021-06-30 22:54:02 +02:00
Shelley Vohr
372ecf32e6
fix: potential crash on macOS app exit ( #29941 )
2021-06-30 20:12:17 +02:00
Jeremy Rose
a8b3c22518
fix: correctly propagate title updates for window with no navigation entries ( #29946 )
2021-06-30 10:53:10 -07:00
Shelley Vohr
675bbfe092
refactor: modify Node.js options object directly ( #29939 )
...
* refactor: modify Node.js options object directly
* chore: update patch to reflect upstream
2021-06-30 16:07:28 +02:00
Electron Bot
a310bd7473
Bump v15.0.0-nightly.20210630
2021-06-30 06:00:59 -07:00
Electron Bot
cb8d9cebbc
Revert "Bump v15.0.0-nightly.20210630"
...
This reverts commit 97c4b59747 .
2021-06-30 03:50:14 -07:00
Electron Bot
97c4b59747
Bump v15.0.0-nightly.20210630
2021-06-30 02:43:32 -07:00
Robo
522b19e2d8
fix: crash when clicking links with target=_blank from webview ( #29874 )
2021-06-29 18:10:18 -07:00
Samuel Attard
da9261497e
feat: add MenuItem.userAccelerator property ( #26682 )
...
* feat: add MenuItem.userAccelerator property
This allows folks to read the user-assigned accelerator that macOS users can provide in system preferences. Useful for showing in-app shortcut help dialogs, you need to know if the accelerator you provided is not being used in favor of a user assigned one.
* chore: update syntax
* chore: add safety check for command index being -1
2021-06-29 16:28:16 -07:00
Rituka Patwal
3e69985b76
chore: set python interpreter to python3 in script/spec-runner.js ( #29740 )
...
The new installs of the python module, python-dbusmock, is broken for
python2. The tests still run fine on linux machine in Electron's
pipeline setup on CircleCI, because the docker image used has
the non-broken version of python-dbusmock for python2 installed.
But running electron tests on any other linux machine would fail if
they don't have this non-broken version of python-dbusmock for python2
installed, already, which is the case for most of the machines.
Moreover, Python2 is deprecated now. So it would be better if we change
the python interpreter in script/spec-runner.js file to python3, for
which all the python modules are updated and working.
Co-authored-by: Rituka Patwal <rituka.patwal@postman.com >
2021-06-29 15:46:12 -07:00
electron-roller[bot]
d3c1f10e33
chore: bump chromium to 93.0.4558.0 (main) ( #29895 )
...
* chore: bump chromium in DEPS to 93.0.4553.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4555.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4556.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4557.0
* chore: update patches
* Fix warnings for -Wc++11-narrowing.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2942212
* fixup! Fix warnings for -Wc++11-narrowing.
* chore: run gen-libc++-filenames.js
* Reland "Roll src/buildtools/third_party/libc++/trunk/ 8fa879467..79a2e924d (426 commits)"
https://chromium-review.googlesource.com/c/chromium/src/+/2988699
* chore: bump chromium in DEPS to 93.0.4558.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>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-06-29 13:02:27 -07:00
Electron Bot
37b57a1013
Bump v15.0.0-nightly.20210629
2021-06-29 06:01:38 -07:00
Omar Kilani
1b4ce6c69a
fix: geolocation crashes electron on macOS ( #29343 ) ( #29913 )
2021-06-28 20:26:57 -07:00
David Sanders
9142563748
docs: remove requestHeaders in webRequest.onHeadersReceived ( #29907 )
2021-06-28 15:52:06 -07:00
electron-roller[bot]
e4807ac020
chore: bump node to v16.4.0 (main) ( #29699 )
2021-06-28 18:05:38 +02:00
Electron Bot
da2baabb96
Bump v15.0.0-nightly.20210628
2021-06-28 06:01:29 -07:00
David Sanders
b60b96b221
chore: remove unused using and namespace declarations ( #29892 )
2021-06-28 15:26:10 +09:00
Electron Bot
21319926a0
Bump v15.0.0-nightly.20210625
2021-06-25 06:00:29 -07:00
electron-roller[bot]
a518e4b2e1
chore: bump chromium to 93.0.4552.0 (main) ( #29862 )
...
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: Charles Kerr <charles@charleskerr.com >
2021-06-24 17:06:42 -07:00
Shelley Vohr
f9bfd1da25
fix: properly order out child windows ( #29821 )
2021-06-24 20:43:28 +02:00
Shelley Vohr
9b5dd5380f
fix: Inspector method overrides when contextIsolation enabled ( #29841 )
2021-06-24 20:36:22 +02:00
Jeremy Rose
0f16575eee
fix: stop window.open from hanging when prevented ( #29851 )
2021-06-24 08:50:48 -07:00
Electron Bot
9de8e676dd
Bump v15.0.0-nightly.20210624
2021-06-24 06:01:03 -07:00
dependabot[bot]
47a8c952e9
build(deps): bump lodash from 4.17.20 to 4.17.21 in /spec ( #29067 )
...
* build(deps): bump lodash from 4.17.20 to 4.17.21 in /spec
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-06-23 16:51:28 -07:00
Jeremy Rose
2c01deae03
fix: deny instead of canceling when certificate-error passes false ( #29826 )
2021-06-23 16:40:51 -07:00
Electron Bot
d9d2f01563
Bump v15.0.0-nightly.20210623
2021-06-23 06:01:12 -07:00
David Sanders
ff39a0e939
fix: ensure set vibrancy with invalid value is a no-op ( #29795 )
2021-06-23 15:09:42 +09:00
Shelley Vohr
129f92e1fa
fix: child window alwaysOnTop level persistence ( #29813 )
...
* fix: child window alwaysOnTop level
* chore: add undocumented getAlwaysOnTopLevel
* test: add test for level persistence
* Address feedback from review
2021-06-23 15:09:09 +09:00
Robo
6e310b7424
chore: remove revert_remove_contentrendererclient_shouldfork.patch ( #29842 )
2021-06-22 14:50:57 -07:00
electron-roller[bot]
b8261f1591
chore: bump chromium to 93.0.4550.0 (main) ( #29751 )
2021-06-22 12:17:16 -07:00
Jeremy Rose
c5066cce22
docs: fix broken markdown in dialog.md ( #29782 )
2021-06-22 09:49:30 -07:00
Electron Bot
92901ddf18
Bump v15.0.0-nightly.20210622
2021-06-22 06:01:22 -07:00
David Sanders
bc8cb75e4e
fix: properly handle optional requestHeaders with onBeforeSendHeaders ( #29798 )
2021-06-22 15:08:52 +09:00
Keeley Hammond
0ad73ac423
fix: allow ppapi processes access to resource bundle on all platforms ( #29827 )
...
* wip: debug resource bundle failure
* fix: include ppapi subprocesses for windows resource bundle
* fix: allow ppapi plugin processes access to resource bundle on all platforms.
Aligns with chrome_main_delegate here: https://chromium-review.googlesource.com/c/chromium/src/+/2619003
2021-06-21 20:46:53 -07:00
David Sanders
98d2824c7f
refactor: migrate AdaptCallbackForRepeating to SplitOnceCallback ( #29825 )
2021-06-21 18:04:31 -07:00
Electron Bot
0e465f1885
Bump v15.0.0-nightly.20210621
2021-06-21 06:01:31 -07:00
marekharanczyk
507cbdc80a
fix: do not cancel CORS preflight request on proxy auth. ( #29266 )
...
* fix: do not cancel CORS preflight request on proxy auth.
If connecting via proxy, preflight request can receive 407
header response from proxy. This does not mean request
was finished even though it received headers (from proxy,
not the destination server), so prevent "completing"
and most importantly deleting it, which causes request
to be canceled in network layer. Just continue to monitor it
and await proper response from server. Also add circut breaker
to cancel request if proxy auth failed 3 times (for example
user keeps cancelling auth). This behavior happens only
when app registered WebRequest api listeners.
* Port chromium webrequest changes to electron code.
Move relevant parts of chromium WebRequestProxyingURLLoaderFactory from
https://chromium-review.googlesource.com/c/chromium/src/+/2011781
into electron ProxyingURLLoaderFactory.
* Update code to upstreamed version and remove retyr count failsafe.
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-06-21 14:06:52 +09:00
Fedor Indutny
d4a1b41129
fix: microtasks policy in CreateEnvironment ( #29531 )
...
* fix: microtasks policy in CreateEnvironment
Microtasks policy should not be updated for the renderer because
`NodeBindings::CreateEnvironment` might be entered with or without
`UvRunOnce()` on stack. One of the examples of such calls is
`window.open()` which is possible to invoke while `uv_run()` is still
running (e.g. with `setImmediate()`).
All in all, it doesn't matter that much which policy we use since
`v8::MicrotasksScope` has a check for the policy in its destructor and
no commits will be made if the policy is `kExplicit`. It is important,
however, to not change the policy in the middle of `UvRunOnce()` so we
should respect whatever we currently have and move on.
Fix : #29463
* Move test to a better place
* Update spec-main/fixtures/crash-cases/setimmediate-window-open-crash/index.html
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update spec-main/fixtures/crash-cases/setimmediate-window-open-crash/index.html
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* simplify crash-case
* comment
* fix comment
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Fedor Indutny <indutny@signal.org >
2021-06-21 14:06:17 +09:00
Darshan Sen
cfc846a337
fix: relax app.getLocaleCountryCode() test ( #29679 )
...
If the app is run with LC_ALL=C on Linux, the test would fail as
app.getLocaleCountryCode() would return "".
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-21 14:05:28 +09:00
Samuel Attard
e7ae6edbd4
fix: update Squirel.Mac to fix CPU spin during update ( #29791 )
...
* fix: update Squirel.Mac to fix CPU spin during update
Refs: https://github.com/Squirrel/Squirrel.Mac/pull/259
Closes : #29119
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-06-21 14:02:20 +09:00
David Sanders
8844034fa8
chore: tune-up electron::api::NetLog ( #29534 )
2021-06-20 18:52:28 -07:00
Erick Zhao
aca14bf7dd
docs: fix frontmatter for Tray tutorial ( #29788 )
2021-06-21 10:13:39 +09:00
Samuel Maddock
ef2ce9dd67
fix: flakey extension bg page test ( #29744 )
2021-06-21 10:11:40 +09:00
sssooonnnggg
e54667e17e
fix: fix hover state not clear bug when BrowserWindow is not resizable ( #611 ) ( #29721 )
2021-06-21 10:10:40 +09:00
dependabot[bot]
cef4e434cb
build(deps-dev): bump ws from 7.2.1 to 7.4.6 in /spec-main ( #29421 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.2.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.2.1...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 14:20:29 -07:00
John Kleinschmidt
58c58c46c4
ci: cleanup electron dirs after running tests on arm ( #29769 )
...
* ci: cleanup electron dirs after running tests on arm
(cherry picked from commit 1c0a6045fb )
* use start-stop-daemon to kill Xvfb
2021-06-18 14:35:44 -04:00
Electron Bot
e5aa13e2a4
Bump v15.0.0-nightly.20210618
2021-06-18 06:01:54 -07:00
Shelley Vohr
4450327fda
fix: select element not working on Windows ( #29742 )
2021-06-18 09:05:18 +02:00
Milan Burda
de6696ef1d
chore: remove unused and broken ipcRendererInternal.sendTo() ( #29743 )
2021-06-17 23:26:18 -05:00
John Kleinschmidt
6b4c59b8d8
ci: run linux arm tests on CircleCI ( #29714 )
2021-06-17 18:38:25 -04:00
Charles Kerr
8ccab4ce91
feat: bring --enable-logging functionality in line with Chromium ( #25089 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-06-17 14:17:25 -07:00
Shelley Vohr
c841247815
fix: color select eyedropper not working within DevTools ( #29729 )
2021-06-17 08:42:51 -05:00
Electron Bot
f00a2d0629
Bump v15.0.0-nightly.20210617
2021-06-17 06:01:15 -07:00
Shelley Vohr
b3daa2d672
chore: fix BoringSSL conflict in patches ( #29748 )
2021-06-17 13:06:19 +02:00
Shelley Vohr
542abcd6fd
chore: bump Node.js to v16.2.0 ( #29244 )
2021-06-17 08:50:56 +02:00
Erick Zhao
9a7e61cfc0
docs: clarify use of ELECTRON_SKIP_BINARY_DOWNLOAD ( #29720 )
2021-06-17 15:34:08 +09:00
electron-roller[bot]
85718349cc
chore: bump chromium to 93.0.4539.0 (main) ( #29608 )
...
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: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-06-16 15:43:51 -07:00
Samuel Attard
f71c6c04fd
fix: ensure detached devtools are not always draggable ( #29717 )
2021-06-16 10:18:02 -07:00
Cheng Zhao
330c3bc136
chore: remove c-style conversion for vibrantView ( #29724 )
2021-06-16 10:13:42 -07:00
Shelley Vohr
d59e2d7b2e
fix: draggable regions with devtools open ( #29696 )
2021-06-16 09:58:30 -07:00
trop[bot]
6fd9e4280c
fix: disable CET as v8 deoptimization is incompatible with it ( #29689 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-06-16 09:57:58 -07:00
Electron Bot
7474c59ea0
Bump v15.0.0-nightly.20210616
2021-06-16 06:02:12 -07:00
kdau
226f2a9a56
fix setWindowOpenHandler call syntax ( #29551 )
2021-06-16 16:16:18 +09:00
Shelley Vohr
2ae7e04598
fix: potential crash when setting vibrancy ( #29677 )
2021-06-16 15:39:20 +09:00
Samuel Attard
81795744cf
fix: ensure the typescript definitions only export correct value types ( #28712 )
...
* fix: ensure the typescript definitions only export correct value types
In typescript there are two main types of "types" you can export, value types (class, const) and definition types (type, interface). The typescript compiler will let anything declared via const or class be used as a value. Unfortunately we were exporting a bunch of things (see the diff) as class/const when they weren't actually exported values. This lead to typescript being happy but the runtime throwing errors (not something we want).
This change passes "exported-in" context through our docs, to the parser and then to the definitions generator to ensure we only mark things as exported in the ts defs that we actually export.
Fixes #22167
* chore: update typescript-defs
* chore: update typescript-defs
* chore: fix bad typescript in IPC test
* docs: test rendering of new syntax
* chore: update per feedback, use same syntax but with 'this is not exportedd' line
2021-06-15 13:50:31 -07:00
Calvin
18b03db073
chore: bumping NAN dep to include test changes ( #29686 )
2021-06-15 16:09:39 -04:00
Keeley Hammond
af276c96ec
chore: disable default async spellchecker on Windows ( #29690 )
...
* chore: disable default async spellchecker on Windows
* chore: disable kWinRetrieveSuggestionsOnlyOnDemand in feature list
2021-06-15 09:11:49 -07:00
Electron Bot
31a4cc26d5
Bump v15.0.0-nightly.20210615
2021-06-15 06:01:55 -07:00
David Sanders
214fcfc46d
test: re-enable some skipped tests ( #29655 )
...
* test: re-enable some skipped tests
* test: enable more tests
2021-06-15 10:55:08 +09:00
George Xu
f022ead559
docs: added guide and updated docs for Tray ( #29385 )
...
* docs: added guide and updated docs for Tray
* docs: improve clarity
2021-06-15 10:34:53 +09:00
Kevin Hartman
3e2ec0e2ce
docs: Update represented-file fiddle tutorial ( #29245 )
...
* Update represented-file fiddle.
* add index and code back to guide
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com >
2021-06-15 10:29:51 +09:00
Milan Burda
56ac67e059
refactor: use std::make_unique/base::MakeRefCounted when possible ( #29637 )
2021-06-15 09:37:55 +09:00
Jeremy Rose
ebf54d7cc0
refactor: use PathProvider for user-data-dir and others ( #29649 )
...
* refactor: use PathProvider for user-data-dir and others
* consolidate logic for DIR_RECENT and DIR_APP_LOGS into path provider
* fix bad include
* remove debugging code
* fix build on mac
* fix build on win
* create app logs dir on both mac and non-mac
2021-06-15 09:32:56 +09:00
Samuel Attard
8b945cb296
build: restore workspace on osx builds to get docs-only-change file ( #29465 )
...
* build: restore workspace on osx builds to get docs-only-change file
* build: clean up attached workspace before checking out from cache
2021-06-14 12:20:59 -07:00
David Sanders
7019713126
docs: use relative links within docs ( #29651 )
2021-06-14 14:02:23 -05:00
Luke Ingalls
86ff4a9836
docs: fix typo in process-model.md ( #29563 )
2021-06-14 11:33:07 -04:00
Darshan Sen
cc04450b85
docs: fix file mode of versioning-sketch-2.png ( #29609 )
...
Unlike the other files, this file had its executable bit set in its file
mode. This change removes the executable bit to align its file mode with
the rest of the files.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-14 11:28:01 -04:00
Electron Bot
0b10c865d3
Bump v15.0.0-nightly.20210614
2021-06-14 06:01:21 -07:00
David Sanders
8d76b4ded1
chore: use consistent integer type for request ID ( #29540 )
2021-06-14 21:01:36 +09:00
Darshan Sen
4b9e804b82
refactor: use locale functions in command_line_args.cc ( #29550 )
...
This change refactors the code to use isalpha() and
isspace() so that the code is more readable.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-14 21:01:00 +09:00
Jeremy Rose
34a4e26b24
fix: check DCHECK_IS_ON() instead of #ifdef DCHECK_IS_ON ( #29620 )
2021-06-14 11:06:09 +09:00
David Sanders
fed5ad5303
fix: use correct spelling of attachment with Content-Disposition header ( #29621 )
2021-06-14 11:05:16 +09:00
David Sanders
f6d673c32a
chore: use HTTP method constants ( #29650 )
2021-06-14 11:04:36 +09:00
David Sanders
e8c9a814d6
fix: copy received data in URLPipeLoader to prevent corruption ( #29567 )
2021-06-14 10:18:52 +09:00
Electron Bot
af7181b93f
Bump v15.0.0-nightly.20210611
2021-06-11 06:01:09 -07:00
Darshan Sen
9b99bdb570
docs: fix image links in performance.md ( #29592 )
...
* docs: fix image links in performance.md
Fixes https://github.com/electron/electron/issues/29580
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* Apply suggestions from code review
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2021-06-10 12:44:04 -05:00
Electron Bot
057b15f7bb
Bump v15.0.0-nightly.20210610
2021-06-10 06:01:21 -07:00
Shelley Vohr
63cc82d91d
fix: ensure custom traffic lights float to top ( #29595 )
...
* fix: ensure custom traffic lights float to top
* chore: split into separate function
2021-06-10 14:52:23 +02:00
Samuel Attard
73266f8f3d
fix: ensure fuse order is read in a stable way ( #29599 )
2021-06-09 08:30:02 -07:00
Electron Bot
5f2e25b0b2
Bump v15.0.0-nightly.20210609
2021-06-09 08:29:41 -07:00
Samuel Attard
fa0323a3db
fix: Revert "fix: don't propagate GDK_BACKEND to subprocs ( #28898 )" ( #29610 )
...
This reverts commit 7b169c2884 .
2021-06-09 08:28:52 -07:00
Samuel Attard
c252deb878
Revert "Bump v15.0.0-nightly.20210609"
...
This reverts commit c9ccd136a8 .
2021-06-09 08:28:12 -07:00
John Kleinschmidt
396ea4b29c
fix: select-bluetooth-device on Windows ( #29591 )
2021-06-09 10:48:18 -04:00
Electron Bot
c9ccd136a8
Bump v15.0.0-nightly.20210609
2021-06-09 06:01:09 -07:00
electron-roller[bot]
04679121d6
chore: bump chromium to 93.0.4536.0 (main) ( #29586 )
...
* chore: bump chromium in DEPS to 93.0.4536.0
* chore: update patches
* [2918475] Make InkDrop a View class property
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2918475
Replace old views::Button::ink_drop() calls with views::InkDrop::Get()
* [2935942] Convert use of gfx::ImageSkia to ui::ImageModel for WidgetDelegates
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2935942
Update GetWindowIcon(), GetWindowAppIcon(), and GetDevToolsWindowIcon()
to return ui::ImageModel instead of gfx::ImageSkia.
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: Charles Kerr <charles@charleskerr.com >
2021-06-08 15:22:43 -05:00
Shelley Vohr
7b169c2884
fix: don't propagate GDK_BACKEND to subprocs ( #28898 )
2021-06-08 16:10:27 +02:00
Electron Bot
b27c5b94f7
Bump v15.0.0-nightly.20210608
2021-06-08 06:00:58 -07:00
ZReC
330b7849a3
docs: fix typo ( #29553 )
...
* Typo fix
* Update main.js
2021-06-08 11:45:45 +09:00
John Kleinschmidt
556c91a989
ci: save artifacts before cleaning up big things on macOS ( #29578 )
2021-06-07 22:02:21 -04:00
Samuel Attard
8446ce1fc7
feat: add new imageAnimationPolicy webpref and webContents setter ( #29095 )
2021-06-08 11:00:22 +09:00
David Sanders
79cb5144ae
chore: use std::make_unique/base::MakeRefCounted when possible ( #29510 )
2021-06-08 11:00:05 +09:00
Shelley Vohr
a4decffe9a
fix: improper wrapping of fs.promises.readFile ( #29528 )
2021-06-07 21:19:39 +02:00
electron-roller[bot]
5665738ceb
chore: bump chromium to 93.0.4535.0 (main) ( #29549 )
...
* chore: bump chromium in DEPS to 93.0.4533.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4534.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4535.0
* chore: remove PdfViewerDocumentProperties from feature-flag conditional
https://chromium-review.googlesource.com/c/chromium/src/+/2938363
This feature is now enabled by default upstream.
* chore: remove kPdfViewerPresentationMode from feature-flag conditional
https://chromium-review.googlesource.com/c/chromium/src/+/2938037
This feature is now enabled by default upstream.
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: Charles Kerr <charles@charleskerr.com >
2021-06-07 14:09:41 -05:00
Samuel Attard
c48ec133a5
build: remove individual release build workflows ( #29344 )
...
* build: remove individual release build workflows
* build: ensure even builds we do not want to run have at least one step
2021-06-07 10:17:27 -04:00
David Sanders
070f25db54
fix: make intermediates work with 'select-client-certificate' ( #29552 )
2021-06-07 06:40:43 -07:00
Electron Bot
c5b0ba0c01
Bump v15.0.0-nightly.20210607
2021-06-07 06:02:04 -07:00
Jeremy Foster
fc10b53f95
docs: Update notifications (renderer) docs ( #29267 )
...
* remove version information from html
* change format for readability
* clarify which console the message should appear in
* minor changes to renderer.md
* update UI on click instead of developer console
* remove node-integration and fix md
* update content
* chore: remove ****
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-06-07 13:02:20 +09:00
Kevin Hartman
dd98fa3cd3
docs: Updated "recent documents" fiddle tutorial ( #29242 )
...
* Port recent-documents fiddle to 12-x-y.
* Update recent-documents tutorial.
* update for review comments
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com >
2021-06-07 10:43:24 +09:00
David Sanders
1a30f9f974
chore: update base class name in comment ( #29512 )
2021-06-07 10:18:17 +09:00
electron-roller[bot]
fa2db00e55
chore: bump chromium to 93.0.4532.2 (main) ( #29527 )
...
* chore: bump chromium in DEPS to 93.0.4531.0
* chore: update patches
* Remove IPC::Listener from WebContentsObserver
https://chromium-review.googlesource.com/c/chromium/src/+/2910240
* serial: Move serial policy from profile to local state
https://chromium-review.googlesource.com/c/chromium/src/+/2914194
* chore: fix pip test
* chore: bump chromium in DEPS to 93.0.4532.2
* chore: update patches
* Follow up ColorChooser clean ups
https://chromium-review.googlesource.com/c/chromium/src/+/2928026
* Distinguish between no default printer vs. query error
https://chromium-review.googlesource.com/c/chromium/src/+/2932396
* chore: remove build_do_not_include_vr_directx_helpers_when_enable_vr.patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-06-04 19:03:31 -07:00
Electron Bot
1c0e8a65c4
Bump v15.0.0-nightly.20210604
2021-06-04 06:01:20 -07:00
David Sanders
79ae8b427c
chore: return early on promise rejection ( #29279 )
2021-06-04 13:21:02 +09:00
David Sanders
8e1176cbc0
chore: pull ProxyingURLLoaderFactory closer to upstream class it mirrors ( #29486 )
...
* chore: pull ProxyingURLLoaderFactory closer to upstream class it mirrors
* chore: add another change which was accepted upstream
2021-06-04 13:18:02 +09:00
David Sanders
81c5da5221
chore: use =default for default constructors/destructors ( #29511 )
2021-06-04 13:16:13 +09:00
David Sanders
b1d1ac6524
fix: change ASAR archive cache to per-process to fix leak ( #29293 )
...
* fix: change ASAR archive cache to per-process to fix leak (#29292 )
* chore: address code review comments
* chore: tighten up thread-safety
* chore: better address code review comments
* chore: more code review changes
2021-06-04 10:49:08 +09:00
Milan Burda
00693bab30
refactor: use auto env = base::Environment::Create(); everywhere ( #29502 )
2021-06-04 09:23:06 +09:00
Electron Bot
5929d6335f
Bump v15.0.0-nightly.20210603
2021-06-03 09:50:54 -07:00
Jeremy Rose
b79fc79a01
docs: remove devDependencies badge from README ( #29499 )
2021-06-03 09:44:48 -07:00
electron-roller[bot]
8532e1239e
chore: bump chromium to 93.0.4530.0 (master) ( #29256 )
...
* chore: bump chromium in DEPS to 92.0.4512.6
* 2887336: [CaptureHandle][#2 ] Propagate CaptureHandleConfig in browser process
https://chromium-review.googlesource.com/c/chromium/src/+/2887336
* refactor: base::Optional -> absl::optional
* chore: fixup patch indices
* chore: bump chromium in DEPS to 92.0.4514.0
* 2899417: Make build work when enable_pdf is set to false.
https://chromium-review.googlesource.com/c/chromium/src/+/2899417
* 2904731: use BrowserContext instead of Profile in PreconnectManager
https://chromium-review.googlesource.com/c/chromium/src/+/2904731
* 2295749: fix: check IsSecureEventInputEnabled in constructor before setting SetPasswordInputEnabled to true
https://chromium-review.googlesource.com/c/chromium/src/+/2295749
* 2893803: Add a GetWebView to RenderFrame.
https://chromium-review.googlesource.com/c/chromium/src/+/2893803
* 2892345: Implement WebContents::ForEachRenderFrameHost
https://chromium-review.googlesource.com/c/chromium/src/+/2892345
* chore: fixup patch indices
* 2892048: Real instance methods for BrowserContext: remaining 5 methods.
https://chromium-review.googlesource.com/c/chromium/src/+/2892048
* 2902821: [mojo] Don't require full header includes for referenced interfaces
https://chromium-review.googlesource.com/c/chromium/src/+/2902821
* 2496500: Remove last deprecated extension Event ctor.
https://chromium-review.googlesource.com/c/chromium/src/+/2496500
* chore: fixup malformed pepper support patch
* chore: bump chromium in DEPS to 92.0.4515.0
* 2908461: Add CreateEmptyPrintPagesParamsPtr() inside print_view_manager_base.cc.
https://chromium-review.googlesource.com/c/chromium/src/+/2908461
* 2880838: viz: add optional HDRMetadata to TransferableResource
https://chromium-review.googlesource.com/c/chromium/src/+/2880838
* chore: fixup patch indices
* chore: bump chromium in DEPS to 92.0.4515.5
* chore: update patches
* chore: bump chromium in DEPS to 92.0.4515.7
* chore: bump chromium in DEPS to 92.0.4515.9
* chore: bump chromium in DEPS to 93.0.4522.0
* chore: bump chromium in DEPS to 93.0.4523.0
* chore: bump chromium in DEPS to 93.0.4524.0
* chore: update patches
* chore: enable_pak_file_integrity_checks was reverted
* chore: update patches
* refactor: base/optional was replaced with absl::optional
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace all usages of base::nullopt with absl::nullopt
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* chore: add missing base::Contains include
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace all usages of base::make_optional with
absl::make_optional
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace WorldScriptContext() with GetScriptContextFromWorldId
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2893213
* chore: clean up left over opening namespace
Refs: 95bfe6d08f
* chore: add missing base::Contains include
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace GetCurrentDisplayIterator with the hard checker
GetCurrentDisplay
This code looks suspicious but if the iterator was invalid before it
will also be invalid now.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2893191
* refactor: headers are now passed directly in extensions client
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2918906
* refactor: base::DictionaryValue::empty() has been removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2912424
* chore: add missing includes for network URLLoaderFactory
Refs: unknown, probably a side effect of header changes
* refactor: make convenience wrapper around AppendArg
There is no converter FromV8 for base::StringPiece (apparently its not
possible). So we now take in an std::string and use the construct for
StringPiece to do implicit conversion.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2905544
* chore: add patch
* chore: bump chromium in DEPS to 93.0.4525.0
* chore: update patches
* refactor: CanResize has been de-virtualized
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2485774
* chore: update resource integrity patch
* chore: add character encoding idl patch
* chore: bump chromium in DEPS to 93.0.4526.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4527.0
* chore: bump chromium in DEPS to 93.0.4528.0
* chore: update patches
* chore: update idl encoding patch
* chore: bump chromium in DEPS to 93.0.4529.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4530.0
* chore: update patches
* fix: only SetCanResize after the widget has been initialized
* chore: add patch for vr on windows gn gen
* spec: fix focus related tests on linux due to delay in focus swap
* chore: remove new usages of base::Optional from main
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-06-03 01:05:04 -07:00
Milan Burda
8d0ed05c99
refactor: replace a few usages of V8 hidden properties ( #29400 )
2021-06-03 14:59:56 +09:00
David Sanders
bb6903543c
docs: link to IncomingMessage ( #29457 )
2021-06-03 14:54:33 +09:00
Juan Cruz Viotti
d6d9a6a039
build: Improve squirrel.mac BUILD.gn xcrun_action error ( #29448 )
...
Right now, if executing `xcrun` fails, then the error message prints the
second argument to the `xcrun.py` script, which is the first argument to
the tool that `xcrun` is executing, making the whole error message quite
confusing.
Consider the following error:
```
python ../../third_party/squirrel.mac/build/xcrun.py dtrace -h -s /private/tmp/20210531211008-def376dc/src/third_party/squirrel.mac/vendor/ReactiveObjC/ReactiveObjC/RACSignalProvider.d -o /private/tmp/20210531211008-def376dc/src/out/release/gen/third_party/squirrel.mac/dtrace/RACSignalProvider.h
xcrun script '-h' failed with code '71':
xcrun: error: can't exec '/tmp/20210531211008-def376dc/dtrace' (errno=Permission denied)
```
The command that `xcrun` is executing is `dtrace`, but the error just
mentions the `-h` flag.
Notes: none
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-06-03 14:54:16 +09:00
Milan Burda
8040cb788f
test: add spec for --require filtering in NODE_OPTIONS ( #29501 )
2021-06-03 14:46:44 +09:00
Keeley Hammond
d8d6e2ebc0
build: update support.md on stable version bumps ( #29381 )
...
* build: update support.md on stable version bumps
* build: update supported on major stable & nightly bumps
* test: updateSupported tests
* chore: fix syntax
* chore: use fspromise in version-bumper script/spec
2021-06-02 12:53:23 -07:00
Jeremy Rose
8ce63a9f18
refactor: point prepare-release at main ( #29394 )
2021-06-02 12:21:20 -07:00
Milan Burda
44491b023a
refactor: eliminate duplicate C++ / JavaScript implementation of app.isPackaged ( #29464 )
2021-06-02 12:17:08 -07:00
Electron Bot
f0d3e1d1cf
Bump v15.0.0-nightly.20210602
2021-06-02 06:03:17 -07:00
David Sanders
97fde6dc9c
build: fix macOS build ( #29484 )
2021-06-02 19:42:07 +09:00
Cheng Zhao
3cfe5c6a21
fix: keep shifted character in menu accelerator ( #29202 )
...
* fix: correctly handle shifted char in accelerator
* test: use actual accelerator of NSMenuItem
* chore: simplify KeyboardCodeFromStr
* chore: GetAcceleratorTextAt is testing only
2021-06-02 16:32:48 +09:00
David Sanders
31190d4c6d
chore: use static_cast rather than C-style cast ( #29467 )
2021-06-02 00:32:10 -07:00
David Sanders
cb59bab8cf
chore: don't use after move ( #29468 )
2021-06-02 00:31:25 -07:00
Juan Cruz Viotti
f9213faec5
build: support building Electron on msys2 ( #29449 )
...
Electron already seems to support `cygwin`, so `msys` is a natural
addition. This is the only required change as far as I can see on my
local development environment, as otherwise the build scripts don't
realize that msys = windows.
Notes: none
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-06-02 16:29:19 +09:00
Shelley Vohr
d6109b2eb4
chore: remove unused methods ( #29438 )
2021-06-02 16:27:45 +09:00
Sergio Padrino
abf6f5c8ba
feat: add new runningUnderARM64Translation property to detect x64 translated apps running on Windows ARM ( #29168 )
...
* feat: add new runningUnderARM64Translation property to detect x64 translated apps running on Windows ARM
* docs: add documentation for the new runningUnderARM64Translation property
* refactor: clean up `IsRunningUnderARM64Translation` Windows implementation
* Return false if IsWow64Process2 doesn't exist
* Emit deprecation warning in runningUnderRosettaTranslation
2021-06-02 16:16:33 +09:00
Shelley Vohr
3b75549511
fix: inspector context menu throwing an error ( #29436 )
2021-06-01 20:39:48 -07:00
Jeremy Foster
dee4c4b908
docs: Updated "progress bar" fiddle feature in docs ( #29237 )
...
* improve progress bar fiddle
* add comments to code snippet
* edits to progress-bar tutorial
* remove versions and nodeIntegration
* limit line length to 100
* implement standard linter suggestions
* add indeterminate and clear timers
* update to have reader replace all of main.js
* remove extra button
* loop the progress bar
* add logic to show reset state briefly
* Update docs/tutorial/progress-bar.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* chore: fix lint
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-06-02 11:41:13 +09:00
Samuel Maddock
f9d2a7077e
feat: include resize edge with will-resize event ( #29199 )
...
* feat: emit resize edge with will-resize event
fix: wparam type
fix: private member usage on mac
docs: will-resize event edge option
refactor: 'info' -> 'details' for better type gen
* Update docs/api/browser-window.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* Update docs/api/browser-window.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-06-02 11:37:10 +09:00
Jeremy Rose
750a762bf0
feat: support loading debug urls with loadURL() ( #29404 )
2021-06-01 17:17:15 -07:00
Electron Bot
fa703016f0
Bump v15.0.0-nightly.20210601
2021-06-01 06:02:35 -07:00
David Sanders
a1a649c0d6
chore: remove duplicate option get for CustomScheme ( #29422 )
2021-06-01 17:47:12 +09:00
Cheng Zhao
0444d74830
fix: Alt+Click should not toggle menu bar ( #29318 )
2021-06-01 17:42:47 +09:00
Pete Torres
19dce8caa5
docs: adjust markdown link syntax in introduction.md ( #29426 )
...
Co-authored-by: peteness <hello@peteness.org >
2021-06-01 09:32:50 +02:00
David Sanders
80a039ec40
chore: move destructors to header so they can be trivially destructible ( #29379 )
2021-05-31 21:00:09 -07:00
Cheng Zhao
d74ad51826
fix: correctly handle Alt+Key shortcuts ( #29328 )
2021-06-01 10:48:52 +09:00
David Sanders
0208e4adad
chore: use HTTP status code constants ( #29378 )
2021-06-01 10:47:53 +09:00
David Sanders
ba26580f23
chore: use consistent parameter names ( #29361 )
2021-06-01 10:46:25 +09:00
David Sanders
d18dbdd72b
fix: add service worker schemes from command line in renderer ( #29425 )
2021-06-01 10:45:23 +09:00
David Sanders
038359a7d8
chore: fix typos in comments ( #29401 )
2021-06-01 10:42:38 +09:00
David Sanders
93c9374e95
chore: trim unused STL includes ( #29414 )
2021-06-01 10:34:44 +09:00
Samuel Attard
71fff6ea0e
build: merge chromedriver gen and build ( #29439 )
2021-05-31 16:20:40 -07:00
Electron Bot
73adee6d53
Bump v15.0.0-nightly.20210531
2021-05-31 06:05:57 -07:00
dependabot[bot]
646b79470a
build(deps-dev): bump ws from 6.2.1 to 7.4.6 in /spec ( #29416 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/6.2.1...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 11:53:07 +02:00
Vishal
049d81e590
docs: fix issue with reference links ( #29384 )
2021-05-31 11:52:44 +02:00
Jeremy Rose
95bb0ba001
fix: use default_branch in release-notes ( #29415 )
2021-05-30 17:22:33 -07:00
Jeremy Rose
750ebfdbca
refactor: use main in release-notes ( #29395 )
2021-05-28 12:14:50 -07:00
Jeremy Rose
a61f1446bc
refactor: publish-to-npm respects main ( #29375 )
2021-05-28 12:13:12 -07:00
Electron Bot
221d4abca4
Bump v15.0.0-nightly.20210528
2021-05-28 06:01:45 -07:00
David Sanders
bedd587784
docs: update link to Chromium's coding style guide ( #29330 )
2021-05-27 19:07:46 -07:00
Jeremy Rose
1373a030b4
refactor: version-utils respects main ( #29374 )
2021-05-27 17:32:37 -07:00
Jeremy Rose
f664f37793
refactor: getCurrentBranch respects main ( #29369 )
2021-05-27 17:32:16 -07:00
Jeremy Rose
f3dff819fc
docs: remove freenode channel from support list ( #29370 )
2021-05-27 15:53:39 -07:00
David Sanders
d80e36bcdb
chore: simplify WrappableBase::SecondWeakCallback ( #29359 )
2021-05-27 13:15:25 -07:00
David Sanders
9bb7051f54
chore: prefer empty() check for readability ( #29360 )
2021-05-27 13:08:30 -07:00
David Sanders
77ecc7d432
chore: fix typos in comments ( #29362 )
2021-05-27 11:48:03 -07:00
aydon
9fcdb06272
Update quick-start.md ( #29333 )
...
In version 13.0.1 preload process should added to webPreferences.
2021-05-27 11:46:32 -07:00
Electron Bot
cc93b8acc0
Bump v15.0.0-nightly.20210527
2021-05-27 11:06:31 -07:00
Jeremy Foster
5e033cb7f8
docs: Update notifications (main) docs ( #29268 )
...
* remove version info from index.html page
* remove nodeIntegration
* format code and update readme
* add note to user in index.html
2021-05-27 10:18:50 +09:00
David Sanders
36bca3278d
docs: fix typos in clang-tidy examples ( #29327 )
2021-05-27 09:45:37 +09:00
Erick Zhao
bb26060564
docs: fix link to docs/fiddle/quick-start ( #29325 )
2021-05-27 09:45:23 +09:00
Cheng Zhao
acce13234e
fix: close autoHide menu bar when focus is lost ( #29320 )
2021-05-27 09:36:15 +09:00
George Xu
386572bb86
Chore: update Windows build instructions ( #29342 )
...
update "Change" to "Modify" to reflect the actual options the user sees when opening visual studio installer
2021-05-26 14:19:43 -07:00
Samuel Attard
7984933e9c
feat: add experimental cookie encryption support ( #27524 )
...
* feat: add experimental cookie encryption support on macOS
* chore: fix TODO
* update patches
* feat: make cookie encryption work on windows
* chore: update cookie encryption support comments
* fix: only call OSCrypt::Init on windows
* chore: make cookie encryption work on linux
* Update shell/browser/net/system_network_context_manager.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: fix lint
* chore: update patches
* chore: update patches to upstreamed variants
* chore: use chrome ::switches constants
* chore: remove bad patch
* build: disable cookie encryption by default
* chore: update patches
* fix: provide std::string to NoDestructor
* chore: fix macos, nodestructor syntax
* build: fix macOS build due to mismatch in DEFINE
Co-authored-by: Electron Bot <electron@github.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-05-26 12:16:55 -07:00
Samuel Attard
f01e35f4ea
feat: add support for Blob's going over the ctx bridge ( #29247 )
2021-05-26 10:34:29 -07:00
John Kleinschmidt
d0b9a931cc
build: ensure that mksnapshot for Apple Silicon has all of the needed files for snapshot generation ( #29338 )
...
* build: include mksnapshot args in arm64 mksnapshot.zip
* get gen/v8/embedded.S from proper location
2021-05-26 12:08:32 -04:00
David Sanders
ac079f11f3
chore: use base::Time::Now() directly ( #29331 )
2021-05-26 02:24:44 -07:00
Samuel Attard
da35a8af31
build: remove unused build job ( #29299 )
2021-05-25 11:19:28 -07:00
Electron Bot
e3dfe7366a
Bump v14.0.0-nightly.20210524
2021-05-24 09:17:34 -07:00
Sofia Nguy
e69d0802a7
docs: update 14.0.0 stable dates ( #29255 )
...
* docs: update 14.0.0 stable dates
* Update docs/tutorial/electron-timelines.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2021-05-24 08:43:33 -07:00
Michaela Laurencin
8f2765745c
docs: update currently supported versions for 13.0.0 release ( #29295 )
2021-05-24 08:40:26 -07:00
Milan Burda
8fc86517fa
refactor: expose process.contextId directly ( #29236 )
2021-05-24 16:51:54 +09:00
Ethan Arrowood
12aa6d7343
docs: Update online detection doc and fiddle ( #29212 )
...
* rework online detection doc and fiddle
* add footnote
* Update docs/tutorial/online-offline-events.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/tutorial/online-offline-events.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/tutorial/online-offline-events.md
* Update docs/tutorial/online-offline-events.md
* Update docs/tutorial/online-offline-events.md
* chore: fix lint error
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-05-24 16:34:00 +09:00
Samuel Attard
3ffaaf1872
build: ensure gclient cache restore works in release builds
2021-05-23 19:42:36 -07:00
Samuel Attard
e345ef13ca
build: ensure object files are included even if unparsable
2021-05-23 19:42:36 -07:00
Jeremy Rose
32d8809283
chore: remove unused patch chunk from bad merge ( #29248 )
...
* chore: remove unused patch chunk from bad merge
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-05-24 11:36:38 +09:00
Kevin Hartman
7209702278
Use path.join when logging screenshot path. ( #29211 )
...
Remove index.html from offscreen-rendering tutorial.
It is not used.
Update offscreen-rendering.md to reflect changes to fiddle.
2021-05-24 11:33:45 +09:00
Tony Ferrell
77e7d828ee
docs: Update docs for keyboard shortcuts ( #29207 )
...
* Update docs for keyboard shortcuts
* Add a fiddle for web-apis
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Cleanup a few formatting errors and missed copies
* Add descriptions to index.html
* Focus on renderer
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-24 11:33:22 +09:00
Milan Burda
241cceb2c9
refactor: eliminate duplicate code ( #29174 )
2021-05-24 11:32:55 +09:00
Erick Zhao
6330f8be9f
docs: rework introduction docs ( #29062 )
...
* docs: add 'introduction' doc
* note
* wip
* updates
* wip
* wip
* wip
* add missing code
* wip
* add image for chrome processes
* process model wip
* finish line?
* update links
* Update docs/README.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Update docs/tutorial/introduction.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/process-model.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/process-model.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/process-model.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* address code review
* Update docs/tutorial/application-distribution.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* remove wip doc
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-05-24 11:32:36 +09:00
Electron Bot
959375affb
Bump v14.0.0-nightly.20210523
2021-05-23 17:17:02 -07:00
Samuel Attard
47a6e72114
build: linux publish builds that direct checkout should use git cache
2021-05-23 17:14:40 -07:00
Samuel Attard
1d77af0aff
build: only upload libcxx headers on linux
2021-05-23 17:11:21 -07:00
Keeley Hammond
845f756eb6
build: correct libcxx_objects build action name ( #29296 )
2021-05-23 17:10:54 -07:00
Electron Bot
eb4f5e18e6
Revert "Bump v14.0.0-nightly.20210523"
...
This reverts commit 06a8cab4c1 .
2021-05-23 17:08:02 -07:00
Electron Bot
06a8cab4c1
Bump v14.0.0-nightly.20210523
2021-05-23 15:04:01 -07:00
Keeley Hammond
d03325541f
test: rebuild nan tests with libc++ and libc++abi ( #29281 )
...
* test: re-enable nan test: typedarrays-test.js
Fixes #28414 .
I've confirmed this fix wfm on Linux. Pushing into a PR to get CI to run
it out on Win and Mac platforms too.
* chore: clarify comment
* test: fix NAN test string alignment
* test: (wip) add ldflags, archive file for libc++
* test: (wip) add libc++ to CircleCI
* test: (wip) add llvm flags
* test: (wip) change ldflag syntax
* test: (wip) build libc++abi as static
* fix: correct ldflags
* test: add ld env
* fix: do not commit this
* test: add lld from src to circleci
* test: add lld link to ld
* chore: preserve third_party
* seems legit
* sam swears this works kinda sort of sometimes'
:
* build: add gn visibility patch
* chore: update patches
* build: check for flatten_relative_to = false
* build: upload zip files, add to release.js validation
* debug: what the hell gn
* build: add libcxx gni to lint ignore
Linting the file adjusted the licenses array, which only contains
one value, and causes the gn check to fail later
* build: also use nan-spec-runner flags on Windows
* build: add linked flags for win32 only
* build: build libc++ as source on win
* build: clean up patch, add -fPIC for IA32
* build: delete libcxx .a files from root
* build: rename libc++.zip, clean up upload per platform
* build: fix gni lint
* ci: add libcxx gen to circleci config
* build: correct libcxx-object syntax
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-05-22 11:48:38 -07:00
Cheng Zhao
259bf8c4f7
refactor: remove accessible_pane_view.patch ( #29262 )
2021-05-21 10:00:47 -07:00
Electron Bot
4e2934a872
Bump v14.0.0-nightly.20210520
2021-05-20 06:03:58 -07:00
electron-roller[bot]
039f3d5cd2
chore: bump chromium to 92.0.4511.0 (master) ( #29173 )
2021-05-19 16:15:47 -07:00
John Kleinschmidt
d79ebc6dc6
fix: pdf viewer permissions ( #29210 )
...
* fix: pdf viewer permissions
* fixup for getAllExtensions
2021-05-19 16:08:24 -07:00
Jeremy Rose
cd3c6f9e37
chore: put "mas" in the names of mas patches ( #29213 )
2021-05-19 11:20:12 -07:00
electron-roller[bot]
87dfe1ba99
chore: bump node to v14.17.0 (master) ( #29151 )
2021-05-19 15:48:46 +02:00
Electron Bot
71e232f36d
Bump v14.0.0-nightly.20210519
2021-05-19 06:02:51 -07:00
Robo
77297f37a3
fix: adjust initial webContents focus calculation ( #29204 )
...
* fix: adjust initial webContents focus calculation
* fix: active window check on mac
* fix: about:blank focus behavior
* chore: add spec
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com >
2021-05-19 02:27:35 -07:00
Tabea4
014bdc9f8a
docs: option title for showSaveDialog is not supported for some platforms ( #28747 )
2021-05-19 09:44:17 +02:00
Erick Zhao
6f9df7983d
docs: update style guide ( #29029 )
...
* clearer heading rules
* docs: clarify documentation style guide rules
* Update docs/styleguide.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* fixes
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-05-19 11:55:36 +09:00
Samuel Maddock
d518b6abc8
fix: window bounds not scaled from screen coordinates ( #29162 )
2021-05-19 10:34:40 +09:00
Milan Burda
2806664bd0
fix: AdjustAmountOfExternalAllocatedMemory regression in NativeImage destructor ( #29179 )
2021-05-19 10:04:34 +09:00
Tony Ferrell
071fa2ab8f
docs: update the macos Dock Instructions ( #29197 )
...
* Update the macos Dock Instructions
* Remove preload and ;'s
* Mixed ;s
* Update dock doc
* Add informational text to index.html
2021-05-19 10:03:13 +09:00
Ethan Arrowood
5656493676
docs: update macos-dark-mode fiddle and guide content ( #29198 )
...
* update macos dark mode docs for Electron v12
* pr review fixes
* more pr review fixes
* reorg paragraphs for better flow
* Update docs/tutorial/dark-mode.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* pr fixes
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-19 10:02:12 +09:00
Tony Ferrell
adb85f341b
docs: update drag and drop tutorial ( #29200 )
...
* Working
* Working
* Make the native-file drag and drop documents use context bridge
* Add per-file sections
* Use the updated link format
* Use path.join instead of string interpolation.
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Use fs.promises
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Update docs/tutorial/native-file-drag-drop.md
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* fix formatting
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Update docs/tutorial/native-file-drag-drop.md
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Use more path.join instead of interpolation
* Update with PR suggestions
* Remove process.cwd() and add more example elements
* Minor text fix
* Fix typo
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-19 09:55:24 +09:00
Thomas Kainrad
af426cbdab
Update accelerator.md ( #29193 )
...
`Meta` is a valid alternative for `Super` and should be listed as an available modifier.
2021-05-19 09:52:06 +09:00
Jeremy Rose
1bfc16b65a
docs: expand description of isolate_holder.patch ( #29209 )
2021-05-18 15:44:57 -07:00
Jeremy Rose
99d74799fb
docs: expand description of desktop_media_list.patch ( #29208 )
2021-05-18 15:44:46 -07:00
Jeremy Rose
8cfd249981
chore: drop thread_capabilities.patch ( #29135 )
2021-05-18 15:44:33 -07:00
Jeremy Rose
9b164e5e16
chore: remove blink_fix_prototype_assert ( #29194 )
2021-05-18 15:44:11 -07:00
Jeremy Rose
dcbabcb23c
refactor: remove ssl_security_state_tab_helper.patch ( #29196 )
2021-05-18 10:08:53 -07:00
Electron Bot
aeb566c38e
Bump v14.0.0-nightly.20210518
2021-05-18 06:04:55 -07:00
Jeremy Rose
33035f96a2
chore: remove add_realloc.patch ( #29131 )
2021-05-17 19:34:04 -07:00
Jeremy Rose
4fe8005f27
chore: remove unused function from render_widget_host_view_base.patch ( #29134 )
2021-05-17 15:37:03 -07:00
Jeremy Rose
8f7a385f94
chore: remove blink-worker-enable-csp-in-file-scheme.patch ( #29136 )
2021-05-17 15:16:54 -07:00
Jeremy Rose
04888d2b1f
chore: uncomment some DCHECKs ( #29132 )
2021-05-17 13:24:34 -07:00
Electron Bot
1f5d1a4704
Bump v14.0.0-nightly.20210517
2021-05-17 06:03:41 -07:00
Milan Burda
c68c65f383
refactor: implement <webview> using contextBridge ( #29037 )
...
* refactor: implement <webview> using contextBridge
* chore: address PR feedback
* chore: address PR feedback
* fix: check for HTMLIFrameElement instance in attachGuest
2021-05-15 16:42:07 +09:00
Noelle Leigh
5e6f8349ec
docs: --force-fieldtrials was h2 rather than h3 ( #29161 )
...
All the other argument headers were h3 (`###`) but `--force-fieldtrials` was h2 (`##`) for some reason.
I changed it to make it consistent with the others.
2021-05-14 18:32:21 -07:00
Electron Bot
1c3339640a
Bump v14.0.0-nightly.20210514
2021-05-14 06:05:22 -07:00
Shelley Vohr
cba6626af8
fix: ensure extensions w/o a background page have file access ( #29123 )
2021-05-14 14:06:55 +02:00
Shelley Vohr
b7a23450b7
fix: illegal access errors with nodeIntegrationInSubFrames ( #29093 )
2021-05-14 13:36:15 +02:00
Cheng Zhao
4073599f59
fix: remove background color hack in vibrancy ( #29114 )
2021-05-14 11:05:34 +02:00
Electron Bot
2eb3bddb05
chore: bump chromium to 92.0.4505.0 (master) ( #29058 )
...
* chore: bump chromium in DEPS to 92.0.4500.2
* resolve conflicts
* update patches
* chore: cherry-pick 82434206f306 from chromium (#29060 )
* fix patch
* chore: bump chromium in DEPS to 92.0.4501.0
* chore: bump chromium in DEPS to 92.0.4502.0
* chore: bump chromium in DEPS to 92.0.4503.0
* chore: update patches
* 2869869 : [Code Health] Refactor ListValue::Insert in gpu compositor
https://chromium-review.googlesource.com/c/chromium/src/+/2869869
* 2877924: Separate InkDropHost from InkDropHostView
https://chromium-review.googlesource.com/c/chromium/src/+/2877924
* chore: bump chromium in DEPS to 92.0.4504.0
* update patches
* Fixup for Separate InkDropHost from InkDropHostView
https://chromium-review.googlesource.com/c/chromium/src/+/2877924
* 2873469: Compute hashes of .pak files during the build, and check it at runtime.
https://chromium-review.googlesource.com/c/chromium/src/+/2873469
* 2874397: Remove flag to disable microtasks scope consistency checks
https://chromium-review.googlesource.com/c/v8/v8/+/2874397
* 2881471: Remove unneeded trace_event.h includes in headers.
https://chromium-review.googlesource.com/c/chromium/src/+/2881471
* 2844717: [Keyboard Tooltip] Rename RWHV*::SetTooltipText to UpdateTooltipUnderCursor
https://chromium-review.googlesource.com/c/chromium/src/+/2844717
* chore: bump chromium in DEPS to 92.0.4505.0
* chore: update patches
* 2883887: Retire ScopedObserver in /chrome/browser/predictors.
https://chromium-review.googlesource.com/c/chromium/src/+/2883887
* 2883694: Retire ScopedObserver in /chrome/browser.
https://chromium-review.googlesource.com/c/chromium/src/+/2883694
* fixup after merge
* fixup: Remove flag to disable microtasks scope consistency checks
* Temporarily disable setcallhandler-test.js nan test
This test should be renabled once https://github.com/electron/electron/pull/29028 lands
* Use gin_helper::MicrotasksScope instead of v8::MicrotasksScope
* chore: bump chromium in DEPS to 92.0.4506.0
* update patches
* Revert "update patches"
This reverts commit 333ec0d4c2 .
* Revert "chore: bump chromium in DEPS to 92.0.4506.0"
This reverts commit 2bd52f8cd8 .
* Fixup: Use gin_helper::MicrotasksScope instead of v8::MicrotasksScope
* Fixup: Use gin_helper::MicrotasksScope instead of v8::MicrotasksScope
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2021-05-13 21:21:36 -04:00
Electron Bot
9cf71d72ab
Bump v14.0.0-nightly.20210513
2021-05-13 06:04:22 -07:00
Samuel Attard
4b70ccde26
build: make patch auto fixes come from PatchUp rather than Electron Bot ( #29153 )
2021-05-13 00:23:00 -07:00
Samuel Attard
e1b58182b9
build: save the ninja log for release builds too ( #29140 )
2021-05-12 23:42:16 -07:00
Ondreas
5e1d50d020
docs: update "list" of docs languages in readme.md file ( #29073 )
2021-05-13 11:12:35 +09:00
PalmerAL
5233feaef9
docs: Improve description of findInPage options ( #29077 )
...
* docs: improve webContents.findInPage description
* docs: improve webview.findInPage description
2021-05-13 11:12:08 +09:00
Cheng Zhao
c0bfef16a0
docs: revise Mac App Store Submission Guide ( #28922 )
...
* docs: revise Mac App Store Submission Guide
* chore: update repo URL
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* chore: apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* chore: update to match style guide
* chore: add cross reference
* chore: fix inaccurate places
* chore: apply reviews
* chore: add link to provisioning profile
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-13 11:01:36 +09:00
Samuel Attard
65ff8d940b
build: store artifacts in simpler way ( #29133 )
2021-05-12 18:34:29 -07:00
Samuel Attard
84cc72c415
build: rename and unify checkout-fast and checkout-and-save-cache ( #29138 )
...
Checkout fast was slower and checkout-and-save-cache sometimes didn't save a cache... Basically this unifies our checkout-and-save-cache steps under the existing electron-build command so less steps are duplicated and renames checkout-fast and checkout-and-save-cache to be more aligned with what they actually do.
* `checkout-fast` --> `checkout-for-workspace`: Checks out a fully synced directory and then persists to a workspace layer
* `checkout-and-save-cache` --> `make-src-cache`: Ensures that there is a valid and accurate src cache for this commit. It doesn't always check it out, sometimes it early outs via the src-cache-marker
Notes: no-notes
2021-05-12 18:15:44 -07:00
Samuel Attard
3869bb2b29
build: dedupe release summary jobs ( #29139 )
2021-05-12 18:14:38 -07:00
Milan Burda
3ad9c27823
chore: add wg-security as required reviewer for other files with IPC handlers ( #29092 )
2021-05-12 12:04:06 -07:00
Jeremy Rose
c13a523a79
chore: remove no-op EnableWebComponentsV0 feature ( #29107 )
2021-05-12 12:03:18 -07:00
Tabish Mahfuz
5ceec9189e
fix: Menu.setApplicationMenu can return a useless array 29088 ( #29118 )
2021-05-12 12:02:30 -07:00
Samuel Attard
432ce94d20
build: split tests by timing to make it more even ( #29121 )
2021-05-12 11:59:30 -07:00
Samuel Attard
48959d72f6
build: unconditionally include stack_trace.h ( #29110 )
2021-05-12 11:59:20 -07:00
Samuel Attard
abdd349e58
build: use autoninja to print stats ( #29111 )
2021-05-12 11:40:39 -07:00
Electron Bot
ad0d236ea3
Bump v14.0.0-nightly.20210512
2021-05-12 06:02:43 -07:00
Samuel Attard
8944bceae2
build: merge double space in SHASUM validation logic ( #29117 )
2021-05-12 01:49:16 -07:00
Milan Burda
a51aaeb28f
refactor: replace v8::Local<T>::Cast() with As<T>() ( #29097 )
2021-05-12 16:38:21 +09:00
dependabot[bot]
e01faedaa5
build(deps): bump lodash from 4.17.20 to 4.17.21 ( #29066 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 14:02:14 -07:00
Keeley Hammond
06f51b7283
fix: prevent crash on web-contents creation when error is thrown ( #28971 )
...
* fix: prevent crash when error occurs during event emitter CallMethod
* wip: emit error event within trycatch
* fix: handle uncaught exceptions within node on web_contents init
* fix: create gin_helper::CallMethodCatchException
* test: add web-contents create crash to test cases
* test: clean up test data for web-contents crash
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* fix: convert CatchException to WebContents static helper method
* fix: restore try_catch to callsite
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-05-11 13:57:11 -07:00
Samuel Attard
82946133b1
build: do not use a shared checkout for linux publish ( #29076 )
2021-05-11 09:31:10 -07:00
Samuel Attard
35f2ed8978
build: offload hash checking logic to lambda worker during release ( #29096 )
2021-05-11 09:30:35 -07:00
Electron Bot
2b84d79b18
Bump v14.0.0-nightly.20210511
2021-05-11 06:02:53 -07:00
Shelley Vohr
821c81f5ee
fix: update NSView radii on fullscreen transition ( #29084 )
2021-05-11 09:45:21 +02:00
dependabot[bot]
dca3b41ee6
build(deps): bump hosted-git-info from 2.7.1 to 2.8.9 ( #29079 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 16:43:19 -07:00
Electron Bot
e9b18a8e2a
Bump v14.0.0-nightly.20210510
2021-05-10 12:15:36 -07:00
Samuel Attard
33229f6a27
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit 5167d11bfc .
2021-05-10 11:34:07 -07:00
Electron Bot
5167d11bfc
Bump v14.0.0-nightly.20210510
2021-05-10 11:33:30 -07:00
Samuel Attard
3d6adb8c76
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit cb05a1d82f .
2021-05-10 11:31:25 -07:00
Electron Bot
cb05a1d82f
Bump v14.0.0-nightly.20210510
2021-05-10 11:28:29 -07:00
Samuel Attard
f0ad7dd315
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit b1b8db362f .
2021-05-10 11:17:00 -07:00
Electron Bot
b1b8db362f
Bump v14.0.0-nightly.20210510
2021-05-10 11:15:52 -07:00
Samuel Attard
2173f7b60b
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit d3ee141d90 .
2021-05-10 11:11:03 -07:00
Electron Bot
d3ee141d90
Bump v14.0.0-nightly.20210510
2021-05-10 11:01:58 -07:00
Milan Burda
aea8d5325c
fix: webFrame spell checker APIs crashing in sandboxed renderers ( #29053 )
2021-05-10 14:19:23 +02:00
Samuel Attard
1336978de9
build: use executors instead of YAML templating ( #29075 )
2021-05-10 01:18:59 -07:00
Electron Bot
71e0fb7039
Revert "Bump v14.0.0-nightly.20210508"
...
This reverts commit 9ec43a5092 .
2021-05-08 22:47:43 -07:00
Electron Bot
9ec43a5092
Bump v14.0.0-nightly.20210508
2021-05-08 21:55:46 -07:00
Electron Bot
d1219a74cb
Revert "Bump v14.0.0-nightly.20210508"
...
This reverts commit 12d76bea53 .
2021-05-08 21:52:42 -07:00
Electron Bot
12d76bea53
Bump v14.0.0-nightly.20210508
2021-05-08 21:47:21 -07:00
Electron Bot
0b816592ee
Revert "Bump v14.0.0-nightly.20210508"
...
This reverts commit 3f66dd5765 .
2021-05-08 21:19:46 -07:00
Electron Bot
3f66dd5765
Bump v14.0.0-nightly.20210508
2021-05-08 21:12:43 -07:00
Milan Burda
49ef1fe342
refactor: use WeakMap instead of hidden V8 properties to store WebViewImpl ( #29049 )
2021-05-07 17:56:22 -07:00
Electron Bot
de55bf8459
Bump v14.0.0-nightly.20210507
2021-05-07 09:21:35 -07:00
Milan Burda
25f5c01cec
refactor: remove setupWebViewAttributes gymnastics ( #29032 )
2021-05-07 09:07:47 +02:00
Electron Bot
d5f2eb5a81
chore: bump chromium to 92.0.4499.0 (master) ( #29046 )
2021-05-06 15:01:04 -07:00
Milan Burda
cbba602eae
chore: cleanup dead <webview> related code ( #29039 )
2021-05-06 13:56:05 -07:00
Milan Burda
dab9a88413
refactor: invoke loadURL in SrcAttribute instead of sending IPC directly ( #29031 )
2021-05-06 13:55:32 -07:00
Fedor Indutny
ad4def9af7
chore: cherry-pick 7abc7e45b2 from node ( #29021 )
...
Backports: https://github.com/nodejs/node/pull/38506
2021-05-06 08:04:11 -07:00
Electron Bot
1fc230158b
Bump v14.0.0-nightly.20210506
2021-05-06 06:04:34 -07:00
Erick Zhao
8f8708680f
docs: rework sandbox guide ( #28978 )
...
* docs: rework sandbox guide
* update doc name
* add missing comment to code sample
* Update docs/tutorial/sandbox.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* Update docs/tutorial/sandbox.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* Update docs/tutorial/sandbox.md
Co-authored-by: Biru Mohanathas <birunthan@mohanathas.com >
* load https in the examples
* change `process` docs to Electron's
* remove bit on chrome://sandbox page
* Update docs/tutorial/sandbox.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update docs/tutorial/sandbox.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* clarify sandbox default posture
* clarify tasks sandboxed renderers need ipc for
* clarify polyfilled preload environment
* emphasize that --no-sandbox is bad
* clarify preload polyfill `require`
* format markdown references properly
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Biru Mohanathas <birunthan@mohanathas.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-05-06 20:53:55 +09:00
Shelley Vohr
a264fc891d
chore: update force/warn context aware patch ( #29011 )
...
* chore: update force/warn context aware patch
* chore: update patches
2021-05-06 20:53:32 +09:00
Matthijs Groen
28143774c1
docs: menu must be added on whenReady ( #28958 )
2021-05-06 10:19:06 +02:00
Milan Burda
2c65060ec8
chore: make raw requires type-safe ( #29006 )
...
* chore: make raw requires type-safe
* refactor: no need for separate webViewImplModule
* refactor: no need for separate guestViewInternalModule
2021-05-05 18:05:01 -07:00
Samuel Attard
8d0e7aed9f
spec: attempt to fix flaky nativeTheme spec ( #29022 )
2021-05-05 18:04:38 -07:00
Electron Bot
9d9921b533
chore: bump chromium to 92.0.4498.0 (master) ( #28991 )
2021-05-05 16:26:17 -07:00
Milan Burda
2086e1903c
refactor: 'focus-change' does not need guestInstanceId ( #29001 )
...
* refactor: 'focus-change' does not need guestInstanceId
* refactor: rename internal 'focus-change' event to '-focus-change'
2021-05-05 11:37:40 -07:00
Milan Burda
476e908269
fix: <webview> focus / blur events don't work with contextIsolation enabled ( #29004 )
2021-05-05 11:31:44 -07:00
Samuel Attard
16236a195b
chore: remove unused patched webprefs ( #29002 )
2021-05-05 11:28:09 -07:00
Samuel Attard
9b144a6a97
chore: remove patch post renderer process reuse removal ( #29003 )
...
This patch says we can remove it once app.allowRendererProcessReuse was removed, and uh, it has been removed. So let's remove this patch and see what happens.
2021-05-05 10:49:03 -07:00
Shelley Vohr
e379b455c9
fix: drag region BrowserView calculations on macOS ( #28984 )
2021-05-05 11:37:59 -05:00
Samuel Attard
71c248176b
build: remove macOS nightly release tests ( #29005 )
2021-05-05 11:40:38 -04:00
Electron Bot
014f2e622e
Bump v14.0.0-nightly.20210505
2021-05-05 06:02:38 -07:00
Hamish Macpherson
9fb3a49c7c
docs: link to BrowserView from webview page ( #28942 )
...
* docs: Link to `BrowserView` from `webview` page
* fix relative link
2021-05-05 16:12:16 +09:00
Milan Burda
42e5421276
refactor: remove unnecessary setupDialogProperties ( #28982 )
2021-05-05 16:00:41 +09:00
Milan Burda
961b74b2ac
refactor: use "as const" for constant mappings ( #28980 )
2021-05-04 14:12:49 -07:00
Electron Bot
a699dfdf83
Bump v14.0.0-nightly.20210504
2021-05-04 11:48:36 -07:00
Samuel Attard
1dae3da901
Revert "Bump v14.0.0-nightly.20210504"
...
This reverts commit 38c877e9d3 .
2021-05-04 11:42:54 -07:00
Samuel Attard
e5e8ab4eea
refactor: remove more dead code post render process reuse ( #28983 )
...
* Overrides for window.history.*
* Node environment cleanup / creation logic
* Options and switches that are now static values
2021-05-04 11:30:29 -07:00
Electron Bot
38c877e9d3
Bump v14.0.0-nightly.20210504
2021-05-04 07:31:49 -07:00
Milan Burda
a0589ca5d7
chore: remove unused element_instance_id_to_guest_map_ from WebViewManager ( #28979 )
2021-05-04 09:59:44 -04:00
Shelley Vohr
3d6343ed51
fix: close attached sheet on window close ( #28967 )
2021-05-04 12:11:16 +02:00
Erick Zhao
41bb3f1321
docs: update REPL guide ( #28943 )
...
* docs: update REPL guide
* Update docs/tutorial/repl.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-05-04 17:17:04 +09:00
Electron Bot
005101424a
chore: bump chromium to 92.0.4496.0 (master) ( #28907 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-05-03 20:13:46 -07:00
Fedor Indutny
99909baeac
fix: allow Node.js to manage microtasks queue ( #28957 )
...
* fix: allow Node.js to manage microtasks queue
When `uv_run()` resulted in invocation of JS functions the microtask
queue checkpoint in Node's CallbackScope was a no-op because the
expected microtask queue policy was `kExplicit` and Electron ran under
`kScoped` policy. This change switches policy to `kExplicit` right
before `uv_run()` and reverts it back to original value after `uv_run()`
completes to provide better compatibility with Node.
* add comment
2021-05-03 14:30:12 -07:00
Rajdeep Chatterjee
dd80952877
docs: Added loadFile instead of loadURL in BrowserWindow documentation example ( #28829 )
...
* Added loadFile instead of loadURL in the example
For loading a local file the loadFile API is a better way to load any html file in the Renderer process.
Have changed it in the example.
* Changed backticks to single quote to correct for linting error
In order to correct the linting error reported by the bot, I have changed backticks to single quote in the example.
2021-05-03 13:56:33 -04:00
Milan Burda
0f898b2260
chore: Browser::SetAppUserModelID is Windows only ( #28909 )
2021-05-03 12:13:19 -04:00
Electron Bot
b0167b269a
Bump v14.0.0-nightly.20210503
2021-05-03 07:34:17 -07:00
Erick Zhao
c17f5a783c
docs: remove reference to global Electron install ( #28945 )
...
* docs: remove reference to global Electron install
This is a pattern that we actively want to discourage.
* docs: update as per review suggestion
2021-05-03 16:25:34 +02:00
Robo
dc0c52eaa7
build: enable woa testing ( #28952 )
...
* chore: revert clang roll
* Revert "build: temporarily disable WOA testing (#28916 )"
This reverts commit 5a9a298a74 .
2021-05-03 09:53:51 -04:00
Jeremy Rose
9601dc59fc
refactor: replace --offscreen flag with ApplyWebPreferences ( #28938 )
2021-05-03 15:28:14 +02:00
Electron Bot
e0fa327daf
Bump v14.0.0-nightly.20210430
2021-04-30 07:34:14 -07:00
Keeley Hammond
bfed86126c
build: add release-env context to publish-macos ( #28937 )
2021-04-29 13:34:58 -07:00
Jeremy Rose
ee8b69d067
refactor: plumb RFH instead of RPH for notifications ( #28790 )
2021-04-29 11:23:28 -07:00
Shelley Vohr
37f7e66873
build: fix npm-run python bytes error ( #28932 )
2021-04-29 19:20:36 +02:00
Electron Bot
77444867b7
Bump v14.0.0-nightly.20210429
2021-04-29 07:34:43 -07:00
Erick Zhao
18a76c6b9d
docs: uniformize module API doc format ( #28920 )
...
This PR ensures that all API modules are present in the README doc,
as there were a couple missing. It also formats all modules to contain
a level-1 heading and a blockquote description.
2021-04-29 09:56:31 +02:00
Naoki Maeda
a1a90ed03b
chore: Update husky v6.0.0 ( #28827 )
2021-04-29 09:46:15 +02:00
Samuel Attard
791eddd541
fix: provide no-op implementation of app.setUserModelId ( #28915 )
2021-04-28 18:41:03 -07:00
Michael Kozakov
c37c9adbe2
docs: Add clarification for Visual Zoom behavior ( #28860 )
...
* Add clarification for visual zoom documentation
2021-04-28 17:20:47 -04:00
John Kleinschmidt
5a9a298a74
build: temporarily disable WOA testing ( #28916 )
2021-04-28 17:16:27 -04:00
Erick Zhao
0b42316803
docs: remove api/locales page ( #28911 )
...
This page is just a table writing out the contents of an array in
the Chromium source code. We don't actively maintain it, and
it's only referenced in one API, so it makes sense to just
link directly to the code here.
2021-04-28 13:11:50 -07:00
John Kleinschmidt
3dcba234b5
build: fix dump_syms.py to work with python 3 ( #28910 )
2021-04-28 15:42:25 -04:00
Jeremy Rose
c200840006
fix: emit window-all-closed after closing the window ( #28867 )
2021-04-28 10:55:08 -07:00
Electron Bot
733f81449d
Bump v14.0.0-nightly.20210428
2021-04-28 07:35:15 -07:00
Samuel Attard
56c3103e73
build: remove dead python methods and helper ( #28884 )
2021-04-28 00:39:30 -07:00
Samuel Attard
e373df3bc3
build: actually use SSL when downloading things via python ( #28885 )
2021-04-28 00:38:49 -07:00
Samuel Attard
3879e9e065
build: remove the vendor directory ( #28883 )
...
The `vendor` directory is a remnant of times long since gone when we had
brightray and libchromiumcontent (never forget). It is currently the
hope to a single header file that afaics we do not need anymore and
randomly pyyaml gets cloned there but that is easily movable.
This commit removes all references to the vendor directory from scripts,
docs, helpers, etc. and removes the directory itself.
2021-04-28 00:38:08 -07:00
Samuel Attard
ea6d3fae98
docs: the tools folder does not exist anymore ( #28882 )
2021-04-28 00:36:53 -07:00
Juan Cruz Viotti
5ec3e02d13
docs: Remove mentions of the old external_binaries directory ( #28859 )
...
This functionality was removed in
https://github.com/electron/electron/pull/26701 .
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-04-27 20:11:22 -07:00
Samuel Attard
0a1b26b1d5
refactor: remove internal navigation controller ( #28839 )
2021-04-27 16:11:18 -07:00
Jeremy Rose
aedec5206c
test: disable shell.trashItem in renderer test on win-ia32 ( #28868 )
2021-04-27 14:35:31 -07:00
Electron Bot
cdf04f3ae7
chore: bump chromium to 92.0.4488.0 (master) ( #28676 )
...
* chore: bump chromium in DEPS to 92.0.4478.0
* chore: update chromium patches
* chore: update v8 patches
* fix: add scale parameter to LookupIconFromFilepath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2748317
Follow up: https://github.com/electron/electron/issues/28678
* build: depend on gtkprint config for gtk_util.h
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2824022
* build: add missing print_job_constants header
Refs: unknown
* chore: bump chromium in DEPS to 92.0.4479.0
* update patches
* chore: bump chromium in DEPS to 92.0.4480.0
* chore: bump chromium in DEPS to 92.0.4481.0
* chore: bump chromium in DEPS to 92.0.4482.2
* chore: bump chromium in DEPS to 92.0.4483.0
* chore: update patches
* chore: bump chromium in DEPS to 92.0.4484.0
* chore: bump chromium in DEPS to 92.0.4485.0
* fix patches
* update patches
* 2810414: [LSC] Add PRESUBMIT check for ASCIIToUTF16("...") and UTF8ToUTF16("...")
https://chromium-review.googlesource.com/c/chromium/src/+/2810414
* 2781233: NotificationService: Plumb document_url for non-persistent notifications.
https://chromium-review.googlesource.com/c/chromium/src/+/2781233
* fixup! 2810414: [LSC] Add PRESUBMIT check for ASCIIToUTF16("...") and UTF8ToUTF16("...")
* 2836669: Refactor GTK build target and dependencies
https://chromium-review.googlesource.com/c/chromium/src/+/2836669
* chore: bump chromium in DEPS to 92.0.4486.0
* update patches
* fix DecrementCapturerCount patch
* explicitly include badging.mojom.h
* include ui/gtk/gtk_ui_factory.h for BuildGtkUi()
* fixup! 2810414: [LSC] Add PRESUBMIT check for ASCIIToUTF16("...") and UTF8ToUTF16("...")
* iwyu fix for base::size
* iwyu for TRACE_EVENT0
* 2799631: Use structured interface for DevTools messages
https://chromium-review.googlesource.com/c/chromium/src/+/2799631
* 2801573: Convert enum to enum class for Widget::InitParams::Activatable
https://chromium-review.googlesource.com/c/chromium/src/+/2801573
* 2805764: Add ContentBrowserClient support for service worker-scoped binders
https://chromium-review.googlesource.com/c/chromium/src/+/2805764
* fixup! 2799631: Use structured interface for DevTools messages
* fixup! 2805764: Add ContentBrowserClient support for service worker-scoped binders
* oops, use of linux_ui after std::move
* fix devtools message handling for null params
* disable node test parallel/test-debug-args
https://chromium-review.googlesource.com/c/v8/v8/+/2843348
* fix gn check
* chore: bump chromium in DEPS to 92.0.4487.0
* chore: update patches
* chore: bump chromium in DEPS to 92.0.4488.0
* update patches
* Remove vpython use from Chromium DEPS file
https://chromium-review.googlesource.com/c/chromium/src/+/2810121
* Partial revert "workaround: disable CFG longjmp protection for Windows on Arm"
https://chromium-review.googlesource.com/c/chromium/src/+/2788210
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-27 14:27:34 -07:00
Samuel Attard
fa61e3b119
feat: add session.storagePath to get path on disk for session data ( #28665 )
2021-04-27 09:54:28 -07:00
Cheng Zhao
b97b973306
test: worker should be able to load asar files ( #28858 )
2021-04-27 12:07:05 -04:00
Electron Bot
72092c2312
Bump v14.0.0-nightly.20210427
2021-04-27 07:32:15 -07:00
Electron Bot
7c398062dd
Bump v14.0.0-nightly.20210426
2021-04-26 13:13:43 -07:00
Electron Bot
7584ca16c1
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit 2ceae36766 .
2021-04-26 13:11:05 -07:00
Electron Bot
2ceae36766
Bump v14.0.0-nightly.20210426
2021-04-26 13:10:23 -07:00
Electron Bot
7cf1f8d11c
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit 9afae17380 .
2021-04-26 13:08:27 -07:00
Electron Bot
9afae17380
Bump v14.0.0-nightly.20210426
2021-04-26 13:07:20 -07:00
Samuel Attard
7884f52976
build: fix releases that failed halfway through npm publish actions ( #28851 )
2021-04-26 13:02:14 -07:00
Samuel Attard
79f67417f0
build: import execute method in symbols zip script
2021-04-26 13:00:50 -07:00
Samuel Attard
82b0d67d70
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit 5d15cec0fd .
2021-04-26 12:59:50 -07:00
Electron Bot
5d15cec0fd
Bump v14.0.0-nightly.20210426
2021-04-26 11:09:31 -07:00
Samuel Attard
a76b53348c
build: delete dsyms after they have been zipped in release builds
2021-04-26 11:04:44 -07:00
Samuel Attard
cce73c3b8d
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit a1386dc19b .
2021-04-26 10:56:38 -07:00
Samuel Attard
08c4b0ab61
build: free up space on macOS some more
2021-04-26 10:56:31 -07:00
Electron Bot
a1386dc19b
Bump v14.0.0-nightly.20210426
2021-04-26 07:37:07 -07:00
Milan Burda
ae0de8ef9f
fix: only set backgroundColor in default-app for default index.html ( #28792 )
2021-04-26 16:29:14 +09:00
Jeremy Rose
7c32deb70f
refactor: use rfh instead of process id in permission manager ( #28791 )
...
* refactor: use rfh instead of process id in permission manager
* fix build
* Update electron_permission_manager.cc
* swap for smaller diff
2021-04-26 16:24:12 +09:00
Jeremy Rose
dc7fa1d9f1
refactor: be more precise when creating api::WebContents ( #23128 )
2021-04-23 13:51:37 -07:00
Jeremy Rose
1c57e078aa
refactor: remove ProcessPreferences ( #28786 )
2021-04-23 12:57:40 -07:00
Electron Bot
33bbdcf1de
Bump v14.0.0-nightly.20210423
2021-04-23 07:33:24 -07:00
Jeremy Rose
be3c2fd0af
fix: shell.trashItem crash when called in renderer ( #28748 )
2021-04-22 13:46:41 -07:00
Jeremy Rose
d2654c652a
chore: restore "Additional Information" section ( #28764 )
2021-04-22 10:56:35 -07:00
Jeremy Rose
583660a85a
docs: fix unintentional emoji in win.getMediaSourceId description ( #28767 )
2021-04-22 10:56:25 -07:00
Samuel Attard
28904714ae
refactor: clean up unused parts of the render_frame_host patch file ( #28769 )
...
* chore: remove CanUseCustomSiteInstance
* chore: remove unused ShouldOverrideSiteInstanceForNavigation
* chore: remove CreateRelatedSiteInstance
* chore: remove BrowsingInstance::CreateSiteInstanceForURL
* chore: remove NavigationState::REUSE_SITE_INSTANCE
* chore: remove accidentally duplicated code post-patch-clean
* chore: reword patch description for new feature-set
* chore: remove ShouldForceNewSiteInstance and all its unused helpers
2021-04-22 10:55:32 -07:00
Samuel Maddock
43d27cc4d1
feat: add WebFrameMain.visibilityState ( #28706 )
...
* feat: add WebFrameMain.visibilityState
* docs: mention other page visibility APIs
* test: delay visibilityState check after hiding
* test: add waitForTrue to avoid flaky visibilityState test
* refactor: waitForTrue -> waitUntil
2021-04-22 12:00:58 -04:00
Electron Bot
93311c8686
Bump v14.0.0-nightly.20210422
2021-04-22 07:34:21 -07:00
dependabot[bot]
362e8421d6
build(deps): bump elliptic from 6.5.3 to 6.5.4 ( #28066 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 12:10:50 +02:00
Shelley Vohr
13f36d54cf
build: disable pseudolocales in Electron ( #28766 )
...
* build: disable pseudolocales in Electron
* Update build/args/all.gn
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-21 17:55:22 -07:00
Samuel Attard
79077f6df9
chore: remove app.allowRendererProcessReuse ( #26874 )
2021-04-21 13:59:11 -07:00
Jeremy Rose
4ca518468d
feat: remove BrowserWindow option inheritance ( #28550 )
2021-04-21 10:55:17 -07:00
dependabot[bot]
c4931ff70e
build(deps): bump ssri from 6.0.1 to 6.0.2 ( #28723 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 11:56:24 -04:00
Shelley Vohr
503d24a473
fix: handle async nature of [NSWindow -toggleFullScreen] ( #25470 )
2021-04-21 16:56:25 +02:00
Electron Bot
7063b5ef2c
Bump v14.0.0-nightly.20210421
2021-04-21 07:32:11 -07:00
Shelley Vohr
11199d8824
feat: add BrowserWindow.isFocusable() ( #28642 )
2021-04-21 12:32:19 +02:00
Samuel Attard
69f3e330e7
fix: ensure widget size is set correctly on linux on small screens ( #28681 )
...
When creating a widget on linux the bounds are restricted to the screen
size, when calling SetSize / SetBounds they are not. This fixes this
initialization issue by calling SetBounds after widget creation.
Noticed this issue while running linux tests on xvfb with a screen size
smaller than the default electron window size (resulted in a failed
test).
2021-04-21 10:58:42 +02:00
Electron Bot
6ee819aa65
Bump v14.0.0-nightly.20210420
2021-04-20 07:33:25 -07:00
Samuel Attard
4f3664e6d9
build: fix docs only change script to pull all files not just 30 ( #28737 )
2021-04-19 20:00:28 -04:00
Jeremy Rose
e12a3cb59c
feat: remove deprecated additionalFeatures ( #28548 )
2021-04-19 15:46:54 -07:00
John Kleinschmidt
8164322195
build: read node files as binary files ( #28729 )
2021-04-19 12:55:17 -07:00
Samuel Attard
400d7c4bce
chore: update ts parser for description comment fixes and generic types ( #28709 )
...
* chore: update ts parser for description comment fixes
* docs: strongly type the getUserDefault API
* spec: add getUserMedia type assertions to smoke run
2021-04-19 11:44:58 -07:00
Samuel Attard
ac9ec1a6ea
build: unify machine-mac-large-arm and machine-mac-large ( #28700 )
2021-04-19 11:32:57 -07:00
Samuel Attard
6327a5a4a2
chore: clean up some spec things ( #28680 )
2021-04-19 11:27:34 -07:00
Mark Lee
99fc054ce9
docs(build-instructions): clarify that these are for building Electron itself ( #28674 )
2021-04-19 11:50:00 -04:00
Electron Bot
0d7fd7a74f
Bump v14.0.0-nightly.20210419
2021-04-19 07:33:01 -07:00
Samuel Attard
b8c2481edb
fix: do not handle write errors after request is aborted ( #28682 )
...
This fixes a flake on linux CI which started recently where the "write"
promise is being rejected after the request has been aborted /
cancelled. In this case we should drop the error to the floor but
instead we pass it down the stack where it eventually emits a now
unhandled error event.
Example failure: https://app.circleci.com/pipelines/github/electron/electron/38072/workflows/c1faf19b-aa41-4f99-a564-165729222859/jobs/838813
Verified fix by running the test that caused it 10000 times before fix
and 10000 times after. ~50 failures before, 0 after.
2021-04-19 09:50:14 -04:00
Shelley Vohr
484931bba2
fix: end attached sheet when calling window.hide() ( #28671 )
2021-04-16 17:42:09 +02:00
Electron Bot
a354c95d4c
Bump v14.0.0-nightly.20210416
2021-04-16 07:33:58 -07:00
robin
e12128b65b
fix: increase corner radius for vibrancy view on big sur ( #28655 )
...
* fix: increase corner radius for vibrancy view on big sur
* fix: revert git weirdness
Co-authored-by: Robin Fowler <robinfowler@Robins-MBP.broadband >
2021-04-15 14:22:42 -07:00
Electron Bot
22a70eb803
chore: bump chromium to 92.0.4475.0 (master) ( #28462 )
...
* chore: bump chromium in DEPS to 91.0.4464.0
* chore: rebuild chromium/dcheck.patch with import-patches -3
Mechanical only; no code changes
* chore: remove content_browser_main_loop.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
The function being patched (BrowserMainLoop::MainMessageLoopRun()) no
longer exists.
NB: if removing this introduces regressions the likely fix will be to
add a similar patch for ShellBrowserMainParts::WillRunMainMessageLoop()
which has similar code and was added at the same time this was removed.
* chore: rebuild chromium/put_back_deleted_colors_for_autofill.patch with import-patches -3
Mechanical only; no code changes
* chore: rebuild chromium/disable_color_correct_rendering.patch with import-patches -3
Mechanical only; no code changes
* chore: rebuild chromium/eat_allow_disabling_blink_scheduler_throttling_per_renderview.patch with patch
Mechanical only; no code changes
* chore: rebuild chromium/gpu_notify_when_dxdiag_request_fails.patch with import-patches -3
Mechanical only; no code changes
* chore: rebuild chromium/ui_gtk_public_header.patch manually
no code changes
* chore: rebuild chromium/web_contents.patch with import-patches -3
Mechanical only; no code changes
* chore: remove v8/skip_global_registration_of_shared_arraybuffer_backing_stores.patch
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/2763874
This patch has been merged upstream
* chore: export patches
* chore: update add_trustedauthclient_to_urlloaderfactory.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2757969
Sync with removal of render_frame_id_
* chore: sync chromium/put_back_deleted_colors_for_autofill.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2785841
SkColorFromColorId() no longer takes theme, scheme args
* chore: sync chromium/put_back_deleted_colors_for_autofill.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2772143
Change new calls to GetDarkSchemeColor to fit our patched call signature
* chore: update add_trustedauthclient_to_urlloaderfactory.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2757969
Sync with removal of render_frame_id_ in our mojom
* chore: update chromium/frame_host_manager.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2740008
UrlInfo ctor now takes UrlInfo::OriginIsolationRequest instead of a bool
* chore: update chromium/revert_remove_contentrendererclient_shouldfork.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2755314
Upstream has removed `history_list_length_` which we were comparing to 0
to calculate our `is_initial_navigation` bool when calling ShouldFork().
ShouldFork() is ours and none of the code paths actually use that param,
so this commit removes it altogether.
* chore: update permissions_to_register
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2789074
Replace all uses of APIPermission::ID enum with Mojo type
* refactor: update return type of PreMainMessageLoopRun()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
Used to return void; now returns an int errorcode.
Note: 2725153 also has some nice doc updates about Browser's "stages"
* refactor: sync ElectronBrowserMainParts to MainParts changes
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
RunMainMessageLoopParts has been replaced with WillRunMainMessageLoop
so `BrowserMainLoop::result_code_` is no longer available to us for our
exit_code_ pointer.
This variable held a dual role: (1) of course, hold the exit code, but
also (2) was a nullptr before the message loop was ready, indicating to
anyone calling SetExitCode() that we were still in startup and could
just exit() without any extra steps. exit_code_ still fulfills these two
roles but is now a base::Optional.
* chore: update ElectronBrowserMainParts::PreDefaultMainMessageLoopRun
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
BrowserMainParts::BrowsePreDefaultMainMesssageLoopRun() has been
removed; move that work to the new WillRunMainMessageLoop().
* refactor: stop using CallbackList; it has been removed.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2785973
* refactor: update use of threadpools.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2773408
The upstream code is still in flux (e.g. reverts and re-lands) but the
tl;dr for this commit is (1) include thread_pool.h if you're using it
and (2) don't instantiate pools directly.
* refactor: remove routing_id from CreateLoaderAndStart
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2762858
NB: One logic branch in ProxyingURLLoaderFactory::CreateLoaderAndStart
calls std::make_unique<InProgressRequest>, which needs a routing_id.
This PR uses the member field `routing_id_` since there's no longer one
being passed into CreateLoaderAndStart.
* refactor: sync to upstream ParittionOptions churn
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771318
PartitionOptions' enums have changed.
* refactor: update Manifest::Location usage
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771320
tldr: s/Manifest::FOO/ManifestLocation::kFoo/
* chore: bump chromium in DEPS to 91.0.4465.0
* update patches
* refactor: update extensions::Manifest to upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771320
- extensions::Manifest::COMPONENT
+ extensions::mojom::ManifestLocation::kExternalComponent
* refactor: sync with upstream UrlInfo ctor changes
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2740008
UrlInfo ctor now takes UrlInfo::OriginIsolationRequest instead of a bool
* chore: update invocation of convert_protocol_to_json.py
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2792623
python3 is being used in parts of the upstream build, but the copy of
convert_protocol_to_json.py invoked in v8/third_party/inspector_protocol
is not python3-friendly. Node has a py2+3-friendly version of it in its
tools directory, so call it instead.
* chore: use extensions::mojom::APIPermissionID
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2791122
tldr:
- extensions::APIPermission::kFoo
+ extensions::mojom::APIPermissionID::kFoo
* chore: Remove support for TLS1.0/1.1 in SSLVersionMin policy
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2765737
Remove TLS v1.0 & 1.1 from our SSLProtocolVersionFromString() function.
This is the same change made upstream at
https://chromium-review.googlesource.com/c/chromium/src/+/2765737/8/chrome/browser/ssl/ssl_config_service_manager_pref.cc
* fixup! chore: update ElectronBrowserMainParts::PreDefaultMainMessageLoopRun
* chore: Use IDType for permission change subscriptions.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2791431
tldr: {Subscribe,Unsubscribe}PermissionStatusChange's tag type used to
be an int; now it's the new SubscriptionId type (which is an IdType64).
* chore: sync PowerMonitor code to upstream refactor
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2752635
tldr: PowerMonitor has been split into PowerStateObserver,
PowerSuspendObserver, and PowerThermalObserver to reduce number of tasks
posted to consumers who only need notifications for one of those things
instead of all of them.
* chore: use PartitionOptions's new Cookies field
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771318
* Revert "refactor: remove routing_id from CreateLoaderAndStart"
This reverts commit 8c9773b87a3c84f9073a47089eb2b6889d745245.
8c9773b was only a partial fix; reverting to start & try again.
* update patches
* chore: bump chromium in DEPS to 91.0.4466.0
* chore: update chromium/accelerator.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2795472
tldr: sync patch with upstream renamed variable & macro names.
* chore: update chromium/gtk_visibility.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2796200
tldr: no code changes; just updating the diff to apply cleanly.
note: ooh upstream Wayland hacking!
* chore: update chromium/picture-in-picture.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710023
tldr: no code changes; just updating the diff to apply cleanly.
* chore: update chromium/worker_feat_add_hook_to_notify_script_ready.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2775573
tldr: no code changes; just updating the diff to apply cleanly.
* chore: export_all_patches
* chore: update chromium/feat_add_set_theme_source_to_allow_apps_to.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2796511
tldr: NotifyObservers has been renamed to NotifyOnNativeThemeUpdated,
so update the invocation in our patch.
* chore: update ElectronBrowserClient w/upstream API
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2797454
tldr: GetDevToolsManagerDelegate() was returning an owned raw pointer.
Replaced it with CreateDevToolsManagerDelegate() which uses unique_ptr<>.
* chore: handle new content::PermissionType::FILE_HANDLING in toV8()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2762201
`file-handling` string confirmed in https://chromium-review.googlesource.com/c/chromium/src/+/2762201/18/chrome/browser/ui/webui/settings/site_settings_helper.cc
* refactor: remove routing_id from CreateLoaderAndStart pt 1
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2762858
Part 1: the easiest ones
* 2796724: Support Python3
https://chromium-review.googlesource.com/c/infra/luci/python-adb/+/2796724
* chore: bump chromium in DEPS to 91.0.4468.0
* 2668974: WebShare: Implement SharingServicePicker
https://chromium-review.googlesource.com/c/chromium/src/+/2668974
* 2802766: Apply modernize-make-unique to media/
https://chromium-review.googlesource.com/c/chromium/src/+/2802766
* 2802823: Apply modernize-make-unique to gpu/
https://chromium-review.googlesource.com/c/chromium/src/+/2802823
* 2803041: Apply modernize-make-unique to remaining files
https://chromium-review.googlesource.com/c/chromium/src/+/2803041
* 2798873: Convert GtkKeyBindingsHandler build checks to runtime checks
https://chromium-review.googlesource.com/c/chromium/src/+/2798873
* 2733595: [ch-r] Parse ACCEPT_CH H2/3 frame and restart with new headers if needed
https://chromium-review.googlesource.com/c/chromium/src/+/2733595
* chore: update patch indices
* 2795107: Remove unused PermissionRequest IDs.
https://chromium-review.googlesource.com/c/chromium/src/+/2795107
* chore: bump chromium in DEPS to 91.0.4469.0
* chore: fixup patch indices
* chore: bump chromium in DEPS to 91.0.4469.5
* PiP 1.5: Add microphone, camera, and hang up buttons to the PiP window
https://chromium-review.googlesource.com/c/chromium/src/+/2710023
* fixup! refactor: remove routing_id from CreateLoaderAndStart
* refactor: use URLLoaderNetworkServiceObserver for auth requests from SimpleURLLoader
* fixup! chore: fixup patch indices
* 2724817: Expand scope of wasm-eval to all URLs
https://chromium-review.googlesource.com/c/chromium/src/+/2724817
* Fixup patch after rebase
* chore: bump chromium in DEPS to 91.0.4472.0
* 2797341: [ozone/x11] Enabled the global shortcut listener.
https://chromium-review.googlesource.com/c/chromium/src/+/2797341
* 2805553: Reland Add GTK ColorMixers to ColorPipeline P1
https://chromium-review.googlesource.com/c/chromium/src/+/2805553
* 2804366 : PiP 1.5: Label back to tab button with origin and center it
https://chromium-review.googlesource.com/c/chromium/src/+/2804366
* 2784730: Fix crash on AX mode change in NativeViewHost without a Widget
https://chromium-review.googlesource.com/c/chromium/src/+/2784730
* chore: update patch indices
* 2810174: Add PdfAnnotationsEnabled policy.
https://chromium-review.googlesource.com/c/chromium/src/+/2810174
* 2807829: Allow capturers to indicate if they want a WakeLock or not.
https://chromium-review.googlesource.com/c/chromium/src/+/2807829
* chore: bump chromium in DEPS to 92.0.4473.0
* chore: bump chromium in DEPS to 92.0.4474.0
* chore: bump chromium in DEPS to 92.0.4475.0
* chore: update patches
* chore: updates patches
* chore: update is_media_key patch to handle new ozone impl
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2797341
* fix: ExecuteJavascript requests now need to be flagged as non-bf-aware
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2787195
* chore: icon_util_x11 is now icon_util_linux
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2791362
* build: update sysroots
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2628496
* build: fix missing symbols on linux build
* use_ozone and use_x11 are not exclusive
* new button view to build for pip
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2797341
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2804366
* chore: fix broken gtk_util color patch
* chore: remove patch conflict
* build: update linux manifests
* chore: build bttlb on all platforms for pip
* chore: add thread_pool include for views delegate win
* chore: fix lint
* chore: add node patches for V8 changes
* build: add missing base include on windows
* fix: update frame host manager patch for new state transitions
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2714464
* chore: update windows zip manifests
* chore: update mac zip manifests
* chore: fix patch linting
* refactor: implement missing URLLoaderNetworkServiceObserver methods
It is against The Mojo Rules to leave hanging callbacks. These always
have to be called.
Refs: 186528aab9
* spec: fix locale test on local linux
* fix: pass the exit code correctly in new PreMainMessageLoopRun
Refs: 2622e91c44
* fix: ensure we early-exit when request_handler_ is not provided
Refs: 93077afbfb
* fix: strongly set result_code in the BrowserMainLoop
* fix: invalid usage of non-targetted PostTask
You must always either use a host threadpool or specify a target
thread. In this case we did neither after this refactor.
Refs: 4e33ee0ad3
* chore: fix gn check
* chore: remove stray .rej files in patch
* chore: add mojo error code to url loader failure
* build: ensure CI is truthy in arm test env
* fix: handle windowCaptureMacV2 being enabled when fetching media source id
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2709931
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2021-04-15 10:44:35 -07:00
Samuel Attard
9236e56ddc
build: provide line numbers of bad patch lines when linting ( #28666 )
2021-04-15 10:43:35 -07:00
Electron Bot
5ee906fd04
Bump v14.0.0-nightly.20210415
2021-04-15 07:38:10 -07:00
Electron Bot
20801573aa
Bump v14.0.0-nightly.20210414
2021-04-14 07:34:52 -07:00
Samuel Attard
e37533b73a
build: do not require vsts token for releases ( #28643 )
2021-04-13 15:30:46 -07:00
Jeremy Rose
f8bdef5349
feat: enable nativeWindowOpen by default ( #28552 )
...
* feat: enable nativeWindowOpen by default
* set nativeWindowOpen: false on spec/ main window
* update snapshots
* fix tests
* fix test
* fix webview test missing allowpopups
* fix other test
* update default
2021-04-13 15:36:38 -04:00
Jeremy Rose
dba4df9326
feat: add more info in setWindowOpenHandler details ( #28518 )
...
* fix: invoke the window open handler for _blank links
* feat: add disposition to setWindowOpenHandler details
* fix: pass postData to new-window event
* postData can be heterogeneous
* fix type of postBody
* fix type of UploadFile and UploadRawData to be discriminated unions
* exclude the empty string from additionalFeatures
* add a test
* add postBody and referrer to setWindowOpenHandler args
* appease typescript
* Update api-browser-window-spec.ts
* update snapshots
2021-04-13 15:35:27 -04:00
Electron Bot
b6315612dd
Bump v14.0.0-nightly.20210413
2021-04-13 07:32:14 -07:00
Shelley Vohr
f78f8d15a9
build: better error handling for release builds ( #28621 )
2021-04-13 09:37:23 +02:00
Samuel Attard
6df2680cb6
refactor: clean up webFrame implementation to use gin wrappers ( #28497 )
...
* refactor: clean up webFrame implementation to use gin wrappers
The previous implementation of webFrame in the renderer process leaked
sub-frame contexts and global objects across the context boundaries thus
making it possible for apps to either maliciously or accidentally
violate the contextIsolation boundary.
This re-implementation binds all methods in native code directly to
content::RenderFrame instances instead of relying on JS to provide a
"window" with every method request. This is much more consistent with
the rest of the Electron codebase and is substantially safer.
* chore: un-re-order for ease of review
* chore: pass isolate around instead of ErrorThrower
* chore: fix rebase typo
* chore: remove unused variables
2021-04-12 16:35:18 -07:00
Electron Bot
e775467e9c
Bump v14.0.0-nightly.20210412
2021-04-12 07:34:01 -07:00
Shelley Vohr
2e9ed50bb0
fix: crash on invalid select-serial-port callback ( #28602 )
2021-04-12 06:18:39 -07:00
Robo
6bd13cc98f
fix: load source maps from custom protocols and asar bundles ( #28573 )
...
* fix: load source maps from custom protocols and asar bundles
* chore: fix lint
2021-04-11 21:59:36 -07:00
Samuel Maddock
ef4954fa1f
docs: systemPreferences.subscribeWorkspaceNotification return type ( #28588 )
2021-04-11 14:02:58 -07:00
KSneijders
f755c521eb
Defined the name of the preload script ( #28597 )
2021-04-11 14:01:36 -07:00
Shelley Vohr
95e26e2fd4
refactor: use URL API ( #28583 )
2021-04-09 14:22:18 -07:00
Electron Bot
6772e7773e
Bump v14.0.0-nightly.20210409
2021-04-09 07:33:29 -07:00
Samuel Attard
17f527f757
build: give ASAN tests more memory to avoid SIGKILL or disabling tests ( #28567 )
...
* build: give ASAN tests more memory
* test: re-eanble asan tests
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-09 16:09:17 +09:00
Jeremy Rose
f73d09374e
chore: don't minimize js in development ( #28571 )
2021-04-08 15:56:59 -07:00
Milan Burda
da8c35e3b2
chore: remove deprecated worldSafeExecuteJavaScript option ( #28456 )
2021-04-08 12:03:57 -04:00
Jeremy Rose
c428ec5cd5
docs: note that new-window event is deprecated ( #28549 )
...
* docs: note that new-window event is deprecated
* Update breaking-changes.md
* Update docs/breaking-changes.md
2021-04-08 10:52:14 -04:00
Electron Bot
16b0d1fbdd
Bump v14.0.0-nightly.20210408
2021-04-08 07:32:27 -07:00
Electron Bot
3a569c176a
chore: bump node to v14.16.1 (master) ( #28563 )
...
* chore: bump node in DEPS to v14.16.1
* update patches
2021-04-08 03:37:33 -07:00
Samuel Attard
14834f35df
build: add safety net for mac_deployment_target ( #28517 )
...
As of #28480 we now dynamically determine the LSMinimumSystemVersion
value as part of the build process. To avoid this changing and no one
realizing we now have this assert which will trip during a Chromium
upgrade if they bump the minimum supported macOS version so we can
update our documentation appropriately.
2021-04-08 00:28:02 -07:00
Cheng Zhao
968b30c9b4
feat: support wasm-eval csp behind WebAssemblyCSP flag ( #28535 )
2021-04-07 13:04:50 -07:00
Jeremy Rose
17a44895dd
docs: fix typo in breaking-changes.md ( #28551 )
2021-04-07 10:32:32 -07:00
Electron Bot
00fa60ef76
Bump v14.0.0-nightly.20210407
2021-04-07 07:33:41 -07:00
Germain
2865d161b7
docs: remove checkbox options in dialog.showMessageBoxSync ( #28418 )
2021-04-07 00:18:19 -07:00
Shelley Vohr
7d04f729d8
fix: beforeunload and unload firing in BrowserViews ( #28382 )
...
* fix: beforeunload and unload firing in BrowserViews
* Ensure UserGesture is sent for BV webContents
* spec: add tests
* refactor: clean up logic
* spec: fixup specs
* docs: document event behavior for BrowserViews
2021-04-07 00:16:10 -07:00
Cheng Zhao
e454bded3c
fix: allow accessing file:// when web security is disabled ( #28489 )
...
* fix: allow accessing file:// when web security is disabled
* test: fix webview tests on web security
* chore: remove unused attributes
* chore: cleanup RegisterURLLoaderFactories method
2021-04-07 10:46:23 +09:00
Fedor Indutny
fe0da255b6
fix: call UnregisterIsolate consistently ( #28486 )
2021-04-06 16:10:34 -07:00
John Kleinschmidt
63317627b5
ci: Add goma fallback flag ( #28539 )
...
* ci: fallback to local compile if goma auth fails
* use correct flag
2021-04-06 14:05:44 -04:00
Jeremy Rose
77dcf1020a
fix: pass postData to new-window event ( #28513 )
2021-04-06 09:54:05 -07:00
Cheng Zhao
641e9337f3
test: disable "fs in renderer process" test under ASan ( #28509 )
2021-04-06 12:15:45 -04:00
Electron Bot
0c2150a6fa
Bump v14.0.0-nightly.20210406
2021-04-06 07:33:22 -07:00
Jeremy Rose
62b38812b6
fix: invoke the window open handler for _blank links ( #28498 )
...
* fix: invoke the window open handler for _blank links
* add test
2021-04-06 01:04:14 -07:00
Shelley Vohr
3ed8da0931
fix: dialog DCHECK on Linux ( #28478 )
2021-04-05 23:54:58 -07:00
Samuel Attard
e2f49edf83
build: ignore ninja summary print failures ( #28514 )
2021-04-05 20:22:25 -04:00
Jeremy Rose
1fcd6e2740
docs: Remove GoDaddy from Windows code signing options ( #28494 )
2021-04-05 17:13:29 -07:00
Michaela Laurencin
19d7a6b761
fix: enable system maximization for frameless windows except if transparent ( #28207 )
...
* fix: move widget maximization check
* fix linting error
* change workaround to only effect transparent windows
* disable menu maximize and restore for transparent windows
* disable double clicking title bar max/unmax for transparent windows
* add docs change and address review
2021-04-06 08:53:59 +09:00
SushiJackal
82ea8ea68c
fix: reject task append to JumpList when description exceeds 260 characters ( #28485 )
...
* fix: reject task when description exceeds 260 characters
* Switched out wcslen() for size() [linear -> constant time]
* Included comment describing the need for the additional check
* Added information about character limit to documentation
* Added newline character to end of jump-list-category.md
2021-04-06 08:50:39 +09:00
Samuel Attard
c280d770dc
docs: the minimum supported version of macOS is now 10.11 ( #28480 )
...
* chore: the minimum supported version is now 10.11
Chromium bumped this version back in December
* Update support.md
2021-04-05 12:18:12 -07:00
Electron Bot
29603bcc27
Bump v14.0.0-nightly.20210405
2021-04-05 07:33:32 -07:00
Milan Burda
55c66e3e92
chore: add types for electron_renderer_web_frame binding ( #28455 )
...
* chore: add types for electron_renderer_web_frame binding
* chore: use keyof for getWebPreference type
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2021-04-02 14:34:28 -07:00
Electron Bot
9904438118
Bump v14.0.0-nightly.20210402
2021-04-02 07:33:46 -07:00
Anna Henningsen
e6aefed0ee
fix: free IsolateData in ~NodeEnvironment ( #28469 )
...
This seems to just have been missing here, leaking memory
(and breaking the API contract for Node.js embedding).
2021-04-01 16:46:11 -07:00
Tristan Partin
fa65faa4b0
feat: Use GtkFileChooserNative to support the XDG Desktop Portal specification ( #19159 )
...
* feat: Use GtkFileChooserNative if available to support XDG portals
With this commit, users on KDE/plasma will finally have support in
Electron for their native file choosers dialogs.
* fix: namespace
* fix: labels were reversed
* fix: lint issue
* fix: clean up some implementation
* fix: remove deprecation branch
* fix: remove unused header
* fix: remove unused gi18n.h include
Not sure why this is
* fix: add the set_data call into the mirrored SetGtkTransientForAura func
* fix: remove gmodule support and use native for the dialog regardless
* fix: undo yarn.lock changes
* fix: lint
* fix: remove x11 unncessary x11 include
* fix: lint
* fix: remove SetGtkTransientForAura
* Revert "fix: remove gmodule support and use native for the dialog regardless"
This reverts commit 062db5951e59cf99fcce566ab8ebab7ddc031aeb.
* fix: add support in a backwards compatible way
Use GModule to dynamically load functions from libgtk in order to
support GtkNativeDialog.
* fix: lint
* docs: update comment
* Revert "fix: remove x11 unncessary x11 include"
This reverts commit 589cff583add458c25ca5a2202232fdff916c673.
* fix: compiler errors
* fix: int -> x11::time
* fix: move GtkNativeDialog static data to global state
* fix: revert yarn.lock change
* update: for code review comments
* fix: remove functional header
* fix: variable name
* fix: rename GTK native initalization func
* Help out the compiler
* Help out the compiler
* Help out the compiler
* Fix function signature
* Remove unused header
* Rename optional boolean for GtkFileChooserNative support
* Add back in USE_X11 check
* Satisfy linter
* Resatisfy linter
* Fix alignment of if
* Fix alignment of arguments
* linting...
* fix: add back in the i18n hack
* fix: lint
* Respond to some review comments
* fix: lint
* Make adding filter agnostic
* fix: transform is in place
* fix: remove std::transform because not c++17
* Remove unused include
* fix: address Cheng's review
* fix: Remove unused header
2021-04-02 08:29:27 +09:00
Samuel Attard
e323bfe661
refactor: remove unneeded patch_count variable ( #28467 )
2021-04-02 08:27:35 +09:00
Electron Bot
976222b509
Bump v14.0.0-nightly.20210401
2021-04-01 07:33:12 -07:00
Michaela Laurencin
2a55ae4b85
docs: add frameName note for window.open ( #28435 )
2021-03-31 13:57:39 -07:00
dependabot[bot]
05d164e660
build(deps): bump y18n from 5.0.1 to 5.0.5 in /spec ( #28445 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 5.0.1 to 5.0.5.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v5.0.1...v5.0.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:57:18 -07:00
Samuel Attard
ba3b2189ad
build: fix unicode patch file comparison in git.py ( #28454 )
...
This caused some patches to fail incorrectly as the patch file included
non-ascii characters, we have to manually convert using the utf8 charset
2021-03-31 13:48:21 -07:00
Electron Bot
bdeeabdc3c
Bump v14.0.0-nightly.20210331
2021-03-31 07:31:36 -07:00
Erick Zhao
f55aa78883
chore: update Community link in default menu ( #28449 )
2021-03-30 23:22:55 -07:00
dependabot[bot]
52262a9db0
build(deps): bump y18n from 4.0.0 to 4.0.1 ( #28448 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 23:22:06 -07:00
Charles Kerr
5fe07e1e23
Merge branch 'roller/chromium/master'
2021-03-30 21:29:04 -05:00
Charles Kerr
b9ea4a6ba4
Revert "chore: bump chromium to 91.0.4448.0 (master) ( #28009 )"
...
This reverts commit a006cf681b .
It was squash-merged by accident; let's redo that without squashing.
2021-03-30 21:28:40 -05:00
Electron Bot
a006cf681b
chore: bump chromium to 91.0.4448.0 (master) ( #28009 )
...
* chore: bump chromium in DEPS to 91.0.4435.3
* build: add 'use_rts' definition
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2694187
* chore: update patches
* chore: media_internal_resources becomes resources
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2699022
* chore: update patches
* refactor: extensions::ViewType moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
* chore: might_have_observers has been removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2667839
* refactor: CertVerifier is not in the network namespace anymore
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2689805
* refactor: ExtensionUserScriptManager is now UserScriptManager
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2657617
* refactor: content::SiteInstance::GetSiteForURL was removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2680274
* refactor: MenuItemType was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
* refactor: extensions::ViewType was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
* refacotr: grit::ResourceMap replaced with webui::ResourcePath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2685601
* refactor: blink::MenuItem::Type was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
* refactor: CreateDataPipe deprecated form was removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2698090
* refactor: DesktopMediaList::Type replaces content::DesktopMediaType_*
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2700637
* chore: wire up activation_time in OSR
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2638372
* chore: remove deleted file from chromium_src list
* chore: fix lint
* update patches
* chore: bump chromium in DEPS to 91.0.4438.0
* chore: bump chromium in DEPS to 91.0.4439.0
* chore: bump chromium in DEPS to 91.0.4440.0
* chore: bump chromium in DEPS to 91.0.4441.0
* chore: bump chromium in DEPS to 91.0.4442.0
* chore: bump chromium in DEPS to 91.0.4443.0
* chore: bump chromium in DEPS to 91.0.4445.0
* chore: bump chromium in DEPS to 91.0.4446.0
* chore: update patches
* fixup gn check
* Merge branch 'master' into roller/chromium/master
* update to xcode 12.4.0
Needed because of 8008deb41c
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
* 2752932: Associate each AwProxyingURLLoaderFactory with a frame tree node id.
https://chromium-review.googlesource.com/c/chromium/src/+/2752932
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
* 2734095: Introduce StoragePartitionId type to wrap current string representation.
https://chromium-review.googlesource.com/c/chromium/src/+/2734095
* chore: bump chromium in DEPS to 91.0.4448.0
* Update patches
* 2743594: Remove WebSize from blink.
https://chromium-review.googlesource.com/c/chromium/src/+/2743594
* 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
https://chromium-review.googlesource.com/c/chromium/src/+/2725403
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
* 2721718: Move HostID to extensions::mojom::HostID
https://chromium-review.googlesource.com/c/chromium/src/+/2721718
* 2733070: Rename observer to URLLoaderNetworkServiceObserver
https://chromium-review.googlesource.com/c/chromium/src/+/2733070
* Use nogncheck for content/browser/site_instance_impl.h
This is needed because //content/browser:browser is not a visible target
* 2648046: Introduce alert notification helper .app
https://chromium-review.googlesource.com/c/chromium/src/+/2648046
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
* only include mac notifications on mac
* add additional skipping of atk toolchain check
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
* 2720306: [api] Remove deprecated [Shared]ArrayBuffer API
https://chromium-review.googlesource.com/c/v8/v8/+/2720306
* Fixup 2721718: Move HostID to extensions::mojom::HostID
* fixup 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer
* Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui
* Fixup 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
* update node headers
* chore: bump chromium in DEPS to 91.0.4449.0
* Revert "chore: bump chromium in DEPS to 91.0.4449.0"
This reverts commit bccafa0289 .
* 2693008: Fix loading non-system cursors on Windows on browser_tests
https://chromium-review.googlesource.com/c/chromium/src/+/2693008
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
* undo changes to WebContentsPreferences::GetPreloadPath to fix mac build
* fix StrCat issue
* incantations for WebContentsPreferences::GetPreloadPath wide strings
* bump nan
* fix GetAsString maybe?
* windows build fixes
* more windows build fix
* SetAppUserModelID -> wstring
* upgrade nan dep in tests
* lint
* wstrings are cross-platform
* linter
* only bind setAppUserModelId on windows
* fix a messed up merge
* well that was an odyssey
* backport fcdf35e from v8 to fix nan crash
* disable typedarrays-test.js
* don't defer in NSWindow creation
https://chromium-review.googlesource.com/c/chromium/src/+/2707696
* use PartitionAllocator for ArrayBuffers in the main process
* fix patches
* chore: omit some unnecessary conversions
* refactor: make LoginItemSettings::path a wstring
* refactor: make ShowTaskDialog take a wstr
* Revert "refactor: make LoginItemSettings::path a wstring"
This reverts commit 9127cff58b .
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-03-30 21:17:09 -05:00
Charles Kerr
9684d85101
Revert "refactor: make LoginItemSettings::path a wstring"
...
This reverts commit 9127cff58b .
2021-03-30 20:32:11 -05:00
Charles Kerr
1594c54933
refactor: make ShowTaskDialog take a wstr
2021-03-30 18:06:00 -07:00
Charles Kerr
9127cff58b
refactor: make LoginItemSettings::path a wstring
2021-03-30 17:14:27 -07:00
Charles Kerr
0f3620099a
chore: omit some unnecessary conversions
2021-03-30 17:08:13 -07:00
Samuel Attard
6016e244fa
fix: handle an unparsable pdf manifest ( #28432 )
2021-03-30 14:53:40 -07:00
Jeremy Rose
54e72fa8e3
fix patches
2021-03-30 10:17:14 -07:00
Jeremy Rose
5d13820441
Merge branch 'master' into roller/chromium/master
2021-03-30 09:47:35 -07:00
Electron Bot
c9217f07e6
Bump v14.0.0-nightly.20210330
2021-03-30 07:32:11 -07:00
Shelley Vohr
9fecf8369f
fix: errors thrown in functions over the contextBridge ( #28346 )
...
* fix: errors thrown in functions over the contextBridge
* spec: add a test
* fix: ensure exception is a v8::Object
2021-03-30 00:26:49 -07:00
Jeremy Rose
9a7cfc42aa
fix: put RemoteCertVerifier upstream from the caching and coalescing layers ( #28358 )
2021-03-29 15:35:12 -07:00
Jeremy Rose
1f575ca3af
use PartitionAllocator for ArrayBuffers in the main process
2021-03-29 12:52:59 -07:00
Electron Bot
b6254bfd36
Bump v14.0.0-nightly.20210329
2021-03-29 07:34:14 -07:00
Shelley Vohr
ae2059eaa1
refactor: remove more uses of v8::Isolate::GetCurrent() ( #28369 )
2021-03-29 03:45:08 -07:00
Cheng Zhao
ff96fabe5e
test: increase timeout for spellchecker ( #28427 )
2021-03-29 00:10:09 -07:00
Jeremy Rose
3122820e58
don't defer in NSWindow creation
...
https://chromium-review.googlesource.com/c/chromium/src/+/2707696
2021-03-26 18:14:07 -07:00
Jeremy Rose
01ca00ec82
disable typedarrays-test.js
2021-03-26 15:34:57 -07:00
Jeremy Rose
606fd87d1e
backport fcdf35e from v8 to fix nan crash
2021-03-26 10:42:43 -07:00
Electron Bot
5be2183dd7
Bump v14.0.0-nightly.20210326
2021-03-26 07:32:17 -07:00
Saúl Ibarra Corretgé
2632564ccf
feat: initialize field trials from command line arguments ( #28305 )
...
Fixes : #27877
2021-03-26 09:49:00 +09:00
Alexander Prinzhorn
521146f71e
docs: add missing line in web-contents.md ( #28376 )
...
* Update web-contents.md
The text block was rendered as part of the `features` property, not the `handler`
* fix linting
2021-03-26 09:46:59 +09:00
Jeremy Rose
dd975328a0
well that was an odyssey
2021-03-25 11:51:13 -07:00
Cheng Zhao
fb4e99e729
test: load minimal dict for spellchecker ( #28386 )
2021-03-25 10:41:11 -04:00
Electron Bot
77365e701f
Bump v14.0.0-nightly.20210325
2021-03-25 07:34:28 -07:00
Shelley Vohr
1453a8e743
fix: disappearing thumbar after win.hide() ( #28366 )
...
* fix: disappearing thumbar after win.hide()
* Add descriptive comment
2021-03-25 04:02:47 -07:00
Samuel Maddock
b9b734c9c4
fix: export patches not retaining CRLF line endings ( #28360 )
...
When a patch targets a file using CRLF line endings, they need to be
retained in the patch file. Otherwise the patch will fail to apply
due to being unable to find surrounding lines with matching whitespace.
2021-03-25 14:49:53 +09:00
Jeremy Rose
6fbd84fc80
fix a messed up merge
2021-03-24 11:48:15 -07:00
Samuel Attard
7918ddb026
perf: do not double-proxy methods being return over the contextBridge ( #28285 )
2021-03-24 11:43:02 -07:00
Calvin
89df6b98da
fix: isolate Pepper plugins ( #28332 )
2021-03-24 11:11:26 -07:00
Jeremy Rose
640a145112
only bind setAppUserModelId on windows
2021-03-24 10:55:32 -07:00
Jeremy Rose
aaf03765ed
linter
2021-03-24 10:53:07 -07:00
Jeremy Rose
7f7b1f6c8a
wstrings are cross-platform
2021-03-24 10:47:53 -07:00
Jeremy Rose
d874a59056
lint
2021-03-24 10:46:48 -07:00
Jeremy Rose
4f97b9303c
upgrade nan dep in tests
2021-03-24 10:45:45 -07:00
Jeremy Rose
83d93bcbdc
SetAppUserModelID -> wstring
2021-03-24 10:22:04 -07:00
Electron Bot
d93690ccdc
Bump v14.0.0-nightly.20210324
2021-03-24 07:33:32 -07:00
liulun
3d2b740d9e
doc: desktopCapturer menu position ( #28315 )
...
desktopCapturer can be used in both main process and renderer process
2021-03-24 10:10:12 +09:00
Jeremy Rose
39e3576c48
Merge remote-tracking branch 'origin/master' into roller/chromium/master
2021-03-23 11:14:58 -07:00
Jeremy Rose
61cf1abd4d
more windows build fix
2021-03-23 11:12:59 -07:00
Cheng Zhao
1e9e2f8cf6
fix: make sure service worker scheme is registered with allowServiceWorkers ( #28326 )
...
* Fix custom scheme not registered as service worker scheme
* ServiceWorker loaders do not have WebContents associated
* Add test for service worker
* Revert "Fix custom scheme not registered as service worker scheme"
This reverts commit a249235b22 .
* Add scheme to ServiceWorkerSchemes
2021-03-23 11:16:53 -04:00
Shelley Vohr
7c36463085
fix: window.print() in pdf plugin ( #28328 )
2021-03-23 10:40:37 -04:00
Electron Bot
6a0b03ba6a
Bump v14.0.0-nightly.20210323
2021-03-23 07:32:53 -07:00
Samuel Attard
94af0e8bb0
fix: escape URL passed to shell.openExternal on windows ( #28334 )
2021-03-22 16:33:03 -07:00
Jeremy Rose
5b598037bb
windows build fixes
2021-03-22 15:49:43 -07:00
Jeremy Rose
ea62ecd188
fix GetAsString maybe?
2021-03-22 14:47:24 -07:00
Shelley Vohr
665ac6f9c8
fix: libuv hang on Windows ( #28175 )
2021-03-22 13:11:03 -07:00
Jeremy Rose
74318705c2
bump nan
2021-03-22 13:09:41 -07:00
Jeremy Rose
205f572181
incantations for WebContentsPreferences::GetPreloadPath wide strings
2021-03-22 12:15:30 -07:00
Jeremy Rose
451e0931bf
fix StrCat issue
2021-03-22 12:07:12 -07:00
Jeremy Rose
deeb2de14b
undo changes to WebContentsPreferences::GetPreloadPath to fix mac build
2021-03-22 10:35:11 -07:00
John Kleinschmidt
d10398610b
ci: cleanup directories on arm64 machines after running tests ( #28329 )
2021-03-22 10:34:13 -07:00
Nikita Kot
e99893df22
feat: add ContextBridgeMutability feature ( #27348 )
2021-03-22 10:16:35 -07:00
Electron Bot
fa320eeb90
Bump v14.0.0-nightly.20210322
2021-03-22 07:32:51 -07:00
Shelley Vohr
96ce59609d
refactor: prefer embedder-focused InitializeNodeWithArgs ( #28271 )
2021-03-22 02:42:06 -07:00
Adrian Li
703f8707db
fix: Fix main.js source code ( #28265 )
...
fix: Fix main.js source code, missing large bracket
2021-03-22 11:01:49 +09:00
Will Anderson
8c3165434a
docs: update Node global symbols example to use contextBridge ( #28245 )
...
* docs: update Node global symbols example to use contextBridge
* Trigger Build
* docs: change Node API example to show how to expose a crypto API
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* docs: Fix lint warning for crypto code sample
* docs: update node API example description to emphasize APIs instead of symbols
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-03-22 11:01:12 +09:00
Cheng Zhao
c8d18a0a1c
fix: destroy MessageDispatcher before WebContents ( #28286 )
2021-03-22 10:56:30 +09:00
Cheng Zhao
db7059eb0a
test: spellchecker may take several minutes to load under ASan ( #28230 )
...
* test: spellchecker may take several minutes to load under ASan
* Add TODO for the timeout
2021-03-22 10:56:08 +09:00
Electron Bot
a79ef2d525
Bump v14.0.0-nightly.20210319
2021-03-19 07:32:26 -07:00
Shelley Vohr
79bcb882ac
fix: drag region offsets in BrowserViews ( #28268 )
2021-03-19 06:22:05 -07:00
Shelley Vohr
a68d43ce8b
fix: missing HandleScope in ResetBrowserViews ( #28266 )
2021-03-19 10:24:55 +09:00
Jeremy Rose
502d4c19ce
feat: allow omitting submitURL when uploadToServer is false ( #28105 )
2021-03-18 14:15:19 -07:00
Samuel Attard
f35fc93080
chore: rename process.contextIsolation to process.contextIsolated ( #28259 )
...
* chore: rename process.contextIsolation to process.contextIsolated
* thing
2021-03-18 14:00:19 -07:00
Samuel Maddock
4057e6b56e
fix: DesktopCapturer gc'd prior to capture completion ( #28273 )
...
desktopCapture.getSources() returns a promise which should resolve
when capturing finishes. Internally it creates an instance of
DesktopCapturer which is responsible for resolving or rejecting
the promise.
Between the time DesktopCapturer starts capturing frames and when
it finishes, it's possible for its handle to be GC'd leading to
it never resolving.
These changes pin the instance of DesktopCapturer until it either
finishes or errors.
fixes #25595
2021-03-18 13:43:35 -07:00
Jeremy Rose
b52ccc9726
fix: bad menu position when no positioning item specified ( #28224 )
2021-03-18 13:37:14 -07:00
Karel Braeckman
8476bed36e
Change example to work with latest versions of selenium-webdriver ( #28231 )
...
See https://github.com/SeleniumHQ/selenium/issues/9286
The existing snippet works with selenium-webdriver <= 3.6.0, but any more recent version seems to require using 'goog:chromeOptions' and forBrowser('chrome').
2021-03-18 13:35:04 -07:00
John Kleinschmidt
2d3c65beca
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-18 15:55:51 -04:00
John Kleinschmidt
3b183854ff
2693008: Fix loading non-system cursors on Windows on browser_tests
...
https://chromium-review.googlesource.com/c/chromium/src/+/2693008
2021-03-18 15:52:54 -04:00
Electron Bot
baadcd48df
Bump v14.0.0-nightly.20210318
2021-03-18 07:32:19 -07:00
Will Anderson
14acf00ba9
docs: add missing curly brace to quick start example code ( #28253 )
2021-03-18 00:58:03 -07:00
Milan Burda
fc7f2042ec
feat: add process.contextIsolation property ( #28030 )
2021-03-17 11:23:29 -07:00
Milan Burda
485fa5bea9
feat: add process.contextId used by @electron/remote ( #28007 )
2021-03-17 11:23:03 -07:00
John Kleinschmidt
08330cb079
Revert "chore: bump chromium in DEPS to 91.0.4449.0"
...
This reverts commit bccafa0289 .
2021-03-17 13:48:38 -04:00
Electron Bot
54bc21929a
Bump v14.0.0-nightly.20210317
2021-03-17 07:31:38 -07:00
Electron Bot
bccafa0289
chore: bump chromium in DEPS to 91.0.4449.0
2021-03-17 06:00:35 -07:00
Will Anderson
b6ff12ef7f
docs: update Quick Start Guide for Electron 12 ( #28223 )
...
* docs: Update Quick Start Guide for Electron 12
With `contextIsolation` enabled by default in Electron 12, the Getting Started Guide no longer works as it is written. In order for the basic example to display values from `process.versions`, we need to add a `preload.js` to the example.
* fix: annotate preload code block with a language
* docs: update quick-start Fiddle example to use preload to provide version info
* fix: ensure example files end in a newline
* docs: add security warning to instructions for turning off contextIsolation
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* docs: treat preload as an adjective instead of a noun
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2021-03-16 19:45:38 -04:00
Cheng Zhao
80f89a3472
test: disable some tests under ASan which might receive SIGKILL because of OOM ( #28156 )
...
* test: running child app under ASan might receive SIGKILL
* test: renderer process of webview might receive SIGKILL under ASan
* test: increase timeout for asan build
2021-03-16 17:02:47 -04:00
John Kleinschmidt
c49bc282d5
update node headers
2021-03-16 16:28:20 -04:00
John Kleinschmidt
7e961d8a37
Fixup 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
2021-03-16 15:44:41 -04:00
John Kleinschmidt
b6d2ae0455
Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui
2021-03-16 15:43:51 -04:00
John Kleinschmidt
97b6868e9c
fixup 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer
2021-03-16 15:43:09 -04:00
John Kleinschmidt
29dfabadfd
Fixup 2721718: Move HostID to extensions::mojom::HostID
2021-03-16 15:40:29 -04:00
John Kleinschmidt
d0989802bd
2720306: [api] Remove deprecated [Shared]ArrayBuffer API
...
https://chromium-review.googlesource.com/c/v8/v8/+/2720306
2021-03-16 15:39:40 -04:00
John Kleinschmidt
ec893f8322
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-16 13:58:27 -04:00
John Kleinschmidt
22d8f22cfb
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-16 12:18:45 -04:00
John Kleinschmidt
86d23cee40
add additional skipping of atk toolchain check
2021-03-16 12:05:15 -04:00
John Kleinschmidt
29dc5a2f83
docs: remove no longer relevant link ( #28196 )
2021-03-16 11:41:49 -04:00
John Kleinschmidt
3160e608e2
only include mac notifications on mac
2021-03-16 11:41:00 -04:00
John Kleinschmidt
f1bb6be4b9
2752406: [LSC] Replace base::string16 with std::u16string in //ui
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
2021-03-16 11:17:38 -04:00
John Kleinschmidt
2cd53eb46a
2648046: Introduce alert notification helper .app
...
https://chromium-review.googlesource.com/c/chromium/src/+/2648046
2021-03-16 10:59:05 -04:00
John Kleinschmidt
5fc298ee5f
Use nogncheck for content/browser/site_instance_impl.h
...
This is needed because //content/browser:browser is not a visible target
2021-03-16 10:45:47 -04:00
John Kleinschmidt
d54bee03d0
2733070: Rename observer to URLLoaderNetworkServiceObserver
...
https://chromium-review.googlesource.com/c/chromium/src/+/2733070
2021-03-16 10:36:38 -04:00
Electron Bot
4a6bc7a42f
Bump v14.0.0-nightly.20210316
2021-03-16 07:34:16 -07:00
John Kleinschmidt
3010dd93e3
2721718: Move HostID to extensions::mojom::HostID
...
https://chromium-review.googlesource.com/c/chromium/src/+/2721718
2021-03-16 10:28:55 -04:00
John Kleinschmidt
88bbe2a352
2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
2021-03-16 10:27:05 -04:00
John Kleinschmidt
185c343b22
2725403: Add URLLoaderClient::OnReceiveEarlyHints()
...
https://chromium-review.googlesource.com/c/chromium/src/+/2725403
2021-03-16 10:12:15 -04:00
John Kleinschmidt
b15b820bca
2743594: Remove WebSize from blink.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2743594
2021-03-16 10:01:47 -04:00
John Kleinschmidt
9f5e3f6685
Update patches
2021-03-16 10:01:00 -04:00
Electron Bot
003dd6c16c
chore: bump chromium in DEPS to 91.0.4448.0
2021-03-16 06:00:23 -07:00
Shelley Vohr
fdc2e2bc57
fix: recalibrate simpleFullscreen when display metrics change ( #28150 )
...
* fix: recalibrate simpleFullscreen when display metrics change
* Address review feedback
* fix: compilation issues
* Address feedback from review
2021-03-16 02:41:59 -07:00
Samuel Attard
b045d42b0e
docs: document the parameter structure of hookWindowMessage ( #28189 )
...
Fixes #28178
2021-03-16 17:54:41 +09:00
John Kleinschmidt
76538d2d38
2734095: Introduce StoragePartitionId type to wrap current string representation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2734095
2021-03-15 21:57:12 -04:00
John Kleinschmidt
676f74f3dc
2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
2021-03-15 21:45:19 -04:00
John Kleinschmidt
08036802cb
2752932: Associate each AwProxyingURLLoaderFactory with a frame tree node id.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752932
2021-03-15 21:28:22 -04:00
John Kleinschmidt
9e336f5d0c
2752406: [LSC] Replace base::string16 with std::u16string in //ui
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
2021-03-15 21:21:27 -04:00
John Kleinschmidt
d4bec23bde
2752406: [LSC] Replace base::string16 with std::u16string in //ui
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
2021-03-15 20:33:49 -04:00
John Kleinschmidt
d0e88c2476
Merge branch 'master' into roller/chromium/master
2021-03-15 19:00:53 -04:00
John Kleinschmidt
fae4d87a5a
update to xcode 12.4.0
...
Needed because of 8008deb41c
2021-03-15 18:46:50 -04:00
John Kleinschmidt
57a8781c01
Merge branch 'master' into roller/chromium/master
2021-03-15 18:43:25 -04:00
John Kleinschmidt
8f4e362d8f
fixup gn check
2021-03-15 18:21:51 -04:00
Jeremy Rose
d27ad0d182
fix: revert "refactor: mmap asar files ( #24470 )" ( #28137 )
...
This reverts commit 01a2e23194 .
2021-03-15 11:42:54 -07:00
John Kleinschmidt
1e16606524
chore: update patches
2021-03-15 14:32:18 -04:00
Electron Bot
b023b33c05
Bump v14.0.0-nightly.20210315
2021-03-15 07:33:00 -07:00
Gerrit Niezen
45c4dd529f
docs: remove unnecessary enableBlinkFeatures ( #28129 )
...
* docs: remove unnecessary enableBlinkFeatures
* docs: remove trailing comma
2021-03-15 10:29:10 +09:00
Jeremy Rose
41fdf450b2
docs: expand OS version prompt in issue template ( #28135 )
...
* docs: expand OS version prompt in issue template
* Update bug_report.yml
2021-03-15 10:26:27 +09:00
Samuel Attard
8dfe4abd14
fix: handle a nil backgroundColor in win.getBackgroundColor() ( #28120 )
...
* fix: handle a nil backgroundColor in win.getBackgroundColor()
* spec: add crash case
* fix: update to fix native_views transparent color
* chore: fix lint
2021-03-14 17:26:47 -07:00
Electron Bot
f933c249fe
chore: bump chromium in DEPS to 91.0.4446.0
2021-03-14 06:00:46 -07:00
Electron Bot
5e7ae59d29
chore: bump chromium in DEPS to 91.0.4445.0
2021-03-13 05:00:21 -08:00
Samuel Attard
f73256651b
fix: convert system colors to device color space in systemPreferences ( #28121 )
2021-03-12 23:31:08 -08:00
Binyamin Aron Green
a442f11574
fixed typo in docs/api/window-open.md ( #28117 )
2021-03-13 10:47:33 +09:00
Jeremy Rose
b8926cb4e8
docs: remove "Additional information" section from issue template ( #28136 )
2021-03-12 17:39:47 -08:00
Jeremy Rose
b7eb521cec
docs: about->description in issue template ( #28144 )
2021-03-12 09:23:13 -08:00
Jeremy Rose
ab74cf4e1a
docs: add bug label to bug reports ( #28145 )
2021-03-12 09:22:51 -08:00
Jeremy Rose
8d38e9dd54
docs: use :syntax: for emoji in feature request template ( #28146 )
2021-03-12 09:22:15 -08:00
Electron Bot
4d1d6c8a3a
Bump v14.0.0-nightly.20210312
2021-03-12 06:32:18 -08:00
Mark Lee
40d779a7f3
docs(breaking-changes): contextIsolation disables require in renderer ( #28087 )
...
* docs(breaking-changes): contextIsolation disables require in renderer
* docs: consistency
2021-03-12 16:42:15 +09:00
Mark Lee
6bce814736
docs(quick-start): make import command npm 7-compatible ( #28077 )
...
With npm 7, just running `npx @electron-forge/cli import` results in:
```
npm ERR! could not determine executable to run
```
2021-03-12 16:38:58 +09:00
Cheng Zhao
5b710519cf
test: reliably wait for spellchecker to load ( #28118 )
2021-03-12 16:35:57 +09:00
Milan Burda
6c90411e21
fix: change #if defined(OS_MACOSX) to #if defined(OS_MAC) ( #28102 )
2021-03-11 21:07:21 -08:00
Samuel Attard
74e7f98572
docs: fix cookies event documentation for type generation ( #28115 )
2021-03-11 12:14:16 -08:00
Electron Bot
8badc6583f
Bump v14.0.0-nightly.20210311
2021-03-11 06:31:59 -08:00
Electron Bot
35cafdd1d8
chore: bump chromium in DEPS to 91.0.4443.0
2021-03-11 05:00:25 -08:00
Samuel Attard
089ac8180f
fix: ensure child window transparency works ( #28054 )
...
* fix: ensure child window transparency works
Windows opened via window.open and intecepted via setWindowOpenHandler
or the `new-window` event should (a) have the correct background color
and (b) that background color should be transparent if specified.
The changes in api_web_contents fix (a) and the changes in
web_contents_preferences fix (b).
Notes: Child windows with specified background colors or transpency now
work as intended
* fix: set background_color in blink prefs apply logic
* chore: update for PR comments
2021-03-10 12:44:36 -08:00
Robo
102a3740ea
chore: cherry-pick 1fe571a from node ( #28067 )
...
Backports https://github.com/nodejs/node/pull/37000
2021-03-10 11:44:16 -08:00
Cheng Zhao
32ec7e1e21
test: enable locale test for asan build ( #28085 )
2021-03-10 13:04:57 -05:00
John Kleinschmidt
73d0a16ae2
chore: convert Mac App Store Private API Rejection template to form ( #28100 )
2021-03-10 13:03:25 -05:00
Electron Bot
5df13e7c8a
Bump v14.0.0-nightly.20210310
2021-03-10 06:32:06 -08:00
Electron Bot
8c6027c519
chore: bump chromium in DEPS to 91.0.4442.0
2021-03-10 05:01:20 -08:00
Milan Burda
5b205731f6
chore: remove deprecated remote module ( #25734 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-03-09 17:12:40 -08:00
Shelley Vohr
d274df7e3a
chore: convert bug report template to form ( #27971 )
...
* chore: update feature_request for checkboxes
* chore: convert bug report template
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Address review feedback
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-03-09 16:30:32 -05:00
Electron Bot
aadf2f4a7c
Bump v14.0.0-nightly.20210309
2021-03-09 06:33:36 -08:00
Shelley Vohr
d9997c303f
fix: capturePage not resolving with hidden windows ( #27883 )
2021-03-09 05:51:44 -08:00
Electron Bot
ab943d78b2
chore: bump chromium in DEPS to 91.0.4441.0
2021-03-09 05:00:42 -08:00
Cheng Zhao
f6949dd197
test: show full object diff ( #28062 )
2021-03-09 16:05:02 +09:00
John Kleinschmidt
e27b7ed248
build: call goma_ctl.py ensure_start directly ( #28053 )
2021-03-09 09:17:42 +09:00
Shelley Vohr
41b5cd1a84
chore: remove obsolete native node module patch ( #23760 )
2021-03-08 14:21:07 -08:00
Cheng Zhao
7e22523ed2
test: print more infomation in locale test ( #28040 )
2021-03-08 11:23:55 -05:00
Cheng Zhao
3270613bf7
test: ignore the ready event from PDF Viewer ( #28039 )
2021-03-08 11:15:39 -05:00
Electron Bot
0505beb43d
Bump v14.0.0-nightly.20210308
2021-03-08 06:31:58 -08:00
Electron Bot
8949b8a462
chore: bump chromium in DEPS to 91.0.4440.0
2021-03-08 05:00:14 -08:00
Konstantin Pschera
5b50c88508
docs: auto update downloading multiple times ( #27888 )
2021-03-08 10:03:34 +09:00
Erick Zhao
9ccb8f5910
docs: update WebPreferences default values for Electron 12 ( #27984 )
...
Updates the values for `contextIsolation` and `worldSafeExecuteJavaScript` for Electron 12.
2021-03-08 09:56:50 +09:00
Domenic Horner
46cfb347d7
docs: setWindowOpenHandler should show object return ( #28015 )
...
* Should use object return
* Fix lint
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-03-08 09:56:07 +09:00
Electron Bot
ee0ab6f392
chore: bump chromium in DEPS to 91.0.4439.0
2021-03-07 05:00:15 -08:00
Cheng Zhao
f4e1a343b9
refactor: cleanup how WebContents is destroyed ( #27920 )
2021-03-07 21:14:12 +09:00
Cheng Zhao
b3a0743121
test: exit after app.relaunch is called ( #28016 )
2021-03-07 16:30:43 +09:00
Electron Bot
b36292780f
chore: bump chromium in DEPS to 91.0.4438.0
2021-03-06 05:00:21 -08:00
Electron Bot
e99e6a5a8a
update patches
2021-03-06 01:03:38 +00:00
Samuel Attard
54cc68dd7a
chore: fix lint
2021-03-05 16:54:18 -08:00
Samuel Attard
59432fe30a
chore: remove deleted file from chromium_src list
2021-03-05 16:51:11 -08:00
Samuel Attard
f51f427646
chore: wire up activation_time in OSR
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2638372
2021-03-05 16:50:32 -08:00
Samuel Attard
4e02d9407a
refactor: DesktopMediaList::Type replaces content::DesktopMediaType_*
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2700637
2021-03-05 16:46:44 -08:00
Samuel Attard
77ad17b383
refactor: CreateDataPipe deprecated form was removed
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2698090
2021-03-05 16:42:15 -08:00
Samuel Attard
be627568b2
refactor: blink::MenuItem::Type was moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
2021-03-05 16:39:01 -08:00
Samuel Attard
59669e99cb
refacotr: grit::ResourceMap replaced with webui::ResourcePath
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2685601
2021-03-05 16:00:59 -08:00
Samuel Attard
dc36e8e6fc
refactor: extensions::ViewType was moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
2021-03-05 15:41:32 -08:00
Samuel Attard
1a296e59c2
refactor: MenuItemType was moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
2021-03-05 15:36:52 -08:00
Samuel Attard
0d94e0d1d9
refactor: content::SiteInstance::GetSiteForURL was removed
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2680274
2021-03-05 15:30:36 -08:00
Samuel Attard
2fed02556d
refactor: ExtensionUserScriptManager is now UserScriptManager
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2657617
2021-03-05 15:15:58 -08:00
Samuel Attard
eccfa516c5
refactor: CertVerifier is not in the network namespace anymore
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2689805
2021-03-05 15:08:38 -08:00
Electron Bot
f114dcfd6e
Bump v14.0.0-nightly.20210305
2021-03-05 06:32:21 -08:00
liulun
54bc71da34
chore: Add a condition to crashReporter deprecate log ( #27953 )
...
* Add a condition to crashReporter deprecate log
When developer set submitURL to '' crash reports will be saved at `...\AppData\Roaming\...\Crashpad\reports`, will not be uploaded to the server.
So at this time `deprecate.log('Sending uncompressed crash reports....')` is unnecessary.
* Update lib/browser/api/crash-reporter.ts
change to check uploadToServer
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-03-05 10:13:17 +09:00
John Kleinschmidt
afb7d9f550
fix: navigator.setAppBadge/clearAppBadge from a service worker ( #27950 )
2021-03-05 10:12:03 +09:00
Stathis Siatras
d92bab0e29
docs: suspend and resume are available on Linux ( #27958 )
...
* docs: suspend and resume are available on Linux
* docs: suspend and resume are available on Linux
2021-03-05 10:11:36 +09:00
Samuel Attard
e900271bea
chore: might_have_observers has been removed
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2667839
2021-03-04 16:25:33 -08:00
Samuel Attard
87df2766ba
refactor: extensions::ViewType moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
2021-03-04 16:23:13 -08:00
Samuel Attard
c8148febfa
chore: update patches
2021-03-04 16:20:36 -08:00
Samuel Attard
e715b9c921
chore: media_internal_resources becomes resources
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2699022
2021-03-04 15:53:46 -08:00
Samuel Attard
55e50a0879
chore: update patches
2021-03-04 15:46:13 -08:00
Samuel Attard
b820b4078d
build: add 'use_rts' definition
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2694187
2021-03-04 14:33:36 -08:00
Electron Bot
5defd96ecd
chore: bump chromium in DEPS to 91.0.4435.3
2021-03-04 13:51:14 -08:00
Electron Bot
ca75bca667
chore: bump chromium to 90.0.4415.0 (master) ( #27694 )
...
* chore: bump chromium in DEPS to 520c02b46668fc608927e0fcd79b6a90885a48bf
* chore: bump chromium in DEPS to 90.0.4414.0
* resolve chromium conflicts
* resolve v8 conflicts
* fix node gn files
* 2673502: Remove RenderViewCreated use from ExtensionHost.
https://chromium-review.googlesource.com/c/chromium/src/+/2673502
* 2676903: [mojo] Remove most legacy Binding classes.
https://chromium-review.googlesource.com/c/chromium/src/+/2676903
* 2644847: Move self-deleting URLLoaderFactory base into //services/network.
https://chromium-review.googlesource.com/c/chromium/src/+/2644847
* 2664006: Remove from mojo::DataPipe.
https://chromium-review.googlesource.com/c/chromium/src/+/2664006
* 2674530: Remove CertVerifierService feature
https://chromium-review.googlesource.com/c/chromium/src/+/2674530
* 2668748: Move OnSSLCertificateError to a new interface.
https://chromium-review.googlesource.com/c/chromium/src/+/2668748
* 2672923: Remove RAPPOR reporting infrastructure.
https://chromium-review.googlesource.com/c/chromium/src/+/2672923
* 2673502: Remove RenderViewCreated use from ExtensionHost.
https://chromium-review.googlesource.com/c/chromium/src/+/2673502
* 2655126: Convert FrameHostMsg_ContextMenu and FrameMsg_ContextMenuClosed|CustomContextMenuAction to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2655126
* 2628705: Window Placement: Implement screen.isExtended and change event
https://chromium-review.googlesource.com/c/chromium/src/+/2628705
* 2643161: Refactor storage::kFileSystem*Native*
https://chromium-review.googlesource.com/c/chromium/src/+/2643161
* fix build
* only remove the biggest subdir of //ios
* chore: bump chromium in DEPS to 90.0.4415.0
* update patches
* update sysroots
* 2686147: Remove WebContentsObserver::RenderViewCreated().
https://chromium-review.googlesource.com/c/chromium/src/+/2686147
* 2596429: Fixing how extension's split and spanning modes affect OriginAccessList.
https://chromium-review.googlesource.com/c/chromium/src/+/2596429
* 2686026: [mojo] Delete AssociatedInterfacePtr (replaced by AssociatedRemote)
https://chromium-review.googlesource.com/c/chromium/src/+/2686026
* 2651705: Move ui/base/dragdrop/file_info to ui/base/clipboard
https://chromium-review.googlesource.com/c/chromium/src/+/2651705
* 358217: drawBitmap is deprecated
https://skia-review.googlesource.com/c/skia/+/358217
* fix gn check
* 2678098: Use gen/front_end as input to generate_devtools_grd
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2678098
* 2674530: Remove CertVerifierService feature
https://chromium-review.googlesource.com/c/chromium/src/+/2674530
* fixup 2664006: Remove from mojo::DataPipe.
https://chromium-review.googlesource.com/c/chromium/src/+/2664006
* fixup build_add_electron_tracing_category.patch
* 2673415: [base] Prepare CrashReporterClient for string16 switch
https://chromium-review.googlesource.com/c/chromium/src/+/2673415
* 2673413: Add CursorFactoryWin to handle Cursors on Windows
https://chromium-review.googlesource.com/c/chromium/src/+/2673413
* 2668748: Move OnSSLCertificateError to a new interface.
https://chromium-review.googlesource.com/c/chromium/src/+/2668748
* fix mas gn check
* update patch after merge
* Update node for .mjs files
* build: load v8_prof_processor dependencies as ESM
* chore: add patch to fix linux 32bit
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-03-04 09:27:05 -08:00
Cheng Zhao
0b042d3b1c
test: fix contextIsolation value for later added test ( #27998 )
2021-03-04 11:22:32 -05:00
Electron Bot
9b93750e5e
Bump v14.0.0-nightly.20210304
2021-03-04 06:32:09 -08:00
Jeremy Rose
6e121d2250
feat: expose des-ede3 cipher ( #27897 )
2021-03-03 16:18:42 -08:00
Jeremy Rose
2e091d401e
docs: update fiddles/quick-start to set contextIsolation: false ( #27970 )
2021-03-03 16:18:07 -08:00
Shelley Vohr
360d1b2bfd
fix: offset browserview drag regions on macOS ( #27952 )
2021-03-03 10:37:03 -08:00
Electron Bot
86e220b14d
Bump v13.0.0-nightly.20210303
2021-03-03 06:32:27 -08:00
Milan Burda
bf7e445883
fix: warning when worldSafeExecuteJavaScript is disabled ( #27928 )
2021-03-02 09:45:27 -08:00
Cheng Zhao
ede8611937
fix: check web_contents() for destroyed WebContents ( #27815 )
2021-03-02 09:38:56 -08:00
Cheng Zhao
ed8e57e424
test: add more logging for a few tests. ( #27956 )
...
* test: add logging for app.relaunch test
* test: compare more fields in extension test
2021-03-02 09:34:41 -08:00
Michaela Laurencin
d1145a0f2b
docs: update currently supported versions for 12.0.0 release ( #27873 )
2021-03-02 12:11:21 -05:00
Electron Bot
1f7b40d302
Bump v13.0.0-nightly.20210302
2021-03-02 06:32:46 -08:00
Samuel Attard
186301e126
feat: enable context isolation by default ( #26890 )
...
* feat: enable context isolation by default
* chore: set default in ctx iso getter
* spec: make all specs work with the new contextIsolation default
* spec: fix affinity specs
* spec: update tests for new ctx iso default
* spec: update tests for new ctx iso default
* spec: update tests for new ctx iso default
* spec: update tests for new ctx iso default
* chore: move stray prod deps to dev deps
* spec: update tests for new ctx iso default
* turn off contextIsolation for visibility tests
* turn off contextIsolation for <webview> tag nodeintegration attribute loads native modules when navigation happens
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-03-01 16:52:29 -05:00
Erick Zhao
2d0ad0b96a
fix: make TouchBarPopover and TouchBarGroup work ( #27901 )
...
* fix: use correct `orderedItem` touchbar property
* fix: correct parent in touchbar group and popover
* fix: preserve property hook order
2021-03-01 13:34:00 -08:00
Shelley Vohr
e5a9a1ebd7
fix: ensure owner window valid ( #27786 )
2021-03-01 13:26:23 -08:00
Keeley Hammond
c30484ce13
docs: update timeline dates for 12.0.0 and 13.0.0 ( #27867 )
...
* docs: update dates for 12.0.0 and 13.0.0
* chore: update beta-13 date and 12 node version
2021-03-01 13:19:46 -08:00
Keeley Hammond
84d0e827a3
chore: revert webFrameMain.executeJavaScriptInIsolatedWorld method ( #27926 )
2021-03-01 10:07:25 -05:00
Electron Bot
5f43c1dab8
Bump v13.0.0-nightly.20210301
2021-03-01 06:32:30 -08:00
Samuel Attard
1f896b829b
build: remove node-gyp arm64 tricks ( #27916 )
2021-03-01 20:46:19 +09:00
Samuel Attard
11d94bb9ab
build: update docker images to node 14 ( #27915 )
...
* build: update docker images to node 14
* chore: update again to fix dbus
2021-03-01 20:45:20 +09:00
Emil Pettersson
a9b25dda85
fix: race-condition in electron.net ( #27898 )
2021-02-26 13:18:46 -08:00
John Kleinschmidt
d57fd6cef0
fix: navigator.bluetooth.requestDevice ( #27902 )
...
* fix: navigator.bluetooth.requestDevice
* cleanup lint and add test
* update bluetooth test to handle no bluetooth adapter available
* update bluetooth test to handle bluetooth permission denied
2021-02-26 11:10:27 -08:00
Electron Bot
bd940b2904
Bump v13.0.0-nightly.20210226
2021-02-26 06:31:38 -08:00
Samuel Attard
e406ba9558
fix: values return from the ctx bridge with dynamic property support should themselves support dynamic properties ( #27899 )
2021-02-25 13:09:00 -08:00
Samuel Attard
4d5e0cf2c4
chore: move stray prod deps to dev deps ( #27914 )
2021-02-25 13:08:34 -08:00
Electron Bot
5ea2794857
chore: bump node to v14.16.0 (master) ( #27706 )
...
* chore: bump node in DEPS to v14.15.5
* update patches
* chore: bump node in DEPS to v14.16.0
* update patches
2021-02-25 09:52:57 -08:00
Electron Bot
6aa00106d4
Bump v13.0.0-nightly.20210225
2021-02-25 06:32:07 -08:00
Electron Bot
1375c3d805
Bump v13.0.0-nightly.20210224
2021-02-24 06:31:21 -08:00
Jeremy Rose
2e13ce58c0
docs: fix header level of some events in app.md ( #27860 )
2021-02-24 18:04:41 +09:00
Electron Bot
4456c50b35
Bump v13.0.0-nightly.20210223
2021-02-23 06:31:22 -08:00
Jeremy Rose
7f8e34fa3f
test: run tests under asan on linux-x64 ( #23570 )
2021-02-22 16:16:17 -08:00
Tony
b181dae146
fix: isFullScreen typo ( #27823 )
...
* fix isFullScreen typo
* Update lib/browser/api/base-window.ts
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Tony Wu <tonywoo@fb.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2021-02-22 15:33:46 -05:00
Denise Yu
1b87cd6941
Update feature_request.yml ( #27825 )
...
This will fix the Feature Request template. More details: https://gh-community.github.io/issue-template-feedback/changes
2021-02-22 10:58:41 -05:00
Jeremy Rose
912c9c2254
fix: cap sendInputEvent text length at n-1 ( #27827 )
2021-02-22 10:38:59 -05:00
Electron Bot
e5540febc2
Bump v13.0.0-nightly.20210222
2021-02-22 06:32:26 -08:00
Cheng Zhao
a0141f8d6c
fix: pass IsScreen via parameter instead of sync IPC method ( #27774 )
2021-02-19 15:28:48 -08:00
Jeremy Rose
1e4f67c197
fix: gather crash data for unexpected helper path ( #27804 )
2021-02-19 15:08:49 -08:00
Electron Bot
84aba24a2a
Bump v13.0.0-nightly.20210219
2021-02-19 06:31:51 -08:00
Michaela Laurencin
0dd283a7a6
docs: update menu item '&' escaping ( #27770 )
2021-02-19 15:41:16 +09:00
Keeley Hammond
6a9ba42273
Revert "perf: patch libuv to use posix_spawn on macOS ( #27026 )" ( #27797 )
...
This reverts commit f69c11105f .
2021-02-18 15:36:17 -08:00
Shelley Vohr
b12e47b798
fix: don't create last saved path if none exists ( #27745 )
2021-02-18 15:27:29 -08:00
Shelley Vohr
599f398ddc
fix: enableBlinkFeatures warning in webviews ( #27753 )
2021-02-18 11:11:35 -08:00
Electron Bot
cc1239b311
Bump v13.0.0-nightly.20210218
2021-02-18 06:32:09 -08:00
Calvin
64eb02b671
fix: restore window event redispatching on mac ( #27701 )
2021-02-18 10:31:53 +09:00
Michaela Laurencin
b0a6eb6a53
fix: add support for title change with window history navigation ( #27724 )
2021-02-17 10:23:45 -08:00
Electron Bot
c99c4117c8
Bump v13.0.0-nightly.20210217
2021-02-17 06:33:17 -08:00
Cheng Zhao
7a7a27d9bc
fix: check WebContents before emitting render-process-gone event ( #27730 )
2021-02-17 21:19:17 +09:00
Shelley Vohr
642d6fca91
fix: libuv hang when nodeIntegrationInSubframes enabled ( #27582 )
2021-02-16 19:42:28 -08:00
Jeremy Rose
980b32fce7
test: fix and undisable parallel/node-crypto ( #27689 )
2021-02-16 15:19:49 -08:00
Cheng Zhao
399216580d
test: fix flaky did-change-theme-color test ( #27739 )
...
* test: move did-change-theme-color test to main
* test: enable did-change-theme-color test for WOA
2021-02-16 17:21:40 -05:00
Cheng Zhao
0bc782dfe5
fix: disable unload metrics to fix CI failure ( #27731 )
...
* patch
* Use render-process-gone instead of crashed
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-02-16 10:11:07 -05:00
Electron Bot
a0d7cfdb9f
Bump v13.0.0-nightly.20210216
2021-02-16 06:33:05 -08:00
Electron Bot
a5cb3ae17c
Bump v13.0.0-nightly.20210215
2021-02-15 06:32:07 -08:00
Dennis Keil
8a88799ce2
docs: transparent window opaque while dev tools opened ( #27705 )
...
* Transparent window disabled while dev tools opened
Read that on some external website. I think this should be added to the official docs.
* Update frameless-window.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-02-15 11:59:40 +09:00
John Kleinschmidt
6f546be197
ci: ignore errors deleting user app directories on WOA testing ( #27709 )
2021-02-15 09:44:32 +09:00
Samuel Attard
47792d2ecb
chore: update copyright headers ( #27697 )
...
Per discussions with the Foundation, we are making an update to all copyright headers to follow the Linux Foundation guidance on copyright notices. In particular, we are broadening them to cover all contributors, and eliminating the year to avoid the need to keep them up to date.
2021-02-12 15:22:41 -08:00
Electron Bot
bef95b3c4a
Bump v13.0.0-nightly.20210212
2021-02-12 06:33:10 -08:00
Jeremy Rose
4ce9dd3a79
fix: ECDH.setPrivateKey correctly sets the key ( #27688 )
2021-02-11 13:49:41 -08:00
John Kleinschmidt
4ba5381e8d
Revert "ci: ignore errors deleting user app directories on WOA testing"
...
This reverts commit 59b3397ea5 .
2021-02-11 12:11:22 -05:00
John Kleinschmidt
59b3397ea5
ci: ignore errors deleting user app directories on WOA testing
2021-02-11 12:07:54 -05:00
Samuel Maddock
3250ef551c
feat: support registering MV3 extension service workers ( #27562 )
...
* feat: support registering MV3 extension service workers
* feat: load chrome extension APIs in worker context
* feat: add more ContentRendererClient service worker overrides
* fix: lint error
* refactor: emit object for 'registration-completed'
* docs: clarify when registration-completed emits
2021-02-11 10:58:03 -05:00
Electron Bot
6681f8f507
Bump v13.0.0-nightly.20210211
2021-02-11 06:33:07 -08:00
Jeremy Rose
d43002ccee
docs: MessagePorts guide ( #27678 )
2021-02-10 16:38:40 -08:00
Shelley Vohr
9063e84b7c
fix: crash in crypto.createDiffieHellman ( #27674 )
2021-02-10 16:10:40 -06:00
marekharanczyk
87064e5b5e
fix: set WebContents background color ubiquitously #27592 ( #27593 )
...
Move it from LoadURL to RenderViewCreated which is present
in all window creation cases and is called early enough to be
relevant from user prespective and after RenderWidgetHostView
is already present.
2021-02-10 12:03:48 -08:00
Electron Bot
68d9adb388
Bump v13.0.0-nightly.20210210
2021-02-10 06:38:20 -08:00
Stewart Lord
5f5afaae27
feat: add win.setTopBrowserView() so that BrowserViews can be raised ( #27007 )
...
* feat: Raise a browser view via `BrowserWindow.setTopBrowserView()`.
This is similar to removing and re-adding a browser view, but avoids a visible flicker as the browser view is not removed from the window when using `setTopBrowserView`. Note: if the given browser view is not attached to the window, it will be added.
This commit contains the macOS implementation.
* feat: setTopBrowserView support for Windows and Linux
* docs: add info about setTopBrowserView
* docs: Clarify behavior when browserView is not yet attached.
* fix: throw en error when browserView is not attached to the window
* fix: build error
* fix: test
* fix: add test case
* fix: tests
* fix: reparenting
* fix: close second window in tests
Co-authored-by: sentialx <sentialx@gmail.com >
2021-02-10 16:23:35 +09:00
Jeremy Rose
706d9ede9b
refactor: only allow internal messages from the main process ( #27676 )
2021-02-09 17:12:26 -08:00
Shelley Vohr
e46446e7e4
chore: bump chromium to e836cbe709f3cd703f233de8eb6cc6ec99b72c9d ( #27475 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-02-09 12:16:21 -08:00
Robo
44460e84c0
chore: cherry-pick 0c8b6e41 from v8 ( #27672 )
...
* chore: cherry-pick 0c8b6e41 from v8
Backports https://chromium-review.googlesource.com/c/v8/v8/+/2679688
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-02-09 09:21:49 -08:00
Cheng Zhao
af4a050a1b
feat: add roundedCorners option for BrowserWindow ( #27572 )
...
* feat: add roundedCorner option for BrowserWindow
* Make roundedCorner work with vibrancy views
* roundedCorner => roundedCorners
2021-02-09 08:38:35 -08:00
Electron Bot
e51ad4fa45
Bump v13.0.0-nightly.20210209
2021-02-09 06:32:23 -08:00
Jeremy Rose
28599e5e7c
feat: add exit code to render-process-gone details ( #27580 )
2021-02-08 17:08:11 -08:00
John Kleinschmidt
fdd08f7934
build: make sure fuses.h gets generated ( #27667 )
2021-02-08 13:19:28 -08:00
Samuel Attard
09870d97b5
perf: optimize data structures in context_bridge::ObjectCache ( #27639 )
...
* Use std::forward_list instead of base::LinkedList for better perf,
more consistent memory management. Better than std::list because we
don't need the double-linked-list behavior of std::list
* Use std::unordered_map instead of std::map for the v8 hash table
2021-02-08 12:30:25 -08:00
Samuel Maddock
1bbfa934f0
fix: early GC of WebFrameMain instances ( #27648 )
2021-02-08 11:30:18 -08:00
Milan Burda
bc7c290601
refactor: load preload script directly as a string ( #27546 )
2021-02-08 09:32:20 -08:00
Shelley Vohr
fa09183ed1
fix: BrowserView rendering flicker ( #27585 )
2021-02-08 09:14:46 -08:00
Pat DeSantis
f69c11105f
perf: patch libuv to use posix_spawn on macOS ( #27026 )
...
* perf: patch libuv to use posix_spawn on macOS
patch libuv to fix a performance regression in macOS >= 11
Spawning child processes in an Electron application with a hardened
runtime has become slow in macOS Big Sur. This patch is a squashed
version of https://github.com/libuv/libuv/pull/3064
This patch should be removed when libuv PR 3064 is merged.
Fixes: https://github.com/libuv/libuv/issues/3050
Fixes: https://github.com/electron/electron/issues/26143
PR-URL: https://github.com/libuv/libuv/pull/3064
Authored-by: Juan Pablo Canepa <jpcanepa@gmail.com >
Co-authored-by: Marcello Bastéa-Forte <marcello@descript.com >
Electron patch prepared by: Pat DeSantis <pdesantis3@gmail.com >
* Remove trailing whitespaces from patch file
* update patches
* Update patch description
Co-authored-by: Electron Bot <electron@github.com >
2021-02-08 10:25:04 -05:00
Electron Bot
0dcc623ab7
Bump v13.0.0-nightly.20210208
2021-02-08 06:32:00 -08:00
Ikko Ashimine
b88f585066
chore: fix typo in electron_api_base_window.cc ( #27644 )
...
reseting -> resetting
2021-02-08 10:18:08 +09:00
Jeremy Rose
e87803919b
fix: memory leak in BrowserWindow ( #27621 )
2021-02-05 13:20:20 -08:00
Samuel Attard
b6a91ef5df
fix: clean up base::LinkedList in context_bridge::ObjectCache ( #27630 )
...
base::LinkedList does not delete its members on destruction. We need to
manually ensure the linkedlist is empty when the ObjectCache is
destroyed.
Fixes #27039
Notes: Fixed memory leak when sending non-primitives over the context
bridge
2021-02-05 12:39:05 -08:00
Keeley Hammond
d06bb7c97b
fix: do not run display check on "closed" windows in tray ( #27615 )
...
* fix: only run display check on restored wndow if minimized
* fix: don't run display check on hidden, non-minimized windows
2021-02-05 12:11:26 -08:00
Michaela Laurencin
c175d41ae8
fix: remove windowName set as title for native window.open() ( #27481 )
2021-02-05 11:20:58 -08:00
Electron Bot
d5bcf742be
Bump v13.0.0-nightly.20210205
2021-02-05 06:32:00 -08:00
Cheng Zhao
eb91b1c965
fix: avoid flicker when leaving fullscreen in frameless window ( #27587 )
2021-02-05 10:03:12 +09:00
Michaela Laurencin
b31217a889
chore: fix lint ( #27620 )
2021-02-04 13:02:36 -08:00
Electron Bot
476d86491b
Bump v13.0.0-nightly.20210204
2021-02-04 06:31:28 -08:00
Electron Bot
a831ae9c0d
Bump v13.0.0-nightly.20210203
2021-02-03 06:33:49 -08:00
Erick Zhao
affbf1b3e6
docs: remove v5 and v6 modernization docs ( #27498 )
...
* docs: remove v5 and v6 modernization docs
* typo
* run script/gen-filenames.ts
2021-02-03 15:57:33 +09:00
Scott Robertson
ac5c9a8828
Fixing source typo ( #27583 )
2021-02-02 15:11:46 -08:00
John Kleinschmidt
59d1b650ca
build: fix buildflags.h generation on macos ( #27579 )
2021-02-02 14:01:58 -08:00
Charles Kerr
72127b2916
refactor: precache atoms in window-state-watcher ( #27575 )
2021-02-02 09:50:32 -08:00
Electron Bot
6b744171b1
Bump v13.0.0-nightly.20210202
2021-02-02 06:31:51 -08:00
Cyrus Roshan
444ad26f89
feat: add option to not transform processes on win.SetVisibleOnAllWorkspaces ( #27200 )
...
* fix: optionally transform processes on win.SetVisibleOnAllWorkspaces on macOS, making it backwards-compatible with v9.2.1 (#27101 )
* fix: optionally transform processes on win.SetVisibleOnAllWorkspaces on macOS, making it backwards-compatible with v9.2.1 (#27101 )
Co-authored-by: Cyrus Roshan <cyrusroshan@users.noreply.github.com >
2021-02-02 21:24:04 +09:00
Ahmed Elshafey
272611cc82
docs: Update ipcMain.handle() docs in ipc-main.md for error-handling details ( #27461 )
...
* Update ipc-main.md
Include information about ipcMain.handle() error handling and workaround included in issue #24427
* Update ipc-main.md
fixed a typo
* Update ipc-main.md
Remove the exception passing workaround from ipcMain.handle() and refer to open issue only.
* Remove trailing spaces
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-02-02 21:22:20 +09:00
Samuel Maddock
b6df7cd327
fix: crash when loadExtension fails ( #27561 )
2021-02-02 19:20:05 +09:00
Samuel Maddock
20a71be849
refactor: remove unused extension content script code ( #27570 )
...
This code was leftover from the old JS extensions implementation.
2021-02-02 19:03:10 +09:00
Сковорода Никита Андреевич
a5e9af330f
feat: implement allowFileAccess loadExtension option ( #25198 )
...
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-02-01 14:41:08 -08:00
Electron Bot
a75cd89d2a
Bump v13.0.0-nightly.20210201
2021-02-01 06:31:11 -08:00
Cheng Zhao
8bf66f8974
fix: clean up implementations of titleBarStyle ( #27489 )
...
* Rewrite titleBarStyle impls with WindowButtonsView
* Remove fullscreenWindowTitle option
* Make buttons show correctly under RTL
* Fix docs about traffic lights position
* Fix test on fullscreen resizable
* Fix button states with closabe/minimizable/fullscreenable
* Fix typo
* Deprecate the fullscreenWindowTitle option
2021-01-30 17:15:10 -06:00
Cheng Zhao
6edf6c6a95
fix: pass button callback in constructor ( #27545 )
2021-01-29 12:43:51 -08:00
Milan Burda
79b3393768
chore: remove bunch of usages of any ( #27512 )
2021-01-29 12:41:59 -08:00
Electron Bot
c7aa35a519
Bump v13.0.0-nightly.20210129
2021-01-29 06:31:35 -08:00
Michaela Laurencin
357becd113
fix: replace default frameName title with null check ( #27521 )
...
* refactor: replace default frameName title with null check
* add isNativeWindowOpen check in makeBrowserWindowOptions
* modify snapshot test files
* replace title with frame-name again for proxy - not native open
* modify proxy snapshot title key-value to come after height key-value
2021-01-29 07:24:30 -06:00
Shelley Vohr
40aeb0d994
fix: dont try to serialize WasmModuleObjects ( #27518 )
2021-01-28 18:20:28 -08:00
Felix Rieseberg
4f2490f8b8
docs: Update Readme, don't mention Electron < 2 ( #27535 )
...
* chore: Update Readme, don't mention Electron < 2
* chore: Add back versioning info
2021-01-28 15:34:22 -06:00
Shelley Vohr
18f4c3129d
test: fix failing http spec ( #27525 )
2021-01-28 11:51:08 -08:00
Milan Burda
0bb1ba822a
docs: update Xcode / macOS SDK version in build-instructions-macos.md ( #27513 )
2021-01-28 11:19:20 -08:00
Electron Bot
0ee7bc67bd
Bump v13.0.0-nightly.20210128
2021-01-28 06:32:05 -08:00
Shelley Vohr
bf6a50c538
fix: pdf viewer missing resources ( #27499 )
...
* fix: pdf viewer missing resources
* test: add simple regression test
* 2638992: PDF Viewer: Stop respecting the PDFViewerUpdate flag.
https://chromium-review.googlesource.com/c/chromium/src/+/2638992
* 2439433: PDF Viewer Update: Add aria-label for thumbnails
https://chromium-review.googlesource.com/c/chromium/src/+/2439433
2021-01-28 10:09:55 +09:00
Electron Bot
e94f97f2c9
Bump v13.0.0-nightly.20210127
2021-01-27 06:32:06 -08:00
Steven Yeh
f24348485a
docs: add note About Apple Silicon ( #27486 )
2021-01-26 19:57:39 -08:00
Erick Zhao
931e29cd64
docs: add missing contextBridge API to README ( #27485 )
2021-01-26 19:57:07 -08:00
Samuel Attard
db08f08b88
feat: enable world safe JS by default ( #26889 )
...
* feat: enable world safe JS by default
* refactor: use the ctx bridge to send executeJavaScript results in a world safe way
* docs: add more info about the breaking change
* include default in IsEnabled check
2021-01-26 14:23:35 -08:00
Erick Zhao
78d4cb9f5c
docs: update verb tenses for structured clone notes ( #27483 )
2021-01-26 14:14:44 -08:00
Milan Burda
bde714c1c6
refactor: cleanup WebFrameMain + improve tests ( #27455 )
2021-01-26 13:46:09 -08:00
Milan Burda
ddf3ef0a5f
refactor: use C++11 class member variable initialization ( #27477 )
2021-01-26 12:16:21 -06:00
LarryZhu
f083380c38
docs: update web-embeds ( #27488 )
2021-01-26 09:22:31 -08:00
Electron Bot
4f08bfffc1
Bump v13.0.0-nightly.20210126
2021-01-26 06:31:58 -08:00
Electron Bot
ed126eced4
chore: bump chromium to bf3f97675b5d9eade34526ebf730c (master) ( #27305 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-01-25 08:46:00 -08:00
Milan Burda
1023988ea8
build: fix build with enable_printing=false ( #27456 )
2021-01-25 08:27:25 -08:00
Milan Burda
e7c201288c
chore: enable Trusted Types in default app ( #27453 )
2021-01-25 11:08:58 -05:00
Electron Bot
d0c4a685fc
Bump v13.0.0-nightly.20210125
2021-01-25 06:31:18 -08:00
Milan Burda
64b7be751a
fix: CSP with unsafe-eval detection with Trusted Types ( #27446 )
2021-01-25 10:31:25 +09:00
Milan Burda
4a5c5843c4
fix: <webview> not working with Trusted Types ( #27445 )
2021-01-25 10:29:25 +09:00
Milan Burda
949fd0728f
refactor: replace base::Bind() with base::BindOnce() / base::BindRepeating() ( #27447 )
2021-01-25 10:27:40 +09:00
Zhang Zhi
b11c5533e8
Update security.md ( #27449 )
2021-01-25 10:27:29 +09:00
Charles Kerr
5a8f40ae13
fix: don't throw on bad icons in BrowserWindow constructor ( #27441 )
...
* fix: do not throw if NativeImage conversion fails.
Throwing is an unannounced semver/major breaking change, so revert that
behavior but keep the rest of the #26546 refactor.
* test: add invalid icon test
* refactor: be explicit about when to throw or warn.
2021-01-25 10:24:10 +09:00
Shelley Vohr
d69e0d0573
fix: hiddenInset missing maximize button ( #27428 )
2021-01-25 09:59:06 +09:00
Cheng Zhao
9baca911a1
test: use new uuid for each ServiceWorker test ( #27444 )
2021-01-23 10:37:51 +09:00
Milan Burda
70190ec2b1
chore: update to latest TypeScript, which has built-in WeakRef declarations ( #27425 )
2021-01-22 11:25:47 -08:00
Electron Bot
fcdb7ad21a
Bump v13.0.0-nightly.20210122
2021-01-22 06:33:30 -08:00
John Kleinschmidt
034a792df1
ci: enable arm64 macOS tests ( #24832 )
...
* ci: enable arm64 macOS tests
2021-01-21 18:36:52 -05:00
Michaela Laurencin
4f930b6e42
fix: add eyedropper tool functionality to browser view ( #27275 )
2021-01-21 13:02:29 -08:00
Electron Bot
96e8620e1b
Bump v13.0.0-nightly.20210121
2021-01-21 11:33:09 -08:00
Shelley Vohr
949cfea1e9
fix: actually clear pending requests in devtoolsagenthost ( #27379 )
2021-01-21 11:00:43 -08:00
Electron Bot
c8696d2c3d
Revert "Bump v13.0.0-nightly.20210121"
...
This reverts commit 09b6db4616 .
2021-01-21 07:21:36 -08:00
Electron Bot
09b6db4616
Bump v13.0.0-nightly.20210121
2021-01-21 07:20:19 -08:00
Electron Bot
5c6ad53bd6
Revert "Bump v13.0.0-nightly.20210121"
...
This reverts commit 299bc9adc2 .
2021-01-21 07:18:45 -08:00
Electron Bot
299bc9adc2
Bump v13.0.0-nightly.20210121
2021-01-21 07:14:35 -08:00
John Kleinschmidt
e5d64da68a
Revert "Bump v13.0.0-nightly.20210121"
...
This reverts commit 6d6a785982 .
2021-01-21 10:11:30 -05:00
Electron Bot
6d6a785982
Bump v13.0.0-nightly.20210121
2021-01-21 06:32:20 -08:00
renmu123
9487afab33
docs: change semver to SemVer ( #27350 )
...
* docs: change semver to SemVer
* docs: add a Period
* docs: udpate a broken relative link
* docs: update the links
* docs: update the links
2021-01-21 15:51:02 +09:00
John Kleinschmidt
c5a41defbd
fix: enable navigator.setAppBadge/clearAppBadge ( #27067 )
2021-01-21 14:45:06 +09:00
Milan Burda
8b74361b0c
refactor: store WeakMaps in CallbacksRegistry / ObjectsRegistry ( #27037 )
2021-01-20 14:03:10 -08:00
Biru Mohanathas
7f1e3ca3de
fix: shutdown crash in DownloadItem callback ( #27342 )
...
The call stack for one of our top crashes looks like this:
```
node::Abort (node_errors.cc:241)
node::Assert (node_errors.cc:256)
node::MakeCallback (callback.cc:226)
gin_helper::internal::CallMethodWithArgs (event_emitter_caller.cc:23)
gin_helper::EmitEvent<T> (event_emitter_caller.h:51)
gin_helper::EventEmitterMixin<T>::Emit<T> (event_emitter_mixin.h:81)
electron::api::DownloadItem::OnDownloadUpdated (electron_api_download_item.cc:115)
download::DownloadItemImpl::UpdateObservers (download_item_impl.cc:482)
content::DownloadManagerImpl::Shutdown (download_manager_impl.cc:508)
content::BrowserContext::~BrowserContext (browser_context.cc:476)
```
Full stack here: https://sentry.io/share/issue/9b030a0601b547188181b543c16ecda2/
During browser shutdown, the `DownloadManager` was being cleaned up
*after* the Node environment had already been destroyed. This caused the
`DownloadItem::OnDownloadUpdated` callback to crash when trying to emit
the JS `done` event.
To prevent this, we now manually shut down the `DownloadManager`
earlier. This is also mentioned in the comment on
`DownloadManager::Shutdown`:
```
// Shutdown the download manager. Content calls this when BrowserContext is
// being destructed. If the embedder needs this to be called earlier, it can
// call it. In that case, the delegate's Shutdown() method will only be called
// once.
```
2021-01-20 11:30:08 -08:00
Chris Hartgerink
7ddc756a08
docs: correct typo in native-file-drag-drop.md ( #27387 )
...
Corrects minor typo
2021-01-20 11:28:10 -08:00
John Kleinschmidt
2153e47502
Revert "build: remove buildflags workaround ( #27372 )" ( #27410 )
...
This reverts commit e4fc47f557 .
2021-01-20 14:21:53 -05:00
Electron Bot
b6a0fcd51d
Bump v13.0.0-nightly.20210120
2021-01-20 06:33:03 -08:00
Robo
34772292f7
fix: increase stack size on windows ( #27376 )
2021-01-20 00:50:05 -08:00
Shelley Vohr
e4fc47f557
build: remove buildflags workaround ( #27372 )
2021-01-19 18:46:20 -08:00
Electron Bot
5fb1095806
Bump v13.0.0-nightly.20210119
2021-01-19 07:51:27 -08:00
Electron Bot
b0c1a2ae25
Revert "Bump v13.0.0-nightly.20210119"
...
This reverts commit 9a336a6a3b .
2021-01-19 07:48:40 -08:00
Electron Bot
9a336a6a3b
Bump v13.0.0-nightly.20210119
2021-01-19 06:32:53 -08:00
Cheng Zhao
c3091c3a70
fix: make SetWindowButtonVisibility work for customButtonsOnHover ( #27073 )
2021-01-19 19:12:09 +09:00
David Sanders
5e7e0a4c7e
fix: improve redirect behavior in protocol module ( #26297 )
...
* fix: improve redirect behavior in protocol module
* Add test for redirection
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-19 19:06:14 +09:00
Samuel Maddock
4334110339
fix: prevent crash when keyboard event immediately precedes calling BrowserWindow.close() ( #27315 )
...
* fix: prevent crash when destroyed widget receives keyboard event
Activating a key to close a window will cause a silent crash. Handling the keyboard
event will lead to a nullptr dereferenced in Chromium code if the window widget has
already been destroyed.
* test: ensure BrowserWindow doesn't crash from keyboard events during close
2021-01-19 11:37:21 +09:00
riccardopiola
d7b02e123a
chore: duplicate symbols for mojom interfaces in component build ( #27186 )
...
* fix duplicate symbols in component build
* fix: duplicate symbols for mojom interfaces in component build
2021-01-19 11:31:44 +09:00
Electron Bot
b27fa567bc
Bump v13.0.0-nightly.20210118
2021-01-18 06:31:32 -08:00
Electron Bot
3b38ba2ed8
Bump v13.0.0-nightly.20210115
2021-01-15 06:33:34 -08:00
Milan Burda
2be3d03630
feat: add webFrameMain.send() / webFrameMain.postMessage() ( #26807 )
2021-01-15 09:00:37 +09:00
Electron Bot
28b6579538
Bump v13.0.0-nightly.20210114
2021-01-14 06:33:16 -08:00
David Sanders
63ca878210
chore: use markdownlint to lint the docs ( #26792 )
...
* chore: use markdownlint to lint the docs
* chore: fix markdown lints
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-14 17:31:26 +09:00
Shelley Vohr
40e80af9a9
fix: crash in renderer process with non-context-aware modules ( #27296 )
2021-01-13 21:06:43 -08:00
Milan Burda
dd17250a80
revert: test use emittedUntil in PDF Viewer tests ( #27273 )
...
This reverts commit 36f4ee87df .
2021-01-13 13:49:35 -08:00
Cheng Zhao
cd42933f41
chore: remove ancient Browser::Focus implementation on Windows ( #27279 )
2021-01-13 13:46:54 -08:00
Shelley Vohr
0599487e65
refactor: use platform-specific TaskRunner to print ( #27225 )
2021-01-13 09:17:11 -08:00
Electron Bot
1c66cacf70
Bump v13.0.0-nightly.20210113
2021-01-13 06:34:32 -08:00
loc
ceda33dd5e
chore: surface webcontents load error more readily ( #22824 )
2021-01-13 18:01:51 +09:00
Cheng Zhao
9deae1c3c4
chore: do no semantic check on commit messages ( #27276 )
2021-01-12 19:37:32 -08:00
Shelley Vohr
61004723ac
build: fixup feature request template ( #27288 )
2021-01-12 17:01:19 -08:00
Electron Bot
adf0a73543
chore: bump chromium to a264339194bfa02f5ecb3b8cba449 (master) ( #27111 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-01-12 15:31:23 -08:00
Electron Bot
1cd72425aa
Bump v13.0.0-nightly.20210112
2021-01-12 06:33:44 -08:00
Electron Bot
d69f578179
Bump v13.0.0-nightly.20210111
2021-01-11 06:32:34 -08:00
Erick Zhao
c6769af29b
docs: update devtools extension tutorial ( #26326 )
...
* docs: update devtools extension tutorial
* Update docs/tutorial/devtools-extension.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* update
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-01-11 14:43:08 +09:00
Jeremy Rose
088f2e625f
feat: add frame and webContents to webRequest details ( #27078 )
...
* feat: add frame and webContents to webRequest details
* chore: use frame_converter.h
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-11 12:20:43 +09:00
Zachinquarantine
81dc8a0d04
docs: renames Comodo to Sectigo ( #27232 )
...
The certificate authority mentioned "Comodo" has recently been renamed
"Sectigo". This updates the name of the certificate authority, and the
link to get the code signing certificates for Sectigo/Comodo.
2021-01-11 12:20:13 +09:00
AHFriedman
1ef766c4a6
docs: correct meaning of DesktopCapturerSource.id ( #27255 )
...
* docs: correction meaning of DesktopCapturerSource.id
Corrected the meaning of the id string to match observed behavior
(verified on Windows 10 and Ubuntu).
* chore: adjust wordings
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-11 12:20:00 +09:00
Jim Fisher
01b7ceac17
docs: coordinate system of badly named method getCursorScreenPoint ( #27156 )
...
* Document coordinate system of badly named method getCursorScreenPoint
[Electron inherits this confusing name from Chromium](99314be815/ui/display/win/screen_win.cc (L677-L681) ). We can also see there that the return value is a DIPPoint, due to `ScreenToDIPPoint` call:
gfx::Point ScreenWin::GetCursorScreenPoint() {
POINT pt;
::GetCursorPos(&pt);
return gfx::ToFlooredPoint(ScreenToDIPPoint(gfx::PointF(gfx::Point(pt))));
}
I lost over a day due to debugging this. I don't think we can change the method name due to backwards compatibility, but we can at least make amends in the documentation.
* Remove advice
* Softer wording
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-11 12:19:48 +09:00
Milan Burda
442f106bb4
build: fix installing of code-signing identity on macOS ( #27221 )
2021-01-11 10:49:15 +09:00
Shelley Vohr
e74b425803
fix: set presentationModeEnabled value for PDF viewer ( #27223 )
2021-01-11 10:48:39 +09:00
Milan Burda
36f4ee87df
test: use emittedUntil in PDF Viewer tests ( #27248 )
2021-01-11 10:40:44 +09:00
Electron Bot
8c305b4113
Bump v13.0.0-nightly.20210108
2021-01-08 06:31:06 -08:00
Shelley Vohr
9aef11aa23
fix: broken PDF viewer ( #27209 )
2021-01-07 22:17:28 -08:00
Milan Burda
00d4baa0e2
test: skip media-started-playing media-paused events test when media not supported ( #27215 )
2021-01-07 14:43:20 -08:00
Milan Burda
904d2ff4cc
test: skip PictureInPicture video when media not supported ( #27218 )
2021-01-07 14:17:53 -08:00
John Kleinschmidt
c29923ae8a
ci: fix broken homebrew cache ( #27224 )
...
remove brew cache completely
Revert "remove brew cache completely"
This reverts commit ec4636cc249c2ef762cf7c00955acfa473745aa1.
Revert "ci: fix broken homebrew cache"
This reverts commit ed0415532ba6c69160a4ed48f111487fc22d2240.
this should work
2021-01-07 15:09:46 -05:00
Milan Burda
85a9abf377
test: skip protocol.registerSchemesAsPrivileged stream test when media not supported ( #27216 )
2021-01-07 11:45:29 -08:00
Electron Bot
2268c64a55
Bump v13.0.0-nightly.20210107
2021-01-07 06:32:08 -08:00
Jim Fisher
0f8b5ab606
docs: coordinate system of Display.bounds and Display.workArea ( #27157 )
...
They are in DIP points (rather than screen points). We can use
screen.dipToScreen* to convert to screen points.
2021-01-07 19:49:45 +09:00
Mark Wylde
449c048ac6
docs: add libraries for arch and manjaro linux ( #27196 )
2021-01-07 15:41:08 +09:00
mzajaczkowski
cc650ae4ee
build: fix missing dependency resulting in a random build failure ( #26757 )
...
* build: fix missing dependency resulting in a random build failure
* Update chromium_src/BUILD.gn
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* sort deps
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-07 15:40:10 +09:00
Electron Bot
0be4430431
Bump v13.0.0-nightly.20210106
2021-01-06 06:32:17 -08:00
theLMGN
b531123b4d
docs: NSVisualEffectMaterialDark has been deprecated and removed as of macOS 10.15 ( #27125 )
...
* NSVisualEffectMaterialDark has been deprecated and removed as of macOS 10.15.
* Update browser-window.md
2021-01-05 13:39:07 -08:00
Electron Bot
ea0df11aef
chore: bump node to v14.15.4 (master) ( #27198 )
...
* chore: bump node in DEPS to v14.15.4
* update patches
2021-01-05 13:37:23 -08:00
Shelley Vohr
c7f43e6e19
chore: use structured template for feature request ( #27175 )
2021-01-05 10:18:28 -08:00
Milan Burda
3d59aa5609
feat: add webFrameMain.executeJavaScriptInIsolatedWorld() ( #26913 )
2021-01-05 17:18:38 +09:00
Cheng Zhao
5f99569b6c
feat: make win.setAspectRatio() work on Windows ( #26941 )
...
* feat: make win.setAspectRatio() work on Windows
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-01-05 17:17:33 +09:00
Milan Burda
16c864a932
docs: webFrameMain.fromId() can return undefined ( #27068 )
...
* docs: webFrameMain.fromId() can return undefined
* docs: webFrameMain.fromId() can return undefined
2021-01-05 11:31:21 +09:00
Jeremy Rose
c210956afb
docs: document frameId meaning ( #27072 )
2021-01-05 11:12:38 +09:00
Electron Bot
1dc6a707a9
chore: bump node to v14.15.3 (master) ( #27077 )
...
* chore: bump node in DEPS to v14.15.3
* update patches
2021-01-04 20:11:54 -05:00
Shelley Vohr
3286b5fa46
fix: handle BrowserView reparenting ( #27000 )
2021-01-04 16:34:22 -08:00
Shelley Vohr
6307b52dc5
fix: default offset when no drag regions ( #27147 )
2021-01-04 14:01:32 -08:00
Shelley Vohr
3455136e9d
refactor: remove path from nativeImage converter ( #26546 )
2021-01-04 12:58:31 -08:00
Erick Zhao
4db3e3a08a
docs: update broken Chrome webview URL ( #27079 )
2021-01-04 12:48:35 -08:00
Shelley Vohr
a433fdd3d4
build: show more info about exported patches ( #27148 )
2021-01-04 11:24:59 -08:00
Shelley Vohr
29c2e2cb97
fix: unclickable regions in some draggable BrowserViews ( #27143 )
2021-01-04 11:22:14 -08:00
Electron Bot
6d31f1ad4c
Bump v13.0.0-nightly.20210104
2021-01-04 10:59:29 -08:00
renmu123
30fa427a9a
docs: fix two "add" mistake in snapcraft.md ( #27151 )
2021-01-04 09:33:12 -08:00
Electron Bot
1078590bbd
Bump v13.0.0-nightly.20201223
2020-12-23 06:32:07 -08:00
Electron Bot
8383c14aba
chore: bump chromium to 7264889ce3aad1568ff3d211c81fe (master) ( #27003 )
...
* chore: bump chromium in DEPS to 91c9f44297abe2844f593ec7956e6ce79c81f463
* chore: update chromium patches
* chore: update v8 patches
* build: service_names.mojom has been deleted
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2568681
* chore: add DISPLAY_CAPTURE permission to converter
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2551098
* chore: handle AXPropertyFilter::SCRIPT in accessibility_ui
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2563923
* refactor: web_isolated_world_ids.h has been deleted
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2585255
* refactor: ResourceType has been deprecated / removed in ExtensionsBrowserClient
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2562002
* chore: fix lint
* chore: remove deleted headers
* build: disable gn check for blink header
* fix: refactor X11 event handling
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2577887
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2585750
* chore: update patches
* chore: bump chromium in DEPS to bfd8e7dbd37af8b1bc40d887815edd5a29496fa3
* chore: update patches
* refactor: xeventobserver is now x11:eventobserver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2585750
* refactor: remove UseWebUIBindingsForURL
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2583590
* chore: DidProcessXEvent has been removed
* chore: bump chromium in DEPS to b13e791d7244a08d9d61dbfa2bb2b6cdf1ff6294
* chore: update patches
* build: change gfx::GetAtom to x11:GetAtom
Refs: d972a0ae4a
* build: change gfx namespace to x11
Ref: d972a0ae4a
* build: change ui namespace to x11
Refs: c38f8571a8 :ui/gfx/x/xproto_util.h;dlc=ba9145d0c7f2b10e869e2ba482ca05b75ca35812
* chore: add patch to fix blink prefs fetching during frame swap
* chore: fix lint
* fix: do not make invalid SKImageRep in FrameSubscriber
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2572896
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-12-22 14:14:44 -08:00
Electron Bot
729c45637d
Bump v13.0.0-nightly.20201222
2020-12-22 06:33:47 -08:00
Electron Bot
3a970825b2
Bump v13.0.0-nightly.20201221
2020-12-21 06:32:03 -08:00
Eryk Rakowski
bf24759354
fix(extensions): implement missing web_request hooks ( #22655 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
2020-12-18 15:11:43 -08:00
Electron Bot
8f1bc338e5
Bump v13.0.0-nightly.20201218
2020-12-18 06:34:00 -08:00
Cheng Zhao
cdc94e4cef
chore: remove extra setTitlebarAppearsTransparent ( #27042 )
2020-12-18 09:51:05 +09:00
Cheng Zhao
f99ea7c0ba
chore: put NativeWindowMac's methods in order ( #27040 )
2020-12-18 09:50:51 +09:00
Milan Burda
a55e028b12
fix: handle _sendToFrameInternal() throwing an exception in remote/server.ts ( #27046 )
2020-12-17 14:28:40 -08:00
Jeremy Rose
da3d21e5e3
fix: make webContents.id work even after destroy ( #27038 )
2020-12-17 12:10:29 -08:00
Electron Bot
8cbcb04e84
Bump v13.0.0-nightly.20201217
2020-12-17 06:31:25 -08:00
Jeremy Rose
6a3679dc55
fix: memory leak in desktopCapturer.getSources ( #27031 )
2020-12-16 16:11:39 -08:00
Electron Bot
8f9058ea72
chore: bump node to v14.15.2 (master) ( #27045 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-12-16 13:38:45 -08:00
Shelley Vohr
75247d18d0
refactor: remove last use of InternalCallbackScope ( #27029 )
...
* refactor: remove last use of InternalCallbackScope
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2020-12-16 14:02:36 -06:00
Electron Bot
9377b04e0b
Bump v13.0.0-nightly.20201216
2020-12-16 06:32:14 -08:00
choko
e250a2d804
docs: include author and description in package.json in quick-start.md ( #26983 )
...
* Update quick-start.md
`author` and `description` field is required
* Update quick-start.md
* Update quick-start.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2020-12-16 19:02:06 +09:00
Gerrit Niezen
420eaaa294
docs: update select-serial-port example ( #26992 )
2020-12-16 16:57:28 +09:00
Cheng Zhao
998f17ee59
fix: make protocol wrapper remote-friendly again ( #27009 )
2020-12-16 16:56:53 +09:00
Shelley Vohr
9eab298779
feat: add missing 'context-menu' values ( #26788 )
...
* fix: add missing 'context-menu' values
* Add missing canSave
* Remove canTranslate
2020-12-16 14:32:11 +09:00
Cheng Zhao
e01b1831d9
feat: make trafficLightPosition work for customButtonOnHover ( #26789 )
2020-12-16 14:30:39 +09:00
Eryk Rakowski
1e2a2004e9
feat: add support for webContents option in BrowserView ( #26802 )
...
* feat: add support for webContents option in BrowserView
* tests: add tests
2020-12-16 08:52:43 +09:00
Milan Burda
6932e17088
chore: remove deprecated systemPreferences methods ( #26849 )
2020-12-16 08:34:24 +09:00
dependabot[bot]
6ccebdf712
build(deps): bump ini from 1.3.5 to 1.3.7 ( #26930 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 13:50:10 -08:00
Shelley Vohr
b266b5208a
refactor: use public node::CallbackScope where possible ( #27001 )
...
* refactor: use public node::CallbackScope where possible
* Remove unused node_env() getter
2020-12-15 11:39:25 -08:00
Nick Harper
21024011d7
fix: incorrect case in content::PermissionType mapping ( #27006 )
2020-12-15 11:14:42 -08:00
Jeremy Rose
833baa4c54
fix: throw when using globalShortcut before ready ( #27002 )
2020-12-15 11:13:56 -08:00
Electron Bot
ef49fea5eb
Bump v13.0.0-nightly.20201215
2020-12-15 06:32:43 -08:00
Avi Vahl
9b02d94e97
fix(asar): readdir(withFileTypes) fails on deep directory ( #26865 )
...
when using readdirSync on a deep directory within the archive, the code fails to get the stats of child paths.
2020-12-15 11:21:49 +09:00
diego
b73b343e29
docs: update quick start description after fiddle integration ( #26943 )
2020-12-15 11:12:57 +09:00
Electron Bot
4588a41161
chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) ( #26535 )
...
* chore: bump chromium in DEPS to 1d6b29cd85c1c3cba093b8b69b2727cc26eaac97
* update patches
* chore: use 'libvulkan.so.1' in the linux manifests
CL: https://chromium-review.googlesource.com/c/angle/angle/+/2538430
Upstream renamed libvulkan.so to libvulkan.so.1, so sync our manifests.
* chore: update expected window-open default policy.
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2429247
Upstream CL contiues the work to make `strict-origin-when-cross-origin`
the default referrer policy. This commit changes our window-open tests
to expect that policy over the previous `no-referrer-when-downgrade`.
* chore: bump chromium in DEPS to 69cb7c65ad845cdab1cd5f4256237e72fceba2dd
* chore: re-export chromium patches
No code changes; just line numbers. `git am` failed because the upstream
changes were just large enough to require patching to fail w/o fuzzing.
The broken patch was
patches/chromium/feat_allow_disabling_blink_scheduler_throttling_per_renderview.patch
* update patches
* chore: bump chromium in DEPS to c6d97a240d30e5f5166856f5ae6ee14d95b9a4f0
* update patches
* fixup! chore: update expected window-open default policy.
* chore: disallow copying CppHeapCreateParams
Experimental commit to resolve FTBS https://ci.appveyor.com/project/electron-bot/electron-ljo26/builds/36405680#L25345
which introduces a new struct CppHeapCreateParams that aggregates a
vector of unique_ptrs. Our Windows CI is unhappy that this struct
implicitly deletes its copy ctor, so this commit makes it explicit.
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/2536642
* update patches
* chore: bump chromium in DEPS to 0df9a85ffa0ad4711b41a089842e40b87ba88055
* update patches
* fixup! chore: bump chromium to ac06d6903a2c981ab90a8162f1ba0 (master) (#26499 )
* chore: update calls to gfx::RemoveAcceleratorChar.
The call signature for gfx::RemoveAccelerator changed in
https://chromium-review.googlesource.com/c/chromium/src/+/2546471 .
This commit updates use to match that.
* chore: bump chromium in DEPS to 43d6c496251e08d3781bfadbe9727688551f74a9
* update patches
* chore: bump chromium in DEPS to 1fb5c9825be4e2271c4fef0e802f5d970b32f62f
* update patches
* chore: bump chromium in DEPS to 8a1f078d67825e727a598b89a8924699df8d3850
* chore: bump chromium in DEPS to 28ff715b3a97d8cedc143bad671edb08b6de5fc2
* chore: update patches
* Remove most service manifest remnants from Content
https://chromium-review.googlesource.com/c/chromium/src/+/2296482
* Reland "Portals: Fix a11y for orphaned portals"
https://chromium-review.googlesource.com/c/chromium/src/+/2542812
* Convert CallbackList::Subscription to a standalone class.
https://chromium-review.googlesource.com/c/chromium/src/+/2522860
* fix: actually apply the zlib patch
* chore: bump chromium in DEPS to 75b464e6357190ca302ba9ce8f8c2bf5a3b709ae
* chore: update patches
* chore: bump chromium@b884b9b2f647c59a75f5d2055030afa33d50ca10
* chore: bump chromium in DEPS to 829261dadcefdc54ce5fdf7c5fac2929786a63ce
* chore: bump chromium in DEPS to 5df3e69605c7c0130374aaccb91fc4726a558db2
* chore: bump chromium in DEPS to 22db748d5b7b90f87e6e97ef4c92a727ac753ea4
* chore: bump chromium in DEPS to 1475df80282b7eeeb0e153d8375bfe651f083bf8
* chore: bump chromium in DEPS to 6d34fe9e9b7386edd90574617bfa4008de972d72
* chore: update patches
* Disable CertVerifierService for now
2559260: Enable CertVerifierService by default | https://chromium-review.googlesource.com/c/chromium/src/+/2559260
* Remove force_ignore_site_for_cookies until we figure out what to do instead
2499162: Remove |force_ignore_site_for_cookies| from IPCs (e.g. ResourceRequest). | https://chromium-review.googlesource.com/c/chromium/src/+/2499162
* chore: bump chromium in DEPS to 95aeb1c59ebc03d19ba077b0cd707463d1b2865e
* update patches
* Set site_for_cookies to request url so that URLLoader::ShouldForceIgnoreSiteForCookies returns true
* 2490383: a11y inspect reorg: implement accessible tree formatter factory
https://chromium-review.googlesource.com/c/chromium/src/+/2490383
* 2485887: [Extensions][web_accessible_resources] Use |matches|.
https://chromium-review.googlesource.com/c/chromium/src/+/2485887
* update v8 headers
* chore: bump chromium in DEPS to 38587dc379a8cf4d4a13e482a6e89f2fe681144e
* update patches
* 2555005: [api] Simplify ScriptOrigin
https://chromium-review.googlesource.com/c/v8/v8/+/2555005
* 2563553: Remove Flash from PermissionRequestTypes and PermissionTypes.
https://chromium-review.googlesource.com/c/chromium/src/+/2563553
* 2546146: Remove browser-hosted InterfaceProvider
https://chromium-review.googlesource.com/c/chromium/src/+/2546146
* Actually apply nan patch
* update patches
* chore: bump chromium in DEPS to 6718d4b50c9db975c5642ca5b68e8dc7ee1b7615
* update patches
* 2546146: Remove browser-hosted InterfaceProvider
https://chromium-review.googlesource.com/c/chromium/src/+/2546146
* chore: bump chromium in DEPS to 338cc300e3fe3a4cb4883e9ccdc34a32f3dfe034
* chore: bump chromium in DEPS to d9baeb1d192c23ceb1e1c4bbe6af98380b263bc1
* chore: bump chromium in DEPS to 3ca3051932683739b304e721cc394b6c66f841fe
* chore: bump chromium in DEPS to 89292a4ae29096e5313aaf19dfa0c4710145c34d
* 2571639: mac: Remove code to support OS X 10.10 in //sandbox
https://chromium-review.googlesource.com/c/chromium/src/+/2571639
* Fixup patch indices
* Do not build MTLManagedObjectAdapter
It's been removed in newer Mantle versions and uses a deprecated enum
* update patches
* Remove sendToAll
https://github.com/electron/electron/pull/26771
* 2569367: Remove dead fullscreen code in RenderWidgetHostView and friends
https://chromium-review.googlesource.com/c/chromium/src/+/2569367
* Remove deprecated performFileOperation usage
* 2568359: mac: Ignore Wdeprecated-declarations for LSSharedFileList* functions.
https://chromium-review.googlesource.com/c/chromium/src/+/2568359
* 2561401: Add OutputPresenterX11 which uses X11 present extension.
https://chromium-review.googlesource.com/c/chromium/src/+/2561401
* 2565511: [objects] Remove MakeExternal case for uncached internal strings
https://chromium-review.googlesource.com/c/v8/v8/+/2565511
* fixup: Add disconnect logic to ElectronBrowserHandlerImpl
* Allow local networking override for ATS
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html
* Refactor: clean up rfh getters in ElectronBrowserHandlerImpl
* Update patches
* Remove unneeded BindTo
* Don't assign ElectronBrowserHandlerImpl at all
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2020-12-14 10:57:36 -08:00
Electron Bot
c8eb4ecc0c
Bump v13.0.0-nightly.20201214
2020-12-14 06:33:41 -08:00
Shelley Vohr
2f9281519c
fix: add SafeForTerminationScopes for SIGINT interruptions ( #26933 )
2020-12-11 15:03:41 -08:00
Biru Mohanathas
44ca6e0818
fix: Upload all *.dll.pdb to symbol server ( #26962 )
...
Fixes #26961 .
Notes: Add Electron DLLs like libGLESv2.dll to symbol server
2020-12-11 12:34:03 -08:00
Cheng Zhao
28ae68d66c
fix: window with CustomButtonsOnHover should have rounded corner ( #26901 )
2020-12-11 11:03:08 -08:00
Biru Mohanathas
b4c1e54ed3
fix: Avoid crashing in NativeViewHost::SetParentAccessible on Windows ( #26924 )
2020-12-11 09:47:55 -08:00
Electron Bot
cc09da6233
Bump v13.0.0-nightly.20201211
2020-12-11 06:32:17 -08:00
Milan Burda
a8e9140c26
docs: add missing deprecated systemPreferences APIs to breaking-changes ( #26848 )
2020-12-10 16:42:23 -08:00
Samuel Attard
b9c9e7fc06
feat: add support for DOM elements going over the context bridge ( #26776 )
...
* feat: add support for DOM elements going over the context bridge
* Update context-bridge.md
2020-12-10 13:03:00 -08:00
Samuel Attard
51db2a6b34
build: fix JS linting ( #26876 )
2020-12-10 10:57:06 -08:00
Electron Bot
e641a747fb
Bump v13.0.0-nightly.20201210
2020-12-10 06:32:32 -08:00
John Kleinschmidt
f876154fd3
ci: ignore failures on Ninja summary ( #26914 )
2020-12-09 19:58:28 -05:00
Milan Burda
cec6378881
feat: add event.senderFrame property returning the originating webFrameMain ( #26764 )
2020-12-09 15:34:06 -08:00
Mimi
9908cc363a
fix: message box missing an "OK" button in GTK ( #26857 )
2020-12-10 08:28:56 +09:00
Mimi
bc6fed5eda
build: remove requests from git submodule ( #26908 )
2020-12-09 17:15:21 -05:00
Jeremy Rose
07a1c2a3e5
fix: restrict sendToFrame to same-process frames by default ( #26875 )
2020-12-09 12:48:16 -08:00
Shelley Vohr
76f721474e
fix: stack traces in non-Node.js contexts ( #26820 )
2020-12-09 11:08:13 -08:00
Shelley Vohr
1a79bedb27
build: remove unused install-build-deps ( #26891 )
2020-12-09 09:26:21 -08:00
Jeremy Rose
edfbeb92bf
test: disable flaky reporting API test ( #26898 )
2020-12-09 09:16:41 -08:00
Electron Bot
6d0a0319e1
Bump v13.0.0-nightly.20201209
2020-12-09 06:32:34 -08:00
Mimi
19ff18ac40
build: remove boto from git submodule ( #26877 )
2020-12-08 20:39:20 -08:00
Milan Burda
c41b8d536b
refactor: move IPC handlers from navigation-controller to rpc-server ( #26846 )
2020-12-08 10:46:08 -08:00
Michaela Laurencin
7677576da8
chore: add @mlaurencin to manual backport config ( #26872 )
2020-12-08 10:04:02 -08:00
Electron Bot
1abd36f6c8
Bump v13.0.0-nightly.20201208
2020-12-08 06:33:18 -08:00
David Sanders
788e51127f
chore: blank lines before lists in markdown ( #26793 )
2020-12-08 16:08:19 +09:00
Milan Burda
ee0550efca
fix: systemPreferences.effectiveAppearance returning systemPreferences.getAppLevelAppearance() ( #26852 )
2020-12-08 16:07:04 +09:00
Shelley Vohr
b788ceb7bd
fix: screen EventEmitter methods with remote ( #26809 )
...
* fix: screen EventEmitter methods with remote
* Review feedback
2020-12-08 13:47:48 +09:00
Erick Zhao
e87061398b
docs: update OSR max FPS number ( #26805 )
2020-12-08 13:41:09 +09:00
Milan Burda
c9b813a1f9
refactor: convert more C++ enums to C++11 enum classes ( #26850 )
2020-12-08 13:39:33 +09:00
Mark Lee
3bc220db29
docs: clean up the native modules documentation ( #26813 )
2020-12-08 13:28:59 +09:00
windwalkr
6001f03e46
docs: add description to read-me.md ( #26823 )
...
Unhandled exception error is received if description is not defined while running "npm run make." Defining a description solves this issue.
2020-12-08 13:26:29 +09:00
Samuel Attard
771e34a53a
feat: route frame based permission checks through our permission check handler ( #19903 )
...
* feat: route frame based permission checks through our permission check handler
* docs: add change to setPermissionCheckHandler to breaking changes doc
2020-12-07 15:44:56 -08:00
Samuel Attard
3db4e612f4
fix: handle security warnings promise when JS is disabled ( #26837 )
2020-12-07 10:58:00 -08:00
Mimi
03b43e4d8c
build: use python3 for electron hooks ( #26839 )
2020-12-07 10:57:41 -08:00
Alexey Kuzmin
e89b3ca1d1
fix: add a "set" trap to the "screen" module proxy ( #26818 )
2020-12-07 09:20:50 -08:00
Jeremy Rose
d3b1566181
chore: remove unused _replyInternal method ( #26825 )
2020-12-07 09:19:26 -08:00
Electron Bot
5a5d964720
Bump v13.0.0-nightly.20201207
2020-12-07 06:31:40 -08:00
Shelley Vohr
228a184b48
chore: remove unused FindByID helper ( #26826 )
2020-12-06 09:33:02 -08:00
Nikita Kot
7672aa9525
feat: exposeInMainWorld allow to expose non-object APIs ( #26594 )
2020-12-04 09:43:20 -08:00
Milan Burda
b111bba387
fix: send IPC_MESSAGES.RENDERER_RELEASE_CALLBACK as internal message ( #26808 )
2020-12-04 19:09:08 +03:00
Electron Bot
b133b6fd45
Bump v13.0.0-nightly.20201204
2020-12-04 06:32:29 -08:00
Electron Bot
45eee46864
Bump v13.0.0-nightly.20201203
2020-12-03 06:32:05 -08:00
Eli Skeggs
5521f8acca
feat: allow path override with --ignore-scripts ( #25377 )
...
If you --ignore-scripts when installing electron currently, it'll fail
to write the path.txt file and thus fail to use the override dist path.
Open to other solutions - just hoping to be able to use a prebuilt
electron binary with the default package without having to muck around
with it installing an unused version.
2020-12-03 16:23:44 +09:00
Milan Burda
b37982987a
chore: remove unused sendToAll + related APIs ( #26771 )
...
* chore: remove unused sendToAll + related APIs
* refactor: no need to args.ShallowClone() anymore
2020-12-03 15:55:50 +09:00
Electron Bot
8eee9d1290
Bump v13.0.0-nightly.20201202
2020-12-02 06:32:14 -08:00
Antonio
6fc5ff77c1
docs: app distribution page ( #26239 )
...
* docs: first draft of the app distribution page
* docs: second iteration of the app distribution page. Fixed mentions
* docs: third iteration of the app distribution page. Fixed mentions
* docs: reworked app distribution page according to mentions
* docs: minor fixes to the app distribution page according to mentions
2020-12-02 15:52:12 +09:00
Cheng Zhao
cffb51e141
chore: remove TODO on SetHidden calls ( #26746 )
2020-12-01 21:36:23 -08:00
Shelley Vohr
e96fa95b94
fix: properly emit after hooks after exception ( #26752 )
2020-12-01 21:34:08 -08:00
Vadim
efca7007b6
fix: internalModuleReadJSON for unpacked JSON ( #26749 )
2020-12-01 21:33:39 -08:00
Milan Burda
c2909a3b8d
docs: BrowserWindow extension APIs are deprecated in Electron 9 ( #26722 )
2020-12-01 18:27:19 -06:00
Jim Fisher
430189fa84
docs: fix contentTracing code sample ( #26737 )
2020-12-01 15:45:45 -08:00
Shelley Vohr
94381cda49
docs: add debugging vars to env var doc ( #26743 )
2020-12-01 15:04:07 -08:00
Shelley Vohr
528b0f0e74
fix: draggable views on BrowserViews on Windows ( #26738 )
2020-12-01 15:03:00 -08:00
PalmerAL
cdcee04bbe
fix: Add default Bluetooth permission strings ( #26730 )
2020-12-01 11:34:39 -08:00
Electron Bot
6c5f7a6e86
Bump v13.0.0-nightly.20201201
2020-12-01 06:33:16 -08:00
Michaela Laurencin
32d4c9ad85
fix: add check in IsMaximized for non-WS_THICKFRAME windows ( #26586 )
...
* fix: add check in IsMaximized for non-WS_THICKFRAME windows
* remove logs
* change GetPosition for GetNativeWindow
* change GetPosition for GetNativeWindow in IsMaximize
* add top left corner check
* add transparent maximization test
* replace window and display comparison
* rebase off master
2020-12-01 15:27:58 +09:00
Shelley Vohr
acfbbe9869
fix: draggable regions calculation in BrowserWindow/BrowserView ( #26690 )
2020-11-30 21:02:04 -08:00
Milan Burda
4e3e3d414d
refactor: simplify child process tracking for app.getAppMetrics() ( #26657 )
2020-12-01 10:47:46 +09:00
David Sanders
61f339d3aa
chore: use ESLint API for linting ( #26705 )
...
* chore: use ESLint API for linting
* chore: fix typo
* chore: fix import
2020-12-01 10:47:29 +09:00
Antonio
cf970f31a3
docs: revised offscreen rendering page ( #26542 )
...
* docs: revised offscreen rendering page
* docs: reworked offscreen rendering page according to mentions
* docs: minor revision of offscreen rendering
* docs: fixed trailing space in offscreen rendering
* docs: resolved merge conflict
2020-12-01 10:47:09 +09:00
Jeremy Rose
9c26be7b43
test: deflake current-render-view-deleted test ( #26698 )
2020-11-30 17:06:25 -08:00
Milan Burda
19954126e0
chore: remove deprecated extension APIs ( #26696 )
2020-11-30 14:40:56 -08:00
Samuel Attard
7d49ce898a
build: use all-for-one goma ( #26699 )
...
* Revert "Revert "build: use one-for-all goma (#26679 )" (#26689 )"
This reverts commit 38ab829ea6 .
* build: ensure file descriptor limit is higher on macOS
2020-11-30 12:29:36 -08:00
Milan Burda
09d7b2bc91
chore: remove deprecated shell.moveItemToTrash() ( #26723 )
2020-11-30 23:25:03 +03:00
Electron Bot
59b4d5c156
Bump v13.0.0-nightly.20201130
2020-11-30 06:32:52 -08:00
Erick Zhao
36af8022ca
fix: delay emitting NotifyIcon events on Windows ( #26668 )
...
* wip?
* attempt to use weakptr
* apply posttask change to other balloon events
* chore: add clarifying comment on weakptr
* refactor: move weakptr include to implementation
(it's not needed in the header file)
* refactor: use default initializer for weak factory
* refactor: move weakptr usage outside of loop
* fix: convert mouse events as well
* refactor: use member function for balloon events
* fix: check if wicon is truthy in callback
* refactor: bind mouse events with member function
* refactor: inline lparams
* refactor: inline getkeyboardmodifiers()
* chore: correct GetKeyboardModifiers typo
2020-11-30 16:49:30 +09:00
Milan Burda
14c8e000cb
feat: add process.uptime() to sandboxed renderers ( #26684 )
2020-11-30 16:49:18 +09:00
David Sanders
c8c41fb727
chore: fixup patches linting ( #26595 )
2020-11-30 16:49:01 +09:00
Antonio
fadd513739
docs: added fiddle support for code samples ( #26501 )
...
* docs: added fiddle support for code samples in quick start guide and features
* docs: removed excessive fiddle links for not final steps
* docs: added eof newlines to fiddle examples
* docs: reworked fiddle examples to be more self-sufficient
* docs: reworked fiddle examples according to mentions
* docs: changed http to https in the offscreen rendering fiddle
* docs: fix recent documents fiddle to be more consistent
2020-11-30 16:48:39 +09:00
Jeremy Rose
770e245de5
fix: uaf in WebContents::DidStopLoading ( #26702 )
2020-11-29 21:03:07 -08:00
Samuel Attard
7cc571801c
build: remove sccache ( #26701 )
2020-11-28 21:28:57 -08:00
Electron Bot
8311ea1a36
Bump v13.0.0-nightly.20201127
2020-11-27 06:31:41 -08:00
Milan Burda
022bafc485
chore: remove deprecated crashReporter APIs ( #26695 )
2020-11-26 22:07:40 +03:00
Electron Bot
d0cf16263e
Bump v13.0.0-nightly.20201126
2020-11-26 06:32:13 -08:00
Jeremy Rose
ba629e3127
fix: use-after-free in ElectronBrowserContext during shutdown ( #26680 )
2020-11-25 12:29:26 -08:00
Electron Bot
662077f153
Bump v13.0.0-nightly.20201125
2020-11-25 06:31:41 -08:00
Cheng Zhao
d56861eaa5
chore: add descriptions for patches ( #26671 )
2020-11-25 21:50:46 +09:00
Robo
38ab829ea6
Revert "build: use one-for-all goma ( #26679 )" ( #26689 )
...
This reverts commit 6761814f14 .
2020-11-24 22:00:48 -08:00
David Sanders
87e20f2b97
chore: tidy up docs markdown ( #26666 )
2020-11-24 18:52:46 -08:00
Samuel Attard
6761814f14
build: use one-for-all goma ( #26679 )
...
* build: use one-for-all goma
* build: use 300 everywhere
2020-11-24 15:11:22 -08:00
Milan Burda
c8d77cae4a
refactor: replace V8 hidden values with WeakMap / WeakSet ( #26659 )
2020-11-24 16:11:39 -05:00
David Sanders
0be6c92aa9
chore: include alt text for images in markdown ( #26665 )
...
* chore: include alt text for images in markdown
* chore: fix typo
2020-11-24 10:50:10 -05:00
Electron Bot
956892dd5b
Bump v13.0.0-nightly.20201124
2020-11-24 06:32:16 -08:00
Devin Foley
a5c612cd96
fix: Update Squirrel.mac to fix permissions bug. ( #26358 )
...
* fix: Update Squirrel.mac to fix permissions bug.
* Update patches.
2020-11-24 17:38:22 +09:00
Jeremy Rose
9d54fdfd12
fix: crash on exit in Event destructor ( #26537 )
2020-11-24 15:41:06 +09:00
Samuel Attard
b894151745
build: update npx.py to support npx@7 ( #26662 )
...
* build: update npx.py to support npx@7
* build: set npm_config_yes for all npx callsites
2020-11-23 21:26:54 -08:00
David Sanders
e455a79218
chore: use relative links in docs ( #26360 )
2020-11-24 11:02:16 +09:00
Anders Kaseorg
b1b25607ee
fix: make screen wrapper remote-friendly again ( #26620 )
...
This restores accessibility of screen methods via remote.screen.
Fixes #26610 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2020-11-23 16:44:54 -05:00
Milan Burda
6932e02eb8
refactor: use getWebPreference() for all options ( #26531 )
2020-11-23 22:39:08 +03:00
Jeremy Rose
854d2b1574
fix: reject contentTracing.stopRecording on failure ( #26608 )
2020-11-23 10:20:40 -08:00
Jeremy Rose
329494cfeb
fix: segfault on webContents.fromId(xxx) ( #26609 )
2020-11-23 09:21:00 -08:00
David Sanders
abb1504ecc
docs: use asterisks for unordered lists ( #26552 )
2020-11-23 12:15:27 -05:00
Shelley Vohr
b57ae67da6
chore: update nmv for Electron v13 ( #26581 )
2020-11-23 11:14:25 -05:00
Electron Bot
2e239ea563
Bump v13.0.0-nightly.20201123
2020-11-23 06:31:59 -08:00
Electron Bot
7c099210b4
Bump v13.0.0-nightly.20201120
2020-11-20 06:31:20 -08:00
Shelley Vohr
46972abf8b
refactor: align shutdown signal handling with upstream ( #26559 )
2020-11-19 16:00:34 -08:00
Milan Burda
b4196ca486
build: fix build with enable_printing=false ( #26597 )
2020-11-19 10:05:49 -05:00
Electron Bot
06158b3e94
Bump v13.0.0-nightly.20201119
2020-11-19 06:33:44 -08:00
David Sanders
18f004eab1
docs: fix relative link ( #26585 )
2020-11-19 16:06:32 +09:00
David Sanders
03a70896c7
chore: tidy up markdown ( #26554 )
2020-11-18 20:58:47 -08:00
David Sanders
e65341e282
chore: improve docs relative link linting ( #26359 )
2020-11-18 11:55:11 -08:00
NotWearingPants
d4e53925ba
docs: add a white background to body ( #26504 )
2020-11-18 11:54:26 -08:00
Samuel Attard
f182a600e4
fix: use public APIs in place of private CTFontDescriptorIsSystemUIFont in ui/gfx ( #26548 )
2020-11-18 09:32:56 -08:00
Samuel Attard
dcc6196fe7
revert: disable rosetta as Electron does not run under rosetta
...
This reverts commit 4829b0f816 .
2020-11-18 09:04:16 -08:00
Electron Bot
2bc859b884
Bump v12.0.0-nightly.20201118
2020-11-18 07:38:15 -08:00
Electron Bot
b8eea7e89b
Revert "Bump v12.0.0-nightly.20201118"
...
This reverts commit 6a29e5d116 .
2020-11-18 06:55:00 -08:00
Electron Bot
6a29e5d116
Bump v12.0.0-nightly.20201118
2020-11-18 06:31:52 -08:00
Shiranka Miskin
ec85a91472
docs: update contextIsolation documentation on access to globals ( #19732 )
2020-11-18 15:24:00 +09:00
Cheng Zhao
cc136f2acd
fix: LC_ALL env should not be changed ( #26507 )
2020-11-18 11:13:01 +09:00
Antonio
968cb970fc
docs: restructured docs directory ( #26335 )
...
* docs: first draft of the restructred docs directory
* docs: first working version of the restructred docs directory
* docs: finalized version of the restructred docs directory
* docs: reverted architecture section back to the toc
2020-11-18 10:13:03 +09:00
David Sanders
17df102a3b
build: don't generate patches mtime cache if it already exists ( #26468 )
2020-11-18 09:50:31 +09:00
LuoJinghua
e1cc78f275
feat: allow setting the Origin header and Sec-Fetch-* headers in net.request() ( #26135 )
2020-11-17 14:25:41 -08:00
Jeremy Rose
b8372fdc29
refactor: rename managed_web_contents to inspectable_web_contents ( #26525 )
2020-11-17 14:15:20 -08:00
Jeremy Rose
29211a51df
refactor: inline and rename findInPage request id ( #26524 )
2020-11-17 14:15:07 -08:00
Jeremy Rose
784172b6ca
chore: remove redundant access modifier ( #26523 )
2020-11-17 14:14:57 -08:00
Jeremy Rose
ac6d301015
chore: remove undocumented tabTraverse method ( #26522 )
2020-11-17 14:14:46 -08:00
Jeremy Rose
92643a5a1c
refactor: consolidate WebContents::{Create,New} ( #26521 )
2020-11-17 14:14:33 -08:00
Jeremy Rose
a303813d15
refactor: move GetPrinterList off WebContents ( #26518 )
2020-11-17 14:14:09 -08:00
bitdisaster
dbe0f06c3d
fix: getLoginItemSettings() on windows ( #26515 )
...
* find by exe, detect taskmgr enable/disable
* tests
2020-11-17 14:13:08 -06:00
David Sanders
2b4ce387bc
test: support for adding extra module paths ( #26490 )
2020-11-17 12:05:10 -08:00
Jeremy Rose
023c89265f
refactor: move TerminationStatus converter ( #26520 )
2020-11-17 11:13:58 -08:00
Jeremy Rose
ead13791a8
fix: setCertVerifyProc canceling unrelated requests ( #26517 )
2020-11-17 11:12:50 -08:00
Jeremy Rose
7c2ac6b7c1
fix: BrowserWindow.fromBrowserView in multiple-BrowserView windows ( #26493 )
2020-11-17 11:12:02 -08:00
Jeremy Rose
040ee66678
docs: note about structured clone and DOM types ( #26516 )
2020-11-17 11:11:40 -08:00
Keeley Hammond
c78ac248dc
docs: update breaking changes for Electron 11 ( #26526 )
...
* docs: update breaking changes for Electron 11
* docs: remove desktopCapture method, add destroy
2020-11-17 11:35:23 -05:00
Electron Bot
a74d0b29d5
chore: bump node to v14.15.1 (master) ( #26533 )
...
* chore: bump node in DEPS to v14.15.1
* update patches
2020-11-17 11:22:20 -05:00
Electron Bot
0c6b0596b5
Bump v12.0.0-nightly.20201117
2020-11-17 06:32:29 -08:00
Shelley Vohr
d97612ed21
fix: webContents interaction with draggable browserviews ( #26496 )
2020-11-16 20:41:37 -08:00
Electron Bot
cad2d8b4aa
chore: bump chromium to ac06d6903a2c981ab90a8162f1ba0 (master) ( #26499 )
...
* chore: bump chromium in DEPS to c04c17506a1b5941370b91dfa44eda7ec31e9793
* update patches
* chore: bump chromium in DEPS to 8a4687263763f306659d04cef8f0a12a9e504d57
* chore: bump chromium in DEPS to 3a75ada69d1ac06d6903a2c981ab90a8162f1ba0
* update patches
* chore: sync StartRemoteDebuggingPipeHandler usage
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2536354
Added 'on_disconnect' OnceClosure arg to StartRemoteDebuggingPipeHandler
* chore: add WebSocketHandshakeClient::OnFailurea
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2527889
Add an empty stub to satisfy parent class' pure virtual method OnFailure().
NB: Use of empty impl comes from WebRequestProxyingWebSocket.
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2020-11-16 19:57:42 -06:00
Jeremy Rose
a9924e1c32
feat: add powerMonitor.onBatteryPower ( #26494 )
2020-11-16 16:31:46 -08:00
Sofia Nguy
8594b55dee
docs: update currently supported versions for 11.0.0 release ( #26368 )
2020-11-16 15:48:50 -08:00
Sofia Nguy
fabc51dc33
docs: update 12 stable dates ( #26367 )
2020-11-16 15:48:28 -08:00
Shelley Vohr
6f6c1b7ca6
feat: add displayFrequency to Display object ( #26472 )
2020-11-16 15:33:51 -08:00
John Kleinschmidt
f65db1df79
build: Use goma for all releases ( #26476 )
...
* build: use goma for all release builds
* Make sure goma is setup everywhere it is needed
* Show ninja stats on release builds
2020-11-16 14:23:23 -05:00
Shelley Vohr
ac35787bdb
fix: Cannot read property 'setDockSide' of undefined ( #26474 )
2020-11-16 10:26:35 -08:00
Samuel Attard
358ab79778
fix: do not use crashpad APIs in the MAS build ( #26491 )
2020-11-16 11:47:09 -06:00
Electron Bot
900fbb99c9
Bump v12.0.0-nightly.20201116
2020-11-16 06:32:34 -08:00
Milan Burda
434f7749db
build: fix build with enable_builtin_spellchecker=false ( #26466 )
2020-11-14 03:18:16 +03:00
Electron Bot
e017d8714e
chore: bump chromium to adc5df74b86afdff676989ced8cd3 (master) ( #26223 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-11-13 16:16:56 -08:00
Samuel Attard
d6019634f9
feat: add app.runningUnderRosettaTranslation to detect running under rosetta ( #26444 )
...
* feat: add app.isRunningUnderRosettaTranslation to detect running under rosetta
* chore: fixup
* chore: make const
* chore: add missing import
2020-11-13 12:53:32 -08:00
Electron Bot
d6431a0ff2
Bump v12.0.0-nightly.20201113
2020-11-13 06:33:13 -08:00
Electron Bot
3c7582173a
Bump v12.0.0-nightly.20201112
2020-11-12 06:31:31 -08:00
Shelley Vohr
0448888fa5
chore: remove ScopedAllowBlockingForTesting ( #26447 )
2020-11-12 09:13:34 -05:00
David Sanders
1cda003e4d
docs: update issue template ( #26293 )
...
* docs: update issue template
* chore: link to new issue template instead of embedding the content
2020-11-12 09:12:45 -05:00
Milan Burda
5ee9cc202b
fix: ensure that internal messages are sent from the main process ( #26429 )
2020-11-12 06:20:01 +03:00
Samuel Maddock
83d30c5c2a
feat: add 'resized' event to BrowserWindow ( #26216 )
...
Also adds 'moved' event to BrowserWindow on Windows.
2020-11-11 19:27:24 -05:00
Cheng Zhao
bb3fb548d8
feat: add APIs to enable/disable spell checker ( #26276 )
...
* feat: add APIs to enable/disable bulitin spell checker
* feat: add togglespellchecker menu item role
2020-11-11 10:29:18 -05:00
Samuel Attard
f77b56e926
chore: add patch description to gin allocator patch ( #26415 )
2020-11-11 09:48:51 -05:00
Electron Bot
044302e4ab
Bump v12.0.0-nightly.20201111
2020-11-11 06:33:49 -08:00
Electron Bot
f1c0dc4c24
Bump v12.0.0-nightly.20201110
2020-11-10 11:46:47 -08:00
John Kleinschmidt
5875e9a5e8
Revert "Bump v12.0.0-nightly.20201110"
...
This reverts commit 6b222a2d8a .
2020-11-10 14:44:05 -05:00
John Kleinschmidt
cdc9625a86
build: upload dsym files for all mac releases ( #26425 )
2020-11-10 11:12:41 -08:00
Shelley Vohr
e6db49686b
fix: renderer crash on setImmediate ( #26365 )
2020-11-10 09:17:58 -08:00
Jeremy Rose
ff33fa1970
refactor: merge CommonWebContentsDelegate into api::WebContents ( #26189 )
2020-11-10 09:06:56 -08:00
loc
0b85fdf26c
feat: add webContents.setWindowOpenHandler API ( #24517 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-11-10 09:06:03 -08:00
Electron Bot
6b222a2d8a
Bump v12.0.0-nightly.20201110
2020-11-10 06:31:19 -08:00
Electron Bot
b823b74378
Bump v12.0.0-nightly.20201109
2020-11-09 15:10:14 -08:00
Samuel Attard
8b7e10cf4d
build: verbose is flag, no value ( #26414 )
2020-11-09 15:08:27 -08:00
Samuel Attard
40f82e5ef2
Revert "Bump v12.0.0-nightly.20201109"
...
This reverts commit eb2a35f0d8 .
2020-11-09 14:52:00 -08:00
Samuel Attard
946802600b
chore: move upload-to-github to TS ( #26390 )
2020-11-09 13:57:53 -08:00
Samuel Attard
40ebdb5c42
fix: use the gin PageAllocator instead of V8::PageAllocator ( #26331 )
...
* fix: use the gin PageAllocator instead of V8::PageAllocator
This makes browser-process JS allocate pages using the base/gin allocator thus ensuring flags such as MAP_JIT are appropriately applied.
* chore: add gin patch
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2020-11-09 13:57:24 -08:00
Cheng Zhao
02a8c0a640
fix: make draggable regions work when devtools is opened on macOS ( #26361 )
...
* fix: make draggable region work when devtools is open
* fix: update draggable regions when resizing
2020-11-09 16:54:04 -05:00
David Sanders
f21a21f172
chore: cleanup inline HTML in docs ( #26354 )
2020-11-09 16:52:06 -05:00
Electron Bot
eb2a35f0d8
Bump v12.0.0-nightly.20201109
2020-11-09 12:40:31 -08:00
Samuel Attard
b75c7e16a4
Revert "Bump v12.0.0-nightly.20201109"
...
This reverts commit d54c1c7072 .
2020-11-09 12:37:09 -08:00
Samuel Attard
dcffa7449a
build: fix usage of octokit/rest and make uploading better ( #26386 )
2020-11-09 12:30:43 -08:00
Electron Bot
d54c1c7072
Bump v12.0.0-nightly.20201109
2020-11-09 06:31:45 -08:00
Michaela Laurencin
d836682ee6
docs: add native c++ windows debugging method ( #26286 )
2020-11-06 16:55:55 -08:00
Electron Bot
e193543ea8
Bump v12.0.0-nightly.20201106
2020-11-06 06:32:03 -08:00
David Sanders
2c52d5fe42
chore: a few style fixes for internal-ambient.d.ts ( #26347 )
2020-11-05 14:13:02 -08:00
David Sanders
43dbd1bdf8
chore: cleanup whitespace in docs ( #26356 )
2020-11-05 14:12:43 -08:00
David Sanders
3814a56d48
chore: fix markdown in docs ( #26357 )
2020-11-05 14:11:38 -08:00
Electron Bot
103d6d7781
Bump v12.0.0-nightly.20201105
2020-11-05 06:32:22 -08:00
David Sanders
e296813578
build: support for running clang-tidy ( #26150 )
2020-11-05 10:24:17 +09:00
Electron Bot
2daca0f4d0
Bump v12.0.0-nightly.20201104
2020-11-04 06:34:05 -08:00
Jeremy Rose
34156c424c
fix: [webview] fix missing properties on events when contextIsolation: true ( #26289 )
2020-11-04 11:15:20 +09:00
John Kleinschmidt
c856b5fa53
build: use goma for Windows releases ( #26324 )
2020-11-03 19:18:55 -05:00
Milan Burda
d25fa7b075
refactor: store <webview> attributes as typed Map ( #26307 )
2020-11-03 15:02:23 -08:00
John Kleinschmidt
42aa6b8ea5
test: fix visibility flake on mac ( #26323 )
2020-11-03 16:24:40 -05:00
Electron Bot
bded790425
Bump v12.0.0-nightly.20201103
2020-11-03 06:32:08 -08:00
David Sanders
b1b8a657c4
fix: fail protocol request when OnWrite fails ( #26296 )
2020-11-03 21:11:40 +09:00
Electron Bot
4716def511
Bump v12.0.0-nightly.20201102
2020-11-02 06:32:07 -08:00
David Sanders
34feaf1df0
docs: link ProtocolResponseUploadData ( #26294 )
2020-11-02 19:01:46 +09:00
Jeremy Rose
123e8d7038
fix: improve ses.cookies.set error message when url is missing ( #26268 )
2020-11-02 19:00:29 +09:00
David Sanders
ecd23bb29b
docs: tidy up links ( #26292 )
2020-11-02 18:58:14 +09:00
Abhishek Shingane
d16e61dc85
fix: window.open not accepting size values with "px" at the end ( #26104 )
...
* fix: use parseInt to parse sizes
* fix: pass radix to parseInt
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-11-02 18:55:59 +09:00
Erick Zhao
f61dedb7e5
docs: update information on Linux support ( #26265 )
...
* docs: remove stale info from version support doc
* attempt to update binary info?
2020-11-02 16:24:34 +09:00
Antonio
6017a0de88
docs: revised dark mode feature page ( #26187 )
...
* docs: revised dark mode page
* docs: fixed lint errors in dark mode page
* docs: fixed mentions, revised doc structure in the dark mode feature page
* docs: fixed mentions, made all the steps more verbose in the dark mode feature page
2020-11-02 16:18:29 +09:00
David Sanders
2a392c11f8
chore: cleanup pylint violations ( #26252 )
...
* chore: cleanup pylint violations
* chore: cleanup pylint violatins
2020-11-02 15:43:21 +09:00
Electron Bot
4c40ce09fd
Bump v12.0.0-nightly.20201030
2020-10-30 07:31:52 -07:00
David Sanders
e9cd227b5b
build: Python3 compat and Win line-endings fixes ( #26091 )
2020-10-30 19:05:38 +09:00
David Sanders
f065b2ddef
chore: tidy up .eslintrc.json ( #26251 )
2020-10-29 14:23:22 -07:00
Shelley Vohr
e021639472
fix: draggable region edge calculation on resize ( #26233 )
...
* fix: draggable region edge calculation on resize
* Feedback from review
2020-10-29 12:51:56 -07:00
John Kleinschmidt
7f9b21daa0
feat: correctly identify permissions when using setPermissionRequestHandler ( #26172 )
...
* fix: correctly identify clipboard read permission
* Update tests for variable clipboard content
* chore: add all possible permission conversions
* VIDEO_CAPTURE and AUDIO_CAPTURE were already defined
* Handle all PermissionTypes
* use skewer case for accessibility events to match permissions api
https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API
2020-10-29 14:22:32 -04:00
Samuel Attard
07ee75b745
build: auto-push patch file changes ( #26235 )
...
* build: auto-push patch file changes
* chore: change patch for testing purposes
* build: remove stray log
* build: push as electron bot
* build: suppress all output of the push-patch script
* chore: fix linting
2020-10-29 14:21:23 -04:00
Jeremy Rose
914aed6495
chore: don't self-include inspectable_web_contents.h ( #26236 )
2020-10-29 10:44:19 -07:00
Electron Bot
60e963ed86
chore: bump node to v14.15.0 (master) ( #26222 )
...
* chore: bump node in DEPS to v14.15.0
* Update patch indices
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-10-29 09:13:45 -07:00
Electron Bot
30aa74c71c
Bump v12.0.0-nightly.20201029
2020-10-29 07:31:16 -07:00
Erick Zhao
935f6396d5
docs: clarify default value of enableRemoteModule ( #26170 )
2020-10-29 19:33:59 +09:00
Robo
ff71d1cef6
fix: build with printing disabled ( #26248 )
2020-10-28 23:56:41 -07:00
Shelley Vohr
794940272b
fix: hover text only working when VO enabled ( #26183 )
2020-10-28 20:24:37 -07:00
Shelley Vohr
3d9d5679c5
build: only check patch diffs in testing builds ( #26232 )
...
* build: only check patch diffs in testing builds
* Fixup patch indices
2020-10-28 14:06:58 -07:00
David Sanders
ad4cb6f8ac
docs: can use depot_tools Python for Windows build ( #26184 )
2020-10-28 16:06:32 -04:00
Charles Kerr
f489e3054a
feat: honor nativeTheme.themeSource = 'dark' before creating BrowserWindow on Windows ( #25373 )
...
* fix: support 'dark' theme before creating windows.
2020-10-28 15:00:21 -05:00
Cheng Zhao
d3f32c7502
fix: set app locale after user's script is loaded ( #26185 )
...
* fix: set app locale after user's script is loaded
* fix: set LC_ALL env on Linux
2020-10-28 12:18:47 -04:00
Milan Burda
0c2e2bca92
refactor: don't send ipcRenderer.sendSync() returnValue as an array ( #26178 )
2020-10-28 18:48:20 +03:00
Electron Bot
83747ad21c
Bump v12.0.0-nightly.20201028
2020-10-28 07:32:24 -07:00
bigben0123
84a42a050e
fix: incorrect Content-Disposition encoding ( #25961 )
...
* Fixed the filename in content-disposition chaos.
* Fixed lint fail.
* Add test code and some comment.
* Fix lint error.
* fix lint error.
* * test: onHeadersReceived doesn't change the filename in "content-disposition" (#25628 )
* fix lint error.
2020-10-28 16:00:49 +09:00
Antonio
bb16c6f0be
docs: revised the keyboard shortcuts feature page ( #25999 )
...
* docs: revised the keyboard shortcuts feature page
* docs: fixed mentions, revised sections and code samples
* docs: added example of before-input-event
* docs: fixed lint errors in keyboard shortcuts feature page
* docs: minor grammar fix in keyboard shortcuts feature page
2020-10-28 15:58:38 +09:00
David Sanders
0603ef7bfd
build: drop use of --typeRoots for default_app ( #26094 )
2020-10-28 15:57:28 +09:00
Milan Burda
d2727f5aba
feat: add support for UNNotificationResponse in app 'ready' event ( #25950 )
2020-10-28 04:25:10 +03:00
Electron Bot
bf89237f60
chore: bump chromium to 9b2191ea59cba1e2f6da4dbb7dee0 (master) ( #25995 )
2020-10-27 17:33:04 -07:00
Shelley Vohr
284c1b9539
fix: transparently package bundles as zip archives ( #25030 )
2020-10-27 17:05:28 -07:00
Shelley Vohr
7cdc42f43a
fix: draggable regions exclusively on BrowserViews ( #26145 )
2020-10-27 14:28:43 -07:00
Samuel Attard
760c4aeb3e
build: rename the v8 context snapshot on arm64 macOS builds ( #26086 )
...
* chore: rename the v8 context snapshot on arm64 macOS builds
* build: update zip manifests
* build: update to upstream patch
2020-10-27 13:50:57 -07:00
David Sanders
98b0ccbdb1
chore: tidy up usage of PendingRemote ( #26176 )
2020-10-27 12:20:41 -07:00
Jeremy Rose
430cef8a62
docs: remove semantic commit checklist item ( #26168 )
...
We have a check for this now, so the checklist item is redundant
2020-10-27 11:58:12 -07:00
Jeremy Rose
8c396d0512
test: deflake ses.setProxy test ( #26167 )
2020-10-27 10:53:27 -07:00
Milan Burda
1c99a9b425
refactor: Chromium code style for enum classes ( #26165 )
2020-10-27 10:51:45 -07:00
Samuel Attard
dbf2931f0e
feat: Electron Fuses, package time feature toggles ( #24241 )
...
* feat: add new 'fuses' feature for package-time build-flag style feature control
* feat: put ENABLE_RUN_AS_NODE behind a fuse as well
* chore: address PR feedback
* build: move FUSE_EXPORT to headers
* build: use hex codes for kFuseWire char[]
* docs: add fuse wire documentation
* chore: update fuses.json info
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: add link to fuse schema
* Update shell/app/electron_library_main.mm
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-10-27 10:49:25 -07:00
David Sanders
422190e1ff
chore: change some for loops to range-based ( #26182 )
2020-10-27 10:22:24 -07:00
David Sanders
d8167ce138
chore: use consistent parameter names ( #26162 )
2020-10-27 10:18:36 -05:00
Electron Bot
52fd855ad4
Bump v12.0.0-nightly.20201027
2020-10-27 07:31:25 -07:00
LuoJinghua
201fc11b4b
feat: Added support for all proxy modes ( #24937 )
...
* feat: Added support for all proxy modes
This commit extended setProxy to support all proxy modes including
direct, auto_detect, pac_script, fixed_servers and system.
* feat: New api for reload proxy configurations
2020-10-27 15:50:06 +09:00
Antonio
33ac7dbd48
docs: revised windows taskbar page ( #26120 )
...
* docs: revised windows taskbar page
* docs: fixed mentions related to windows taskbar
2020-10-27 10:31:40 +09:00
Jeremy Rose
ae323565f7
fix: delay emitting powerMonitor events on windows ( #25836 )
...
* fix: delay emitting powerMonitor events
* Update electron_api_power_monitor_win.cc
* Update electron_api_power_monitor_win.cc
* syntax
* Update electron_api_power_monitor_win.cc
* Update electron_api_power_monitor_win.cc
2020-10-27 10:25:23 +09:00
Milan Burda
184bccdc7d
docs: fix app 'ready' event arguments ( #26171 )
2020-10-27 00:43:27 +03:00
Antonio
e512669937
docs: revised linux desktop actions page ( #26118 )
2020-10-26 15:32:20 -05:00
David Sanders
4be10523e8
chore: use auto to avoid repeating type ( #26113 )
2020-10-26 11:56:31 -07:00
David Sanders
f714556a12
fix: ensure object is not used after move ( #26115 )
2020-10-26 11:56:08 -07:00
David Sanders
29016b42c7
docs: Windows Security modifies Chromium checkout ( #26151 )
2020-10-26 11:51:21 -07:00
LuoJinghua
0fc5f18b63
fix: Don't sort the headers of ClientRequest ( #26134 )
2020-10-26 11:33:36 -07:00
Valentin Hăloiu
2d1bbd2e38
refactor: remove x11 logic from filenames.gni ( #26146 )
2020-10-26 10:28:11 -07:00
Electron Bot
93e786d1b5
Bump v12.0.0-nightly.20201026
2020-10-26 07:31:57 -07:00
Chris Patterson
6a0c5a8a65
docs: add snapcraft + electron-packager example ( #25750 )
...
* docs: add snapcraft + electron-packager example
Add example to snap electron app (electron-quick-start)
using snapcraft & electron-packager.
Include notes on how to apply this to an existing project.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com >
* Update snapcraft.md
* Update snapcraft.md
* Update snapcraft.md
* Update docs/tutorial/snapcraft.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-10-26 16:47:01 +09:00
Antonio
ecb758dae5
docs: revised the represented file feature page ( #26018 )
...
* docs: revised the represented file feature page
* docs: fixed mentions, updated screenshot to be more consistent
2020-10-26 16:45:45 +09:00
Fabio Spampinato
d4191c4a26
fix: optimized asar paths checks ( #26024 )
...
* fix: optimized asar paths checks
* fix: ensuring the linter is happy
2020-10-26 12:19:35 +09:00
Milan Burda
aa157c3f05
feat: add osProcessId / name properties to webFrameMain ( #26093 )
...
* feat: add osProcessId / name properties to webFrameMain
* Update docs/api/web-frame-main.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-10-26 06:03:34 +03:00
David Sanders
30b5e15ddc
chore: bump @typescript-eslint version ( #25986 )
...
* chore: bump @typescript-eslint version
* chore: update config for newer @typescript-eslint
* chore: disable eslint no-undef rule for typescript
2020-10-26 11:59:35 +09:00
David Sanders
4379a14335
chore: bump @electron/docs-parser version ( #26088 )
2020-10-25 12:29:47 -05:00
Shelley Vohr
e89abed924
fix: disable use of the vm module in the renderer ( #26087 )
2020-10-23 11:49:52 -07:00
Electron Bot
c89ce5eecf
Bump v12.0.0-nightly.20201023
2020-10-23 07:32:10 -07:00
Samuel Attard
9d18f9d54f
fix: re-enable the spellchecker when new language list set ( #26119 )
...
* fix: re-enable the spellchecker when new language list set
Chromium recently added prefs logic to disable the spellchecker if the list of languages is empty, but the logic to re-enable if the languages are provided again lives in another part of Chromium. This change makes it so our API re-enables the spellchecker correctly when required.
* chore: fix lint
2020-10-23 00:34:19 -07:00
Shelley Vohr
6181c03df0
fix: setSimpleFullScreen shows traffic light in frameless window ( #26096 )
2020-10-23 15:04:53 +09:00
Jeremy Rose
2d49d82072
chore: synchronously destroy WebContents on event prevented ( #26090 )
2020-10-23 15:04:07 +09:00
Antonio
722903f068
docs: revised the application progress bar feature page ( #26003 )
...
* docs: revised the application progress bar feature page
* docs: fixed mentions, added screenshots to make the guide more consistent
* docs: added an extra phrase about indeterminate mode
* docs: revised paragraph about indeterminate mode
* docs: fixed lint errors, broken links
2020-10-23 15:03:04 +09:00
David Sanders
554ad93d45
chore: prefer empty() check for readability ( #26109 )
2020-10-22 13:24:59 -07:00
David Sanders
d9db9873fd
fix: return early on promise rejection ( #26095 )
2020-10-22 10:53:42 -07:00
Charles Kerr
c934d1386b
docs: add discord link to docs community page ( #26048 )
2020-10-22 10:24:30 -05:00
Electron Bot
7f0c6ea47a
Bump v12.0.0-nightly.20201022
2020-10-22 07:33:26 -07:00
Cheng Zhao
e3c4bbd21f
fix: release NSAlert properly ( #26078 )
2020-10-22 15:46:58 +09:00
Antonio
f93e33528e
docs: revised the web embeds feature page ( #26008 )
...
* docs: revised the web embeds feature page
* docs: minor styling updates to the web embeds feature page
* docs: fixed text and grammar mentions
* docs: changed placement of the webviews warning
* docs: added a few missing commas
2020-10-22 11:08:26 +09:00
David Sanders
35455c725d
build: fix running eslint on Windows ( #26014 )
2020-10-21 15:44:38 -07:00
Samuel Maddock
10a209ecba
feat: add webPreferences.enablePreferredSizeMode ( #25874 )
...
* feat: add preferredSizeMode preference
* docs: webPreferences.preferredSizeMode and event
* docs: better explain preferred size
* docs: small improvement
* refactor: preferredSizeMode -> enablePreferredSizeMode
2020-10-21 15:44:19 -07:00
David Sanders
2aa5a1f494
build: lint the npm folder ( #26085 )
2020-10-21 15:43:52 -07:00
Jeremy Rose
22cb3cd18b
feat: add disabledCipherSuites option to setSSLConfig ( #25818 )
2020-10-21 11:03:59 -07:00
Milan Burda
f6a27973d1
chore: sort filenames ( #26049 )
2020-10-21 17:38:20 +03:00
Electron Bot
939be5eb8a
Bump v12.0.0-nightly.20201021
2020-10-21 07:31:34 -07:00
Cheng Zhao
a631a8a8b0
docs: put required field frontmost in the dialog options ( #26059 )
2020-10-21 20:07:44 +09:00
Antonio
5c6fa7e420
docs: revised the online-offline event detection feature page ( #26017 )
...
* docs: revised the online-offline event detection feature page
* docs: fixed text and grammar mentions
2020-10-21 15:46:56 +09:00
Milan Burda
df1432a315
feat: add net.online / net.isOnline() ( #21004 )
2020-10-20 19:55:06 -07:00
Milan Burda
1ef803d2ea
chore: make RenderProcessHostPrivilege enum class ( #26050 )
2020-10-20 19:47:04 -05:00
Julie Koubová
56d1fafe66
build: Wrap bundles using webpack ( #25557 )
2020-10-20 12:10:15 -07:00
David Sanders
f7945ade07
build: mtime cache for patches to speed up build ( #25881 )
2020-10-20 11:49:57 -07:00
Valentin Hăloiu
c4525b4ea6
fix: add Wayland support ( #26022 )
2020-10-20 11:24:52 -07:00
Electron Bot
d38c47e748
Bump v12.0.0-nightly.20201020
2020-10-20 07:33:02 -07:00
Antonio
aebb56cb33
docs: revised Notifications feature page ( #25901 )
...
* docs: revised Notifications feature page
* docs: fixed mentions and updated content according to style guide in the notifications feature page
* docs: fixed lint errors in the notifications feature page
* docs: slightly improved consistency of steps in the notifications feature page
* docs: fixed mentions in the notifications feature page
2020-10-20 11:24:27 +09:00
David Sanders
e6f570d191
docs: improve relative link linting and fix broken ( #26020 )
2020-10-20 10:46:27 +09:00
David Sanders
042ebdd5b0
build: lint patches for trailing whitespace ( #26007 )
2020-10-20 10:40:58 +09:00
Cheng Zhao
6b6ffbdd10
feat: add support for share menu on macOS ( #25629 )
2020-10-19 18:33:06 -07:00
Antonio
89c04b3c6c
docs: revised the macos dock menu feature page ( #25985 )
...
* docs: revised the macos dock menu feature page
* docs: added a cross-link to api, fixed mentions in the macos feature page
2020-10-20 10:32:40 +09:00
Charles Kerr
ae5de3d9c5
perf: remove GC timer that fired once per minute. ( #25958 )
2020-10-20 10:31:02 +09:00
Antonio
12e3c85081
docs: revised the recent documents feature page ( #25941 )
...
* docs: revised the recent documents feature page
* docs: fixed lint errors in the recent documents feature page
* docs: slightly improved consistency of steps in the recent documents feature page
2020-10-20 10:26:24 +09:00
John Kleinschmidt
4ce7ca6cfb
test: disable flaky arm tests ( #26046 )
...
* tests: disable flaking test on all arm platforms
* tests: disable flaky did-change-theme-color tests on WOA
2020-10-19 20:11:30 -04:00
Shelley Vohr
c6a6f53c8d
fix: crash when printing ( #25989 )
2020-10-19 14:31:25 -07:00
The Gem Dev
3219812c02
docs: update native file drag and drop ( #26044 )
...
fixed a typo.
2020-10-19 14:18:43 -07:00
Electron Bot
e895353f7a
chore: bump node to v14.14.0 (master) ( #25994 )
...
* chore: bump node in DEPS to v14.14.0
* Remove upstreamed certs patch
https://github.com/nodejs/node/pull/35546
* Remove V8 Isolate callbacks patch
https://github.com/nodejs/node/pull/35512
* Update patch indices
* Update Node.js filenames
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-10-19 13:28:28 -07:00
Shelley Vohr
88508d5166
fix: support new PDF viewer update ( #26010 )
2020-10-19 13:07:02 -07:00
David Sanders
64504536fa
build: fix invocation of cpplint on Windows ( #26011 )
2020-10-19 12:08:13 -07:00
Charles Kerr
16caa54248
chore: tweak branch detection in release notes. ( #25973 )
2020-10-19 11:36:37 -07:00
Michaela Laurencin
11ce55628e
fix: correct null pointer checks in autoresizing browser views ( #25951 )
...
* Correction null pointer checks
* fix: correct null pointer checks in autoresizing browser views
Co-authored-by: mlaurencin <mlaurencin@microsoft.com >
2020-10-19 09:26:38 -07:00
John Kleinschmidt
87d3f3584c
fix: segfault in SerialChooserController ( #25969 )
...
* fix: segfault in SerialChooserController
* Remove temporary testing
2020-10-19 10:51:25 -04:00
Electron Bot
6a0221297e
Bump v12.0.0-nightly.20201019
2020-10-19 07:31:58 -07:00
Milan Burda
decb1eb87b
feat: add serviceName to 'child-process-gone' / app.getAppMetrics() ( #25975 )
2020-10-19 14:55:47 +03:00
David Sanders
c27e5fdbb6
chore: fix linter errors ( #25996 )
2020-10-19 20:55:27 +09:00
Lishid
05b5c197ae
feat: Expose renderer spellcheck API ( #25060 )
2020-10-19 20:48:16 +09:00
Milan Burda
321395d96e
refactor: use Map instead of Object for better semantics ( #25982 )
2020-10-19 03:24:51 +03:00
Shelley Vohr
eca53aaaf1
fix: Save As PDF from PDF Preview ( #25959 )
2020-10-16 18:30:46 -07:00
Robo
708cf44d19
ci: disable CalculateNativeWinOcclusion for woa ( #26001 )
2020-10-16 13:45:38 -07:00
Cheng Zhao
44221d7452
chore: update chore_expose_v8_initialization_isolate_callbacks.patch ( #25992 )
...
* chore: update chore_expose_v8_initialization_isolate_callbacks.patch
* update patches
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-10-16 13:31:13 -07:00
Electron Bot
63f1f2d7ce
Bump v12.0.0-nightly.20201016
2020-10-16 07:32:09 -07:00
Ben Russert
bf68405a2f
feat: support exclude from capture on Windows ( #24274 )
...
* feat: support exclude from capture on Windows
Check for WDA_EXCLUDEFROMCAPTURE support, and fallback to WDA_MONITOR. Windows versions that support exclude from capture will exclude the window entirely when `setContentProtection` is enabled similar to how Mac behaves. Fall back to `WDA_MONITOR` for windows verisions that do not support.
This flag is mentioned at the very end of a Microsoft blog post here: https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/
Use WDA_EXCLUDEFROMCAPTURE for content protection on windows
Starting with Windows 10, version 2004 this will exclude a window similar to the expected behavior on mac. It is safe to use WDA_EXCLUDEFROMCAPTURE on older Windows versions, as it will still behave as if WDA_MONITOR is applied.
https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/64#issuecomment-697074762
See the docs here: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity
* docs: update setContentProtection docs
Update `setContentProtection` docs with `WDA_EXCLUDEFROMCAPTURE` info. This is to support screen capture fully excluding a particular window instead of showing it as a black screen.
2020-10-16 20:02:49 +09:00
Antonio
55fdc1795c
docs: revised the drag and drop feature page ( #25939 )
...
* docs: revised the drag and drop feature page
* docs: fixed mentions in the drag and drop feature page
* docs: fixed mentions in the drag and drop feature page
2020-10-15 19:14:16 -07:00
Electron Bot
46f3491c7d
chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) ( #25558 )
...
* chore: bump chromium in DEPS to d5c9bf9e2a18fa508201a88e5803bec1d107b1ae
* chore: bump chromium in DEPS to 45f1316afae33e52c92480b34bf4f7fe4a7db898
* update patches
* WillCreateURLLoaderFactory now gets a ukm_source_id
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2346803
* ink_drop_visible_opacity -> GetInkDropVisibleOpacity
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2415368
* chore: bump chromium in DEPS to ddb5b6db5e35ab1a7b5adbd9f15373af6c35ea2a
* 2418471: PDF Viewer update: Add missing aria-labels to various buttons.
https://chromium-review.googlesource.com/c/chromium/src/+/2418471
* update printing.patch given print settings mojoification
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2409467
* update patches
* content::BluetoothChooser::Event -> content::BluetoothChooserEvent
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2387901
* set_ink_drop_base_color -> SetInkDropBaseColor
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2419388
* chore: bump chromium in DEPS to ecf7c9ee830d4d85f300b461a2fa13aa40c79a4c
* update patches
* gfx::ConvertPointToPixel -> gfx::ConvertPointToPixels
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2418568
* remove ContentSettingsObserver::AllowStorage()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2401847
* service_manager::kCrashDumpSignal -> kCrashDumpSignal
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2417073
* chore: bump chromium in DEPS to abdb7ebe5f8c8328b8f435283df90d0a3ecff7bd
* chore: bump chromium in DEPS to 2a7e138ab1066534ceb2622e8a9d2c8ebf574215
* chore: bump chromium in DEPS to ab1884e75ced904e4276851eb4e1ad89919ca93b
* chore: bump chromium in DEPS to a12413902380dcc2a73ac74d582328280a8af686
* Fixup printing patch
https://chromium-review.googlesource.com/c/chromium/src/+/2428623
* Fixup OSR patch
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Make ExtensionURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2357523
* Add deprecated_default_sources_assignment_filter variable
https://chromium-review.googlesource.com/c/chromium/src/+/2416496
* Fixup patch indices
* Remove several references to BrowserPlugin from content
https://chromium-review.googlesource.com/c/chromium/src/+/2401031
* Remove SurfaceEmbeddingTime and LocalSurfaceIdAllocation
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Add DragOperation and AllowedDragOperations Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/2196167
* chore: bump chromium in DEPS to 378450342cf6aa160663d0ce3a178a11b570c25a
* Fixup patch indices
* Remove SurfaceEmbeddingTime and LocalSurfaceIdAllocation
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Add DragOperation and AllowedDragOperations Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/2196167
* 2426564: Remove global sources assignment filter value
https://chromium-review.googlesource.com/c/chromium/src/+/2426564
* Fixup blink_local_frame.patch
* [XProto] Remove a subset of ui/gfx/x/x11.h
https://chromium-review.googlesource.com/c/chromium/src/+/2430328
* Fixup patch indices
* Remove several references to BrowserPlugin from content
https://chromium-review.googlesource.com/c/chromium/src/+/2401031
* Remove lossy ConvertSizeToPixel() methods
https://chromium-review.googlesource.com/c/chromium/src/+/2419534
* serial: Use USB driver name to disambiguate ports
https://chromium-review.googlesource.com/c/chromium/src/+/2413176
* Remove set_sources_filter import
* Fix ModMask usage
* [XProto] Remove usage of all Xlib headers
https://chromium-review.googlesource.com/c/chromium/src/+/2392140
* [XProto] Remove usage of Xlib Visuals
https://chromium-review.googlesource.com/c/chromium/src/+/2429933
* Skip Angle manifest file
https://chromium-review.googlesource.com/c/angle/angle/+/2425197
* Add whole src\third_party\angle\.git directory
This directory is needed in order to properly generate gen/angle/angle_commit.h
* [libvpx] Fix HighBD config on Windows ARM64
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* update patches
* fix: correct calling convention for Windows on Arm
https://chromium-review.googlesource.com/c/v8/v8/+/2440717
* Add third_party/angle/.git to the archive before adding the rest of the source
* fixup source caching on Windows
* Fixup erroneous close paren
* fixup for goma issues
* This should work
* chore: bump chromium roll manually
https://chromium-review.googlesource.com/c/chromium/src/+/2435142
This landed the day after we paused roller-bot and may resolve the
visibility test flakes that we're seeing. h/t to @jkleinsc for
finding this with me.
* chore: remove obsoleted cherry-pick fix for libvpx
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* chore: remove obsoleted cherry-pick libvpx patch
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* chore: re-export patches
* chore: add tracer comment to visibility-stat-spec.
The line numbers between the source and the CI runs don't seem to match
up, so this temp tracer is to help track the source of that difference.
* chore: bump chromium in DEPS to 7c2b8cc3b8638aee8abeb013042a6c1d15b2da6b
* update patches
* impl SortingLSH service
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2425327
* 2446525: [Flash] Remove some Flash APIs
https://chromium-review.googlesource.com/c/chromium/src/+/2446525
* 2440974: Reland "Delete service_manager/embedder/switches.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2440974
* 2359402: Remove ContentBrowserClient::NonNetworkURLLoaderFactoryDeprecatedMap.
https://chromium-review.googlesource.com/c/chromium/src/+/2359402
* 2250506: Implement tabs.removeCSS
https://chromium-review.googlesource.com/c/chromium/src/+/2250506
* 2429143: Remove implicit-conversion-to-integer ConvertRectToPixel() methods.
https://chromium-review.googlesource.com/c/chromium/src/+/2429143
* 2444430: Remove DataElementType::kBlob
https://chromium-review.googlesource.com/c/chromium/src/+/2444430
* 2441964: Clean up WebView public API
https://chromium-review.googlesource.com/c/chromium/src/+/2441964
* 2357523: Make ExtensionURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2357523
* 2461606: Use blink::mojom::PreferredColorScheme instead of blink::PreferredColorScheme
https://chromium-review.googlesource.com/c/chromium/src/+/2461606
* 2461235: a11y inspect reorg: move PropertyFilter struct to a new location
https://chromium-review.googlesource.com/c/chromium/src/+/2461235
* remove flash support
* fix frame_host_manager patch
* fix lint
* remove flash info from docs
* fix build
* fix osr
* chore: bump chromium in DEPS to 9269f9eb1d98d29564c2b2ab97f30c6e148c4e11
* fix visibilityState tests
* 2463049: Replace all uses of web_pref::AutoplayPolicy with mojom::AutoplayPolicy
https://chromium-review.googlesource.com/c/chromium/src/+/2463049
* update patches
* fix tests harder
* 2414921: Add Group and Ungroup functions to Tabs extension API
https://chromium-review.googlesource.com/c/chromium/src/+/2414921
* more test fix
* Remove all keyboard related usage of Xlib
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2436787
* fix linux build
* 2453807: [XProto] Remove usage of Xlib error handling
https://chromium-review.googlesource.com/c/chromium/src/+/2453807
* lint
* fixup! 2453807: [XProto] Remove usage of Xlib error handling
* disable CalculateNativeWinOcclusion on win ci
* remove UploadBlob from docs
* Update appveyor.yml
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-10-15 18:30:41 -07:00
Cheng Zhao
20c6677a9c
fix: maximized frameless window bleeding to other monitors ( #25940 )
2020-10-15 14:05:44 -07:00
mzajaczkowski
1c44bb8e74
build: fix missing dependency resulting in a random build failure ( #25943 )
...
* build: fix missing dependency resulting in a random build failure
* build: pref_names.h #includes files generated by separate GN targets,
any sources that include that file have to live in a target that depends
on the target it comes from
* fixup! build: fix missing dependency resulting in a random build failure
* fixup! build: fix missing dependency resulting in a random build failure
2020-10-15 13:41:05 -07:00
Milan Burda
beaed6c434
docs: fix protocol.registerFileProtocol() usage in session.md ( #25949 )
2020-10-15 11:11:14 -07:00
Electron Bot
82424350bf
Bump v12.0.0-nightly.20201015
2020-10-15 07:33:50 -07:00
Milan Burda
09afaec9de
docs: move breaking-changes-ns.md contents to breaking-changes.md ( #25921 )
2020-10-14 10:17:07 -07:00
Matt Kane
dfbb88c5f6
fix: pass module resolution paths to wrapped function ( #25891 )
2020-10-14 10:13:45 -07:00
Electron Bot
9b43935b07
Bump v12.0.0-nightly.20201014
2020-10-14 07:33:43 -07:00
Milan Burda
2c68bad631
refactor: create IPC_MESSAGES enum for IPC message channels ( #25694 )
2020-10-14 00:11:06 +03:00
Antonio
8dfb1cf78f
docs: revised version of the quick start guide ( #25760 )
2020-10-13 13:15:40 -07:00
David Sanders
b194030a34
chore: cleanup some typos in comments ( #25770 )
2020-10-13 10:25:21 -07:00
David Sanders
183e92a5ae
docs: add troubleshooting for gclient sync issues ( #25841 )
2020-10-13 10:23:38 -07:00
Shelley Vohr
e8166db9d7
fix: uv loop polling when render process reuse enabled ( #25869 )
2020-10-13 09:19:44 -07:00
Electron Bot
d57cd09f14
Bump v12.0.0-nightly.20201013
2020-10-13 07:31:41 -07:00
Jeremy Rose
8243255316
fix: s3put not replacing enough \\ ( #25866 )
2020-10-13 11:02:25 +09:00
Samuel Attard
501900cdc6
fix: update squirrel.mac to handle bug in Big Sur ( #25864 )
...
Fixes #25626
This is not the greatest workaround but at least it works.
2020-10-13 11:01:49 +09:00
Jeremy Rose
cbe751d349
fix: NativeImage.getScaleFactors returns correct scales ( #25832 )
...
* fix: NativeImage.getScaleFactors returns correct scales
* fix tests
2020-10-13 10:59:18 +09:00
David Sanders
9cd882f1fa
docs: gclient sync --ignore_locks was removed ( #25843 )
2020-10-13 10:45:10 +09:00
Milan Burda
f827acc3be
chore: convert guest-view-manager.js to TypeScript ( #25825 )
2020-10-13 04:29:08 +03:00
Electron Bot
d78d7b3a55
Bump v12.0.0-nightly.20201012
2020-10-12 07:32:10 -07:00
Milan Burda
83bb065b4f
refactor: wrap Object.prototype.hasOwnProperty.call ( #25834 )
2020-10-10 03:45:08 +03:00
Jeremy Rose
b8f414f4da
feat: hide electron links in default help menu when packaged ( #25831 )
2020-10-09 13:42:44 -07:00
Electron Bot
2e5c005e30
Bump v12.0.0-nightly.20201009
2020-10-09 12:12:47 -07:00
Samuel Maddock
704d69a8f9
feat: add webFrameMain API to the main process ( #25464 )
2020-10-09 09:50:46 -07:00
Cheng Zhao
647df1e547
chore: update chore_expose_v8_initialization_isolate_callbacks.patch ( #25851 )
2020-10-09 09:43:52 -07:00
Michaela Laurencin
0195319b75
fix: notifications successfully never timeout with included flag ( #25820 )
...
Co-authored-by: mlaurencin <mlaurencin@microsoft.com >
2020-10-09 08:26:39 -07:00
Erick Zhao
3402fe712c
docs: update link to did-fail-load events ( #25794 )
...
* docs: update link to `did-fail-load` events
* Update docs/api/web-contents.md
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com >
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com >
2020-10-09 19:59:43 +09:00
David Sanders
6677c5064f
docs: fix typos ( #25808 )
2020-10-09 19:56:07 +09:00
Samuel Attard
6d5cf02abd
feat: add support for preventing the system context menu ( #25795 )
2020-10-08 15:45:05 -07:00
Shelley Vohr
042d25e926
fix: wasm code generation in the renderer ( #25777 )
2020-10-08 12:26:01 -07:00
Electron Bot
2ca2a88afc
chore: bump node to v14.13.1 (master) ( #25824 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-10-08 09:55:59 -07:00
LuoJinghua
e4213e326b
feat: add ability to close connections for a session ( #24945 )
...
These methods are needed for closing all idle and in-flight connections after
switching to another proxy from same origin for a session, otherwise
these connections may be reused for future requests which is
unexpected for most of users.
2020-10-08 09:45:36 -07:00
Milan Burda
fb11a12d5b
refactor: replace a few any-s with proper types ( #25681 )
2020-10-08 03:01:23 +02:00
Jeremy Rose
603f9242d9
build: print upload script output ( #25814 )
2020-10-07 17:13:06 -07:00
CezaryKulakowski
73adeef877
fix: window.open doesn't work correctly in child window ( #25080 )
...
If speculative render view host is deleted during naviagation to
page we try to open with call to window.open window is destroyed
right after it is created. It may happen when naviagation triggers
redirect from http to https. To void that we should emit event
current-render-view-deleted only when render view host which was
destroyed is the current webcontent's rvh.
2020-10-07 16:11:19 -07:00
Electron Bot
3e627f7700
chore: bump node to v14.13.0 (master) ( #25788 )
2020-10-07 12:07:12 -07:00
Electron Bot
9be6b1f7e0
Bump v12.0.0-nightly.20201007
2020-10-07 07:33:22 -07:00
Milan Burda
65089a69a1
test: improve app 'session-created' event spec ( #25799 )
2020-10-07 15:59:27 +02:00
Jeremy Rose
a5ca25ba65
fix: sync devtools frontend mime types with upstream ( #25780 )
...
* fix: sync devtools frontend mime types with upstream
* fix header
2020-10-06 15:59:12 -07:00
Jeremy Rose
f31a1c9e4e
fix: prevent UAF in NativeImage.getBitmap ( #25782 )
2020-10-06 15:58:40 -07:00
Shelley Vohr
0632d59da0
chore: use noop ShouldAbortOnUncaughtException cb ( #25772 )
2020-10-06 11:16:49 -07:00
Electron Bot
5be9dcad46
Bump v12.0.0-nightly.20201006
2020-10-06 07:31:08 -07:00
Milan Burda
db911f29ad
refactor: remove duplicate <webview> event list ( #25697 )
2020-10-06 15:11:26 +02:00
marcin-prochownik
8207f6901d
fix: access violation during redirects (intercepted requests) ( #25393 )
...
* fix: don't delete loader factory when request is pending
When intercepted request is pending we need to make sure that
loader factory is not deleted, especially when redirect occurs.
Otherwise, it may cause access violation.
* fix: added logic that removes requests from collection
* fix: fixed lint errors
* fix: fixed review remark
* fix: fixed review remarks
Removed intercepted_requests_ collection
and leverage pending_receivers_.
* fix: brought back removed line
2020-10-06 16:20:56 +09:00
Egor Stronhin
125c5a6e9b
docs: end listener must be placed before data listener ( #25568 )
2020-10-06 10:27:30 +09:00
Milan Burda
b33f22601e
refactor: check ELECTRON_ENABLE_LOGGING via native implementation ( #25623 )
2020-10-06 09:58:31 +09:00
marcin-prochownik
fec1c0b68b
fix: passing content-length down the stream for intercepted requests ( #25324 )
...
* fix: pass content length if avilable in headers
* fix: fixed unit test after changes
video is being played for standard scheme when
content-length is available
* fix: fixed review remakrs
added is_string check and changed stol to StringToInt64
* fix: fix test case name
* fix: fixed typo
2020-10-06 09:53:13 +09:00
Keeley Hammond
6356cd4018
fix: allow ClientRequest responses to be throttled ( #25531 )
...
* fix: allow net streams to be throttled [WIP]
* fix: handle resume throttling within IncomingMessage [WIP]
* fix: fix urlLoader typing, add throttle test
* fix: fix lint and increase test timeout for Linux
* fix: increase test chunk limit to 20 and timeout to 2000
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2020-10-06 09:47:41 +09:00
David Sanders
53ee708fe8
build: python3 compat and fix line endings on Win ( #25767 )
2020-10-06 09:40:04 +09:00
Asher Jacob
cba19f06f1
docs: added additional instructions to RUN the application ( #25743 )
...
In the existing documentation only "npm start" is given as the
instruction to run the project, however the definition of the 'start'
script is not mentioned anywhere. Hence I feel it is important for the
users to know the exact contents of the 'start' scirpt and have
accordingly updated the documentation.
2020-10-05 13:34:35 -07:00
David Sanders
ee9045c2e7
docs: trim trailing whitespace ( #25768 )
2020-10-05 13:01:40 -07:00
Cheng Zhao
57dc170e81
fix: no more need to hijack process.stdout on Win32 ( #25765 )
2020-10-05 10:10:38 -07:00
David Sanders
9717dff4fa
docs: link ProtocolRequest doc ( #25761 )
2020-10-05 11:18:18 -04:00
David Sanders
bbdca48cdb
fix: output Unix-style paths for git diffs on Win ( #25763 )
2020-10-05 10:40:40 -04:00
David Sanders
818751ff87
build: fix typos in script messages ( #25766 )
2020-10-05 10:38:50 -04:00
Erick Zhao
15d7d4b40f
docs: add Discord Server to README ( #25751 )
2020-10-05 10:36:53 -04:00
Electron Bot
30465790b5
Bump v12.0.0-nightly.20201005
2020-10-05 07:32:53 -07:00
David Sanders
c075d14920
fix: python3 compatibility ( #25762 )
2020-10-05 15:00:35 +09:00
Chris Patterson
4ccc9e4205
docs: update snapcraft tutorial background information ( #25747 )
...
- Remove outdated comment about macOS.
- Refer to Snapcraft's installation documentation for up-to-date installation instructions.
2020-10-05 15:00:23 +09:00
Cody
77e2e47504
docs: fix spelling error in updates tutorial ( #25725 )
2020-10-05 14:59:24 +09:00
Milan Burda
508b8d902b
chore: move remote module fixtures for easier deletion when removed ( #25736 )
2020-10-05 10:22:35 +09:00
Jeremy Rose
485adae94c
fix: nativeImage.crop().toBitmap() returning garbage ( #25757 )
2020-10-05 10:15:16 +09:00
Samuel Attard
a189dc779e
feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process ( #25580 )
...
* feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process
* chore: fix up docs and tests
2020-10-02 14:50:24 -07:00
Jeremy Rose
d64b9c20bd
build: fix mergeShasums ( #25752 )
2020-10-02 13:26:29 -07:00
Samuel Attard
ac6bf0b268
build: use https for sysroot download ( #25754 )
2020-10-02 13:25:30 -07:00
Shelley Vohr
8ac71fd349
chore: fix nmv for Electron v12 ( #25749 )
2020-10-02 12:50:56 -07:00
Milan Burda
e1a19d735e
chore: convert guest-window-manager.js to TypeScript ( #25709 )
2020-10-02 20:18:42 +02:00
Electron Bot
7e88585bfb
Bump v12.0.0-nightly.20201002
2020-10-02 07:32:53 -07:00
Milan Burda
8df4faa8f0
chore: cleanup typings/internal-electron.d.ts ( #25711 )
2020-10-02 04:52:29 +02:00
Milan Burda
17c7c5cfdd
fix: crash when application launched from UNUserNotificationCenter notification ( #25702 )
2020-10-02 04:52:07 +02:00
Milan Burda
5387b5b9b2
docs: rename launch-failure -> launch-failed to match C++ code ( #25726 )
2020-10-01 22:34:42 +02:00
Jeremy Rose
822b044068
fix: suppress worldSafe warning emitted from security checks ( #25692 )
2020-10-01 08:59:52 -07:00
Electron Bot
e2132acc5c
Bump v12.0.0-nightly.20201001
2020-10-01 07:32:02 -07:00
Samuel Attard
3142b1181b
build: move to ACR for docker image storage ( #25710 )
2020-09-30 15:25:27 -07:00
Jeremy Rose
7027217dbb
build: use aws-sdk-js instead of boto ( #25693 )
2020-09-30 13:30:10 -07:00
Robert Borg
e9876aecf9
fix: gdi printing in silent printing mode ( #25679 )
...
for windows print_text_with_gdi is set to the value of is_modifiable
but this code path is not taken for silent printing
2020-09-30 11:42:57 -07:00
John Kleinschmidt
077c37c682
ci: fixup doc only check on Windows ( #25700 )
2020-09-30 14:36:44 -04:00
John Kleinschmidt
4316c4125f
chore: force homebrew cache to update ( #25703 )
2020-09-30 13:47:25 -04:00
Charles Kerr
2b3b3fea2e
chore: fix package.json reference to atom directory ( #25682 )
2020-09-30 08:58:45 -07:00
Electron Bot
a8d542337c
Bump v12.0.0-nightly.20200930
2020-09-30 07:32:17 -07:00
Samuel Maddock
462de5f97a
chore(extensions): remove unused features json ( #25660 )
2020-09-29 20:03:35 -07:00
bitdisaster
b43859f098
feat: custom toast xml and failure reporting for notifications ( #25401 )
...
* allow custom toast xml and report failures
* docs
* tests
* don't use namespaces
* lint doesn't like trailing commas
* addressing feedback
2020-09-29 12:20:10 -07:00
Cheng Zhao
d2282ac51a
fix: submenu should be autoreleased ( #25617 )
2020-09-29 12:56:46 -04:00
Valentin Hăloiu
01dc50d829
refactor: use chromium x11 error handler ( #25611 )
2020-09-29 12:05:34 -04:00
Jeremy Rose
0e7d59dd79
feat: [net] add "credentials" option to net.request ( #25284 )
...
* feat: [net] add "credentials" option to net.request
* remove debugging log
* add tests
2020-09-29 12:03:33 -04:00
Cheng Zhao
8970c80520
docs: command line flags for GPU controls ( #25589 )
2020-09-29 11:49:09 -04:00
Shelley Vohr
99a4284174
refactor: remove unnecessary copied helper ( #25668 )
2020-09-29 11:40:31 -04:00
Electron Bot
f3c53c1f10
Bump v12.0.0-nightly.20200929
2020-09-29 07:31:26 -07:00
John Kleinschmidt
ebc7d54765
chore: add got for release script ( #25671 )
...
* chore: add got for release script
* Use same version of got we used to use
2020-09-28 21:10:28 -04:00
CezaryKulakowski
b85195ee5f
fix: ensure ready-to-show event is fired ( #25632 )
2020-09-28 13:36:45 -07:00
Jeremy Rose
ac25f4d2ff
docs: clarify example in message-channel-main ( #25625 )
2020-09-28 10:58:32 -07:00
John Kleinschmidt
fd63510ca9
feat: add serial api support ( #25237 )
...
* feat: add serial api support
resolves #22478
* Put serial port support behind a flag and mark as experimental
* Update docs/api/session.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Use enable-blink-features=Serial instead of enable-experimental-web-platform-features
* Set enableBlinkFeatures on webPreferences instead of commandline
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-09-28 12:22:03 -04:00
Electron Bot
bed50bb73c
Bump v12.0.0-nightly.20200928
2020-09-28 07:32:56 -07:00
Shelley Vohr
69ee443c50
fix: crash in printing on Windows ( #25622 )
2020-09-27 19:00:05 -07:00
Electron Bot
4c9638e2b5
Bump v12.0.0-nightly.20200925
2020-09-25 07:31:34 -07:00
Jeremy Rose
3ceaf4aa54
docs: document process.crashReporter apis in node children ( #25579 )
2020-09-24 08:22:50 -07:00
Milan Burda
1f856c25a9
chore: improve renderer crash logging ( #25592 )
2020-09-24 08:22:17 -07:00
Electron Bot
dcd6e1f2b8
Bump v12.0.0-nightly.20200924
2020-09-24 07:32:22 -07:00
Shelley Vohr
b807cabe1b
chore: remove custom Node.js debugger ( #25587 )
2020-09-23 20:35:56 -07:00
Electron Bot
b980d1bd6b
chore: bump node in DEPS to v14.12.0 ( #25593 )
2020-09-23 19:24:34 -07:00
Joe Duncko
6fb7066904
docs: pepper flash plugin info appears at chrome://version now ( #25445 )
...
`chrome://flash` doesn't seem to exist anymore, but similar information
appears at `chrome://version`.
2020-09-23 13:25:27 -07:00
Jeremy Rose
27ea3fc069
feat: allow setting SSL config ( #25461 )
...
* feat: allow setting SSL config
* lint
* configure system network context with min TLS1.2
* fix
* note defaults
2020-09-23 16:22:10 -04:00
Charles Kerr
515e85079f
chore: fix minor script warnings ( #25575 )
2020-09-23 13:21:34 -07:00
Shelley Vohr
353c63e47a
build: fix Node.js filename generation ( #25577 )
2020-09-23 12:48:23 -07:00
Samuel Maddock
9d0d9a1664
feat(extensions): expose ExtensionRegistryObserver events in Session ( #25385 )
...
* feat(extensions): expose ExtensionRegistryObserver events in Session
Extensions can be loaded and unloaded for various reasons. In some cases this can
occur by no means of the Electron programmer, such as in the case of chrome.runtime.reload().
In order to be able to manage state about extensions outside of Electron's APIs, events
reloaded to loading and unloaded are needed.
* docs(extensions): elaborate on extension-loaded/unloaded details
* fix: remove scoped extension registry observer
* docs: update extension-unloaded
2020-09-23 15:29:08 -04:00
Jeremy Rose
881ac995da
fix: decompress devtools discovery html ( #25576 )
2020-09-23 11:47:44 -07:00
Samuel Attard
3503d3745b
fix: order menu items before filtering excess separators ( #25563 )
2020-09-23 10:39:08 -07:00
Electron Bot
a0b238a998
Bump v12.0.0-nightly.20200923
2020-09-23 07:31:26 -07:00
liulun
6aaaabd90f
docs: add more info about downloadItem.setSavePath api ( #25402 )
...
* docs: add more info about downloadItem.setSavePath api
add more info about downloadItem.setSavePath api
* Update docs/api/download-item.md
^_^
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-09-23 11:02:05 +09:00
Cheng Zhao
22c6c891be
fix: unsubscribe from observers when window is closing ( #25554 )
2020-09-23 10:53:32 +09:00
Milan Burda
29c6864ee1
docs: remove unused StreamProtocolResponse / StringProtocolResponse ( #25573 )
2020-09-23 10:48:22 +09:00
Jaroslav Maslo
4f54d71518
docs: fix incorrect dialog.showMessageBox() docs ( #25549 )
2020-09-23 10:35:00 +09:00
dmitryk
0d72bf3ed2
docs: remove deprecated options for the findInPage method. ( #25574 )
2020-09-22 11:55:56 -07:00
Shelley Vohr
6acf34fa4c
feat: add macOS fast user switching evt ( #25321 )
2020-09-22 10:12:39 -07:00
Electron Bot
f6f05c34e6
Bump v12.0.0-nightly.20200922
2020-09-22 07:32:18 -07:00
Electron Bot
d2a82dbd1d
chore: bump node to v14.11.0 (master) ( #25489 )
2020-09-22 07:11:56 -07:00
Samuel Attard
dae60e01d4
build: use newer xCode image ( #25564 )
...
* build: use newer xCode image
* build: log changed file paths
2020-09-22 02:19:00 -07:00
Cheng Zhao
c50ded2b71
feat: add BrowserWindow.isTabletMode API ( #25209 )
2020-09-22 14:40:42 +09:00
Samuel Attard
2dd7ad268b
build: add --only support to the nan test runner ( #25560 )
2020-09-21 16:37:14 -07:00
Shelley Vohr
15c30c5649
fix: check printer list when no default printers ( #25515 )
2020-09-21 13:42:27 -07:00
Michaela Laurencin
ea76788b67
refactor: remove native_browser_view web contents get function ( #25526 )
2020-09-21 10:39:58 -07:00
Electron Bot
a80c35d161
Bump v12.0.0-nightly.20200921
2020-09-21 07:32:16 -07:00
Electron Bot
69f1731bbb
chore: bump chromium to ec5bc1743792d64724693eb357083 (master) ( #24984 )
...
* chore: bump chromium in DEPS to cbdeef954dfc34e94c8ca9cf72ad326b4a121158
* chore: bump chromium in DEPS to 29723f905baeab1d4228eef2c31cdb341ebeffe0
* chore: bump chromium in DEPS to 44d6d78e852137fff58c14ed26ab1e803e5bf822
* update patches
* chore: bump chromium in DEPS to 8a3a0fccb39d6b8334c9a0496c0d5056e50cdb3f
* chore: update patches
* refactor: fix PrintBackend::CreateInstance() calls
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2354541
* chore: bump chromium in DEPS to b9ebec3bcb1cabdd1426f367636f54cc98e0500e
* chore: remove patches to code that was deleted upstream
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2360314
* Remove uses of kCGColorSpaceITUR_2020_PQ_EOTF/HLG
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2363950
just garden variety code shear
* chore: update patch indices
* Move ColorModel to //printing/mojom/print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2355083
sync with printing ColorModel changes: moved to mojo, different naming scheme
* chore: bump chromium in DEPS to 56c4b4d2ce5ba941acd2e0fdb5100e8a48847134
* chore: bump chromium in DEPS to 130501f220b684a79dc82c17e236e63ac1f2a093
* Convert PrintHostMsg_DidGetPrintedPagesCount to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2326857
Update argument list to Print()
* chore: update patch indices
* DumpAccTree: convert utf16 to utf8 in PropertyFilter
https://chromium-review.googlesource.com/c/chromium/src/+/2360218
* chore: bump chromium in DEPS to 3058368c6646e0dc8be6f8ea838b0343428b7998
* chore: bump chromium in DEPS to f51b4e6555364363c61438dac7afd988c8347bfc
* chore: bump chromium in DEPS to 2dcc6f8fc23ac41b2499eb69dee0b4017e9d1046
* update patches
* chore: bump chromium in DEPS to 2d8e98ecedc7e4905540b053bc1c87e964715be5
* update patches
* 2345900: Move content::RecordContentToVisibleTimeRequest struct to mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2345900
* update patches
* 2345900: Move content::RecordContentToVisibleTimeRequest struct to mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2345900
* 2367394: Remove net::LOAD_DO_NOT_SEND_COOKIES and net::LOAD_DO_NOT_SEND_AUTH_DATA.
https://chromium-review.googlesource.com/c/chromium/src/+/2367394
* 2373227: [XProto] Consolidate all <X11/*> includes to //ui/gfx/x/x11.h
https://chromium-review.googlesource.com/c/chromium/src/+/2373227
* fixup! 2373227: [XProto] Consolidate all <X11/*> includes to //ui/gfx/x/x11.h
* chore: bump chromium in DEPS to c090e3f960520cbd2328608b97f87238c76d6143
* update patches
* chore: bump chromium in DEPS to 13a25e0a755de9a14271022c595f3d2e29829e1a
* chore: bump chromium in DEPS to 6adbb767b012c41efaeab0d1bdbb3eefed0977bc
* chore: bump chromium in DEPS to 339ec5455c5932ef1322ea9953a6349b0732199e
* chore: bump chromium in DEPS to 20291807c33f7ef4ef4f57d62075e099b027bfe6
* chore: bump chromium in DEPS to 226fbd1b8b17d4ac84fdb9548ef3a1c646878d47
* update patches
* fixup disable_color_correct_rendering patch
* chore: bump chromium in DEPS to 577c45979cad4359f2e206d68efd9317d3d79315
* update patches
* viz: Rename RenderPass to CompositorRenderPass (and related types).
https://chromium-review.googlesource.com/c/chromium/src/+/2380730
* chore: bump chromium in DEPS to 37e2ad5303f2c03a1b5d8eda65341bf2561196cd
* update patches
* add kOmitCookies_Electron
* update patch
* chore: bump chromium in DEPS to 256e42409ea63a7e71016de07818a983a97db463
* update patches
* fix worker script ready hook
https://chromium-review.googlesource.com/c/chromium/src/+/2335713
* Fixup printing page ranges patch
* [printing] Move PrintMsg_PrintPages_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2340854
* Add MIME sniffer overloads that take base::StringPieces
https://chromium-review.googlesource.com/c/chromium/src/+/2382896
* [printing] Move PrintHostMsg_PreviewIds to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2379455
* fixup test due to new DCHECK
https://chromium-review.googlesource.com/c/chromium/src/+/2333750
* stop sending cookies when useSessionCookies is false
* chore: bump chromium in DEPS to dd429dbc556449951ee8160d8a4d61fd95a139d5
* update patches
* chore: bump chromium in DEPS to 5202bde3f9f44c2065f5dacf27e7000dd19e4e4d
* chore: bump chromium in DEPS to 099e8e07b89da65932431bb0fd51b6f7f5344c19
* chore: bump chromium in DEPS to 104e5da2a43b759732d5b94bfc750b3a9a639653
* chore: bump chromium in DEPS to a4519ce657af25834e355315fd7fefa77b13426a
* update patches
* Make FileURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2337411
* Make FileURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2337411
* chore: bump chromium in DEPS to 1b62e9e8c8eaf6b8e3a9c77ee67a4c1bfa6a4d6b
* chore: update patches
* fixup! Make FileURLLoaderFactory always owned by its |receivers_|.
* chore: update patches
- mac: Disable CoreServices _CSCheckFix.
https://chromium-review.googlesource.com/c/chromium/src/+/2401334
- [XProto] Remove bad DCHECK in x11_error_tracker.cc
https://chromium-review.googlesource.com/c/chromium/src/+/2402304
- Move content/browser/frame_host/* over to content/browser/renderer_host/
https://chromium-review.googlesource.com/c/chromium/src/+/2401303
* Refactor WebContentSettingsClient to dedupe AllowXYZ methods
https://chromium-review.googlesource.com/c/chromium/src/+/2353552
* Introduce NonNetworkURLLoaderFactoryBase class.
https://chromium-review.googlesource.com/c/chromium/src/+/2357559
* [XProto] Remove usage of all Xlib headers
https://chromium-review.googlesource.com/c/chromium/src/+/2392140
* fixup! chore: update patches
* chore: bump chromium in DEPS to c1df55fbeb8207d036a604f59e4ea4e8ee79930a
* chore: update patches
* Move content::WebPreferences struct to Blink
https://chromium-review.googlesource.com/c/chromium/src/+/2397670
* chore: bump chromium in DEPS to 57a23ec4884fff6c2f8d9b8536131cdc9b551ec2
* Set appid on Pip windows.
https://chromium-review.googlesource.com/c/chromium/src/+/2388274
* fixup! Set appid on Pip windows.
* fix: add a patch to remove deprecated factory
* chore: bump chromium in DEPS to 1a9ddb7ea43955877823d5c4dcbf241b64228635
* fix compilation on windows
* chore: bump chromium in DEPS to 234e6c6a77f61ffad9335099d9b13892cf88fd44
* chore: update patches
* chore: bump chromium in DEPS to 7631eb0a9f57a8a47d3c28e1d265961b3a4d6b2b
* chore: update patches
* chore: bump chromium in DEPS to f9c34cd485845b95c2d17a7f55fdf92cda9a1b3a
* chore: update patches
* chore: implement GetSurveyAPIKey
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2362182
* chore: replace CreateWebUIURLLoader with CreateWebUIURLLoaderFactory
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2358309
* chore: bump chromium in DEPS to 5bdbd2373da884adf41c087be1465fcc344d168c
* chore: update node patches for common.gypi
* chore: update patches
* chore: non_network_url_loader_factory_base was moved
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2357431
* 2415752: Reland "Reland "OOR-CORS: Remove BlinkCORS supporting code outside Blink""
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2415752
* chore: bump chromium in DEPS to b943d006a33ec5bc1743792d64724693eb357083
* fix: replace x11::None with x11::Window::None
* chore: update patches
* chore: update patches
* fix: cast x11::Window to int
* 2402123: Use end date when deleting http auth cache
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2402123
* 2320268: Migrate DragHostMsg_StartDragging to Mojo
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2320268
* 2401303: Move content/browser/frame_host/* over to content/browser/renderer_host/
https://chromium-review.googlesource.com/c/chromium/src/+/2401303
* chore: fix lint
* chore: fix build
* Update config.yml
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-09-21 01:00:36 -07:00
Milan Burda
e50d6e47c4
fix: NOTREACHED in content::ChildProcessHost::GetChildPath when enable_plugins=false ( #25525 )
2020-09-20 19:08:15 -07:00
Valentin Hăloiu
efd003d277
refactor: replace USE_X11 with OS_LINUX for sharing code with Ozone ( #25522 )
2020-09-21 09:11:59 +09:00
Shelley Vohr
137fc65e2f
fix: app.importCertificate crash on Linux ( #25523 )
2020-09-18 20:10:41 -06:00
Jeremy Rose
ecb7f877a3
chore: add @nornagon as codeowner of remote ( #25500 )
2020-09-18 15:25:07 -07:00
Electron Bot
735d8b84f0
Bump v12.0.0-nightly.20200918
2020-09-18 07:31:48 -07:00
Shelley Vohr
a65f7f7d42
fix: close window when leave fs crash ( #25468 )
2020-09-17 17:40:07 -06:00
bitdisaster
2cfa41e6e0
feat: read/write Toast Activator CLSID in shortcuts ( #25493 )
...
* read/write Toast Activator CLSID
* docs
* tests
* tweaks
2020-09-17 15:17:44 -07:00
Shelley Vohr
77038b7bda
chore: upgrade to Node.js v14.9.0 ( #25249 )
2020-09-17 16:08:57 -06:00
Electron Bot
4d1dab849f
Bump v12.0.0-nightly.20200917
2020-09-17 07:32:08 -07:00
Cheng Zhao
0b055b2fb8
test: retry the "v8 samples" test for a few times ( #25477 )
2020-09-17 10:04:53 +09:00
mlaurencin
53aaeb7a16
fix: prevent destroyed view references from causing crashes ( #25411 )
...
Closes #21666 .
This PR is fixing crashes caused by referencing and attempting to modify previously destroyed views.
Before, when a view was destroyed and then the contents were referenced for modification, the system would crash as undefined memory was accessed. This fix explicitly makes the pointer to the destroyed view's contents null, so that this will not happen.
2020-09-16 18:10:49 -06:00
Milan Burda
e0a25cb1e3
build: fix build with enable_pdf_viewer=false ( #25494 )
2020-09-17 01:15:01 +03:00
Cheng Zhao
993eab691f
fix: disable CORS when webSecurity is disabled ( #25463 )
2020-09-16 14:55:53 -07:00
Jeremy Rose
a200b15600
docs: update menu example to avoid remote ( #25291 )
2020-09-16 14:32:32 -07:00
Jeremy Rose
ba55aaa53b
fix: check for destroyed webcontents in converter ( #25431 )
2020-09-16 12:25:49 -07:00
Electron Bot
1ba46a91b6
Bump v12.0.0-nightly.20200916
2020-09-16 07:31:16 -07:00
Shelley Vohr
fa7a29e84b
chore: log hint on renderer crash ( #25317 )
2020-09-15 13:01:50 -06:00
Cheng Zhao
e5933c6910
fix: ensure ready-to-show event is fired ( #25448 )
...
* fix: ensure ready-to-show event is fired
* test: acutally draw something when capturePage
2020-09-15 12:48:39 -06:00
Cheng Zhao
2091fd7dd9
test: make a few tests hide their windows ( #25466 )
2020-09-15 12:48:12 -06:00
Samuel Maddock
45170fdbd7
fix(extensions): define platform info to prevent renderer crash ( #25357 )
2020-09-15 10:29:32 -06:00
Electron Bot
fbf32f697f
Bump v12.0.0-nightly.20200915
2020-09-15 07:31:30 -07:00
Jeremy Rose
459a95aaec
fix: call node::Stop on exit ( #25430 )
2020-09-14 14:08:46 -07:00
Samuel Attard
b1d8057ec9
chore: update dependencies ( #25456 )
2020-09-14 14:00:15 -07:00
Jeremy Rose
87d67a9365
refactor: use owner window for BrowserWindow.fromWebContents ( #25408 )
2020-09-14 13:49:57 -07:00
Jeremy Rose
9f4a097e03
feat: remove getMediaSourceIdForWebContents() ( #25414 )
...
This reverts commit 204f001c5d .
2020-09-14 10:38:05 -07:00
Jeremy Rose
5de7eb3618
docs: remove references to remote from docs ( #25416 )
2020-09-14 10:36:54 -07:00
Charles Kerr
7f885bd266
chore: remove unused code from our js scripts ( #25419 )
2020-09-14 10:22:13 -07:00
Electron Bot
bc9816b206
Bump v12.0.0-nightly.20200914
2020-09-14 07:33:06 -07:00
overkill
633e5d8503
chore: change == None to is None ( #25202 )
...
According to LGTM, this change will improve code efficiency.
https://lgtm.com/rules/7900090/
2020-09-13 20:43:16 -06:00
Charles Kerr
9b08fbefe5
chore: remove unused imports in our python scripts ( #25406 )
...
Seen at https://lgtm.com/projects/g/electron/electron/?mode=list&id=py%2Funused-import
and confirmed with manual inspection.
2020-09-14 10:25:49 +09:00
Charles Kerr
70e3aa0182
refactor: add a wrapper for wrangling uv handles. ( #25332 )
...
* refactor: add a wrapper for wrangling uv handles.
Part 1 of a fix for #25248 , #22069 .
Place the uv_asyncs owned by NodeBindings, ElectronBindings inside a new
UvHandle wrapper class which manages uv_handles' need for their closed()
callback to be invoked before the handles' memory can be freed.
* chore: make lint happy
* refactor: use DCHECK_EQ() instead of DCHECK()
* refactor: fix oops
2020-09-14 09:53:50 +09:00
Chris Davis
a3389d017f
fix: Ensure electron delay loads the same modules as chromium ( #25428 )
...
* Ensure electron delay loads the appropriate modules as chromium on windows
This change adds the same module delay load list that chromium uses for electron. Some modules were already getting delay loaded from other build files in chromium but not the main list via //build/config/win:delayloads. We do not include the list of delay loads in delayloads_not_for_child_dll as those have issues being loaded in sandboxes processes. This will reduce the overall reference set impact of the electron processes.
* fix: Ensure win modules are properly delayloaded
* chore: fix linting
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-09-11 23:01:41 -07:00
Jeremy Rose
ce86591459
chore: add wg-security as required reviewer for rpc-server changes ( #25415 )
2020-09-11 11:34:31 -07:00
Electron Bot
7d56ca7360
Bump v12.0.0-nightly.20200911
2020-09-11 07:31:17 -07:00
Jeremy Rose
cd455c8b40
test: reduce flakiness in pdf test ( #25407 )
2020-09-10 16:47:36 -07:00
John Kleinschmidt
acf5d487d2
fix: crash on nativeImage on Windows on ARM ( #25396 )
...
* fix: nativeImage on WOA
* Remove old ldflag
* maybe this will work ¯\_(ツ)_/¯
2020-09-10 14:42:41 -04:00
Jeremy Rose
dd781c4f63
chore: deprecate remote ( #25293 )
2020-09-10 09:17:17 -07:00
Electron Bot
98683190b4
Bump v12.0.0-nightly.20200910
2020-09-10 07:32:25 -07:00
Samuel Maddock
1815b95e74
refactor(extensions): break load warnings into newlines ( #25358 )
2020-09-10 11:39:45 +09:00
Valentin Hăloiu
a829ae56b2
build: use python 2 shebang for git scripts ( #25335 )
2020-09-10 10:05:19 +09:00
Electron Bot
e6fbbf4325
Bump v12.0.0-nightly.20200909
2020-09-09 07:31:32 -07:00
Shelley Vohr
f6df79b927
fix: bind fake mojo service for badging ( #25294 )
...
* fix: bind fake mojo service for badging
* Add a test
2020-09-08 11:13:56 -04:00
Samuel Maddock
5a8046c994
fix(extensions): devtools now open for background pages ( #22217 )
...
refactor(extensions): remove unused InitWithBrowserContext method
fix(extensions): release background page WebContents to avoid crash
The background page WebContents instance is managed by the ExtensionHost.
fix(extensions): open background page devtools detached by default
test(extensions): add background page devtools test
chore: test fix for null web_contents()
fix: close background page devtools in test after opening
2020-09-08 20:55:40 +09:00
Erick Zhao
ae5776041e
docs: full links to MD files in development README ( #24963 )
2020-09-08 20:37:47 +09:00
Erick Zhao
f7d9d68e14
docs: clarify a11y docs ( #24973 )
...
* docs: remove misleading sentence in a11y docs
* Update accessibility.md
* link
2020-09-08 20:37:00 +09:00
Jeremy Rose
2c5c51afb9
fix: update node certdata to NSS 3.56 ( #25313 )
2020-09-08 20:28:04 +09:00
Samuel Maddock
860e14c0da
chore(extensions): remove old renderer code ( #25347 )
2020-09-08 20:11:38 +09:00
Electron Bot
31322400e7
Bump v12.0.0-nightly.20200907
2020-09-07 07:31:59 -07:00
Samuel Attard
4ad9bcb8b5
fix: handle electron script errors better ( #25328 )
2020-09-04 14:53:49 -07:00
Electron Bot
29c1248e96
Bump v12.0.0-nightly.20200904
2020-09-04 07:31:11 -07:00
Samuel Attard
a6b9f9d8e5
fix: only focus a webContents if the window was not initially hidden ( #25292 )
2020-09-04 15:57:29 +09:00
Jeremy Rose
d305fe7d30
docs: breaking changes for moveItemToTrash ( #25286 )
2020-09-03 12:44:16 -07:00
Jeremy Rose
4dc09ea9dc
feat: [crashReporter] enable compression by default ( #25288 )
2020-09-03 12:43:58 -07:00
Charles Kerr
4484e95fc8
chore: graceful handling of notes with sub-lists ( #25279 )
...
* chore: graceful handling of notes with sub-lists
Handle multine release notes that contain their own bullet points.
Also, if a release note begins with a bullet point, remove it because it
will confuse the markdown parser to have two bullet points.
2020-09-03 14:42:48 -05:00
Robo
03e60cce8b
fix: avoid creating client_id file for empty DIR_CRASH_DUMPS ( #25296 )
2020-09-03 11:52:43 -07:00
Electron Bot
733d56e908
Bump v12.0.0-nightly.20200903
2020-09-03 07:32:01 -07:00
Cheng Zhao
43485b8705
fix: multiple dock icons when calling dock.show/hide ( #25269 )
...
* fix: mulitple dock icons when calling dock.show/hide
* test: run dock.show tests after dock.hide tests
2020-09-03 20:46:24 +09:00
Jeremy Rose
bda6378685
chore: remove "no breaking changes" warning in PR template ( #25285 )
2020-09-02 11:56:10 -07:00
Jeremy Rose
1b6534b326
feat: add shell.trashItem() to replace shell.moveItemToTrash() ( #25114 )
2020-09-02 10:32:33 -07:00
Shelley Vohr
e9e7eee25e
fix: provide asynchronous cleanup hooks in n-api ( #25135 )
2020-09-02 10:22:05 -07:00
Electron Bot
7e698df8f3
Bump v12.0.0-nightly.20200902
2020-09-02 07:32:22 -07:00
morgan-sam
e0611d0946
docs: setZoomLevel chromium zoom policy ( #25105 )
2020-09-02 10:06:58 +09:00
Samuel Attard
184e72fafd
revert: "fix: reply notifs sometimes destroyed too early" ( #25247 )
...
* Revert "fix: reply notifs sometimes destroyed too early (#25086 )"
This reverts commit bea6c9e4e1 .
* nothing
2020-09-02 10:02:47 +09:00
Eryk Rakowski
3745b76da8
feat(extensions): add support for some chrome.management APIs ( #25098 )
...
* fix: initialize management policy
* fix(extensions): crash when using chrome.management
* test: add tests
* docs: add a note about chrome.management
* fix: lint errors
* fix: lint errors
* fix: remove favicon_service include
* fix: add missing management permission
* docs: more supported apis
* fix: extensions.md line endings
2020-09-02 09:59:56 +09:00
Jeremy Rose
bf7dbff858
docs: note remote deprecation in docs/api/remote ( #24941 )
2020-08-31 11:27:00 -07:00
John Kleinschmidt
7c10f86c6e
ci: cleanup up test app directories ( #25145 )
...
* ci: cleanup up test app directories
* ci: use electron prefix for a testing apps so that the can be cleaned up
* Revert "ci: cleanup up test app directories"
This reverts commit a47daba812 .
* fixup test due to app name change
2020-08-31 14:07:12 -04:00
Electron Bot
9803e4d526
Bump v12.0.0-nightly.20200831
2020-08-31 07:32:25 -07:00
Robo
068b464e13
fix: client area inset calculation when maximized for framless windows ( #25052 )
...
* adopt per monitor scale factor
* fix: client area inset calculation when maximized
* address review feedback
* pass correct glass insets to GetDwmFrameInsetsInPixels
* remove unused code
* Windows 8 and 10 use the same DWM frame calculation
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-08-31 16:55:50 +09:00
Milan Burda
a09694ae85
chore: replace CRLF with LF ( #25161 )
...
* chore: replace CRLF with LF
* chore: replace CRLF with LF in docs and tests
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-08-31 16:52:11 +09:00
Cheng Zhao
e06a1c2746
docs: fix supported platforms of powerMonitor ( #25149 )
2020-08-31 16:46:10 +09:00
Shelley Vohr
c5320b3951
fix: save dialog extensions should be deterministic ( #25164 )
2020-08-28 09:40:47 -07:00
Electron Bot
6cc960f214
Bump v12.0.0-nightly.20200828
2020-08-28 07:32:29 -07:00
Shelley Vohr
a4b6fce907
fix: honor pageRanges when printing ( #25064 )
2020-08-27 20:21:29 -07:00
Cheng Zhao
8f727b3569
fix: do not reset process_id in URLLoaderFactoryParams ( #25139 )
2020-08-28 10:43:08 +09:00
Shelley Vohr
95073decd3
chore: remove bv before setting owner window ( #25172 )
2020-08-27 16:24:52 -07:00
Shelley Vohr
e8ef1ef252
chore: wrap add/remove view in extra check ( #25166 )
2020-08-27 13:04:06 -07:00
Samuel Attard
075502477e
chore: we do not use the nightly tag on npm ( #25147 )
2020-08-27 12:11:27 -07:00
Milan Burda
97755bbd85
fix: resolve RegisterSuspendResumeNotification dynamically ( #25162 )
2020-08-27 11:20:15 -07:00
Markus Olsson
bab69ae4d2
fix: make shell.moveItemToTrash return false on Windows when move unsuccessful ( #25124 )
2020-08-27 09:55:33 -07:00
Electron Bot
443540fd13
Bump v12.0.0-nightly.20200827
2020-08-27 07:31:51 -07:00
Cheng Zhao
5e1950ceff
chore: force source code and markdown files to use LF line ending ( #25134 )
2020-08-27 10:25:39 +09:00
Jeremy Rose
2c9e79c8d5
test: add tests for shell.moveItemToTrash ( #25113 )
2020-08-26 09:34:29 -07:00
Electron Bot
fdb36eb5b5
Bump v11.0.0-nightly.20200826
2020-08-26 07:32:46 -07:00
Shelley Vohr
be8db589eb
fix: mitigate use of private macOS font API ( #25117 )
2020-08-25 21:13:42 -07:00
Shelley Vohr
c8a0b2b71d
fix: prevent crash if BrowserView webContents was destroyed ( #25112 )
2020-08-25 20:04:13 -07:00
leonllrmc
c97f8109c2
chore: update import for use new ECMA features ( #24987 )
2020-08-25 09:23:44 -07:00
Electron Bot
d5ab63b1ea
Bump v11.0.0-nightly.20200825
2020-08-25 07:31:28 -07:00
Keeley Hammond
7704954505
docs: add restricted header info to ClientRequest docs ( #25075 )
...
* docs: add restricted header info to docs
* docs: clarify header language
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2020-08-25 20:29:58 +09:00
Jeremy Rose
35237d3c30
fix: [linux] open directories with dbus FileManager ( #25087 )
2020-08-24 13:54:50 -07:00
Cheng Zhao
cd3fadc2fb
fix: save normal window bounds when maximizing ( #25051 )
...
* fix: save normal window bounds when maximizing
* fix: prevent maximize being emitted twice
2020-08-24 13:32:08 -07:00
Cheng Zhao
5ed3460751
fix: register for connected standby changes ( #25076 )
2020-08-24 13:09:36 -07:00
Samuel Attard
8baa9deccd
build: update to typescript 4 ( #25091 )
2020-08-24 11:23:25 -07:00
Shelley Vohr
0efcaec4d6
fix: global shortcut media keys working with accessibility ( #24145 )
...
* fix: global shortcut media keys
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-08-24 10:41:06 -07:00
John Kleinschmidt
d8fe7af703
ci: fix WOA failing tests ( #25018 )
...
* tests: fix failing WOA tests
tests: fix startDrag for WOA
tests: fix early-in-memory-session-create crash test on WOA
ci: cleanup user app data directories on WOA
* tests: disable nativeImage.createFromBuffer tests on WOA
* disable failing nativeImage.createFromPath on WOA
* disable another nativeImage test for WOA
2020-08-24 12:58:55 -04:00
George Xu
beaf60de0a
feat: add nativeImage.createThumbnailFromPath API ( #24802 )
...
* initial commit, mac implementation
* add documentation
* convert createThumbnailFromPath to async function
* windows impl protoype
* add tests
* added test
* fix
* fix test
* clean up
* update docs
* cleaning up code
* fix test
* retrigger CI
* retrigger CI
* refactor from app to native_image
* windows build
* lint
* lint
* add smart pointers, fix test
* change tests and update docs
* fix test, remove nolint
* add renderer-main process routing to fix tests
* lint
* thanks sam
* thanks sam
2020-08-24 09:36:13 -07:00
Sofia Nguy
b403e64ef2
docs: update currently supported versions for 10.0.0 release ( #25027 )
2020-08-24 11:21:41 -05:00
Sofia Nguy
59670e8d8c
docs: update 11.0 stable release date ( #25073 )
2020-08-24 11:21:17 -05:00
Shelley Vohr
024ea32313
feat: make window visual effect state customizable ( #25083 )
2020-08-24 11:44:48 -04:00
Electron Bot
c0440a35f2
Bump v11.0.0-nightly.20200824
2020-08-24 07:32:16 -07:00
Shelley Vohr
bea6c9e4e1
fix: reply notifs sometimes destroyed too early ( #25086 )
...
* fix: reply notifs sometimes destroyed too early
* Fix windows build
2020-08-23 21:27:46 -07:00
Alfred Xing
a23c66e4e1
feat: allow monospaced font styles to be specified for macOS tray titles ( #25059 )
...
* feat: add optional font type to macOS tray title
* test: add tests for tray font type
* docs: update API reference for Tray setTitle
* review: change API to use an options object
* review: fix string enum in docs
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* review: return after throwing errors
* review: don't need thrower anymore now that we have args
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-08-23 14:39:29 -07:00
Electron Bot
13751c815e
Bump v11.0.0-nightly.20200822
2020-08-22 16:45:58 -07:00
Samuel Attard
1646f938f3
Revert "refactor: use aws-sdk-js instead of boto ( #24863 )"
...
This reverts commit a3581aa992 .
2020-08-22 16:42:45 -07:00
Samuel Attard
cd4c4e9f04
Revert "Bump v11.0.0-nightly.20200822"
...
This reverts commit bda5ec519b .
2020-08-22 16:42:41 -07:00
Electron Bot
bda5ec519b
Bump v11.0.0-nightly.20200822
2020-08-22 11:29:05 -07:00
Samuel Attard
3f4c867599
build: remove mksnapshot token file
2020-08-22 02:23:14 -07:00
Samuel Attard
3e2d959817
build: fix electron_mksnapshot_zip_done check
2020-08-22 01:17:43 -07:00
Electron Bot
02f5ffbaac
Bump v11.0.0-nightly.20200821
2020-08-21 20:34:09 -07:00
Samuel Attard
e2a5908665
Revert "Bump v11.0.0-nightly.20200821"
...
This reverts commit 1709fed85e
2020-08-21 20:32:22 -07:00
Samuel Attard
5df6c5ecce
build: more space on arm64 builds, running out of ideas here ( #25043 )
...
* build: more space on arm64 builds, running out of ideas here
* build: well this is kinda nuts but off we go
* chore: rollback thingy
* chore: build snapshot for realz
* chore: do not delete hunspell
* build: use the new magic extra-disk-space circle image
* build: remove existing file, it is not a tree
2020-08-21 20:30:04 -07:00
Samuel Attard
b1e2185c5e
refactor: wire will-navigate up to a navigation throttle instead of OpenURL ( #25065 )
...
* refactor: wire will-navigate up to a navigation throttle instead of OpenURL
* spec: add test for x-site _top navigation
2020-08-21 12:34:09 -07:00
shur
a17e97c3b2
feat: expose currencyCode on Product struct in IAP module ( #25058 )
...
Co-authored-by: Shur Singh <ssingh@evernote.com >
2020-08-21 10:41:40 -07:00
Jeremy Rose
5d3301769b
feat: record v8 cpu samples in the main process ( #24819 )
2020-08-21 09:25:30 -07:00
Electron Bot
1709fed85e
Bump v11.0.0-nightly.20200821
2020-08-21 07:31:43 -07:00
Samuel Attard
26f28b6ae4
fix: add handling for non-absolute extension paths ( #25068 )
2020-08-20 20:47:10 -07:00
Charlie Hess
42409d860b
fix: Resolve bookmarks without mounting network drives ( #24708 )
2020-08-20 15:01:08 -07:00
Charles Kerr
d9a1c453ab
fix: revert 6ecf729 to fix Linux titlebar dark mode ( #25055 )
...
Fixes #24741
2020-08-20 16:53:06 -04:00
Electron Bot
2d502b8ac6
Bump v11.0.0-nightly.20200820
2020-08-20 07:31:57 -07:00
Shelley Vohr
9631eafa1f
fix: DCHECK on print job cancellation ( #25031 )
2020-08-20 15:28:24 +09:00
Shelley Vohr
53668445ba
feat: reinvigorate visibleOnFullscreen option ( #24956 )
2020-08-19 13:31:25 -07:00
Cheng Zhao
52d7afa4ef
fix: calculate frame when setting window placement ( #25014 )
2020-08-19 12:34:15 -07:00
Jeremy Rose
9021843850
fix: enable TLS renegotiation in node ( #25022 )
2020-08-19 11:18:16 -07:00
Electron Bot
3313e00578
Bump v11.0.0-nightly.20200819
2020-08-19 07:32:52 -07:00
Eryk Rakowski
9e53112ee1
fix(extensions): enable WebSQL in background pages ( #24798 )
...
* fix(extensions): enable WebSQL in background pages
* fix: apply suggestions
* fix: remove duplicate include
* fix: remove trailing spaces
2020-08-19 09:41:47 +09:00
Shelley Vohr
ff24caf798
test: use custom partition for sw tests ( #24999 )
2020-08-18 09:31:24 -07:00
Electron Bot
a1eceee48f
Bump v11.0.0-nightly.20200818
2020-08-18 07:32:07 -07:00
GitHubPang
5c5e006e46
docs: fix typos ( #24982 )
...
* docs: sync table of content from pull-requests.md to CONTRIBUTING.md
This also fixes some incorrect / dead links.
* docs: fix a bunch of typos
2020-08-18 16:55:16 +09:00
Vlad Hashimoto
b55e8dc578
docs: update default value for enableRemoteModule in BrowserWindow ( #24955 )
2020-08-18 16:54:47 +09:00
Samuel Attard
29d9c02ab9
build: increase available space on mac arm64 vm ( #25008 )
2020-08-17 22:06:59 -07:00
Tierney Cyren
303fcc69be
fix(docs): update outdated ref to NSP ( #24925 )
...
removes an outdated reference to Node Security Project, which was acquired by npm some time ago. The new workflow for the same process (now the npm advisories page) has been added.
2020-08-17 19:29:45 -07:00
Samuel Attard
ab6769d7f8
build: upload windows breakpad symbols ( #25000 )
2020-08-17 14:52:08 -07:00
Jeremy Rose
bac2f46ba9
fix: browser contexts live forever ( #24964 )
2020-08-17 13:21:53 -07:00
Shelley Vohr
befbbc27d8
fix: pdf download not working ( #24946 )
2020-08-17 08:25:20 -07:00
Electron Bot
db13dcb8d2
Bump v11.0.0-nightly.20200817
2020-08-17 07:31:30 -07:00
Electron Bot
53033a66b1
chore: bump chromium to 7d4ac110045b7647fa8a81f5f0709 (master) ( #24970 )
...
* chore: bump chromium in DEPS to 760c905ccca34d8ed83c54f6a42c42a375792a6b
* chore: update patches
- Introduce WebContentsObserverList to encapsulate common behaviour
https://chromium-review.googlesource.com/c/chromium/src/+/2343269
- DumpAccTree mac testing: refactor tree formatter logic to make it
suitable for nested attribute calls
https://chromium-review.googlesource.com/c/chromium/src/+/2274545
- Fix FontPlatformDataMacTest.VariableOpticalSizingThreshold for Big Sur
https://chromium-review.googlesource.com/c/chromium/src/+/2351299
* chore: bump chromium in DEPS to b04584161e07d4ac110045b7647fa8a81f5f0709
* chore: update patches
* [printing] Move printing::MarginType to //printing/mojom/print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2341222
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-08-14 18:51:28 -07:00
Electron Bot
4ef827c13c
Bump v11.0.0-nightly.20200814
2020-08-14 07:31:18 -07:00
Jeremy Rose
a3581aa992
refactor: use aws-sdk-js instead of boto ( #24863 )
...
* refactor: use js instead of boto for s3put
* replace merge-electron-checksums.py with js, remove boto
* fix auth
* actually pass the env to execute()
2020-08-13 13:25:40 -04:00
Electron Bot
627467d08a
Bump v11.0.0-nightly.20200813
2020-08-13 07:31:18 -07:00
Tierney Cyren
8f30333322
docs: add Notification section to SECURITY.md ( #24926 )
...
adds a new section pointing to a relevant doc in Governance that defines how we notify end-users of security issues.
2020-08-12 17:31:29 -07:00
Electron Bot
8798571a77
chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) ( #24687 )
...
* chore: bump chromium in DEPS to 1f1c4d91f6eaa4a033ec8f499d63a0717f79a42a
* viz: Do not apply white level scaling for RGBA fp16 HDR video
https://chromium-review.googlesource.com/c/chromium/src/+/2296006
* Move WebPreferences to WebContents
https://chromium-review.googlesource.com/c/chromium/src/+/2263635
* Fix missing WeakPtr check in PreconnectManager
https://chromium-review.googlesource.com/c/chromium/src/+/2309029
* Fixup swiftshader roll revision
* Update patch indices
* Move WebDeviceEmulationParams into common.
https://chromium-review.googlesource.com/c/chromium/src/+/2303356
* Move EnableDisableDeviceEmulation to blink mojom messages
https://chromium-review.googlesource.com/c/chromium/src/+/2303367
* PDF Viewer: Remove flag for two-up view
https://chromium-review.googlesource.com/c/chromium/src/+/2311130
* Add mojom definition for DeviceEmulationParams.
https://chromium-review.googlesource.com/c/chromium/src/+/2303491
* Remove ServiceWorkerContextWatcher from PaymentAppInstaller
https://chromium-review.googlesource.com/c/chromium/src/+/2291186
* Loader: Move transferrable_url_loader.mojom into blink's mojom directory
https://chromium-review.googlesource.com/c/chromium/src/+/2306123
* chore: bump chromium in DEPS to 4974f436479739025a90ebc2cc2e36d67ee1ac46
* mac: Work around Xcode 12b3 SDK bug
https://chromium-review.googlesource.com/c/chromium/src/+/2315078
* Reland Update core items for macOS Big Sur.
https://chromium-review.googlesource.com/c/chromium/src/+/2315162
* Update Swiftshader revision
* mac/arm64: When cross-building the snapshot, use page size of the target ISA instead of the host.
https://chromium-review.googlesource.com/c/v8/v8/+/2310575
* Update patch indices
* Rename {,Non}ClientView::CanClose() to OnWindowCloseRequested()
https://chromium-review.googlesource.com/c/chromium/src/+/2247838
* chore: bump chromium in DEPS to e9465d70d1dea539400f0fddad43358ea3c31d71
* chore: bump chromium in DEPS to bd5b71c5f20288eb26068a39ae6e0579566a51c5
* chore: bump chromium in DEPS to 786ee543048bd07d07c5ac50b7dbbdd6bdd8dcce
* chore: bump chromium in DEPS to 34eb6ecbf2c5894b648900bf771a2a29de204798
* chore: bump chromium in DEPS to 567ff038d68e3adb8116a01eec863cdf34d775f5
* chore: bump chromium in DEPS to 340b45c8d4ceb2dd61969fc34e1928d3c46db48c
* chore: update patches
* chore: base::DeleteFile with two params is removed
Should use base::DeleteFile and base::DeletePathRecursively when
appropriate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2313376
* chore: add patch for NodePlatform::PostJob impl
* chore: update patches
* chore: extension file access is now instrumented
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2209995
* chore: implement SetWindowFrameInScreen in OSR RWHV
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2321409
* chore: NotifyUserActivation requires a type now
This is just for a histogram thing and therefore it does not matter what
we pass in
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2281303
* chore: update patches
* chore: bump chromium in DEPS to cd570e6dd3dcb84463ac252b04e92ceb02d8400c
* chore: update patches
* chore: bump chromium in DEPS to 0187908a31866992b90c59719ac1d016328f6ee0
* chore: bump chromium in DEPS to 3c9df38c508f3dba26a75248beed4882ddfb98e9
* chore: bump chromium in DEPS to 1a47d3b9cee710bd3c958c4f2d8b205710df9d50
* chore: bump chromium in DEPS to baac93040d96abdab72d46dd034c60f86e108702
* chore: bump chromium in DEPS to 13836145f97299e636491de38064b78861c4fb2e
* update patches
* change OS_MACOSX -> OS_MAC
Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=1105907
* patch: add header for ToExecutionContext in WebMessagePortConverter
* chore: bump chromium in DEPS to 91ab9b6ac5d04dc034a03ad847fbfa8261328c2b
* update patches
* NeedToFireBeforeUnloadOrUnload -> NeedToFireBeforeUnloadOrUnloadEvents
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2288711
* chore: bump chromium in DEPS to 290deb11f0e30cb1382fd8f8793d340560283c23
* update patches
* add dragdrop header for autofill popup
* int -> x11::Time
* patch out accessibility private API use
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2330812
* remove usage of XEvent
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2317767
* trigger recalculation of WebPreferences before renderer initialization
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2263635
* chore: bump chromium in DEPS to 6bdb484583b99c96ef3388d0c2184326581b2d5a
* chore: bump chromium in DEPS to 1eb2a79cde04fd5c8ae51b4d813e6521635269e5
* chore: bump chromium in DEPS to 3dc8e3c0f400e4ca9c0a63d7a39bd910997ad4c6
* chore: update patches
* fixup! trigger recalculation of WebPreferences before renderer initialization
* views: Make MenuButton and RadioButton default constructible
https://chromium-review.googlesource.com/c/chromium/src/+/2339586
* chore: fix code style
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-08-12 11:33:58 -07:00
Electron Bot
3d2afa45c3
Bump v11.0.0-nightly.20200812
2020-08-12 07:32:30 -07:00
Electron Bot
4080b04911
Bump v11.0.0-nightly.20200811
2020-08-11 07:37:50 -07:00
Electron Bot
b09c828dd3
Revert "Bump v11.0.0-nightly.20200811"
...
This reverts commit f3363bde26 .
2020-08-11 07:36:50 -07:00
Electron Bot
f3363bde26
Bump v11.0.0-nightly.20200811
2020-08-11 07:36:24 -07:00
Electron Bot
f136bf406f
Revert "Bump v11.0.0-nightly.20200811"
...
This reverts commit 77ee3da77c .
2020-08-11 07:35:30 -07:00
Electron Bot
77ee3da77c
Bump v11.0.0-nightly.20200811
2020-08-11 07:34:51 -07:00
GitHubPang
47f88b65b7
docs: fix typo in api/ipc-renderer ( #24901 )
2020-08-11 07:31:38 -07:00
Olawanle Joel
d7909b507f
docs: fixed minor typos ( #24912 )
...
I was going through the entire documentation and decided to fix this to the best of my knowledge.
2020-08-11 07:30:45 -07:00
Teo Koon Peng
14aba3f0de
fix: export libuv symbols ( #24659 )
...
* fix: export libuv symbols
* add test for linux and windows
* mac linker flags
* assuming same foo.so path for macos
* use --whole-archive flag for mac as well
* use force_load for mac
* refactor: use napi c api directly
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-08-11 19:17:18 +09:00
Shelley Vohr
7ded768743
fix: pdf viewer template strings ( #24913 )
2020-08-10 22:46:58 -07:00
Samuel Attard
47d451ae52
fix: ts-node node is not a thing
2020-08-10 20:25:29 -07:00
Charles Kerr
7e84d3a2c1
build: in release notes script, do not assume electron dirname ( #24927 )
2020-08-10 16:56:54 -07:00
Samuel Attard
29a7b8f805
fix: add deps on the new devtools highlighter ( #24921 )
2020-08-10 16:54:05 -07:00
Shelley Vohr
16c32d2eb2
build: handle unhandled promise rejection in notes ( #24923 )
...
Handle any potential Git processes without throwing unhandled rejection errors.
2020-08-10 10:18:08 -07:00
Samuel Attard
047650b564
chore: update patches ( #24919 )
2020-08-10 08:23:21 -07:00
Shelley Vohr
8311078a96
fix: don't try to init mmap on missing asar ( #24890 )
2020-08-10 08:22:49 -07:00
Electron Bot
a9eaebb7f4
Bump v11.0.0-nightly.20200810
2020-08-10 07:32:34 -07:00
Samuel Attard
01c9113e2b
build: fix path to git attributes for for patch export ( #24896 )
2020-08-10 07:10:15 -07:00
Jeremy Rose
481b19bee6
fix: send guid with linux crashes ( #24881 )
2020-08-07 15:30:49 -07:00
Samuel Attard
433956ce4f
build: remove the tools folder ( #24880 )
2020-08-07 14:13:09 -07:00
Samuel Attard
b0ea1e14e1
build: type check the script folder during lint ( #24892 )
2020-08-07 13:49:07 -07:00
Samuel Attard
4d50f3f62c
build: convert some scripts to TS ( #24891 )
2020-08-07 13:48:46 -07:00
Electron Bot
2028492356
Bump v11.0.0-nightly.20200807
2020-08-07 12:02:05 -07:00
Samuel Attard
3fa250d6da
Revert "Bump v11.0.0-nightly.20200807"
...
This reverts commit cbdfeb1979 .
2020-08-07 12:00:29 -07:00
Samuel Attard
854b74809a
build: upload the file stream not a JSON blob for the read stream ( #24889 )
2020-08-07 12:00:12 -07:00
Electron Bot
cbdfeb1979
Bump v11.0.0-nightly.20200807
2020-08-07 07:32:05 -07:00
Cheng Zhao
2224d94c75
fix: add handle scope in SelectClientCertificate ( #24868 )
2020-08-06 20:50:41 -07:00
Electron Bot
b6f8cd39e5
Bump v11.0.0-nightly.20200806
2020-08-06 14:58:30 -07:00
Electron Bot
075a7adcc0
Revert "Bump v11.0.0-nightly.20200806"
...
This reverts commit 14256ee697 .
2020-08-06 14:57:37 -07:00
Electron Bot
14256ee697
Bump v11.0.0-nightly.20200806
2020-08-06 13:20:37 -07:00
Samuel Attard
aaa971ff19
Revert "Bump v11.0.0-nightly.20200806"
...
This reverts commit 5bf423b646 .
2020-08-06 13:15:48 -07:00
Electron Bot
5bf423b646
Bump v11.0.0-nightly.20200806
2020-08-06 10:40:35 -07:00
Samuel Attard
4f4c383ec5
build: only do the lower case symbol copy on case sensitive file systems ( #24876 )
2020-08-06 10:39:24 -07:00
Samuel Attard
5ed8afbdb6
Revert "Bump v11.0.0-nightly.20200806"
...
This reverts commit 4523c90dcd .
2020-08-06 10:36:41 -07:00
Cheng Zhao
5f447e4b4f
fix: do not render inactive titlebar as active on Windows ( #24847 )
2020-08-06 09:05:23 -07:00
Electron Bot
4523c90dcd
Bump v11.0.0-nightly.20200806
2020-08-06 07:31:55 -07:00
Shelley Vohr
6cb23e1d36
fix: use non-symbols in isURLInstance check ( #24831 )
2020-08-05 15:05:36 -07:00
Samuel Attard
a2c82f2342
build: ensure symbol files are named lowercase on disk so that boto can find them ( #24856 )
2020-08-05 14:03:50 -07:00
Shelley Vohr
9274117e12
build: quash octokit deprecation warning ( #24790 )
2020-08-05 11:59:52 -04:00
Electron Bot
99874fd71f
Bump v11.0.0-nightly.20200805
2020-08-05 07:31:04 -07:00
Shelley Vohr
06c47c650a
fix: duplicate suspend/resume events ( #24818 )
2020-08-04 20:08:45 -07:00
Jeremy Rose
30cd9cdf2a
docs: remove reference to remote from faq ( #24816 )
2020-08-04 12:08:44 -07:00
Jeremy Rose
9c234f3f3f
docs: remove references to 'remote' from app-arch tutorial ( #24815 )
2020-08-04 12:08:35 -07:00
Jeremy Rose
01a2e23194
refactor: mmap asar files ( #24470 )
2020-08-04 11:48:04 -07:00
Electron Bot
15ee34a1f2
Bump v11.0.0-nightly.20200804
2020-08-04 07:32:55 -07:00
Eryk Rakowski
f53aac97f5
fix(extensions): bypass cors in requests made from background pages ( #24483 )
2020-08-03 16:56:18 -07:00
Jeremy Rose
1350dc46ed
refactor: ginify Archive ( #24799 )
2020-08-03 14:26:27 -07:00
Shelley Vohr
6fd302f745
chore: remove overwritten Node.js patch ( #24775 )
...
* chore: remove overwritten Node.js patch
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-08-03 08:49:31 -07:00
Electron Bot
e5c721eafc
Bump v11.0.0-nightly.20200803
2020-08-03 07:32:11 -07:00
Electron Bot
a342ab7ce7
Bump v11.0.0-nightly.20200731
2020-07-31 07:31:51 -07:00
Samuel Attard
c3258d6c4e
fix: provide AXTextChangeValueStartMarker for macOS a11y value change notifications ( #24801 )
2020-07-30 21:01:26 -07:00
Jeremy Rose
b5cd9ce0b3
refactor: ginify WebContents ( #24651 )
2020-07-30 09:17:57 -07:00
Electron Bot
e7fc19c98e
Bump v11.0.0-nightly.20200730
2020-07-30 07:33:03 -07:00
Shelley Vohr
948cc08265
chore: add V8 crash information to crashReporter ( #24771 )
...
* feat: add V8 crash information to crashReporter
* Address review feedback
2020-07-29 19:04:24 -07:00
Jeremy Rose
d93bb34ac4
fix: increase max crash key value length ( #24782 )
...
* fix: increase max crash key value length
* chore: fix linting
* chore: fix linux
* Update spec-main/api-crash-reporter-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-07-29 19:04:04 -07:00
Robo
01023435c0
fix: save crash reports locally when uploadToServer: false on linux ( #24778 )
...
* fix: generate dumps under crashDumps folder in linux
* Update spec-main/api-crash-reporter-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-07-29 17:45:02 -07:00
Samuel Attard
06cb550c75
build: upload sentry src bundles on windows as well ( #24773 )
2020-07-29 12:41:53 -07:00
George Xu
1b175a0609
feat: add capabilities to app.getLoginItemSettings() and app.setLoginItemSettings() ( #24494 )
...
* fixed
* semantic commit
* add comments to browser.h
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-07-29 10:08:37 -07:00
Electron Bot
75372e933f
Bump v11.0.0-nightly.20200729
2020-07-29 07:31:20 -07:00
Samuel Attard
f859d4ce44
test: fail tests if the spec runner promise rejects ( #24762 )
2020-07-28 20:36:35 -07:00
Jeremy Rose
9c37e12e2d
refactor: ginify app ( #24679 )
2020-07-28 16:43:43 -07:00
Jeremy Rose
834408a50f
fix: wrap OnWindowMessage w/ handlescope ( #24716 )
2020-07-28 15:09:56 -07:00
Robo
b6321cc22d
fix: crash when navigating from a page with webview that has inherited zoom level ( #24757 )
...
* fix: cleanup webview zoom level observers on navigation
* add spec
* webview should be on same partition
* wait for webview to finish loading
2020-07-28 13:00:44 -07:00
Jeremy Rose
38fafe4986
refactor: ginify autoUpdater ( #24678 )
2020-07-28 11:04:34 -07:00
Jeremy Rose
e6cf5906f6
refactor: ginify Screen ( #24677 )
2020-07-28 11:04:01 -07:00
Jeremy Rose
362da77c0a
refactor: ginify SystemPreferences ( #24675 )
2020-07-28 11:03:30 -07:00
Electron Bot
3f45fc24bb
Bump v11.0.0-nightly.20200728
2020-07-28 10:45:24 -07:00
Samuel Attard
75c3a426ea
Revert "Bump v11.0.0-nightly.20200728"
...
This reverts commit c6c986648f .
2020-07-28 10:43:32 -07:00
Shelley Vohr
4e15273b9f
build: fix failing arm64 builds on macOS ( #24748 )
2020-07-28 08:42:15 -07:00
Electron Bot
c6c986648f
Bump v11.0.0-nightly.20200728
2020-07-28 07:31:27 -07:00
Samuel Attard
bac232689d
build: only move folder if it exists when freeing space ( #24740 )
2020-07-27 23:09:29 -07:00
Robo
76e3ee6fe6
fix: loading dedicated/shared worker scripts over custom protocol ( #20625 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-07-27 18:48:37 -07:00
Samuel Attard
4829b0f816
fix: disable rosetta as Electron does not run under rosetta ( #24670 )
2020-07-27 13:26:04 -07:00
Samuel Attard
a612fb00c8
chore: update symbol server URL ( #24709 )
2020-07-27 13:25:39 -07:00
Electron Bot
2f02a469f4
chore: bump node to v12.18.3 (master) ( #24707 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-07-27 09:12:29 -07:00
Charles Kerr
b39a5b71fe
chore: add trop annotations to release notes. ( #24672 )
...
Trop annotations are in the form of "(Also in 7.3, 8, 9)" with links to
the sibling branches.
Previously seen in b43e601b83 but is now
free of optional chaining and nullish coalescing, to run on Node < 14 :)
2020-07-27 10:01:41 -05:00
Electron Bot
91f5837344
Bump v11.0.0-nightly.20200727
2020-07-27 07:31:39 -07:00
Electron Bot
5fc354df73
Bump v11.0.0-nightly.20200724
2020-07-24 07:32:19 -07:00
Shelley Vohr
ee31611e84
fix: missing base::CommandLine include ( #24718 )
2020-07-24 00:08:04 -07:00
Jeremy Rose
071c5930b9
refactor: ginify InAppPurchase ( #24674 )
2020-07-23 14:55:41 -07:00
Samuel Attard
5cfe956fe1
fix: ensure that errors thrown in the context bridge are created in the correct context ( #24534 )
2020-07-23 14:32:38 -07:00
Samuel Attard
b500294c1d
feat: add worldSafe flag for executeJS results ( #24114 )
...
* feat: add worldSafe flag for executeJS results
* chore: do not log warning for webContents.executeJS
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: apply PR feedback
* chore: split logic a bit
* chore: allow primitives through the world safe checl
* chore: clean up per PR feedback
* chore: flip boolean logic
* chore: update per PR feedback
* chore: fix typo
* chore: fix spec
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-07-23 14:32:20 -07:00
szTheory
3b250b649b
docs: fix role typos in startSpeaking/stopSpeaking ( #24550 )
2020-07-23 13:59:24 -07:00
Samuel Attard
2162eeb609
build: fix linting issue in docs ( #24710 )
2020-07-23 12:27:00 -07:00
Charles Kerr
00fc8066de
docs: clarify use of pageRanges when printing. ( #24694 )
...
Fixes #24684 -- the docs are slightly unclear about how pageRanges
should be used, e.g. whether the page indices are zero-based or
one-based.
2020-07-23 12:03:52 -07:00
Electron Bot
6b1de271a7
Bump v11.0.0-nightly.20200723
2020-07-23 07:33:04 -07:00
Raghav Bhutra
ec838cfc11
docs: add Documentation for Open Recent Menu-item ( #24374 )
2020-07-22 19:22:01 -07:00
Gellert Hegyi
6fa3406912
fix: remove corner mask override to increase window resize performance ( #24642 )
...
* fix: remove corner mask override to increase window resize performance
* uses corner mask only for vibrant view
2020-07-23 09:54:32 +09:00
Felix Rieseberg
b57f5086ef
fix: Allow VoiceOver to navigate "back into" web contents ( #24655 )
...
* fix: Use ElectronAdaptedContentView
* fix: Actually, nevermind, it's "BrowserAccessebilityCocoa"
* chore: Remove things instead of manually keeping them
2020-07-22 15:29:01 -07:00
Jeremy Rose
734753dd7a
refactor: ginify NativeTheme ( #24673 )
2020-07-22 11:01:30 -07:00
Electron Bot
10bf50e1fd
Bump v11.0.0-nightly.20200722
2020-07-22 07:32:34 -07:00
Samuel Attard
5795e59352
build: upload x-compiled arm mksnapshot only on linux ( #24680 )
...
* build: upload x-compiled arm mksnapshot only on linux
* Update upload.py
2020-07-22 01:45:18 -07:00
Electron Bot
2fb14f53fe
chore: bump chromium to 1a093e6a0cb5e72ba78990fe39824 (master) ( #24575 )
2020-07-21 22:34:34 -07:00
Samuel Attard
d4a4269989
perf: do not convert object keys in ctx bridge as they are always primitives ( #24671 )
...
* perf: do not convert object keys in ctx bridge as they are always primitives
* Update shell/renderer/api/electron_api_context_bridge.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-07-21 15:26:16 -07:00
Charles Kerr
cd805544d1
docs: update the URL for catapult's trace viewer. ( #24654 )
...
The old URL points to an archived repo. The updated URL points to the
catapult's landing page for trace-viewer.
2020-07-21 15:00:31 -07:00
Electron Bot
95dd81bd68
Bump v11.0.0-nightly.20200721
2020-07-21 09:40:26 -07:00
Samuel Attard
a76e74ac3f
Revert "chore: add Trop annotations to release notes. ( #24644 )"
...
This reverts commit b43e601b83 .
2020-07-21 09:38:28 -07:00
szTheory
74e7f2773f
doc: fix typos in role values ( #24552 )
2020-07-21 08:59:20 -07:00
Charles Kerr
b43e601b83
chore: add Trop annotations to release notes. ( #24644 )
...
* chore: add Trop annotations to release notes.
Trop annotations are in the form of "(Also in 7.3, 8, 9)"
with links to the sibling branches.
2020-07-21 10:32:36 -05:00
Samuel Attard
589968f9fc
build: add arm64 macOS publish jobs ( #24652 )
...
* build: add arm64 macOS publish jobs
* update ci-release-build to run new arm64 macOS publish jobs
* fixup circleci config validate issues
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-21 07:55:00 -04:00
Cheng Zhao
a12602dbc3
docs: document missing permission types ( #24660 )
2020-07-21 07:49:37 -04:00
Erick Zhao
77eea08a54
docs: update webContents.send link in ipcMain docs ( #24245 )
2020-07-21 14:47:10 +09:00
Kriti Singh
86b441d599
docs: add descriptions for types of permissions ( #23781 )
2020-07-21 14:29:32 +09:00
Paul Frazee
509740c357
fix: Close protocol response streams when aborted ( #24014 )
2020-07-21 09:51:38 +09:00
Shelley Vohr
bcba4baa85
fix: use Node.js isolate setup logic in bindings ( #24579 )
...
* fix: use Node.js isolate setup logic in bindings
* Flags should be more process-specific
* Remove redundant isolate function setting
* Remove old SetFatalErrorHandler call
2020-07-20 12:41:52 -07:00
Jeremy Rose
f0953902db
refactor: clean up Session with CleanedUpAtExit ( #24603 )
2020-07-20 12:13:33 -07:00
Jeremy Rose
e5cb22b7f9
refactor: use gin::Arguments in WebContents ( #24604 )
2020-07-20 11:07:02 -07:00
Samuel Attard
682f78b9a8
test: add more auto updater tests for squirrel.mac ( #24611 )
2020-07-20 09:51:33 -07:00
Electron Bot
8f5280a821
Bump v11.0.0-nightly.20200720
2020-07-20 08:32:04 -07:00
Milan Burda
fa1323d6cd
feat: add child-process-gone event to app ( #24367 )
2020-07-20 10:34:16 -04:00
Samuel Attard
f146a164af
build: add apple silicon support ( #24545 )
...
* chore: add patches to prevent installation of non-arm pip packages
* chore: add patches for apple-silicon
* build: add apple silicon build
* ci: add testing of new arm binary
* chore: remove / update for upstreamed patches
* Skip content tracing on macos on arm
* build: ensure that spec native modules are rebuilt for arm64 on apple-silicon
* chore: fix patches
* chore: fix broken patch
* chore: fix arm64 DCHECK
* build: add MAS arm64 build
* build: disable arm2 tests
* chore: update patches
* build: actually build MAS version of apple silicon app
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-17 09:08:44 -07:00
Electron Bot
6f53457a17
Bump v11.0.0-nightly.20200717
2020-07-17 08:33:03 -07:00
Jeremy Rose
45551f6bf2
refactor: WebContents::From returns pointer ( #24605 )
2020-07-16 16:16:05 -07:00
Samuel Attard
14bbc07f1e
build: free up space on macOS VM in background ( #24607 )
2020-07-16 14:20:42 -07:00
Samuel Attard
3806f4cb64
build: stop the macOS checkout step early if the src cache already exists ( #24606 )
2020-07-16 14:16:02 -07:00
Jeremy Rose
eb7c04c7c4
refactor: stop using isolate() in WebContents ( #24602 )
2020-07-16 14:11:44 -07:00
Samuel Attard
f649e604be
build: tsify asar and move to webpack js2c pipeline ( #24495 )
...
* build: tsify asar and move to webpack js2c pipeline
* build: use the webpack provider for fs-wrapper
2020-07-16 11:38:31 -07:00
Samuel Attard
4c3da359fc
build: convert touch-bar to typescript ( #24511 )
2020-07-16 11:37:38 -07:00
Shelley Vohr
3f37ff87d2
fix: chrome://accessibility not loading ( #24437 )
2020-07-16 10:14:54 -07:00
Electron Bot
24fb498fd3
Bump v11.0.0-nightly.20200716
2020-07-16 08:32:31 -07:00
Samuel Attard
d8be385d4b
fix: do not register the node ESM loader in renderer processes ( #24301 )
2020-07-16 08:09:07 -07:00
Jeremy Rose
e4180b3a3a
refactor: rename InspectableWebContents{Impl =>} ( #24543 )
2020-07-15 11:27:42 -07:00
Yoshietru Nagata
eb550c57d3
docs: fix wrong description in breaking-changes.md ( #24477 )
2020-07-15 09:31:54 -07:00
Electron Bot
cdd5bb1eba
Bump v11.0.0-nightly.20200715
2020-07-15 08:31:25 -07:00
Electron Bot
9c8cdd63fd
chore: bump chromium to ab0f6deadb33bb3a0201cd2d21602 (master) ( #24539 )
...
* chore: bump chromium in DEPS to 0ee01724797ab0f6deadb33bb3a0201cd2d21602
* Update patches
* Separate pdf/pdf_ppapi.h into its own target.
https://chromium-review.googlesource.com/c/chromium/src/+/2292458
* [ozone/x11] Removed DesktopWindowTreeHostX11 and its DnD client.
https://chromium-review.googlesource.com/c/chromium/src/+/2279199
* Move front_end html_entrypoints to data_deps
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2292282
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-14 20:07:42 -07:00
Samuel Attard
3f54f240bd
perf: pass primitives directly through the context bridge, avoids copying ( #24531 )
2020-07-14 18:38:54 -07:00
Samuel Attard
36900df7d9
build: free up more space on the mac VM ( #24549 )
2020-07-14 18:34:38 -07:00
Shelley Vohr
ce87a7e69f
fix: broken --trace-sync-io flag in Node.js ( #24529 )
2020-07-14 10:47:20 -07:00
Shelley Vohr
990a6f8b6c
fix: Node.js cpu and heap profiling ( #24528 )
...
* fix: Node.js cpu and heap profiling
* chore: emable more now-working Node.js specs
2020-07-14 11:56:57 -04:00
Electron Bot
e002f7315d
Bump v11.0.0-nightly.20200714
2020-07-14 08:31:14 -07:00
Electron Bot
8bbdc224ac
chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) ( #24256 )
...
* chore: bump chromium in DEPS to 7fb9778894d73378bff51087ce869ea5aa6e5d5d
* chore: bump chromium in DEPS to 83da426e53d423f0530fc23433b6d2c4d0548442
* update patches
* remove chromeos-only TtsControllerDelegate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2255314
* SharedUserScriptMaster -> SharedUserScriptManager
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2258357
* avoid deprecated DISALLOW_COPY_AND_ASSIGN
https://groups.google.com/a/chromium.org/forum/#!msg/cxx/qwH2hxaEjac/TUKq6eqfCwAJ
* chore: bump chromium in DEPS to b2eaf9ff4e6b03267bf279583ea20ceb2b25e9d0
* update patches
* rename GetHighContrastColorScheme -> GetPlatformHighContrastColorScheme
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2250224
* remove vulkan info collection
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2252818
* add max_xcode_version build var
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2264867
* add missing headers
* chore: bump chromium in DEPS to cded18ca1138f7e8efc904f077ddcca34f0135cf
* update patches
* add empty floc blocklist to BrowserProcessImpl
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240873
* chore: bump chromium in DEPS to f06602226cd80bf677b2ce013a94a2fb7f6ac58d
* chore: bump chromium in DEPS to 747aa4bfc74fc6cf7f08ee72624cd69ae41ae28d
* chore: bump chromium in DEPS to 31c0105e50fcc4e94de33e5c8602c755ace4a32b
* chore: update patches
* Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2264297
* X11 and Ozone: make sure gfx::AcceleratedWidget to be uint32_t
https://chromium-review.googlesource.com/c/chromium/src/+/2260554
* Move zygote from //services/service_manager back to //content
https://chromium-review.googlesource.com/c/chromium/src/+/2252466
* chore: update v8 patches
* [XProto] Remove usage of Shape extension
https://chromium-review.googlesource.com/c/chromium/src/+/2262113
* fixup! add empty floc blocklist to BrowserProcessImpl
* Require macOS 10.15.1 sdk
https://chromium-review.googlesource.com/c/chromium/src/+/2238504
* Use newer Xcode version 11.5.0
* update src cache
* chore: bump chromium in DEPS to 60a9883e35db3f6f91916f0878e88e1849c17b11
* chore: update patches
* Reland "Reland "New toolchain for Windows 10 19041 SDK""
https://chromium-review.googlesource.com/c/chromium/src/+/2255527
* update patches
* Convert raw NonClientFrameViews to unique_ptrs
https://chromium-review.googlesource.com/c/chromium/src/+/2240417
* [printing] Move PrintHostMsg_DidPreviewDocument_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2257035
* chore: bump chromium in DEPS to 12c233c2a85bfa28fb279f390121ba681e52a71b
* chore: update patches
* Removing oppressive language for the directory chrome/browser/apps
https://chromium-review.googlesource.com/c/chromium/src/+/2269822
* Inclusion: rename SpellcheckLanguageBlacklistPolicyHandler
https://chromium-review.googlesource.com/c/chromium/src/+/2267646
* Clean up duplicate WebContents "is fullscreen" functions
https://chromium-review.googlesource.com/c/chromium/src/+/2275148
* Adds icon loading service with sandbox for Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/1987273
* No more Vulkan info collection for UMA on Windows
https://chromium-review.googlesource.com/c/chromium/src/+/2252818
* fix lint
* chore: update buildflag conditions
* chore: bump chromium in DEPS to a837d4c4230ace4f10b2768728f4044b7995dfa5
* update hunspell files
* chore: update patches
* Make content::FileSelectListener a RefCounted
https://chromium-review.googlesource.com/c/chromium/src/+/2275338
* fix build failures on MAS
* update patches
* fixup! Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
* fix build on windows
* Check for GDI exhaustion if window creation fails
https://chromium-review.googlesource.com/c/chromium/src/+/2244124
* chore: bump chromium in DEPS to 2c9b2a73be4ef9ec22d8b6da8e174cb80753f125
* chore: update patches
* Network Service: Move DeleteCookiePredicate into public folder
https://chromium-review.googlesource.com/c/chromium/src/+/2264186
* chore: bump chromium in DEPS to fa2606299bcc02c362528d26b5dcf8c8a0db0735
* chore: bump chromium in DEPS to d9c235d1227204dbae3708daae851573a3566b94
* chore: bump chromium in DEPS to 2f82c284243c035f49a747fd1ead6c44b4b31093
* chore: update patches
* Move creating the LayerTreeSettings into blink.
https://chromium-review.googlesource.com/c/chromium/src/+/2267720
* chore: bump chromium in DEPS to 914112f1d9af9e4974059dc403da62699a55550f
* update patches
* chore: bump chromium in DEPS to e0bc1ffae6393fc543a2da94c88167df75859b36
* refactor: match upstream print preview handling (#24452 )
* update patches
* chore: bump chromium in DEPS to 0881423156abe084164b51ab58ce93a8bd380524
* update patches
* update patches
* give a type to pendingPromise
* chore: bump chromium in DEPS to 11a8c1534b16d130075d378a64187360ba4e7820
* update patches
* 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
https://chromium-review.googlesource.com/c/chromium/src/+/2272609
* update patches
* fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
* fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
* 2264511: Cookies: Update SetCanonicalCookie to return CookieAccessResult
https://chromium-review.googlesource.com/c/chromium/src/+/2264511
* chore: fix setAlwaysOnTop test
The window must be visible for state to be updated properly.
* Revert "Migrate modules/desktop_capture and modules/video_capture to webrtc::Mutex."
https://webrtc-review.googlesource.com/c/src/+/179080
* update patches
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2020-07-13 21:13:34 -04:00
Jeremy Rose
36bd940bc3
refactor: ginify NativeImage ( #24486 )
2020-07-13 14:44:12 -07:00
Shelley Vohr
f0a0e10bd1
fix: use default NSVisualEffectState ( #24471 )
2020-07-13 12:40:37 -07:00
Samuel Attard
b02748e607
build: ensure that electron/lib/browser can only use browser or common imports ( #24512 )
...
* build: ensure that electron/lib/browser can only use browser or common imports
* chore: fix linting
2020-07-13 09:58:49 -07:00
Jeremy Rose
1719f073c1
chore: remove some unused code in the net module ( #24488 )
2020-07-13 09:36:20 -07:00
Shelley Vohr
91cdedfea9
fix: default to simplex for printing DuplexMode ( #24489 )
2020-07-13 11:31:39 -04:00
Samuel Attard
cbb47570bd
build: run the JS linter on the build folder ( #24513 )
2020-07-10 14:48:50 -07:00
Sam Saccone
e18f508e66
docs: fix incorrect formatting in browser docs. ( #24473 )
...
Address incorrect typing for isEnabled. The root cause of this was due
to missing backticks which caused the docs parser to think that the
return type of the `isEnabled` function was null, where it was supposed
to be a boolean type.
The side effect of this was that the generated typescript typings were
incorrect for this function.
Fixes #24409
2020-07-10 13:57:29 -07:00
Shelley Vohr
6c4017ff45
fix: always callback error with invalid print settings ( #24476 )
2020-07-10 09:42:22 -07:00
Samuel Attard
5737fda154
build: tsify worker/init ( #24497 )
2020-07-09 20:32:37 -07:00
Samuel Attard
8847517798
build: tsify isolated_renderer/init ( #24496 )
2020-07-09 20:32:26 -07:00
Samuel Attard
c9aa68e32c
build: update octicons ( #24492 )
2020-07-09 18:12:18 -07:00
Samuel Attard
42f716bbc6
build: update in-range dependencies ( #24480 )
2020-07-09 16:32:21 -07:00
Samuel Attard
ef9addcb92
build: fix linting issue in spec-main
2020-07-09 11:25:43 -07:00
Samuel Attard
dcb56923cb
build: update @types packages and fs-extra ( #24475 )
2020-07-09 10:57:50 -07:00
Samuel Attard
eb6616e4e9
build: update to standard 14 ( #24479 )
2020-07-09 10:18:49 -07:00
Jeremy Rose
9bd0fc5348
refactor: ginify BrowserView ( #23578 )
2020-07-09 08:48:39 -07:00
Electron Bot
66d65a6d35
Bump v11.0.0-nightly.20200709
2020-07-09 08:32:15 -07:00
Samuel Attard
4305707ca8
build: update typescript parser deps ( #24474 )
2020-07-09 01:12:23 -07:00
Samuel Attard
8d25847318
build: update webpack / TS build deps ( #24460 )
...
* build: update webpack / TS build deps
* chore: fix JS inferred types
2020-07-09 01:05:16 -07:00
Samuel Attard
ad16e6c647
build: update linting deps ( #24461 )
2020-07-08 21:19:49 -07:00
Jeremy Rose
80a6adb597
fix: coerce executeJavaScript arguments ( #24396 )
2020-07-08 16:13:50 -07:00
Robo
7dd365784d
fix: clipboard.readBuffer returning empty value ( #24454 )
2020-07-08 15:02:42 -07:00
Samuel Attard
e59370f541
build: update ts defs generator ( #24459 )
2020-07-08 13:08:31 -07:00
Shelley Vohr
6cfbee9f34
fix: uv_walk crash on web worker close ( #24436 )
...
* fix: uv_walk crash on web worker close
* Use DCHECK_EQ
2020-07-08 11:00:43 -07:00
Electron Bot
2aeaca6f7b
Bump v11.0.0-nightly.20200708
2020-07-08 08:32:47 -07:00
Shelley Vohr
cadc142d05
fix: use try/catch for base class converter error ( #24246 )
2020-07-07 14:18:43 -07:00
Shelley Vohr
446100cdfe
chore: don't duplicate devtools constants ( #24440 )
2020-07-07 17:04:23 -04:00
Milan Burda
7fd96cd188
feat: add name to app.getAppMetrics() output ( #24359 )
2020-07-07 14:00:45 -04:00
Electron Bot
25a36a43c1
Bump v11.0.0-nightly.20200707
2020-07-07 08:31:26 -07:00
jieniu$
b0be3fbb7f
docs: fix typos in doc/tutorial/electron-versioning.md ( #24362 )
2020-07-06 16:31:24 -04:00
Jeremy Rose
71a7e1b2e3
chore: tsify menu ( #24358 )
2020-07-06 13:24:54 -07:00
Samuel Attard
2a3437e5b5
build: use python3 for electron hooks ( #24435 )
2020-07-06 13:12:23 -07:00
Andy Dill
cf74ee3d83
fix: use RenderViewReady to call InstallTransparency ( #24390 )
...
this fixes a crash with transparent OSR when GPU acceleration is
disabled
2020-07-06 11:57:14 -07:00
Samuel Attard
99079c3bc7
build: fix build with context snapshot disabled ( #24433 )
2020-07-06 11:11:48 -07:00
Jeremy Rose
1f23807271
chore: tsify web-contents ( #24325 )
2020-07-06 10:50:03 -07:00
Milan Burda
82af855579
chore: add missing _Deprecated_ to 'renderer-process-crashed' on app ( #24410 )
2020-07-06 10:09:42 -07:00
Electron Bot
f6e21d59e7
Bump v11.0.0-nightly.20200706
2020-07-06 08:32:59 -07:00
Shelley Vohr
4398ecb6c8
chore: use node_bindings loop for clarity ( #24391 )
2020-07-03 09:19:27 -07:00
Shelley Vohr
9106d0c6d5
fix: intermittent 100% CPU usage on macOS ( #24394 )
2020-07-03 09:18:51 -07:00
Electron Bot
92d9de93a4
Bump v11.0.0-nightly.20200703
2020-07-03 08:32:36 -07:00
Shelley Vohr
fd0eaf4507
fix: remove same-tag notifications before showing new ones ( #24302 )
2020-07-02 23:04:32 -07:00
Samuel Attard
2a6d6d6ea7
build: build squirrel and its dependencies from source ( #24318 )
...
* build: build squirrel and its dependencies from source
* chore: do not use fork for squirrel.mac
* build: do not ship headers with dependency frameworks
* Update BUILD.gn
* chore: s/striped/stripped
* chore: update as per feedback
* chore: use ARC and fix build errors
* chore: fix ARC Squirrel self retainer
2020-07-02 19:42:40 -07:00
Robo
d330c6f9fe
feat: expose sessionId in debugger module ( #24170 )
2020-07-02 13:04:20 -07:00
Electron Bot
82ae18dd1c
Bump v11.0.0-nightly.20200702
2020-07-02 08:36:33 -07:00
Electron Bot
c157311373
chore: bump node to v12.18.2 (master) ( #24381 )
...
* chore: bump node in DEPS to v12.18.2
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-07-01 15:39:35 -04:00
Jeremy Rose
354ea00f17
chore: tsify auto-updater ( #24328 )
2020-07-01 12:27:12 -07:00
Milan Burda
4c449fbc75
test: convert more tests to async / await ( #24373 )
2020-07-01 15:14:38 -04:00
Shelley Vohr
3cb833821a
docs: add hardened runtime entitlement info ( #24369 )
2020-07-01 12:11:09 -07:00
Shelley Vohr
a69a655386
chore: remove upstreamed BoringSSL patch ( #24363 )
2020-07-01 09:27:14 -07:00
Electron Bot
dc3905cef4
Bump v11.0.0-nightly.20200701
2020-07-01 08:31:42 -07:00
John Kleinschmidt
22e64dc328
ci: update timeout on breakpad generation to 30 minutes ( #24382 )
2020-07-01 11:06:45 -04:00
Jeremy Rose
6bd30bf09e
chore: tsify dialog ( #24324 )
2020-06-30 15:51:44 -07:00
Milan Burda
c6db47182a
test: make sure tests fail properly instead of timing out ( #24316 )
2020-07-01 00:10:36 +02:00
Jeremy Rose
451086d7f2
chore: tsify extensions shim ( #24355 )
2020-06-30 12:49:08 -07:00
George Xu
ee61eb9aa4
feat: add app.getApplicationInfoForProtocol API ( #24112 )
...
* pre merge
* windows changes
* added tests
* clean up
* more cleanup
* lint error
* windows 7 support
* added windows 7 implementation
* code review
* lint and code review
* code review
* app.md merge conflict
* merge conflict app.md
accidently deleted code block
* 'lint'
* mis-moved getapplicationinfoforprotocol() into anonymous namespace
* fix test
* lint
* code review
2020-06-30 12:22:30 -07:00
Electron Bot
2cbd091e89
Bump v11.0.0-nightly.20200630
2020-06-30 08:33:54 -07:00
Shelley Vohr
af4876296c
fix: macOS modal focus ( #24286 )
2020-06-29 13:15:28 -07:00
Jeremy Rose
d9d07c65b2
chore: tsify net-log ( #24322 )
...
* chore: tsify net-log
* comment
* gn
2020-06-29 09:21:32 -07:00
Electron Bot
6e069a7df8
Bump v11.0.0-nightly.20200629
2020-06-29 08:31:45 -07:00
Cheng Zhao
ef3579eae3
refactor: rename TopLevelWindow to BaseWindow ( #24305 )
2020-06-29 16:06:20 +09:00
Jeremy Rose
80e5007c47
chore: tsify browser-window ( #24326 )
...
* chore: tsify browser-window
* fix focus
* also tsify top-level-window
2020-06-29 10:22:55 +09:00
Milan Burda
1c49e4e376
test: use delay() helper ( #24321 )
2020-06-26 22:59:54 +02:00
Electron Bot
8eb198bab4
Bump v11.0.0-nightly.20200626
2020-06-26 08:32:52 -07:00
Samuel Attard
16a3f41fd3
chore: add deprecation warning for the default of contextIsolation ( #23507 )
...
* chore: add deprecation warning for the default of contextIsolation
* chore: add to breaking changes
* Update docs/breaking-changes.md
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
* chore: fix specs on windows
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-06-25 10:55:17 -07:00
Jeremy Rose
605e50269e
chore: convert rpc-server to ts ( #24271 )
2020-06-25 10:19:08 -07:00
Milan Burda
9b4572de44
feat: implement systemPreferences.getMediaAccessStatus() on Windows ( #24275 )
2020-06-25 09:47:50 -07:00
Electron Bot
5b80556da2
Bump v11.0.0-nightly.20200625
2020-06-25 08:31:34 -07:00
Shelley Vohr
4290555a0d
feat: support suspend/resume on macOS ( #24254 )
2020-06-24 10:17:07 -07:00
Electron Bot
1429a8961c
Bump v11.0.0-nightly.20200624
2020-06-24 08:32:42 -07:00
Shelley Vohr
46f58b28c3
fix: frameless vibrant modals shouldn't bezel ( #24250 )
2020-06-24 07:30:49 -07:00
Shelley Vohr
6369748a2a
feat: support suspend/resume on Windows ( #24251 )
2020-06-24 07:28:29 -07:00
Samuel Attard
abf2e9c93d
chore: expose electrons built in modules in the REPL along with nodes ( #24249 )
2020-06-24 00:53:46 -07:00
Samuel Attard
b2b5a6a3de
chore: minify internal JS code ( #24252 )
2020-06-23 14:57:08 -07:00
Shelley Vohr
acb64a2d3c
fix: only notify mouse-up on mouse-up ( #24240 )
2020-06-23 08:37:13 -07:00
Electron Bot
3853fd3e99
Bump v11.0.0-nightly.20200623
2020-06-23 08:32:44 -07:00
Shelley Vohr
659e79fc08
refactor: prevent consistent early exception ( #24191 )
...
* refactor: prevent consistent early exception
* Use _linkedBinding where possible
* Remove dead electronBinding
2020-06-22 20:32:45 -07:00
Shelley Vohr
4c77fe318d
refactor: improve the REPL ( #24204 )
...
This PR improves the Electron REPL experience. It adds a welcome message to the REPL to let users know what versions of Node.js and Electron they're running, as well as overriding the completer function in the REPL to preload and add tab autocompletion for Electron's own modules.
2020-06-22 19:03:19 -07:00
Electron Bot
72a089262e
chore: bump chromium to a84d34e372b8fb5e9a94b1b4b447e (master) ( #23908 )
...
* chore: bump chromium in DEPS to a7249f73ae05d456c04487ef1693325f719556dd
* chore: bump chromium in DEPS to 202466fa40b58f0bb9c9a76a037d1c50154c099e
* chore: bump chromium in DEPS to 2dd1b25c8d794b50fb0dd911e0c4e909ff39f145
* Update patches
* update patches
* Revert "[printing] Mojofy PrintHostMsg_CheckForCancel"
https://chromium-review.googlesource.com/c/chromium/src/+/2226002
* chore: bump chromium in DEPS to 8c1542e7dd36854fdf4abd1a8021eeb65a6a2e2b
* chore: bump chromium in DEPS to 078bc6d796334fb403acd8975b99d1c8ecd028e8
* chore: bump chromium in DEPS to d96e9f16ae852ec9dbd15bf17df3d440402413bb
* update patches
* chore: update patches
* Use ExtensionSystem::is_ready() instead of ExtensionService::is_ready()
https://chromium-review.googlesource.com/c/chromium/src/+/2207499
* Remove WebImeTextSpan
https://chromium-review.googlesource.com/c/chromium/src/+/2225240
* Remove PDFAnnotations flag altogether.
https://chromium-review.googlesource.com/c/chromium/src/+/2229317
* Rework find-from-selection so it's synchronous -- fixes flaky tests
https://chromium-review.googlesource.com/c/chromium/src/+/2181570
* fixup! Revert "[printing] Mojofy PrintHostMsg_CheckForCancel"
* chore: bump chromium in DEPS to a8a280835830c65145ed8573a9a09f36d3920418
* update sysroots
* update patches
* update patches
* Take RFH as a parameter for DidUpdateFavicon/ManifestURL
https://chromium-review.googlesource.com/c/chromium/src/+/2224745
* chore: bump chromium in DEPS to b6149cb5a5e32caf8eab67b97ef3072b72521ca8
* Update patches
* Rename net::cookie_util::StripStatuses to StripAccessResults
https://chromium-review.googlesource.com/c/chromium/src/+/2212697
* use net::CookieAccessResultList instead of net::CookieAccessResultList
* fix mas_no_private_api patch
https://chromium-review.googlesource.com/c/chromium/src/+/2230281
* chore: bump chromium in DEPS to a27feee1643d952e48f77c92d8c03aedea14b720
* update patches
* fix: add new navigation state REUSE_SITE_INSTANCE
To fix the new set of state checks added in
https://chromium-review.googlesource.com/c/chromium/src/+/2215141
* chore: bump chromium in DEPS to ff4559a4c13d20888202474e4ab9917dbdad8a9a
* update patches
* Cleanup usages of old mojo types and remove unused code
https://chromium-review.googlesource.com/c/chromium/src/+/2235699
* chore: bump chromium in DEPS to 05279845f76eb22900a8b0d1a11d4fd339a8e53b
* chore: bump chromium in DEPS to 821558279767cffec90e3b5b947865f90089fed3
* chore: bump chromium in DEPS to 1aef04e6486be337d3dd820b2d64d6320a1b9c13
* chore: bump chromium in DEPS to dc86386e8fdd796a0f7577e91e42a7f8b7e9bc78
* chore: bump chromium in DEPS to 64f2360794f14643764092ba3e58e2ed8f9fee12
* chore: update patches
* refactor: MessageLoop, you are terminated \o/
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2246173
* refactor: plumb DownloadSchedule to DownloadItem
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2242202
* chore: fix variable typo in IPC
* chore: s/BindPipeAndPassReceiver/BindNewPipeAndPassReceiver
* chore: update patches
* chore: XEvent becomes x11::Event
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240355
* fixup! refactor: MessageLoop, you are terminated \o/
* fixup! chore: XEvent becomes x11::Event
* build: update v8 headers
* chore: fix windows build
* chore: disable SameSite-by-default changes
https://chromium-review.googlesource.com/c/chromium/src/+/2231445
* update printing.patch
* chore: bump chromium DEPS to 9ae03ef8f7d4f6ac663f725bcfe70311987652f3
* Convert WidgetHostMsg_SelectionBoundsChanged/TextInputStateChanged
https://chromium-review.googlesource.com/c/chromium/src/+/2243531
* chore: update v8 patches
* [XProto] Replace usages of XID and ::Window with x11::Window
https://chromium-review.googlesource.com/c/chromium/src/+/2249389
* Update VideoFrameMetadata to use base::Optionals
https://chromium-review.googlesource.com/c/chromium/src/+/2231706
https://chromium-review.googlesource.com/c/chromium/src/+/2238361
* --disable-dev-shm-usage for gpu process crash
* [v8] Allow for 4GB TypedArrays
https://chromium-review.googlesource.com/c/v8/v8/+/2249668
* update lib_src_switch_buffer_kmaxlength_to_size_t.patch
* disable app.getGPUInfo spec on linux
* update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-22 10:35:10 -07:00
Shelley Vohr
61a05caa78
refactor: remove uses of v8::Isolate::GetCurrent ( #24179 )
2020-06-22 09:35:24 -07:00
Electron Bot
563a8c83ea
Bump v11.0.0-nightly.20200622
2020-06-22 08:33:12 -07:00
Shelley Vohr
046a05944a
fix: emit click events with tray context menu ( #24200 )
2020-06-22 08:24:47 -07:00
Milan Burda
0629c6c2ea
fix: isTrustedSender() in test-app ( #24214 )
2020-06-22 14:14:20 +02:00
Electron Bot
48d1a70b52
Bump v11.0.0-nightly.20200619
2020-06-19 08:31:56 -07:00
Electron Bot
5c6d8c2b7d
chore: bump node to v12.18.1 (master) ( #24199 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-18 17:37:23 -07:00
Electron Bot
0f44682be0
Bump v11.0.0-nightly.20200618
2020-06-18 08:32:15 -07:00
Cheng Zhao
2376c45443
fix: do not use CONTEXT_MENU flag for tray menu (reland) ( #24097 )
...
* fix: do not use CONTEXT_MENU flag for tray menu
* fix: menu window should not appear in taskbar
2020-06-17 21:21:43 -07:00
Electron Bot
b665eb6d43
chore: bump node to v12.18.0 (master) ( #23789 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-17 15:57:12 -07:00
Elena Topaka
4e66f1b2c6
fix: use correct 'pasteandmatchstyle' shortcut on macOS ( #24153 )
2020-06-17 23:13:46 +02:00
Shelley Vohr
a54fcde3f4
docs: fix MenuItem click handler type ( #24147 )
2020-06-17 10:34:25 -07:00
Robo
7cc780d077
fix: let Node.js perform microtask checkpoint in the main process ( #24131 )
...
* fix: let Node.js perform microtask checkpoint in the main process
* fix: don't specify v8::MicrotasksScope for explicit policy
* fix: remove checkpoint from some call-sites
We already perform checkpoint at the end of a task,
either through MicrotaskRunner or through NodeBindings.
There isn't a need to add them again when calling into JS
except when dealing with promises.
* fix: remove checkpoint from some call-sites
We already perform checkpoint at the end of a task,
either through MicrotaskRunner or through NodeBindings.
There isn't a need to add them again when calling into JS
except when dealing with promises.
* fix incorrect specs
* default constructor arguments are considered for explicit mark
* add regression spec
2020-06-17 10:08:10 -07:00
Electron Bot
59f9d75324
Bump v11.0.0-nightly.20200617
2020-06-17 08:31:29 -07:00
Milan Burda
cb6476fd12
chore: cleanup unused WebContents::DereferenceRemoteJSObject() ( #24167 )
2020-06-17 16:50:21 +02:00
Jeremy Rose
e1e73fa5f5
refactor: use WeakRef on main process side of remote ( #24115 )
2020-06-16 14:34:08 -07:00
Samuel Attard
09c0ee8f87
build: remove dead symlink from MAS build ( #24158 )
...
* build: remove dead symlink from MAS build
* chore: new out cache
* build: fixup gn check
* Update node_main.cc
* chore: fix lint
2020-06-16 14:19:57 -07:00
Lukas Weber
cf284991d8
feat: Add did-become-active event on mac ( #23872 )
...
Co-authored-by: Lukas Weber <luweber@microsoft.com >
2020-06-16 10:03:41 -07:00
Electron Bot
f9fe8a67b9
Bump v11.0.0-nightly.20200616
2020-06-16 08:33:19 -07:00
Samuel Attard
7bf0af7d96
Revert "build: remove dead symlink from MAS build ( #23831 )" ( #24146 )
...
This reverts commit 7a216a8fab .
2020-06-15 23:42:18 -07:00
Samuel Attard
7a216a8fab
build: remove dead symlink from MAS build ( #23831 )
...
* build: remove dead symlink from MAS build
* chore: new out cache
* fix gn check errors
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-06-16 14:25:21 +09:00
Milan Burda
673169a7ba
chore: remove unused deprecate.fnToProperty() ( #24069 )
2020-06-15 18:59:04 -07:00
Shelley Vohr
9c7d73c6d6
fix: emit 'shutdown' outside -[NSApplication terminate:] ( #24111 )
2020-06-15 18:58:28 -07:00
Samuel Attard
0b830ba9e5
build: retry external binary downloads a few times ( #24110 )
2020-06-15 14:31:29 -07:00
Jeremy Rose
c0182bca15
chore: remove test usages of createIDWeakMap ( #24116 )
2020-06-15 13:56:51 -07:00
Electron Bot
8412aae231
Bump v11.0.0-nightly.20200615
2020-06-15 08:31:53 -07:00
Shelley Vohr
b9ac334efc
fix: showing certificate dialog with no window ( #24091 )
2020-06-12 22:18:09 -07:00
Jeremy Rose
379bb174e9
refactor: use WeakRef on renderer side of remote ( #24037 )
2020-06-12 15:50:03 -07:00
Jeremy Rose
178e46cd23
test: add test for gc race in remote ( #24087 )
2020-06-12 14:19:20 -07:00
Shelley Vohr
66744ecb4d
fix: fs.readdir should support withFileTypes ( #24062 )
2020-06-12 08:32:59 -07:00
Electron Bot
a7599a0838
Bump v11.0.0-nightly.20200612
2020-06-12 08:32:36 -07:00
Cheng Zhao
d5f642938d
fix: handle non client pointer events from pen on Win10 ( #24042 )
2020-06-12 09:26:16 -05:00
Jeremy Rose
7274467f73
refactor: tsify remote ( #24034 )
2020-06-11 11:36:03 -07:00
Jeremy Rose
7c7ea141f0
test: extract defer helper ( #24019 )
2020-06-11 11:35:50 -07:00
Samuel Attard
c66282a460
Revert "fix: do not use CONTEXT_MENU flag for tray menu ( #23843 )" ( #24076 )
...
This reverts commit b809d104d0 .
2020-06-11 11:27:57 -07:00
Jeremy Rose
78fe545d18
refactor: remove renderer-side refcount in remote ( #24054 )
2020-06-11 10:22:28 -07:00
Paul Frazee
81d09bea44
fix: correctly handle nexttick scheduling in stream reads ( #24022 )
2020-06-11 09:55:59 -07:00
Electron Bot
130b176796
Bump v11.0.0-nightly.20200611
2020-06-11 08:31:16 -07:00
Andrea Brancaleoni
2e2e9a3702
ci: use call instead of cmd /C ( #23985 )
...
Since we want to import the environment change from RefreshEnv.cmd
we also want to share the same execution context of the
caller.
2020-06-11 10:05:03 -04:00
Eryk Rakowski
04be1ac4a1
fix: assign session to remote webContents ( #23989 )
...
* fix: assign session to remote webContents
* fix: test name
2020-06-11 12:57:51 +09:00
Benjamin Sova
a33c10c3ed
docs: fix explanation of darwin auto-quit prevention ( #24003 )
2020-06-11 11:08:27 +09:00
Gellert Hegyi
ce042184de
fix: Add .paks for media-internals and webrtc-internals pages ( #24010 )
...
* fix: adds paks for media-internals and webrtc-internals pages
* adds tests
2020-06-11 11:07:49 +09:00
Electron Bot
b1574f9e59
Bump v11.0.0-nightly.20200610
2020-06-10 08:32:15 -07:00
Felix Rieseberg
9554d063a5
chore: backport advapi32 libuv fix ( #24030 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-09 14:26:33 -07:00
Felix Rieseberg
3eade2c228
fix: Allow windows behind macOS elements if frame = false ( #23976 )
2020-06-09 11:52:14 -07:00
Jeremy Rose
71e2b7151c
test: extract RemoteControlApp to spec-helpers ( #24020 )
2020-06-09 11:42:53 -07:00
Jeremy Rose
d08cfce6cb
chore: use more inclusive language in a few places ( #24023 )
...
* chore: use more inclusive language in lint script
* whitelist -> allowed_extension_ids in plugin_utils
* some other places
2020-06-09 11:29:29 -07:00
dependabot[bot]
b2ef299efc
build(deps): bump minimist from 1.2.0 to 1.2.5 in /spec-main ( #24026 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.0 to 1.2.5.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 11:29:15 -07:00
Electron Bot
fc8b49485a
Bump v11.0.0-nightly.20200609
2020-06-09 08:32:03 -07:00
Evgeny
aa32fbf1d6
docs: update setAboutPanelOptions iconPath description ( #23998 )
...
* Updated doc setAboutPanelOptions iconPath #23833
* Simplify docs
2020-06-08 17:46:25 -07:00
Charles Kerr
980e592271
chore: ensure release notes always come from Clerk ( #23777 )
...
* chore: ensure release notes always come from Clerk
Now with tests!
* chore: move sinon devDependency into `spec-main`
* refactor: tweak note-spec variable for readability
2020-06-08 11:39:44 -07:00
Paul Frazee
c6c022dc46
feat: add {stream} opt to custom protocol registry to configure media player ( #22955 )
2020-06-08 09:49:36 -07:00
Islam ElHakmi
261f385b5e
docs: mention build-tools in the build instructions ( #23909 )
2020-06-08 08:59:19 -07:00
Electron Bot
6e710a20a6
Bump v11.0.0-nightly.20200608
2020-06-08 08:31:59 -07:00
Alexey Kuzmin
46c9e15182
fix: volume key globalShortcut deregistration ( #23984 )
2020-06-08 14:46:00 +02:00
Jeremy Rose
5185501b85
test: reduce flakiness of post-context-release ipc test ( #23992 )
2020-06-05 16:51:42 -07:00
Shelley Vohr
27d629abb9
fix: add missing isComposing KeyboardEvent property ( #23971 )
2020-06-05 15:18:20 -07:00
Shelley Vohr
9d960e29eb
build: check patches on update ( #23103 )
2020-06-04 17:43:28 -07:00
Jeremy Apthorp
a1c55a13e1
fix: throw instead of crash when using ipcRenderer after context released ( #23917 )
2020-06-04 16:25:25 -07:00
Robo
491caf59c1
chore: update tracking bug ( #23959 )
2020-06-04 10:56:54 -07:00
Shelley Vohr
2d47daa8c4
fix: missing HandleScopes in touch bar ( #23936 )
2020-06-04 10:11:28 -07:00
Electron Bot
25e4a9431c
Bump v11.0.0-nightly.20200604
2020-06-04 08:32:18 -07:00
Milan Burda
3fa4299939
fix: use acceptLanguages argument in session.setUserAgent() ( #23944 )
2020-06-04 13:05:37 +02:00
Cheng Zhao
90caa5eac9
docs: remove confusing notes on Node ( #23929 )
...
* docs: remove confusing notes on Node
* Update docs/tutorial/first-app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-06-03 20:00:52 -07:00
Samuel Attard
b1adbf7fd7
build: fix filenames autogen with new BUILDFLAG syntax ( #23952 )
2020-06-03 15:46:59 -07:00
Cheng Zhao
2fadb73032
fix: destroy GetSize callback at last ( #23930 )
2020-06-03 11:04:30 -07:00
Shelley Vohr
ac81a39e09
fix: compensate for lazy-loaded circular deps ( #23890 )
2020-06-03 10:29:08 -07:00
Electron Bot
83247c48c3
Bump v11.0.0-nightly.20200603
2020-06-03 08:31:46 -07:00
Cheng Zhao
5de6adfb84
test: load page with some content when testing extension ( #23901 )
...
* test: load page with some content when testing extension
* test: use dom-ready to wait for page loaded with extension
2020-06-03 16:56:28 +09:00
Samuel Attard
d8594f7a78
fix: restore original GTK/appindicator implementation of tray icons ( #23674 )
2020-06-02 17:00:20 -07:00
Samuel Attard
087567655a
fix: correctly support the --inspect-brk-node flag ( #23903 )
2020-06-02 15:02:54 -07:00
Robo
512e1541c6
fix: default to NTLM v2 in the network service for POSIX platforms ( #23846 )
...
* fix: default to NTLM v2 in the network service
* chore: update patch details
2020-06-02 12:58:00 -07:00
Samuel Attard
c36981da8b
docs: default of allowRendererProcessReuse is true ( #23888 )
2020-06-02 11:09:20 -07:00
Samuel Attard
d3fa5ed1e8
docs: move protocol-ns to protocol.md ( #23883 )
...
* docs: move protocol-ns to protocol.md
* chore: fix up tests and implement missing pieces required for tests
2020-06-02 09:46:18 -07:00
Electron Bot
edc5050a2e
Bump v11.0.0-nightly.20200602
2020-06-02 08:32:11 -07:00
Jeremy Apthorp
a5efc387c7
chore: note quiet period in PR template. ( #23889 )
2020-06-02 09:36:09 -04:00
Samuel Attard
0062b126b4
chore: update patches ( #23902 )
2020-06-02 03:34:52 -07:00
Samuel Attard
969f46a48f
chore: remove IPC hiddens ( #23720 )
2020-06-02 02:33:06 -07:00
Samuel Attard
c6f4573a13
perf: lazily load some modules in sandbox mode ( #23856 )
2020-06-02 02:32:32 -07:00
Biru Mohanathas
95037a7d2a
fix: Make the --disable-color-correct-rendering switch work again ( #23787 )
...
This regressed once again in Electron 8 due to Chromium changes.
Test Plan:
- Confirm that test case from https://github.com/electron/electron/pull/15898#issuecomment-443191770 now works
Notes: Fix disabling color correct rendering with `--disable-color-correct-rendering`
2020-06-02 16:31:33 +09:00
Wojciech Krol
5218a6e6ab
fix: notify URLLoaderClient about redirect inside intercepted protocol's handler ( #23742 )
...
* fix: notify URLLoaderClient about redirect inside intercepted protocol's handler
* fix: update new_request's site_for_coookies
* fix: Unound client, so it an be passed to sub-methods
2020-06-02 14:20:34 +09:00
Cheng Zhao
5918dd6e65
test: wait for beforeunload handler to be installed ( #23874 )
2020-06-02 11:32:39 +09:00
Samuel Attard
fbf397e15d
fix: add patch to prevent crash during frame swap with ctx isolation enabled ( #23684 )
2020-06-01 18:02:30 -07:00
Samuel Attard
066b8c5ab3
fix: expose electron/common and electron/renderer modules in sandboxed preloads ( #23857 )
2020-06-01 17:37:02 -07:00
Samuel Attard
634ab45095
build: make electron renderer init scripts profilable ( #23855 )
...
The devtools profiler is not attached at the point we run out init scripts (or our apps preload scripts), we do not really want to change when we run these init scripts but for when a dev is doing performance work it makes sense to give them an option to make the devtools profiler actually work on both our init scripts and their preload script. This PR adds that logic behind an environment variable ELECTRON_PROFILE_INIT_SCRIPTS.
2020-06-01 16:08:34 -07:00
Electron Bot
a4de915b74
chore: bump chromium to d66c2e32380bf5d1eb5e1fe37faef (master) ( #23791 )
...
* chore: bump chromium in DEPS to db7d7b3e7cb2bc925f2abfde526280cfdfc21a41
* Update patches
* chore: bump chromium in DEPS to 5613e1b99a44fcbe22f3910f803ca76903a77ec1
* Update patches
* Network service: Remove primary_network_context bool.
https://chromium-review.googlesource.com/c/chromium/src/+/2204678
* WebContentsObserver now implements OnRendererResponsive
https://chromium-review.googlesource.com/c/chromium/src/+/2211066
* update patches
* Fixup printing patch
* chore: bump chromium in DEPS to e387b972cdd7160c416fa6c64a724e2258aa0218
* update patches
* [printing] Move PrintHostMsg_DidPrintContent_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2212110
* [XProto] Move items from ::x11::XProto to ::x11
https://chromium-review.googlesource.com/c/chromium/src/+/2218476
* revert Add IChromeAccessible
This was added in https://chromium-review.googlesource.com/c/chromium/src/+/2206224 but it breaks WOA builds because third_party/win_build_output/midl/ui/accessibility/platform/arm64 does not exist. The link above says that the new interface is behind a feature flag which is disabled by default so it is safe to remove for now.
* rebaseline ichromeaccessible for Windows arm64
This patch will not be needed once we get the next roll.
* Update to 1b9e01844e8bf1aaafc4a52c0c62af7f56d9637b to get arm64 fix
* update patches
* chore: bump chromium in DEPS to 096aefa04092ea00f7b68d8d19345883f20db3c3
* chore: bump chromium in DEPS to a524a45ffd1d6fd46a7a86138fe2b22df5b6651a
* chore: update patches
* Window Placement: Gate cross-screen fullscreen behavior on permission
https://chromium-review.googlesource.com/c/chromium/src/+/2203268
* chore: add spec for https://crbug.com/1085836
* chore: bump chromium in DEPS to ff6c4f4b826d66c2e32380bf5d1eb5e1fe37faef
* update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-06-01 16:34:34 -04:00
Electron Bot
4a551bde16
Bump v11.0.0-nightly.20200601
2020-06-01 08:32:05 -07:00
Cheng Zhao
b809d104d0
fix: do not use CONTEXT_MENU flag for tray menu ( #23843 )
2020-06-01 09:57:25 -05:00
Alexey Kuzmin
4133c71105
build: fix for "enable_desktop_capturer = false" ( #23864 )
2020-06-01 10:13:47 -04:00
Robo
f67aff2704
feat: add V8CacheOptions webpreference ( #23842 )
...
* feat: add V8CacheOptions webpreference
* address review comments
2020-05-31 20:09:23 -07:00
Cheng Zhao
aa8d81511f
fix: MakeAbsoluteFilePath is a blocking call ( #23840 )
2020-05-30 10:01:55 -07:00
Samuel Attard
236c1334e3
chore: tsify sandboxed init ( #23719 )
2020-05-30 02:56:54 -07:00
DeeDeeG
9f21d09dfd
docs: remove upgrading-node.md ( #23802 )
2020-05-29 12:12:35 -07:00
Electron Bot
9dec16d81e
Bump v11.0.0-nightly.20200529
2020-05-29 08:31:10 -07:00
John Kleinschmidt
b086197968
fix: use system installed objcopy to copy debug symbols ( #23835 )
2020-05-29 08:37:02 -04:00
Shelley Vohr
e8ea007104
fix: ensure nativeImage serialization main->renderer ( #23759 )
2020-05-28 09:43:15 -07:00
Electron Bot
e5da2caa34
Bump v11.0.0-nightly.20200528
2020-05-28 08:32:13 -07:00
Cheng Zhao
a1edf5cf94
Revert "fix: trigger activate event when app is activated via app switcher ( #23727 )" ( #23818 )
...
This reverts commit 2bc85b2579 .
2020-05-28 09:53:33 -04:00
Shelley Vohr
6516110c70
fix: volume key globalShortcut registration ( #23782 )
2020-05-28 08:56:48 -04:00
Alexey Kuzmin
3a7775fa73
test: refactor how spec files are collected ( #23774 )
2020-05-28 00:21:02 +02:00
Shelley Vohr
5d88d0ee74
fix: only bezel frameless windows ( #23779 )
2020-05-27 14:07:24 -07:00
Shelley Vohr
7b0a84477a
fix: weakly reference MenuModel from MenuController ( #23778 )
2020-05-27 13:54:52 -07:00
Shelley Vohr
f78504515b
fix: handle asynchronous URL loading in bw proxy ( #23776 )
2020-05-27 13:50:54 -07:00
Cheng Zhao
ca6a415626
fix: pass correct buffer length ( #23785 )
2020-05-27 10:50:01 -07:00
Electron Bot
f445e0a797
Bump v11.0.0-nightly.20200527
2020-05-27 08:32:31 -07:00
Jeremy Judeaux
204f001c5d
feat: add desktopCapturer.getMediaSourceIdForWebContents() to get stream source id from web contents ( #22701 )
...
* feat: add desktopCapturer.getMediaSourceIdForWebContents() to get stream source id from web contents
* Cleanup from #22701 PR comments
2020-05-26 16:34:24 -04:00
Electron Bot
dc72f74020
chore: bump chromium to 580fe983e138952553cd6af11ee8b (master) ( #23379 )
...
* chore: bump chromium in DEPS to 5ce64b91b4d6a78c97480059f15ff6469fc0918e
* chore: bump chromium in DEPS to e74c73d0000f81b3f40a513176c8d024bba57d28
* chore: bump chromium in DEPS to 501640e650d4657ba63db65fa257e4a899168de7
* chore: bump chromium in DEPS to 00db20e1bc3d77706723a87ada3c1c647a1c37b7
* chore: update patches
* refactor: AddNewContents now takes a target_url
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2167732
* chore: SetHostCleanupFinalizationGroupCallback has been removed from V8
* refactor: use WebInputEvent::Namespace types directly
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2160523
* refactor: FollowRedirect takes in cors exempt headers now
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2129787
* refactor: printing::DuplexMode moved to mojo
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2162388
* refactor: use MessagePortDescriptor instead of raw mojo::MessagePipeHandles
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1952124
* chore: update patches
* chore: bump chromium in DEPS to f1537676d613f3567cfb43adf577b3847fba4bc3
* chore: update patches
* refactor: service_manager::BinderMapWithContext merged into mojo::BinderMap
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2174654
* chore: unused argument removed from ReadAvailableTypes in ui::Clipboard
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2173666
* chore: bump chromium in DEPS to 949888433ab935dd6125c107226a4c9d6da9bf48
* chore: update patches
* update patches
* chore: update sysroots
* chore: bump chromium in DEPS to eaac5b5035fe189b6706e1637122e37134206059
* chore: bump chromium in DEPS to 258b54b903d33dab963adf59016691e6537f8b70
* build: update patches
* refactor: cursor.mojom and cursor_types.mojom moved to //ui/base/cursor/mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2172874
* chore: DesktopWindowTreeHostLinux becomes DesktopWindowTreeHostPlatform
Refs:
* refactor: LogErrorEventDescription moved from ui to x11
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2164245
* chore: update patches
* chore: bump chromium in DEPS to bd06abcfe807d4461683479237cdd920dafa52ca
* chore: bump chromium in DEPS to 1afb0891e56f1e79d204db43ca053a46d0974511
* chore: bump chromium in DEPS to 5cb0f794bf7f155bf8c0a241b94e01c9d90c2744
* chore: bump chromium in DEPS to 37327ba3303234e1a3cd3310ca11a68e81b95123
* update patches
* remove ClientSideDetectionService from browser_process
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2175320
* refactor: shuttle cursor changed event to WebContentsObserver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2172779
* chore: bump chromium in DEPS to 1d97904bb6936e106df13705208b73e47367c2b9
* avoid IPC crash introduced earlier in the roll
Refs: b67334e781 (diff-607f4e8f7c5686aa09af98c783925babR128)
* remove WebContentsView::SizeContents
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2188931
* chore: bump chromium in DEPS to 87066d1db0546a9de33952ba964e1e42f76f1dae
* update patches
* adapt to //content creating NetworkContexts
https://chromium-review.googlesource.com/c/chromium/src/+/2195196
* WIP temporarily ignore mojo-ified PrintHostMsg_PrintPreviewFailed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195343
* add checkout_pgo_profiles to DEPS
* chore: bump chromium in DEPS to a095318bec1dedf580d676f408eaeefdbd9956b1
* add blink's execution_context to electron_lib deps
Refs:
b67334e781 #, https://chromium-review.googlesource.com/c/chromium/src/+/1952124
* update patches
* update patches
* refactor: use newly mojo-ified PrintPreviewFailed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195343
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: update patches
* chore: remove NOTIFICATION_EXTENSIONS_READY_DEPRECATED
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2199874
* avoid a call to Profile::FromBrowserContext in printing
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195757
* chore: bump chromium in DEPS to 8f5c6a46861a991e12ffd80554b6bd41a11b0b65
* chore: bump chromium in DEPS to ab66134739ff3b6bdb8de53bbc58a97d1b7b5d8a
* chore: bump chromium in DEPS to dd08df9f6c8d6198f0a7b931ca9e845e27dae033
* chore: update patches
* [printing] Mojofy PrintHostMsg_PrintPreviewCancelled
https://chromium-review.googlesource.com/c/chromium/src/+/2198331
* [printing] Mojofy PrintHostMsg_PrintPreviewInvalidPrinterSettings
https://chromium-review.googlesource.com/c/chromium/src/+/2200556
* [printing] Mojofy PrintHostMsg_DidPrepareDocumentForPreview
https://chromium-review.googlesource.com/c/chromium/src/+/2201496
* fix: inherit base network context params
* fix: use message handle api specific to embedders
* update patches
* chore: update v8 headers
* fixup! avoid a call to Profile::FromBrowserContext in printing
* chore: bump chromium in DEPS to f198bc3276828d992b6202d75a9da6a8363164ea
* chore: update patches
* Remove cors_exempt_headers.h
https://chromium-review.googlesource.com/c/chromium/src/+/2203759
* Supply speech recognition sandbox from service_sandbox_type.h
https://chromium-review.googlesource.com/c/chromium/src/+/2206918
* [content] Remove unused methods from WebContents
https://chromium-review.googlesource.com/c/chromium/src/+/2199113
* [XProto] Replace XAtom with x11::Atom
https://chromium-review.googlesource.com/c/chromium/src/+/2202789
* chore: bump chromium in DEPS to 5df37fabaaed09f3ea511f4ef49203d8ebee7b68
* [UI] Support secondary labels in dropdown menus
https://chromium-review.googlesource.com/c/chromium/src/+/2208976
* chore: update patches
* refactor: GetSublabelAt => GetSecondaryLabelAt
* Revert "[printing] Mojofy PrintHostMsg_DidPrepareDocumentForPreview"
This reverts commit 44ed0892a0c81716229638f17253bbb2cf8f037d.
https://chromium-review.googlesource.com/c/chromium/src/+/2208778
* Unnest CanonicalCookie::CookieInclusionStatus
https://chromium-review.googlesource.com/c/chromium/src/+/2203171
* update print-to-pdf.html with latest html data
https://bugs.chromium.org/p/chromium/issues/detail?id=1085667
* chore: bump chromium in DEPS to 5dfa8d5f706580fe983e138952553cd6af11ee8b
* fix crash in x server when setting window icon
* chore: update patches
* Use a normal return value for WebContentsView::GetContainerBounds.
https://chromium-review.googlesource.com/c/chromium/src/+/2212481
* fix build on windows
* chore: bump chromium in DEPS to 9d15054f4cba060901e43deecf74002f11f47be3
* chore: update patches
* [printing] Mojofy PrintHostMsg_CheckForCancel
https://chromium-review.googlesource.com/c/chromium/src/+/2212181
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-05-26 13:06:26 -07:00
Electron Bot
2b39111e30
Bump v11.0.0-nightly.20200526
2020-05-26 08:31:30 -07:00
Lukas Weber
2bc85b2579
fix: trigger activate event when app is activated via app switcher ( #23727 )
...
When application is activated thru macOS app switcher (cmd+tab) the
App's activate event is note emitted. The reason is that
`applicationShouldHandleReopen:hasVisibleWindows:` is sent only when app
is activated via Dock. Using `applicationDidBecomeActive:` is handling
all cases properly.
Co-authored-by: Lukas Weber <luweber@microsoft.com >
2020-05-26 10:58:51 -04:00
Cheng Zhao
0a026cde0c
test: return after inspector connection is closed ( #23763 )
2020-05-26 10:47:49 -04:00
John Kleinschmidt
db5cf816b4
ci: deflake WOA tests ( #23707 )
2020-05-26 10:25:57 -04:00
Cheng Zhao
08f288faf1
test: use WebContents event to test beforeunload ( #23699 )
2020-05-26 09:21:38 -04:00
Cheng Zhao
0dabd5e8c7
test: more logging in node inspector test ( #23746 )
2020-05-26 10:20:16 +09:00
Electron Bot
2029ff1903
Bump v11.0.0-nightly.20200525
2020-05-25 08:32:17 -07:00
Samuel Attard
9bc5e98238
chore: tsify more of lib ( #23721 )
...
* chore: tsify more of lib
* Update lib/browser/api/session.ts
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-05-22 12:46:22 -07:00
Shelley Vohr
762f7bcca2
refactor: use typeutils for nativeImage serialization ( #23693 )
2020-05-22 08:56:57 -07:00
Electron Bot
75847a0c5b
Bump v11.0.0-nightly.20200522
2020-05-22 08:32:12 -07:00
Samuel Attard
e3c2ec9f7c
chore: remove unused isolated-world-args ( #23716 )
2020-05-21 20:11:58 -07:00
Cheng Zhao
fdf40ce07a
fix: read GTK dark theme setting on Linux ( #23678 )
2020-05-21 15:41:25 -07:00
Florian Keller
82924679fe
docs: Explain console-message parameters ( #23661 )
2020-05-21 15:39:51 -07:00
Erick Zhao
f373cc770f
docs: remove app feedback program doc ( #23673 )
2020-05-21 15:39:13 -07:00
Shelley Vohr
78d74bf8b4
fix: trigger about panel for about role on on win ( #23687 )
2020-05-21 15:38:26 -07:00
Samuel Attard
5ed2512881
fix: support 10-x-y in the release notes generator ( #23709 )
2020-05-21 13:55:27 -07:00