Steven Kirk
cfeb06473f
Enable null checking in DefaultMenuInteractionHandler.
7 years ago
Steven Kirk
a4a162fc78
Fix NRE in DefaultMenuInteractionHandler.
Fixes #3459
7 years ago
Steven Kirk
14b13ac8f5
Added failing test for #3459 .
7 years ago
Nikita Tsukanov
43f178552e
Merge pull request #3474 from MarchingCube/alloc-selector-match
Remove list allocations from the general case of Selector.Match
7 years ago
Dariusz Komosinski
beea785f30
Implement simple struct wrapping a single value or List.
7 years ago
Nikita Tsukanov
0452d4a785
Merge pull request #3477 from AvaloniaUI/fixes/osx-exception-swallowing-before-mainloop
Check if an exception was thrown before entering the mainloop.
7 years ago
Dan Walmsley
9206e59efb
Check if an exception was thrown before entering the mainloop.
7 years ago
Nikita Tsukanov
6259282754
Merge pull request #3476 from MarchingCube/refactor-type-info
Replace TypeInfo with Type in Avalonia.Base.
7 years ago
Dariusz Komosinski
d7b07dec02
Replace TypeInfo with Type.
7 years ago
Dariusz Komosinski
46781ad908
Add basic benchmarks for Is and Class selectors.
7 years ago
Dariusz Komosinski
5873057817
Add sanity check.
7 years ago
Dariusz Komosinski
59c415d046
Remove list allocations from the general case of Selector.Match
7 years ago
Nikita Tsukanov
ccb4b938ec
Merge pull request #3471 from MarchingCube/fix-immutable-brush-equals
Implement Equals for ImmutableSolidColorBrush.
7 years ago
Dariusz Komosiński
4767e99299
Merge branch 'master' into fix-immutable-brush-equals
7 years ago
Dariusz Komosinski
83d2558aca
Implement Equals for ImmutableSolidColorBrush.
7 years ago
Dariusz Komosiński
dbc66b7787
Merge pull request #3461 from jp2masa/update-obsolete-api-usages
Updated GotFocusEventArgs obsolete API usages
7 years ago
Dariusz Komosiński
2f4c63ccc2
Merge branch 'master' into update-obsolete-api-usages
7 years ago
Steven Kirk
39841211d7
Merge pull request #3465 from MarchingCube/fix-color-comparisons
Optimize Color equality checks
7 years ago
Dariusz Komosinski
cf8aa6ecac
Optimize Color equality checks.
7 years ago
Dariusz Komosiński
4470e8ab9a
Merge branch 'master' into update-obsolete-api-usages
7 years ago
Steven Kirk
6c40771d94
Merge pull request #3255 from AvaloniaUI/refactor/value-store
Make styled property storage typed
7 years ago
Steven Kirk
527bac1ab3
Merge branch 'master' into refactor/value-store
7 years ago
Steven Kirk
399417692f
Revert "Removed unused owner reference."
This reverts commit d0e2a844db .
7 years ago
Steven Kirk
3bc1594dca
Revert "Removed unused field."
This reverts commit 270f9718b8 .
7 years ago
José Pedro
ef15b80b12
Updated GotFocusEventArgs obsolete API usages.
7 years ago
Steven Kirk
ab26c550e9
Merge pull request #3287 from AvaloniaUI/refactor/wpf-validation-coercion
Switch to WPF-styled property validation/coercion
7 years ago
Steven Kirk
89ba4a6327
Prevent tests interfering with other tests.
7 years ago
Steven Kirk
7f26635efa
Wire up validation/coercion for attached properties.
7 years ago
Steven Kirk
c6acca57c4
Fix method name after merge.
7 years ago
Steven Kirk
e3aa3bc3ef
Merge pull request #3342 from AvaloniaUI/fixes/3328-move-treeview
Fix DetachedFromLogicalTree event args parent, and allow TreeViews to be reparented
7 years ago
Jumar Macato
65e4470fd2
Merge branch 'master' into fixes/3328-move-treeview
7 years ago
Dariusz Komosiński
d69e815a84
Merge pull request #3403 from jp2masa/update-obsolete-api-usages
Fixed drag and drop obsolete API usage
7 years ago
Dariusz Komosiński
3dca33010c
Merge branch 'master' into update-obsolete-api-usages
7 years ago
danwalmsley
8a3f592083
Merge pull request #3453 from AvaloniaUI/fixes/x11-backend-cope-with-0size-window
Fixes/x11 backend cope with 0size window
7 years ago
Jumar Macato
7e42523008
Additional sanity checks for monitor resolution
7 years ago
Dan Walmsley
32df775398
Add hack to prevent renderer crashing on 0x0 window x11.
7 years ago
Dan Walmsley
1f1d3a8e35
prevent crashing in finalizer
7 years ago
Dan Walmsley
9fc7842eef
Revert "X11 backend wont crash with 0 sized window."
This reverts commit d49109877c .
7 years ago
Dan Walmsley
d49109877c
X11 backend wont crash with 0 sized window.
7 years ago
danwalmsley
fdfd5be1b1
Merge pull request #3451 from AvaloniaUI/feature/implement-avalonia-native-exception-dispatch
Implement ExceptionDispatch for OSX
7 years ago
Dan Walmsley
f56a891a0f
prevent possibility of double cancellation of main loop.
7 years ago
Dan Walmsley
9df55b02d4
Use loopcancellation instead of adding a seperate api.
7 years ago
Steven Kirk
9ec8a2f130
Merge branch 'master' into refactor/value-store
7 years ago
Steven Kirk
69e702320b
Added some documentation to value stores.
7 years ago
Steven Kirk
4cc378ea0f
Property store can be typed on IValue.
7 years ago
Steven Kirk
a1353c7715
Remove unused method.
7 years ago
Steven Kirk
6f92e3786a
Fix typo.
7 years ago
Steven Kirk
3a80cee3fc
Add nullability annotations.
7 years ago
Steven Kirk
c2d5f62390
Avoid boxing if property is correct type.
For typed bindings, we'll have an `AvaloniaPropertyChangedEventArgs<T>` where `T` is the same as the type of the `AvaloniaPropertyObservable`. For non-typed bindings we'll have `object` as `T` so use the non-typed `AvaloniaProperty`.
7 years ago
Steven Kirk
1ff6e35a06
Disable nullable around generic T.
Compiler warns that `_value` is potentially null, but it can be a value or refernce type.
7 years ago