Dustin L. Howett (MSFT)
4991b9f1b2
Switch all of the UIA providers to WRL::RuntimeClass ( #3213 )
...
* Switch all of the UIA providers to WRL::RuntimeClass
Fixes #3209 .
References #3051 .
Co-authored-by: Carlos Zamora <cazamor@microsoft.com >
Co-authored-by: Dustin Howett <duhowett@microsoft.com >
2019-10-17 15:32:30 -07:00
Michael Niksa
7d9534bfa8
constexprs have to go into the headers or other usages can't find them. Imagine that.
2019-09-04 10:59:18 -07:00
Michael Niksa
6735311fc9
Suppress last two errors (C26455 default constructor throw in DxEngine because it's due for refactoring soon anyway & C26444 custom construction/destruction on OutputCellIterator because I can't see what's going on and it needs more investigation and shouldn't hold this up). Also run codeformat.
2019-09-03 16:18:19 -07:00
Michael Niksa
594dca993b
C26429, mark gsl::not_null on places where we don't test for null (shouldn't need to, internal methods only.
2019-09-03 11:18:28 -07:00
Michael Niksa
c956913a28
C26497, use constexpr for functions that could be evaluated at compile time.
2019-09-03 10:30:06 -07:00
Michael Niksa
bbdfdf91eb
C26462, const local variables that are unchanged.
2019-09-03 10:04:30 -07:00
Michael Niksa
d5d7cf420d
C26494, uninitalized local variables
2019-09-03 10:02:18 -07:00
Michael Niksa
cdfbf8f106
C26474, don't use static_cast when an implicit cast is acceptable.
2019-09-03 08:53:54 -07:00
Michael Niksa
30e8e7f3a3
C26429, symbols not tested for nullness.
2019-09-03 08:46:24 -07:00
Michael Niksa
4f1157c044
C26447,C26440 - is noexcept but can throw or doesn't throw but not noexcept
2019-08-29 15:23:07 -07:00
Michael Niksa
8579d8905a
C26451, promote before arithmetic if storing in larger result size (or use safe math)
2019-08-29 13:41:51 -07:00
Michael Niksa
8ea7401dc9
C26472, no static_cast for arithmetic conversions. narrow or narrow_cast
2019-08-29 13:19:01 -07:00
Michael Niksa
b33a59816e
C26496, mark const if it's never written after creation
2019-08-29 11:27:39 -07:00
Michael Niksa
65dec36cb1
C26446, Use .at instead of array indices
2019-08-29 11:05:32 -07:00
Carlos Zamora
be52880620
Accessibility: Add BoundingRects to UiaTextRanges ( #2423 )
2019-08-20 17:50:34 -07:00
Carlos Zamora
667c0286c1
Accessibility: Refactor Providers ( #2414 )
...
Refactors the accessibility providers (ScreenInfoUiaProvider and UiaTextRange) into a better separated model between ConHost and Windows Terminal.
ScreenInfoUiaProviderBase and UiaTextRangeBase are introduced. ConHost and Windows Terminal implement their own versions of ScreenInfoUiaProvider and UiaTextRange that inherit from their respective base classes.
WindowsTerminal's ScreenInfoUiaProvider --> TermControlUiaProvider
2019-08-20 16:32:44 -07:00