Merge pull request #1 from quilir/net5

Rename namespace to Nethermind.Gmp
pull/3/head
Lukasz Rozmej 2021-03-19 14:13:54 +01:00 committed by GitHub
commit b5d34bfc5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 457 additions and 456 deletions

View File

@ -19,9 +19,9 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "docs", "docs\docs.shproj",
EndProject
Project("{E09DD79A-4488-4AB9-8D3F-A7EEE78BF432}") = "NuGet", "NuGet\NuGet.nuproj", "{B51A83D0-21F1-454A-A62C-8173DB309348}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Math.Gmp.Native", "Math.Gmp.Native\Math.Gmp.Native.csproj", "{145D16A4-B3B6-49C6-B0DD-E4E0A2A00E4A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nethermind.Gmp", "Nethermind.Gmp\Nethermind.Gmp.csproj", "{145D16A4-B3B6-49C6-B0DD-E4E0A2A00E4A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Math.Gmp.Native.UnitTests", "Math.Gmp.Native.UnitTests\Math.Gmp.Native.UnitTests.csproj", "{8E987EBD-1611-488C-BC4D-639074C88CB1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nethermind.Gmp.UnitTests", "Nethermind.Gmp.UnitTests\Nethermind.Gmp.UnitTests.csproj", "{8E987EBD-1611-488C-BC4D-639074C88CB1}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution

View File

@ -2,14 +2,15 @@
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Nethermind.Gmp.UnitTests</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Math.Gmp.Native\Math.Gmp.Native.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MSTest.TestFramework" Version="2.2.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Nethermind.Gmp\Nethermind.Gmp.csproj" />
</ItemGroup>
</Project>

View File

@ -2,7 +2,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Runtime.InteropServices;
using Math.Gmp.Native;
using Nethermind.Gmp;
using System.Linq;
using System.Text;

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Diagnostics;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -3,7 +3,7 @@ using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -3,7 +3,7 @@ using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -3,7 +3,7 @@ using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -2,7 +2,7 @@
using System;
using System.Runtime.InteropServices;
namespace Math.Gmp.Native
namespace Nethermind.Gmp
{
/// <summary>

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Math.Gmp.Native.NET</id>
<id>Nethermind.Gmp.NET</id>
<version>2.0.3</version>
<title>GMP Native Interface for .NET</title>
<authors>Robert Baron (Machine Cognitis)</authors>
<owners>Robert Baron (Machine Cognitis)</owners>
<licenseUrl>https://github.com/MachineCognitis/Math.Gmp.Native/blob/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/MachineCognitis/Math.Gmp.Native/</projectUrl>
<licenseUrl>https://github.com/MachineCognitis/Nethermind.Gmp/blob/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/MachineCognitis/Nethermind.Gmp/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>The GMP Native Interface for .NET Library exposes to .NET (through P-Invoke and .NET types) all of the functionality of the GNU MP Library (version 6.1.2). It automatically loads at runtime the 32-bit or 64-bit GNU MP library that matches the current CPU architecture, thus allowing building Visual Studio Projects for AnyCPU, x86, or x64. It is based on the GNU MP "fat" build which automatically detects the current CPU type, and selects any available assembly language code optimization for that CPU, thus providing optimal performance.
@ -22,21 +22,21 @@ Supported Platform: .NET Framework 4.0+</description>
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.0" />
</frameworkAssemblies>
<references>
<reference file="Math.Gmp.Native.dll" />
<reference file="Nethermind.Gmp.dll" />
</references>
<dependencies>
<dependency id="Baseclass.Contrib.Nuget.Output" version="2.4.1" />
</dependencies>
</metadata>
<files>
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.dll" target="lib\net40\Math.Gmp.Native.dll" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.pdb" target="lib\net40\Math.Gmp.Native.pdb" />
<file src="..\Math.Gmp.Native\bin\Release\Math.Gmp.Native.xml" target="lib\net40\Math.Gmp.Native.xml" />
<file src="..\Math.Gmp.Native\bin\Release\x86\GMP_COPYING" target="output\x86\GMP_COPYING" />
<file src="..\Math.Gmp.Native\bin\Release\x86\GMP_README" target="output\x86\GMP_README" />
<file src="..\Math.Gmp.Native\bin\Release\x86\libgmp-10.dll" target="output\x86\libgmp-10.dll" />
<file src="..\Math.Gmp.Native\bin\Release\x64\GMP_COPYING" target="output\x64\GMP_COPYING" />
<file src="..\Math.Gmp.Native\bin\Release\x64\GMP_README" target="output\x64\GMP_README" />
<file src="..\Math.Gmp.Native\bin\Release\x64\libgmp-10.dll" target="output\x64\libgmp-10.dll" />
<file src="..\Nethermind.Gmp\bin\Release\Nethermind.Gmp.dll" target="lib\net40\Nethermind.Gmp.dll" />
<file src="..\Nethermind.Gmp\bin\Release\Nethermind.Gmp.pdb" target="lib\net40\Nethermind.Gmp.pdb" />
<file src="..\Nethermind.Gmp\bin\Release\Nethermind.Gmp.xml" target="lib\net40\Nethermind.Gmp.xml" />
<file src="..\Nethermind.Gmp\bin\Release\x86\GMP_COPYING" target="output\x86\GMP_COPYING" />
<file src="..\Nethermind.Gmp\bin\Release\x86\GMP_README" target="output\x86\GMP_README" />
<file src="..\Nethermind.Gmp\bin\Release\x86\libgmp-10.dll" target="output\x86\libgmp-10.dll" />
<file src="..\Nethermind.Gmp\bin\Release\x64\GMP_COPYING" target="output\x64\GMP_COPYING" />
<file src="..\Nethermind.Gmp\bin\Release\x64\GMP_README" target="output\x64\GMP_README" />
<file src="..\Nethermind.Gmp\bin\Release\x64\libgmp-10.dll" target="output\x64\libgmp-10.dll" />
</files>
</package>

View File

@ -514,28 +514,28 @@
<HelpKINode Title="Int64 to mp_size_t conversion" Url="html/fecd3260-6eb9-5e31-0266-9bb52bf9b038.htm" />
<HelpKINode Title="Int64 to size_t conversion" Url="html/e9177dc9-2049-a649-3bf2-735ed6927aae.htm" />
<HelpKINode Title="Item property" Url="html/a7661bd2-2bcb-01c5-9833-5ab6d6305daf.htm" />
<HelpKINode Title="Math.Gmp.Native namespace" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" />
<HelpKINode Title="Math.Gmp.Native.allocate_function delegate" Url="html/dfe3609d-cc50-e357-4254-e3a8e2847f07.htm" />
<HelpKINode Title="Math.Gmp.Native.char_ptr structure" Url="html/06249483-9daf-95f9-32c7-30195550bbcc.htm" />
<HelpKINode Title="Math.Gmp.Native.FILE structure" Url="html/1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm" />
<HelpKINode Title="Math.Gmp.Native.free_function delegate" Url="html/2c9876e2-a0f5-14c6-5069-1a9d50b89185.htm" />
<HelpKINode Title="Math.Gmp.Native.gmp_lib class" Url="html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm" />
<HelpKINode Title="Math.Gmp.Native.gmp_randstate_t class" Url="html/f7e5846d-548d-3bf3-74ac-219fde42a041.htm" />
<HelpKINode Title="Math.Gmp.Native.mpf_t class" Url="html/37c88d6c-8d02-2330-ad77-f20fb73d1677.htm" />
<HelpKINode Title="Math.Gmp.Native.mpq_t class" Url="html/635f1879-5f85-881e-cca8-3222baf5045a.htm" />
<HelpKINode Title="Math.Gmp.Native.mpz_t class" Url="html/8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm" />
<HelpKINode Title="Math.Gmp.Native.mp_base class" Url="html/8f3c572b-8133-bccc-b838-9d22e3467898.htm" />
<HelpKINode Title="Math.Gmp.Native.mp_bitcnt_t structure" Url="html/1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm" />
<HelpKINode Title="Math.Gmp.Native.mp_exp_t structure" Url="html/e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm" />
<HelpKINode Title="Math.Gmp.Native.mp_limb_t structure" Url="html/bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm" />
<HelpKINode Title="Math.Gmp.Native.mp_ptr class" Url="html/4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm" />
<HelpKINode Title="Math.Gmp.Native.mp_size_t structure" Url="html/4b58a584-7a0e-b600-18fa-ebd493861eb3.htm" />
<HelpKINode Title="Math.Gmp.Native.ptr(Of T) class" Url="html/542faa00-d28a-72a2-2dd8-6c6021e683ce.htm" />
<HelpKINode Title="Math.Gmp.Native.ptr&lt;T&gt; class" Url="html/542faa00-d28a-72a2-2dd8-6c6021e683ce.htm" />
<HelpKINode Title="Math.Gmp.Native.reallocate_function delegate" Url="html/aa9d21b4-a929-d550-5a65-f9cbcfa7f638.htm" />
<HelpKINode Title="Math.Gmp.Native.size_t structure" Url="html/d9761bfb-1882-59d2-e89b-c6460141f9a6.htm" />
<HelpKINode Title="Math.Gmp.Native.va_list class" Url="html/4f2255b8-b87a-7b1b-286a-abb7293059d7.htm" />
<HelpKINode Title="Math.Gmp.Native.void_ptr structure" Url="html/e200d734-044d-4cc7-acc7-2333d7cf3c9a.htm" />
<HelpKINode Title="Nethermind.Gmp namespace" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" />
<HelpKINode Title="Nethermind.Gmp.allocate_function delegate" Url="html/dfe3609d-cc50-e357-4254-e3a8e2847f07.htm" />
<HelpKINode Title="Nethermind.Gmp.char_ptr structure" Url="html/06249483-9daf-95f9-32c7-30195550bbcc.htm" />
<HelpKINode Title="Nethermind.Gmp.FILE structure" Url="html/1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm" />
<HelpKINode Title="Nethermind.Gmp.free_function delegate" Url="html/2c9876e2-a0f5-14c6-5069-1a9d50b89185.htm" />
<HelpKINode Title="Nethermind.Gmp.gmp_lib class" Url="html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm" />
<HelpKINode Title="Nethermind.Gmp.gmp_randstate_t class" Url="html/f7e5846d-548d-3bf3-74ac-219fde42a041.htm" />
<HelpKINode Title="Nethermind.Gmp.mpf_t class" Url="html/37c88d6c-8d02-2330-ad77-f20fb73d1677.htm" />
<HelpKINode Title="Nethermind.Gmp.mpq_t class" Url="html/635f1879-5f85-881e-cca8-3222baf5045a.htm" />
<HelpKINode Title="Nethermind.Gmp.mpz_t class" Url="html/8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm" />
<HelpKINode Title="Nethermind.Gmp.mp_base class" Url="html/8f3c572b-8133-bccc-b838-9d22e3467898.htm" />
<HelpKINode Title="Nethermind.Gmp.mp_bitcnt_t structure" Url="html/1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm" />
<HelpKINode Title="Nethermind.Gmp.mp_exp_t structure" Url="html/e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm" />
<HelpKINode Title="Nethermind.Gmp.mp_limb_t structure" Url="html/bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm" />
<HelpKINode Title="Nethermind.Gmp.mp_ptr class" Url="html/4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm" />
<HelpKINode Title="Nethermind.Gmp.mp_size_t structure" Url="html/4b58a584-7a0e-b600-18fa-ebd493861eb3.htm" />
<HelpKINode Title="Nethermind.Gmp.ptr(Of T) class" Url="html/542faa00-d28a-72a2-2dd8-6c6021e683ce.htm" />
<HelpKINode Title="Nethermind.Gmp.ptr&lt;T&gt; class" Url="html/542faa00-d28a-72a2-2dd8-6c6021e683ce.htm" />
<HelpKINode Title="Nethermind.Gmp.reallocate_function delegate" Url="html/aa9d21b4-a929-d550-5a65-f9cbcfa7f638.htm" />
<HelpKINode Title="Nethermind.Gmp.size_t structure" Url="html/d9761bfb-1882-59d2-e89b-c6460141f9a6.htm" />
<HelpKINode Title="Nethermind.Gmp.va_list class" Url="html/4f2255b8-b87a-7b1b-286a-abb7293059d7.htm" />
<HelpKINode Title="Nethermind.Gmp.void_ptr structure" Url="html/e200d734-044d-4cc7-acc7-2333d7cf3c9a.htm" />
<HelpKINode Title="mpf_abs method" Url="html/17731ba4-bf91-6b9b-737a-a9cc306ba17d.htm" />
<HelpKINode Title="mpf_add method" Url="html/c19999f1-01ee-a3fe-dc4d-2a459e73492d.htm" />
<HelpKINode Title="mpf_add_ui method" Url="html/45a76d5c-c5bf-e7f8-906a-15d290e9a50d.htm" />

View File

@ -2,7 +2,7 @@
<HelpTOC>
<HelpTOCNode Title="Welcome to the GMP Native Interface for .NET Library" Url="html/846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" />
<HelpTOCNode Id="f9e8a094-a815-4953-9790-648c7bcb12ab" Title="Math.Gmp.Native" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">
<HelpTOCNode Id="f9e8a094-a815-4953-9790-648c7bcb12ab" Title="Nethermind.Gmp" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">
<HelpTOCNode Title="allocate_function Delegate" Url="html/dfe3609d-cc50-e357-4254-e3a8e2847f07.htm" />
<HelpTOCNode Id="280e9387-90fb-48b5-aa28-b1558beecb06" Title="char_ptr Structure" Url="html/06249483-9daf-95f9-32c7-30195550bbcc.htm">
<HelpTOCNode Id="0287c071-0843-4322-a961-1a8eb73db532" Title="char_ptr Constructor " Url="html/9006f054-e796-6460-45df-47d6ab808697.htm">

View File

@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><HelpTOC><HelpTOCNode Title="Welcome to the GMP Native Interface for .NET Library" Url="html/846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" /><HelpTOCNode Title="Math.Gmp.Native" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" HasChildren="true" /></HelpTOC>
<?xml version="1.0" encoding="utf-8"?><HelpTOC><HelpTOCNode Title="Welcome to the GMP Native Interface for .NET Library" Url="html/846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" /><HelpTOCNode Title="Nethermind.Gmp" Url="html/d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" HasChildren="true" /></HelpTOC>