Commit Graph

84 Commits (2c10bf7415234d7ae5c4cfb897697b2634260acb)

Author SHA1 Message Date
David Hall cad78ebb07 Added nullability for Windows.Shell tests 2023-08-21 11:20:32 -06:00
David Hall af64ba18a6 Finished nullable work on Vanara.Windows.Shell.Common 2023-08-17 11:44:44 -06:00
David Hall 1aba884b1e Applied global usings and finished nullable work on Shell32 2023-08-04 10:24:49 -06:00
David Hall b2a78e184b Checkpoint on nullable work after signature work on PInvoke.Security, enabling nullable for entire solution, and auto fixing all optional attributed string and array parameters. 2023-03-31 09:47:53 -06:00
David Hall 54b1923a26 Added nullability to Vanara.Core 2023-02-18 19:31:48 -07:00
David Hall 764efd8a14 Added conversion operator from FileSystemInfo to FILEDESCRIPTOR 2023-02-02 20:26:53 -07:00
David Hall dd1af5f67c More BREAKING CHANGES to NativeClipboard. (Sorry!) All atomic methods to set data have been removed due to inconsistencies and design challenges. New model forces all setting and getting to be done through IDataObject and it's methods and extensions. See documentation for class for example. Addresses #355. 2023-01-29 10:20:13 -07:00
David Hall 8d8ffa4d5b Additional documentation for NativeClipboard and IDataObject extensions 2023-01-14 16:12:40 -07:00
David Hall 94703f0acc More NativeClipboard changes 2023-01-14 11:36:08 -07:00
David Hall f793f09790 Another try at getting NativeClipboard working 2023-01-10 15:51:13 -07:00
David Hall 4e5ebb515b Updated clipboard SetText methods 2023-01-05 16:06:09 -07:00
David Hall 55512c732e Tons of fixes and updates to IDataObject and Clipboard methods and wrapper classes. 2023-01-05 10:28:15 -07:00
David Hall 8e09e4e2dd More work on NativeClipboard 2022-12-30 18:24:08 -07:00
David Hall f786ef22d2 More work on NativeClipboard 2022-12-30 16:19:14 -07:00
David Hall 7ca924e5f7 Hopefully fixed #355 2022-12-30 13:56:19 -07:00
David Hall 56571b2522 Changed NativeClipboard.SetShellItems functionality and added overlaod. 2022-12-27 09:34:36 -07:00
David Hall 0f00ef4fcf Fixed NativeClipboard GetText and SetText methods. Also changed ctor so that if no HWND is passed, it uses the Desktop's window handle. Fixes #355. 2022-12-25 17:05:38 -07:00
David Hall 258cab3ad9 Added NativeClipboard.GetFileNameMap, GetShellItemArray, IsFormatAvailable(string) and SetShellItems methods (#353) 2022-12-20 15:06:37 -07:00
David Hall 7af4bc6b03 Updated tests for NativeClipboard 2022-12-19 17:13:17 -07:00
dahall a391f0c183 More work on ShellFolderCategorizer 2022-06-09 22:32:26 -06:00
dahall 490972199f Taskbar tests 2022-03-14 09:25:59 -06:00
dahall 57b6ed1f41 Added Vanara.Windows.Shell.Taskbar class to get/set information regarding the system taskbar. 2022-03-04 20:10:17 -07:00
dahall ad56116e87 Lots of work to make using IDataObject and the clipboard more stable and usable. Added Get/Set extension methods for IDataObject. Added attributes to clipboard formats to help reading. Added formatters to process clipboard types. Fixed bugs in ShellDataObject and NativeClipboard. 2022-01-22 15:35:37 -07:00
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall 656c6d2b02 More tweaks to allow for Shell.Common and Shell.Windows to work along with unit tests 2022-01-11 18:13:44 -07:00
dahall 29b299eafa Reverted NativeClipboard's listener window to derive from NativeWindow 2021-08-29 15:08:08 -06:00
dahall 7b1304136a Fixed bug in NativeClipboard change event 2021-08-26 17:28:15 -06:00
dahall a30b7c3b84 Streamlined disposals of ShellItem and ReadOnlyPropertyStore to address #242 and minimize impact of garbage collection when IPropertyStore is used. 2021-08-14 14:59:24 -06:00
dahall dff054c2fa Fixed bug in ShellLink unit test 2021-08-14 14:58:04 -06:00
dahall 346e082d4b Tested #242 and suggested workaround. 2021-08-13 17:26:53 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 035b30f146 Fixed bug in ReadOnlyPropertyStore.TryGetValue (#219) 2021-03-22 10:39:35 -06:00
dahall c703c450f9 Updated tests 2021-02-08 15:33:48 -07:00
dahall b063def5da Updated shell object tests 2021-02-04 14:24:14 -07:00
dahall a6d225b6b8 Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200) 2021-01-26 07:49:48 -07:00
dahall 94d6e8b218 Converted message window from Control to BasicMessageWindow in ShellContextMenu 2021-01-24 19:02:12 -07:00
dahall 31f9a112e5 Added ability to ShellAssociations from ShellItem and improved readability of exception handlers for ERROR_* conditions 2021-01-24 19:01:13 -07:00
dahall cae1050464 Fixed access violation exception in ShellContextMenu when building a MenuItemInfo for separators (#195) 2021-01-21 09:51:54 -07:00
dahall 1608010064 Added ShellItemImages and associated tests to pull images for a shell item from a variety of different interfaces. For some items, the image appears upside down without an DIB indication. 2020-12-08 10:43:07 -07:00
dahall cdc372b3df Updated Windows.Shell project to support forms 2020-12-07 20:26:58 -07:00
dahall f15d25e957 Removed unused code 2020-12-07 20:26:06 -07:00
dahall c3a63c8c1b Added further functionality to ShellContextMenu (#178) 2020-11-29 10:20:28 -07:00
dahall 721f6d14e6 Removed all Framework entries from unit test project files and into root Directory.Build.props 2020-11-12 22:38:00 -07:00
dahall 56931b57b7 More work on ShellDataTable 2020-11-05 07:28:08 -07:00
dahall ba890fd03d Added Vanara.Windows.Shell.ShellDataTable which is a DataTable that defines its columns and row from items in a shell folder. Designed for streamlined async reading of a shell folder's items and their properties. 2020-11-04 10:47:30 -07:00
dahall 6e19a4be23 Updated tests based on Shell32 syntax changes 2020-11-02 07:51:09 -07:00
dahall de1840d48a Updated tests to fit changes to libs 2020-10-22 14:34:26 -06:00
dahall 8686a6723d Updated project and build files for 3.2.18. Converted all project files to new SDK format. 2020-10-21 08:27:54 -06:00
dahall d9db18bad4 Updated unit test for ShellItem and ShellView 2020-10-20 17:48:05 -06:00
dahall 1aff52f78e Added known folder collected code 2020-09-03 10:52:19 -06:00