Jumar Macato
c1310dc4eb
Merge pull request #2346 from jp2masa/code-cleanup
Use Array.Empty instead of allocating empty arrays
8 years ago
José Pedro
96d84c942d
Use Array.Empty instead of allocating empty arrays.
8 years ago
Steven Kirk
36da749d38
Use comma operator for Separator style.
8 years ago
Steven Kirk
89d969b367
Added selector comma operator.
The comma selector can be used to separate a number different selectors, all of which will be applied to the control with an OR.
Fixes #1742
8 years ago
Dariusz Komosinski
85d309830a
TreeView multiple selection support.
8 years ago
Steven Kirk
4a91003981
FormattedText.Measure() -> FormattedText.Bounds.
Changed `FormattedText.Measure` method to a `Bounds` property.
8 years ago
Steven Kirk
ee42b063ca
Merge branch 'master' into fixes/1625-textalignment-bounds
8 years ago
Steven Kirk
e7e57d0e91
Fix text rendering where TextAlignment != Left.
The renderer was using the wrong bounds for text where `TextAlignment != Left` as seen in #1625 . To fix this, change `FormattedTextImpl.Size` to `Bounds`, which returns a rect that takes into account the text alignment and similarly change `FormattedText.Measure` to return a `Rect` instead of a `Size.
Fixes #1625 .
8 years ago
danwalmsley
50e0a37e61
Merge pull request #2331 from AvaloniaUI/fixes/affect-renderer-memory-leak
Fixes/affect renderer memory leak
8 years ago
Dan Walmsley
5128f70f48
whitespace.
8 years ago
Dan Walmsley
e94557012d
Merge remote-tracking branch 'origin/master' into fixes/affect-renderer-memory-leak
8 years ago
Dan Walmsley
6b2d9a020f
Revert "Add GCNotifier class."
This reverts commit d42b22d5e8 .
8 years ago
Jumar Macato
83a4052746
Merge pull request #2342 from AvaloniaUI/fixes/1558-getposition-transform
Respect RenderTransform in GetPosition.
8 years ago
Steven Kirk
c1e08b836d
Merge branch 'master' into fixes/1558-getposition-transform
8 years ago
Steven Kirk
12cd666dc7
Respect RenderTransform in GetPosition.
Fixes #1558 .
8 years ago
Steven Kirk
82b3bbcc6b
Added failing test for #1558 .
8 years ago
Jumar Macato
bfdaea8055
Merge pull request #2341 from AvaloniaUI/fixes/1898-binding-dot
Fix "{Binding .}" syntax
8 years ago
Steven Kirk
e486d7f8ea
Allow `{Binding .}` syntax.
Fixes #1898 .
8 years ago
Steven Kirk
d37615bea8
Added failing test for #1898 .
Plus a couple of other empty binding path tests.
8 years ago
Jumar Macato
7d8e218699
Make ICollectionView internal and rename DataGrid specific
classes on Avalonia.Collection namespace of DataGrid's assembly
with DataGrid prefix to avoid API pollution later on.
8 years ago
Dan Walmsley
d42b22d5e8
Add GCNotifier class.
8 years ago
Dan Walmsley
9e31eb57f5
Merge remote-tracking branch 'origin/master' into fixes/affect-renderer-memory-leak
8 years ago
Jumar Macato
01d66d953b
Merge branch 'master' into datagrid-integration
8 years ago
Steven Kirk
9e6b878bce
Merge pull request #2332 from AvaloniaUI/fixes/2325-contextmenu
Fix context menu.
8 years ago
Steven Kirk
bd2cd5a9b6
Merge branch 'master' into fixes/2325-contextmenu
8 years ago
Steven Kirk
587270f1d5
Merge pull request #2339 from AvaloniaUI/fixes/2335-drawing-crashes
Fix crashes related to null geometries.
8 years ago
Steven Kirk
63d1af167e
Merge branch 'master' into fixes/2335-drawing-crashes
8 years ago
Steven Kirk
334b739ef5
Merge pull request #2337 from jp2masa/code-cleanup
Fixed argument exception constructor calls
8 years ago
Steven Kirk
569e7d29fc
Don't try to invert a non-invertible matrix.
Fixes #2053 .
8 years ago
Steven Kirk
028d42c7b2
Add additional failing test for #2053 .
8 years ago
Steven Kirk
f322501852
Don't draw null geometry in GeometryDrawing.
And add a guard to `DrawingContext` to detect having a null `Geometry` passed, as we do for `DrawImage`, `DrawText` etc.
Fixes #2053 .
8 years ago
Steven Kirk
7a738e18dd
Allow for null DefiningGeometry in Shape.
Fixes #2335 .
8 years ago
Steven Kirk
1d8bf77ab1
Added failing test for #2335 .
8 years ago
Nikita Tsukanov
7dfb289254
Merge branch 'new-weak-events' into fixes/affect-renderer-memory-leak
8 years ago
Nikita Tsukanov
a89b6128dd
Call Compact on Add
8 years ago
José Pedro
48dccadfb0
Fixed argument exception constructor calls.
Use nameof where possible.
Fixed wrong check in RelativeSource.AncestorLevel.
8 years ago
Steven Kirk
30c4b2271a
Merge pull request #2307 from AvaloniaUI/grokys/designer-updates
Updates for better designer integration.
8 years ago
Steven Kirk
f07d61fe99
Merge branch 'master' into grokys/designer-updates
8 years ago
Steven Kirk
ce3138efda
Don't create a schema context each time.
The change in the previous commit to create a new `AvaloniaXamlSchemaContext` for each instance of `AvaloniaXamlLoader` had a negative performance effect. Instead, keep two instances of the schema context around: one for normal loading and one for design-time loading.
8 years ago
Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
8 years ago
Steven Kirk
a5f07f78e9
Fixed context menu styling.
8 years ago
Steven Kirk
fbfd5d80d1
Added MenuBase.
And use it as base class for both `Menu` and `ContextMenu`.
8 years ago
Steven Kirk
7192673d43
Display (broken) data-bound context menu in ControlCatalog.
To demonstrate #2325 . Moved `MenuPageViewModel` and `MenuItemViewModel` to new `ViewModels` directory so the latter can be reused for `ContextMenuPageViewModel`.
8 years ago
Steven Kirk
d21901dcef
Merge pull request #2317 from AvaloniaUI/fixes/2316-selectorparser-null-type
Throw if selector class not found.
8 years ago
Steven Kirk
690bac6be5
Merge branch 'master' into fixes/2316-selectorparser-null-type
8 years ago
Steven Kirk
f85995ed7e
Move design-time handling of events...
...to `Avalonia.Markup.Xaml`. Also added tests: tests required a new instance of `AvaloniaXamlSchemaContext` for each `AvaloniaXamlLoader` as otherwise one test can affect other tests.
8 years ago
Dan Walmsley
2d7d9bc900
whitespace.
8 years ago
Dan Walmsley
556c1373e1
fix affectsrender memory leak with WeakEventHandlerManager
8 years ago
Nikita Tsukanov
4af9b22c59
Introduced WeakEventHandlerManager
8 years ago
Steven Kirk
f84c601e2f
Merge branch 'master' into grokys/designer-updates
8 years ago