Nikita Tsukanov
47c39e91a1
[X11] IME hack for fcitx4 ( #13435 )
Co-authored-by: Max Katz <maxkatz6@outlook.com>
3 years ago
Alshain
e3c8e378a2
Allow TransitioningContentControl to be reversed. ( #13003 )
* Allow TransitioningContentControl to be reversed. (#12442 )
* Fix incorrect property name.
* Add missing pseudoclass attribute.
* Remove reversed transition pseudo class as discussed in review.
* Update samples/ControlCatalog/ViewModels/TransitioningContentControlPageViewModel.cs
Co-authored-by: Max Katz <maxkatz6@outlook.com>
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
3 years ago
workgroupengineering
7a1b9c782d
fix: Preview not showed when using using statment #12974 ( #13436 )
3 years ago
Nikita Tsukanov
74110ab267
Removed dependency on System.Drawing.Common ( #13431 )
3 years ago
Nikita Tsukanov
2a85f7cafe
Dispose CecilTypeSystem in XAML compiler task ( #13429 )
3 years ago
Emmanuel Hansen
fcea3453ff
Add method to cancel currently ongoing gesture on a pointer ( #13351 )
* add method to cancel currently ongoing gesture on a pointer
* skip gesture recognition for pointer capture session, revert cancel gesture changes
3 years ago
Magnus Lindhe
c7e9651489
Fix previewing XAML in the Simple theme project ( #13394 )
3 years ago
Benedikt Stebner
8da8100288
Fix SystemFontCollection nearest match lookup ( #13365 )
* Try to find nearest matching glyphTypeface when no exact match could by found by SystemFontCollection
* Fix glyphTypeface caching
* Rework SystemFontCollection TryCreateGlyphTypeface
* Make sure a failed glyphTypeface lookup is cached
* Make sure to only try to get nearest match if we failed to load the font via font magager impl
* Apply font simulations if possible
* Enable font simulation for embedded fonts
* Adjust simulated angle
3 years ago
Benedikt Stebner
2cfdc09886
Fix ShapedTextRun Split for sequences that contain invisible character that belong to the same cluster ( #13385 )
3 years ago
Max Katz
da523ffcaf
Implement DirectComposition support, as well as return Win8+ window transparency ( #13382 )
* Init DirectComposition support
* Use Win8.1 as a minimum dcomp target, avoid hacks with render timer
* Refactor transparency supprot a little
* Cleanups
* Restore old hack as I don't know how to remove it yet
3 years ago
workgroupengineering
972e7598af
fix(CaptionButton): theme used hardcoded Background, Foreground and BorderBrush color ( #13373 )
* fix(CaptionButtons): FluentCaptionButton theme used hardcoded Background, Foreground and BorderBrush color
* fix(CaptionButtons): SimpleCaptionButton theme used hardcoded Background, Foreground and BorderBrush color
3 years ago
Magnus Lindhe
c261a60018
Add TextBox.ScrollToLine ( #13274 )
* Add TextBox.ScrollToLine #3036
* Test data in arabic for RTL testing
3 years ago
Benedikt Stebner
a6075db521
Update HarfBuzzSharp ( #13357 )
3 years ago
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