Nikita Tsukanov
fe81e96fb6
Implemented INCR server
1 year ago
Nikita Tsukanov
6aa2d438c9
INCR client
1 year ago
Nikita Tsukanov
d0ea37dbc2
Refactor X11 clipboard to use session-based approach
1 year ago
Nikita Tsukanov
8c5d5cad12
Merge branch 'master' into feature/try-get-original-data-object
1 year ago
Julien Lebosquain
07a76145f4
Remove DataGrid from the main repository ( #18401 )
1 year ago
Julien Lebosquain
3c7c469018
Raise pointer events on captured element ( #18420 )
1 year ago
Emmanuel Hansen
e189ef9c53
Fix - Search for visual parents when hittesting for pointer events ( #18416 )
* search for visual parents when hittesting
* Add unit test for hit testing on disabled visual
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Krzysztof Krysiński
6a010a89f2
Added surface dispose to DrawingSurfaceDemoBase ( #18412 )
1 year ago
Dong Bin
c416fc716d
fix: InputMethod should remove handler. ( #18414 )
1 year ago
StefanKoell
ce72eced6b
Implement SetItems method in ResourceDictionary ( #18354 )
* Implement AddOrUpdateRange method in ResourceDictionary
* Change to SetItems method nam, remove flag
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Johan Polson
156f587cfa
Use "handled" for keybord input in Browser ( #18349 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Benedikt Stebner
d55421bdc9
Introduce GlyphTypeface.FaceNames ( #18392 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Vadim Kutin
edaaf5bbda
Improve KeyGesture.ToString() output in case when Key is set to Key.None ( #18353 )
* Improve ToString() output in case when Key is set to Key.None
* Update KeyGesture.Parse method to support only modifiers combinations
* Update tests with empty combination and modifiers-only combinations
1 year ago
Maxwell Katz
82329882ac
Support complex types in datatype ( #18379 )
* Fix XamlTypeExtensionNode not being handled on the x:DataType transformer
* Add testt with complex DataType
* Make vm:MainWindowViewModel+TestItem nested type generic on BindingDemo
1 year ago
Rastislav Svoboda
6e1cab99f6
Fix: TextBox having selection and pressing up / down arrows ( #18385 )
1 year ago
Emmanuel Hansen
8a7945e492
Bring control into view only if control isn't properly visible in viewport ( #18359 )
* bring control into view only if control isn't currently in viewport
* fix margin add comments
* add more bring to view tests
1 year ago
Betta_Fish
7d3f490b04
[Grid] Add RowSpacing and ColumnSpacing ( #18077 )
* Add spacing properties
* Add spacing while computing final offsets
* Add spacing while calculating desired size
* Add unit tests
* fix missing spacing arrangement
* draw grid line
* Add property changed handler
* add new unit test
* Resolve star spacing
* fix AffectsMeasure
* overflow unit test
* Clean up
---------
Co-authored-by: Poker <poker_sang@outlook.com>
1 year ago
Maxwell Katz
acd4653411
Add diagnostic metrics/activities ( #18314 )
* Add System.Diagnostics.DiagnosticSource nuget package for pre-.NET 8 targets
* Move System.Memory reference to Base.props
* Add CompositorRenderPass and CompositorUpdatePass metrics
* Layout measure/arrange pass metrics
* Add UI render pass and input pass meters
* Add observable metrics
* Add RaisingRoutedEvent activity
* Add FindingResourceActivity activity
* Add AttachingStyleActivity and EvaluatingStyleActivator activities
* Add PerformingHitTest activity
* Add MeasuingLayoutable/ArrangingLayoutable activities
* Missed RaisingRoutedEvent definition
* Missed tag definitions
* Start FindingResourceActivity on static resources too
* Fix compilation
* Naming
* Add Avalonia.Diagnostics.Diagnostic.IsEnabled runtime switch
* Maybe make it more trimmable as well
1 year ago
Emmanuel Hansen
603a2bdb43
add content template to flyout ( #18361 )
1 year ago
affederaffe
b66471b356
Bump DBus stack ( #18343 )
1 year ago
workgroupengineering
61de7e36b1
feat(Window): Allow to persist content of Clipboard after App close ( #16778 )
* feat(Window): Allow to persist content of Clipboard after App close
* fix: missing iOS Platform
* fix(Api Validation): Missing suppression
* Revert "fix(Api Validation): Missing suppression"
This reverts commit 04b4e0c634 .
* fix: Address review
* fix: ValidateApiDiff
* test: Fix build issue
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Nikita Tsukanov
0bfb7e10ee
Rest of the platforms
1 year ago
Julien Lebosquain
b815659435
Fix Window.MeasureOverride measuring with the old ClientSize ( #18338 )
1 year ago
Nikita Tsukanov
ea648bac85
[Win32] Implemented TryGetInProcessDataObjectAsync
1 year ago
Nikita Tsukanov
6cb6ccfc18
Implemented IClipboard.TryGetInProcessDataObjectAsync for X11
1 year ago
Jonko
418e15d294
Search all SelectingItemsControl items with TextSearch on key input, not just realized ones ( #17506 )
* Modify SelectingItemsControl to not just use unrealized items
* Fixup null deref
* Get unrealized items searched in comboboxes
* Fixup one small comparison bug
* Reset file that shouldn't have been changed
* Try again
* Revert frfr
* Revert frfrfr
* Fixup per PR feedback
* Remove documentation from internal method
* Remove unused usings
1 year ago
Nikita Tsukanov
abd7a88608
[DRAFT] Send dispose command for CompositionTarget as an OOB batch ( #18119 )
* Send dispose command for CompositionTarget as an OOB batch
* Make Close_Should_Remove_PointerOver to provide some render interface stub
* why ins't reactive stuff using our headless testing?
* fix?
---------
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
1 year ago
Alexandre Mutel
85ffed056a
Remove `List<IObserver<T>>.ToArray()` allocations in `LightweightObservableBase` ( #18316 )
* Remove `List<IObserver<T>>.ToArray()` allocations in `LightweightObservableBase`
* Cleanup code
* Remove unused code
* Remove space
1 year ago
pjt33
11b5d421c4
Fix SlicedStream.Seek(offset, SeekOrigin.End) ( #18313 )
* Fix SlicedStream.Seek(offset, SeekOrigin.End)
This fixes https://github.com/AvaloniaUI/Avalonia/issues/13604
The offset _from is applied in set_Position, so applying it also in Seek mispositions the stream. ZipArchive exposes the problem by seeking to the end to read the table of contents.
* Add tests for SlicedStream
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Alexandre Mutel
72caa3ccba
Fix TextLayout.Width calculation ( #18305 ) ( #18310 )
* Fix TextLayout.Width calculation (#18305 )
* Use WinSymbols3.ttf
1 year ago
Nikita Tsukanov
0cb1cf2990
Don't alter any InputElement properties from in-process dnd handler ( #18288 )
1 year ago
Nikita Tsukanov
e58c168545
In-process dnd should always handle pointermoved for consistency with actual dnd ( #18287 )
1 year ago
Nikita Tsukanov
640d249ab7
[X11] Use XcursorLibraryLoadCursor for dnd cursors ( #18286 )
1 year ago
Maxwell Katz
5e7963b545
Root assemblies for SRE XAML loader ( #18290 )
* Root assemblies for SRE XAML loader
* Update XamlTestBase.cs
1 year ago
Julien Lebosquain
3ee7102843
Fix Win32 MonitorFromRect ( #18285 )
1 year ago
Rastislav Svoboda
939c78047e
TextBox: clear selection when moving the caret horizontally ( #18255 )
* TextBox: clear selection when moving the caret horizontally
* fix and add unit tests
1 year ago
Rastislav Svoboda
c1e0ba7db4
iterate over visible columns only when DnD column header ( #18251 )
1 year ago
Poker
117450dbbe
Fix DockPanel index out of range ( #18261 )
* Update DockPanel.cs
* Update DockPanelTests.cs
1 year ago
Dong Bin
afa124f505
Add Analyzer and CodeFixProvider for Initializing Bitmap with a "avares" scheme argument. ( #18150 )
* feat: add bitmap analyzer.
* feat: add code fix provider.
* feat: use actual name. add comment.
1 year ago
Aleksei Smirnov
df6382a3c6
#18192 Fix Implicit x:DataType defining for InheritDataTypeFromItems attributed property ( #18206 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Julien Lebosquain
5824d9b079
Warning fixes: '25 winter wave ( #18103 )
* Use TryGetValue in UnicodeEnumsGenerator
* Suppress incorrect CA2256 in Win32.Automation
* Fix xUnit analyzer warnings
* Misc warning fixes
* Ignore some obsolete warnings
1 year ago
Dong Bin
daf3d5805b
feat: use visual brush if Header is control. ( #18154 )
1 year ago
nightfog-git
156abb7395
fix NumericUpDown Spinned event ( #18180 )
* Raise Spinned event after value change
* Simplify invoke event
1 year ago
Maxwell Katz
355cf162b1
Add FontSize property validation ( #18198 )
* Add FontSize property validation
* Also disallow 0 value for the font size
* Also check for IsInfinity
1 year ago
Maxwell Katz
15841ef754
Fix typo in SetValue validation exception message ( #18197 )
1 year ago
Nikita Tsukanov
ead6ac81b1
[SKIA] Don't re-create SKImage on every WriteableBitmap draw call ( #18164 )
1 year ago
Tom Edwards
920122c648
Correct which types receive CompilerGeneratedAttribute ( #18166 )
1 year ago
Maxwell Katz
68009f8960
Warning AVLN2208: Item container in the data template ( #18132 )
* Implement AVLN2208 diagnostic - ItemContainerInsideTemplate
* Add AVLN2208 tests
* Enable AVLN2208 as an error in the repository globally
* Fix invalid ListBoxItem inside of DataTemplate in devtools
1 year ago
Lubomir Tetak
fa14f9e693
Fix DevTools bindings ( #18125 )
1 year ago
AnastassiaP
aa07882f2f
make lastPointerPosition trackable at the drag event ( #18069 )
make _lastKnownPosition trackable at dragging
adding additional comments regarding fix
delete unnecessary lines
1 year ago