4.27 beta

This commit is contained in:
Igor Pavlov
2005-09-21 00:00:00 +00:00
committed by Kornel Lesiński
parent 31e7b924e8
commit d66cf2fcf3
393 changed files with 17345 additions and 4743 deletions

View File

@@ -171,8 +171,8 @@ SignatureHeader
ArchiveVersion
{
BYTE Major; // now it = 0
BYTE Minor; // now it = 1
BYTE Major; // now = 0
BYTE Minor; // now = 2
};
UINT32 StartHeaderCRC;

View File

@@ -2,10 +2,30 @@
;Defines
!define VERSION_MAJOR 4
!define VERSION_MINOR 24
!define VERSION_MINOR 27
!define VERSION_POSTFIX_FULL " beta"
!define NAME_FULL "7-Zip ${VERSION_MAJOR}.${VERSION_MINOR}${VERSION_POSTFIX_FULL}"
!ifdef WIN64
!ifdef IA64
!define VERSION_SYS_POSTFIX_FULL " for Windows IA-64"
!else
!define VERSION_SYS_POSTFIX_FULL " for Windows x64"
!endif
!else
!define VERSION_SYS_POSTFIX_FULL ""
!endif
!define NAME_FULL "7-Zip ${VERSION_MAJOR}.${VERSION_MINOR}${VERSION_POSTFIX_FULL}${VERSION_SYS_POSTFIX_FULL}"
!define VERSION_POSTFIX ""
!ifdef WIN64
!ifdef IA64
!define VERSION_SYS_POSTFIX "-ia64"
!else
!define VERSION_SYS_POSTFIX "-x64"
!endif
!else
!define VERSION_SYS_POSTFIX ""
!endif
!define FM_LINK "7-Zip File Manager.lnk"
!define HELP_LINK "7-Zip Help.lnk"
@@ -23,7 +43,7 @@
;General
Name "${NAME_FULL}"
BrandingText "www.7-zip.org"
OutFile "..\7z${VERSION_MAJOR}${VERSION_MINOR}${VERSION_POSTFIX}.exe"
OutFile "..\7z${VERSION_MAJOR}${VERSION_MINOR}${VERSION_POSTFIX}${VERSION_SYS_POSTFIX}.exe"
;Folder selection page
InstallDir "$PROGRAMFILES\7-Zip"
@@ -34,7 +54,11 @@
;Compressor
!ifndef NO_COMPRESSION
SetCompressor /SOLID lzma
!ifdef IA64
SetCompressorDictSize 8
!else
SetCompressorDictSize 4
!endif
!else
SetCompressor zlib
SetCompress off
@@ -97,16 +121,22 @@ Section
File License.txt
File copying.txt
File readme.txt
!ifndef WIN64
File 7zip_pad.xml
!endif
# File 7-zip.dll
# File 7-zipn.dll
File 7zFM.exe
!ifndef WIN64
File 7zFMn.exe
!endif
File 7z.exe
File 7za.exe
File 7zg.exe
!ifndef WIN64
File 7zgn.exe
!endif
File 7z.sfx
File 7zCon.sfx
@@ -120,9 +150,11 @@ Section
File arj.dll
File bz2.dll
File cab.dll
File chm.dll
File cpio.dll
File deb.dll
File gz.dll
File lzh.dll
File rar.dll
File rpm.dll
File split.dll
@@ -172,6 +204,7 @@ Section
File hr.txt
File hu.txt
File id.txt
File io.txt
File it.txt
File ja.txt
File ka.txt
@@ -195,6 +228,7 @@ Section
File ta.txt
File th.txt
File tr.txt
File tt.txt
File uk.txt
File uz.txt
File va.txt
@@ -215,6 +249,13 @@ Section
SetShellVarContext all
!ifdef WIN64
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED 7-zip.dll $INSTDIR\7-zip.dll $INSTDIR
StrCpy "$MyDllPath" "7-zip.dll"
!else
StrCpy $0 0
System::Call "kernel32::GetVersion() i .r0"
IntCmpU $0 0x80000000 0 regNT 0
@@ -228,14 +269,22 @@ Section
StrCpy "$MyDllPath" "7-zipn.dll"
doneReg:
!endif
ClearErrors
# create start menu icons
SetOutPath $INSTDIR # working directory
CreateDirectory $SMPROGRAMS\7-Zip
!ifdef WIN64
StrCpy $1 ""
!else
StrCpy $1 "n"
IntCmpU $0 0x80000000 0 +2 0
StrCpy $1 ""
!endif
CreateShortcut "$SMPROGRAMS\7-Zip\${FM_LINK}" $INSTDIR\7zFM$1.exe
CreateShortcut "$SMPROGRAMS\7-Zip\${HELP_LINK}" $INSTDIR\7-zip.chm
@@ -270,8 +319,10 @@ Section
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe" "" "$INSTDIR\7zFM.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe" "Path" "$INSTDIR"
!ifndef WIN64
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFMn.exe" "" "$INSTDIR\7zFMn.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFMn.exe" "Path" "$INSTDIR"
!endif
# create uninstaller
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip" "DisplayName" "${NAME_FULL}"
@@ -280,6 +331,10 @@ Section
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip" "NoRepair" 1
WriteUninstaller $INSTDIR\Uninstall.exe
!ifdef WIN64
ExecWait 'regsvr32 /s "$INSTDIR\7-zip.dll"'
!endif
SectionEnd
@@ -310,13 +365,19 @@ Section "Uninstall"
Delete $INSTDIR\7zip_pad.xml
Delete /REBOOTOK $INSTDIR\7-zip.dll
!ifndef WIN64
Delete /REBOOTOK $INSTDIR\7-zipn.dll
!endif
Delete $INSTDIR\7zFM.exe
!ifndef WIN64
Delete $INSTDIR\7zFMn.exe
!endif
Delete $INSTDIR\7z.exe
Delete $INSTDIR\7za.exe
Delete $INSTDIR\7zg.exe
!ifndef WIN64
Delete $INSTDIR\7zgn.exe
!endif
Delete $INSTDIR\7z.sfx
Delete $INSTDIR\7zCon.sfx
@@ -328,9 +389,11 @@ Section "Uninstall"
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\lzh.dll
Delete $INSTDIR\Formats\rar.dll
Delete $INSTDIR\Formats\rpm.dll
Delete $INSTDIR\Formats\split.dll
@@ -380,6 +443,7 @@ Section "Uninstall"
Delete $INSTDIR\Lang\hr.txt
Delete $INSTDIR\Lang\hu.txt
Delete $INSTDIR\Lang\id.txt
Delete $INSTDIR\Lang\io.txt
Delete $INSTDIR\Lang\it.txt
Delete $INSTDIR\Lang\ja.txt
Delete $INSTDIR\Lang\ka.txt
@@ -403,6 +467,7 @@ Section "Uninstall"
Delete $INSTDIR\Lang\ta.txt
Delete $INSTDIR\Lang\th.txt
Delete $INSTDIR\Lang\tr.txt
Delete $INSTDIR\Lang\tt.txt
Delete $INSTDIR\Lang\uk.txt
Delete $INSTDIR\Lang\uz.txt
Delete $INSTDIR\Lang\va.txt
@@ -442,7 +507,9 @@ Section "Uninstall"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe"
!ifndef WIN64
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFMn.exe"
!endif
DeleteRegKey HKLM "Software\7-Zip"
DeleteRegKey HKCU "Software\7-Zip"

View File

@@ -1,5 +1,5 @@
Compression method IDs (4.16 beta)
----------------------------------
Compression method IDs (4.27)
-----------------------------
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.
@@ -59,9 +59,10 @@ List of defined IDs
04 - Arj
01 - Arj (1,2,3)
02 - Arj 4
05 - Lzh
07 - Reserved
05 - Z
06 - Lzh
07 - Reserved for 7z
08 - Cab
06 - Crypto

View File

@@ -1,6 +1,14 @@
Sources history of the 7-Zip
----------------------------
Version 4.27 2005-09-21
--------------------------------------
- Some GUIDs/interfaces were changed.
IStream.h:
ISequentialInStream::Read now works as old ReadPart
ISequentialOutStream::Write now works as old WritePart
Version 4.26 beta 2005-08-05
--------------------------------------
- MyAlloc(0)/BigAlloc(0) now return 0

View File

@@ -1,7 +1,7 @@
LZMA SDK 4.26
LZMA SDK 4.27
-------------
LZMA SDK 4.26 Copyright (C) 1999-2005 Igor Pavlov
LZMA SDK 4.27 Copyright (C) 1999-2005 Igor Pavlov
LZMA SDK provides developers with documentation, source code,
and sample code necessary to write software that uses LZMA compression.

View File

@@ -1,4 +1,4 @@
7-Zip 4.25 Sources
7-Zip 4.27 Sources
------------------
7-Zip is a file archiver for Windows 95/98/ME/NT/2000/2003/XP.
@@ -9,6 +9,27 @@
License Info
------------
Most of 7-Zip source code is under GNU LGPL.
Files in folders
7zip/Compress/Rar20
7zip/Compress/Rar29
7zip/Compress/Rar29/Original
are licensed under "unRAR license + GNU LGPL" license.
Source code files in all other folders of this package are under GNU LGPL.
"unRAR license + GNU LGPL" means that you must follow
GNU LGPL in all aspects while it is in agreement
with unRAR license. But you can not break unRAR license rules.
It means that unRAR license is main license in that pair.
You can find unRAR license in file unrarLicense.txt
You can find GNU LGPL license in file copying.txt
GNU LGPL information:
---------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
@@ -24,6 +45,31 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
unRAR license + GNU LGPL Notes
------------------------------
Please check main restriction from unRar license:
2. The unRAR sources may be used in any software to handle RAR
archives without limitations free of charge, but cannot be used
to re-create the RAR compression algorithm, which is proprietary.
Distribution of modified unRAR sources in separate form or as a
part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.
In brief it means:
1) You can compile and use compiled files under GNU LGPL rules, since
unRAR license almost has no restrictions for compiled files.
You can link these compiled files to LGPL programs.
2) You can fix bugs in source code and use compiled fixed version.
3) You can not use unRAR sources to re-create the RAR compression algorithm.
7zip\Compress\Rar29\Original folder contains files that are modified
versions of original unRAR source code files.
License notes
-------------
@@ -37,7 +83,7 @@ http://www.7-zip.org/support.html
Also this package contains files from LZMA SDK
you can download LZMA SDK from this page:
http://www.7-zip.org/sdk.html
read about license for LZMA SDk in file
read about addtional licenses for LZMA SDK in file
DOC/lzma.txt
@@ -58,18 +104,15 @@ Tools / Options / Directories
- Library files
Also if you want to compile Original BZip2 code you must
download BZip source to folder
7zip/Compress/BZip2Original/Original
You can find BZip2 sources from that page:
http://sources.redhat.com/bzip2/index.html
To compile 7-Zip for AMD64 and IA64 you need:
Windows Server 2003 SP1 Platform SDK from microsoft.com
Compiling under Unix/Linux
--------------------------
If sizeof(wchar_t) == 4 in your compiler,
you must use only 2 low bytes of wchar_t.
Check this site for Posix/Linux version:
http://sourceforge.net/projects/p7zip/
Notes:
@@ -94,6 +137,7 @@ DOC Documentation
---
7zFormat.txt - 7z format description
copying.txt - GNU LGPL license
unRarLicense.txt - License for unRAR part of source code
history.txt - Sources history
Methods.txt - Compression method IDs
readme.txt - Readme file

41
DOC/unRarLicense.txt Executable file
View File

@@ -0,0 +1,41 @@
****** ***** ****** unRAR - free utility for RAR archives
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
****** ******* ****** License for use and distribution of
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
** ** ** ** ** ** FREE portable version
~~~~~~~~~~~~~~~~~~~~~
The source code of unRAR utility is freeware. This means:
1. All copyrights to RAR and the utility unRAR are exclusively
owned by the author - Alexander Roshal.
2. The unRAR sources may be used in any software to handle RAR
archives without limitations free of charge, but cannot be used
to re-create the RAR compression algorithm, which is proprietary.
Distribution of modified unRAR sources in separate form or as a
part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.
3. The unRAR utility may be freely distributed. No person or company
may charge a fee for the distribution of unRAR without written
permission from the copyright holder.
4. THE RAR ARCHIVER AND THE UNRAR UTILITY ARE DISTRIBUTED "AS IS".
NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
OR MISUSING THIS SOFTWARE.
5. Installing and using the unRAR utility signifies acceptance of
these terms and conditions of the license.
6. If you don't agree with terms of the license you must remove
unRAR files from your storage devices and cease to use the
utility.
Thank you for your interest in RAR and unRAR.
Alexander L. Roshal