Nikita Tsukanov
84734f22e4
Disable strong name signing until SharpGen issue is resolved
5 years ago
Nikita Tsukanov
e4505ce861
Strong name support
6 years ago
Dariusz Komosiński
21b0a468fb
Parse key splines using invariant culture.
6 years ago
Dan Walmsley
f0c4e90c78
remove apicompat baselines.
6 years ago
Dan Walmsley
7d92a5183e
add baselines.
6 years ago
Dan Walmsley
451ee7c0b7
Revert "add baselines."
This reverts commit fd817c06b0 .
6 years ago
Dan Walmsley
fd817c06b0
add baselines.
6 years ago
Dan Walmsley
26d68e9958
add api diff to most projects.
6 years ago
Jumar Macato
4310585d7e
simplify parsing
6 years ago
Jumar Macato
dcaadd0fff
Split-off keysplinetypeconv
6 years ago
Jumar Macato
591a5ce005
remove redundant this call
6 years ago
Jumar Macato
3709ca92e0
use internal keyspline as backing field to save memory.
6 years ago
Jumar Macato
64d943c2b5
remove redundant base call
6 years ago
Jumar Macato
ea12af0778
address review and add unit tests
6 years ago
Jumar Macato
3f16bc5254
Update SplineEasing.cs
6 years ago
Jumar Macato
82f3c2f0c0
Add parser for spline easing
6 years ago
Jumar Macato
6f661f15a1
Add spline easing class
6 years ago
Steven Kirk
0694b22c51
Fix KeyNotFound exception in Animatable.
When transitions are replaced, add the new transitions before removing the old transitions, so that when the old transition being disposed causes the value to change, there is a corresponding entry in `_transitionStates`.
Also search the `Transitions` collection from last to first to find a matching transition, so that later added transitions have priority.
Fixes #4059
6 years ago
Jumar Macato
a2a1352065
Implement transition delay
6 years ago
Steven Kirk
8e7c0e1c59
Make Transitions a styled property.
This requires that a `<Transitions>` element is used to contain the transitions in XAML and a `new Transitions()` is used when assigning transitions from code.
6 years ago
Steven Kirk
83098e9923
Enable transitions for non-Visuals.
`Visual` knows when it's attached to the visual tree, so it can enable transitions then.
This is a hack due to the fact that non-Visuals currently don't know when to enable transitions.
6 years ago
Steven Kirk
1151c929ca
Seal OnPropertyChangedCore for now.
It's only likely to be needed by transitions, and overriding it will break transitions. We can unseal later if there's a user need for it.
6 years ago
Steven Kirk
d1fc5ee92e
Reworked transitions.
- Don't apply transitions before control is added to the visual tree
- Don't allow transitions on direct properties
- Ignore animated values when determining whether to trigger a transition
- Cancel transition when removed from `Transitions` collection
6 years ago
Deadpikle
996821b60b
Removed TODO now that behavior is verified with WPF
6 years ago
Steven Kirk
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
6 years ago
Deadpikle
4cf4bb953b
Update docs again (missed KeySplineTypeConverter)
6 years ago
Deadpikle
47c0282ae9
Update documentation
6 years ago
Deadpikle
24870351fa
Use KeySpline in Animation
6 years ago
Deadpikle
7e6f0b8265
Add KeySpline class from WPF source
6 years ago
Jumar Macato
bfa34b796b
Correctly process KeyTime to Cue by using TimeSpan.TotalSeconds instead of Ticks.
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
Yahia Chiheb
d50f33e912
Fix typo
6 years ago
Steven Kirk
8196e054b6
ValueOrDefault -> GetValueOrDefault.
To match `Nullable<T>`.
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
533c17a181
TransitionInstance with zero duration is now completed on first tick
6 years ago
mstr2
e1df65c94b
Failing unit test for #3197
6 years ago
Dariusz Komosiński
15e15f227f
Fix double dispose of bindings caused by animations. Add assertion for double dispose.
7 years ago
Jumar Macato
43ed3e2964
Fix transitions since the last PR.
7 years ago
Jumar Macato
d368d9675a
Address review.
7 years ago
Jumar Macato
b8e4909b10
Restore Lazy Init to avoid API break.
7 years ago
Jumar Macato
64fdb5828e
un-LINQ the Transition property matching codepath.
7 years ago
Jumar Macato
d176b1d7dc
Fix unit tests.
7 years ago
Jumar Macato
87245c90b4
Fixes: part 2 of n.
7 years ago
Jumar Macato
c64cc02ec6
Move transitions initializer to setter.
7 years ago
Jumar Macato
26b8fd6a05
Add transitions unit test.
7 years ago
Jumar Macato
b94f5975eb
Remove extra space.
7 years ago
Jumar Macato
e06a9dffc3
Partially revert Transition interpolation clamp.
7 years ago
Steven Kirk
4a386d1b84
Added skipped failing leak test for transitions.
It's leaking on master too, so address this separately.
7 years ago
Jumar Macato
3b93e72d45
Dont initialize transition instance dictionary on objects without Transitions on it.
7 years ago