Nikita Tsukanov
44a830fd7f
Fixed tests
3 years ago
Nikita Tsukanov
91e4bd00b6
Fixed more tests
3 years ago
Nikita Tsukanov
9d4f11a111
Fixed tests
3 years ago
Nikita Tsukanov
5f52122bba
Implemented ExitAllFrames, DisableProcessing and Shutdown, dispatcher callbacks now have proper sync context
3 years ago
Nikita Tsukanov
b3fe7827a2
Fixed Dispatcher.Invoke when called from the UI thread
3 years ago
Steven Kirk
8c1d4fbbbf
Added failing test for treeview selection.
3 years ago
Steven Kirk
a3866201a4
Modernized TreeViewTests.
3 years ago
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
Julien Lebosquain
e3c1cbd2e0
Nullable annotations for Markup.Xaml
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
3 years ago
Steven Kirk
f9ee0e3d8c
Another failing test for SetCurrentValue.
3 years ago
Steven Kirk
919697daa6
Add additional failing test for SetCurrentValue.
3 years ago
Nikita Tsukanov
d96b8124ed
Don't use DispatcherTimer infrastructure for background processing
3 years ago
amwx
a3c8210f2e
Add new tests
3 years ago
Steven Kirk
1d6e974e9c
Added failing test for #10655 .
3 years ago
Nikita Tsukanov
bc3768c2a0
More platforms are now using IDispatcherImpl
3 years ago
Nikita Tsukanov
968e61f649
Fixed tests, reintroduced Post with SendOrPostCallback, removed JobRunner
3 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
3 years ago
Steven Kirk
7dbe277653
More lifecycle event tests with virtualization.
3 years ago
Steven Kirk
9d012fbb6b
Fix terminology.
3 years ago
Steven Kirk
ce2cd52964
Add lifecycle event tests with virtualization.
And fix index error in VirtualizingStackPanel.
3 years ago
Steven Kirk
791ea8beef
Added container lifecycle events.
Seems we weren't calling `ClearItemContainer` for `ItemIsOwnContainer` items in `PanelContainerGenerator`. Fixed that too.
3 years ago
Steven Kirk
456ddbb04b
Don't try to run macOS tests on Windows.
3 years ago
Steven Kirk
d87e7faa60
Added failing tests for #10650 .
3 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
3 years ago
robloo
cc7656eecb
Rename ContextMenu.PlacementMode to ContextMenu.Placement
3 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
3 years ago
Steven Kirk
0a653b95c8
Use correct window chrome elements.
3 years ago
Steven Kirk
4c9bf8e53a
Fix platform fact/theory attributes.
Throwing on `Skip` setter was causing all subsequent tests in class to be ignored.
3 years ago
Steven Kirk
e378bce4ee
Nullable fixes.
3 years ago
Steven Kirk
7005333bc5
Don't get all window buttons when only one needed.
3 years ago
Steven Kirk
2cce1d4d78
Look up chrome buttons by a11y id.
XPath is slower, and unnecessary here.
3 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.
3 years ago
Steven Kirk
5d47043f5f
Fix expected test results.
3 years ago
Steven Kirk
ed7ee5cf39
Add Visual.GetTransformedBounds extension method.
Fixes #9569 .
3 years ago
Benedikt Stebner
beb57b646c
Fix test font typeface loading
3 years ago
Benedikt Stebner
37168e21bb
Use EnterScope
3 years ago
Benedikt Stebner
7b8f7dbfce
Normalize family names to upper case
3 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
3 years ago
Steven Kirk
183fed8985
Add more tests.
One failing.
3 years ago
Steven Kirk
9856711494
Don't modify logical tree in ItemsSource mode.
3 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.
3 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
```
3 years ago
Benedikt Stebner
ef2a47bc95
Only try to create embedded font collection for valid assets location
3 years ago