Max Katz
10a0f6ac57
Merge pull request #8119 from AvaloniaUI/feature/ireflectabletype
Added support for IReflectableType in InpcPropertyAccessorPlugin
4 years ago
Nikita Tsukanov
97f9484fe6
Merge pull request #7301 from AvaloniaUI/feature/register-weak-event
Added reflection-free API for weak events
# Conflicts:
# src/Avalonia.Controls/ApiCompatBaseline.txt
4 years ago
Max Katz
763a3e6a29
Merge pull request #6992 from workgroupengineering/features/Issue_6984
feat(Style): Allow to using attached properties in attribute selector
4 years ago
Jumar Macato
cf91a06ce4
Merge pull request #6915 from AvaloniaUI/update/samples-tests-net6
Update samples/tests to net6.0
4 years ago
Jumar Macato
608cd98e86
Merge pull request #6381 from AvaloniaUI/feature/nth-child
NthChild and NthLastChild selectors support
4 years ago
Dariusz Komosinski
7475354709
Add more mono trickery
5 years ago
Dan Walmsley
8ac7127809
sign more test assemblies
5 years ago
Andrey Kunchev
d1cf6fc9be
fix failing test
5 years ago
workgroupengineering
47d6ba61dd
Update tests/Avalonia.Markup.UnitTests/Extensions/IEnummerableExtension.cs
fixes code smell
Co-authored-by: Dariusz Komosiński <darek.komosinski@gmail.com>
5 years ago
Giuseppe Lippolis
411b227834
Adding test
5 years ago
Giuseppe Lippolis
c98918bc2a
Update tests
5 years ago
Steven Kirk
ed43a5753a
Handle BindingNotifications in LogicalNotNode.
Fixes handling binding notifications in `LogicalNotNote`. Previously if a `!` was placed in a binding that produced a `BindingNotification`, then `LogicalNotNode` tried to convert the `BindingNotification` to `bool` and failed, throwing an exception. Handle this properly.
6 years ago
Steven Kirk
5e16897137
Unwrap BindingNotification in MultiBinding.
And add some unit tests.
6 years ago
Dariusz Komosinski
3b7d8574e8
Try matching for INPC before matching methods.
6 years ago
Steven Kirk
5397efc4f0
Remove some left-over copyright headers.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
30e8cac05d
Update to .NET core 3.1.
6 years ago
José Pedro
1ba4c68a35
Implemented TargetNullValue for bindings.
6 years ago
Steven Kirk
b8717bf6dc
Tidy up API.
6 years ago
Steven Kirk
6be3acb46c
Make ValueStore typed.
Major refactor of the Avalonia core to make the styled property store typed.
6 years ago
artyom
00a148d0a3
Try with WaitForPendingFinalizers
6 years ago
Steven Kirk
15e388da75
Adding failing binding tests.
- `OneTime` bindings are failing to release their subscription if the `DataContext` is unset when the binding is made.
- Combining `OneTime` and `OneWayToSource` bindings are causing an NRE. The NRE is being caught but it too results in a subscription being leaked.
6 years ago
Steven Kirk
661254c9cf
Add issue number to test.
6 years ago
Dariusz Komosiński
9acf82d47b
!B Fix expression nodes not knowing if last value is actually null or dead.
6 years ago
Steven Kirk
49f54b5275
Added failing test for #2912 .
6 years ago
Dariusz Komosinski
5f1a003e4f
Add failing unit test for TwoWay binding issue.
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
OronDF343
b519ecc121
Support StringFormat without Converter in MultiBinding
7 years ago
Steven Kirk
d22282c151
Added failing tests for #2470 .
7 years ago
OronDF343
d065568be9
Added MultiBinding.StringFormat + Relevant unit tests
7 years ago
Steven Kirk
89d969b367
Added selector comma operator.
The comma selector can be used to separate a number different selectors, all of which will be applied to the control with an OR.
Fixes #1742
7 years ago
Steven Kirk
d37615bea8
Added failing test for #1898 .
Plus a couple of other empty binding path tests.
7 years ago
Steven Kirk
d991173296
Added tests for #2316 .
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Steven Kirk
d75af69307
Fix tests.
7 years ago
Nikita Tsukanov
feadefc1a1
Run Mono/FullNET tests for all "core" libs except Avalonia.Controls
7 years ago
Andrey Kunchev
741154d653
add more failing tests more specific to the particular problem in binding with complex property path like property.item1.item2.item3
7 years ago
Andrey Kunchev
617b5708c2
add failing tests for Relative Source in Binding
7 years ago
Andrey Kunchev
a955f73a3e
failing unittest for nested multibinding
7 years ago
Jeremy Koritzinsky
e0be7353a8
Fix tests that broke from the API change.
8 years ago
Steven Kirk
b163892a7d
Make TemplateBinding.Converter work.
Also:
- Add some unit tests
- Make `TwoWay` bindings back to the parent control work at `LocalValue` priority
Fixes 1737
8 years ago
Steven Kirk
0945478357
Fix grammar.
8 years ago
Steven Kirk
6a14747eb6
StringFormatConverter -> StringFormatValueConverter
8 years ago
Steven Kirk
70440517ca
Initial implementation of StringFormat.
XAML tests failing because of https://github.com/cwensley/Portable.Xaml/pull/106
8 years ago
Jeremy Koritzinsky
1b2d644e48
Make tests in Avalonia.Base.UnitTests use ExpressionObserver.Create. For tests that require using invalid members or are more tedious to test with expression trees, test them in Avalonia.Markup.UnitTests with ExpressionObserverBuilder.
8 years ago
Jeremy Koritzinsky
44aaa33dc3
Clean up package dependencies.
8 years ago
Jeremy Koritzinsky
4040216ff8
Span-ify our homebrew parser's 'public' API.
8 years ago
Jeremy Koritzinsky
2f087c350c
Create new Selector parser that does not have a dependency on Sprache.
8 years ago
Jeremy Koritzinsky
af186e3529
Move string-based binding paths up to Avalonia.Markup. Make the LINQ Expression paths and raw ExpressionNodes (now public) the primarily supported syntax.
8 years ago