trop[bot]
b07e17a3bb
fix: fix a crash in safeStorage on Linux ( #34147 )
...
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 >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-05-11 10:20:30 -04:00
trop[bot]
49ee456797
test: run node specs with py3 ( #34165 )
...
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com >
2022-05-11 10:02:00 +02:00
trop[bot]
85063322e9
fix: building node modules with Visual Studio 2017 ( #34164 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-05-11 10:01:48 +02:00
trop[bot]
633d2961eb
fix: create singleton pipename from user & executable ( #34160 )
...
* 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
* chore: trigger CircleCI
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2022-05-10 16:26:05 -07:00
trop[bot]
4f0592101b
chore: stub gtk_native_dialog_get_type ( #34151 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-05-09 20:59:41 -07:00
trop[bot]
8797485564
build: change upload-to-s3 vars to upload-to-storage ( #34143 )
...
* build: change upload-to-s3 vars to upload-to-az
* build: change upload-to-az to upload-to-storage
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2022-05-09 12:57:14 -07:00
Sudowoodo Release Bot
c3746dc439
Bump v19.0.0-beta.5
v19.0.0-beta.5
2022-05-09 06:31:11 -07:00
Keeley Hammond
d5dadd0d4a
fix: load FirstPartySets without Electron initialization ( #34138 )
2022-05-09 10:44:04 +02:00
trop[bot]
da62dd2721
build: stop uploading assets to S3 ( #34116 )
...
* build: remove S3 uploads
* build: remove ending slash upload-index-json (#34125 )
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2022-05-07 03:25:57 -07:00
trop[bot]
c945629872
build: use azure function to hash assets instead of lambda ( #34123 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-05-07 03:25:29 -07:00
trop[bot]
536a17f5ed
docs: add missing ackCallback parameter ( #34128 )
...
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com >
2022-05-06 23:34:54 -07:00
trop[bot]
433765cd73
refactor: prevent RemoveFromLoginItems() from mounting volumes from login items ( #34108 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-05-05 22:29:41 -04:00
electron-roller[bot]
870110fd52
chore: bump chromium to 102.0.5005.40 (19-x-y) ( #34089 )
...
* chore: bump chromium in DEPS to 102.0.5005.40
* chore: update patches
* Trigger Build
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-05-05 22:06:43 -04:00
trop[bot]
8ce14231fb
test: unflake some more tests ( #34102 )
...
* 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: Samuel Attard <sattard@salesforce.com >
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-05-05 20:19:46 -04:00
trop[bot]
de09ba2c51
fix: offscreen rendering crash on input select ( #34093 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-05-05 11:49:28 -07:00
trop[bot]
290b548b15
test: unflake some focus tests ( #34079 )
...
* spec: unflake some focus tests
* test: disable flaky webFrame visibiilty spec
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-05-05 09:40:11 -04:00
Sudowoodo Release Bot
3df4dcc591
Bump v19.0.0-beta.4
v19.0.0-beta.4
2022-05-05 06:31:30 -07:00
trop[bot]
c33d65c1d9
fix: requestSingleInstanceLock API sometimes hangs ( #34071 )
...
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com >
2022-05-04 16:41:34 -07:00
trop[bot]
ddb0b1b4c4
test: fix nativeModulesEnabled in spec/webview-spec.js ( #34066 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-05-04 16:28:33 +02:00
trop[bot]
14d3e369ae
test: scope internal test fixtures under @electron-ci ( #34024 )
...
* test: scope internal test fixtures under `@electron`
* Missed references
* Move packages from @electron to @electron-ci scope
* Fix tests
* fix require
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-05-04 00:05:49 -07:00
trop[bot]
9f66268fab
fix: make BrowserWindow#isFocused() return false when blur() is called on macOS ( #34031 )
...
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 >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-05-04 00:05:17 -07:00
Samuel Attard
577b2ba44b
refactor: use posix_spawn instead of NSTask so we can disclaim the spawned ShipIt executable ( #33468 ) ( #34058 )
2022-05-03 16:14:12 -07:00
trop[bot]
7e35b91f4d
build: use smaller resource_class because goma ( #34032 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-05-03 11:28:59 -04:00
electron-roller[bot]
04f2b2e2e3
chore: bump chromium to 102.0.5005.27 (19-x-y) ( #33932 )
...
* chore: bump chromium in DEPS to 102.0.5005.12
* chore: bump chromium in DEPS to 102.0.5005.22
* 3587410: [Printing] Remove JobEventDetails
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3587410
(cherry picked from commit 75d75bc087a29640cc58ecb7122dbc8ea10ce785)
* chore: update patches
* 3579297: Convert UpdatePrintSettings() to use non-deprecated base::Value APIs.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3579297
* 3577218: WebUI: Delete webui_resources.grd and related GN targets.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3577218
(cherry picked from commit b12e658fee8f8d8832145f0ab141549c3466f567)
* chore: bump chromium in DEPS to 102.0.5005.27
* 3368244: Hook SnapshotForContentAnalysis renderer API to scan system prints
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3368244
(cherry picked from commit 9ccc4d6249 )
* 3584006: Remove IsRenderViewLive from content public
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3584006
(cherry picked from commit 5c5bc4ca6d )
* 3368244: Hook SnapshotForContentAnalysis renderer API to scan system prints
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3368244
(cherry picked from commit dbdff6fe7e )
* 3581708: Restore original display when moving from tab-fullscreen to browser-fullscreen.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3581708
(cherry picked from commit c02749954c )
* 64908: Stop building legacy SwiftShader GL in Chromium
https://swiftshader-review.googlesource.com/c/SwiftShader/+/64908
* 3573245: Added Themed versions of RoundedRectBackground and RoundedRectBorder.
https://chromium-review.googlesource.com/c/chromium/src/+/3573245
* fixup for lint
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: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-05-03 11:27:43 -04:00
Sudowoodo Release Bot
7f88b507d9
Bump v19.0.0-beta.3
v19.0.0-beta.3
2022-05-02 10:47:10 -07:00
trop[bot]
855f36903e
fix: move FirstPartySets into the browser process ( #34011 )
...
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3448551
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2022-05-02 10:46:22 -07:00
trop[bot]
9ef6a77a72
fix: support mixed-case extensions in Linux file dialogs ( #34015 )
...
Co-authored-by: Kevin Ushey <kevinushey@gmail.com >
2022-05-02 10:33:48 -07:00
trop[bot]
853693bc87
build: allow script/spec-runner.js with empty list of runners ( #34002 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-05-02 09:45:40 -04:00
trop[bot]
f6a2c296d8
docs: fix return type of setJumpList() in electron.d.ts ( #33963 )
...
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 >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-05-02 17:29:51 +09:00
trop[bot]
eb3abf4c98
refactor: better solution for resizable frameless DCHECK ( #33974 )
...
* refactor: better solution for resizable frameless DCHECK
* fix: also implement TargetForRectin WinFrameView
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-05-02 17:29:39 +09:00
trop[bot]
6f853ef616
spec: allow connections to port 2049 ( #33993 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-05-02 10:27:34 +09:00
Sudowoodo Release Bot
002ea74027
Bump v19.0.0-beta.2
v19.0.0-beta.2
2022-04-29 06:38:53 -07:00
Keeley Hammond
f30714e85d
fix: fix FirstPartySetsHandler initialization ( #33972 )
2022-04-28 22:18:34 -07:00
Keeley Hammond
1f1a0b5461
build: improve CI speeds and reduce CI costs ( #33904 ) ( #33951 )
...
* 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
* remove third_party/electron_node:overlapped-checker
Target is not present in older branches
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-04-28 12:54:08 -07:00
trop[bot]
dce5680271
feat: allow null when subscribing notification ( #33770 )
...
* feat: allow null when subscribing notification
* docs: document null event
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-04-28 12:20:08 -04:00
trop[bot]
fdd268b31e
fix: disable MallocNanoZone on mac ( #33966 )
...
Co-authored-by: Jacek Oleksy <jacek.oleksy@gmail.com >
2022-04-28 12:00:45 -04:00
Sudowoodo Release Bot
005eeafe95
Bump v19.0.0-beta.1
v19.0.0-beta.1
2022-04-28 08:53:29 -07:00
Sudowoodo Release Bot
6944863de8
Revert "Bump v19.0.0-alpha.6"
...
This reverts commit e69ca30e61 .
2022-04-28 06:50:36 -07:00
Sudowoodo Release Bot
e69ca30e61
Bump v19.0.0-alpha.6
2022-04-28 06:31:27 -07:00
trop[bot]
40f6d434a9
build: use dev-cdn instead of sysroots s3 bucket ( #33937 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-04-28 03:14:14 -07:00
trop[bot]
39ab6525b3
build: ensure sync-done file exists during git cache save ( #33956 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-04-27 17:21:34 -07:00
trop[bot]
693b9ec77e
feat: implement chrome.tabs.reload to fix PDF Viewer ( #33712 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-04-27 12:17:43 -07:00
trop[bot]
b4b2262c1b
build: fix macos release GN gen ( #33920 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-04-27 11:36:29 -07:00
trop[bot]
04510c6870
build: actually verify az urls too ( #33950 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-04-27 11:06:56 -07:00
Samuel Attard
f2b27f8bb1
build: improve circleci config ( #33940 )
...
* build: improve circleci config (#33881 )
* build: fix conditional restore of git cache
* build: split lint out of setup.yml
* ci: update release script to handle new CircleCI configs (#33914 )
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-04-27 11:02:31 -07:00
trop[bot]
8bd1bbc5ae
chore: use semantic-commit-action ( #33867 )
...
* chore: use semantic-commit-action
* Update semantic.yml
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-04-26 19:05:56 +09:00
trop[bot]
3ed7b54608
build: upload to AZ as well as S3 ( #33597 )
...
* build: upload to AZ aswell as S3
* fix: provide env to azput
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2022-04-25 23:29:01 -07:00
electron-roller[bot]
b0ab8e49a9
chore: bump chromium to 102.0.4999.0. (19-x-y) ( #33848 )
...
* chore: bump chromium in DEPS to 102.0.5005.3
* chore: bump chromium in DEPS to 102.0.5005.2
* chore: bump chromium in DEPS to 102.0.5005.12
* 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 >
(cherry picked from commit f3e0517b6e )
* chore: update patch after cherry-pick from main roller pr
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-04-25 09:49:02 -04:00
Sudowoodo Release Bot
cb6acecfbe
Bump v19.0.0-alpha.5
v19.0.0-alpha.5
2022-04-25 06:31:14 -07:00
trop[bot]
97c99731df
fix: apply senderFrame details to ipcMain port event ( #33783 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-04-25 09:43:59 +09:00