Giuseppe Lippolis
96038db08f
fix: ItemTemplate is not applied on Menu/MenuItem
4 years ago
Nikita Tsukanov
d714f37fce
Implemented interop with externally managed GPU memory
4 years ago
Julien Lebosquain
7fcfc82be0
Fixed TextShaperImpl when the text is backed by an array
4 years ago
Julien Lebosquain
91f89c5176
Added FormattingObjectPool to reduce temp allocs during text layout
4 years ago
Julien Lebosquain
4144be11fe
Pass GlyphInfo directly to GlyphRun
4 years ago
Julien Lebosquain
290c8fe169
Removed most allocations for BidiReorder
4 years ago
Julien Lebosquain
076d10fcaf
BiDiAlgorithm and BiDiData instances are reusable
4 years ago
Julien Lebosquain
96b423900f
TextRunProperties: don't allocate if the typeface hasn't changed
4 years ago
Julien Lebosquain
658fd804af
Removed some temporary List<T> from text layout
4 years ago
robloo
c8c3b151b0
Fix expander event args type
4 years ago
robloo
ae78a2bc03
Revert "Add Interactive.AddHandler() for CancelRoutedEventArgs"
This reverts commit cfb90c8201 .
4 years ago
Emmanuel Hansen
85e7f383a2
fix crash in previewer for refresh container
4 years ago
Emmanuel Hansen
fce1633747
add doc comments
4 years ago
Steven Kirk
43e00b710b
Make concrete binding plugin classes internal.
4 years ago
Wiesław Šoltés
f675750aba
Fix BackRequested EventHandler args type
4 years ago
Steven Kirk
d6a68c8af8
Expose binding plugins in a different API.
4 years ago
Steven Kirk
67c9221d3c
Tweaked InstancedBinding API.
- Remove `Value` from the API, will always contain an `IObservable<object?>` from now
- Remove subject from the API, caller can try to cast the observable itself
4 years ago
Steven Kirk
cb8a21fb83
Make ExpressionNode (and derived) internal.
4 years ago
Steven Kirk
7788a29a96
Make BindingExpression and ExpressionObserver internal.
4 years ago
Max Katz
de325add06
Fix code related warnings
4 years ago
Max Katz
a0d22499cd
Fix benchmarks build
4 years ago
Max Katz
1d69936c79
Update default themes, use ThemeDictionaries
4 years ago
Max Katz
bd9c9783ab
Parse ThemeVariant compile time and merge ThemeDictionaries
4 years ago
Max Katz
253ecd028d
Introduce ThemeVariant API
4 years ago
Max Katz
a79ca4783e
Update AvaloniaDictionary API
4 years ago
mrmandrake
c1410af0d5
Update TextInputResponder.cs
fixes #9956
4 years ago
Emmanuel Hansen
bde380ebfa
Add snapping sample to scroll viewer page
4 years ago
Emmanuel Hansen
93f6d31966
support single scroll snap on pointer wheel
4 years ago
Emmanuel Hansen
e7891da6ad
snap on pointer wheel. fix center and far snap alignment
4 years ago
Emmanuel Hansen
87b0325bf1
add comments
4 years ago
Emmanuel Hansen
d102536017
implement IScrollSnapPointInfo in StackPanel
4 years ago
Emmanuel Hansen
4390f197d4
Add support for snap points to scroll viewer
4 years ago
Giuseppe Lippolis
9bb1b23755
feat: Address Rule CS0649
https://github.com/AvaloniaUI/Avalonia/discussions/9990#discussioncomment-4701870
4 years ago
Emmanuel Hansen
ac206db098
add browser support
4 years ago
robloo
cfb90c8201
Add Interactive.AddHandler() for CancelRoutedEventArgs
This hopefully fixes unit tests due to wrong overload being selected by the compiler.
4 years ago
Giuseppe Lippolis
a82de4e3fe
fix: Warning CS0436 ModuleInitializerAttribute conflicts with the imported type
4 years ago
Giuseppe Lippolis
1a0492dcb0
fix: Warning CS0105: The using directive for 'Avalonia.Reactive' appeared previously in this namespace
4 years ago
Giuseppe Lippolis
c97f03e095
fix: CS0436 conflicts with the imported type
4 years ago
Dmitry Zhelnin
a75753c942
EventRoute: remove additional check if event was handled
4 years ago
Emmanuel Hansen
5936f52b2c
Add back requested event for TopLevel
4 years ago
robloo
a68cce869f
Add CancelRoutedEventArgs and use it in Expander
4 years ago
robloo
bc9f753749
Switch Expander.IsExpanded to a StyledProperty
4 years ago
Julien Lebosquain
dec8c1c586
Used Memory/Span instead of CharacterBufferReference/Range
+ GlyphRun uses ReadOnlyMemory for characters
4 years ago
Benedikt Stebner
473cda2d3e
[Direct2D1] Don't dispose DirectWrite GlyphRun explicitly
4 years ago
Steven Kirk
d0f479d80c
Don't recycle focused element.
Fixes #9269
4 years ago
Emmanuel Hansen
79b30658f1
add TopLevel.GetTopLevel api
4 years ago
Steven Kirk
8600f306e0
Add redundancy for a problem I can't repro in tests.
There's a problem with `DataBox` that I can't repro in a unit test. Add some redundancy such that if we're still waiting for a viewport update after carrying out a layout pass, force another layout.
4 years ago
Max Katz
fe115d9dd9
Remove platform specific IsPathRooted
4 years ago
Martijn Sneijders
95ccb0c9c6
ScrollGestureRecognizer ends its current fling gesture (touch or pen) if ScrollGestureEventArgs is no longer handled by the Presenter.
4 years ago
Max Katz
37545cbeb1
IStorageProvider API updates
4 years ago