Alexandre Mutel
72caa3ccba
Fix TextLayout.Width calculation ( #18305 ) ( #18310 )
* Fix TextLayout.Width calculation (#18305 )
* Use WinSymbols3.ttf
12 months ago
Nikita Tsukanov
0cb1cf2990
Don't alter any InputElement properties from in-process dnd handler ( #18288 )
12 months ago
Nikita Tsukanov
e58c168545
In-process dnd should always handle pointermoved for consistency with actual dnd ( #18287 )
12 months ago
Nikita Tsukanov
640d249ab7
[X11] Use XcursorLibraryLoadCursor for dnd cursors ( #18286 )
12 months ago
Maxwell Katz
5e7963b545
Root assemblies for SRE XAML loader ( #18290 )
* Root assemblies for SRE XAML loader
* Update XamlTestBase.cs
12 months ago
Julien Lebosquain
3ee7102843
Fix Win32 MonitorFromRect ( #18285 )
12 months ago
Rastislav Svoboda
939c78047e
TextBox: clear selection when moving the caret horizontally ( #18255 )
* TextBox: clear selection when moving the caret horizontally
* fix and add unit tests
12 months ago
Rastislav Svoboda
c1e0ba7db4
iterate over visible columns only when DnD column header ( #18251 )
12 months ago
Poker
117450dbbe
Fix DockPanel index out of range ( #18261 )
* Update DockPanel.cs
* Update DockPanelTests.cs
12 months ago
Dong Bin
afa124f505
Add Analyzer and CodeFixProvider for Initializing Bitmap with a "avares" scheme argument. ( #18150 )
* feat: add bitmap analyzer.
* feat: add code fix provider.
* feat: use actual name. add comment.
12 months ago
Aleksei Smirnov
df6382a3c6
#18192 Fix Implicit x:DataType defining for InheritDataTypeFromItems attributed property ( #18206 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
12 months ago
Julien Lebosquain
5824d9b079
Warning fixes: '25 winter wave ( #18103 )
* Use TryGetValue in UnicodeEnumsGenerator
* Suppress incorrect CA2256 in Win32.Automation
* Fix xUnit analyzer warnings
* Misc warning fixes
* Ignore some obsolete warnings
12 months ago
Dong Bin
daf3d5805b
feat: use visual brush if Header is control. ( #18154 )
12 months ago
nightfog-git
156abb7395
fix NumericUpDown Spinned event ( #18180 )
* Raise Spinned event after value change
* Simplify invoke event
12 months ago
Maxwell Katz
355cf162b1
Add FontSize property validation ( #18198 )
* Add FontSize property validation
* Also disallow 0 value for the font size
* Also check for IsInfinity
12 months ago
Maxwell Katz
15841ef754
Fix typo in SetValue validation exception message ( #18197 )
12 months ago
Nikita Tsukanov
ead6ac81b1
[SKIA] Don't re-create SKImage on every WriteableBitmap draw call ( #18164 )
1 year ago
Tom Edwards
920122c648
Correct which types receive CompilerGeneratedAttribute ( #18166 )
1 year ago
Maxwell Katz
68009f8960
Warning AVLN2208: Item container in the data template ( #18132 )
* Implement AVLN2208 diagnostic - ItemContainerInsideTemplate
* Add AVLN2208 tests
* Enable AVLN2208 as an error in the repository globally
* Fix invalid ListBoxItem inside of DataTemplate in devtools
1 year ago
Lubomir Tetak
fa14f9e693
Fix DevTools bindings ( #18125 )
1 year ago
AnastassiaP
aa07882f2f
make lastPointerPosition trackable at the drag event ( #18069 )
make _lastKnownPosition trackable at dragging
adding additional comments regarding fix
delete unnecessary lines
1 year ago
Benedikt Stebner
dd2c92ce46
FontFamily.FamilyTypefaces support ( #18113 )
* Introduce FontFamily.FamilyTypefaces
* Detect FontWeight, FontStyle and FontStretch with the OS2Table
1 year ago
Julien Lebosquain
8bc116f9f1
Fix NSEvent.subType assertion ( #18126 )
1 year ago
Emmanuel Hansen
4c1edc2d1e
Fix - Complete window dialog task when dialog is hidden ( #18047 )
* complete window dialog task when dialog is hidden
* change window IsVisible behavior for dialogs to hide window instead. update tests
* unset owner before hiding window to prevent OS from updating owner visibility or window order
1 year ago
leo
eafb41d628
Fix SelectableTextBlock selection ( #18049 )
1 year ago
Poker
beaefef646
[DockPanel] Add Spacing properties ( #17977 )
* Add Spacing and Padding properties for DockPanel
* Add unit test
* Remove Padding
* use Math.Max
* merge spacing flags
* remove clamp
* revert comment
* remove check
* messure collaped children without spacing
1 year ago
Aki Sakurai
21ecbf384b
feat: Support pressure and tilt on macos ( #18082 )
* feat: Support pressure and tilt on macos
* apply suggestions
* apply suggestion
1 year ago
ijklam
19017f1b7f
[ScrollViewerPresenter] Fix rtl scroll ( #16667 ) ( #17714 )
* Fix rtl scroll (#16667 )
* fix shift + scroll
---------
Co-authored-by: ijklam <43789618+Tangent-90@users.noreply.github.com>
1 year ago
Melissa
29fbaaa878
Fixed unnecessary window displacement on resize ( #18004 )
* Added new test: changing window size should not change position
* Removed unnecessary window placement assignment to fix window position shifting due to incorrect workspace coordinate usage
* Fixed test because buttons went off the window on tiny screen resolutions
* Make test Windows specific
* Use `Bounds` instead of `Width` and `Height` properties as they are "requested" size rather than actual size (see #18060 )
1 year ago
Leo Bottaro
9441362dcc
Add missing Blend Modes and expose BlendMode on Image Control ( #17903 )
* Add missing Bitmap Blend Modes supported by Skia
* Expose Blend Mode on Image Control
* Fix image render options "push" not being disposed
Fix image blendMode change not triggering a re-render
* Add Image Blend Tests
* Remove Modulate Blend mode
* Add Composition Blend Modes Tests
---------
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
nickodei
8b93dd13e8
Enable light dismiss on CalendarDatePicker popup in simple theme ( #18092 )
1 year ago
kerams
98e25c251d
Try fix Korean IME on iOS ( #17680 )
* Do note propagate SurroundingTextChanged back to iOS
* Fix
* Optimize
1 year ago
FishEagle
874c99fa5d
fix null returned when user choose to overwrite file ( #18076 )
1 year ago
solveEM
5f0ae7fccb
TextLayout: TextStyleOverrides aren't applied correctly ( #17922 )
* Added FormattedTextSource->GetTextRun failing test
* Ensure that TextLayout-TextRuns are correctly generated from the passed TextStyleOverrides using the FormattedTextSource->GetTextRun method.
---------
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
Compunet
84e62d67f9
[TextTrimming] Fixed some text trimming bugs ( #17998 )
* Trim text-runs in their logical order
* Revert breaking changes
* Added TODO12 comment
* Added test unit
* Use LogicalTextRunEnumerator
---------
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
kerams
f09591c102
Do not propagate SurroundingTextChanged if input connection is in update ( #18030 )
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
Evan Ruiz
3e3f11d84f
Path Geometry update fix for 4748 bug rerender on change for paths segments ( #18025 )
* Add failing Path Geometry update test
#4748 [BUG] Rerender on change for Paths, Segments and e.g.
Failing Test
* Fixes failing Path Geometry update test
Fixes #4748 [BUG] Rerender on change for Paths, Segments and e.g.
1 year ago
Maxwell Katz
98a388d3a3
Add Popup.ShouldUseOverlayLayer property ( #5629 )
* Implement Popup.ShouldUseOverlayLayer property
* Add ShouldUseOverlayLayer tests
1 year ago
Tom Edwards
2e6c571fc9
Added WrapItemsAlignment ( #17792 )
1 year ago
Dan Walmsley
e175ff21e8
Make sure MacOS uses the cached value for render scaling. ( #18062 )
1 year ago
Julien Lebosquain
01a7c859d4
Fix style without selector not finding target type ( #18026 )
* Add failing style test without selector
* Fix XAML target type of style without selector
* Address review
* Throw for style without selector in ControlTheme
1 year ago
Compunet
7638a61518
Get trailing whitespace length from glyph run metrics ( #17960 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
ちーず(・8・)けーき
2d8376c3bd
`Imm32InputMethod.HandleComposition` no longer ignores IME cancel(`lParam` = 0) ( #18034 )
1 year ago
Yaroslav
58dacb051c
Add new constructor to AvaloniaDictionary and include unit tests #17311 ( #17312 )
* Give AvaloniaDictionary new .ctor and add Tests for it
#17311
* AvaloniaDictionary accept IDictionary as init collection
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
nickodei
fce56827e2
Access single file or folder from IStorageFolder by name ( #17771 )
* added methods to IStorageFolder to access a single file or folder by name
* relaxed file/folder by name browser acces to throw less errors
1 year ago
Maxwell Katz
3850b80e1c
Bump Avalonia.BuildServices ( #18029 )
1 year ago
kerams
c15dc0d8c0
Support activation with universal links ( #18005 )
1 year ago
Mohamad Iraji
fdadfb862f
add spacing to uniform grid - issue 8406 ( #17993 )
* add spacing to uniform grid - issue 8406
* fix negative return value from UniformGrid MeasureOverride and cached spacing properties
1 year ago
Dong Bin
26bc22910f
[TextBox] Add readonly property: LineCount. ( #17656 )
* feat: add readonly property: LineCount.
* feat: change property to method.
1 year ago
Yoshihiro Ito
3718c10408
Fix in HeadlessClipboardStub.GetDataAsync where format is not considered ( #18008 )
1 year ago