Emmanuel Hansen
4c949ee628
only set window position on extended margins update when window is visible ( #14954 )
2 years ago
Nikita Tsukanov
34d4d89fbf
Refactored overlays, so most of them are usable without an intermediate layer ( #15028 )
* [SKIA] Don't skip setting SKCanvas.TotalMatrix when we aren't sure what the current transform is due to Save/Restore calls
* Refactored overlays, so most of them are usable without an intermediate layer
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2 years ago
Nikita Tsukanov
071d1e2ab0
[SKIA] Don't skip setting SKCanvas.TotalMatrix when we aren't sure what the current transform is due to Save/Restore calls ( #15027 )
2 years ago
Johan Appelgren
84b06b22d4
Handle $self in compiled binding in multibinding. ( #14935 )
2 years ago
Max Katz
5537e97aa5
Remove ItemsRepeater from the main repostiory ( #14989 )
See https://github.com/AvaloniaUI/Avalonia.Controls.ItemsRepeater
2 years ago
Max Katz
59c4fdde86
Update BuildParameters.cs ( #14993 )
2 years ago
Steven Kirk
5d4dd936ba
Constrain CenterOwner window to screen. ( #14982 )
* Constrain CenterOwner window to screen.
This logic is also present in WPF: 3880169c02/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Window.cs (L3707-L3711)
Fixes #2578
* Ensure min <= max when constraining window pos.
2 years ago
Benedikt Stebner
1249a5fccf
Fix TextBox sync issues ( #14960 )
* Sync change text and changed caret index with the TextPresenter when text input is handled
* Do not add length again
2 years ago
Benedikt Stebner
6eb9d7a17e
Fixes/drawing brush transform ( #14978 )
* Apply brush transform to SKPicture instead to the local matrix of the resulting SKShader
* Add unit test
Implement Direct2D1
2 years ago
Tom Edwards
191195579c
Made PART_Track optional for Slider ( #14974 )
2 years ago
nil4
fd15b6bc9e
Double-clicking in a `TextBox` with `PasswordChar` set selects all text when the password is not revealed. ( #14973 )
If the password text is revealed, the pre-existing word-based selection model remains (the closest word to the pointer position is selected.)
Related to https://github.com/AvaloniaUI/Avalonia/issues/14956
2 years ago
Julien Lebosquain
0aba3edd5e
Fix NativeAOT not using the XAML compilation output ( #14966 )
2 years ago
Emmanuel Hansen
eca012e8c5
fall back to linear initial velocity if there's not enough samples for inertia ( #14961 )
2 years ago
Ge
efecbae942
Fix usage of ComboBox in control catalog ViewboxPage ( #14972 )
2 years ago
Benedikt Stebner
9e895331e1
Revert "Fix TextBlock wrong caret position ( #14627 )" ( #14952 )
This reverts commit cde90ccbca .
2 years ago
Julien Lebosquain
fb632f0460
Fix font fallback for composite keys containing relative URIs ( #14943 )
* Add failing test for font fallback with relative URI
* Fix font fallback for composite keys containing relative URIs
2 years ago
Nikita Tsukanov
086fe5267f
Don't create a layer if the previous frame is retained by the render target ( #14924 )
* Don't create a layer if the previous frame is retained by the render target
* D2D
* compile
* Only check PreviousFrameIsRetained if not using layer
* ABI
2 years ago
Max Katz
0cd220f6c2
Update AndroidActivatableLifetime.cs ( #14921 )
2 years ago
Benedikt Stebner
9849da209c
Fixes/inline host change propagation ( #14914 )
* Add failing test
* Propagate InlineHost to children
2 years ago
workgroupengineering
fc709df934
feat(LinuxFramebuffer): Allow set DRM output Connector ( #14878 )
* feat(LinuxFramebuffer): Allow set DRM output Connector
* fix: Code formatting
* fix: Address review
* fix: Address review
2 years ago
Julien Lebosquain
acc3c3cc13
Fix ScrollContentPresenter incorrectly handling BringIntoView when offset is coerced ( #14913 )
* Added failing test for nested ScrollContentPresenters w/o rounding
* Fix SCP.BringDescendantIntoView with coerced offset
2 years ago
Julien Lebosquain
86bfc26ace
Fix ScrollContentPresenter incorrectly handling BringIntoView without changing its offset ( #14900 )
* Added failing test for nested ScrollContentPresenters
* Fix nested ScrollContentPresenter w/ content larger than viewport
2 years ago
Julien Lebosquain
38e49b8c19
Remove InternalsVisibleTo from Avalonia.Base to ControlCatalog ( #14905 )
2 years ago
Mike James
ed4a3e1119
Update readme.md ( #14907 )
Removed redundant community chat channels.
2 years ago
Johan Polson
27c49a8b22
init ( #14899 )
2 years ago
Julien Lebosquain
87b72e897e
Add Android version checks where necessary ( #14896 )
2 years ago
Julien Lebosquain
1f7538637b
Warning fixes ( #14894 )
* Fix CA1854
* Fix XML doc warnings
* Don't use & operator in async methods
* Use SetCurrentValue in DataGrid
2 years ago
Julien Lebosquain
cca45b5d1c
Fix SYSLIB0051 warnings (binary serialization) ( #14895 )
2 years ago
Julien Lebosquain
689a6255f7
Update ImageSharp to 2.1.7 ( #14893 )
2 years ago
Heku
9d8fd97365
Simplify two if blocks into one ( #14885 )
* Fix typo in comments
* Simplify two if blocks into one
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2 years ago
Max Katz
462e4d1a74
Add OutputVersion nuke target ( #14890 )
* Replace PRNumber with VersionNumber+nuke
* Restore prId file
* Fix env var name
* Change artifact name back for compatibility
2 years ago
Max Katz
42196922e6
Update azure-pipelines.yml
2 years ago
Max Katz
c9b86bf921
Enable Metal rendering by default for iOS and macOS ( #14762 )
2 years ago
Max Katz
f54fdadc47
Bump version ( #14871 )
2 years ago
Bartosz Korczyński
e2546cc0fb
Fix dev tools adorner highlight ( #14883 )
2 years ago
Emmanuel Hansen
9646164708
fix THICKFRAME style being applied on maximized when border is removed ( #14882 )
2 years ago
workgroupengineering
89f69741a7
fix(FreeDesktop): Missing PrivateAssets="all" Tmds.DBus.SourceGenerator ( #14876 )
2 years ago
Julien Lebosquain
fbae909ec8
Fix PopupPositionerConstraintAdjustment.ResizeY value ( #14873 )
2 years ago
Bartosz Korczyński
4a1e2411cd
Fixed positioning of popups attached to adorners ( #14439 )
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2 years ago
Julien Lebosquain
499e09efc9
Don't defer strings in resource dictionaries ( #14872 )
2 years ago
Dong Bin
0fcf212298
feat: make water mark invisible when IME preedit. ( #14861 )
2 years ago
Lubomir Tetak
74d1d398f4
Fix DataGrid TextBox Cursor blinking ( #14866 )
2 years ago
Emmanuel Hansen
5ba70158df
x11-force window size hints when window disabled ( #14859 )
2 years ago
workgroupengineering
7f27836bd2
fix: Missing remove Tmds.DBus.SourceGenerator submodule ( #14867 )
PR #14548 restored using Tmds.DBus.SourceGenerator nuget package instead of submodule, but missing submodule removal.
2 years ago
Steven Kirk
7dd77c56b1
Added UI thread rendering mode for X11. ( #14856 )
Allows using UI thread render timer for X11. Makes sense for low-end X11 devices that previously used immediate renderer.
2 years ago
Max Katz
11f5203ab2
Make Avalonia.Skia compatible with both SkiaSharp 2.88 and 3.0 ( #14510 )
* Add missing AvsCurrentTargetFramework on Skia project
* Implement SkiaCompat using UnsafeAccessor and cached functon pointer
* Do not support SkiaSharp 3.0 on older targest, avoiding reflection completely
* Make SkiaCompat static initialization more consistent
* Remove function pointers completely
---------
Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
2 years ago
Bartosz Korczyński
65b1c4579e
Fix TextBox in AdornerLayer causes collection modified exception in Arrange pass ( #14714 )
2 years ago
workgroupengineering
1d785863b9
feat(DevTools): Avoid events reporting coming from the DevTools popup. ( #14826 )
* feat(DevTools): Avoid events reporting coming from the DevTools popup.
* fix: Address review
2 years ago
Herman K
38ae473e52
fixed bug with initial size and position calculation for X11Window (in some cases scaling is not applied until first position change event, and all calculations before it provided wrong values) ( #12833 )
Co-authored-by: Herman Kirshin <herman.kirshin@jetbrains.com>
2 years ago
Bartosz Korczyński
b3212b99b5
Fixed no longer existing selectors in CheckBox and Calendar themes ( #14851 )
2 years ago