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
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
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
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
robloo
a389f7b0d8
Fix ColorPicker project references
4 years ago
robloo
cf654da43f
Add separate Avalonia.Controls.ColorPicker project
4 years ago
robloo
c7e0a68f27
Support RGB component percentages in CSS format parsing
4 years ago
Tako
fd5e2169c1
reimplementation and some tests
4 years ago
Rustam Sayfutdinov
578f5fc1cb
Fix PlatformSupport.UnitTests
4 years ago
Dariusz Komosiński
832afd2b46
Apply optimization to Pen as well.
4 years ago
Dariusz Komosiński
6700fd851b
Add a benchmark case for affects render.
4 years ago
Max Katz
8fba608156
Add more tests for pointerover
4 years ago
Dariusz Komosiński
a2bcd8a9c9
Remove dependency on fluent theme.
4 years ago
Steven Kirk
fb0da85ad3
Merge core libraries. ( #5831 )
* Merge core libraries.
Everything below `Avalonia.Controls` into `Avalonia.Base`.
* Move new files to correct place.
* Removed unused dirs/projects,
* Removed outdated references from theme assemblies.
* Merge unit tests to match new assembly layout.
* Fixup test namespaces.
* Make directory match namespace.
* Move files to match namespace.
* Move files to match namespace.
* Fix up incorrect namespace.
`Avalonia.Visuals.Media.Imaging` -> `Avalonia.Media.Imaging`.
* Fix resource URL.
* Removed outdated dependencies.
* Added missing project reference.
* Update test namespaces.
* Fix merge error.
* Fix merge errors.
* Fix bad merge in WindowsInteropTest.csproj.
* Fix up merge errors in csprojs.
* Remove merged tests from nuke.
* Fix up namespace.
* Fix compile error.
* Fix failing tests.
Now that more unit tests are present in Avalonia.Base.UnitTests, general `AvaloniaObject` properties are getting registered. Ignore those.
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Dariusz Komosiński
55e681a326
Add more benchmark cases.
4 years ago
Dariusz Komosiński
64cce62e7b
Benchmark for finding resources.
4 years ago
Steven Kirk
d42a936478
Remove virtual generic methods from ValueStore.
4 years ago
Steven Kirk
f8706278a8
Make OnPropertyChanged non-generic.
4 years ago
Steven Kirk
5763a914fe
Remove generics from IAvaloniaObject.
4 years ago
Steven Kirk
a0ec91ec01
Added additional benchmarks.
Testing performance of low-level mechanisms.
4 years ago
robloo
b8d863c000
Add full color parsing tests (all CSS and Avalonia formats)
4 years ago
robloo
a4c5944e4f
Add HslColor and HsvColor parsing tests
4 years ago
Steven Kirk
898b0fa285
Disable focus test on mac.
Because I can't work out how to implement the extremely advanced use-case of finding out whether a control is focused there /s
4 years ago
Steven Kirk
bbf7bee56a
Fix unopened toplevel menu selection with down key.
4 years ago
Steven Kirk
909e9c57da
Add failing menu tests for click + arrow select.
4 years ago
Steven Kirk
5d35ac324f
Additional menu integration tests.
4 years ago
Steven Kirk
69f96d5b44
Added failing integration test for #7906 .
4 years ago
Adir Hudayfi
bbf3099a8f
Fixed memory leak when DataGrid is attached to INotifyCollectionChanged
4 years ago
dependabot[bot]
baca1246e2
Bump minimist
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
cfd39e0afb
Bump ansi-regex
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Benedikt Stebner
59d8f86509
Better WPF compat
Disable run sort
4 years ago
Benedikt Stebner
4f283dca13
Fix some tests
4 years ago
Benedikt Stebner
e7e7a95e5d
Try to fix GetDistanceFromCharacterHit for drawable runs
4 years ago
Benedikt Stebner
55d28216a7
Use ForgroundProperty directly where possible
4 years ago
Benedikt Stebner
9250d93407
Implement embedded runs
Improve text edit navigation
Implement IncrementalTabWidth
4 years ago
Tim
a3b5ee8375
Adding Test for BindingDisposable
4 years ago