Giuseppe Lippolis
3b9a34274a
feat(IDispatcher): Add void Post(Action<object> action,object arg, DispatcherPriority priority = default);
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
Max Katz
210727175a
Add simple IsDefault/IsCancel tests
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
Max Katz
bc6d5ec87d
Add tests
4 years ago
Steven Kirk
33f6974df1
Added failing test for Viewbox layout.
4 years ago
Takoooooo
b0f7871eec
Don't allow bindings to private methods.
4 years ago
Max Katz
b567fcebf5
Rename TemplateDataTypeAttribute to DataTypeAttribute
4 years ago
Max Katz
f1a2716858
Inherit DataType from template without hardcoding on specific DataTemplate implementation
4 years ago
Giuseppe Lippolis
543fe599c6
fix: some nullable annotation warnings
4 years ago
Steven Kirk
5aa7de52e7
Add cleanup step to leak tests.
Because previously failures could occur depending on the order that leak tests were run in.
4 years ago
Steven Kirk
61ee2d18e9
Move assert of initial item state into method.
So that we don't keep a reference to the item.
4 years ago
Max Katz
39d9a014b7
Fix static SetAssemblyDescriptorResolver usage in tests
4 years ago
Max Katz
12fd949126
Disable AssemblyName_With_Non_ASCII_Should_Load_Avares test
4 years ago
Max Katz
7f90e74f25
Unwanted namespace changes
4 years ago
Max Katz
a907b942c5
Remove platform support projects
4 years ago
Max Katz
ad0a06bf24
Merge PlatformSupport project into Avalonia.Base
4 years ago
Benedikt Stebner
006aef2388
Rework hit testing to not rely on cluster values and instead use the currently covered TextSourceLength
4 years ago
Steven Kirk
0654d63693
Added failing tests for #8178 .
4 years ago
Steven Kirk
55b19b445f
Remove unused vars.
4 years ago
Steven Kirk
556adb4bc7
Use ^ as nesting selector.
`&` causes problems in xml files.
4 years ago
Steven Kirk
33679377f8
Validate presence of nesting selector.
4 years ago
Steven Kirk
e662a9fd43
Added test for window max width/height.
4 years ago
Steven Kirk
9f03a1f7be
Added additional test for visibility invalidation.
4 years ago
Dariusz Komosinski
220a8a8df9
Use cheaper transforms in Viewbox.
4 years ago
Wiesław Šoltés
f3e2d45e19
Fix tests
4 years ago
Dariusz Komosinski
646cefa8cc
Enable test that was skipped for two years.
4 years ago
Dariusz Komosinski
90b67c3b9f
Modify test setup so actual framework classes are used.
4 years ago
Steven Kirk
35db70c8d4
Don't expose viewbox container as logical child.
#7735 introduced an internal container control which hosts the child, but it exposed this child in the logical tree, breaking any styles which relied on the `Viewbox.Child` being the logical child of the `Viewbox`.
Fix this by introducing a simple internal `ViewboxContainer` control as the container.
4 years ago
Nikita Tsukanov
a5b2eb08d4
Added support for IReflectableType in InpcPropertyAccessorPlugin
4 years ago
Kaktusbot
5eca6cc83e
Add test to AvaloniaList.AddRange to notify Count property changed
4 years ago
Benedikt Stebner
17b9f246f3
Text hit testing fixes
4 years ago
Dariusz Komosinski
174b94f3b4
Replace ImageMagick with ImageSharp for render test comparisons.
4 years ago
Steven Kirk
c34b7f2d31
Remove generic methods from ILogSink.
Part of the push to remove generic virtual methods from Avalonia for performance reasons.
Generic methods were added to this interface in #3055 to prevent boxing before we added `Logger.TryGet` (#4135 ).
Given that since we added `Logger.TryGet`, only enabled logging levels will result in a call to the logger, we can move back to using `params object[]` and boxing; removing the generic interface methods.
4 years ago
Benedikt Stebner
bdadb6a351
Fix GetTextBounds for mixed runs
4 years ago
Benedikt Stebner
a34e0f50e2
Bump
4 years ago
Benedikt Stebner
005907a93b
More hit testing fixes for embedded content runs
4 years ago
Tako
7c63e1a60b
Fix ContextMenu freeze.
4 years ago
Benedikt Stebner
0cdbd53bc3
Rewrite TextBounds test
4 years ago
Steven Kirk
6b2cedfcd1
Fix failing test.
It was probably not a good idea to test the contents of the template explicitly in unit tests, but here we are...
4 years ago
Steven Kirk
d1956d18b4
Scale ComboBox popup according to RenderTransform.
4 years ago
Benedikt Stebner
3e6bc0b48d
Some more hit testing fixes
4 years ago
Dariusz Komosinski
066c81b1ac
Another fix for WeakHashList. Added basic unit tests.
4 years ago
Steven Kirk
82835ef957
Use nested styles in Button template.
And related fixes to make this work.
4 years ago
Steven Kirk
6df672e4c0
Remove IAvaloniaPropertyVisitor.
It was only used internally in creating `ISetterInstance`s so add a virtual method to `AvaloniaProperty` to do this explicitly without generic virtual methods.
4 years ago
Steven Kirk
f9dbbb3da1
Make UpdateDataValidation non-generic.
4 years ago