Dan Walmsley
b9bbd6ff0f
Revert "remove redundant api GetFrameSize."
This reverts commit 05e6c9cfd9 .
4 years ago
Dan Walmsley
05e6c9cfd9
remove redundant api GetFrameSize.
4 years ago
Dan Walmsley
08487446d9
[OSX] cache IsClientAreaExtendedToDecorations, and apply it when NSPanel / NSWindow is created and Shown.
4 years ago
Dan Walmsley
c756f812ec
remove shadow invalidation hack.
4 years ago
Dan Walmsley
3600639d39
re-create NSWindow if we call show and need to swap out for a dialog.
4 years ago
Dan Walmsley
99e07e68d5
remove unnecessary cast.
4 years ago
Dan Walmsley
d6a4a6c901
ensure cast to protocol instead of concrete types.
4 years ago
Dan Walmsley
1cca34f56e
actually create nspanels for dialogs.
4 years ago
Dan Walmsley
f008e403cf
make it compile 2 versions is AvnWindow (NSWindow / NSPanel version)
fix include mess, and pragma once.
4 years ago
Dan Walmsley
cd9be07ced
ensure menu gets applied.
4 years ago
Dan Walmsley
8be332ab1d
make AvnWindowProtocol
4 years ago
Dan Walmsley
0ac5a1c808
set min and max when creating window.
4 years ago
Dan Walmsley
e76887fe25
INSWindowHolder uses NSView and NSWindow types.
4 years ago
Dan Walmsley
2372155995
only create the window if reference is null
4 years ago
Dan Walmsley
0ee1a7e391
add explanation for init with content size.
4 years ago
Dan Walmsley
4cba4519f3
only create the NSWindow when show is called. Cache sizes until needed.
4 years ago
Dan Walmsley
66d7ffe2e9
use content min/max size for minsize.
4 years ago
Dan Walmsley
3aab84d8da
remove some imports no longer needed.
4 years ago
Dan Walmsley
f19639684d
move AutoFitContentView to its own file.
4 years ago
Dan Walmsley
4892352db5
move avnview to its own file.
4 years ago
Dan Walmsley
c029ddfb32
fix project config.
4 years ago
Dan Walmsley
68af00ef0e
remove unused code in other classes.
4 years ago
Dan Walmsley
68b4173743
remove unused window code.
4 years ago
Dan Walmsley
947590d453
fix warnings
4 years ago
Dan Walmsley
e2b76313b7
further seperate out files.
4 years ago
Dan Walmsley
6eb40ac09d
make avalonia-native compile again with import instead of include.
4 years ago
Dan Walmsley
2cf78ac11c
move IWindowBaseImpl to its own file.
4 years ago
Lubomir Tetak
bf61dd9a1e
macos - disable native menus completely
4 years ago
Dariusz Komosinski
628ae788e4
Fix PointToClient not working on macOS.
4 years ago
Dan Walmsley
4b5e86c72d
[OSX] reset maximised state when window is dragged.
4 years ago
Giuseppe Lippolis
bdb75b9715
fixes(OSX): Suppress expression result unused.
5 years ago
Giuseppe Lippolis
9670acd709
fixes(OSX): convertBaseToScreen:' is deprecated: first deprecated in macOS 10.7
5 years ago
Mike Irving
a529ae88d5
Grammatical corrections to product names: XCode -> Xcode, .Net -> .NET, Javascript -> JavaScript, MacOS -> macOS, MacOs -> macOS
4 years ago
Dan Walmsley
54e4f13ea6
Revert "[OSX] fix resize calls before window shown."
This reverts commit 06807324d0 .
4 years ago
Dan Walmsley
0a65e0a50d
forcefully invalidate shadow.
4 years ago
Lubomir Tetak
394a5be402
OSX handle CMD+key up combinations in Avalonia
4 years ago
Dan Walmsley
06807324d0
[OSX] fix resize calls before window shown.
4 years ago
Dan Walmsley
cce425b8da
fix red shown during resizing catalina.
4 years ago
Sergey Mikolaytis
8578160fbc
[OSX] Refactor Native App Menu. Move default menu initialization code from ObjC to C#. ( #6909 )
* [NativeMenu] [Refactoring] Move Default Menu creation from native lib to C# (C# side of code)
* fix return type for IAvnApplicationCommands
* [Native] menu refactoring (ObjC side)
* fix nullref
* minor refactor
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
4 years ago
Dan Walmsley
2220e120b2
[OSX] bring window to front when Activate() is called.
4 years ago
Steven Kirk
1d665c55f9
Fix leak in GetNSStringAndRelease.
4 years ago
Lubomir Tetak
3cc31f7912
OSX do not enforce DND copy effect
4 years ago
gabornemeth
a38c779641
fix stuck tooltips on macOS
4 years ago
Dan Walmsley
ba021f3ef8
Update native/Avalonia.Native/src/OSX/window.mm
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
4 years ago
Steven Kirk
5534e66bcd
Implement isAccessibilitySelected.
4 years ago
Steven Kirk
6b17707812
Raise focus changed on new window if it has focus.
4 years ago
Steven Kirk
812bf2665e
Get CheckBox automation tests passing on macOS.
4 years ago
Steven Kirk
71b84b3664
Correctly raise layout changed notification (?)
4 years ago
Steven Kirk
76beb381ae
Only raise non-client click when outside view client area.
#6700 implemented non-client click support for macOS but it caused non-client clicks to get sent even for clicks on the client area, causing #6827 . Fix this by checking that the click is outside the view's bounds before raising the non-client click.
4 years ago
Steven Kirk
af588cc193
Stop warning.
4 years ago