Steven Kirk
d37615bea8
Added failing test for #1898 .
Plus a couple of other empty binding path tests.
7 years ago
Steven Kirk
9e6b878bce
Merge pull request #2332 from AvaloniaUI/fixes/2325-contextmenu
Fix context menu.
7 years ago
Steven Kirk
bd2cd5a9b6
Merge branch 'master' into fixes/2325-contextmenu
7 years ago
Steven Kirk
587270f1d5
Merge pull request #2339 from AvaloniaUI/fixes/2335-drawing-crashes
Fix crashes related to null geometries.
7 years ago
Steven Kirk
63d1af167e
Merge branch 'master' into fixes/2335-drawing-crashes
7 years ago
Steven Kirk
334b739ef5
Merge pull request #2337 from jp2masa/code-cleanup
Fixed argument exception constructor calls
7 years ago
Steven Kirk
569e7d29fc
Don't try to invert a non-invertible matrix.
Fixes #2053 .
7 years ago
Steven Kirk
028d42c7b2
Add additional failing test for #2053 .
7 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 .
7 years ago
Steven Kirk
7a738e18dd
Allow for null DefiningGeometry in Shape.
Fixes #2335 .
7 years ago
Steven Kirk
1d8bf77ab1
Added failing test for #2335 .
7 years ago
José Pedro
48dccadfb0
Fixed argument exception constructor calls.
Use nameof where possible.
Fixed wrong check in RelativeSource.AncestorLevel.
7 years ago
Steven Kirk
30c4b2271a
Merge pull request #2307 from AvaloniaUI/grokys/designer-updates
Updates for better designer integration.
7 years ago
Steven Kirk
f07d61fe99
Merge branch 'master' into grokys/designer-updates
7 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.
7 years ago
Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
7 years ago
Steven Kirk
a5f07f78e9
Fixed context menu styling.
7 years ago
Steven Kirk
fbfd5d80d1
Added MenuBase.
And use it as base class for both `Menu` and `ContextMenu`.
7 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`.
7 years ago
Steven Kirk
d21901dcef
Merge pull request #2317 from AvaloniaUI/fixes/2316-selectorparser-null-type
Throw if selector class not found.
7 years ago
Steven Kirk
690bac6be5
Merge branch 'master' into fixes/2316-selectorparser-null-type
7 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.
7 years ago
Steven Kirk
f84c601e2f
Merge branch 'master' into grokys/designer-updates
7 years ago
Nikita Tsukanov
64a0ae0921
[X11] Fixed window size hints handling
7 years ago
Steven Kirk
bebb53cb34
Merge pull request #2326 from AvaloniaUI/fix-renderdemo-xaml
Fix RenderDemo sidebar template.
7 years ago
Jumar Macato
67d934ee00
Merge branch 'master' into fixes/2316-selectorparser-null-type
7 years ago
Jumar Macato
af2431e539
Fix renderdemo sidebar template.
7 years ago
Steven Kirk
dce5dab23d
Merge pull request #2323 from AvaloniaUI/fixes/2137-popuproot-parent
Make sure PopupRoot.Parent is a Popup.
7 years ago
Steven Kirk
42649a5612
Merge branch 'master' into fixes/2137-popuproot-parent
7 years ago
Steven Kirk
6e7e90b658
Merge pull request #2264 from AvaloniaUI/fixes/1099-inherited-propertychanged-order
Fix binding errors when switching ContentControl content
7 years ago
Steven Kirk
272298ba04
Merge branch 'master' into fixes/1099-inherited-propertychanged-order
7 years ago
Steven Kirk
3ba4d6510e
Merge pull request #2324 from AvaloniaUI/fix-cue-parse-xamlil
Make Cue Parse method explicitly typed.
7 years ago
Steven Kirk
1f60decb13
Merge branch 'master' into fix-cue-parse-xamlil
7 years ago
Steven Kirk
283cf3f0b6
Merge pull request #2297 from donandren/prs/layoutissue
Unittest/Improvements for big potential issue in layoutmanager/grid/listbox
7 years ago
Steven Kirk
63a133fd09
Merge branch 'master' into prs/layoutissue
7 years ago
Jumar Macato
2da756aa53
Make parse function in Cue.cs explicitly typed in order for Xaml-IL tocorrectly compile and avoid unnecessary boxing.
7 years ago
Steven Kirk
304c90fc29
Merge pull request #2321 from MarchingCube/feature/fix-drawoperations-leak
Fix draw operations leak in DeferredRenderer
7 years ago
Steven Kirk
40b0bbd46c
Make sure PopupRoot.Parent is a Popup.
Fixes #2137 .
7 years ago
Dariusz Komosiński
823b58b335
Add doc comment to related methods.
7 years ago
danwalmsley
7b0d6e060a
Merge branch 'master' into prs/layoutissue
7 years ago
Steven Kirk
b32a10ceda
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
9b4bd8d621
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
260789c425
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
61be769d61
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Dariusz Komosinski
3d6b4a875b
Do not capture this when creating _drawOperationsRefCounter.
7 years ago
Steven Kirk
6dcd634a87
Missed change from merge.
7 years ago
Steven Kirk
c8cb447cca
Merge branch 'master' into fixes/1099-inherited-propertychanged-order
7 years ago
Steven Kirk
6961d55e7a
Only log binding errors when attached to a tree.
7 years ago
Steven Kirk
372f0f266e
Add another failing test relating to #1099 .
7 years ago
Steven Kirk
fe74dfe538
Merge pull request #2127 from AvaloniaUI/perf/cache-ao-initialization
[Perf] Cache AvaloniaObject initialization notifications.
7 years ago