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
edf2018149
Refactored tests to move XAML Binding class tests into Avalonia.Markup.Xaml.UnitTests.
9 years ago
Jeremy Koritzinsky
4469bafe28
Fix incorrect assert in RangeBaseTests.
9 years ago
Jeremy Koritzinsky
e9e0de662b
Fix NRE
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
440f2cafc5
Fix SelectedItemsControl and RangeBase Stackoverflow bugs.
9 years ago
Jeremy Koritzinsky
6486ffc77f
Apply fix to PriorityValue, which works for StyledProperty bindings where the bindings don't have the same priority.
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
Jeremy Koritzinsky
f8c4a890c6
Merge branch 'master' into issues/855_test
9 years ago
Nikita Tsukanov
bbfc07b98d
Screw wayland, we aren't dealing with "you can't set window coordinates" right now
9 years ago
Steven Kirk
4d0d1ff1c2
Merge pull request #1239 from ARSolog/patch-1
Update DataAnnotationsValidationPluginTests.cs
9 years ago
Jeremy Koritzinsky
8be9cc6a2c
Merge pull request #1238 from AvaloniaUI/fixes/507-selectedindex-binding
Notify DataContextChanged down tree.
9 years ago
ARSolog
9539979a6e
Update DataAnnotationsValidationPluginTests.cs
fix unit test to non 'en-us' CultureInfo
9 years ago
Jeremy Koritzinsky
e29e4d311e
Merge branch 'master' into fixes/507-selectedindex-binding
9 years ago
Nikita Tsukanov
3e0dbf9a17
Pin mono version to 5.2.0
9 years ago
Steven Kirk
98a3974fb6
Merge branch 'master' into fixes/507-selectedindex-binding
9 years ago
Steven Kirk
6413d4d39f
Merge pull request #1236 from AvaloniaUI/fixes/rendertest-orientation
Fix RenderTest default orientation.
9 years ago
Steven Kirk
181dd53e58
Notify DataContextChanged down tree.
When a data context changes, it should be notified to all descendant controls who inherit the data context. This allows the `SelectingItemsControl` to defer setting the selected item until the `DataContext` has changed for the whole tree.
Renamed `OnDataContextChanging`/`OnDataContextChanged` to `OnDataContextBeginUpdate`/`OnDataContextEndUpdate` because `DataContextChanged` is now called from the property changed notification.
Fixes #507 .
9 years ago
Steven Kirk
ca0e346f49
Added failing test for #507 .
9 years ago
Steven Kirk
ebb83a4434
Merge pull request #1227 from jkoritzinsky/RemoveUnneededMarkupExtensions
Remove unneeded markup extensions
9 years ago
Steven Kirk
aebd1dad6a
Merge branch 'master' into RemoveUnneededMarkupExtensions
9 years ago
danwalmsley
1d8e950fdf
Merge pull request #1237 from jkoritzinsky/fixes/1234
Mark properties tracked by all of our XAML property types as not unknown.
9 years ago
Jeremy Koritzinsky
871d689445
Mark properties tracked by all of our XAML property types as not unkown.
9 years ago
Steven Kirk
55b9b1369c
Merge pull request #1233 from AvaloniaUI/fixes/1218-setter-oneway-binding
Correctly clone binding in Style.
9 years ago
Jeremy Koritzinsky
a38dfada10
Fix malformed XAML
9 years ago
Steven Kirk
7f16137f90
Fix RenderTest default orientation.
7cb4485d changed the order of the `Orientation` enum members to match WPF but didn't change the default in `RenderTest` which caused it to display horizontal by default. Fix this.
9 years ago
Steven Kirk
dede306531
Fixed #1218
9 years ago
Steven Kirk
ca7584ce3f
Added failing test for #1218
9 years ago
danwalmsley
f796b33df4
Merge pull request #1231 from AvaloniaUI/override-redirect-for-popups
[GTK3] Special resize handling for popups
9 years ago
Nikita Tsukanov
4e98c34940
[GTK3] Skip resize part of configure event if OverrideRedirect=true
9 years ago
Nikita Tsukanov
17337882b3
[GTK3] Special resize handling for popups
9 years ago
Nikita Tsukanov
0c658cf7d8
Merge pull request #1228 from AvaloniaUI/UpdatePortableXaml
Update Portable.Xaml
9 years ago
Jeremy Koritzinsky
7f455e945d
Update Portable.Xaml
9 years ago
Jeremy Koritzinsky
745517f68e
Updated usage of Static and Type to be x:Static and x:Type.
9 years ago
Jeremy Koritzinsky
b0a1f3f3df
Update tests to use `x:Static`.
9 years ago
Jeremy Koritzinsky
4ecbea9d5e
Remove unneeded markup extensions.
9 years ago
Jeremy Koritzinsky
f51271e5bd
Merge pull request #1225 from brandonhood/patch-1
Update Control.cs
9 years ago
Jeremy Koritzinsky
81fa0bb09d
Merge pull request #1223 from AvaloniaUI/fixes/1221-getvisualsat-returns-non-children
Supply root to IRenderer.HitTest.
9 years ago
brandonhood
ac9a8d74b8
Update Control.cs
Updated the setter for Name to use IsNullOrWhiteSpace to both protect against null and do the emptiness check
9 years ago
danwalmsley
e66d0dbac0
Merge branch 'master' into fixes/1221-getvisualsat-returns-non-children
9 years ago
Nikita Tsukanov
a3eb9e0da4
Docs are now living at https://github.com/AvaloniaUI/avaloniaui.net
So long and thanks for the fish
9 years ago
Nikita Tsukanov
35e1ddc104
Merge pull request #1193 from Worldbeater/patch-1
Update readme.md
9 years ago
danwalmsley
cb6775eebc
Merge branch 'master' into fixes/1221-getvisualsat-returns-non-children
9 years ago
Steven Kirk
880cf657ec
Accept root in IRenderer.HitTest.
Fixes #1221 .
9 years ago