Commit Graph

414 Commits (ff50c4a4c9b25abd88cf8a4a47f92c56e0fd4a94)

Author SHA1 Message Date
David Hall 77d4e5c49a Fixed XML doc errors 2019-10-11 10:34:50 -06:00
David Hall 4f087df55c Added non-generic CanGet/Set methods. 2019-10-08 20:13:17 -06:00
David Hall cca953eb5f Fixed bug #66 that forces all SafeMemString string representations to Empty when a size not known (like as a return value from a COM object). 2019-10-08 13:29:30 -06:00
David Hall bce17ac78f Added CanSet method that gets the corresponding enum value given a type 2019-10-07 18:43:55 -06:00
David Hall f517fba76b Added ObjectSecurity<T> for pre .NET 4.0 builds 2019-10-07 18:43:16 -06:00
David Hall 1a7aaf37f7 Fixed SetField so it works with ref structs 2019-10-07 18:42:49 -06: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 740bd61ac5 Added ToString method that includes an offset parameter. 2019-09-27 13:32:19 -06:00
David Hall 1450d98b32 Fixed BitPosition logic for exception 2019-09-25 14:12:17 -05:00
David Hall 1491e32f80 Made ISafeMemoryHandle derive from IDisposable 2019-09-19 12:22:21 -06:00
David Hall c009606359 Added Set method to SafeMemString to allow for a new string to be set on the condition it is of same or lesser length. 2019-09-16 07:55:18 -06:00
David Hall c0e3335f47 Fixed docs 2019-09-16 07:53:41 -06:00
David Hall 846783b115 Updated project documentation 2019-09-05 21:03:18 -06:00
David Hall 4322becff6 Added better documentation 2019-09-05 19:59:25 -06:00
David Hall d56d9486e7 Updated project information to version 3.0.1, added DLL references, and updated markdown files. 2019-09-04 14:11:25 -06:00
David Hall d89a9df2a5 With so many breaking changes, I decided to roll the version to 3.0.0. 2019-08-27 12:42:33 -06:00
David Hall 3a1d6548b3 Added BOOL and BOOLEAN types 2019-08-27 09:05:48 -06:00
David Hall 4a25d8dc25 Added comparison operators and methods 2019-08-27 08:41:39 -06:00
David Hall 15ffe13254 Added ability to get CharSet and resize by setting Capacity property. 2019-08-23 11:52:14 -06:00
David Hall 75a70f2319 Fixed bug due to invalid externs 2019-08-22 13:56:16 -06:00
David Hall 9d4758ed5d Added Write methods to SafeMemoryHandleExt. Added size checking from InteropExtension methods. Added offset param to ToStructure. 2019-08-21 10:18:07 -06:00
David Hall c3521b7742 MAJOR BREAKING CHANGEs:
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall fb62105f42 Added TypeConverter, MinValue/MaxValue fields, comparison operators, and fixed inconsistent handling of Int32 conversions. 2019-08-17 16:07:02 -06:00
David Hall 246b53dd69 Fixed bug in CanSet method 2019-08-17 16:05:22 -06:00
David Hall ee72119e36 MAJOR BREAKING CHANGE: Moved all extension methods for System.Object to Vanara.Extensions.Reflection namespace to avoid Intellisense overloads with methods that will be rarely used. 2019-08-17 14:42:49 -06:00
David Hall a23ac2d587 Fixed bug when handling enums 2019-08-15 00:16:05 -07:00
David Hall 602f847bd8 Fixed bug in CanGet method when value supported more than one type. 2019-08-15 00:15:43 -07:00
David Hall ae0251ded9 Changed structure input parameter to CreateFromStructure to 'in' for memory classes 2019-07-27 13:05:10 -06:00
David Hall d72cca74cb Fixed documentation error 2019-07-27 12:55:59 -06:00
David Hall 683280a945 Updated constructors of all SafeAllocatedMemory derivatives to use SizeT instead of int for the size parameter. 2019-07-27 12:48:33 -06:00
David Hall 42630dd833 BREAKING CHANGE: Changed type of SafeAllocatedMemoryHandle.Size property from int to SizeT so that it more easily converts to different types used in memory size functions. 2019-07-25 19:46:45 -06:00
David Hall 893efef823 Moved into InteropServices 2019-07-25 18:53:21 -06:00
David Hall 9b42ed675c Moved SizeT into Vanara.Core 2019-07-25 18:51:11 -06:00
David Hall 499f10c996 Changed validation check to ensure boundary is a power of 2. 2019-07-25 12:01:46 -06:00
David Hall 6235cd776e Added SafeAllocatedMemoryHandle derived class for managed aligned memory buffers. 2019-07-25 10:49:18 -06:00
David Hall 0fef11ebb1 Made SafeMemoryHandle conversion to IntPtr implicit instead of explicit. In practice, I have found this to be a constant conversion need. 2019-07-25 10:48:43 -06:00
David Hall b471f81899 Fixed bug in new code 2019-07-24 15:23:22 -06:00
David Hall b4dde29d90 Simplified and extended GetCorrespondingTypes methods 2019-07-24 12:55:23 -06:00
David Hall 277bddcf58 Removed redundant code from CheckHasValue and used IsValid 2019-07-23 13:52:32 -06:00
David Hall 5b4853db7e Added GetStaticFieldValue method 2019-07-19 17:32:05 -06:00
David Hall ceff4504f0 Changed to BitHelper broke too much so reverted. 2019-07-16 07:43:10 -06:00
David Hall 6eb0aa354d Added ToInt64, TimeSpan.ToFileTimeStruct, and ToTimeSpan methods for FILETIME and modified ToString method so that it will display a TimeSpan value if negative. 2019-07-13 21:39:13 -06:00
David Hall 379e23ccb9 Added conversion methods To and ToEnum for fast conversions. 2019-07-13 16:27:46 -06:00
David Hall 64b2911d5e BREAKING CHANGE: Changed CorrepsondingAction to CorrespondingAction due to misspelling. 2019-07-12 09:49:54 -06:00
David Hall 1996fadd69 Made GetBit and GetBits extension methods 2019-07-10 11:27:04 -06:00
David Hall 025e6529de Added CreateOrDefault method to get best default value for a structure. Added InvokeStaticMethod to allow for calling a static method generically. 2019-07-09 09:23:41 -06:00
David Hall 63c67871aa Added DebuggerDisplayAttribute for all classes to show pointer and string values. 2019-07-08 11:37:32 -06:00
David Hall a360548771 Added Equals override and new GuidPtr structure. 2019-07-03 14:44:16 -06:00
David Hall c374ab2cff Added ability to read nullable structure, fixed bug in WriteObject 2019-07-03 14:43:47 -06:00
David Hall 4905441377 Added pointer value in front of string with optional params to remove. 2019-07-03 14:42:51 -06:00
David Hall 7ce7b96209 * Derived SafeCoTaskMemString from base class SafeMemString derived from SafeMemHandle<T>.
* BREAKING CHANGE: Removed CharCapacity and made Capacity show char allocation. Size (from parent) shows byte capacity. Mimics StringBuilder.
2019-06-25 17:10:57 -06:00
David Hall badc08c7e5 Extended StructureToPtr so that it works with `enum` values. 2019-06-17 13:44:46 -06:00
David Hall ea5e8d6c2b Consolidated code and fixed bug in ToFileTimeStruct that mixed up UTC conversion. 2019-06-15 13:50:10 -06:00
David Hall 422ab0a7dd Updated project files for 2.8.11 release 2019-06-07 20:42:41 -06:00
David Hall 3415cac1dc Added implicit operator from IntPtr 2019-06-07 10:59:03 -06:00
David Hall 1c25f88529 Added Write method to set string into memory 2019-06-07 10:58:30 -06:00
David Hall d191144a51 Change implicit string conversion to get 'null' for IntPtr.Zero 2019-06-04 16:01:43 -06:00
David Hall f59831bc2c Updated project files for 2.3.10 2019-06-04 12:18:56 -06:00
David Hall 0b83c0a914 Updated projects for version 2.3.9 2019-05-25 19:47:54 -06:00
David Hall da3d9d27b9 Updated project information for 2.3.8 2019-05-13 14:55:44 -06:00
David Hall cdcdffca4b Added static Instance field and caused 0's to be trimmed off end of Format response. 2019-05-08 19:02:31 -06:00
David Hall 6627c016f2 Added Get/SetFieldValue extension methods 2019-05-08 12:50:26 -06:00
David Hall f738792e11 Better null handling 2019-05-08 12:50:01 -06:00
David Hall 1f6d4f4384 Added .NET Stream wrapper for COM IStream instances. 2019-05-08 09:25:15 -06:00
David Hall 51c888f4da Added FromNullable static creator 2019-05-08 09:24:39 -06:00
David Hall 15f05e2924 Added factory to make instancing ComReleaser easier and changed implicit operators to explicit. 2019-05-08 09:24:00 -06:00
David Hall 0ff50e3291 Added CopyTo extension that specifies a start offset. 2019-05-08 09:23:04 -06:00
David Hall 0aacc9ff30 Extension to enumerate strings from an IEnumString instance 2019-05-08 09:22:16 -06:00
David Hall 56f517d6e9 Updated project information for 2.3.8 2019-04-30 08:00:06 -06:00
David Hall 111d8478ad Improved handling of 'null' in ToString methods 2019-04-28 09:46:59 -06:00
David Hall 0cc1d914d0 Updated project files for 2.3.7 release 2019-04-24 08:48:29 -06:00
David Hall 9c97ccfd14 Fixed bug in GetBytes method 2019-04-24 08:24:18 -06:00
David Hall 5be3e15570 Update project versions to 2.3.6 2019-04-15 13:45:35 -06:00
David Hall 5548ff6c71 Changed generic constraint on Write methods to struct instead of unmanaged 2019-04-10 13:11:06 -06:00
David Hall 9a76ee5597 Converted MarshalingStream references to NativeMemoryStream. 2019-04-10 12:13:28 -06:00
David Hall 34d48333d6 Corrected documentation errors 2019-04-10 11:28:19 -06:00
David Hall f0ce103165 Updated project file information 2019-04-09 15:20:49 -06:00
David Hall 39264cc1ab Separated GetPropertyValue into 2 separate methods and removed type changing to prevent unintended consequences. 2019-04-09 09:16:59 -06:00
David Hall 83404805c7 Fixed so InvokeMethod would see private methods 2019-04-08 16:20:19 -06:00
David Hall 9ed6c463c7 WIP on new generic marshaler 2019-04-08 12:08:29 -06:00
David Hall 455f9971d2 Added resources tied to backwards compatible additions 2019-04-08 12:04:00 -06:00
David Hall 8cfcee658d Added much improved native memory stream implementation over MarshalingStream. Use NativeMemoryStream moving forward. It is saver and more function rich. 2019-04-08 12:03:20 -06:00
David Hall 65e1440ec0 Ensured that space in newly allocated memory is zeroed by default. Fixed handling of Size manipulation to zero out bytes added. (bug: it zeroed out everything) 2019-04-08 11:54:24 -06:00
David Hall 51edbded7c Added static Instance properties to IMemoryMethods implementations 2019-04-08 11:42:16 -06:00
David Hall 180dc255d8 Added 'Obsolete' attribute to push users to NativeMemoryStream 2019-04-08 11:41:26 -06:00
David Hall f18f91950d Fixes for handling null pointer and bool 2019-04-08 11:40:43 -06:00
David Hall a941609f2c Minor optimization of property Position use 2019-04-08 11:25:17 -06:00
David Hall 791e8af6a6 Added extension dump function for IntPtr 2019-04-08 11:24:19 -06:00
David Hall 427de28a0e Added ToStructure method with boundary checking. Cleaned and optimized code. 2019-03-26 21:03:39 -07:00
David Hall 0644bcedfb Minor reformatting 2019-03-26 21:02:27 -07:00
David Hall 3c40989527 Fixed Unicode bug in GetString 2019-03-25 17:40:06 -07:00
David Hall 178701d505 Added string handling to all Convert methods 2019-03-25 17:39:29 -07:00
David Hall dc83d5d0b4 Moved Dump, GetBytes and IntPtr operator to SafeAllocatedMemory base class. Added byte* and SafeBuffer operators to SafeAllocatedMemory. 2019-03-25 17:38:42 -07:00
David Hall 8281580a28 Added null checking to Contains method 2019-03-25 17:36:39 -07:00
David Hall 40155dc239 Added backwards compatible classes SafeBuffer, UnmanagedMemoryAccessor and UnmanagedMemoryStream for .NET 2.0 and 3.5. 2019-03-25 17:35:51 -07:00
David Hall f64c2b5e6b Added FindElementType extension method for Type. 2019-03-25 17:34:43 -07:00
David Hall 43a453fef9 Fixed bug in ToStructure where mishandled IntPtr. Added length checking to ToStringEnum. Changed length param on FillMemory to 'long' to work on 64-bit systems. 2019-03-25 17:34:03 -07:00
David Hall ef2f74cd83 Added allocation size handling to GetString and AllocString 2019-03-21 09:34:36 -06:00
David Hall d7266f1919 Added ToArray and ToIEnum methods that work on Type value rather than generic type param. 2019-03-15 16:15:48 -06:00
David Hall 6a46bd4c96 Added null handler to MarshalToPtr 2019-03-13 09:56:21 -06:00
David Hall 72a2ceb50c Updated project versions to 2.3.5 2019-03-12 08:05:49 -06:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 38b45d9192 Added methods to simplify safely converting from a pointer to a type. Handles blittable and serializable types. 2019-03-07 09:25:12 -07:00
David Hall 9612664387 Fixed Write methods to better handle string types 2019-03-07 09:22:40 -07:00
David Hall 0ede8d5738 Added MarshalObjectsToPtr method to handle object arrays. Cleaned up MarshalToPtr for string enums. 2019-03-07 09:22:04 -07:00
David Hall 0ff4e8c937 Made Items property virtual 2019-03-07 09:20:49 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall 838f7fca10 Added method to lookup enum value from corresponding type. 2019-02-24 18:36:37 -07:00
David Hall 13e31c7430 Improved documentation and usability 2019-02-22 14:27:45 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall 0c82199f52 Updated dependent NuGet packages 2019-02-19 18:24:30 -07:00
David Hall 8aefdc9389 Revert "Added some missing functions, structs and enums to winsvc.cs and tests"
This reverts commit dd15c0478c.
2019-02-11 18:38:41 -07:00
David Hall 1364d3a447
Merge pull request #38 from gigi81/feature/advapi32-winsvc
Added some missing functions, structs and enums to winsvc.cs and tests
2019-02-11 18:31:51 -07:00
Luigi Grilli dd15c0478c Added some missing functions, structs and enums to winsvc.cs and tests
Added QueryServiceStatusEx SERVICE_STATUS_PROCESS and more and test

Removed redundant CloseServiceHandle calls

Added Start/Stop/Delete/Control service functions

Added Start/Stop/Delete/Control service functions and appveyor for testing

Fixed version in appveyor.yml

Reducing msbuild verbosity

Improved AdvApi32 tests

Improve StartStop test method

Fixed StartService arguments types

Added ControlService, Fixed ControlServiceEx

Delete appveyor.yml
2019-02-07 00:52:59 +00:00
David Hall 7e183c2b6c Updated project files to 2.2.1 2019-02-05 14:25:27 -07:00
David Hall 091c830cf4 Updated to Theraot.Core 3.0.0 2019-02-01 11:47:16 -07:00
David Hall ed1eac8f41 Updated to Theraot.Core 2.2.0 2019-01-31 11:32:35 -07:00
David Hall a6bd30dd03 Added FillMemory methods and exposed Zero method as public on SafeAllocatedMemoryHandle 2019-01-25 11:09:07 -05:00
David Hall 3bed0225b4 Added FillMemory method for pointers 2019-01-25 11:08:18 -05:00
David Hall 8f1e78e0f3 Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking. 2019-01-21 08:42:39 -08:00
David Hall c8122aef53 Change obsolete use of Enum.ToString 2019-01-16 08:07:00 -07:00
David Hall 8fa7d0aafa Changed project versions to 2.1.3 2019-01-14 14:46:49 -07:00
David Hall 9d83f279e1 Added QueryInterface method for objects 2019-01-08 08:17:45 -07:00
David Hall 1e16ceed27 Updated copyright and PackageTags formatting in project files 2019-01-07 15:00:20 -07:00
David Hall b35d873906 Changed project versions to 2.1.2 2019-01-02 20:30:36 -07:00
David Hall 16109f8336 Added BitPosition method and changed generic constraints to use System.Enum 2018-12-17 14:34:18 -07:00
David Hall 4356d92c71 Changed project versions to 2.1.1. 2018-12-17 11:45:32 -07:00
David Hall eb902e4595 Fixed build errors and warnings due to XML comments and obsolete license reference in project files. 2018-12-15 13:44:33 -07:00
David Hall eaaaa2f2d4 Extended .NET 2, 3, and 4 builds to include Tasks from Theraot library 2018-12-15 11:56:24 -07:00
David Hall 94b8fe0ffe Improved project file references 2018-12-15 09:01:43 -07:00
David Hall 53df4ac64a Modified projects to support .NET Core 2.0 and 2.1 2018-12-14 15:10:31 -07:00
David Hall 8d0813cd51 Changed netstandard20 to netstandard2.0 in all project files to comply with updated MS preferences 2018-12-14 13:07:18 -07:00
David Hall 17616409d1 Updated project files for 2.1.0 2018-12-11 12:11:42 -07:00
David Hall 99364ad83d Removed all backwards compatibility code and instead referenced Theraot.Core. 2018-12-11 11:34:00 -07:00
David Hall 5282b5225d Added byte array extension method to dump to a hex string grid. 2018-12-11 11:32:01 -07:00
David Hall b6b9049de8 Fixed bug with COM objects and GetPropertyValue 2018-12-07 20:59:30 -07:00
David Hall 33b358033d Updated project information to version 2.0.1 and signed all assemblies. 2018-12-07 13:53:39 -07:00
David Hall c1b6852e7e Added SetPropertyValue method and changed TryGetType to use an out parameter. 2018-12-07 13:52:43 -07:00
David Hall fed13f093c Updated project files for 2.0.1 2018-11-30 14:34:07 -07:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall 9e6c1629a3 Added more constraints on BitHelper methods to limit to whole numbers better. 2018-11-28 10:49:26 -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 bfd2730324 Changed project builds to use latest C# minor version 2018-09-27 09:46:40 -05:00
David Hall 07b35daee3 Updated projects to version 2.0.0 2018-09-21 23:28:01 -06:00
David Hall bf9d17c855 Optimized code on GenericSafeHandle and removed check for invalid on release as this duplicated internal functionality. 2018-09-19 15:03:45 -06:00
David Hall 46d20def8b Updated project files with updated stats 2018-09-19 06:54:43 -06:00
David Hall 6228da1b53 Added extension method InvokeGenericMethod to invoke a generic method using reflection on an object. 2018-09-10 15:49:58 -06:00
David Hall fe45d80854 Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0. 2018-09-04 13:47:00 -06:00
David Hall 20d3d2df0d Removed conversion operator to IntPtr completely 2018-09-04 13:39:21 -06:00
David Hall 6b1ed53536 Made conversion operator from GenericSafeHandle to IntPtr explicit to minimize unintended conversions (#12) and updated all affected functions, including fixing those affected by unintended consequences. 2018-09-04 12:04:25 -06:00
David Hall 6237a60997 Minor, non-functional changes 2018-08-29 12:57:08 -06:00
David Hall 9c0c3b2967 Added HashSet<T> for compatibility with .NET 2.0 2018-08-28 14:51:01 -06:00
David Hall f5127ff918 Added VirtualReadOnlyDictionary and GenericVirtualReadOnlyDictionary implementations 2018-08-24 10:50:10 -06:00
David Hall 868e24b432 Added a generic base class (VirtualDictionary) for providing a dictionary that gets and sets its values using virtual method calls. Useful for exposing lookups into existing list environments like the file system, registry, service controller, etc. 2018-08-23 11:02:14 -06:00
David Hall 41dfd2f760 Added IReadOnlyDictionary for pre-,NET 4.5 2018-08-23 11:01:23 -06:00
David Hall 0f476165ca Updated all versions to 1.0.19 2018-08-18 21:37:35 -06:00
David Hall f844f6a8f2 Updated projects for 1.0.18 release 2018-08-10 11:54:21 -06:00
David Hall 69acd1fece Added more open constructor for derived classes. 2018-08-10 09:46:42 -06:00
David Hall acb6097003 Added GitBits and SetBits methods 2018-08-07 17:21:43 -06:00
David Hall 4ff39de15f Added missing XML comments 2018-07-31 07:10:20 -06:00
David Hall ee0d7a0e2c Fixed bug in SetBit 2018-07-27 09:09:43 -06:00
David Hall 5dfd395653 Added static methods for bit manipulation in BitHelper class. 2018-07-26 16:48:06 -06:00
David Hall 4795240bdc Fixed problem with not specifying decimal precidence 2018-07-21 14:13:09 -06:00
David Hall d6bce2e752 Refactored constructors for easier inheritance 2018-07-21 14:12:08 -06:00
David Hall b6ac026cdd Changed namespace 2018-07-17 11:28:07 -06:00
David Hall 255dc13239 Added ComConnectionPoint which provides wrapper around IConnectionPoint.Advise for COM source and sinks. 2018-07-16 15:07:31 -06:00
David Hall 39fa26ac60 Added composite formatter framework and a string formatter to handle Byte Size references. 2018-07-16 13:14:28 -06:00
David Hall 6c77595ea2 Updated correlation reports and project files after fixing analysis tool 2018-07-07 21:35:28 -06:00
David Hall a69e19ebc6 Updated project files and information to 1.0.16 2018-07-02 16:22:56 -06:00
David Hall 749d3702a9 Changed GetAttrForObj/Type access to protected 2018-06-28 18:00:56 -06:00
David Hall c85b8d8fc4 Version 1.0.15 project file updates 2018-06-27 13:25:04 -06:00
David Hall 5f9bbc5b09 Updated lookup to not throw exception if attribute not defined for type or enum 2018-06-23 18:10:12 -06:00
David Hall d4d804e7a3 Updated project files for 1.0.14 2018-06-08 12:00:08 -06:00
David Hall 8df9eba7bb Updated project files with new versions and comments 2018-05-30 12:32:03 -06:00
David Hall 604eee2c95 Added static Null property 2018-05-29 17:45:53 -06:00
David Hall 0400f88da8 Add Func with 3 params 2018-05-13 21:37:36 -06:00
David Hall d716ccaeb0 Removed IsInvalid override so both 0 and -1 are invalid (from base) 2018-05-13 21:37:20 -06:00
David Hall 2cfce3c7d3 Updated versions to 1.0.12 and corresponding release notes 2018-04-05 14:54:36 -06:00
David Hall 6420d47abc Fixed problem with GetAllTypes extension method 2018-04-05 14:49:56 -06:00
David Hall d9dc3e3c05 Improved GetType static method and added GetAllTypes() method for an AppDomain. 2018-04-05 10:52:36 -06:00
David Hall 09dd4c1e70 Update report files and release notes 2018-04-04 09:27:40 -06:00
David Hall 0d8b96fe9b Corrected XML documentation errors 2018-04-03 18:35:18 -06:00
David Hall 6551700381 Updated versions to 1.0.11 and corresponding release notes 2018-04-03 17:58:52 -06:00
David Hall 80a915f06e Added implicit conversion from T and object constructor that casts to T 2018-03-30 11:53:21 -06:00
David Hall 178752581e Added a safe pointer for COM objects: ComReleaser 2018-03-28 20:38:04 -06:00
David Hall 84b7a3bada Updated to version 1.0.10 2018-03-26 19:19:38 -06:00
David Hall 30554d4c67 Updated builds and reports with updated constucts 2018-03-26 16:56:47 -06:00
David Hall d201c101f7 Commented code for future addition of non-recursive method 2018-03-26 13:18:01 -06:00
David Hall 660fa2c815 Added OfType, OrderByDescending, Reverse, Take and TakeWhile extension methods. 2018-03-26 13:17:25 -06:00
David Hall dbf2e68121 Updated projects to version 1.0.8 2018-02-07 09:44:01 -07:00
David Hall c5885b4c17 Updated projects for 1.0.7 build. 2018-01-27 15:07:38 -07:00
David Hall 85f6486238 Added EnumerableEqualityComparer to provide equality comparisons and full hashes of lists. 2018-01-17 12:27:24 -07:00
David Hall cd67f194ed Added ability to not own memory pointed to by SafeCoTaskMemString. 2018-01-15 11:57:06 -07:00
David Hall e617c912a3 Added GetCustomAttributes extension method and converted existing uses. 2018-01-12 11:41:42 -07:00
David Hall 67fe9d4632 Added default predicate value to Any(), new DefaultIfEmpty method and converted Count() method to switch. 2018-01-12 11:39:58 -07:00
David Hall 2524cd22de Corrected Zero method implementation and use 2018-01-11 14:12:07 -07:00
David Hall 79ba7668c8 Changed CorrespondingTypeAttribute to allow for multiple types on an enum or a type and updated existing dependencies 2018-01-06 16:38:01 -07:00
David Hall c808717fbf Added base abstract class SafeAllocatedMemoryHandle for SafeMemoryHandle and GetBytes method to SafeMemoryHandle 2018-01-06 16:36:28 -07:00
David Hall 8d3decba67 Added All extension for IEnumerable on .NET 2 2018-01-06 16:35:14 -07:00
David Hall 7e372c55db Added LinkedListToIEnum method for pointer interop 2018-01-06 16:34:28 -07:00
David Hall 9b7e3ef765 Rolled project versions to 1.0.6 2017-12-29 13:54:58 -07:00
David Hall ea0dd3fd16 Changed project version to 1.0.5 2017-12-14 21:26:21 -07:00
David Hall 57375676b5 Removed unneeded references from project dependencies 2017-12-14 11:37:56 -07:00
David Hall a30f82d282 Lots of assembly refactoring: split PInvoke.User32 so GDI functions are in separate assembly, moved system classes from Vanara.UI to Vanara.System, split off shell classes to Vanara.Windows.Shell 2017-12-12 18:41:40 -07:00
David Hall c531d22515 Updated projects to 1.0.4, added release notes, and updated correlation reports. 2017-12-10 18:45:07 -07:00
David Hall 9c39eec5f9 * Changed projects to v1.0.3
* Fixed DllImport attributes to match native methods
* Added Crypt32 and Mpr projects
2017-12-06 08:54:01 -07:00
David Hall 7fd5dbb3b6 Updated images in readme and NuGet packages. 2017-11-29 11:11:01 -07:00
David Hall 6b45f2ab1d Changed all project files to build XML-doc on release and changed from .NET 4.61 to 4.5 to avoid use problems with all versions between them. 2017-11-28 17:12:19 -07:00
David Hall 35aa651977 Changed project files to version 1.0.2 and to have NuGet packages only build on Release 2017-11-27 20:30:54 -07:00
David Hall b208f82df4 Updated projects and dependencies to allow for .NET Standard builds for all non-UI projects. 2017-11-27 16:50:18 -07:00
David Hall b44f91b5a1 Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd 2017-11-27 10:18:01 -07:00