Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Nikita Tsukanov
8587e73c39
Merge pull request #6069 from DrunkyBard/remote-widget-fix-zero-size
fixes RemoteWidget error when width or height is equal to zero. Issue…
5 years ago
Nikita Tsukanov
6aba61fa86
Merge branch 'master' into remote-widget-fix-zero-size
5 years ago
Dariusz Komosiński
151a7a010d
Merge pull request #6058 from wieslawsoltes/feature/PolyLineSegment
Add PolyLineSegment path segment
5 years ago
Wiesław Šoltés
9a2965ca31
Merge branch 'master' into feature/PolyLineSegment
5 years ago
Sattar Imamov
29fd1789e2
Merge branch 'master' into remote-widget-fix-zero-size
5 years ago
Sattar Imamov
b0972c8642
fixes RemoteWidget error when width or height is equal to zero. Issue #6068
5 years ago
Steven Kirk
e2a5bef7e7
Merge pull request #5055 from Fusion86/fix-keybindings-foreach-crash
Fix crash when KeyBindings change while they are being handled
5 years ago
Max Katz
2d10536abf
Merge branch 'master' into fix-keybindings-foreach-crash
5 years ago
Steven Kirk
3b8e89fd6a
Merge pull request #5150 from YohDeadfall/fixed-property-equals-selector
Added ability to use non well known property types in style selector
5 years ago
Dariusz Komosiński
525373e8fe
Merge branch 'master' into fixed-property-equals-selector
5 years ago
Steven Kirk
2812f3324d
Merge branch 'fix-keybindings-foreach-crash' of https://github.com/Fusion86/Avalonia into pr/5055
5 years ago
Steven Kirk
a11270b07e
Add a sanity check to the test.
5 years ago
Steven Kirk
d01a8afd47
Merge branch 'master' into fix-keybindings-foreach-crash
5 years ago
Steven Kirk
4285c3d0d1
Don't create a copy of the array unless necessary.
5 years ago
Steven Kirk
6b94cc4ed9
Added failing test for #5054 .
5 years ago
Jumar Macato
36d7c57ae0
Merge pull request #6064 from AvaloniaUI/fixes/6063-animation-neutral-value
Fix fetching neutral value in animations.
5 years ago
Steven Kirk
4b9f08227d
Merge branch 'master' into fix-keybindings-foreach-crash
5 years ago
Steven Kirk
d6d87b1a32
Fix fetching neutral value in animations.
Animators fetched the neutral value when the animation is instantiated but did not update the neutral value if it's updated after that.
#6063 was caused by the fact that the neutral value does not take effect until the batch update due to styling has finished on the control, which is _after_ the animation has been instantiated.
Listen for changes on the property and if the change is not an animated value change, update the neutral value.
This isn't perfect because it won't react to changes to the neutral value while the animation is actually running and producing values because `PropertyChanged` events don't get fired for non-active values: for that we'd need to hook into `OnPropertyChangedCore`. But this at least fixes the simple case of the initial neutral value.
5 years ago
Wiesław Šoltés
79ea6a4e38
Add PolyLineSegment path segment
5 years ago
Dan Walmsley
1ea16bf2ee
Merge pull request #6053 from AvaloniaUI/fixes/6051-multiline-textbox-caret-pos
Fix caret positioning with empty newlines.
5 years ago
Steven Kirk
14ea7b44ed
Fix caret positioning with empty newlines.
`FormattedTextImpl` on Skia adds a special empty line when there is a trailing newline in the string. However this line is reported as having a width due to `SKPaint.MeasureText` returning a non-zero value for `\r` and `\n`.
We can't simply always use 0 width when we encounter a control char when building the rects as that breaks hit testing. Instead, mark the empty trailing line with a flag and and treat it differently when building the rects and hit-testing a range.
Yes, this is a big hack but as far as I understand the whole of `FormattedTextImpl` on Skia is a bit of a hack, but until @Gillibald's new `TextPresenter` is ready, this _might_ be a good enough fix?
5 years ago
Steven Kirk
93f921ca63
Merge pull request #6044 from AvaloniaUI/fixes/failing-debug-build-tests
Fix a couple of tests that only fail in debug mode.
5 years ago
Steven Kirk
8d0ba614f5
Merge branch 'master' into fixes/failing-debug-build-tests
5 years ago
Max Katz
2b294ea669
Merge pull request #6049 from workgroupengineering/fixes/Issue_#6047
fixes(DevTools): Issue #6047
5 years ago
Max Katz
226d22c8c6
Merge branch 'master' into fixes/Issue_#6047
5 years ago
Max Katz
479e64ddfa
Merge pull request #6046 from workgroupengineering/fixes/Issue_5882
fixes(DevTools): Issue #5882
5 years ago
Giuseppe Lippolis
caa617fe67
fixes(DevTools): Issue #6047
5 years ago
Giuseppe Lippolis
16af23a878
fixes(DevTools): Issue #5882 binding Error 'Could not find a matching property accessor for 'Priority' and 'Could not find a matching property accessor for 'IsAttached'
5 years ago
Steven Kirk
31d9b5b13a
Fix a couple of tests that only fail in debug mode.
Introduced in #6039 due to use of `Debug.Assert`.
5 years ago
Steven Kirk
3b3fb0fbd9
Merge pull request #6039 from MarchingCube/fix-textpresenter-caretbrush
Fix problems with mutable brush being passed to an immutable pen.
5 years ago
Dariusz Komosinski
6f5bf52178
Fix problems with mutable brush being passed to an immutable pen.
5 years ago
Dariusz Komosiński
257e7ed3f3
Merge pull request #6029 from MarchingCube/brush-transition
Transitions for solid color brushes.
5 years ago
Dariusz Komosiński
3f49e4b0ed
Merge branch 'master' into brush-transition
5 years ago
Dariusz Komosinski
9b337d10de
Cleanup.
5 years ago
Jumar Macato
bda473070f
Merge pull request #6032 from MarchingCube/use-immutable-data
Use immutable data to limit allocations.
5 years ago
Jumar Macato
0793d3bc5a
Merge branch 'master' into use-immutable-data
5 years ago
Max Katz
74dbc5b26c
Merge pull request #5998 from AvaloniaUI/nullable/diagnostics
Enable nullable on Avalonia.Diagnostics project
5 years ago
Max Katz
96e5799414
Merge branch 'master' into nullable/diagnostics
5 years ago
Dariusz Komosinski
f877fe5ae1
Use immutable data to limit allocations.
5 years ago
Dariusz Komosinski
c48a516ec6
Unify brush transition. Handle brush type mismatch in a nicer way.
5 years ago
Dariusz Komosinski
5365b2fc95
Transitions for solid color brushes.
5 years ago
Max Katz
248bd346a0
Merge pull request #6023 from Deadpikle/feature/textbox-undo-adjustments
TextBox: Add IsUndoEnabled and UndoLimit
5 years ago
Deadpikle
e5b069c43f
Merge branch 'master' into feature/textbox-undo-adjustments
5 years ago
Max Katz
bea6708811
Merge pull request #6020 from piksel/fix/xaml-errors
Fix simple XAML errors
5 years ago
Max Katz
7b4dbf17cf
Merge branch 'master' into fix/xaml-errors
5 years ago
Deadpikle
20db57327b
Merge branch 'master' of https://github.com/AvaloniaUI/Avalonia into feature/textbox-undo-adjustments
5 years ago
Deadpikle
8ed2772479
Fix not raising property change on UndoLimit
5 years ago
Dariusz Komosiński
619cc9e970
Merge pull request #6022 from Deadpikle/feature/date-time-picker-twoway
SelectedDate and SelectedTime => TwoWay by default
5 years ago
Dariusz Komosiński
86c466846b
Merge branch 'master' into feature/date-time-picker-twoway
5 years ago