Miha Markič
|
eb93c9f4a7
Spellchecks comments and code in Avalonia.Base
|
vor 7 Jahren |
Jeremy Koritzinsky
|
00f8dfabc0
Use SingleOrQueue instead of Queue in DeferredSetter. Make sure tests pass.
|
vor 7 Jahren |
Jeremy Koritzinsky
|
f11f5bc154
Get rid of static deferredSetter used for PriorityValues. Use a single DeferredSetter for both styled and direct properties.
|
vor 7 Jahren |
Steven Kirk
|
27daffeb3e
Abstracted storage of styled values into ValueStore.
|
vor 7 Jahren |
Jeremy Koritzinsky
|
a02515fe19
Make pending set condition always !object.Equals since the other condition in PriorityValue didn't match expected behavior as per new unit tests.
|
vor 8 Jahren |
Jeremy Koritzinsky
|
4df484d047
Merge branch 'master' into issues/855_test
|
vor 8 Jahren |
Jeremy Koritzinsky
|
05eda280de
Refactor DeferredSetter logic to allow passing references to backing fields and utilizing that in all usages. Refactor SetAndRaise logic to be combined and simplified between the two use cases. Now the common case delegates to the less specialized case.
|
vor 8 Jahren |
Jeremy Koritzinsky
|
ca9a4c4128
PR Feedback.
|
vor 8 Jahren |
Jeremy Koritzinsky
|
d8efff505d
Clean up formatting. Fix bug in PriorityValue usage of DeferredSetter. Change DeferredSetter to use ConditionalWeakTable to not hold strong references to PriorityValue objects.
|
vor 8 Jahren |
Steven Kirk
|
d0be429bd2
Tried to make IsAnimating logic clearer.
|
vor 8 Jahren |
Steven Kirk
|
409e40c8be
Added AvaloniaObject.IsAnimating(property).
|
vor 8 Jahren |
Jeremy Koritzinsky
|
add5f0451b
DelayedSetter -> DeferredSetter
|
vor 8 Jahren |
Jeremy Koritzinsky
|
36fe461b4a
Have PriorityValue use SetAndNotify infrastructure.
|
vor 8 Jahren |
Jeremy Koritzinsky
|
8acf94d3e4
Fix bug in DelayedSetter and change recursive delayed setting to prevent possible issues down the road.
|
vor 8 Jahren |
Jeremy Koritzinsky
|
6486ffc77f
Apply fix to PriorityValue, which works for StyledProperty bindings where the bindings don't have the same priority.
|
vor 8 Jahren |
Steven Kirk
|
3eb5e0e200
Tweaked logging of binding errors.
|
vor 8 Jahren |
Nikita Tsukanov
|
0b756d0b8a
More null checks
|
vor 8 Jahren |
Steven Kirk
|
c9e90fd7fc
Fix type conversions.
|
vor 8 Jahren |
Steven Kirk
|
a46be4e200
Ensure correct thread for AvaloniaProperty access.
|
vor 8 Jahren |
Jeremy Koritzinsky
|
3640d4dc1b
Implemented optimization to only construct a dictionary for priority levels if there is more than one in use. This drops memory consumption in most applications by a reasonable amount since most don't use multiple bindings on single properties (like animation and a local binding).
|
vor 9 Jahren |
Steven Kirk
|
c9d3408c29
Improve numerical binding error messages.
|
vor 9 Jahren |
Steven Kirk
|
a560c3b6d3
Use WeakReference in BindingNotification.
|
vor 9 Jahren |
Steven Kirk
|
06b0d15fc2
Surface BindingNotifications in AvaloniaObject.
|
vor 9 Jahren |
Steven Kirk
|
4fe2a3d86c
Removed vestiges of old data validation.
|
vor 9 Jahren |
Steven Kirk
|
0d4a613580
Updated some docs.
|
vor 9 Jahren |
Steven Kirk
|
abdbcac79d
Added BindingNotification.
|
vor 9 Jahren |
Steven Kirk
|
5c33fbc6ee
Reimplemented property validation.
|
vor 9 Jahren |
Steven Kirk
|
5be41985c3
Renamed Perspex -> Avalonia
|
vor 9 Jahren |