Benedikt Stebner
d103c68993
Merge pull request #3972 from AvaloniaUI/fixes/enable-previewer
Enable the previewer in Avalonia samples.
6 years ago
Steven Kirk
e3f6a9f5ab
Enable the previewer in Avalonia samples.
6 years ago
Dariusz Komosiński
8b26f4ef25
Merge pull request #3957 from AvaloniaUI/refactor/resources
Refactor resources to produce less `ResourcesChanged` events.
6 years ago
Steven Kirk
ab9522f83d
Fix silly mistake.
6 years ago
Dariusz Komosiński
7b202b71a7
Merge branch 'master' into refactor/resources
6 years ago
Steven Kirk
0a1cb6fdf8
Added ResourcesChangedEventArgs.Empty.
We don't need to allocate a new instance each time.
6 years ago
Steven Kirk
dcdaf5e0bf
Don't raise ResourceChanged on reparenting...
...when the new parent isn't attached to the tree. This prevents us sending a load of useless `ResourcesChanged` events.
6 years ago
Benedikt Stebner
29ee78661f
Merge pull request #3877 from Gillibald/fixes/VisualBrush
Fix VisualBrush tests
6 years ago
Benedikt Schroeder
5824d77d0f
Fix VisualBrush tests
6 years ago
Steven Kirk
ccc651b9ef
Merge pull request #3922 from Gillibald/initializeGlyphRunOnRender
Initialize the GlyphRunImpl on render
6 years ago
Steven Kirk
2c2b958a46
Merge branch 'master' into initializeGlyphRunOnRender
6 years ago
Steven Kirk
17a44015c6
Merge pull request #3942 from markl65536/FixTypeUtilities
Fix type utilities
6 years ago
Steven Kirk
742b7ecf81
Merge branch 'master' into FixTypeUtilities
6 years ago
Steven Kirk
9efb044e45
Merge pull request #3951 from MarchingCube/fix-path-geometry-leak
Make sure that Path does not stay subscribed to Data indefinitely.
6 years ago
Dariusz Komosiński
3544be0156
Merge branch 'master' into fix-path-geometry-leak
6 years ago
Steven Kirk
f85ceddf87
Merge pull request #3953 from MarchingCube/docs-shape
Documentation and nullable annotations for Shape control.
6 years ago
Steven Kirk
b6aec8f4e0
Propagate ResourcesChanged to visual layers.
6 years ago
Steven Kirk
7022c137e7
Propagate ResourcesChanged to template children.
Makes `Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` pass again.
6 years ago
Steven Kirk
0f5c97109b
Fix outdated naming.
6 years ago
Steven Kirk
21bddb1ced
Added test that fails after resource refactor.
`Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` now fails because resource changed messages no longer traverse into templated children.
6 years ago
Dariusz Komosiński
44f03692a8
Merge branch 'master' into docs-shape
6 years ago
Dariusz Komosiński
a2032b2611
Merge branch 'master' into fix-path-geometry-leak
6 years ago
Dariusz Komosiński
a3cd0e6868
Merge pull request #3958 from AvaloniaUI/fixes/setterbindinginstance-leak
Fix leak in PropertySetterBindingInstance.
6 years ago
Dariusz Komosiński
6dc6f4f63a
Merge branch 'master' into fixes/setterbindinginstance-leak
6 years ago
Dariusz Komosiński
e56797cb47
Merge branch 'master' into fix-path-geometry-leak
6 years ago
Dariusz Komosiński
492ef537cb
Merge pull request #3955 from wieslawsoltes/Fix3954
Make DrawingContext.PushSetTransform method public
6 years ago
Dariusz Komosiński
c09bff6481
Merge branch 'master' into Fix3954
6 years ago
Steven Kirk
8a74069932
Fix leak in PropertySetterBindingInstance.
`_subscription` was being used twice: for the subscription from the `PropertySetterBindingInstance` to the control (line 69) and from the subscription to the source binding to the `PropertySetterBindingInstance` (line 151).
6 years ago
Steven Kirk
740709848a
Merge pull request #3948 from AvaloniaUI/fixes/prevent-invalid-draw-operation-bounds
Fixes/prevent invalid draw operation bounds
6 years ago
Dan Walmsley
cbda0e9d95
fix nits.
6 years ago
danwalmsley
bdd9124fcf
Merge branch 'master' into fixes/prevent-invalid-draw-operation-bounds
6 years ago
Steven Kirk
d138523b8e
Set owner on Styles children.
And added some unit tests.
6 years ago
Dariusz Komosinski
93320e4759
Only subscribe to Path.Data when Path is attached to the visual tree.
6 years ago
Dariusz Komosinski
b3c0035b0b
Add failing leak test for Path control.
6 years ago
Dariusz Komosiński
9a9d0dc07b
Merge branch 'master' into docs-shape
6 years ago
Steven Kirk
eec2a05a26
Don't use ResourcesChanged to propagate.
Instead of each control listening to its parent `ResourcesChanged` event, use the logical tree to propagate `ResourcesChanged` events:
- When attaching to the logical tree, piggyback on the `AttachedToLogicalTree` traversal
- At other times, propagate by calling `NotifyResourcesChanged`
6 years ago
Dariusz Komosiński
31fa9a9fcb
Merge branch 'master' into Fix3954
6 years ago
Jumar Macato
80d233c342
Merge pull request #3895 from AvaloniaUI/fixes/3887-transitions-styled-property
Make Transitions a styled property
6 years ago
Jumar Macato
8525510ae6
Merge branch 'master' into fixes/3887-transitions-styled-property
6 years ago
Wiesław Šoltés
4eef1c1179
Make DrawingContext.PushSetTransform method public
6 years ago
Steven Kirk
42859fae89
Refactored resources.
Split resource nodes into two types:
- `IResourceHost` represents controls and `Application`
- `IResourceProvider` represents resource dictionaries and styles, these are owned by `IResourceHost`s
Dynamic resources are now always resolved from an `IResourceHost`: if an `IResourceProvider` doesn't have a host then a dynamic resource in the resource provider will not be resolved. Resource providers no longer have a `ResourcesChanged` event, instead they notify their `IResourceHost` owner of a resource change by calling the `NotifyHostedResourcesChanged` method.
6 years ago
Dariusz Komosiński
103a3fcda1
Merge branch 'master' into docs-shape
6 years ago
Jumar Macato
15caf2bcab
Merge pull request #3854 from AvaloniaUI/fixes/3109-transitions
Reworked transitions.
6 years ago
Dariusz Komosiński
dcb2df6089
Merge branch 'master' into fixes/3109-transitions
6 years ago
Dariusz Komosiński
b95967fbeb
Merge pull request #3915 from Gillibald/fixes/TextBoxTextAlignment
Fix TextBox selection for Center and Right text alignment
6 years ago
Dariusz Komosiński
5f08753d37
Merge branch 'master' into fixes/TextBoxTextAlignment
6 years ago
Dariusz Komosinski
b6923f8089
Enable nullable annotations for Shape.
6 years ago
Dariusz Komosinski
18ab92cf3a
Document Shape class.
6 years ago
Jumar Macato
8c89b49903
Merge branch 'master' into fixes/3109-transitions
6 years ago
Steven Kirk
77d5ba92c0
Update BenchmarkDotNet,
6 years ago