Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make shell.OpenExternal async #17135

Merged
merged 1 commit into from May 3, 2019

Conversation

Projects
None yet
4 participants
@codebytere
Copy link
Member

commented Feb 26, 2019

Description of Change

Offload OpenExternal to new thread on Windows.

cc @deepak1556 @zcbenz

Checklist

Release Notes

Notes: none

@codebytere codebytere requested a review from as a code owner Feb 26, 2019

@codebytere codebytere changed the title refactor: make OpenExternal async on win refactor: offload OpenExternal to new thread on Windows Feb 26, 2019

@codebytere codebytere changed the title refactor: offload OpenExternal to new thread on Windows refactor: offload shell.OpenExternal to new thread on Windows Feb 26, 2019

@codebytere codebytere force-pushed the openexternal-async branch 2 times, most recently from 12bc3eb to f0da519 Feb 26, 2019

Show resolved Hide resolved atom/common/platform_util_win.cc Outdated
Show resolved Hide resolved atom/common/platform_util_win.cc Outdated

@electron-cation electron-cation bot removed the new-pr 🌱 label Feb 27, 2019

@codebytere codebytere force-pushed the openexternal-async branch 4 times, most recently from 94d73e7 to bb6b06e Mar 1, 2019

@codebytere codebytere requested a review from deepak1556 Mar 4, 2019

@codebytere codebytere force-pushed the openexternal-async branch 3 times, most recently from 45d6454 to 0d8a16e Mar 4, 2019

@deepak1556

This comment has been minimized.

Copy link
Member

commented Mar 4, 2019

Do we want to support both OpenExternalSync and OpenExternal ? Its not possible to support sync version on windows with this change.

@zcbenz

This comment has been minimized.

Copy link
Member

commented Mar 5, 2019

We can either deprecate the sync API or just leave a fake sync API. I'm good with either, the async API was fake anyway.

@codebytere codebytere force-pushed the openexternal-async branch from f6610f3 to 1372f49 Mar 6, 2019

@codebytere codebytere changed the title refactor: offload shell.OpenExternal to new thread on Windows refactor: make shell.OpenExternal async Mar 6, 2019

@codebytere codebytere force-pushed the openexternal-async branch 3 times, most recently from 899e7c9 to 49f9bf8 Apr 5, 2019

@codebytere codebytere force-pushed the openexternal-async branch from 49f9bf8 to e5ba8f6 Apr 5, 2019

Show resolved Hide resolved atom/browser/atom_browser_client.cc Outdated
Show resolved Hide resolved atom/common/platform_util_win.cc

@codebytere codebytere requested a review from deepak1556 Apr 5, 2019

Show resolved Hide resolved atom/common/platform_util_win.cc Outdated
Show resolved Hide resolved atom/common/platform_util_win.cc Outdated

@codebytere codebytere force-pushed the openexternal-async branch from ca8ca8b to 63f641c Apr 5, 2019

Show resolved Hide resolved atom/common/platform_util_win.cc Outdated
Show resolved Hide resolved atom/common/platform_util_win.cc Outdated

@codebytere codebytere force-pushed the openexternal-async branch from 63f641c to 6fa1d61 Apr 5, 2019

@codebytere codebytere force-pushed the openexternal-async branch 12 times, most recently from 7939392 to a57c728 Apr 26, 2019

@codebytere codebytere force-pushed the openexternal-async branch from a57c728 to 6a28841 May 3, 2019

@codebytere

This comment has been minimized.

Copy link
Member Author

commented May 3, 2019

@deepak1556 this should finally be ready for final review!

@jkleinsc jkleinsc requested a review from deepak1556 May 3, 2019

@deepak1556
Copy link
Member

left a comment

LGTM, will there be a deprecation notice for the sync api in a separate PR for 6-0-x ?

@codebytere codebytere merged commit 6d96f30 into master May 3, 2019

6 checks passed

Semantic Pull Request ready to be squashed
Details
appveyor: win-ia32-testing AppVeyor build succeeded
Details
appveyor: win-ia32-testing-pr AppVeyor build succeeded
Details
appveyor: win-x64-testing AppVeyor build succeeded
Details
appveyor: win-x64-testing-pr AppVeyor build succeeded
Details
release-notes Release notes found
@release-clerk

This comment has been minimized.

Copy link

commented May 3, 2019

No Release Notes

@codebytere codebytere deleted the openexternal-async branch May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.