Steven Kirk
30e8cac05d
Update to .NET core 3.1.
6 years ago
Vadim Melnikov
5a39838af7
Merge branch 'master' into master
6 years ago
Nikita Tsukanov
7489d36f9d
Merge pull request #3637 from Gillibald/fixes/TeckBlockConstraintUpdate
Invalidate TextLayout when the available size changes
6 years ago
Benedikt Schroeder
2d5258e118
Invalidate text layout when the available size changes
6 years ago
Steven Kirk
dbe03e090a
Disallow OneTime bindings in setters.
I'm not sure what should happen here when the style deactivates and is re-activated. Should the one-time binding trigger again? Or should it only trigger on first activation? Wait and see what the use-case for this is (if any).
6 years ago
Steven Kirk
3609759f4e
Documentation.
6 years ago
Steven Kirk
0a579a2fa9
Merge pull request #3597 from AvaloniaUI/fixes/3590-nested-resources
Fix DynamicResource in Style resources
6 years ago
Steven Kirk
13db1eb221
Merge branch 'master' into fixes/3590-nested-resources
6 years ago
Steven Kirk
29b3a83014
Merge pull request #3438 from Gillibald/feature/TextFormatter
Full Unicode support for TextBlock
6 years ago
Benedikt Stebner
560688a409
Merge branch 'master' into feature/TextFormatter
6 years ago
Steven Kirk
938b5ed18f
Merge pull request #3520 from TyrenDe/FixOpenBrowserIssueOnSomeOSXMachines-3519
Fix issue #3519 where the open text file dialog would show on some machines
6 years ago
Benedikt Stebner
298dfda766
Merge branch 'master' into feature/TextFormatter
6 years ago
Nikita Tsukanov
89f2708987
Merge branch 'master' into FixOpenBrowserIssueOnSomeOSXMachines-3519
6 years ago
Steven Kirk
5b6e9d2af1
Merge pull request #3621 from MarchingCube/optimize-event-handler-add-remove
Simplify routed event raise adapter and get rid of allocations when removing handlers.
6 years ago
Steven Kirk
d5f4b4d4ef
Merge branch 'master' into fixes/3590-nested-resources
6 years ago
Steven Kirk
11c11ce935
Merge pull request #3626 from garyhertel/increase_datagrid_wheel_delta
Changed the DataGrid mouse wheel delta from 2 to 3 lines
6 years ago
Вадим Мельников
5767ad9e97
Merge branch 'master' of https://github.com/vmelnikov/Avalonia
6 years ago
Вадим Мельников
3aab2d5619
Added functionality to use CroppedBitmap directly in XAML
6 years ago
Gary Hertel
1cfc530c11
Changed the DataGrid mouse wheel delta from 2 to 3 lines (48 pixels -> 72 pixels)
The default Windows scroll is 3 lines, which requires a lot less scrolling than the current default.
This value is currently hardcoded and can't be changed elsewhere.
6 years ago
José Pedro
2cb3b5f916
Updated obsolete API usages in interfaces.
6 years ago
Benedikt Schroeder
38bd8b8010
Fix text line hit testing
Fix some xml comments
6 years ago
Dariusz Komosinski
bc938eabba
Let the compiler to emit handler lookup for us. Get rid of extra closure when removing handlers.
6 years ago
Dariusz Komosiński
43d69ebe7f
Merge branch 'master' into fixes/3590-nested-resources
6 years ago
Benedikt Schroeder
779ceabc68
Fix text trimming
6 years ago
Benedikt Schroeder
dba878fa98
Revert langversion usage
6 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
6 years ago
Steven Kirk
8b3ac277f2
Added animations support back in.
Animations are still using an `IObservable<bool>` to trigger them as I didn't feel confident refactoring them as part of this PR.
6 years ago
Steven Kirk
82526bc0da
Merge pull request #3618 from Symbai/datagridClearSort
Add CTRL+Click to clear DataGridColumn sort
6 years ago
Steven Kirk
18537addd7
Fix problems with setter binding priorities.
We need to make sure to set up the bindings as soon as the setter is instanced, even if it's not activated immediately.
6 years ago
Symbai
acbaecd311
Update DataGridColumnHeader.cs
6 years ago
Dariusz Komosiński
fe2af3fd4d
Merge pull request #3604 from jp2masa/update-obsolete-api-usages
Fixed obsolete API usages
6 years ago
Steven Kirk
2944099428
Display gestures in NativeMenuBar.
To do this we needed to change the `KeyGesture.ToString()` method to produce input gesture text suitable for menus. Also demonstrated in `MainWindow` how to produce different gestures/headers depending on platform.
6 years ago
Steven Kirk
f5c9539c7a
Use correct property type.
6 years ago
Dariusz Komosiński
7e8a957684
Merge branch 'master' into update-obsolete-api-usages
6 years ago
José Pedro
a76d14650b
Fixed obsolete API usages.
6 years ago
Dariusz Komosiński
7ba48a8e18
Merge branch 'master' into feature/menuitem-inputgesturetext
6 years ago
Steven Kirk
8ec7988e66
Add an OrActivatorBuilder because we have one for And.
6 years ago
Steven Kirk
13ba7f3d0b
Refactored selector matching.
Match selectors from left-to-right, as before we were checking things like property equality (and creating a `PropertyEqualsActivator`) before checking that the control is of the correct type. Also hopefully makes the selector matching logic more readable.
6 years ago
Dariusz Komosiński
c4db9c5886
Merge branch 'master' into fixes/3590-nested-resources
6 years ago
Steven Kirk
dc55d65287
Refactored styling.
- Don't use Rx in the styling system. Instead introduces `IStyleActivator` which is like an `IObservable<bool>`-lite in order to cut down on allocations.
- #nullable enable on touched files
6 years ago
danwalmsley
097372c243
Merge pull request #3613 from AvaloniaUI/osx-potential-deadlock-in-user-code
OSX - fix potential deadlock with user code
6 years ago
Steven Kirk
b82ca9aca9
Add an AvaloniaProperty visitor.
We already have some specific internal methods for routing certain methods via an untyped property to a typed property, but adding support for the visitor pattern allows us to support arbitrary use-cases.
6 years ago
Nikita Tsukanov
87c08c776c
Save signaled callback and execute it outside of @synchronized block
6 years ago
Steven Kirk
097eeb646f
Don't allow StyledElement.Styles to be set.
It's not settable in Application and I can't see a reason it should be in `StyledElement`. Also add a `Styles` ctor that takes a parent.
6 years ago
Steven Kirk
ac8e8db72b
Make Application handle style resources properly.
6 years ago
Steven Kirk
2e99fa9a91
Make setting styled values disposable.
6 years ago
Steven Kirk
0f7e3e1b82
Make EventSubscription a private class.
6 years ago
Steven Kirk
cca4247c05
Added EventRoute.
Instead of traversing the tree while raising an event, instead first build an event route and then raise the event along it.
Fixes #3176
6 years ago
Steven Kirk
4e62ff3ffb
Added failing test for #3176 .
6 years ago
Steven Kirk
b966bd390c
Enable NRT in Avalonia.Interactivity.
6 years ago