Steven Kirk
8b9e675bd4
Refactor PlatformFact.
To make it inclusive rather than exclusive.
4 years ago
Nikita Tsukanov
b6b08155d8
[WIP] Run render tests for compositing renderer
4 years ago
Steven Kirk
8c3424baa4
Refactor OSX window tests a bit.
Try not to rely on `_session.ResetApp();` because restoring the application state in the tests tends to show up more errors (which this change has done: https://github.com/AvaloniaUI/Avalonia/issues/8335#issuecomment-1162804733 )
4 years ago
Steven Kirk
860fcc524d
Refactor how we show windows.
Trying to make it a little less hacky. Only tested on Win32 so far.
4 years ago
Benedikt Stebner
7f347308f1
Update generator
4 years ago
Benedikt Stebner
608238211b
Disable trie generation
4 years ago
Benedikt Stebner
f6c5dbe5ea
First naive attempt to get zero reflection unicode data
4 years ago
Benedikt Stebner
6502fa1ef7
More TextAlignment fixes
4 years ago
Ahmed Fawzy
7698505770
Removed tests which collided with removing the _ignoreTextChanges field
4 years ago
Benedikt Stebner
3dfad3bc79
Remove redudant test
4 years ago
Benedikt Stebner
9cfac4dd3f
FIx GeometryGroup.Children parent handling
4 years ago
Benedikt Stebner
71aba01b10
Implement FormattedText.BuildGeometry
4 years ago
Steven Kirk
8b4cf63be3
Additional validation for ControlTheme children.
4 years ago
Benedikt Stebner
e48c984443
Update tests
4 years ago
Benedikt Stebner
020c8de59e
Fix mocks
4 years ago
Benedikt Stebner
73c06b323e
Skia - Correctly translate current position when multiple glyphs are added to a path
4 years ago
Benedikt Stebner
7a533700d0
Implement GlyphRun.BuildGeometry
4 years ago
Dan Walmsley
236d10bf64
discard unused params
4 years ago
Dan Walmsley
0b4ea2b1eb
add unit test.
4 years ago
Steven Kirk
d21e634ab3
Added support for implicit themes.
If no `Theme` property is provided, try to look up a resource keyed with the control's `StyleKey`.
4 years ago
Giuseppe Lippolis
3b9a34274a
feat(IDispatcher): Add void Post(Action<object> action,object arg, DispatcherPriority priority = default);
4 years ago
Steven Kirk
95f70143ca
Can apply control theme to derived types.
4 years ago
Steven Kirk
05fdc04464
Add ControlTheme.BasedOn.
4 years ago
kaminova
0907e9519a
Fix test
4 years ago
kaminova
987a69aafb
spaces
4 years ago
kaminova
eaf8fec5cf
Test for matrix inversion
4 years ago
Patrick Tellier
e47b742d3e
Use own Pen (if set) in GeometryDrawing.GetBounds
4 years ago
Steven Kirk
d215a1edc7
Fix nested :not selector.
4 years ago
Max Katz
210727175a
Add simple IsDefault/IsCancel tests
4 years ago
Dan Walmsley
a0af269d36
reset app after most tests, add test for fullscreen mode with modal osx.
4 years ago
Dan Walmsley
827692fa27
add test for osx modal dialog window order when clicking resize grip of parent.
4 years ago
Steven Kirk
4bdcb8eeea
Invalidate template control styles when Theme changes.
4 years ago
Steven Kirk
5cd9532012
Move tests to correct place.
4 years ago
Steven Kirk
8c61f25188
Promote theme to LocalValue if applied from style.
4 years ago
Steven Kirk
fc3c036b02
Move Theme to StyledElement.
The WPF equivalent (`Style`) is in `FrameworkElement` so it would make sense. Will also make stuff a lot easier and removes the need for an `IThemed` interface.
4 years ago
Steven Kirk
a6dc6b1c88
Prevent ControlTheme as a nested style.
4 years ago
Steven Kirk
dee353bb96
Support ControlTheme in XAML compiler.
4 years ago
Steven Kirk
088d8cfc5c
Initial implementation of control themes.
4 years ago
Steven Kirk
902703fbed
Allow nested styles inline in parent style XAML.
Removes the need to enclose nested styles in a `<Style.Children>` element in XAML.
4 years ago
Dan Walmsley
97cb3a68f0
Add unit test.
4 years ago
Dan Walmsley
1917def959
full set of window tests for osx.
4 years ago
Dan Walmsley
a70dadea18
simplify test.
4 years ago
Dan Walmsley
a7713dcda9
add a unit test for child window order osx.
4 years ago
Dan Walmsley
0d6e3a55f0
add test to show that osx chrome buttons are disabled when modal dialog is opened.
4 years ago
daniel mayost
b6e66047f2
add fixes
4 years ago
Max Katz
bc6d5ec87d
Add tests
4 years ago
daniel mayost
5bf28b671d
some fixes
4 years ago
daniel mayost
c77c500bcd
fixes tests
4 years ago
daniel mayost
402790ba86
improve UpdateFlowDirection
4 years ago
Max Katz
bc2179b337
Add XDataType_Should_Be_Ignored_If_DataType_Has_Non_Standard_Name test
4 years ago