9 Commits (8874143a82de4cfe710870dc11bf95c6ea1bcd1f)

Author SHA1 Message Date
Jeremy Koritzinsky 45f37dfd1e Remove cleanup since it was slowing down ControlCatalog. 8 years ago
Jeremy Koritzinsky 1ad7f27cf9 Make DeferredSetter tied to AvaloniaProperty and use a regular Dictionary. Remove SettingStatus entries for bindings from the dictionary for bindings that don't create a queue of pending values. 8 years ago
Jeremy Koritzinsky 00f8dfabc0 Use SingleOrQueue instead of Queue in DeferredSetter. Make sure tests pass. 8 years ago
Jeremy Koritzinsky 1cfc9fe47f Remove extraneous documentation comment. 9 years ago
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. 9 years ago
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. 9 years ago
Jeremy Koritzinsky ca9a4c4128 PR Feedback. 9 years ago
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. 9 years ago
Jeremy Koritzinsky add5f0451b DelayedSetter -> DeferredSetter 9 years ago
Jeremy Koritzinsky d775d2384e Refactor AvaloniaObject.SetAndRaise and comment DelayedSetter. 9 years ago
Jeremy Koritzinsky a87ee4e49d Clean up DelayedSetter code. 9 years ago
Jeremy Koritzinsky 36fe461b4a Have PriorityValue use SetAndNotify infrastructure. 9 years ago
Jeremy Koritzinsky 8acf94d3e4 Fix bug in DelayedSetter and change recursive delayed setting to prevent possible issues down the road. 9 years ago
Jeremy Koritzinsky da8267ade7 Fix last binding test. Two-way bindings via the indexer binding should not cause a PriorityBindingEntry to be created in the target. So instead use SetValue + GetObservable (similar to our higher level implementations in Avalonia.Markup). 9 years ago
Jeremy Koritzinsky 8eb355e99d Fix SelectedItem stack overflow bug. Changes of this pattern are basically required for any direct property that is not using SetAndRaise. 9 years ago
Jeremy Koritzinsky b5ee3077bc Fix direct properties by delaying setting values until after any currently running property changed notifications for this property finish running. 9 years ago