Commit Graph

33 Commits (1ac76ca085ffddc36388af74a4538cab28c8325d)

Author SHA1 Message Date
dahall 14c4802caa Added XML documentation 2020-04-02 21:59:18 -06:00
David Hall a862eb740b When no value for Data is set, an exception is thrown. Now it assumes an empty string is the default. 2019-11-22 18:50:54 -07:00
David Hall 9540eedad0 Added error handling for EditSecurityAdvanced in ShowDialog 2019-11-22 18:50:17 -07:00
David Hall bfd863bfe6 XML Comment corrections (bad params, bad refs, bad syntax). 2019-11-05 22:52:45 -07:00
David Hall 6b8e0ccf58 Combined PInvoke.User32 and PInvoke.User32.Gdi and updated all dependencies.
Added .NET Standard 2.0 and .NET Core 2.0 and 2.1 support to all projects except Windows.Forms and Windows.Shell
2019-08-27 16:03:21 -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 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 328bedcf1e Fixed bug #61 where TaskDiaglog.ShowDialog would crash on 64-bit builds when no properties were set. 2019-08-02 16:33:32 -06:00
David Hall 3df4a4af97 BREAKING CHANGE: Renamed SafeSECURITY_DESCRIPTOR to SafePrivateObjectSecurity and SafeSecurityDescriptor to SafePSECURITY_DESCRIPTOR due to inconsistency in framework leading to numerous misuse instances. Sorry! 2019-07-12 09:47:46 -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 ddf0c5f0a6 Changed UInt32 to ACCESS_MASK where appropriate 2019-05-27 19:37:44 -06:00
David Hall 578e84ac80 Updated to match changes to AclUI interfaces. 2019-04-08 19:45:04 -06:00
David Hall aa2b8dac98 Fixes for #33 based on suggestions from @sclarke81 2019-01-28 10:12:35 -07:00
David Hall 7850a77a18 Fixed problem with privacy on SelectedItem setter. 2018-12-17 14:35:15 -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 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall 89b933022d Changed name of ConnectedDeviceCount to ConnectedDeviceNumber. Added ReadOnlyPath property. 2018-11-28 07:47:22 -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 fc3ebba322 Replaced numerous IntPtr calls to SafeSecurityDescriptor. 2018-09-04 13:43:41 -06:00
David Hall 411b857d01 Revert "Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties.""
This reverts commit a454d5055d.
2018-08-18 19:38:27 -06:00
David Hall a454d5055d Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties."
This reverts commit 733e30b868.
2018-08-18 19:33:40 -06:00
David Hall 733e30b868 BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties. 2018-08-18 19:33:00 -06:00
David Hall 000c120223 Added ShellProgressDialog component that wraps IProgressDialog 2018-07-30 16:22:02 -06:00
David Hall 70952057e0 Completed testing and corrections for WNet functions 2018-07-28 12:29:26 -06:00
David Hall 95b9a685d4 Simplified use cases for SendMessage across all projects. 2018-05-31 14:39:11 -06:00
David Hall 8b19ca8f5e Renamed KnownFolders to KnownFolder, changed SelectedItem to retrieve file system path if available and readonly as it cannot be used to set the initial value. 2018-03-27 17:04:44 -06:00
David Hall 073793f0d6 Corrected namespace 2018-03-26 18:06:45 -06:00
David Hall cd9e856f77 Changed version to 1.0.9 2018-03-26 15:06:12 -06:00
David Hall d9aefd33dd For .NET 4.5 only, added ProgressDialog class that will execute an autosizeing dialog that shows progress of an async method. 2018-03-26 15:04:40 -06:00
David Hall 65a91bf978 Improved design-time experience, cleaned up code, and added ability to use password characters on text boxes. 2018-03-26 13:21:29 -06:00
David Hall 8a1c33e158 Renamed Vanara.UI to Vanara.Windows.Forms and reorganized contents 2017-12-13 10:20:03 -07:00