Commit Graph

364 Commits (5af855aeb2f613885cb4f310843e6d57c9a09af2)

Author SHA1 Message Date
dahall b669932c57 Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall e01892ab88 Updated project files and assembly docs 2022-01-23 14:04:24 -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 c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall 5f52aa7820 Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes. 2022-01-16 17:22:34 -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 65f846483d Removed as many references to System.Drawing as possible 2022-01-06 18:15:15 -07:00
dahall f86a38b113 Applied new lang constructs to CLIPFORMAT 2022-01-06 15:09:53 -07:00
dahall b061162730 Added POINT struct to Vanara.PInvoke and optimized RECT and SIZE structures. 2022-01-05 10:53:54 -07:00
dahall 92c8ab945b Updated NuGet packages 2022-01-04 15:28:43 -07:00
dahall 87f9f53590 Potentially Breaking Change: Moved TEXTMETRIC, LOGPALLETTE, PALLETTEENTRY, and PC from Gdi32 to Shared project to remove dependencies on Ggi32 by other projects (e.g. Ole). 2021-12-30 13:52:04 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall 3863d931a0 Fixed IEnumFromCom change that broke elements without default construtors. 2021-12-27 08:36:41 -07:00
dahall 8a2335ea21 Updated IEnumFromCom to support intialized (new) items so it covers structures and classes. 2021-12-20 10:51:04 -07:00
dahall 34580ccf7f Updated project files for 3.3.14 2021-10-25 21:49:50 -06:00
dahall b4c96c6572 Added OSVersion enum value for Win11 2021-10-25 11:22:22 -06:00
dahall 7667a26c16 Updated NuGet dependencies 2021-10-19 07:52:18 -06:00
dahall 9b1468c2ee Added ability to set a COLORREF by using a tuple (e.g. `COLORREF c = (255,255,0);`) 2021-09-18 15:47:10 -06:00
dahall e886259eef Updated `SafeAnysizeStruct` so an `IntPtr` field can be used for the array size. 2021-09-01 11:05:57 -06:00
dahall d52b0d5b18 Updated NuGet package dependencies 2021-08-26 09:05:27 -06:00
dahall 5132c0249b Changed HFILE to implement ISyncHandle 2021-08-25 12:03:23 -06:00
dahall 3f8ebec9be Changed all dll references to lowercase to avoid new .NET 5 behavior (fixes #235) 2021-06-24 11:14:34 -06:00
dahall 55458a86fe Updated project files for 3.3.10 2021-06-03 20:12:24 -06:00
dahall 20bdf64790 Added SafeHANDLE.ReleaseOwnership method to extract handle from safe handle so it is not closed on disposal. 2021-06-03 19:52:26 -06:00
dahall c1f2225efb Updated project files for 3.3.10 release 2021-06-02 20:57:31 -06:00
dahall 23f1e4c995 Removed unnecessary folder include directive 2021-05-24 12:12:26 -06:00
dahall 04efba5ec1 Backed out changes re: SafeEventHandle from HEVENT 2021-05-24 12:11:55 -06:00
David Hall bd43c2c000 Added SafeEventHandle to HEVENT implicit operator 2021-05-22 23:32:45 -07:00
dahall c68f6bb5a0 Extracted OFSTRUCT from Kernel32 to Shared and changed fFixedDisk field to `bool`. 2021-05-10 14:44:06 -06:00
dahall 7ea275cc7a Final project updates for 3.3.9 2021-05-07 12:27:00 -06:00
dahall 89f5605f65 Updated project files 2021-04-26 10:16:34 -06:00
dahall 5ffefe1d94 Fixed build warnings 2021-04-21 16:40:25 -06:00
dahall 1be2db704d Extracted and fixed IEnumFromCom 2021-04-21 15:33:28 -06:00
dahall 011b3011d2 Improved error handling. 2021-04-20 19:26:05 -06:00
dahall e71d7949ca Fixed bug in IEnumFromCom<TItem> single object constructor 2021-04-20 19:16:22 -06:00
dahall cc4f1adc02 Updated LCID with LANGID parts 2021-04-14 12:52:08 -06:00
dahall 47499fb9ad Added LANGID structure 2021-04-14 12:04:13 -06:00
dahall b5acf30b53 Moved LCID to WinNT folder where it belongs 2021-04-14 12:03:20 -06:00
dahall 62aa360cc3 Added default param to ThrowLastErrorIf method 2021-04-06 12:46:45 -06:00
dahall 4dc0871047 Added generic Win32Error.ThrowLastErrorIf method 2021-04-06 12:44:00 -06:00
dahall 5b6db2cfe6 Added Vanara.PInvoke.IMAPI (Image Mastering API) assembly 2021-03-28 16:35:57 -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 8aa4e7d96e Updated package descriptions with briefer syntax 2021-03-07 11:24:58 -07:00
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07:00
dahall c5075f648b Made implicit conversion to HANDLE work from SafeHandle instead of SafeHANDLE 2021-03-06 18:51:17 -07:00
dahall b92976fad4 Fixed bug in last commit 2021-03-04 11:41:40 -07:00
dahall 042cf8573c Added equality operators for IHandle and IntPtr to SafeHANDLE. 2021-03-04 10:56:29 -07:00
dahall fb5f44738e Updated project files for 3.3.5 2021-03-01 15:07:01 -07:00
dahall 87664c5f97 Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory. 2021-02-18 14:22:59 -07:00