Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Benedikt Schroeder
08a72e893c
Increase TextFormatter compatibility with WPF's version
5 years ago
Dan Walmsley
a4ebe5dbb5
add direct2d implementation.
5 years ago
Jumar Macato
74a74acf0c
set from float to double
6 years ago
Jumar Macato
4ef47bfdb0
Add TryGetSegment
6 years ago
Jumar Macato
386a318abe
add stubs for headless/mock
6 years ago
Dan Walmsley
9a591f517e
sign test assemblies
6 years ago
Steven Kirk
7469597712
Added benchmark for fluent RepeatButton.
As that's where #5027 was showing up most.
6 years ago
Steven Kirk
ea90f05f83
Added Window.ShowActive for win32.
6 years ago
Nikita Tsukanov
84ff532031
Dont sign tests
6 years ago
Steven Kirk
a832d63915
IStandardCursorFactory -> ICursorFactory.
6 years ago
Steven Kirk
94b6f133ea
Added failing test for #4822 .
6 years ago
Nikita Tsukanov
e4505ce861
Strong name support
6 years ago
Nikita Tsukanov
7c250bba7f
Added optimized Blit method for render layers
6 years ago
Benedikt Schroeder
04c781ca14
Make sure GlyphTypefaces are always cached
6 years ago
Dariusz Komosinski
aff78fa662
Add default alpha and pixel formats to render interfaces.
6 years ago
Dariusz Komosinski
77ef0ea144
Fix test.
6 years ago
Dan Walmsley
87c326a8fd
fix mocks.
6 years ago
Dan Walmsley
2ad4002686
fix unit tests.
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
Steven Kirk
714b0740db
Make leak tests pass again.
6 years ago
Steven Kirk
c45436dff1
Added Popup.OverlayDismissEventPassThrough.
To control whether dismiss events are passed through from the overlay layer to the underlying window content.
6 years ago
Benedikt Schroeder
bc9926014f
Fix typeface fallback for embedded fonts
Fix text wrapping for multiple corner cases
6 years ago
Benedikt Schroeder
2a181d9acb
Introduce TextRunProperties
6 years ago
Steven Kirk
7694fc0484
Don't run layout passes on hidden TopLevels.
To do this we need to pass the root to `LayoutManager`.
Fixes #4161
6 years ago
Steven Kirk
479d480ad9
Parameterize logger on area as well as level.
So we can filter our more logging calls early.
6 years ago
Steven Kirk
fc711e7c86
Measure PopupRoot to MaxAutoSizeHint.
On win32 popup's don't receive `WM_GETMINMAXINFO` so instead query the monitor info for the max work area,
6 years ago
Steven Kirk
1e74316f63
Add unit test for `UseLayoutRounding`.
6 years ago
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
Nikita Tsukanov
636c6800cf
Merged LostFocus to ITopLevelImpl
6 years ago
Benedikt Schroeder
0b1b3914b3
More text rendering improvements
6 years ago
Steven Kirk
95735d239b
Measure Window to MaxAutoSizeHint.
- Renamed `MaxClientSize` to `MaxAutoSizeHint`
- On Windows get its value from `WM_GETMINMAXINFO` message
- Remove `ILayoutRoot.MaxClientSize` as it's not used any more
6 years ago
Steven Kirk
908eef0b0d
Added failing tests for #3796 .
7 years ago
Steven Kirk
af950096cc
Added failing test for #3784 .
Had to refactor the `MockWindowingPlatform` a bit.
7 years ago
Steven Kirk
323cfdca3a
Make ContextMenu leak tests fail again.
By adding focus/input manager.
7 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.
7 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
7 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
7 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.
7 years ago
Benedikt Schroeder
ab5e062deb
Add GlyphRun support
7 years ago
Benedikt Schroeder
1b0221e224
Reworked the font manager to better manage resoures and also work properly with the application lifetime
7 years ago
Steven Kirk
b8b8e3f8cc
Fix IWindowImpl mocks to call Close on Dispose.
7 years ago
Benedikt Schroeder
46d3a91652
Add missing mocks
7 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
7 years ago