Steven Kirk
eb0e6650ca
Remove debug code.
8 years ago
Steven Kirk
9b099de4a4
Addressed PR feedback.
8 years ago
Steven Kirk
51a47b3a94
Instance can be null here.
Was causing intermittently failing test: https://ci.appveyor.com/project/AvaloniaUI/Avalonia/build/0.1.4468
8 years ago
Steven Kirk
91a0811c18
Removed unused variable.
8 years ago
Steven Kirk
8901f1d781
Don't make IGeometryImpl implement IDisposable.
8 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Steven Kirk
02c6ae3c1a
Added ScrollBarVisibility.Disabled.
8 years ago
Steven Kirk
52dcd41cd9
Don't dispose geometry impls.
We can't do this until we have ref counting infrastructure in, as the impls may still be in use by the deferred renderer.
8 years ago
Steven Kirk
375e0f0a64
WIP
8 years ago
Steven Kirk
d2e1eba876
Refactored geometry.
There were a number of problems with `Geometry` and its subclasses and platform implementations. Fix these, for more details see the PR that this commit is a part of.
8 years ago
Steven Kirk
438bc89a90
Preserve defining geometry transform.
Previous logic was overwriting `DefiningGeometry`'s transform with the transform calculated by the layout pass. Be sure to apply both transforms to the `RenderedGeometry`.
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
9 years ago
José Pedro
60a04fbd24
Fixed ToggleButton.IsChecked default value.
9 years ago
Jeremy Koritzinsky
e462e06193
Use memcpy instead of System.Runtime.CompilerServices.Unsafe
9 years ago
Jeremy Koritzinsky
1c12cd4bd6
Fix x64 builds of Avaloina.Direct2D1. Refactor build scripts to reduce time and fix issues.
9 years ago
Jeremy Koritzinsky
f72577cf92
Clean up test scripts
9 years ago
Dan Walmsley
b944783c1b
fix Skia SetForegroundBrush when length = 1.
9 years ago
M. ter Woord
09c7c32e19
Add the missing file.
9 years ago
M. ter Woord
ad02c53a46
- Add XamlLoadException
- Use it for the new load exception info.
9 years ago
Jeremy Koritzinsky
ba481365f6
Enable turning off the setup check for appbuilder tests.
9 years ago
M. ter Woord
381cd64b1f
Add the uri to the error message, that way nested load errors can be diagnosed much quicker.
9 years ago
Jeremy Koritzinsky
23af42e423
Fix explicit StylingParent definition.
9 years ago
Jeremy Koritzinsky
b463d04e9f
Make KeyGestures with +,-,. in them match with both the non-numpad keys and the matching numpad keys.
Fixes #225
9 years ago
Jeremy Koritzinsky
6d075ad27b
Fix #424 .
9 years ago
Jeremy Koritzinsky
8bcd07730a
Change StylingParent for Popup to be PopupRoot so local styles flow to it.
9 years ago
Jeremy Koritzinsky
bdaf4a2046
Fix #1182 .
9 years ago
Unknown
ea65626a46
use lower case extensions for avalonia documentation files.
9 years ago
Steven Kirk
05da271376
Updated Portable.Xaml
Merged `fixes/76-trim-whitespace` into `avalonia` branch (https://github.com/cwensley/Portable.Xaml/pull/77 ). Fixes whitespace trimming in Xaml reader.
Fixes #1275
9 years ago
Jeremy Koritzinsky
f65ae1918f
Change TransformedBounds to a direct property on Visual (exposed on IVisual) instead of using an attached property in BoundsTracker.
9 years ago
Steven Kirk
bf2ca5da72
Removed unneeded code.
9 years ago
Steven Kirk
e49e682f9c
This Max shouldn't be needed.
9 years ago
Jeremy Koritzinsky
8733547cae
Make RangeBase.Value bind TwoWay by default. Fixes #841 .
9 years ago
Steven Kirk
7405cd7952
Match formatting of other block.
9 years ago
Steven Kirk
222ded0c33
Removed remaining collection set.
9 years ago
Steven Kirk
4676ac5fb2
Don't use ObserveOn in Bindings.
Instead of using `Observable.ObserveOn` in bindings, interface with `Dispatcher.UIThread` to schedule binding notifications on the UI thread. This saves a significant amount of memory.
9 years ago
Jeremy Koritzinsky
1cfc9fe47f
Remove extraneous documentation comment.
9 years ago
Jeremy Koritzinsky
a02515fe19
Make pending set condition always !object.Equals since the other condition in PriorityValue didn't match expected behavior as per new unit tests.
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
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
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
d0be429bd2
Tried to make IsAnimating logic clearer.
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