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
Andrey Kunchev
3dc5b8bda1
add failing test for the core reason of the issue #3692
6 years ago
Andrey Kunchev
ec92b90e81
add a test for multibinding with StringFormat
6 years ago
Andrey Kunchev
50deb04e7a
add failing unit test for #3692
6 years ago
Andrey Kunchev
613ba3ffd2
add another test for multibinding
6 years ago
Andrey Kunchev
7f0c502c29
add simple unit test for multibinding
6 years ago
Steven Kirk
30e8cac05d
Update to .NET core 3.1.
6 years ago
Steven Kirk
b82ca9aca9
Add an AvaloniaProperty visitor.
We already have some specific internal methods for routing certain methods via an untyped property to a typed property, but adding support for the visitor pattern allows us to support arbitrary use-cases.
6 years ago
Steven Kirk
2e99fa9a91
Make setting styled values disposable.
6 years ago
Steven Kirk
8b03d32128
Added failing test for #3584 .
6 years ago
Steven Kirk
f79b58cc55
Added failing test possibly for #3466 .
Not sure if this is the cause of #3466 , but it's definitely wrong.
6 years ago
Steven Kirk
11a8c01ef1
Added failing tests for #3545 .
`PropertyChanged` is not being fired when binding is disposed. Also change some other unit tests to ensure that priority passed in event args is correct.
6 years ago
Steven Kirk
3bc1594dca
Revert "Removed unused field."
This reverts commit 270f9718b8 .
6 years ago
Steven Kirk
89ba4a6327
Prevent tests interfering with other tests.
6 years ago
Steven Kirk
7f26635efa
Wire up validation/coercion for attached properties.
6 years ago
Steven Kirk
270f9718b8
Removed unused field.
6 years ago
Steven Kirk
35bd69f23c
Remove AvaloniaProperty.Initialized.
It was only needed for pseudoclasses. Move pseudoclass registration to an engine that doesn't require `AvaloniaProperty.Initialized`, implemented in `PseudoclassEngine`.
6 years ago
Steven Kirk
0f04f4d01a
Add WPF-style property coercion.
6 years ago
Steven Kirk
aa81db75a0
Added WPF-style validation for AvaloniaProperty.
6 years ago
Steven Kirk
d5dc470416
Fixed issue with LocalValue and bindings.
6 years ago
José Pedro
1ba4c68a35
Implemented TargetNullValue for bindings.
6 years ago
Steven Kirk
b8717bf6dc
Tidy up API.
6 years ago
Steven Kirk
0cfa15913d
Remove ignored validate parameter.
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
mstr2
5fea821c94
Failing test for bug #3170
6 years ago
Dariusz Komosinski
06a4a1af5b
Add failing unit test.
6 years ago
Dariusz Komosinski
5afc0f5395
Unify AddRange and InsertRange. Fix ranged versions causing multiple enumerations. Get rid of unnecessary allocations (notifications, enumerators).
7 years ago
all.owing
6dbe617ed6
One more tests fix
7 years ago
Dariusz Komosinski
868b5ea840
Update WeakReference usages to use the generic one.
7 years ago
Dariusz Komosinski
ad994a685c
Fix PriorityValue usage of DeferredSetter. Implement slower path in DeferredSetter that deals with callbacks.
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Steven Kirk
67bd1b8d86
Added failing tests for #1701 .
7 years ago
Nikita Tsukanov
4af9b22c59
Introduced WeakEventHandlerManager
7 years ago
mstr2
039991da68
Fixed a bug where AddOwner would add a property to AvaloniaPropertyRegistry's property list more than once
7 years ago
mstr2
9d3fd84a7a
Fixes a bug where properties would be added multiple times to the global AvaloniaPropertyRegistry._properties list.
7 years ago
Steven Kirk
302bf55b8a
Added failing tests for #1099 .
7 years ago
Steven Kirk
f3029d3346
Added failing test for #2203 .
7 years ago
Nikita Tsukanov
feadefc1a1
Run Mono/FullNET tests for all "core" libs except Avalonia.Controls
7 years ago
Nikita Tsukanov
4b234f73df
Run Avalonia.Base.UnitTests on netfx/mono
7 years ago
Jeremy Koritzinsky
44bf2ee721
Add unit test and fix #2149 .
7 years ago
Andrey Kunchev
7136750d6b
add failing unittests for derivedlist
7 years ago
Steven Kirk
bca37513b4
Added failing test for disposing completed binding.
8 years ago
Steven Kirk
5210926c03
Disallow setting unregistered properties.
8 years ago
Jeremy Koritzinsky
e2020f3012
Fix mock setup.
8 years ago
Jeremy Koritzinsky
00f8dfabc0
Use SingleOrQueue instead of Queue in DeferredSetter. Make sure tests pass.
8 years ago
Steven Kirk
27daffeb3e
Abstracted storage of styled values into ValueStore.
8 years ago
Steven Kirk
0c078c9dec
Don't use rx for ExpressionNodes.
`ExpressionNode`s were always single-subscriber and making them use `IObservable<>` meant that we had to have extra allocations in order to return `IDisposable`s. Instead of using `IObservable` use a simpler `Subscribe`/`Unsubscribe` pattern. This saves a bunch more memory.
8 years ago
Steven Kirk
a3dea23560
Use LightweightObservableBase for BindingExpression.
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
c6c51dd36f
Add pattern-based support for streaming. Fix bugs in method bindings.
8 years ago