dahall
|
ca94a21b15
|
Added operator overloads to `SizeT`
|
2022-05-16 13:14:38 -06:00 |
dahall
|
aa69db53fd
|
Updated documentation and added package readme files.
|
2022-05-09 15:56:58 -06:00 |
dahall
|
a1d049242d
|
Exposed VirtualDictionary.Add as virtual method
|
2022-04-10 22:34:59 -06:00 |
dahall
|
dc6cea6de0
|
Moved most TargetFrameworks tags out of project files and into Directory.Build.props for easier maint. Also changed net462 build to net45 for greater compatibility.
|
2022-03-14 09:32:06 -06:00 |
dahall
|
7b9c17050b
|
Pulled back dependency on System.Memory to 4.5.3 for compatibility
|
2022-03-11 18:04:38 -07:00 |
dahall
|
3876cce9a0
|
Added indexer to SafeMemString
|
2022-03-10 17:43:56 -07:00 |
NN
|
95328a6fd0
|
Lower System.ValueTuple version dependency. (#280)
|
2022-02-28 11:54:43 -07:00 |
dahall
|
9e69ce32ca
|
Made CorrespondingTypeAttribute.GetAttrForEnum public.
|
2022-02-22 19:38:50 -07:00 |
dahall
|
a9ae8df90a
|
Extended SafeAllocatedMemoryHandle.ToType extension method to support CharSet
|
2022-02-15 16:01:21 -07:00 |
dahall
|
dd2e46ae75
|
Fixed minor error handling in EnumFlagIndexer and added Intersect method.
|
2022-02-08 14:53:03 -07:00 |
dahall
|
565ec6add7
|
Fixed #274 (error in EnumerableEqualityComparer.Equals)
|
2022-02-08 09:18:03 -07:00 |
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
|
d29963d39a
|
Added PinnedObject implicit operator to unsafe void*.
|
2022-02-05 15:14:55 -07:00 |
dahall
|
4ce428215c
|
Added SafeAllocatedMemoryHandleBase.GetBytes() and pulled SafeMemoryHandle.Locked from IMemoryMethods instance
|
2022-01-22 15:30:42 -07:00 |
dahall
|
5a511172ea
|
Added extra buffer when setting size from VanaraMarshaler to prevent errors when they're off due to alignment issues
|
2022-01-22 15:28:48 -07:00 |
dahall
|
0f6fb75d3d
|
Added StringHelper methods supporting encoders
|
2022-01-22 15:27:13 -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
|
747da30302
|
Fixed small bug in IntPtr.ToStringEnum
|
2022-01-16 17:21:11 -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
|
92c8ab945b
|
Updated NuGet packages
|
2022-01-04 15:28:43 -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
|
1cbfdefb5b
|
Updated project files
|
2021-12-12 21:19:43 -07:00 |
dahall
|
62c78d4ac2
|
Added `BeginEndEventContext` to call delegates on context entry and exit
|
2021-11-11 17:49:22 -07:00 |
dahall
|
7667a26c16
|
Updated NuGet dependencies
|
2021-10-19 07:52:18 -06:00 |
dahall
|
26bd7d8e04
|
Added IEquatable support to GuidPtr and StrPtr* structs.
Added char* cast to StrPtrUni and sbyte* cast to StrPtrAnsi.
|
2021-09-27 15:47:33 -06:00 |
dahall
|
231ea34f17
|
Added IsNullOrEmpty property to StrPtrXX structures.
|
2021-09-21 16:11:45 -06:00 |
dahall
|
d52b0d5b18
|
Updated NuGet package dependencies
|
2021-08-26 09:05:27 -06:00 |
dahall
|
b864f19066
|
Added CorrespondingTypeAttribute.EncodingType property to allow for encoding as part of a conversion.
|
2021-08-17 11:06:35 -06:00 |
dahall
|
55458a86fe
|
Updated project files for 3.3.10
|
2021-06-03 20:12:24 -06:00 |
dahall
|
c1f2225efb
|
Updated project files for 3.3.10 release
|
2021-06-02 20:57:31 -06:00 |
dahall
|
370e8a857a
|
Added constants and conversion methods for enums in the C Run-time Library related to files.
|
2021-06-02 13:08:30 -06:00 |
dahall
|
d53279dcc6
|
Fixed bug in IntPtr.ToStringEnum method that failed when just the ending null terminator was present.
|
2021-05-02 21:51:20 -06:00 |
dahall
|
89f5605f65
|
Updated project files
|
2021-04-26 10:16:34 -06:00 |
dahall
|
4694988177
|
Enhanced ComConnectionPoint
|
2021-03-28 20:12:48 -06:00 |
dahall
|
ce5e582d25
|
Updated ComStream to support IStream implementation
|
2021-03-28 16:34:49 -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
|
3e00f2743c
|
Updated referenced NuGet package versions
|
2021-03-07 11:15:52 -07:00 |
dahall
|
483d76df37
|
Changed return value of OpenFileById from IntPtr to SafeHFILE
|
2021-03-02 07:55:51 -07:00 |
dahall
|
c2c75a461e
|
Updated project files for 3.3.3 release
|
2021-02-03 14:49:55 -07:00 |
dahall
|
967389e246
|
Removed all calls to `Marshal.ReleaseComObject` where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188.
|
2021-02-01 16:08:43 -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
|
2b4cfee7e2
|
Added SafeMemStruct.InitializeSizeField method to initialize an in-memory structure's size field
|
2021-01-25 12:10:13 -07:00 |
dahall
|
affe76ff74
|
Added Append overloaded methods to SafeMemStruct to extend memory and write in bytes, memory or objects and return a pointer to the newly written element. Also added GetFieldAddress method to get the location of a field in the structure's memory.
|
2021-01-20 16:56:09 -07:00 |
dahall
|
2165632d1d
|
Added InteropExtensions.SizeOf(object) method to calculate the size of an object in native memory. It will handle blittalbe structures, primitives, strings and arrays or enumerable lists of those items.
|
2021-01-20 16:53:12 -07:00 |
dahall
|
c5c0833b98
|
Added binary negate overload to BOOL and BOOLEAN
|
2021-01-14 11:15:16 -07:00 |
dahall
|
5cd53d5c7b
|
Extended IntPtr.Write(object value...) method to handle almost all cases of object types (arrays, lists, etc.)
|
2021-01-11 11:22:39 -07:00 |
dahall
|
e1cfb9c8ce
|
Added ISafeMemoryHandle.GetBytes method that was already implemented all implemented classes
|
2021-01-11 11:19:15 -07:00 |
dahall
|
bf89a972a2
|
Added Null field to SafeCoTaskMemStruct<T> and SafeCoTaskMemStruct<T>
|
2020-12-30 20:47:14 -07:00 |