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

Backport win,tty fixes for Windows systems #11

Merged
merged 5 commits into from
Jul 21, 2020

Conversation

musm
Copy link

@musm musm commented Jul 9, 2020

Backport several patches.
These changes help to enable and support VT sequences on Windows.

musm and others added 2 commits July 8, 2020 21:02
This reverts commit 4736c31.
I.e. revert the revert.
PR-URL: libuv#2501
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
Reviewed-By: Jameson Nash <vtjnash+github@gmail.com>
(cherry picked from commit fd2ce38)
vtjnash and others added 3 commits July 14, 2020 01:02
This code already had special handling for decoding utf-8
characters correctly for the UCS-2 conhost
(trailing incomplete bytes and characters > 0xFFFF).
Rather than trying to duplicate that, we can simply
delete the duplicate code-path and selectively disable
the parts that do not apply.

PR-URL: libuv#1965
Ref: JuliaLang/julia#27267
Co-authored-by: Mustafa M. <mus-m@outlook.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
(cherry picked from commit 3016fbc)
PR-URL: libuv#1884
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
(cherry picked from commit 73ca4ac)
PR-URL: libuv#1884
Refs: libuv#1874
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
(cherry picked from commit 288a067)
@musm
Copy link
Author

musm commented Jul 14, 2020

The last two commits are not necessary, but I think they can't hurt to add. I'm happy to remove them if desired.

@musm
Copy link
Author

musm commented Jul 16, 2020

@vtjnash What do think about this, Is this ok to merge or do you have bigger concerns? I'd like to also get in libuv#2910 eventually when that get's merged upstream.

@StefanKarpinski
Copy link
Member

Would be great to get this merged.

@musm
Copy link
Author

musm commented Jul 20, 2020

merging in a few days sans objections

@vtjnash
Copy link
Member

vtjnash commented Jul 21, 2020

It looks like I previously either authored or reviewed each of these, so I guess I'm on board.

@musm
Copy link
Author

musm commented Jul 21, 2020

merge commit / squash and merge / rebase and merge?

I'm guessing rebase and merge?

@vtjnash
Copy link
Member

vtjnash commented Jul 21, 2020

That'd be fine, and probably clearest in the history log

@musm musm merged commit 118bd99 into JuliaLang:julia-uv2-1.29.1 Jul 21, 2020
@c42f
Copy link
Member

c42f commented Jul 22, 2020

Fantastic, thanks @musm. I've hit many problems with VT support on windows which really can't be worked around. I think this will sort them out.

@musm musm deleted the julia-uv2-1.29.1-win branch July 22, 2020 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants