Jeremy Koritzinsky
4df484d047
Merge branch 'master' into issues/855_test
9 years ago
Steven Kirk
e4e530f7be
Merge pull request #1306 from AvaloniaUI/render-layers-animating-opacity
Only create render layers when Opacity is animating.
9 years ago
Steven Kirk
b3fca2360d
Fix failing skia render test
Make sure we restore the transform in `EndRender` and use the same order of pushing/popping operations that `ImmediateRenderer` uses.
9 years ago
Steven Kirk
2a87dbd6ca
Fix opacity mask rendering.
We're potentially creating a new immutable version of the opacity mask each time the `VisualNode` is updated. Need to implement comparison between mutable and immutable brushes.
9 years ago
Steven Kirk
1d1f31794e
Fix layers with opacity.
We were pushing the opacity twice.
9 years ago
Steven Kirk
e6b5df8d08
Simplified DeferredRendererTests,
9 years ago
Steven Kirk
ea0e4217a7
Run D2D render tests in ncrunch.
9 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
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
Steven Kirk
86f2d45d2b
Use current VS2017 image.
9 years ago
Steven Kirk
d55edaa18a
Use readonly structs where possible.
C# 7.2 introduced [readonly structs](https://docs.microsoft.com/en-us/dotnet/csharp/reference-semantics-with-value-types ). Using this construct we can make sure that future modifications to these structs don't make them immutable and C# can generate more efficient code.
9 years ago
Jeremy Koritzinsky
02e600863d
Merge branch 'issues/855_test' of https://github.com/donandren/Avalonia into issues/855_test
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
Steven Kirk
4f8f5e9c71
Added some benchmarks
Added some benchmarks to test setting and binding properties.
9 years ago
Steven Kirk
d0be429bd2
Tried to make IsAnimating logic clearer.
9 years ago
Jeremy Koritzinsky
1dcd06df3f
Merge branch 'master' into issues/855_test
9 years ago
Steven Kirk
9609d93f3b
Don't create render layers for non-parent controls.
Only create a new render layer when a control has both an animating opacity _and_ children.
9 years ago
Steven Kirk
68bdbca899
Only create render layers when Opacity is animating.
Previously we were creating a new render layer for all controls with `Opacity != 1`. This was causing the `Calendar` page in ControlCatalog to render _really_ slowly. Instead, only create a new render layer when `Opacity` is being animated.
Also don't even render controls where `Opacity == 0`.
9 years ago
Steven Kirk
05575f9ea8
Display # of layers next to FPS counter.
9 years ago
Steven Kirk
409e40c8be
Added AvaloniaObject.IsAnimating(property).
Added a method to test whether a property on an object is currently animating.
9 years ago
Steven Kirk
f80e4ab3de
Merge pull request #1300 from AvaloniaUI/fixes/1299-devtools-stuck-adorners
Make sure old adorner is removed.
9 years ago
Steven Kirk
f70508fcb8
Merge branch 'master' into fixes/1299-devtools-stuck-adorners
9 years ago
Steven Kirk
a5c77168fd
Merge pull request #1301 from AvaloniaUI/fixes/1286-panel-logicalchildren
Fixed panel collection change actions.
9 years ago
Steven Kirk
74e805466b
Merge branch 'master' into fixes/1286-panel-logicalchildren
9 years ago
Steven Kirk
899d2f92f7
Merge pull request #1166 from JurjenBiewenga/DropdownKeyboardTweaks
Added initial changes to dropdown
9 years ago
Steven Kirk
770c84d78b
Merge branch 'master' into DropdownKeyboardTweaks
9 years ago
Steven Kirk
fa0e07facb
Merge pull request #1305 from AvaloniaUI/fixes/1248-datavalidation-not-being-cleared
Pass enableDataValidation to all bindings.
9 years ago
Jeremy Koritzinsky
7e835b8aae
Merge branch 'master' into fixes/1248-datavalidation-not-being-cleared
9 years ago
Jeremy Koritzinsky
a937e00777
Merge pull request #1304 from AvaloniaUI/fixes/1303-templatebinding-null-path
Don't pass a null Path to Binding in TemplateBindingExtension.
9 years ago
Steven Kirk
969ddc97e0
Merge pull request #1288 from GoldyD/master
Code improvement
9 years ago
Steven Kirk
817c355688
Merge branch 'master' into master
9 years ago
Steven Kirk
523370d99f
Merge branch 'master' into DropdownKeyboardTweaks
9 years ago
Steven Kirk
f014bd576c
Pass enableDataValidation to all bindings.
#1248 was caused by not passing the `enableDataValidation` setting to all types of binding. Fix this.
Fixes #1248 .
9 years ago
Steven Kirk
0ad1f87927
Fix #1303 .
Don't pass a null `Path` to `Binding`.
9 years ago
Steven Kirk
3243e0fd15
Added failing test for #1303
`TemplateBinding_With_Null_Path_Works` is a failing test for #1303 , also added a passing test for the same thing with `Binding`: `Binding_With_Null_Path_Works`.
9 years ago
Steven Kirk
d069e3f063
Merge branch 'master' into fixes/1286-panel-logicalchildren
9 years ago
Steven Kirk
b40be8b1c4
Fix error in AvaloniaList.MoveRange event.
It was raising the event with the offset `newIndex` rather than the `newIndex` that was passed.
9 years ago
Steven Kirk
782650639c
Merge pull request #1209 from jkoritzinsky/RelativeSourceSyntaxSugar
Relative source syntax sugar
9 years ago
Steven Kirk
5e17095852
Merge branch 'master' into RelativeSourceSyntaxSugar
9 years ago
Steven Kirk
fc7a83ee72
Fixed panel collection change actions.
As suggested in #1286
9 years ago
Steven Kirk
8b752b8438
Merge branch 'master' into fixes/1297-track-arrange-bug
9 years ago
Steven Kirk
f619cc3a18
Merge pull request #1296 from jp2masa/issue-1256
Fixed ProgressBar default alignment
9 years ago
Jeremy Koritzinsky
dfb1c3886c
Merge branch 'master' into RelativeSourceSyntaxSugar
9 years ago
Steven Kirk
299d066642
Make sure old adorner is removed.
Control enter/leave events seem to sometimes get raised in the wrong order, this needs investigation. However in the meantime, make sure that if there's an existing adorner it's removed before adding a new one.
Fixes #1299
9 years ago
Steven Kirk
91edffd8d2
Fixed #1297
Handle rounding errors when calculating increase button arrange rect.
9 years ago
Steven Kirk
26b2771864
Added failing test for #1297
9 years ago
José Pedro
22baf62f09
Fixed ProgressBar default alignment.
9 years ago
Steven Kirk
e2f8d76520
Merge branch 'master' into fixes/1271-orphaned-textblock
9 years ago
Steven Kirk
9febce3613
Merge branch 'master' into fixes/1247-data-validation-popup-crash
9 years ago