Merge pull request #7197 from Mailaender/nuget-thirdparty

Cleaned most of the thirdparty folder from foreign binaries
This commit is contained in:
Paul Chote
2014-12-27 09:28:44 +13:00
21 changed files with 118 additions and 23986 deletions

9
.gitignore vendored
View File

@@ -23,6 +23,15 @@ mods/*/*.mdb
/*.mdb
/*.exe
thirdparty/StyleCop*
thirdparty/ICSharpCode.SharpZipLib.dll*
thirdparty/MaxMind*
thirdparty/RestSharp*
thirdparty/Newtonsoft.Json*
thirdparty/SharpFont*
thirdparty/windows/freetype6.dll
thirdparty/nunit*
thirdparty/windows/SDL2.dll
thirdparty/Mono.Nat.dll
# backup files by various editors
*~

View File

@@ -53,7 +53,7 @@
<HintPath>..\thirdparty\SharpFont.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Nat, Version=1.1.0.0, Culture=neutral">
<Reference Include="Mono.Nat">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
<Package>mono.nat</Package>

Binary file not shown.

Binary file not shown.

View File

@@ -1,314 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>MaxMind.Db</name>
</assembly>
<members>
<member name="T:MaxMind.Db.ObjectType">
<summary>
Enumeration representing the types of objects read from the database
</summary>
</member>
<member name="T:MaxMind.Db.Result">
<summary>
A data structure to store an object read from the database
</summary>
</member>
<member name="M:MaxMind.Db.Result.#ctor(Newtonsoft.Json.Linq.JToken,System.Int32)">
<summary>
Initializes a new instance of the <see cref="T:MaxMind.Db.Result"/> class.
</summary>
<param name="node">The node.</param>
<param name="offset">The offset.</param>
</member>
<member name="P:MaxMind.Db.Result.Node">
<summary>
The object read from the database
</summary>
</member>
<member name="P:MaxMind.Db.Result.Offset">
<summary>
The offset
</summary>
</member>
<member name="T:MaxMind.Db.Decoder">
<summary>
Given a stream, this class decodes the object graph at a particular location
</summary>
</member>
<member name="M:MaxMind.Db.Decoder.#ctor(System.Threading.ThreadLocal{System.IO.Stream},System.Int32)">
<summary>
Initializes a new instance of the <see cref="T:MaxMind.Db.Decoder"/> class.
</summary>
<param name="stream">The stream.</param>
<param name="pointerBase">The base address in the stream.</param>
</member>
<member name="M:MaxMind.Db.Decoder.Decode(System.Int32)">
<summary>
Decodes the object at the specified offset.
</summary>
<param name="offset">The offset.</param>
<returns>An object containing the data read from the stream</returns>
</member>
<member name="M:MaxMind.Db.Decoder.ReadOne(System.Int32)">
<summary>
Reads the one.
</summary>
<param name="position">The position.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.ReadMany(System.Int32,System.Int32)">
<summary>
Reads the many.
</summary>
<param name="position">The position.</param>
<param name="size">The size.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeByType(MaxMind.Db.ObjectType,System.Int32,System.Int32)">
<summary>
Decodes the type of the by.
</summary>
<param name="type">The type.</param>
<param name="offset">The offset.</param>
<param name="size">The size.</param>
<returns></returns>
<exception cref="T:System.Exception">Unable to handle type!</exception>
</member>
<member name="M:MaxMind.Db.Decoder.FromControlByte(System.Byte)">
<summary>
Froms the control byte.
</summary>
<param name="b">The attribute.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.SizeFromCtrlByte(System.Byte,System.Int32)">
<summary>
Sizes from control byte.
</summary>
<param name="ctrlByte">The control byte.</param>
<param name="offset">The offset.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeBoolean(System.Int32)">
<summary>
Decodes the boolean.
</summary>
<param name="size">The size of the structure.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeDouble(System.Byte[])">
<summary>
Decodes the double.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeFloat(System.Byte[])">
<summary>
Decodes the float.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeString(System.Byte[])">
<summary>
Decodes the string.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeMap(System.Int32,System.Int32)">
<summary>
Decodes the map.
</summary>
<param name="size">The size.</param>
<param name="offset">The offset.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeLong(System.Byte[])">
<summary>
Decodes the long.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeIntegerToJValue(System.Byte[])">
<summary>
Decodes the integer.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeArray(System.Int32,System.Int32)">
<summary>
Decodes the array.
</summary>
<param name="size">The size.</param>
<param name="offset">The offset.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeUInt64(System.Byte[])">
<summary>
Decodes the uint64.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeBigInteger(System.Byte[])">
<summary>
Decodes the big integer.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodePointer(System.Int32,System.Int32,System.Int32@)">
<summary>
Decodes the pointer.
</summary>
<param name="ctrlByte">The control byte.</param>
<param name="offset">The offset.</param>
<param name="outOffset">The resulting offset</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeInteger(System.Byte[])">
<summary>
Decodes the integer.
</summary>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="M:MaxMind.Db.Decoder.DecodeInteger(System.Int32,System.Byte[])">
<summary>
Decodes the integer.
</summary>
<param name="baseValue">The base value.</param>
<param name="buffer">The buffer.</param>
<returns></returns>
</member>
<member name="T:MaxMind.Db.InvalidDatabaseException">
<summary>
Thrown when the MaxMind database file is incorrectly formatted
</summary>
</member>
<member name="M:MaxMind.Db.InvalidDatabaseException.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:MaxMind.Db.InvalidDatabaseException"/> class.
</summary>
<param name="message">A message that describes the error.</param>
</member>
<member name="M:MaxMind.Db.InvalidDatabaseException.#ctor(System.String,System.Exception)">
<summary>
Initializes a new instance of the <see cref="T:MaxMind.Db.InvalidDatabaseException"/> class.
</summary>
<param name="message">The error message that explains the reason for the exception.</param>
<param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException"/> parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.</param>
</member>
<member name="T:MaxMind.Db.FileAccessMode">
<summary>
An enumeration specifying the API to use to read the database
</summary>
</member>
<member name="F:MaxMind.Db.FileAccessMode.MemoryMapped">
<summary>
Open the file in memory mapped mode. Does not load into real memory.
</summary>
</member>
<member name="F:MaxMind.Db.FileAccessMode.Memory">
<summary>
Load the file into memory.
</summary>
</member>
<member name="T:MaxMind.Db.Reader">
<summary>
Given a MaxMind DB file, this class will retrieve information about an IP address
</summary>
</member>
<member name="M:MaxMind.Db.Reader.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:MaxMind.Db.Reader"/> class.
</summary>
<param name="file">The file.</param>
</member>
<member name="M:MaxMind.Db.Reader.#ctor(System.String,MaxMind.Db.FileAccessMode)">
<summary>
Initializes a new instance of the <see cref="T:MaxMind.Db.Reader"/> class.
</summary>
<param name="file">The MaxMind DB file.</param>
<param name="mode">The mode by which to access the DB file.</param>
</member>
<member name="M:MaxMind.Db.Reader.#ctor(System.IO.Stream)">
<summary>
Initialize with Stream
</summary>
<param name="stream"></param>
</member>
<member name="M:MaxMind.Db.Reader.Find(System.String)">
<summary>
Finds the data related to the specified address.
</summary>
<param name="ipAddress">The IP address.</param>
<returns>An object containing the IP related data</returns>
</member>
<member name="M:MaxMind.Db.Reader.Find(System.Net.IPAddress)">
<summary>
Finds the data related to the specified address.
</summary>
<param name="ipAddress">The IP address.</param>
<returns>An object containing the IP related data</returns>
</member>
<member name="M:MaxMind.Db.Reader.Dispose">
<summary>
Release resources back to the system.
</summary>
</member>
<member name="P:MaxMind.Db.Reader.Metadata">
<summary>
The metadata for the open database.
</summary>
<value>
The metadata.
</value>
</member>
<member name="T:MaxMind.Db.Metadata">
<summary>
Data about the database file itself
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.BinaryFormatMajorVersion">
<summary>
The major version number for the MaxMind DB binary format used by the database.
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.BinaryFormatMinorVersion">
<summary>
The minor version number for the MaxMind DB binary format used by the database.
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.BuildDate">
<summary>
The date-time of the database build.
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.DatabaseType">
<summary>
The MaxMind DB database type.
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.Description">
<summary>
A map from locale codes to the database description in that language.
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.IPVersion">
<summary>
The IP version that the database supports. This will be 4 or 6.
</summary>
</member>
<member name="P:MaxMind.Db.Metadata.Languages">
<summary>
A list of locale codes for languages that the database supports.
</summary>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

28
thirdparty/README vendored
View File

@@ -10,35 +10,7 @@ FuzzyLogicLibrary.dll
Version 1.2.0
GPL v2.0 license
ICSharpCode.SharpZipLib.dll
http://icsharpcode.github.io/SharpZipLib/
Version 0.86
GPL 2.0 with GNU Classpath exception
MaxMind.Db.dll
MaxMind.GeoIP2.dll
Newtonsoft.Json.dll
RestSharp.dll
https://github.com/maxmind/GeoIP2-dotnet/
Version 2.1.0
Apache 2.0 license
Mono.Nat.dll
http://projects.qnetp.net/projects/show/mono-nat
Version 1.1.0
MIT license
nunit.framework.dll
http://www.nunit.org/index.php?p=download
Version 2.6.3
zlib license
SDL2-CS.dll
https://github.com/flibitijibibo/SDL2-CS/
Commit e8731efadb249a40f46d646e2b783ec588326ea6
zlib license
SharpFont.dll
https://github.com/Robmaister/SharpFont
Version 2.5.0.1
MIT license

Binary file not shown.

3024
thirdparty/RestSharp.xml vendored

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<dllmap dll="freetype6.dll">
<dllentry os="linux" dll="libfreetype.so.6" />
<dllentry os="osx" dll="/Library/Frameworks/Mono.framework/Libraries/libfreetype.6.dylib" />
</dllmap>
</configuration>

View File

@@ -3,6 +3,7 @@ if (!(Test-Path "nuget.exe"))
echo "Fetching NuGet."
Invoke-WebRequest "http://nuget.org/nuget.exe" -OutFile "nuget.exe"
}
if (!(Test-Path "StyleCop.dll"))
{
echo "Fetching StyleCop files from NuGet."
@@ -10,3 +11,60 @@ if (!(Test-Path "StyleCop.dll"))
cp StyleCop.MSBuild.4.7.49.0/tools/StyleCop*.dll .
rmdir StyleCop.MSBuild.4.7.49.0 -Recurse
}
if (!(Test-Path "ICSharpCode.SharpZipLib.dll"))
{
echo "Fetching ICSharpCode.SharpZipLib from NuGet."
./nuget.exe install SharpZipLib -Version 0.86.0
cp SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll .
rmdir SharpZipLib.0.86.0 -Recurse
}
if (!(Test-Path "MaxMind.GeoIP2.dll"))
{
echo "Fetching MaxMind.GeoIP2 from NuGet."
./nuget.exe install MaxMind.GeoIP2 -Version 2.1.0
cp MaxMind.Db.1.0.0.0/lib/net40/MaxMind.Db.* .
rmdir MaxMind.Db.1.0.0.0 -Recurse
cp MaxMind.GeoIP2.2.1.0.0/lib/net40/MaxMind.GeoIP2* .
rmdir MaxMind.GeoIP2.2.1.0.0 -Recurse
cp Newtonsoft.Json.6.0.5/lib/net40/Newtonsoft.Json* .
rmdir Newtonsoft.Json.6.0.5 -Recurse
cp RestSharp.105.0.0/lib/net4-client/RestSharp* .
rmdir RestSharp.105.0.0 -Recurse
}
if (!(Test-Path "SharpFont.dll"))
{
echo "Fetching SharpFont from NuGet."
./nuget.exe install SharpFont -Version 2.5.3
cp SharpFont.2.5.3.0/lib/net20/SharpFont* .
cp SharpFont.2.5.3.0/Content/SharpFont.dll.config .
cp SharpFont.2.5.3.0/Content/freetype6.dll ./windows/
rmdir SharpFont.2.5.3.0 -Recurse
}
if (!(Test-Path "nunit.framework.dll"))
{
echo "Fetching NUnit from NuGet."
./nuget.exe install NUnit -Version 2.6.4
cp NUnit.2.6.4/lib/nunit.framework* .
rmdir NUnit.2.6.4 -Recurse
}
if (!(Test-Path "windows/SDL2.dll"))
{
echo "Fetching SDL2 from NuGet."
./nuget.exe install sdl2 -Version 2.0.3
cp sdl2.redist.2.0.3/build/native/bin/Win32/dynamic/SDL2.dll ./windows/
rmdir sdl2.2.0.3 -Recurse
rmdir sdl2.redist.2.0.3 -Recurse
}
if (!(Test-Path "Mono.Nat.dll"))
{
echo "Fetching Mono.Nat from NuGet."
./nuget.exe install Mono.Nat -Version 1.2.21
cp Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll .
rmdir Mono.Nat.1.2.21.0 -Recurse
}

View File

@@ -4,4 +4,54 @@ if [ ! -f StyleCop.dll ]; then
nuget install StyleCop.MSBuild -Version 4.7.49.0
cp ./StyleCop.MSBuild.4.7.49.0/tools/StyleCop*.dll .
rm -rf StyleCop.MSBuild.4.7.49.0
fi
if [ ! -f ICSharpCode.SharpZipLib.dll ]; then
echo "Fetching ICSharpCode.SharpZipLib from nuget"
nuget install SharpZipLib -Version 0.86.0
cp ./SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll .
rm -rf SharpZipLib.0.86.0
fi
if [ ! -f MaxMind.GeoIP2.dll ]; then
echo "Fetching MaxMind.GeoIP2 from nuget"
nuget install MaxMind.GeoIP2 -Version 2.1.0
cp ./MaxMind.Db.1.0.0.0/lib/net40/MaxMind.Db.* .
rm -rf MaxMind.Db.1.0.0.0
cp ./MaxMind.GeoIP2.2.1.0.0/lib/net40/MaxMind.GeoIP2* .
rm -rf MaxMind.GeoIP2.2.1.0.0
cp ./Newtonsoft.Json.6.0.5/lib/net40/Newtonsoft.Json* .
rm -rf Newtonsoft.Json.6.0.5
cp ./RestSharp.105.0.0/lib/net4-client/RestSharp* .
rm -rf RestSharp.105.0.0
fi
if [ ! -f SharpFont.dll ]; then
echo "Fetching SharpFont from nuget"
nuget install SharpFont -Version 2.5.3
cp ./SharpFont.2.5.3.0/lib/net20/SharpFont* .
cp ./SharpFont.2.5.3.0/Content/SharpFont.dll.config .
cp ./SharpFont.2.5.3.0/Content/freetype6.dll ./windows/
rm -rf SharpFont.2.5.3.0
fi
if [ ! -f nunit.framework.dll ]; then
echo "Fetching NUnit from nuget"
nuget install NUnit -Version 2.6.4
cp ./NUnit.2.6.4/lib/nunit.framework* .
rm -rf NUnit.2.6.4
fi
if [ ! -f windows/SDL2.dll ]; then
echo "Fetching SDL2 from nuget"
nuget install sdl2 -Version 2.0.3
cp ./sdl2.redist.2.0.3/build/native/bin/Win32/dynamic/SDL2.dll ./windows/
rm -rf sdl2.2.0.3 sdl2.redist.2.0.3
fi
if [ ! -f Mono.Nat.dll ]; then
echo "Fetching Mono.Nat from nuget"
nuget install Mono.Nat -Version 1.2.21
cp ./Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll .
rm -rf Mono.Nat.1.2.21.0
fi

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.