Benedikt Stebner
f307b7364a
Fix TextLineImp GetTextBounds
Fix Tab character handling
3 years ago
Nikita Tsukanov
530f176783
Added Rgb24 and Bgr24
3 years ago
Nikita Tsukanov
371251d58c
Review comments
3 years ago
Benedikt Stebner
46632741e4
Revert invariant font family names
3 years ago
Steven Kirk
33d13d3740
Another failing test for SetCurrentValue.
3 years ago
Nikita Tsukanov
0f4ed2a4b9
Updated tests to use IDispatcherImpl
3 years ago
Nikita Tsukanov
17492be5b6
Removed RunLoop from IPlatformThreadingInterface
3 years ago
Nikita Tsukanov
dbbdcb95cd
Refactored dispatcher clock
4 years ago
Steven Kirk
f9ee0e3d8c
Another failing test for SetCurrentValue.
4 years ago
Steven Kirk
919697daa6
Add additional failing test for SetCurrentValue.
4 years ago
Nikita Tsukanov
d96b8124ed
Don't use DispatcherTimer infrastructure for background processing
4 years ago
amwx
a3c8210f2e
Add new tests
4 years ago
Steven Kirk
1d6e974e9c
Added failing test for #10655 .
4 years ago
Nikita Tsukanov
bc3768c2a0
More platforms are now using IDispatcherImpl
4 years ago
Nikita Tsukanov
968e61f649
Fixed tests, reintroduced Post with SendOrPostCallback, removed JobRunner
4 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
4 years ago
Steven Kirk
7dbe277653
More lifecycle event tests with virtualization.
4 years ago
Steven Kirk
9d012fbb6b
Fix terminology.
4 years ago
Steven Kirk
ce2cd52964
Add lifecycle event tests with virtualization.
And fix index error in VirtualizingStackPanel.
4 years ago
Steven Kirk
791ea8beef
Added container lifecycle events.
Seems we weren't calling `ClearItemContainer` for `ItemIsOwnContainer` items in `PanelContainerGenerator`. Fixed that too.
4 years ago
Steven Kirk
456ddbb04b
Don't try to run macOS tests on Windows.
4 years ago
Steven Kirk
d87e7faa60
Added failing tests for #10650 .
4 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
4 years ago
robloo
cc7656eecb
Rename ContextMenu.PlacementMode to ContextMenu.Placement
4 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
4 years ago
Steven Kirk
0a653b95c8
Use correct window chrome elements.
4 years ago
Steven Kirk
4c9bf8e53a
Fix platform fact/theory attributes.
Throwing on `Skip` setter was causing all subsequent tests in class to be ignored.
4 years ago
Steven Kirk
e378bce4ee
Nullable fixes.
4 years ago
Steven Kirk
7005333bc5
Don't get all window buttons when only one needed.
4 years ago
Steven Kirk
2cce1d4d78
Look up chrome buttons by a11y id.
XPath is slower, and unnecessary here.
4 years ago
Steven Kirk
d46eb22f4e
Don't use a tuple for window chrome buttons.
Return a record so that we can add extra elements more easily.
4 years ago
Steven Kirk
5d47043f5f
Fix expected test results.
4 years ago
Steven Kirk
ed7ee5cf39
Add Visual.GetTransformedBounds extension method.
Fixes #9569 .
4 years ago
Benedikt Stebner
beb57b646c
Fix test font typeface loading
4 years ago
Benedikt Stebner
37168e21bb
Use EnterScope
4 years ago
Benedikt Stebner
7b8f7dbfce
Normalize family names to upper case
4 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
4 years ago
Steven Kirk
183fed8985
Add more tests.
One failing.
4 years ago
Steven Kirk
9856711494
Don't modify logical tree in ItemsSource mode.
4 years ago
Steven Kirk
ba7e8a20b5
Added ItemsControl.ItemsSource.
`ItemsControl` now works more like WPF, in that there are separate `Items` and `ItemsSource` properties. For backwards compatibility `Items` can still be set, though the setter is deprecated. `Items` needed to be changed from `IEnumerable` to `IList` though.
4 years ago
Giuseppe Lippolis
3f306b48ab
fix(DrawingContext): CS0618 PushPreTransform(Matrix)' is obsolete: 'Use PushTransform'
```bash
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\ConicGradientBrushTests.cs 203 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\LinearGradientBrushTests.cs 98 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\RadialGradientBrushTests.cs 188 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\TextFormatting\TextLayoutTests.cs 315 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Skia.UnitTests .\tests\Avalonia.Skia.UnitTests\Media\TextFormatting\TextFormatterTests.cs 795 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 136 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 140 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 144 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 146 Active
Warning CS0618 'DrawingContext.PushPostTransform(Matrix)' is obsolete: 'Use PushTransform' RenderDemo .\samples\RenderDemo\Pages\RenderTargetBitmapPage.cs 32 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Base (net6.0), Avalonia.Base (netstandard2.0) .\src\Avalonia.Base\Media\DrawingGroup.cs 76 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Controls\CustomRenderTests.cs 91 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Controls\CustomRenderTests.cs 115 Active
```
4 years ago
Benedikt Stebner
ef2a47bc95
Only try to create embedded font collection for valid assets location
4 years ago
Tom Edwards
3b57b3496a
Added GenerateTypeSafeMetadata to property metadata
This method is used to strip coercion methods out of StyledPropertyMetadata when applying it to a new owner.
Also fixed AvaloniaProperty.(IPropertyInfo.CanSet) returning true for read-only properties
4 years ago
Dariusz Komosinski
d9d208b935
Add benchmark for Or selector and avoid extra virtual calls getting list count.
4 years ago
Dan Walmsley
a577ee6399
add a delay when closing child windows.
4 years ago
Dan Walmsley
2b076322e5
check access before clearing job queue.
4 years ago
Dan Walmsley
b2723d84be
Revert "try and catch issue with test."
This reverts commit 1d6fb2d960 .
4 years ago
Dan Walmsley
a298ff55f9
clear dispatcher queue at the end of tests.
4 years ago
Dan Walmsley
1d6fb2d960
try and catch issue with test.
4 years ago
Dan Walmsley
4d343293c8
fix test on windows.
4 years ago