Steven Kirk
122b1a827f
Added additional test & fix.
3 years ago
Steven Kirk
e277e6e569
Added tests for AutomationTextRange.
3 years ago
Steven Kirk
79f5052907
Remove GetVisibleRanges from text provider.
It doesn't seem to return anything but `DocumentRange` in either WPF or QT so looks to be vestigial.
3 years ago
Steven Kirk
a8b14fd29c
Fix the 4rd hardest problem in computer science.
Off by one errors.
3 years ago
Steven Kirk
15bce1f0f4
Initial implementation of ITextProvider.
With backend implementation in win32 (macOS to come).
3 years ago
Steven Kirk
0b1b3476fb
Make EnumExtensions internal.
3 years ago
Benedikt Stebner
f153c626f8
Fix TextLineImpl.GetCharacterHitFromDistance for lines that include a TextEndOfLine run
Fix overhang handling to prevent clipped text for slanted glyphs
Fix TextBox selection issues
3 years ago
Max Katz
20064647dd
Limit IFocusManager API, extend IInputElement API, remove visible static properties
3 years ago
Benedikt Stebner
95a6de8ecc
Fix BitmapInterpolationMode default value
3 years ago
Steven Kirk
474d78b335
Deprecate IStyleable .
This was signalled for removal in #9553 , but I was hesitant to do it because it will be in use by a lot of code in order to override `StyleKey`. Instead of removing it, deprecate it and provide a virtual `StyledElement.StyleKeyOverride` property as the supported way of overriding a control's style key.
3 years ago
Nikita Tsukanov
64610c264b
Composition aware resources
3 years ago
Giuseppe Lippolis
e439b706a5
feat: Address rule CA1854
3 years ago
Dan Walmsley
ff16f8accd
if DefaultExtension is null, then pass empty string to win32 otherwise the extension appending logic gets borked.
3 years ago
Max Katz
cc0e2302e7
Remove ICustomDrawOperation from the IDrawingContextImpl as it seems useless there now
3 years ago
Nikita Tsukanov
271cb55b85
Remove ModuleInitializer duplicates
3 years ago
Steven Kirk
981dfd29d7
Added WindowBase.Resized event.
Which exposes the resize reason and new client size. Required renaming `PlatformResizeReason` to `WindowResizeReason`. Made `TopLevel.HandleResized` method internal.
3 years ago
Benedikt Stebner
0442c3b337
Introduce advanced render options
3 years ago
Benedikt Stebner
25ff3e2004
Only initialize imm32 if a text input client is present
3 years ago
Nikita Tsukanov
d8c5063be4
Removed extra Closed?.Invoke()
3 years ago
Nikita Tsukanov
9aec3e348b
Properly notify the TopLevel before destroying render targets
3 years ago
Benedikt Stebner
82c86010c1
Fix Windows IME
Fix TextWrapping for glyph cluster boundaries when an emergency break is taken
Remove redudant TextLayout creation for the TextBlock.ArrangeOverride
3 years ago
Benedikt Stebner
a4a96d6ff4
Optimize FontManager caching
3 years ago
malaguenha
434b24a62c
Avoid IME to be disabled after popups
3 years ago
Nikita Tsukanov
312f1250e2
Don't use AvaloniaObject in IPlatformRenderInterface
3 years ago
Benedikt Stebner
b2a4e85e23
Only bypass WM_CHAR if previous composition is not empty
3 years ago
Emmanuel Hansen
04c8b652c8
move clipboard to TopLevel
3 years ago
Nikita Tsukanov
5f52122bba
Implemented ExitAllFrames, DisableProcessing and Shutdown, dispatcher callbacks now have proper sync context
3 years ago
Benedikt Stebner
f307b7364a
Fix TextLineImp GetTextBounds
Fix Tab character handling
3 years ago
Benedikt Stebner
2f6246c61d
Make sure we don't try to read a character out of bounds
3 years ago
Nikita Tsukanov
dbbdcb95cd
Refactored dispatcher clock
3 years ago
Nikita Tsukanov
fe4945d395
Win32 dispatcher fixes
3 years ago
Nikita Tsukanov
067df73f97
Naming
3 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
3 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
3 years ago
Giuseppe Lippolis
02983e3c1e
fix: Misc XML Document issue
3 years ago
Benedikt Stebner
5ea3027f98
Do the same for Chinese IME
3 years ago
Benedikt Stebner
c5189bd6f6
Trz to fix Japanese IME
3 years ago
Benedikt Stebner
8457fba5a3
More adjustments
3 years ago
Benedikt Stebner
56727d00a0
More adjustments
3 years ago
Benedikt Stebner
9016933085
Fix some unit tests
3 years ago
Benedikt Stebner
147db08f90
Introduce GlyphRun.Bounds
3 years ago
Benedikt Stebner
397867602e
Properly sync preedit
3 years ago
Benedikt Stebner
d08083bbf3
Introduce font collections
3 years ago
Tom Edwards
49c57a610c
Make `Avalonia.Win32.Input.KeyInterop` public
3 years ago
Benedikt Stebner
edbfd96b2d
Simply ShapedBuffer GlyphInfos access
3 years ago
Nikita Tsukanov
ae1fcfed51
Refactored DrawingContext and VisualBrush, added DrawingBrush ( #10419 )
Refactored DrawingContext and VisualBrush, added DrawingBrush
3 years ago
Daniil Pavliuchyk
dce799ba10
RadioButtonAutomationPeer WIP
3 years ago
Benedikt Stebner
f5caa61051
[SKIA] UseOpacitySaveLayer feature switch ( #9964 )
* [SKIA] Introduce UseOpacitySaveLayer feature switch
* Only maintain _currentOpacity when OpacitySaveLayer is disabled
3 years ago
Max Katz
104023bfc8
Remove specific data type methods from the IDataObject, add new Files format
3 years ago
Julien Lebosquain
822f5d04aa
Fix Direct2D1 test runner hanging
3 years ago