Benedikt Stebner
42f8c58aef
Update teste for the new typeface
3 years ago
Benedikt Stebner
07adf1d6dc
Try a different font
3 years ago
Benedikt Stebner
14fba2e53a
Rework HitTestTextRange
3 years ago
Benedikt Stebner
b0a2ae99e4
Fix default GlyphRun.BaselineOrigin
Add a unit test
3 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
3 years ago
Max Katz
35662ad4cb
Allow only well known ThemeVariant values in xaml compiler, add more documentation.
3 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.
3 years ago
Julien Lebosquain
5e13c5b59a
Implemented layout and render time graph overlays
3 years ago
Benedikt Stebner
3f6cb82241
Add failing test
3 years ago
Dmitry Zhelnin
a2c7f67c41
throw XamlParseException if there are duplicate property setters in style or control theme
3 years ago
Max Katz
546aa8fcae
Fix tests
3 years ago
Max Katz
f5a81d71e2
Introduce TopLevelImpl.TryGetFeature instead of having multiple interfaces per feature
3 years ago
Max Katz
e9a01c6c21
Update naming
3 years ago
Max Katz
d8d2240ecb
Implement support for DataTypeInheritFromAttribute
3 years ago
Nikita Tsukanov
a0adee3d00
Added a ctor for populating WriteableBitmap with initial data
3 years ago
Nikita Tsukanov
cd332db24c
Build
3 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
3 years ago
Steven Kirk
0065a962ac
Move ItemsRepeater to separate assembly.
3 years ago
rabbitism
9ca156d6a6
fix: fix RadioButton empty GroupName behavior.
3 years ago
Nikita Tsukanov
d0a4890f18
Dispose CompositorTestServices
3 years ago
Nikita Tsukanov
5eecfe486a
Workaround for https://github.com/AvaloniaUI/Avalonia/issues/10081
3 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
3 years ago
Max Katz
2d1d27bc2e
Fix TemplateBinding with converter inside of MultiBinding
3 years ago
Max Katz
39f232dcff
Remove public setter where possible on events or replace with "init;"
3 years ago
Julien Lebosquain
5ffd961742
Perf: improved text wrapping
3 years ago
Benedikt Stebner
cb884c6e9e
Reintroduce customizable GlyphRun.BaselineOrigin
Reintroduce Brush IBrush inheritance
3 years ago
Dmitry Zhelnin
65d8e46fa6
VirtualizingStackPanel: fix selection wrapping
3 years ago
Julien Lebosquain
7a1f74a3d3
Benchmarks: option to use Skia for text layout
3 years ago
Julien Lebosquain
f951929d54
Perf: improved CodepointEnumerator
3 years ago
Julien Lebosquain
2f429062a1
Perf: improved GraphemeEnumerator by avoiding double codepoint iteration
3 years ago
Julien Lebosquain
10a3b79d12
Perf: various misc text layout optimizations
3 years ago
Benedikt Stebner
07c11c75e7
Use IGlyphRunImpl in the IDrawingContextImpl
3 years ago
Julien Lebosquain
7ae394d247
Fixed text layout buffer reset for Stack and Dictionary (+ tests)
3 years ago
Julien Lebosquain
89a78f557b
Don't keep the text layout buffers around if they're too large
3 years ago
Nikita Tsukanov
d714f37fce
Implemented interop with externally managed GPU memory
3 years ago
Julien Lebosquain
7fcfc82be0
Fixed TextShaperImpl when the text is backed by an array
3 years ago
Julien Lebosquain
fd0720fc56
Updated text layout benchmark with trimming/wrapping
3 years ago
Julien Lebosquain
91f89c5176
Added FormattingObjectPool to reduce temp allocs during text layout
3 years ago
Julien Lebosquain
4144be11fe
Pass GlyphInfo directly to GlyphRun
3 years ago
Julien Lebosquain
076d10fcaf
BiDiAlgorithm and BiDiData instances are reusable
3 years ago
Steven Kirk
67c9221d3c
Tweaked InstancedBinding API.
- Remove `Value` from the API, will always contain an `IObservable<object?>` from now
- Remove subject from the API, caller can try to cast the observable itself
3 years ago
Max Katz
a0d22499cd
Fix benchmarks build
3 years ago
Max Katz
be22b361c8
Add theme variants specific tests
3 years ago
Dmitry Zhelnin
a75753c942
EventRoute: remove additional check if event was handled
3 years ago
Julien Lebosquain
dec8c1c586
Used Memory/Span instead of CharacterBufferReference/Range
+ GlyphRun uses ReadOnlyMemory for characters
3 years ago
Steven Kirk
d0f479d80c
Don't recycle focused element.
Fixes #9269
3 years ago
Steven Kirk
a9fd9f4474
A few more tests.
Trying to get a repro for an issue seen with DataBox but so far unable to repro in a unit test. Anyway, these tests should be useful.
3 years ago
Max Katz
fe115d9dd9
Remove platform specific IsPathRooted
3 years ago
Max Katz
37545cbeb1
IStorageProvider API updates
3 years ago
Benedikt Stebner
74bbfd8509
Support intercepts for all location but TextDecorationLocation.Strikethrough
3 years ago