Steveice10
e0c6e11a42
Add tooltip support to NativeMenuItem. ( #13350 )
* Add tooltip support to NativeMenuItem.
* Add support for NativeMenuItem tooltips on macOS.
3 years ago
Benedikt Stebner
da3d4ca5c2
Fix TextLayout.OverhandLeading calculation ( #13287 )
* Fix overhand leading calculation
* Fix test on Mac
* Fix tests
3 years ago
Steveice10
6f0bfbf3aa
Exclude access key markers from native menu titles on macOS. ( #13338 )
* Add integration test for access key indicators in macOS menu bar titles.
Tests for access key indicators displaying as plain underscores in macOS menu bar items.
* Exclude access key markers from native menu titles on macOS.
macOS does not support access key markers, so they just display as extra underscores.
3 years ago
Tom Edwards
9c627423ff
Handle array types when parsing XAML values ( #13331 )
3 years ago
workgroupengineering
77e1abcc68
update xamlx ( #13328 )
3 years ago
Steven Kirk
87ffbfc089
Implement IList on DataGridCollectionView. ( #13313 )
Fixes #11586
3 years ago
robloo
3a428a3fe8
Fix BeginFigure() usage in Sector to be filled ( #13304 )
3 years ago
Nikita Tsukanov
e49d61a4b4
iBus support fixes ( #13297 )
* iBus: Fixed crash when iBus was provided by fcitx daemon
* iBus: Ignore CommitText signal if it was sent while context is being Reset
3 years ago
workgroupengineering
a4cdddac09
cleanup(PinchGestureRecognizer): Removing unused methods ( #13229 )
3 years ago
Benedikt Stebner
26035be849
[Mac] Fix keyDown event ( #13280 )
* [Mac] Check for space key when keyDown isn't consumed
* [Mac] Make sure no text input event is send when a modifier is pressed
* [Mac] Refactor keyDown handling
* Move ignoreUserInput
* Handle keyDown for doCommandSelector
3 years ago
workgroupengineering
1ee3779a7a
feat: avoid redundant null check in PinchGestureRecognizer ( #13207 )
3 years ago
workgroupengineering
ea6402486c
feat(Gestures): Allow using some `Gestures` events in Xaml ( #13232 )
* feat(Gestures): Adds HoldingEvent handlers
* feat(Gestures): Adds PinchEvent handlers
* feat(Gestures): Adds PinchEndedEvent handlers
* feat(Gestures): Adds PullGestureEvent handlers
* feat(Gestures): Adds PullGestureEndedEvent handlers
* feat(Gestures): Adds PointerTouchPadGestureMagnifyEvent handlers
* feat(Gestures): Adds PointerTouchPadGestureRotateEvent handlers
* feat(Gestures): Adds PointerTouchPadGestureSwipeEvent handlers
* feat(Gestures): Adds ScrollGestureEvent handlers
* feat(Gestures): Adds ScrollGestureEndedEvent handlers
* feat(Gestures): Adds ScrollGestureInertiaStartingEvent handlers
3 years ago
Magnus Lindhe
050c660939
Fix watermark alignment of TextBox in the Simple theme #5802 ( #13295 )
3 years ago
Nikita Tsukanov
5b02b0389a
X11 IME preedit, preedit cursor, input context improvements ( #13282 )
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
3 years ago
Emmanuel Hansen
43f1b9d8ca
do not set borders if window state is maximized ( #13228 )
Co-authored-by: Max Katz <maxkatz6@outlook.com>
3 years ago
Jumar Macato
03355b28b5
Add option to enable/disable input focus proxy for X11. ( #13273 )
* Add option to enable/disable input focus proxy for X11.
* use list instead
3 years ago
Julien Lebosquain
a5d5880e2e
Rethrow layout exceptions ( #13189 )
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
3 years ago
Benedikt Stebner
a5b12fbc7d
Introduce TextBlock.LineSpacing ( #13243 )
* Introduce TextBlock.LineSpacing
* Introduce TextBlock.LineSpacing
3 years ago
laolarou
51b7ef44d0
Update OpenGlControlBase.cs ( #13260 )
3 years ago
Benedikt Stebner
312e6089f8
Fixes leading space GlyphRun.InkBounds ( #13268 )
* Make sure glyph bounds of whitespaces are calculated properly
* Add unit test
3 years ago
Alessandro Francesconi
a581dc3628
Typo on TextBlock.cs comments ( #13255 )
"FontWeight" is actually "FontStretch"
3 years ago
Max Katz
b3ff3ab808
Replace UnixLoader with NativeLibraryEx ( #13217 )
3 years ago
Boyd Patterson
98acdd7c08
Do not match access keys on input elements that are not effectively enabled. ( #13185 )
3 years ago
Benedikt Stebner
bbe4ad8755
Fix TextWrapping for all modes when nothing fits into a line ( #13241 )
* TextFormatter freeze repro
* Fix emergency text wrapping for all wrapping modes
---------
Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
3 years ago
Benedikt Stebner
b18d2f74f3
[Mac] Handle control keys all the time ( #13220 )
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
3 years ago
Max Katz
adb97bd5b6
Fix macOS clipboard formats mapping ( #13197 )
* Implement macOS clipboard formats mapping
* Mark DataFormats unstable instead of obsolete (removes warnings in our code base)
* Support non-text data formats in macOS drag source
* Implement SetStrings for IAvnClipboard to support files properly
* Add comments to a confusing part of code
* Update src/Avalonia.Base/Input/DataFormats.cs
---------
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
3 years ago
workgroupengineering
b6b0168677
fix(ImmutableSolidColorBrush): Missing assingment of ctor transform argument ( #13194 )
3 years ago
Benedikt Stebner
ba3773714b
Fix text wrapping for languages like chinese that can break at all characters and not just at spaces ( #13193 )
3 years ago
Jumar Macato
ccf74f62b9
Merge pull request #13191 from Gillibald/featurer/customSystemFonts
Introduce AppBuilder extension to customize system fonts
3 years ago
Jumar Macato
a33fbda1fa
Merge branch 'master' into featurer/customSystemFonts
3 years ago
Dan Walmsley
37996546d2
Merge pull request #13213 from AvaloniaUI/try-to-fix-API-validator
Try to fix api validator
3 years ago
Benedikt Stebner
b6713cb652
Merge branch 'master' into try-to-fix-API-validator
3 years ago
Benedikt Stebner
1d3feffed6
Fix unit test
3 years ago
Benedikt Stebner
cc558bbc8a
Improve naming
3 years ago
Benedikt Stebner
c857a47f2a
Simplify custom system font source
3 years ago
Max Katz
cadfc6f494
Use even older version than before
3 years ago
Max Katz
0e654230db
Downgrade to iOS 16.1 target
3 years ago
Max Katz
8d38cdf0ba
Update SDKs
3 years ago
Max Katz
ebb4fff829
Make TFM redirects in Api Validator better
3 years ago
Max Katz
b9fde9ddf7
Pin android and iOS platform versions
3 years ago
Benedikt Stebner
36ec244b2c
Introduce AppBuilder extension to customize system fonts
3 years ago
Benedikt Stebner
b83a5eb8b7
[Text] Fix hit testing issues ( #13155 )
* Repro for Line_Formatting_For_Oversized_Embedded_Runs_Does_Not_Freeze
* Repro for Line_With_IncrementalTab_Should_Return_Correct_Backspace_Position
* Fix GetBackspaceCaretCharacterHit
Fix GetPreviousCaretCharacterHit
Fix WrapWithOverflow for not text runs
* Fix custom font manager
* Move DejaVuSans to a different location to prevent using it as a fallback
---------
Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
3 years ago
Dan Walmsley
399b702f4e
Merge pull request #13179 from Gillibald/fixes/macDisabledIme
[Mac] Only raise TextInput for non empty keySymbol
3 years ago
Benedikt Stebner
be0d00232a
[Mac] Only raise TextInput for non empty keySymbol
3 years ago
Julien Lebosquain
d968d7bf2d
Update XamlX ( #13158 )
* Update XamlX, with Avalonia changes
* Made XamlX internal in Designer.HostApp
3 years ago
Dan Walmsley
3fa11fd763
Merge pull request #13156 from AvaloniaUI/fix-build-baseline-version-parse
fix parsing the baseline version for api diff.
3 years ago
Dan Walmsley
50c785917f
Merge branch 'master' into fix-build-baseline-version-parse
3 years ago
Dan Walmsley
1e0eacbdc3
fix parsing the baseline version for api diff.
suffixes like -rc1 would cause this to crash.
3 years ago
Magnus Lindhe
e1bf1b715f
Fix documentation typos in AvaloniaLIst ( #4948 ) ( #13146 )
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
3 years ago
Benedikt Stebner
4ef901b22b
Always process key events via input context unless it is disabled by user code ( #13143 )
Simulate textInput when IME is disabled
3 years ago