Nikita Tsukanov
f072a32f79
Added MicroComRuntime.TryUnwrapManagedObject
4 years ago
Benedikt Stebner
f3a6e88a72
Fix webapp dependency vulnerabilities
4 years ago
Steven Kirk
cccbbc44c5
Clarify the return value of `StripAccessKey`.
4 years ago
Steven Kirk
d0d86e28c1
Added remaining nullable annotations after merge.
4 years ago
Steven Kirk
b470fcc476
Handle nullability in new TextBox/TextPresenter.
Made the decision to return a null `TextLayout` when `TextPresenter.Foreground` is null for consistency with our other usages of null brushes, though not 100% sure this is correct.
4 years ago
Benedikt Stebner
79298e3375
Fix nit
4 years ago
Benedikt Stebner
4bac7fd953
Fix HitTestTextRange bidi
4 years ago
Benedikt Stebner
ce664fd224
Update _navigationPosition when MoveCaretToTextPosition is used
4 years ago
Benedikt Stebner
cda32a83b4
Keep _presenter reference
4 years ago
Benedikt Stebner
c640bc21c6
Fix failing tests
4 years ago
Benedikt Stebner
27c7a5c724
Fix issues mentioned during review
4 years ago
Steven Kirk
8ff251ec96
Actually dispose PlatformImpl.
4 years ago
Steven Kirk
888cc33170
Fix failing unit tests in debug mode.
#7369 introduced a validating layer over `WindowBase.PlatformImpl` that is only enabled in debug mode. This validating layer was causing unit tests to fail in debug mode but not on CI which runs tests in release mode.
Fix the problems:
- `PopupRoot` was not correctly disposing itself on `Dispose` - make it call `HandleClosed` in order to perform the same steps as when the popup is closed via other means
- Some unit tests try to access the `PlatformImpl` to get hold of a mock. Added `ValidatingWindowImpl.Unwrap` to allow this
- `ValidatingWindowBaseImpl.Activated` was setting the wrong property on the wrapped `PlatformImpl`.
4 years ago
Steven Kirk
f71893e42d
Relax constraint on ITemplate<T>.
4 years ago
Steven Kirk
402a262502
Remove usages of Contract.Requires.
4 years ago
Steven Kirk
d80cfbca18
Remove #nullable directives.
4 years ago
Steven Kirk
2d251b04fb
Fix nullability error from Avalonia.Web.Blazor.
4 years ago
Steven Kirk
7f774a130f
Fix up nullable issues in Avalonia.Diagnostics.
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Steven Kirk
ad0a813304
Nullability tweaks in lower-level libraries.
4 years ago
Emmanuel Hansen
9a5fe6cbdf
fixup
4 years ago
Max Katz
4d866b544c
Replace shared project with Avalonia.PlatformSupport
4 years ago
Benedikt Stebner
6fcba32bbf
Fix TryGetShapeableLength
4 years ago
Benedikt Stebner
3fdfdd64d2
Fix font fallback
Fix TextPresenter measure
4 years ago
Tim U
fb4c82aa84
Use AddOwner for ScrollContentPresenter
4 years ago
Tim U
2941c3f635
Rename BubbleUpScrollOnEndReached to IsScrollChainingEnabled
4 years ago
Tim
c7560588fb
use `ScrollViewer.GetBubbleUpScrollOnEndReached` in `DataGrid`
DataGrid handles the scrolling by it's own and not via ScrollViewer, so we need handle it there as well.
4 years ago
Tim
26ca4c15ba
Implement `BubbleUpScrollOnEndReachedProperty`
- Add property as AttachedProperty, so it can be opt-in or opt-out
- Only bubble up the scroll event if the end is reached
- Make use of this Property in:
o ListBox
o TextBox
o TreeView
4 years ago
Benedikt Stebner
3f32f8e390
Fix GetLineIndexFromCharacterIndex
4 years ago
Benedikt Stebner
b815a22d5a
Port WPF's FormattedText to Avalonia and rework TextPresenter
4 years ago
Sergey Mikolaitis
fdb333d154
Fix Monitor.Enter in finally
4 years ago
robloo
a0331c6007
Undo CanExecuteChanged changes
4 years ago
robloo
e730e15d66
Remove SplitButton.cs after cherry-pick
4 years ago
robloo
d8e071039b
Move more Button property changed handling into OnPropertyChanged override
4 years ago
robloo
fe11e4f2c7
Minor refactoring to Button noticed when adding SplitButton
4 years ago
Emmanuel Hansen
4bcd5f5dd8
add density style option in Fluent Theme provider
4 years ago
Dan Walmsley
1bbe38c34f
update copyright year
4 years ago
Emmanuel Hansen
280eef2d23
maintain key down event, add extra cases to handle shift and control modifiers
4 years ago
Emmanuel Hansen
abfb2ed462
Trigger control inspection on key up
4 years ago
Max Katz
fd3c44bb81
Ensure menu children are closed on menu flyout presenter detached
4 years ago
Takoooooo
71c438a4a3
fix
4 years ago
Dan Walmsley
365a8250c7
fix stability of wasm init.
4 years ago
Dan Walmsley
cd2c6b4859
optimize inital setup and fix initial render pass.
4 years ago
Nikita Tsukanov
9c0964adf5
Added GetIntermediatePoints support for X11, libinput and evdev
4 years ago
ahopper
cff0c680ac
remove lock from X11Window
4 years ago
Sergey Mikolaytis
90c846007a
Requested Changes
4 years ago
Max Katz
b3bcfa128a
Update src/Web/Avalonia.Web.Blazor/AvaloniaView.razor.cs
4 years ago
Dan Walmsley
41aa6328db
force initial render.
4 years ago
Dan Walmsley
9be730d69d
butter smooth resizing.
4 years ago
Dan Walmsley
a11b3848b2
support resizing canvas seperately.
4 years ago