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.
7 years ago
Steven Kirk
661254c9cf
Add issue number to test.
7 years ago
Dariusz Komosiński
9acf82d47b
!B Fix expression nodes not knowing if last value is actually null or dead.
7 years ago
Steven Kirk
49f54b5275
Added failing test for #2912 .
7 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
8 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
Jeremy Koritzinsky
b38b46a280
PR Feedback.
8 years ago
Jeremy Koritzinsky
da0ab8b681
Move the styling system up the stack to live right below Avalonia.Animation since it has no dependencies on anything further down the dependency chain
8 years ago
Jeremy Koritzinsky
cf8244b37a
Move current contents of Avalonia.Markup to Avalonia.Base. Move Avalonia.Markup.Xaml.Data/Parser classes to Avalonia.Markup since they're not Xaml-specific.
Use pattern-matching switch.
Fix bug from cleanup.
8 years ago
Jeremy Koritzinsky
e8c32bf801
Preliminary support. Indexers require more work since the compiler doesn't generate IndexExpressions (they weren't in S.L.Expressions v1 so they aren't auto-genned).
8 years ago
Jeremy Koritzinsky
8d8480c086
Allow indexer bindings to be at the start of a binding path.
8 years ago
Benedikt Schroeder
73ca7334ee
Initial
8 years ago
Benedikt Schroeder
eafb8cde9e
revert BindingExpressionTests
8 years ago
Benedikt Schroeder
87cc247100
fix tests
8 years ago
Steven Kirk
30e78dc5b6
Only run unit tests on .net core.
This allows us to run them on linux.
8 years ago
Steven Kirk
7458f28ca9
Fix intermittently failing test.
Fixed in https://ci.appveyor.com/project/AvaloniaUI/Avalonia/build/0.1.4466 : this should prevent that by keeping both of the data objects alive.
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
8 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
8 years ago
ARSolog
8a8a6de9a6
Update ExpressionObserverTests_DataValidation.cs
fix Validation_Plugins_Send_Correct_Notifications to non 'en-us' CultureInfo.
9 years ago
ARSolog
9539979a6e
Update DataAnnotationsValidationPluginTests.cs
fix unit test to non 'en-us' CultureInfo
9 years ago
Jeremy Koritzinsky
54e8187a70
Fix StackOverflow in Negation Binding. Fixes #1213
9 years ago
Jeremy Koritzinsky
81168ac094
Add error handling for methods with too many parameters. Add support for static methods.
9 years ago
Jeremy Koritzinsky
250f6acef0
Add delegate -> command conversion as a default value conversion.
9 years ago
Jeremy Koritzinsky
12ec059acb
Initial code to enable binding to a method.
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago