forked from madler/zlib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
2,167 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ZLIB DATA COMPRESSION LIBRARY | ||
|
||
zlib 1.2.1.2 is a general purpose data compression library. All the code is | ||
zlib 1.2.2 is a general purpose data compression library. All the code is | ||
thread safe. The data format used by the zlib library is described by RFCs | ||
(Request for Comments) 1950 to 1952 in the files | ||
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) | ||
|
@@ -34,7 +34,7 @@ Mark Nelson <[email protected]> wrote an article about zlib for the Jan. 1997 | |
issue of Dr. Dobb's Journal; a copy of the article is available in | ||
http://dogma.net/markn/articles/zlibtool/zlibtool.htm | ||
|
||
The changes made in version 1.2.1.2 are documented in the file ChangeLog. | ||
The changes made in version 1.2.2 are documented in the file ChangeLog. | ||
|
||
Unsupported third party contributions are provided in directory "contrib". | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,9 @@ blast/ by Mark Adler <[email protected]> | |
delphi/ by Cosmin Truta <[email protected]> | ||
Support for Delphi and C++ Builder | ||
|
||
dotzlib/ by Henrik Ravn <[email protected]> | ||
Support for Microsoft .Net and Visual C++ .Net | ||
|
||
gzappend/ by Mark Adler <[email protected]> | ||
append to a gzip file -- illustrates the use of Z_BLOCK | ||
|
||
|
@@ -60,11 +63,8 @@ puff/ by Mark Adler <[email protected]> | |
testzlib/ by Gilles Vollant <[email protected]> | ||
Example of the use of zlib | ||
|
||
untgz/ by "Pedro A. Aranda Guti\irrez" <[email protected]> | ||
untgz/ by Pedro A. Aranda Gutierrez <[email protected]> | ||
A very simple tar.gz file extractor using zlib | ||
|
||
visual-basic.txt by Carlos Rios <[email protected]> | ||
How to use compress(), uncompress() and the gz* functions from VB | ||
|
||
vstudio/ by Gilles Vollant <[email protected]> | ||
Building a minizip-enhanced zlib with Visual Studio .NET | ||
Building a minizip-enhanced zlib with Microsoft Visual Studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,4 +111,4 @@ private | |
Writer : Filter_Type; | ||
end record; | ||
|
||
end ZLib.Streams; | ||
end ZLib.Streams; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
project Zlib is | ||
|
||
for Languages use ("Ada"); | ||
for Source_Dirs use ("."); | ||
for Object_Dir use "."; | ||
for Main use ("test.adb", "mtest.adb", "read.adb", "buffer_demo"); | ||
|
||
package Compiler is | ||
for Default_Switches ("ada") use ("-gnatwcfilopru", "-gnatVcdfimorst", "-gnatyabcefhiklmnoprst"); | ||
end Compiler; | ||
|
||
package Linker is | ||
for Default_Switches ("ada") use ("-lz"); | ||
end Linker; | ||
|
||
package Builder is | ||
for Default_Switches ("ada") use ("-s", "-gnatQ"); | ||
end Builder; | ||
|
||
end Zlib; | ||
|
||
project Zlib is | ||
|
||
for Languages use ("Ada"); | ||
for Source_Dirs use ("."); | ||
for Object_Dir use "."; | ||
for Main use ("test.adb", "mtest.adb", "read.adb", "buffer_demo"); | ||
|
||
package Compiler is | ||
for Default_Switches ("ada") use ("-gnatwcfilopru", "-gnatVcdfimorst", "-gnatyabcefhiklmnoprst"); | ||
end Compiler; | ||
|
||
package Linker is | ||
for Default_Switches ("ada") use ("-lz"); | ||
end Linker; | ||
|
||
package Builder is | ||
for Default_Switches ("ada") use ("-s", "-gnatQ"); | ||
end Builder; | ||
|
||
end Zlib; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<project name="DotZLib" default="build" basedir="./DotZLib"> | ||
<description>A .Net wrapper library around ZLib1.dll</description> | ||
|
||
<property name="nunit.location" value="c:/program files/NUnit V2.1/bin" /> | ||
<property name="build.root" value="bin" /> | ||
|
||
<property name="debug" value="true" /> | ||
<property name="nunit" value="true" /> | ||
|
||
<property name="build.folder" value="${build.root}/debug/" if="${debug}" /> | ||
<property name="build.folder" value="${build.root}/release/" unless="${debug}" /> | ||
|
||
<target name="clean" description="Remove all generated files"> | ||
<delete dir="${build.root}" failonerror="false" /> | ||
</target> | ||
|
||
<target name="build" description="compiles the source code"> | ||
|
||
<mkdir dir="${build.folder}" /> | ||
<csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}"> | ||
<references basedir="${nunit.location}"> | ||
<includes if="${nunit}" name="nunit.framework.dll" /> | ||
</references> | ||
<sources> | ||
<includes name="*.cs" /> | ||
<excludes name="UnitTests.cs" unless="${nunit}" /> | ||
</sources> | ||
<arg value="/d:nunit" if="${nunit}" /> | ||
</csc> | ||
</target> | ||
|
||
</project> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Microsoft Visual Studio Solution File, Format Version 8.00 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotZLib", "DotZLib\DotZLib.csproj", "{BB1EE0B1-1808-46CB-B786-949D91117FC5}" | ||
ProjectSection(ProjectDependencies) = postProject | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfiguration) = preSolution | ||
Debug = Debug | ||
Release = Release | ||
EndGlobalSection | ||
GlobalSection(ProjectConfiguration) = postSolution | ||
{BB1EE0B1-1808-46CB-B786-949D91117FC5}.Debug.ActiveCfg = Debug|.NET | ||
{BB1EE0B1-1808-46CB-B786-949D91117FC5}.Debug.Build.0 = Debug|.NET | ||
{BB1EE0B1-1808-46CB-B786-949D91117FC5}.Release.ActiveCfg = Release|.NET | ||
{BB1EE0B1-1808-46CB-B786-949D91117FC5}.Release.Build.0 = Release|.NET | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityAddIns) = postSolution | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// | ||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
// | ||
[assembly: AssemblyTitle("DotZLib")] | ||
[assembly: AssemblyDescription(".Net bindings for ZLib compression dll 1.2.x")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Henrik Ravn")] | ||
[assembly: AssemblyProduct("")] | ||
[assembly: AssemblyCopyright("(c) 2004 by Henrik Ravn")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// | ||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Revision and Build Numbers | ||
// by using the '*' as shown below: | ||
|
||
[assembly: AssemblyVersion("1.0.*")] | ||
|
||
// | ||
// In order to sign your assembly you must specify a key to use. Refer to the | ||
// Microsoft .NET Framework documentation for more information on assembly signing. | ||
// | ||
// Use the attributes below to control which key is used for signing. | ||
// | ||
// Notes: | ||
// (*) If no key is specified, the assembly is not signed. | ||
// (*) KeyName refers to a key that has been installed in the Crypto Service | ||
// Provider (CSP) on your machine. KeyFile refers to a file which contains | ||
// a key. | ||
// (*) If the KeyFile and the KeyName values are both specified, the | ||
// following processing occurs: | ||
// (1) If the KeyName can be found in the CSP, that key is used. | ||
// (2) If the KeyName does not exist and the KeyFile does exist, the key | ||
// in the KeyFile is installed into the CSP and used. | ||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. | ||
// When specifying the KeyFile, the location of the KeyFile should be | ||
// relative to the project output directory which is | ||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is | ||
// located in the project directory, you would specify the AssemblyKeyFile | ||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] | ||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework | ||
// documentation for more information on this. | ||
// | ||
[assembly: AssemblyDelaySign(false)] | ||
[assembly: AssemblyKeyFile("")] | ||
[assembly: AssemblyKeyName("")] |
Oops, something went wrong.