Emmanuel Hansen
6d9780c5b2
Add Platform InputPane interface ( #13363 )
* android - remove keyboard size from safe area padding
* add software keyboard listener
* change keyboard height to keyboard rect
* rename height members in software keyboard listener to bounds
* fix docs
* update api
* update toplevel input pane propety name
* remove redundant attribute from input pane interface
* Add iOS implementation
* Fix iOS event
* Change iOS easing functions
* Update demo
* Make StartRect nullable as it's not available on every platform
* Windows IInputPane implementation
* Implement browser input pane
* Minor fixes
* Apply suggestions from code review
Co-authored-by: workgroupengineering <workgroupengineering@users.noreply.github.com>
* Update src/Windows/Avalonia.Win32/Input/WindowsInputPane.cs
Co-authored-by: workgroupengineering <workgroupengineering@users.noreply.github.com>
* Dispose InputPane just in case
* Fix build error, replace ref with in
* Fix relative keyboard geometrychange on browser
* Fix compile error because of the wrong style
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
Co-authored-by: workgroupengineering <workgroupengineering@users.noreply.github.com>
3 years ago
Max Katz
eb7b6fe843
Win32 file picker fixes ( #13625 )
* Use SIGDN_DESKTOPABSOLUTEPARSING instead of SIGDN_FILESYSPATH, and avoid crashing on GetDisplayName
* Don't forget fking .ConfigureAwait(false)
* Fix wrong method call
* Avoid System.Linq and double iterations over results array
3 years ago
Dan Walmsley
ff16f8accd
if DefaultExtension is null, then pass empty string to win32 otherwise the extension appending logic gets borked.
3 years ago
Max Katz
e6b8914b7d
Rename TryGetFileFromPath-like method to end with Async suffix
4 years ago
Julien Lebosquain
0d32343410
Nullability annotations for Avalonia.Win32
4 years ago
Max Katz
37545cbeb1
IStorageProvider API updates
4 years ago
Nikita Tsukanov
48bd894e60
Use MicroCom.Runtime from nuget
4 years ago
Max Katz
3dac396182
Update Windows implementations
4 years ago
Dariusz Komosinski
f4ae1c913b
Avoid using COM exceptions for dialog control flow.
5 years ago
Emmanuel Hansen
ecb0de2c32
Add Support for Overwrite Prompt option in save dialog ( #7531 )
Add support for overwrite prompt option
5 years ago
Max Katz
0647aab21e
Minor cleanup
5 years ago
Max Katz
9cc9054315
Use microcom for system dialogs
5 years ago
Giuseppe Lippolis
b85bba7d2d
fixes: Dialog cancel consistency on windows
5 years ago
Jon Pacheco
03db6fb61c
Win32: Fix Title for Native OpenFolderDialog
6 years ago
Steven Kirk
af12a3e9cc
Replace use of InitialDirectory in file dialogs.
6 years ago
Dan Walmsley
cecce99c95
SystemDialogs call the correct cocreateinstance overload.
6 years ago
Dariusz Komosinski
1624e88ba3
Remove Window.ShowDialog variant that takes IWindowImpl.
6 years ago
José Pedro
96d84c942d
Use Array.Empty instead of allocating empty arrays.
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
CommonGuy
8ab89b1c35
FOS_PICKFOLDERS should not be a default options for Windows SystemDialogs
8 years ago
CommonGuy
54a919a728
Ensure that selected items in Windows FileDialog are filesystem items
8 years ago
CommonGuy
6d4694b471
Add checks for null in Windows SystemDialogImpl
8 years ago
CommonGuy
3c3b5b63b3
Use newer WinApi for OpenFileDialog and SaveFileDialog
8 years ago
Jeremy Koritzinsky
1f0e173e95
Fix the inspection errors. Also clean up some Calendar code in the meantime since most of the warnings were there.
8 years ago
Nikita Tsukanov
f330132dc3
Use CoCreateInstance for .NET Core compatibility
9 years ago
Nikita Tsukanov
61e4e50d31
Enable win32 file dialog functionality for .NET Standard build
9 years ago
Nikita Tsukanov
e9554554c1
Avalonia.Win32 for .NETStandard 1.1
10 years ago
José Manuel Nieto Sánchez
934cc3bafd
Environment.CurrentDirectory is modified after call to GetOpenFileName | GetSaveFileName call.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Wiesław Šoltés
5f61fecd57
Fixed NRE in SystemDialogImpl
11 years ago
Steven Kirk
2550b5687f
Fixed NRE in SystemDialogImpl.
11 years ago
Jason Jarvis
2c7d457057
Deleted a bunch of obsolete files, addressed all of the code styling comments, etc.
11 years ago
Jason Jarvis
1a791a02b3
Got OS X compiling/running again. Fixed Render update issues on iOS, including accounting for iOS Status Bar at the top. Input works again!
11 years ago
danwalmsley
0f0800958f
tidied UnmanagedMethods and put Interfaces out side of class scope.
11 years ago
danwalmsley
b87c4a8d66
Win32 implementation of folder browse dialog.
11 years ago
danwalmsley
90f4672be0
removed dependency from ookii dialogs and implemented using Windows Code pack.
11 years ago
danwalmsley
9a3f08ce9d
Basic implementation of BrowseFolderDialog and Win32 Implementation.
11 years ago
Nikita Tsukanov
66aedf3d67
Fixed file dialog crash
11 years ago
shcherban
aa9c5d2b41
Added file extension append to selected path in SaveFileDialog if it wasn't specified by user
11 years ago
shcherban
528f767b64
Fixed #221 (InitialFileName not set for OpenFileDialog/SaveFileDialog on windows )
11 years ago
Nikita Tsukanov
9e16d0f163
comdlg rename
11 years ago
Nikita Tsukanov
18da630e6f
Introduced common dialog class hierarchy
11 years ago
Nikita Tsukanov
ef65e09b2d
Implemented Win32 version of file dialog
11 years ago