Skip to content

Commit 6af1612

Browse files
authored
Merge pull request #6 from shugaoye/master
Release 1.2.2.8
2 parents e6fa0ae + 694de4d commit 6af1612

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

KPCLib.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>KPCLib</id>
5-
<version>1.2.2</version>
5+
<version>1.2.2.8</version>
66
<authors>Roger Ye</authors>
77
<owners>Roger Ye</owners>
88
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9-
<licenseUrl>https://github.com/passxyz/KPCLib/blob/master/LICENSE</licenseUrl>
9+
<license type="expression">LGPL-3.0-or-later</license>
1010
<projectUrl>https://github.com/passxyz/KPCLib</projectUrl>
1111
<description>This is the build of KeePassLib in Xamarin Portable Class Library. Three platforms, UWP, Android and iOS, are supported and tested.</description>
1212
<releaseNotes>-Support Markdown in Notes field

KPCLib.xunit/KPCLib.xunit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
11-
<PackageReference Include="PassXYZ" Version="2.1.4.4" />
11+
<PackageReference Include="PassXYZ" Version="2.1.4.8" />
1212
<PackageReference Include="SkiaSharp" Version="2.80.2" />
1313
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.80.2" />
1414
<PackageReference Include="xunit" Version="2.4.1" />

KPCLib.xunit/PxDatabaseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public class PxLibInfoTests
378378
public void PxLibVersion()
379379
{
380380
Debug.WriteLine($"{PxLibInfo.Version}");
381-
Assert.Equal(PxLibInfo.Version, new System.Version("1.2.2.3"));
381+
Assert.Equal(PxLibInfo.Version, new System.Version("1.2.2.9"));
382382
}
383383

384384
[Fact]

KPCLib/KPCLib.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<OutputType>Library</OutputType>
77
<StartupObject />
88
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
9-
<Version>1.2.2</Version>
9+
<Version>1.2.2.9</Version>
1010
<PackageLicenseUrl>https://github.com/passxyz/KPCLib/blob/master/LICENSE</PackageLicenseUrl>
1111
<PackageProjectUrl>https://github.com/passxyz/KPCLib</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/passxyz/KPCLib</RepositoryUrl>
@@ -23,8 +23,8 @@
2323

2424
1.1.6 - KPCLib has been tested on all three platforms (Android, iOS and UWP).</PackageReleaseNotes>
2525
<NeutralLanguage>en-US</NeutralLanguage>
26-
<AssemblyVersion>1.2.2.3</AssemblyVersion>
27-
<FileVersion>1.2.2.3</FileVersion>
26+
<AssemblyVersion>1.2.2.9</AssemblyVersion>
27+
<FileVersion>1.2.2.9</FileVersion>
2828
</PropertyGroup>
2929

3030
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

PassXYZLib/PassXYZLib.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<Version>1.2.2</Version>
6-
<AssemblyVersion>1.2.2.3</AssemblyVersion>
7-
<FileVersion>1.2.2.3</FileVersion>
5+
<Version>1.2.2.9</Version>
6+
<AssemblyVersion>1.2.2.9</AssemblyVersion>
7+
<FileVersion>1.2.2.9</FileVersion>
88
<Company>PassXYZ Inc.</Company>
99
<Authors>Roger Ye</Authors>
1010
<Copyright>Roger Ye</Copyright>
11-
<PackageReleaseNotes>1.2.2.0 - Support Device Lock
11+
<PackageReleaseNotes>1.2.2.8 - Support Device Lock
1212
1.2.0.1 - Added IsParentGroup, MoveEntry, MoveGroup
1313
1.2.0.0 - Updated to KeePassLib 2.4.7. Enhanced KeePassLib
1414
</PackageReleaseNotes>
@@ -18,7 +18,7 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="PassXYZ" Version="2.1.4.4" />
21+
<PackageReference Include="PassXYZ" Version="2.1.4.8" />
2222
</ItemGroup>
2323

2424
<ItemGroup>

PassXYZLib/PxDatabase.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ public PxDatabase() : base()
248248
/// <param name="password">The password of data file</param>
249249
public void Open(string filename, string password)
250250
{
251+
if (filename == null || filename == String.Empty)
252+
{ Debug.Assert(false); throw new ArgumentNullException("filename"); }
253+
if (password == null || password == String.Empty)
254+
{ Debug.Assert(false); throw new ArgumentNullException("password"); }
255+
251256
var logger = new KPCLibLogger();
252257

253258
var file_path = Path.Combine(DefaultFolder, filename);

0 commit comments

Comments
 (0)