Skip to content

Commit

Permalink
Changed compression stream to use DeflateStream from DotNetZip https:…
Browse files Browse the repository at this point in the history
…//dotnetzip.codeplex.com/ apk and jar files are now created with better compression ratio
  • Loading branch information
jens13 committed May 14, 2012
1 parent 760c6a0 commit 2a22ef2
Show file tree
Hide file tree
Showing 24 changed files with 9,329 additions and 114 deletions.
78 changes: 78 additions & 0 deletions notice.txt
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,81 @@ DAMAGES.

END OF TERMS AND CONDITIONS
================================================================================


The compression and decompression is handled by the zlib implementation taken
from the DotNetZip library project, and are used in accordancewith the
following license:

================================================================================

The following licenses govern use of the accompanying software, the
DotNetZip library ("the software"). If you use the software, you accept
these licenses. If you do not accept the license, do not use the software.

The managed ZLIB code included in Ionic.Zlib.dll and Ionic.Zip.dll is
modified code, based on jzlib.



The following notice applies to jzlib:
-----------------------------------------------------------------------

Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.

3. The names of the authors may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-----------------------------------------------------------------------

jzlib is based on zlib-1.1.3.

The following notice applies to zlib:

-----------------------------------------------------------------------

Copyright (C) 1995-2004 Jean-loup Gailly and Mark Adler

The ZLIB software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Jean-loup Gailly jloup@gzip.org
Mark Adler madler@alumni.caltech.edu


-----------------------------------------------------------------------
================================================================================
3 changes: 3 additions & 0 deletions src/CrcStudio.TabControl/CrcStudio.TabControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TabStrip.cs">
<SubType>Component</SubType>
Expand Down
38 changes: 1 addition & 37 deletions src/CrcStudio.TabControl/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,8 @@
// Distributed under the New BSD License.
// (See accompanying file notice.txt or at
// http://www.opensource.org/licenses/bsd-license.php)
using System;
using System.Reflection;
using System.Runtime.InteropServices;

// 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.
using System.Reflection;

[assembly: AssemblyTitle("Custom Rom Creator Studio TabStrip")]
[assembly: AssemblyDescription("TabStrip Control")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Custom Rom Creator Studio")]
[assembly: AssemblyProduct("Custom Rom Creator Studio")]
[assembly: AssemblyCopyright("Copyright © Jens Granlund 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.

[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]

// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("e87b563a-2c81-4b2f-9e45-40f6093b2c05")]

// 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 Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("1.1.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
17 changes: 17 additions & 0 deletions src/CrcStudio.Zip/CrcStudio.Zip.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,33 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="AndroidArchive.cs" />
<Compile Include="CompressionType.cs" />
<Compile Include="Crc32.cs" />
<Compile Include="Deflate\CRC32.cs" />
<Compile Include="Deflate\Deflate.cs" />
<Compile Include="Deflate\DeflateStream.cs" />
<Compile Include="Deflate\GZipStream.cs" />
<Compile Include="Deflate\Inflate.cs" />
<Compile Include="Deflate\InfTree.cs" />
<Compile Include="Deflate\Tree.cs" />
<Compile Include="Deflate\Zlib.cs" />
<Compile Include="Deflate\ZlibBaseStream.cs" />
<Compile Include="Deflate\ZlibCodec.cs" />
<Compile Include="Deflate\ZlibConstants.cs" />
<Compile Include="GeneralPurposeType.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ReadOnlyZipFile.cs" />
<Compile Include="ZipEntry.cs" />
<Compile Include="ZipExtensions.cs" />
<Compile Include="ZipFile.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Deflate\License.zlib.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Loading

0 comments on commit 2a22ef2

Please sign in to comment.