danwalmsley
c1d5e04f6f
Merge branch 'master' into fixes/3094-focusable-hang
7 years ago
danwalmsley
d9ffc6c0e0
Merge pull request #3124 from AvaloniaUI/fix-win7-dpi-error
Fallback to GDI when ShCore.dll isnt found (win7/8).
7 years ago
Dan Walmsley
1c9e158a4c
use getproc address to check for GetDpiForMonitor.
7 years ago
Dan Walmsley
bbdf0592c1
check for shcore rather than exception.
7 years ago
Jumar Macato
9c62cc9a41
Fix #3069
7 years ago
Nikita Tsukanov
e67ed7ffa8
Merge pull request #3121 from AvaloniaUI/fixes/compiler-services-unsafe-reference
fix compiler services unsafe reference.
7 years ago
Dan Walmsley
40d9037837
fix compiler services unsafe reference.
7 years ago
danwalmsley
f26b24354a
Merge pull request #3119 from AvaloniaUI/fixes/3095-visualnode-wrong-parent
Ensure VisualNode has correct parent.
7 years ago
Steven Kirk
d1ad46d07e
Ensure child node has correct parent.
When updating the scene, if a control has been reparented then a new `VisualNode` needs to be created to prevent #3095 . Check that an existing node has the correct parent and if it doesn't, deindex it and create a new node.
Fixes #3095
7 years ago
Steven Kirk
f2c4bf4d6a
Update test to ensure we're looking at the correct node.
7 years ago
Steven Kirk
e6790fe1d1
Add check for correct VisualNode.Parent.
Check that `VisualNode.Parent` is correct when adding a child. Causes a failing test for #3095 .
7 years ago
danwalmsley
15ea7ed1d2
Merge branch 'master' into fixes/3094-focusable-hang
7 years ago
Steven Kirk
83874dc6c7
Merge pull request #3118 from AvaloniaUI/fixes/3115-visualnode-disposed
Add VisualNode to scene even for invisible controls
7 years ago
Steven Kirk
534852af75
Create VisualNode for invisible controls.
If we don't do this, then a `VisualNode` can appear twice in its parent `ChildrenCollection` when an earlier sibling is made invisible.
Fixes #3115
7 years ago
Steven Kirk
f6525de3c8
Added failing test for #3115 .
7 years ago
Steven Kirk
5e9f3067ce
Fix off-by-N error in VisualNode.TrimChildren.
And added unit test.
7 years ago
Jumar Macato
bfd07a872f
Merge pull request #3111 from AvaloniaUI/feature/osx-correctly-implement-quit
implement osx quit menu item.
7 years ago
Dan Walmsley
142a41b386
make copy of array.
7 years ago
Dan Walmsley
4454af5613
implement osx quit menu item.
7 years ago
danwalmsley
3694e7115d
Merge pull request #3107 from AvaloniaUI/fix-nondecor-window-x11
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 years ago
Jumar Macato
a351e7c523
Address review.
7 years ago
Jumar Macato
88446b1e9e
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 years ago
danwalmsley
5167cd9d53
Merge pull request #3101 from AvaloniaUI/obsolete-mousebutton
Added InitialPressMouseButton to PointerReleasedEventArgs
7 years ago
danwalmsley
6732a91eeb
Merge branch 'master' into obsolete-mousebutton
7 years ago
Nikita Tsukanov
9cb36f2dc4
Fixed obsolete comment
7 years ago
Nikita Tsukanov
57401cd2ef
Merge pull request #3102 from AvaloniaUI/release/0.9
Release/0.9
7 years ago
danwalmsley
17680a1783
Merge branch 'master' into release/0.9
7 years ago
Nikita Tsukanov
1b5f3b6cc8
Renamed GetPointerPoint to GetCurrentPoint to match UWP
7 years ago
Nikita Tsukanov
a16e3bff7f
Added InitialPressMouseButton to PointerReleasedEventArgs that returns the button that caused the PointerPressed event
MouseButton is now deprecated with error, since people need to decide which behavior they want
7 years ago
Dan Walmsley
1474409a5e
add missing keycodes for osx gestures.
7 years ago
Dan Walmsley
0327d8e56b
implement osx keycodes.
7 years ago
Dan Walmsley
e7b39c1672
convert osx special key codes.
7 years ago
Jumar Macato
1943fedfc6
Merge pull request #3099 from AvaloniaUI/fixes/3098-carousel-overrides
Don't override key/pointer events in Carousel.
7 years ago
Steven Kirk
4ab0131f90
Don't override key/pointer events in Carousel.
Fixes #3098 .
7 years ago
Steven Kirk
adb65f14b1
Don't use C#8 features yet.
7 years ago
Jumar Macato
8d9d36a9ec
Merge pull request #3084 from AvaloniaUI/api/2965-window-onclosed
Added Window.OnClosed and sealed HandleClosed.
7 years ago
Jumar Macato
3eea1ecc13
Merge branch 'master' into api/2965-window-onclosed
7 years ago
Steven Kirk
e8beffa392
Merge pull request #3088 from MarchingCube/alloc-classhandlers
Remove usage of AddClassHandler that returns new lambda per invocation.
7 years ago
Steven Kirk
9d09f2328a
Merge branch 'master' into alloc-classhandlers
7 years ago
Steven Kirk
400e64dc15
Fix formatting.
7 years ago
Steven Kirk
1ef7b758e3
Merge pull request #3087 from jp2masa/uniformgrid-affectsmeasure
Added missing AffectsMeasure to UniformGrid
7 years ago
Steven Kirk
265bc91250
Merge branch 'master' into uniformgrid-affectsmeasure
7 years ago
Steven Kirk
60c9015a7f
Prevent hang in ItemsControl with no focusable controls.
7 years ago
Steven Kirk
e1bfdf0324
Added failing test for #3094 .
7 years ago
Steven Kirk
10618f9beb
Seal PopupRoot as suggested by @kekekeks .
7 years ago
Dan Walmsley
e80ddf5c65
Merge branch 'exported-menus'
7 years ago
danwalmsley
97e9a3bc79
Merge pull request #2978 from AvaloniaUI/exported-menus
Exported menus
7 years ago
Nikita Tsukanov
f02bc61bfe
I've said remove NativeMenu.PrependApplicationMenu for now
7 years ago
Nikita Tsukanov
dbcc58fa07
Remove NativeMenu.PrependApplicationMenu for now
7 years ago
Nikita Tsukanov
465273c883
Implemented managed menu bar presenter for native menus
7 years ago