Benedikt Schroeder
6b8f867006
Initialize the GlyphRun on render
6 years ago
Dan Walmsley
5d8a03d2aa
fix tests
6 years ago
Steven Kirk
bc079008d1
Remove usage of deprecated input APIs.
6 years ago
Nikita Tsukanov
d0b041095d
Inset box-shadow
6 years ago
Benedikt Schroeder
0b1b3914b3
More text rendering improvements
6 years ago
Steven Kirk
908eef0b0d
Added failing tests for #3796 .
6 years ago
Steven Kirk
af950096cc
Added failing test for #3784 .
Had to refactor the `MockWindowingPlatform` a bit.
6 years ago
Steven Kirk
323cfdca3a
Make ContextMenu leak tests fail again.
By adding focus/input manager.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
6 years ago
Steven Kirk
cca4247c05
Added EventRoute.
Instead of traversing the tree while raising an event, instead first build an event route and then raise the event along it.
Fixes #3176
6 years ago
Steven Kirk
ae1475ad43
Rename IStyleRoot -> ILogicalRoot.
The root of our logical tree is denoted by `IStyleRoot` for historical reasons: before #1594 , styling was defined in `Avalonia.Styling` but the logical tree was defined in `Avalonia.Controls`. The styling system needed a root but because it was lower-level than the logical tree it had to define its own root type which was then repurposed for use by the logical tree.
Since #1594 the logical tree is defined in `Avalonia.Styling` as well so we might as well call `IStyleRoot` what it is: the logical tree root.
6 years ago
Benedikt Schroeder
ab5e062deb
Add GlyphRun support
6 years ago
Benedikt Schroeder
1b0221e224
Reworked the font manager to better manage resoures and also work properly with the application lifetime
6 years ago
Steven Kirk
b8b8e3f8cc
Fix IWindowImpl mocks to call Close on Dispose.
6 years ago
Benedikt Schroeder
46d3a91652
Add missing mocks
6 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
6 years ago
Steven Kirk
0a8915b1cc
Added failing test for #3148
7 years ago
Nikita Tsukanov
66b3da044c
Fixed MouseTestHelper
7 years ago
Nikita Tsukanov
a16e3bff7f
Added InitialPressMouseButton to PointerReleasedEventArgs that returns the button that caused the PointerPressed event
MouseButton is now deprecated with error, since people need to decide which behavior they want
7 years ago
Dariusz Komosinski
01a404836e
Reduce allocations caused by logging.
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Steven Kirk
142ead4d39
Make tests compile on CI.
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Steven Kirk
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 years ago
Nikita Tsukanov
8e5c8fee07
Somewhat fixed tests
7 years ago
Steven Kirk
ec45084e6a
Make Pen mutable.
And add `IPen` interface and `ImmutablePen` class.
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Nikita Tsukanov
b33601ee9b
Refactored lifetime control into separate lifetime classes
7 years ago
Steven Kirk
4a386d1b84
Added skipped failing leak test for transitions.
It's leaking on master too, so address this separately.
7 years ago
Nikita Tsukanov
657447ff0c
Reproed binding issue
7 years ago
Nikita Tsukanov
d0301bb4c4
Now passing most of the tests
7 years ago
Nikita Tsukanov
dbf6c3a148
Entire control catalog is now loaded from precompiled xaml
7 years ago
Dariusz Komosinski
1b869ff27b
Get rid of not needed interfaces.
7 years ago
Dariusz Komosinski
12fc28e2d0
Add mocks for geometry impls.
7 years ago
Dariusz Komosiński
8534769435
Platform geometry implementations for D2D and Skia.
7 years ago
Steven Kirk
fafa695257
Use recommended ContentControl pattern.
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Jeffrey Ye
3a28179704
return new string[0] from mock interfaces
7 years ago
Jeffrey Ye
2ed745d493
#2222 Get all fonts in the system
7 years ago
Nikita Tsukanov
343905ebb3
Generate asset resource info with paths
7 years ago
Jeremy Koritzinsky
acb3d46ca0
Enable generating NuGet packages via the MSBuild Pack target.
8 years ago
Nikita Tsukanov
e00f0f0385
Platform-specific key gestures
8 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Steven Kirk
afdfb28da8
Added failing tests for brush invalidation.
8 years ago
Steven Kirk
0b4e6b8471
Make centralized RenderLoop.
- Renamed `RenderLoop` to `RenderTimer`
- Added new `RenderLoop` which `DeferredRenderer`s register themselves with for updates
8 years ago
Nicolas Musset
0befa22692
Support invoking a task in the dispatcher.
8 years ago
Nicolas Musset
434bf0d3db
Support invoking a function in the dispatcher.
8 years ago