Steven Kirk
6b94cc4ed9
Added failing test for #5054 .
5 years ago
Steven Kirk
4b9f08227d
Merge branch 'master' into fix-keybindings-foreach-crash
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
Dariusz Komosiński
b988221005
Merge pull request #6016 from MarchingCube/fix-dimiss-layer-hittest
Fix light dismiss overlay intercepting titlebar hit tests.
5 years ago
Deadpikle
b5bb89348d
Handle IsUndoEnabled in property changed
5 years ago
Deadpikle
4fe29b0f9e
UndoLimit now uses property properly
5 years ago
Deadpikle
c6eb57c535
Add TextBox UndoLimit
5 years ago
Deadpikle
6763337e25
Add IsUndoEnabled to TextBox
5 years ago
Deadpikle
12c37270ee
SelectedDate and SelectedTime => TwoWay by default
Fixes #3407
5 years ago
nils måsén
dbe9a2e2d1
fix xaml errors in controlcatalog sample
5 years ago
nils måsén
471aa9c777
fix xaml errors in filtertextbox
5 years ago
Dariusz Komosinski
4b2852f0e1
Fix light dismiss overlay intercepting titlebar hit tests.
5 years ago
Dan Walmsley
467c661c70
Merge pull request #6014 from AvaloniaUI/feature/imagedrawing
Implemented ImageDrawing.
5 years ago
Steven Kirk
7d608a33ee
Implemented ImageDrawing.
5 years ago
Steven Kirk
8f8393978e
Merge pull request #5997 from MarchingCube/shape-render-optimization
Optimize shape rendering (pen creation mostly).
5 years ago
Dan Walmsley
bcbccccb73
Merge branch 'master' into shape-render-optimization
5 years ago
Wiesław Šoltés
86b9a60a4c
Fix custom hit testing ( #5968 )
* Fix custom hit testing
* Use ICustomHitTest as it's intended to be used in defered renderer
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
Co-authored-by: Steven Kirk <grokys@gmail.com>
5 years ago
Dan Walmsley
40e41e8e37
Merge pull request #5989 from AvaloniaUI/fixes/5988-showactivated-extendclientarea
Don't activate window when extending client area.
5 years ago
Dan Walmsley
5839d31b82
Merge branch 'master' into fixes/5988-showactivated-extendclientarea
5 years ago
Dariusz Komosiński
6e92eac27c
Merge branch 'master' into nullable/diagnostics
5 years ago
Dariusz Komosiński
02aad98e01
Merge pull request #5953 from MarchingCube/refactor-transitions
Specialized observables for transitions
5 years ago