Commit Graph

449 Commits (master)

Author SHA1 Message Date
David Hall 0234d0cd26 Updated project files for 4.0.1 2024-04-30 08:47:45 -06:00
David Hall a5d78ec9fb Fixed failure in CorrespondingTypeAttribute.GetCorrespondingTypes introduced in 4.0.0 that excluded `null` values. (#460) 2024-04-29 10:28:38 -06:00
David Hall 01c31c3638 Added backwards compatible StackTraceHiddenAttribute for pre-NET 6.0 2024-04-27 12:51:14 -06:00
David Hall 4d17d7143e Added SafeAllocatedMemoryHandleBase.HandleChanged event and overrode SetHandle 2024-04-23 08:24:12 -06:00
David Hall a0bf0b3164 Fixed false-positive with StrPtrAuto.IsNullOrEmpty (#455) 2024-04-23 08:21:01 -06:00
David Hall 7cb35c9a78 Updated project info 2023-12-30 17:57:13 -07:00
David Hall d7564ed99c NET8.0 changes 2023-12-30 16:29:54 -07:00
David Hall 0fb254a3b2 Checkpoint before net80 changes 2023-12-30 15:29:39 -07:00
David Hall 907f21467e Fixed build for VssApi 2023-11-22 17:52:26 -07:00
David Hall 0de77a27a4 Updated project files 2023-11-03 01:08:38 -06:00
David Hall 236e881436 Added VirtualList class similar to VirtualDictionary 2023-10-31 17:02:46 -06:00
David Hall c91314e0a9 Added nullability to WebSocket, added some overloads, and created test 2023-10-23 07:49:31 -06:00
David Hall 661d4acdeb Added ability to IntPtr.Convert extension to handle all value type arrays. 2023-10-23 07:47:34 -06:00
David Hall 2a2bc7ce8d Added ComEnumString class which wraps the IEnumString interfaces around a read-only list. 2023-10-17 09:49:34 -06:00
David Hall 3f5dbc6bb0 Resolved build errors from bulk cleanup 2023-09-24 15:47:18 -06:00
David Hall 2eb7120807 Cleaned code and fixed build issues 2023-09-24 15:26:46 -06:00
David Hall 6b3fc552a3 Fixed incorrect AllocZeros value in HGlobalMemoryMethods 2023-09-03 10:02:45 -06:00
David Hall e74b89840c More nullability work on Core - incl unit tests 2023-09-03 08:46:51 -06:00
David Hall 3678847506 Completed nullability work on Vanara.PInvoke.BITS and Vanara.BITS 2023-08-23 14:28:45 -06:00
David Hall 6d482f715a Finished nullability work on Windows.Shell 2023-08-21 11:11:05 -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 8c7908f385 Added PFILETIME class for nullable FILETIME parameters and fixed bug in FileTimeExt. 2023-06-27 10:12:22 -06:00
David Hall afd6b79b1f Check point - Lots of additions to windows messages 2023-05-28 09:07:56 -06:00
David Hall d75cbee08e Finished nullable work on User32 2023-05-13 20:16:32 -06:00
David Hall 9f4409d2fb Extended logic for object.ConvertTo extension method 2023-05-09 11:42:26 -06:00
David Hall cdd2e6c124 Added IntPtr conversion for BOOL 2023-05-09 11:19:35 -06:00
David Hall 5e5ef266b2 Added reflection extension method to convert an object to another if possible 2023-05-01 07:46:41 -06:00
David Hall 52ff2f5899 Partial work on nullable for Gdi32 2023-04-15 11:27:36 -06:00
David Hall fec486a4d0 Completed nullability work on PInvoke.Security 2023-04-11 15:29:29 -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 b3bff3d6a5 Updates to Core, Shared and Kernel32 2023-03-05 15:41:10 -06:00
David Hall be96006413 Overhauled SizeT 2023-02-25 20:36:12 -07:00
David Hall 20011e1970 Added nullability constructs to Vanara.PInvoke.Shared 2023-02-20 07:58:52 -07:00
David Hall 54b1923a26 Added nullability to Vanara.Core 2023-02-18 19:31:48 -07:00
David Hall c34a7113d9 Added IComparable and IEquatable to SafeAllocatedMemoryHandle 2023-02-04 10:01:40 -07:00
David Hall 6fd718bbb7 Cleaned 2023-02-04 09:36:10 -07:00
David Hall ee9d5b4410 Updated project files 2023-01-31 15:32:15 -08:00
David Hall 716b9e4036 Hopeful fix for #373 2023-01-28 20:19:00 -07:00
David Hall f257e79724 Updated project files 2023-01-27 19:54:38 -07:00
David Hall bebc771ac6 Added interface indicating that a specific indexer is supported. 2023-01-16 12:06:28 -07:00
David Hall 06c7284269 Changed ISimpleMemoryMethods.Allocs to public 2023-01-04 17:17:26 -07:00
David Hall 13365d967f Added locking to SafeMemoryHandle.ToType extension method 2023-01-04 17:11:01 -07:00
David Hall 3596f9999b Changed ASCII encoder to UTF8 encoder in string helper classes for broader character support. 2023-01-02 14:38:38 -07:00
David Hall 8e9280e5aa Updated XML docs 2023-01-02 10:41:24 -07:00
David Hall 25392d6ab8 Added Type.GetConstants extension method 2023-01-02 10:33:03 -07:00
David Hall d480e3040e Fixed bug in InteropExtensions.Write(IEnumerable<string>...) method that wiped out existing values if an offset was provided. 2023-01-02 10:32:35 -07:00
David Hall dbaa250ded Added support for memory classes and interfaces to indicate if they zero memory on initialization to prevent re-zeroing. 2023-01-02 10:31:15 -07:00
Scover 637b59da60
Updated ``SafeLPSTR``, ``SafeLPTSTR`` and ``SafeLPWSTR`` (#352)
* Fixed unbounded recursion

Fixed unbounded recursion in ``SafeLPSTR``, ``SafeLPTSTR`` and ``SafeLPWSTR`` implicit cast operators from string by inverting the types.
As the associated documentation states the operators are supposed to convert to a string, not from a string.

* Removed useless operators + nullable
2022-12-19 16:42:43 -07:00
David Hall 6fb1d69828 Fixed exceptions being thrown by `BOOL` and `BOOLEAN` when interacting with `int` and ! operator 2022-11-18 07:54:12 -07:00