dahall
8785074b81
Added struct size test for Vanara.Shared.
2022-04-14 08:34:27 -06: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
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
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
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
fdcd7e93a1
Updated NuGet packages
2020-06-11 11:52:26 -06:00
dahall
88ad038496
Updated unit tests for errors based on underlying type changes.
2020-05-04 12:41:48 -06:00
dahall
a124fb4531
MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone.
2020-04-27 21:25:47 -06:00
dahall
8ab0e57f17
Fixed unit test projects after intro of Directory.Build.Props
2020-04-13 14:24:28 -06:00
dahall
c0ff453a20
Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files.
2020-04-03 14:51:10 -06:00
dahall
cc7170875f
Fix and test for #101 - Bug when using SafeAnysizeStruct.
2020-01-17 07:54:15 -07:00
David Hall
296a559eda
Added SafeAnysizeStruct to help marshal stuctures with a 1-element field at the end that can be variable size. Adjusted all structs of this type to use this to marshal along with tests and supported classes.
...
BREAKING CHANGE: This forced the removal of PTOKEN_PRIVILEGES as that functionality is now in a shared marshaling class.
2019-11-03 16:02:54 -07:00
David Hall
4451258143
ADDED: Support for .NET Core 3.0 in all projects!!
...
Updated project files to version 3.1.0, changed icon to embedded NuGet resource rather than link, consolidated dependency conditions in project files, and updated all NuGet dependencies.
2019-10-03 13:35:16 -06:00
David Hall
84f2765b20
Updated unit tests to indicate where tests were not complete by adding tasks
2019-06-09 09:58:51 -06:00
David Hall
a055a0d6fa
Update NUnit references in unit test projects
2019-06-07 12:49:41 -06:00
David Hall
8560a43662
Completed work on unit test separation. All projects build.
2019-03-16 16:11:06 -06:00
David Hall
1a7a555de1
Separated out each unit test project so there is a 1:1 match between unit test project and assembly. Should simplify rebuilds on testing.
2019-03-16 10:28:15 -06:00
David Hall
dd876ef071
Updated tests to reflect changes in libs
2018-11-28 07:48:11 -07:00
David Hall
c5467dfb7e
Another 2.0 major commit. All tests working.
2018-11-19 21:18:50 -07:00
David Hall
627c6d2314
2.0 Checkin - Buildable
2018-10-26 12:24:07 -06:00
David Hall
138accc380
MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters.
2018-09-21 22:35:34 -06:00
David Hall
778d2883b9
Improved NetworkListManager
2018-07-21 14:14:26 -06:00
David Hall
3b6d12c8e0
Enhanced and fixed COM Property abstractions.
2018-01-27 14:40:26 -07:00
David Hall
668b2e09b8
Moved PROPERTYKEY into its own file and embedded static PROPERTYKEY values into that structure under the "System" static class.
2018-01-15 09:44:26 -07:00
David Hall
8a3f943b11
Added tests around IEnumFromIndexer and fixed a bug related to the indexer property not being zero based
2017-11-28 09:52:34 -07:00
David Hall
da627dad2e
Initial load: Extra libraries and unit tests
2017-11-27 11:11:20 -07:00