danwalmsley
8bf9b58e48
Merge pull request #1032 from AvaloniaUI/fixes/787-contentpresenter-updatechild
Refactored ContentPresenter
10 years ago
danwalmsley
4ec230b0b1
Merge branch 'master' into fixes/787-contentpresenter-updatechild
10 years ago
danwalmsley
7eae620615
Merge branch 'master' into d2d-netstandard
10 years ago
Nikita Tsukanov
85f2930557
[GTK3] More changes to workaround SafeHandle not being allowed to be null
10 years ago
Nikita Tsukanov
6ea0635c7f
[GTK3] Workaround for SafeHandle not allowed to be null
10 years ago
danwalmsley
e7c8e8e47a
Merge branch 'master' into scenegraph
10 years ago
Nikita Tsukanov
8508dd5a58
Merge pull request #1042 from mterwoord/patch-2
Update from-wpf.md
10 years ago
Matthijs ter Woord
bf2a363ef6
Update from-wpf.md
Small typo in sample.
10 years ago
Steven Kirk
658a1d3d04
Fix scrollwheel scrolling in TreeView/ListBox.
10 years ago
Steven Kirk
cb9e9a196d
Don't try to create a framebuffer of size 0.
10 years ago
danwalmsley
a4518035f7
Merge branch 'master' into scenegraph
10 years ago
Steven Kirk
dc7a50812d
Fix d2d interop sample sharpdx packages.
10 years ago
Steven Kirk
ceca72193f
Merge branch 'master' into fixes/787-contentpresenter-updatechild
10 years ago
Steven Kirk
79a192adda
Change cast to `as` operator.
Damn brane.
10 years ago
Steven Kirk
b28bc7c65a
Convert brushes to immutable brushes in FormattedTextImpl.
They need to be accessed from the render thread.
10 years ago
Steven Kirk
ec80b12e97
Check for null from Scene.FindNode.
Scene.FindNode(layerRoot) may return null if the layer root has been hidden.
10 years ago
Steven Kirk
dc20897915
GeometryNode.Pen may be null.
10 years ago
Steven Kirk
6bc9636896
Make Avalonia.Direct2D1 target netstandard1.3
It can't target netstandard1.1 because that doesn't include `FileStream`. Had to update the samples to net4.6.1 because of this.
10 years ago
Steven Kirk
2f301b2bcd
Merge pull request #1031 from AvaloniaUI/fixes/1029-fix-tooltip-crash
Fix exception in ToolTip.
10 years ago
Steven Kirk
30ce00b2e2
Merge remote-tracking branch 'origin/master' into fixes/787-contentpresenter-updatechild
10 years ago
Steven Kirk
94322e2c27
Merge branch 'master' into fixes/1029-fix-tooltip-crash
10 years ago
Steven Kirk
23f39b8f45
Merge pull request #1038 from AvaloniaUI/fixes/1035-reenable-skipped-tests
Fix intermittently failing Avalonia.Markup.UnitTests
10 years ago
Nikita Tsukanov
92083e1dfe
Merge branch 'master' into extract-layout-manager
10 years ago
Steven Kirk
d3dac57297
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/787-contentpresenter-updatechild
10 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.
10 years ago
Steven Kirk
641b796dc8
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/787-contentpresenter-updatechild
10 years ago
Steven Kirk
59e68a2cad
Merge branch 'fixes/787-contentpresenter-updatechild' of https://github.com/AvaloniaUI/Avalonia into fixes/787-contentpresenter-updatechild
10 years ago
Steven Kirk
ee40eee9e9
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/1029-fix-tooltip-crash
10 years ago
Steven Kirk
129378cad1
Added more GC.KeepAlive statements.
10 years ago
Steven Kirk
ef1039b865
Unskip another test.
10 years ago
Steven Kirk
3b3fbdbbd6
Use `DisableTestParallelization`
Instead of `MaxParallelThreads = 1` - that's how we do it in other assemblies.
10 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
10 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.
10 years ago
Steven Kirk
11586a4d4c
Don't have async void tests.
That's bad. Also un-skip binding expression tests.
10 years ago
Steven Kirk
a579dcc1f7
Merge branch 'master' into fixes/1029-fix-tooltip-crash
10 years ago
Steven Kirk
8df47eda2d
Merge pull request #1011 from AvaloniaUI/fixes/938-button-press-release
Only click when pointer is over the button.
10 years ago
Steven Kirk
9c22b1f10a
Merge branch 'master' into fixes/787-contentpresenter-updatechild
10 years ago
Steven Kirk
bb51776b36
Merge branch 'master' into fixes/938-button-press-release
10 years ago
Steven Kirk
a75dfb63a1
Merge branch 'master' into fixes/1029-fix-tooltip-crash
10 years ago
Steven Kirk
fc1308ef98
Merge pull request #1034 from AvaloniaUI/fixes/1033-dont-use-weakreference-in-bindingnotification
Don't use WeakReference in BindingNotification.
10 years ago
Steven Kirk
f59e080936
Merge branch 'master' into fixes/1033-dont-use-weakreference-in-bindingnotification
10 years ago
Steven Kirk
488d6e908f
Merge pull request #1019 from wieslawsoltes/FixInvariantCultureFixture
Fix invariant culture fixture
10 years ago
Steven Kirk
bcc3ca13ae
Don't use WeakReference in BindingNotification.
It's a bad idea - if you put say a `3` into a `BindingNotification`, that `int` will get boxed and then put into a `WeakReference`, which means that the `3` can get GC'd. That's not a desireable behavior!
10 years ago
Steven Kirk
b2a6890167
Merge branch 'master' into FixInvariantCultureFixture
10 years ago
Steven Kirk
af50118162
Added missing method.
Why didn't you notice that before, VS?
10 years ago
Steven Kirk
a232b137b5
Allow reuse of existing tooltip popup.
To do this, had to fix a problem where templated children weren't notified of being re-attached to a logical tree.
10 years ago
Steven Kirk
0d492ca16a
Update ContentPresenter when ContentTemplate changed.
10 years ago
Jeremy Koritzinsky
53a4944123
Merge branch 'master' into fixes/938-button-press-release
10 years ago
Steven Kirk
1150af791c
Reworked how ContentPresenter child is updated.
Update immediately when attached to a logical tree. Also separate tests for different scenarios.
10 years ago
Steven Kirk
82483d7dec
Fix exception in ToolTip.
Make sure old `ToolTip` is disposed before showing a new one.
10 years ago