Steven Kirk
b92134c682
Added failing test for #10246 .
4 years ago
Max Katz
4fc1995246
Make AvaloniaProperty.Register overload with "notifying" parameter internal
4 years ago
Steven Kirk
0ce9180d7c
Added untyped SetCurrentValue.
4 years ago
Steven Kirk
8741b7e410
Fix IsSet with SetCurrentValue.
And add unit tests.
4 years ago
Steven Kirk
19078979e3
Initial implementation of SetCurrentValue.
4 years ago
Steven Kirk
035f4f0e55
Added failing integration tests for #10232 .
4 years ago
Julien Lebosquain
97aa613bba
Prevent null Panel children
4 years ago
Julien Lebosquain
39fe9b17fb
Nullability fixes for Avalonia.Base
4 years ago
Julien Lebosquain
7eda49e061
Ensure IRenderRoot.Renderer is never null
4 years ago
José Pedro
f8af158a38
Updated packages used by tests.
4 years ago
Steven Kirk
2bbaf74d8f
Fix integration tests on macOS.
Seems that the version of macOS on the test runner applies some shading to the top of the window. Check the color of a pixel lower down.
4 years ago
Steven Kirk
73cede0bf5
Added integration tests for window transparency.
Failing on macOS, passing on win32.
4 years ago
Benedikt Stebner
42f8c58aef
Update teste for the new typeface
4 years ago
Benedikt Stebner
07adf1d6dc
Try a different font
4 years ago
amwx
b9c666e193
Add Tests
4 years ago
Benedikt Stebner
14fba2e53a
Rework HitTestTextRange
4 years ago
Steven Kirk
bca57ea0e9
Added additional failing test.
4 years ago
Steven Kirk
7b00ef6989
Make untyped bindings produce default value.
This changes the behavior of bindings slightly, in that previously a binding which produced `UnsetValue` (or a binding error) caused the value of any lower priority value of value to take effect. After this change, the binding reverts to the property's default value. This behavior more closely matches WPF and fixes #10110 .
4 years ago
Benedikt Stebner
b0a2ae99e4
Fix default GlyphRun.BaselineOrigin
Add a unit test
4 years ago
Steven Kirk
1e926dac72
Added failing tests for #10110 .
4 years ago
Tom Edwards
796722f319
Never convert null to UnsetValue in bindings
Revert ToggleButton.IsChecked hack
4 years ago
Tom Edwards
6d49ffc955
Added tests for binding value types to null
4 years ago
Giuseppe Lippolis
86dc4042ab
fix: misc warning
- Warning CA1815 PlatformGraphicsExternalImageProperties should override Equals Avalonia.Base (net6.0) \src\Avalonia.Base\Platform\PlatformGraphicsExternalMemory.cs 7 N/A
- Warning CA1823 Unused field 'ProximityPoints' Avalonia.Controls (net6.0) src\Avalonia.Controls\Presenters\ScrollContentPresenter.cs 18 N/A
- Warning CS0169 The field 'VulkanDemoControl._vkInstance' is never used GpuInterop samples\GpuInterop\VulkanDemo\VulkanDemoControl.cs 19 N/A
- Warning CS0169 The field 'VulkanDemoControl._api' is never used GpuInterop samples\GpuInterop\VulkanDemo\VulkanDemoControl.cs 20 N/A
- Warning CS0219 The variable 'isZooming' is assigned but its value is never used ControlCatalog (netstandard2.0) samples\ControlCatalog\Pages\GesturePage.cs 73 N/A
- Warning xUnit2004 Do not use Assert.Equal() to check for boolean conditions. Avalonia.IntegrationTests.Appium tests\Avalonia.IntegrationTests.Appium\WindowTests_MacOS.cs 267 N/A
4 years ago
Max Katz
35662ad4cb
Allow only well known ThemeVariant values in xaml compiler, add more documentation.
4 years ago
Steven Kirk
f43fc66ae3
Fix failing integration tests on macOS.
Looks like maybe macOS 13.1 changed behavior around fullscreen windows, breaking our integration tests.
4 years ago
Julien Lebosquain
5e13c5b59a
Implemented layout and render time graph overlays
4 years ago
Benedikt Stebner
3f6cb82241
Add failing test
4 years ago
Dmitry Zhelnin
a2c7f67c41
throw XamlParseException if there are duplicate property setters in style or control theme
4 years ago
Max Katz
546aa8fcae
Fix tests
4 years ago
Max Katz
f5a81d71e2
Introduce TopLevelImpl.TryGetFeature instead of having multiple interfaces per feature
4 years ago
Max Katz
e9a01c6c21
Update naming
4 years ago
Max Katz
d8d2240ecb
Implement support for DataTypeInheritFromAttribute
4 years ago
Nikita Tsukanov
a0adee3d00
Added a ctor for populating WriteableBitmap with initial data
4 years ago
Nikita Tsukanov
cd332db24c
Build
4 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
4 years ago
Steven Kirk
0065a962ac
Move ItemsRepeater to separate assembly.
4 years ago
rabbitism
9ca156d6a6
fix: fix RadioButton empty GroupName behavior.
4 years ago
Nikita Tsukanov
d0a4890f18
Dispose CompositorTestServices
4 years ago
Nikita Tsukanov
5eecfe486a
Workaround for https://github.com/AvaloniaUI/Avalonia/issues/10081
4 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
4 years ago
Max Katz
2d1d27bc2e
Fix TemplateBinding with converter inside of MultiBinding
4 years ago
Max Katz
39f232dcff
Remove public setter where possible on events or replace with "init;"
4 years ago
Julien Lebosquain
5ffd961742
Perf: improved text wrapping
4 years ago
Benedikt Stebner
cb884c6e9e
Reintroduce customizable GlyphRun.BaselineOrigin
Reintroduce Brush IBrush inheritance
4 years ago
Dmitry Zhelnin
65d8e46fa6
VirtualizingStackPanel: fix selection wrapping
4 years ago
Julien Lebosquain
7a1f74a3d3
Benchmarks: option to use Skia for text layout
4 years ago
Julien Lebosquain
f951929d54
Perf: improved CodepointEnumerator
4 years ago
Julien Lebosquain
2f429062a1
Perf: improved GraphemeEnumerator by avoiding double codepoint iteration
4 years ago
Julien Lebosquain
10a3b79d12
Perf: various misc text layout optimizations
4 years ago
Benedikt Stebner
07c11c75e7
Use IGlyphRunImpl in the IDrawingContextImpl
4 years ago