4.45 beta

This commit is contained in:
Igor Pavlov
2007-04-17 00:00:00 +00:00
committed by Kornel Lesiński
parent d9666cf046
commit a145bfc7cf
458 changed files with 13144 additions and 18608 deletions

View File

@@ -2,7 +2,7 @@
;Defines
!define VERSION_MAJOR 4
!define VERSION_MINOR 44
!define VERSION_MINOR 45
!define VERSION_POSTFIX_FULL " beta"
!ifdef WIN64
!ifdef IA64
@@ -115,12 +115,45 @@ Section
Delete $INSTDIR\7zC.sfx
Delete $INSTDIR\7-zipn.dll
Delete $INSTDIR\7zipDoc.txt
Delete $INSTDIR\file_id.diz
Delete $INSTDIR\Codecs\7zAES.dll
Delete $INSTDIR\Codecs\AES.dll
Delete $INSTDIR\Codecs\Branch.dll
Delete $INSTDIR\Codecs\BZip2.dll
Delete $INSTDIR\Codecs\Copy.dll
Delete $INSTDIR\Codecs\Deflate.dll
Delete $INSTDIR\Codecs\Implode.dll
Delete $INSTDIR\Codecs\LZMA.dll
Delete $INSTDIR\Codecs\PPMD.dll
Delete $INSTDIR\Codecs\Rar29.dll
Delete $INSTDIR\Codecs\Swap.dll
RMDir $INSTDIR\Codecs
Delete $INSTDIR\Formats\7z.dll
Delete $INSTDIR\Formats\arj.dll
Delete $INSTDIR\Formats\bz2.dll
Delete $INSTDIR\Formats\cab.dll
Delete $INSTDIR\Formats\chm.dll
Delete $INSTDIR\Formats\cpio.dll
Delete $INSTDIR\Formats\deb.dll
Delete $INSTDIR\Formats\gz.dll
Delete $INSTDIR\Formats\iso.dll
Delete $INSTDIR\Formats\lzh.dll
Delete $INSTDIR\Formats\nsis.dll
Delete $INSTDIR\Formats\rar.dll
Delete $INSTDIR\Formats\rpm.dll
Delete $INSTDIR\Formats\split.dll
Delete $INSTDIR\Formats\tar.dll
Delete $INSTDIR\Formats\z.dll
Delete $INSTDIR\Formats\zip.dll
RMDir $INSTDIR\Formats
# install files
SetOutPath "$INSTDIR"
File file_id.diz
File descript.ion
File History.txt
File License.txt
@@ -144,38 +177,7 @@ Section
File 7-zip.chm
SetOutPath $INSTDIR\Formats
File 7z.dll
File arj.dll
File bz2.dll
File cab.dll
File chm.dll
File cpio.dll
File deb.dll
File gz.dll
File iso.dll
File lzh.dll
File nsis.dll
File rar.dll
File rpm.dll
File split.dll
File tar.dll
File z.dll
File zip.dll
SetOutPath $INSTDIR\Codecs
File LZMA.dll
File Rar29.dll
File Deflate.dll
File Branch.dll
File Swap.dll
File Copy.dll
File PPMD.dll
File BZip2.dll
File AES.dll
File 7zAES.dll
SetOutPath $INSTDIR\Lang
@@ -191,6 +193,7 @@ Section
File br.txt
File ca.txt
File cs.txt
File cy.txt
File da.txt
File de.txt
File el.txt
@@ -338,7 +341,6 @@ Section "Uninstall"
# delete files
Delete $INSTDIR\file_id.diz
Delete $INSTDIR\descript.ion
Delete $INSTDIR\History.txt
Delete $INSTDIR\License.txt
@@ -360,38 +362,7 @@ Section "Uninstall"
Delete $INSTDIR\7-zip.chm
Delete $INSTDIR\Formats\7z.dll
Delete $INSTDIR\Formats\arj.dll
Delete $INSTDIR\Formats\bz2.dll
Delete $INSTDIR\Formats\cab.dll
Delete $INSTDIR\Formats\chm.dll
Delete $INSTDIR\Formats\cpio.dll
Delete $INSTDIR\Formats\deb.dll
Delete $INSTDIR\Formats\gz.dll
Delete $INSTDIR\Formats\iso.dll
Delete $INSTDIR\Formats\lzh.dll
Delete $INSTDIR\Formats\nsis.dll
Delete $INSTDIR\Formats\rar.dll
Delete $INSTDIR\Formats\rpm.dll
Delete $INSTDIR\Formats\split.dll
Delete $INSTDIR\Formats\tar.dll
Delete $INSTDIR\Formats\z.dll
Delete $INSTDIR\Formats\zip.dll
RMDir $INSTDIR\Formats
Delete $INSTDIR\Codecs\LZMA.dll
Delete $INSTDIR\Codecs\Rar29.dll
Delete $INSTDIR\Codecs\Deflate.dll
Delete $INSTDIR\Codecs\Branch.dll
Delete $INSTDIR\Codecs\Swap.dll
Delete $INSTDIR\Codecs\Copy.dll
Delete $INSTDIR\Codecs\PPMD.dll
Delete $INSTDIR\Codecs\BZip2.dll
Delete $INSTDIR\Codecs\AES.dll
Delete $INSTDIR\Codecs\7zAES.dll
RMDir $INSTDIR\Codecs
Delete $INSTDIR\7z.dll
Delete $INSTDIR\Lang\en.ttt
Delete $INSTDIR\Lang\af.txt
@@ -405,6 +376,7 @@ Section "Uninstall"
Delete $INSTDIR\Lang\br.txt
Delete $INSTDIR\Lang\ca.txt
Delete $INSTDIR\Lang\cs.txt
Delete $INSTDIR\Lang\cy.txt
Delete $INSTDIR\Lang\da.txt
Delete $INSTDIR\Lang\de.txt
Delete $INSTDIR\Lang\el.txt

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<?define VerMajor = "4" ?>
<?define VerMinor = "44" ?>
<?define VerMinor = "45" ?>
<?define VerBuild = "03" ?>
<?define MmVer = "$(var.VerMajor).$(var.VerMinor)" ?>
<?define MmHex = "0$(var.VerMajor)$(var.VerMinor)" ?>
@@ -227,42 +227,9 @@
</File>
</Component>
<Directory Id="Formats" Name="Formats">
<Component Id="Formats" Guid="$(var.CompFormats)" DiskId="1" Win64="$(var.Is64)">
<Component Id="Formats" Guid="$(var.CompFormats)" DiskId="1" Win64="$(var.Is64)">
<File Id="_7z.dll" Name="7z.dll" />
<File Id="arj.dll" Name="arj.dll" />
<File Id="bz2.dll" Name="bz2.dll" />
<File Id="cab.dll" Name="cab.dll" />
<File Id="chm.dll" Name="chm.dll" />
<File Id="cpio.dll" Name="cpio.dll" />
<File Id="deb.dll" Name="deb.dll" />
<File Id="gz.dll" Name="gz.dll" />
<File Id="iso.dll" Name="iso.dll" />
<File Id="lzh.dll" Name="lzh.dll" />
<File Id="nsis.dll" Name="nsis.dll" />
<File Id="rar.dll" Name="rar.dll" />
<File Id="rpm.dll" Name="rpm.dll" />
<File Id="split.dll" Name="split.dll" />
<File Id="tar.dll" Name="tar.dll" />
<File Id="z.dll" Name="z.dll" />
<File Id="zip.dll" Name="zip.dll" />
</Component>
</Directory>
<Directory Id="Codecs" Name="Codecs">
<Component Id="Codecs" Guid="$(var.CompCodecs)" DiskId="1" Win64="$(var.Is64)">
<File Id="_7zAES.dll" Name="7zAES.dll" />
<File Id="AES.dll" Name="AES.dll" />
<File Id="Branch.dll" Name="Branch.dll" />
<File Id="BZip2.dll" Name="BZip2.dll" />
<File Id="Copy.dll" Name="Copy.dll" />
<File Id="Deflate.dll" Name="Deflate.dll" />
<File Id="LZMA.dll" Name="LZMA.dll" />
<File Id="PPMd.dll" Name="PPMd.dll" />
<File Id="Rar29.dll" Name="Rar29.dll" />
<File Id="Swap.dll" Name="Swap.dll" />
</Component>
</Directory>
</Component>
<Directory Id="MyLang" Name="Lang">
<Component Id="Lang" Guid="$(var.CompLang)" DiskId="1" Win64="$(var.Is64)">
@@ -278,6 +245,7 @@
<File Id="br.txt" Name="br.txt" />
<File Id="ca.txt" Name="ca.txt" />
<File Id="cs.txt" Name="cs.txt" />
<File Id="cy.txt" Name="cy.txt" />
<File Id="da.txt" Name="da.txt" />
<File Id="de.txt" Name="de.txt" />
<File Id="el.txt" Name="el.txt" />
@@ -361,7 +329,6 @@
<ComponentRef Id="Gui" />
<ComponentRef Id="GuiSfx" />
<ComponentRef Id="ConSfx" />
<ComponentRef Id="Codecs" />
<ComponentRef Id="Formats" />
<ComponentRef Id="Docs" />
<ComponentRef Id="Help" />

View File

@@ -1,5 +1,5 @@
7-Zip
~~~~~
7-Zip source code
~~~~~~~~~~~~~~~~~
License for use and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -7,9 +7,9 @@
Licenses for files are:
1) Rar29.dll: GNU LGPL + unRAR restriction
2) AES.dll and 7za.exe: GNU LGPL + AES code license
3) All other files: GNU LGPL
1) CPP/7zip/Compress/Rar files: GNU LGPL + unRAR restriction
2) CPP/7zip/Crypto/AES files: GNU LGPL + AES code license
3) All other files: GNU LGPL
GNU LGPL + unRAR restriction means that you must follow both GNU LGPL rules
and unRAR restriction rules.

View File

@@ -1,24 +1,23 @@
Compression method IDs (4.43)
-----------------------------
7-Zip method IDs (4.45)
-----------------------
Each compression method in 7z has unique binary value (ID).
The length of ID in bytes is arbitrary but it can not exceed 15 bytes.
Each compression or crypto method in 7z has unique binary value (ID).
The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes).
If you want to add some new ID, you have two ways:
1) Write request for allocating IDs to 7-zip developers.
2) Use such random ID:
03 E0 ZZ ... ZZ MM ... MM VV ... VV
2) Generate 8-bytes ID:
ZZ != 0, MM != 0, VV != 0
7F ZZ ZZ ZZ ZZ ZZ MM MM
03 E0 - Prefix for random IDs
ZZ ... ZZ - Developer ID. (length >= 4). Use real random bytes.
You can notify 7-Zip developers about your Developer ID.
MM ... MM - Method ID (length >= 1)
VV ... VV - Version (length >= 1)
7F - Prefix for random IDs (1 byte)
ZZ ZZ ZZ ZZ ZZ - Developer ID (5 bytes). Use real random bytes.
MM MM - Method ID (2 bytes)
Note: Use new ID (MM ... MM VV .. VV) only if old codec can not decode
data encoded with new version.
You can notify 7-Zip developers about your Developer ID / Method ID.
Note: Use new ID only if old codec can not decode data encoded with new version.
List of defined IDs

View File

@@ -1,6 +1,13 @@
Sources history of the 7-Zip
----------------------------
Version 4.45 beta 2007-04-16
--------------------------------------
- 7-Zip now uses C version of CRC, so you must call CrcGenerateTable at
stratup code, or you must add CPP/Common/CRC.cpp to your project.
- Method ID in .7z now is 63-bit integer (UInt64).
Version 4.30 beta 2005-11-18
--------------------------------------
- Security.h::AddLockMemoryPrivilege - installs "Large pages" feature

View File

@@ -10,7 +10,7 @@ License Info
------------
7-Zip is free software distributed under the GNU LGPL
(except for files Rar29.dll and AES code).
(except for unRar code and AES code).
read License.txt for more infomation about license.
Notes about unRAR license: