Steven Kirk
1cb2e321d2
Set background for CheckBox and RadioButton
Now we have mouse transparency with the deferred renderer, we need to make sure there's a transparent background to make them hittable.
10 years ago
Steven Kirk
99efcfed7f
Make BoundsTracker work with deferred renderer.
This needs to be redone: see #1026 .
10 years ago
Steven Kirk
becac6a74e
Set background on MenuItem and TreeViewItem
Now we have mouse transparency with the deferred renderer, we need to make sure there's a transparent background to make them hittable.
10 years ago
Steven Kirk
1e2e3b340b
Merge remote-tracking branch 'origin/master' into scenegraph
Conflicts:
src/Skia/Avalonia.Skia/FramebufferRenderTarget.cs
src/Windows/Avalonia.Direct2D1/Direct2D1Platform.cs
10 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
10 years ago
Steven Kirk
0f81420ee2
Don't remove root layer when hiding root.
10 years ago
Steven Kirk
024573ddd5
Removed bad project references.
10 years ago
Steven Kirk
ab30fd343b
Handle no previous measure/arrange.
This shouldn't happen, but if it does, don't crash.
10 years ago
Steven Kirk
5a34acac2d
Don't need to do this.
We don't need to invalidate newly added controls with the layout manager - this is already handed by the parent control.
10 years ago
Steven Kirk
061a264ca4
Don't need to create LayoutManager target.
There is already one on the root.
10 years ago
Steven Kirk
5e3f604308
Removed unnecessary service locator code.
`ILayoutManager` is not longer retrieved from `AvaloniaLocator` so can remove this stuff.
10 years ago
Steven Kirk
188a0ce442
Fix compile errors.
10 years ago
Steven Kirk
c14fe7f2b7
Merge branch 'master' into extract-layout-manager
Conflicts:
src/Avalonia.Layout/LayoutManager.cs
src/Avalonia.Layout/Layoutable.cs
tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
tests/Avalonia.Layout.UnitTests/TestLayoutRoot.cs
10 years ago
Steven Kirk
cfcdeff547
Merge pull request #1021 from AvaloniaUI/fixup-layout-manager
Fix up the Layout Manager
10 years ago
Steven Kirk
ac4147ae7c
Merge branch 'master' into fixup-layout-manager
10 years ago
Nikita Tsukanov
ad76a075f9
Use Cake 0.18.0
10 years ago
Steven Kirk
40c342989b
Assert control invalidation behavior.
Controls not attached to the visual tree should not notify the `LayoutManager` that they have had their layout invalidated. Similarly when added to the visual tree their parents and themselves should have their layout invalidated.
10 years ago
Nikita Tsukanov
60e7aa3647
Merge pull request #1022 from ForNeVeR/feature/windows-interop-skiasharp
Add SkiaSharp dependency to WindowsInteropTest
10 years ago
Friedrich von Never
cd8ddf31a6
WindowsInteropTest: add SkiaSharp dependency
10 years ago
Steven Kirk
18f9e2840d
Explain the algoithm a bit.
10 years ago
Steven Kirk
a1d46a7784
Use a stack instead of HashSet.
Controls that are already invalid will not invalidate themselves again to with the `LayoutManager`, so we don't need to worry about duplicates.
10 years ago
Steven Kirk
f97ebe961b
Fixed some stupid mistakes in algorithm.
10 years ago
Steven Kirk
4b8db11f0d
FIx ItemsPresenterTests_Virtualization.
The root control must have a fixed size, doing an initial measure isn't enough as the `LayoutManager` will remeasure with `MaxClientSize`.
10 years ago
Steven Kirk
48df92055e
Fix ItemsPresenterSimple tests.
There were two problems:
- There were two root controls (`TestScroller` and `TestRoot`)
- The root control needs to have a fixed size otherwise it will grow because `LayoutManager` passes `MaxClientSize` to its measure (which may be different to the initial measure that we were using to set its size).
10 years ago
Steven Kirk
9da4e5b112
Merge branch 'benchmarks' into fixup-layout-manager
10 years ago
Steven Kirk
ac3ca7ca29
Make LayoutManager pass new tests.
10 years ago
Steven Kirk
309c9f7a4b
Added some LayoutManager tests.
Some passing, some failing.
10 years ago
Steven Kirk
684020ae2d
Updated benchmarks
- Update BenchmarkDotNet
- Added measure benchmark
- Add memory diagnoser
10 years ago
Wiesław Šoltés
9450cbe4fd
Skip failing Moq tests
10 years ago
Wiesław Šoltés
8b0ebc135e
Skip failing Moq tests
10 years ago
Wiesław Šoltés
1f9426b345
Fix InvariantCultureFixture
10 years ago
Nikita Tsukanov
1d44d3f7af
Removed reference to the old host
10 years ago
Wiesław Šoltés
87293d80bb
Merge remote-tracking branch 'refs/remotes/AvaloniaUI/master'
10 years ago
Nikita Tsukanov
eb5ac5bca6
Update Moq
10 years ago
Nikita Tsukanov
3ed7d8e617
Merge pull request #1017 from wieslawsoltes/EnableNetCoreUnitTests
Enable Net-Core unit tests
10 years ago
Wiesław Šoltés
13822754a9
Fix duplicate 'CollectionBehavior' attribute
10 years ago
Wiesław Šoltés
b79fc889eb
Fix duplicate 'CollectionBehavior' attribute
[skip ci]
10 years ago
Wiesław Šoltés
d8c009b734
Fix duplicate 'CollectionBehavior' attribute
[skip ci]
10 years ago
Wiesław Šoltés
72ab1e060b
Create build.cake
10 years ago
Wiesław Šoltés
0d01ffcea0
Limit Tasks to a single thread
[skip ci]
10 years ago
Wiesław Šoltés
788c4558c9
Limit Tasks to a single thread
[skip ci]
https://github.com/xunit/xunit/issues/244#issuecomment-68325962
10 years ago
Wiesław Šoltés
a07ae6e7ca
Limit Tasks to a single thread
https://github.com/xunit/xunit/issues/244#issuecomment-68325962
10 years ago
Wiesław Šoltés
3db4a5826c
Skip tests as results are not consistent
10 years ago
Wiesław Šoltés
bd3b34c0c8
Fix .NETCoreApp,Version=v1.1 tests
10 years ago
Wiesław Šoltés
91aaf87a36
Remove NET461 specific assert
10 years ago
Wiesław Šoltés
dc92cd95ac
Fix NET461 tests
10 years ago
Wiesław Šoltés
3ee2d9425f
Fix expected exception message
10 years ago
Wiesław Šoltés
bb117a7952
Set CurrentUICulture for tests
10 years ago
Wiesław Šoltés
aac49c8a6d
Enable Avalonia.Markup.UnitTests .Net Core tests
10 years ago
Wiesław Šoltés
66d5d70784
Use InvariantCulture same as for other tests
[skip ci]
10 years ago