Nikita Tsukanov
cffb4b8d62
Don't merge RenderOptions during update and only push them to drawing context if actually needed ( #15111 )
* Don't merge RenderOptions during update and only push them to drawing context if actually needed
* Removed RenderOptions property from IDrawingContextImpl
2 years ago
Max Katz
4b1ca3811e
Avalonia single project support ( #9613 )
* MVP SingleProject support for all supported platforms
* Convert MobileSandbox to be a single project
* WASM fixes
* Fix SDK CI version
* Use .NET 8 in build project as well
* Add EnableUnsafeBinaryFormatterSerialization
* Add macos workload, remove wasm-experimental
* And ios
* Specify TFM for single-project projects in dirs.proj
* Return deleted line
* Set PrivateAssets=all on MobileSandbox
* Add ios target only on non-linux in MobileSandbox
* Update after merges
* Update browser sub-project from the templates
* Don't build MobileSandbox on CI
* Couple of improvements
* Add android hack to run without manifest
* Add tvOS support and rearrange some properties
* Delete unusable Packages.targets file + related
* Add global Condition for AvaloniaSingleProject.targets
2 years ago
crazeteam
0b72cdb512
chore: remove repetitive words ( #15116 )
Signed-off-by: crazeteam <lilujing@outlook.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2 years ago
workgroupengineering
40c630b7b5
feat(LibInputBackend) Handle events only from specific input handler devices ( #15001 )
* refactor(LibInputBackend): Move HandleTouch in `LibInputBackend.Tocuch.cs`
* feat(LibInputBackend) Handle events only from specific input handler devices
- Added LibInputBackendOptions
- Added LibInputBackend ctor overload that accepts LibInputBackendOptions
- Moved input thread initialization from ctor to the Initialize method
* fix: nits
* fix: Address review
* fix: Address review
2 years ago
Nikita Tsukanov
e79d62a66b
Don't involve the animation system in every single property read ( #15110 )
2 years ago
Nikita Tsukanov
029daf79c9
Added a separate diagnostics graph to track Update method timing ( #15109 )
2 years ago
Julien Lebosquain
bb6005b324
Set capacity of XAML resource dictionaries ( #15069 )
2 years ago
Max Katz
e3e42b2c15
Properly rethrow RegisterTick errors instead of returning generic E_FAIL ( #14938 )
2 years ago
Nikita Tsukanov
a41233d1b7
Actually dispose PooledList ( #15108 )
2 years ago
workgroupengineering
83ca2cac5a
feat: Allow to initialize `DrmCard` from existing file descriptor. ( #15092 )
2 years ago
Johan Appelgren
da6b11ebed
Fix IsInRange and added unit tests. ( #15079 )
2 years ago
Max Katz
bad2e8dbdc
iOS some pointer/keyboard fixes ( #15061 )
* Fix stylus input state mapping on iOS
* Fix UIKeyboardHidUsage.KeyboardDeleteOrBackspace mapping on iOS, should be mapped to Backspace
* Release iOS pen pointer on PenUp event, fixing IsPrimary state
* Don't limit scroll gestures to single primary input - user should be able to scroll two different scrolls
2 years ago
Tom Edwards
8cf28faf80
Use ShowWindowCommand.Hide when positioning a win32 window that has not yet been shown ( #15035 )
2 years ago
thevortexcloud
c43b3be94f
Fix incorrect comment for CanVerticallyScroll ( #15039 )
* Fix incorrect comment for CanVerticallyScroll
* Fix typo
2 years ago
Benedikt Stebner
4f8f46cb5d
Fix TransformOrigin for brushes ( #15037 )
2 years ago
Derek Antrican
1565e85d59
Implement check for inhertiance before calling method ( #15029 )
2 years ago
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