From c15d46088b355067d210118a2c6249b8b519a97e Mon Sep 17 00:00:00 2001 From: Hajin Jang Date: Sun, 7 Jun 2020 02:38:22 +0900 Subject: [PATCH 1/2] Fix ExtractFlags.No'p'Attributes flag typo --- CHANGELOG.md | 8 ++++++++ ManagedWimLib/ManagedWimLib.csproj | 7 ++----- ManagedWimLib/NativeStructs.cs | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 288a7f1..5325843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## v2.x +### v2.0.1 + +Released on 2020-06-07 + +- Fixed `ExtractFlags.NopAttributes` typo by renaming into `ExtractFlags.NoAttributes`. + ### v2.0.0 Released on 2020-06-07 @@ -14,11 +20,13 @@ Released on 2020-06-07 - Renamed `ProgressInfo_*` structs into `*Progress` classes. - Renamed enums to PascalCase style from C_CONST style. - Renamed `ChangeFlags.*Flag` into `ChangeFlags.*`. + - Renamed `*.Default` enum into `*.None`. - Renamed `ProgressInfo_*` structs into `*Progress` classes. - Rewrote progress callback strcuts into classes to improve callback performance. - Rewrote iterate functions and their callbacks. - Renamed `IterateFlags` into `IterateDirTreeFlags`. - Reserve `IterateLookupTableFlags` to used in `Wim.IterateLookupTable()`. + - `IterateDirTreeCallback` now returns int instead of `CallbackStatus`. A callback must `Wim.IterateCallbackSuccess` on success, or an `ErrorCode` on error. - Added `InitFlags` and overloads of `GlobalInit()`. - Replaced `ManagedWimLib.FileAttribute` with standard [System.IO.FileAttributes](https://docs.microsoft.com/en-US/dotnet/api/system.io.fileattributes). - Removed `Wim.PathSeparator`, use of standard [Path.DirectorySeparatorChar](https://docs.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar) is recommended. diff --git a/ManagedWimLib/ManagedWimLib.csproj b/ManagedWimLib/ManagedWimLib.csproj index 78c7a21..2b45e26 100644 --- a/ManagedWimLib/ManagedWimLib.csproj +++ b/ManagedWimLib/ManagedWimLib.csproj @@ -6,7 +6,7 @@ ManagedWimLib latest true - 2.0.0 + 2.0.1 Eric Biggers, Hajin Jang Joveler Native wimlib wrapper library for .NET. @@ -18,10 +18,7 @@ Supports Windows, Linux and macOS. images\Logo.png https://github.com/ied206/ManagedWimLib - - Updated included wimlib to 1.13.2. - - Native libraries are now placed following [NuGet convention-based working directory](https://docs.microsoft.com/en-US/nuget/create-packages/creating-a-package#create-the-nuspec-file) on .NET Standard build. - - Added `Compressor`, `Decompressor` classes. - - Redesigned public APIs. + - Fixed `ExtractFlags.NopAttributes` typo by renaming into `ExtractFlags.NoAttributes`. wim wimlib dism imagex archive native pinvoke interop diff --git a/ManagedWimLib/NativeStructs.cs b/ManagedWimLib/NativeStructs.cs index 37f054d..e648c33 100644 --- a/ManagedWimLib/NativeStructs.cs +++ b/ManagedWimLib/NativeStructs.cs @@ -874,7 +874,7 @@ public enum ExtractFlags : uint /// /// This flag has an effect on Windows as well as in the NTFS-3G extraction mode. /// - NopAttributes = 0x00100000, + NoAttributes = 0x00100000, /// /// For and only: /// Do not preserve the directory structure of the archive when extracting --- that is, From bbea53dfe42059b89e87bb217dc556a188911565 Mon Sep 17 00:00:00 2001 From: Hajin Jang Date: Sun, 7 Jun 2020 02:42:34 +0900 Subject: [PATCH 2/2] Update csproj --- ManagedWimLib/ManagedWimLib.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ManagedWimLib/ManagedWimLib.csproj b/ManagedWimLib/ManagedWimLib.csproj index 2b45e26..ab5cd9a 100644 --- a/ManagedWimLib/ManagedWimLib.csproj +++ b/ManagedWimLib/ManagedWimLib.csproj @@ -18,7 +18,7 @@ Supports Windows, Linux and macOS. images\Logo.png https://github.com/ied206/ManagedWimLib - - Fixed `ExtractFlags.NopAttributes` typo by renaming into `ExtractFlags.NoAttributes`. + - Fixed ExtractFlags.NopAttributes typo by renaming into ExtractFlags.NoAttributes. wim wimlib dism imagex archive native pinvoke interop