Max Katz
4d866b544c
Replace shared project with Avalonia.PlatformSupport
4 years ago
Benedikt Stebner
b815a22d5a
Port WPF's FormattedText to Avalonia and rework TextPresenter
4 years ago
Steven Kirk
ddb8f9c7de
Update unit tests to use new default theme URLs.
4 years ago
Benedikt Stebner
1855914717
Introduce HarfBuzz platform implementations for unit tests
4 years ago
Benedikt Stebner
2633cf3ba4
Introduce FontManagerOptions ( #7089 )
* Introduce FontManagerOptions
* Add missing comments
4 years ago
Simon Haines
54f82b26a5
Fix positioning of non-overlay popups
When a native popup window is positioned relative to a placement target on
the root window and the root window is moved or resized, the popup position
should update to reflect the new position of the placement target.
If a native popup window is positioned relative to another popup, as in the
case of sub-menus, and the parent popup is moved due to a change in the
position of its placement target, the child popup should also update
relative to the new position of the parent popup.
4 years ago
Dan Walmsley
b89e884bcf
Revert "Revert "Revert "upgrade to net462"""
This reverts commit e44c36bef3 .
4 years ago
Dan Walmsley
e44c36bef3
Revert "Revert "upgrade to net462""
This reverts commit c78179e9ac .
4 years ago
Dan Walmsley
c78179e9ac
Revert "upgrade to net462"
This reverts commit 010ca1901a .
4 years ago
Dan Walmsley
010ca1901a
upgrade to net462
4 years ago
Dan Walmsley
786375aff9
handle platforms that return null for the trayiconimpl.
5 years ago
Steven Kirk
4dbf646a73
Implement CombinedGeometry.
5 years ago
Dan Walmsley
33f4bb6418
fix unit tests.
5 years ago
Steven Kirk
89cb076778
Implement GeometryGroup.
5 years ago
Giuseppe Lippolis
75bd449a69
feat: Implement Post<T> method of IDispatcher.
5 years ago
Steven Kirk
ba369a9059
Fix auto-scaling on win32.
- Adds a "resize reason" to platform `Resized` events
- Which is used by the auto-sizing code to determine whether to reset `SizeToContent`
- Also other improvements to the reset logic for `SizeToContent`:
- Don't reset it if the size hasn't changed
- Don't reset it if `CanResize == false`
- Only reset the dimensions whose size has changed
- Obsolete the `BeginAutoSizing`/`AutoSizing` feature in `WindowBase`
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
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
Steven Kirk
ec51318315
Make custom keyboard navigation work again.
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
5 years ago
Jumar Macato
4ef47bfdb0
Add TryGetSegment
5 years ago
Jumar Macato
386a318abe
add stubs for headless/mock
5 years ago
Dan Walmsley
9a591f517e
sign test assemblies
5 years ago
Steven Kirk
7469597712
Added benchmark for fluent RepeatButton.
As that's where #5027 was showing up most.
5 years ago
Steven Kirk
ea90f05f83
Added Window.ShowActive for win32.
5 years ago
Nikita Tsukanov
84ff532031
Dont sign tests
5 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