Skip to content

add wpf control#2004

Merged
miniksa merged 78 commits intomasterfrom
unknown repository
Oct 11, 2019
Merged

add wpf control#2004
miniksa merged 78 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jul 17, 2019

Summary of the Pull Request

This PR adds a WPF control to the terminal repo. This should be mostly ready to merge, barring anywhere where I might have missed renaming source files / assembly names to something more appropriate. Missing features from the control are theming support (to be added in a later PR) and accesibility, for Accesibility I was hoping to get some help from the console team since the UIA tree work is relatively new and your team knows that code the best.

References

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Validation Steps Performed

Control was added to a test application and verified to work.

@ghost ghost mentioned this pull request Jul 17, 2019
5 tasks
@rub8n
Copy link

rub8n commented Oct 9, 2019

Labeled Needs-Second to call team attention to it because it's a big one and will take time to review.

Any estimates on when we'll be able to finalize the integration?

@DHowett-MSFT
Copy link
Contributor

@rub8n I'm looking at it.

Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall good, but mostly some questions I'd like answers to.

Broadly, I am most concerned about the changes to TerminalInput as it is shared with conhost. Just so long as nothing breaks there.

I wonder if lhecker's changes in #3117 and #2836 impact the new shared code?

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Oct 9, 2019
@ghost ghost requested a review from DHowett-MSFT October 10, 2019 22:53
Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with this.

@DHowett-MSFT
Copy link
Contributor

Can't merge until SA passes.

@ghost
Copy link
Author

ghost commented Oct 11, 2019

@DHowett-MSFT or @miniksa do you know why SA is giving me errors in textBuffer.hpp when I haven't changed the file at all? I'm also not sure what the error means and how to correct it.

Edit: nevermind, I went through the commit history and realized this were fixes @miniksa added when we turned on auditing for the new project. I'll re-add the textbuffer edit I removed earlier.

Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZoeyR so static analysis is somewhat viral: you hadn’t changed textBuffer, but you added a project to SA that depends on it so its header comes under SA purview

@ghost ghost requested a review from miniksa October 11, 2019 18:25
Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks awesome. Thank you, @ZoeyR.

@DHowett-MSFT
Copy link
Contributor

@miniksa you're not green any longer. Merge at will.

Copy link
Member

@miniksa miniksa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with this, but if you wouldn't mind doing the last two non-W to W function substitutions Dustin mentioned, I'd appreciate it. Then I'll hit the good ol' merge.

@miniksa
Copy link
Member

miniksa commented Oct 11, 2019

@ZoeyR, excellent. I'll watch this spot and merge it when the checks finish.

@ghost
Copy link
Author

ghost commented Oct 11, 2019

@miniksa aaaaaand we're green!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs-Second It's a PR that needs another sign-off

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants