Nikita Tsukanov
e40d5d624c
Fix ImageBrush crash when source bitmap gets disposed ( #13506 )
3 years ago
Herman K
b62b00d7e1
Fixed passing current_folder to DBus for save file dialog ( #13491 )
Co-authored-by: Herman Kirshin <herman.kirshin@jetbrains.com>
3 years ago
workgroupengineering
52cbe29916
feat(DevTools): Pin properties ( #13371 )
* feat(DevTools): Pin properties
* fix: Address review
* fix: revert using
* feat: Show Pin ToggleButton on pointer over.
3 years ago
Marko Prosen
083c7cb187
Fix DateTimePicker scroll down ( #13482 )
3 years ago
Julien Lebosquain
dca8cd4f92
Remove viewport estimation from VirtualizingStackPanel ( #13169 )
* Added failing VirtualizingStackPanel viewport test
* Remove viewport estimation from VirtualizingStackPanel
3 years ago
Julien Lebosquain
9a3cfce24d
Fix viewport calculation with non-invertible render transform ( #13188 )
* Added failing test for viewport with 0 scale transform
* Fix viewport calculation with non-invertible render transform
3 years ago
Benedikt Stebner
1b0af799bb
[Win32] Fix LoadIcon ( #13466 )
* [Win32] Fix LoadIcon
* Add check for seekable stream
3 years ago
Chris Tacke
53c646be06
Added PointerPressed and PointerReleased events to DataGrid header ( #12595 )
* Added PointerPressed and PointerReleased events to the header in a DataGridColumn
* update refs
* Update Avalonia.Controls.DataGrid.csproj
* revert project file changes
* more reversion
* removed spaces
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Tim <47110241+timunie@users.noreply.github.com>
3 years ago
Herman K
39ce0c206f
Tooltip inherits theme from control ( #13454 )
Co-authored-by: Herman Kirshin <herman.kirshin@jetbrains.com>
3 years ago
Emmanuel Hansen
9753aa5535
only add text selector layer when textpresenter is loaded. ( #13458 )
3 years ago
Nikita Tsukanov
7aa106a7b7
Fix bitmap->icon conversion? ( #13445 )
3 years ago
Emmanuel Hansen
eb5fdd2a3d
Implement Text Selection handles in TextBox for touch input ( #13107 )
* add text selection handles
* only show selectors on pen and touch input
* show mobile themed context menu on mobile
* cleanup and track textbox layout changes with EffectiveViewportChanged
* make SelectionHandleType as clr property
* fix custom flyouts not showing with selection handles
* simplify text context menu for mobile.
* cleanup
* address review, simplify styles, add docs
* remove unused resource
* remove unused event handler, reformat selection canvas class
* prevent thumb positions from swapping
* adjust caret position when touch pointer moves
* cleanup, disable scrolling in textbox when intent is selection
3 years ago
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