danwalmsley
ccb400c851
fix linux script.
9 years ago
Dan Walmsley
d6cca36469
add nuget cache replace scripts.
9 years ago
Dan Walmsley
71dff48a7a
add fix for null reference exception when arranging.
added comments explaining the conditions that the bug occurs in.
(cherry picked from commit fa1f5bc8f9 )
9 years ago
Steven Kirk
33fd46c789
Quick and dirty hack to fix #1054
This fixes the problem decribed in #1054 but I think there's something wrong with the way we handle top level layout anyway and it's going to need refactoring soon.
(cherry picked from commit 7337a90fc1 )
9 years ago
Nikita Tsukanov
644708bb7c
Implemented mouse leave event for GTK3 backend
9 years ago
Nikita Tsukanov
f926d7886c
Fixed include condition for linux skia binaries
9 years ago
Steven Kirk
fb6229c6f3
Merge pull request #1050 from AvaloniaUI/fixes/874-fix-tilebrush-tiling
Added more ImageBrush tests.
9 years ago
Nikita Tsukanov
2d23cab586
Fixed Skia framebuffer bitmap test
9 years ago
danwalmsley
51fb646faf
Merge pull request #1046 from AvaloniaUI/fixes/566-set-handled-on-command-execution
Set e.Handled on command execution.
9 years ago
danwalmsley
8edf671667
Merge branch 'master' into fixes/566-set-handled-on-command-execution
9 years ago
danwalmsley
e56c897abb
Merge pull request #1048 from AvaloniaUI/fixes/277-treeview-keyboard-navigation
Fixed TreeView Keyboard Navigation
9 years ago
danwalmsley
eb9a8e1aac
Merge branch 'master' into fixes/277-treeview-keyboard-navigation
9 years ago
danwalmsley
b605d7a93e
Merge pull request #1047 from AvaloniaUI/fixes/854-left-click-button
Only respond to left click in Button.
9 years ago
Steven Kirk
7a5e9010a3
Added another passing ImageBrush test.
This tests what I though was a bug in #874 but comparing with WPF, it seems this is correct behavior.
9 years ago
Steven Kirk
730911fc0d
Added a couple more passing tile tests.
9 years ago
Steven Kirk
04dc48afef
Added missing doc comments.
9 years ago
Steven Kirk
c4aa2197b2
Fixed TreeView navigation.
Fixes #277 .
9 years ago
Steven Kirk
a1d6406ce9
Only set focus on left button click.
9 years ago
Steven Kirk
bb11b302b8
Added failing unit test for #277 .
9 years ago
Steven Kirk
3bee9e5557
Only respond to left click in Button.
Fixes #854 .
9 years ago
Steven Kirk
075cd4b9a4
Ensure menu gets closed.
If there's a `Command` binding for a `MenuItem` it will now swallow the `Click` event, meaning that the menu won't get closed. Listen for handled events too.
9 years ago
Steven Kirk
85e40b9c0b
Set e.Handled on command execution.
Otherwise the `Click` event bubbles upwards causing #566 .
Fixes #566
9 years ago
danwalmsley
8bf9b58e48
Merge pull request #1032 from AvaloniaUI/fixes/787-contentpresenter-updatechild
Refactored ContentPresenter
9 years ago
danwalmsley
4ec230b0b1
Merge branch 'master' into fixes/787-contentpresenter-updatechild
9 years ago
Nikita Tsukanov
85f2930557
[GTK3] More changes to workaround SafeHandle not being allowed to be null
9 years ago
Nikita Tsukanov
6ea0635c7f
[GTK3] Workaround for SafeHandle not allowed to be null
9 years ago
Nikita Tsukanov
8508dd5a58
Merge pull request #1042 from mterwoord/patch-2
Update from-wpf.md
9 years ago
Matthijs ter Woord
bf2a363ef6
Update from-wpf.md
Small typo in sample.
9 years ago
Steven Kirk
ceca72193f
Merge branch 'master' into fixes/787-contentpresenter-updatechild
9 years ago
Steven Kirk
2f301b2bcd
Merge pull request #1031 from AvaloniaUI/fixes/1029-fix-tooltip-crash
Fix exception in ToolTip.
9 years ago
Steven Kirk
30ce00b2e2
Merge remote-tracking branch 'origin/master' into fixes/787-contentpresenter-updatechild
9 years ago
Steven Kirk
94322e2c27
Merge branch 'master' into fixes/1029-fix-tooltip-crash
9 years ago
Steven Kirk
23f39b8f45
Merge pull request #1038 from AvaloniaUI/fixes/1035-reenable-skipped-tests
Fix intermittently failing Avalonia.Markup.UnitTests
9 years ago
Steven Kirk
d3dac57297
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/787-contentpresenter-updatechild
9 years ago
Steven Kirk
48f0c05522
Fix BindingNotification.ClearValue.
It should have been setting it to `UnsetValue` not null. This allows two skipped tests to pass.
9 years ago
Steven Kirk
641b796dc8
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/787-contentpresenter-updatechild
9 years ago
Steven Kirk
59e68a2cad
Merge branch 'fixes/787-contentpresenter-updatechild' of https://github.com/AvaloniaUI/Avalonia into fixes/787-contentpresenter-updatechild
9 years ago
Steven Kirk
ee40eee9e9
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/1029-fix-tooltip-crash
9 years ago
Steven Kirk
129378cad1
Added more GC.KeepAlive statements.
9 years ago
Steven Kirk
ef1039b865
Unskip another test.
9 years ago
Steven Kirk
3b3fbdbbd6
Use `DisableTestParallelization`
Instead of `MaxParallelThreads = 1` - that's how we do it in other assemblies.
9 years ago
Steven Kirk
7baa7dc0dd
Added GC.KeepAlive to tests.
Lots of `Avalonia.Markup.UnitTests` were failing intermittently. This is because in release mode, in a method like this:
```
[Fact]
public void SetValue_Should_Return_False_For_Missing_Object()
{
var data = new Class1();
var target = new ExpressionObserver(data, "Next.Bar");
using (target.Subscribe(_ => { }))
{
Assert.False(target.SetValue("baz"));
}
}
```
`data` can get GC'ed at any point after creating target. Added `GC.KeepAlive()` calls to prevent this.
Fixes #1035
Fixes #1036
Fixes #1037
9 years ago
Steven Kirk
78bb593f97
Use CurrentCulture instead of CurrentUICulture.
Use `CurrentCulture` instead of `CurrentUICulture` in converters etc. `CurrentUICulture` should be used for translations, `CurrentCulture` should be used for things like numbers, dates etc.
9 years ago
Steven Kirk
11586a4d4c
Don't have async void tests.
That's bad. Also un-skip binding expression tests.
9 years ago
Steven Kirk
a579dcc1f7
Merge branch 'master' into fixes/1029-fix-tooltip-crash
9 years ago
Steven Kirk
8df47eda2d
Merge pull request #1011 from AvaloniaUI/fixes/938-button-press-release
Only click when pointer is over the button.
9 years ago
Steven Kirk
9c22b1f10a
Merge branch 'master' into fixes/787-contentpresenter-updatechild
9 years ago
Steven Kirk
bb51776b36
Merge branch 'master' into fixes/938-button-press-release
9 years ago
Steven Kirk
a75dfb63a1
Merge branch 'master' into fixes/1029-fix-tooltip-crash
9 years ago
Steven Kirk
fc1308ef98
Merge pull request #1034 from AvaloniaUI/fixes/1033-dont-use-weakreference-in-bindingnotification
Don't use WeakReference in BindingNotification.
9 years ago