This commit is contained in:
Igor Pavlov
2014-11-23 00:00:00 +00:00
committed by Kornel Lesiński
parent 83f8ddcc5b
commit f08f4dcc3c
1158 changed files with 76451 additions and 35082 deletions
Executable → Regular
+4 -9
View File
@@ -1,4 +1,4 @@
7z ANSI-C Decoder 4.62
7z ANSI-C Decoder 9.24
----------------------
7z ANSI-C provides 7z/LZMA decoding.
@@ -112,14 +112,9 @@ SzArEx_Open function allocates and frees temporary structures by "allocTemp" fun
Listing code:
~~~~~~~~~~~~~
{
UInt32 i;
for (i = 0; i < db.db.NumFiles; i++)
{
CFileItem *f = db.db.Files + i;
printf("%10d %s\n", (int)f->Size, f->Name);
}
}
Use SzArEx_GetFileNameUtf16 function. Look example code in C\Util\7z\7zMain.c file.
Extracting code:
~~~~~~~~~~~~~~~~
Executable → Regular
View File
Executable → Regular
+13 -4
View File
@@ -21,15 +21,17 @@ general\7z.htm
cmdline\index.htm
cmdline\syntax.htm
cmdline\exit_codes.htm
cmdline\commands\update.htm
cmdline\commands\add.htm
cmdline\commands\bench.htm
cmdline\commands\delete.htm
cmdline\commands\extract.htm
cmdline\commands\extract_full.htm
cmdline\commands\update.htm
cmdline\commands\hash.htm
cmdline\commands\index.htm
cmdline\commands\list.htm
cmdline\commands\rename.htm
cmdline\commands\test.htm
cmdline\commands\add.htm
cmdline\commands\bench.htm
cmdline\switches\index.htm
cmdline\switches\yes.htm
cmdline\switches\include.htm
@@ -37,7 +39,6 @@ cmdline\switches\method.htm
cmdline\switches\ar_include.htm
cmdline\switches\ar_exclude.htm
cmdline\switches\ar_no.htm
cmdline\switches\scc.htm
cmdline\switches\charset.htm
cmdline\switches\email.htm
cmdline\switches\list_tech.htm
@@ -46,11 +47,19 @@ cmdline\switches\output_dir.htm
cmdline\switches\overwrite.htm
cmdline\switches\password.htm
cmdline\switches\recurse.htm
cmdline\switches\sa.htm
cmdline\switches\scc.htm
cmdline\switches\scrc.htm
cmdline\switches\sdel.htm
cmdline\switches\sfx.htm
cmdline\switches\shared.htm
cmdline\switches\sni.htm
cmdline\switches\sns.htm
cmdline\switches\spf.htm
cmdline\switches\ssc.htm
cmdline\switches\stdin.htm
cmdline\switches\stdout.htm
cmdline\switches\stl.htm
cmdline\switches\stop_switch.htm
cmdline\switches\type.htm
cmdline\switches\update.htm
Executable → Regular
+2 -2
View File
@@ -10,8 +10,8 @@ AppName = "7-Zip"
InstallDir = %CE1%\%AppName%
[Strings]
AppVer = "9.22"
AppDate = "2011-04-18"
AppVer = "9.23"
AppDate = "2011-06-17"
[CEDevice]
; ProcessorType = 2577 ; ARM
Executable → Regular
+109 -104
View File
@@ -2,8 +2,8 @@
;Defines
!define VERSION_MAJOR 9
!define VERSION_MINOR 22
!define VERSION_POSTFIX_FULL "beta"
!define VERSION_MINOR 34
!define VERSION_POSTFIX_FULL " alpha"
!ifdef WIN64
!ifdef IA64
!define VERSION_SYS_POSTFIX_FULL " for Windows IA-64"
@@ -108,6 +108,7 @@ Section
!endif
# delete old unwanted files
Delete $INSTDIR\7zFMn.exe
Delete $INSTDIR\7zgn.exe
Delete $INSTDIR\7zn.exe
@@ -116,6 +117,8 @@ Section
Delete $INSTDIR\7-zipn.dll
Delete $INSTDIR\7zipDoc.txt
Delete $INSTDIR\file_id.diz
Delete $INSTDIR\7zip_pad.xml
Delete $INSTDIR\copying.txt
Delete $INSTDIR\Codecs\7zAES.dll
Delete $INSTDIR\Codecs\AES.dll
@@ -154,33 +157,29 @@ Section
Delete $INSTDIR\Lang\no.txt
# install files
SetOutPath "$INSTDIR"
SetOutPath $INSTDIR
File descript.ion
File History.txt
File License.txt
File readme.txt
# File 7-zip.dll
# File 7-zipn.dll
File 7zFM.exe
File 7z.exe
!ifdef WIN64
File 7za.exe
!endif
File 7zg.exe
File 7z.sfx
File 7zCon.sfx
File 7-zip.chm
# File 7-zip.dll
File 7z.dll
File 7zFM.exe
File 7zG.exe
File 7z.exe
File 7z.sfx
File 7zCon.sfx
SetOutPath $INSTDIR\Lang
File en.ttt
File af.txt
File an.txt
File ar.txt
File ast.txt
File az.txt
@@ -206,6 +205,7 @@ Section
File fr.txt
File fur.txt
File fy.txt
File ga.txt
File gl.txt
File gu.txt
File he.txt
@@ -219,6 +219,7 @@ Section
File it.txt
File ja.txt
File ka.txt
File kaa.txt
File kk.txt
File ko.txt
File ku.txt
@@ -229,6 +230,8 @@ Section
File lv.txt
File mk.txt
File mn.txt
File mng.txt
File mng2.txt
File mr.txt
File ms.txt
File ne.txt
@@ -268,7 +271,7 @@ Section
Delete "$SMPROGRAMS\7-Zip\${FM_LINK}"
Delete "$SMPROGRAMS\7-Zip\${HELP_LINK}"
RMDir "$SMPROGRAMS\7-Zip"
RMDir $SMPROGRAMS\7-Zip
# set "all users" mode
@@ -279,54 +282,57 @@ Section
ClearErrors
# create start menu icons
SetOutPath $INSTDIR # working directory
CreateDirectory $SMPROGRAMS\7-Zip
CreateShortcut "$SMPROGRAMS\7-Zip\${FM_LINK}" $INSTDIR\7zFM.exe
CreateShortcut "$SMPROGRAMS\7-Zip\${HELP_LINK}" $INSTDIR\7-zip.chm
SetOutPath $INSTDIR
CreateDirectory $SMPROGRAMS\7-Zip
CreateShortCut "$SMPROGRAMS\7-Zip\${FM_LINK}" $INSTDIR\7zFM.exe
CreateShortCut "$SMPROGRAMS\7-Zip\${HELP_LINK}" $INSTDIR\7-zip.chm
IfErrors 0 noScErrors
SetShellVarContext current
CreateDirectory $SMPROGRAMS\7-Zip
CreateShortcut "$SMPROGRAMS\7-Zip\${FM_LINK}" $INSTDIR\7zFM.exe
CreateShortcut "$SMPROGRAMS\7-Zip\${HELP_LINK}" $INSTDIR\7-zip.chm
CreateShortCut "$SMPROGRAMS\7-Zip\${FM_LINK}" $INSTDIR\7zFM.exe
CreateShortCut "$SMPROGRAMS\7-Zip\${HELP_LINK}" $INSTDIR\7-zip.chm
noScErrors:
noScErrors:
# store install folder
WriteRegStr HKLM "Software\7-Zip" "Path32" $INSTDIR
WriteRegStr HKLM "Software\7-Zip" "Path" $INSTDIR
WriteRegStr HKCU "Software\7-Zip" "Path32" $INSTDIR
WriteRegStr HKCU "Software\7-Zip" "Path" $INSTDIR
WriteRegStr HKLM Software\7-Zip Path32 $INSTDIR
WriteRegStr HKLM Software\7-Zip Path $INSTDIR
WriteRegStr HKCU Software\7-Zip Path32 $INSTDIR
WriteRegStr HKCU Software\7-Zip Path $INSTDIR
# write reg entries
WriteRegStr HKCR "CLSID\${CLSID_CONTEXT_MENU}" "" "7-Zip Shell Extension"
WriteRegStr HKCR "CLSID\${CLSID_CONTEXT_MENU}\InprocServer32" "" "$INSTDIR\7-zip.dll"
WriteRegStr HKCR "CLSID\${CLSID_CONTEXT_MENU}\InprocServer32" "ThreadingModel" "Apartment"
WriteRegStr HKCR "CLSID\${CLSID_CONTEXT_MENU}" "" "7-Zip Shell Extension"
WriteRegStr HKCR "CLSID\${CLSID_CONTEXT_MENU}\InprocServer32" "" $INSTDIR\7-zip.dll
WriteRegStr HKCR "CLSID\${CLSID_CONTEXT_MENU}\InprocServer32" ThreadingModel Apartment
DeleteRegValue HKCR "CLSID\${CLSID_CONTEXT_MENU}\InprocServer32" "InprocServer32"
WriteRegStr HKCR "*\shellex\ContextMenuHandlers\7-Zip" "" "${CLSID_CONTEXT_MENU}"
WriteRegStr HKCR "Directory\shellex\ContextMenuHandlers\7-Zip" "" "${CLSID_CONTEXT_MENU}"
; WriteRegStr HKCR "Folder\shellex\ContextMenuHandlers\7-Zip" "" "${CLSID_CONTEXT_MENU}"
; WriteRegStr HKCR "Folder\shellex\ContextMenuHandlers\7-Zip" "" "${CLSID_CONTEXT_MENU}"
WriteRegStr HKCR "Directory\shellex\DragDropHandlers\7-Zip" "" "${CLSID_CONTEXT_MENU}"
WriteRegStr HKCR "Drive\shellex\DragDropHandlers\7-Zip" "" "${CLSID_CONTEXT_MENU}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" "${CLSID_CONTEXT_MENU}" "7-Zip Shell Extension"
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"
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
# create uninstaller
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip" "DisplayName" "${NAME_FULL}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip" "NoRepair" 1
WriteUninstaller $INSTDIR\Uninstall.exe
DeleteRegValue HKCR "CLSID\${CLSID_CONTEXT_MENU}\InprocServer32" "InprocServer32"
WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip DisplayName "${NAME_FULL}"
WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip UninstallString '"$INSTDIR\Uninstall.exe"'
WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip NoModify 1
WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip NoRepair 1
WriteUninstaller $INSTDIR\Uninstall.exe
!ifdef WIN64
ExecWait 'regsvr32 /s "$INSTDIR\7-zip.dll"'
@@ -346,10 +352,13 @@ Function .onInit
FunctionEnd
*/
;--------------------------------
;Uninstaller Section
Section "Uninstall"
Section Uninstall
ExecWait 'regsvr32 /u /s "$INSTDIR\7-zip.dll"'
@@ -358,28 +367,19 @@ Section "Uninstall"
Delete $INSTDIR\descript.ion
Delete $INSTDIR\History.txt
Delete $INSTDIR\License.txt
Delete $INSTDIR\copying.txt
Delete $INSTDIR\readme.txt
Delete $INSTDIR\7zip_pad.xml
Delete /REBOOTOK $INSTDIR\7-zip.dll
Delete $INSTDIR\7zFM.exe
Delete $INSTDIR\7z.exe
!ifdef WIN64
Delete $INSTDIR\7za.exe
!endif
Delete $INSTDIR\7zg.exe
Delete $INSTDIR\7z.sfx
Delete $INSTDIR\7zCon.sfx
Delete $INSTDIR\7zC.sfx
Delete $INSTDIR\7-zip.chm
Delete $INSTDIR\7z.dll
Delete $INSTDIR\7zFM.exe
Delete $INSTDIR\7zG.exe
Delete $INSTDIR\7z.exe
Delete $INSTDIR\7z.sfx
Delete $INSTDIR\7zCon.sfx
Delete $INSTDIR\Lang\en.ttt
Delete $INSTDIR\Lang\af.txt
Delete $INSTDIR\Lang\an.txt
Delete $INSTDIR\Lang\ar.txt
Delete $INSTDIR\Lang\ast.txt
Delete $INSTDIR\Lang\az.txt
@@ -405,6 +405,7 @@ Section "Uninstall"
Delete $INSTDIR\Lang\fr.txt
Delete $INSTDIR\Lang\fur.txt
Delete $INSTDIR\Lang\fy.txt
Delete $INSTDIR\Lang\ga.txt
Delete $INSTDIR\Lang\gl.txt
Delete $INSTDIR\Lang\gu.txt
Delete $INSTDIR\Lang\he.txt
@@ -418,6 +419,7 @@ Section "Uninstall"
Delete $INSTDIR\Lang\it.txt
Delete $INSTDIR\Lang\ja.txt
Delete $INSTDIR\Lang\ka.txt
Delete $INSTDIR\Lang\kaa.txt
Delete $INSTDIR\Lang\kk.txt
Delete $INSTDIR\Lang\ko.txt
Delete $INSTDIR\Lang\ku.txt
@@ -428,6 +430,8 @@ Section "Uninstall"
Delete $INSTDIR\Lang\lv.txt
Delete $INSTDIR\Lang\mk.txt
Delete $INSTDIR\Lang\mn.txt
Delete $INSTDIR\Lang\mng.txt
Delete $INSTDIR\Lang\mng2.txt
Delete $INSTDIR\Lang\mr.txt
Delete $INSTDIR\Lang\ms.txt
Delete $INSTDIR\Lang\ne.txt
@@ -465,6 +469,7 @@ Section "Uninstall"
RMDir $INSTDIR\Lang
Delete /REBOOTOK $INSTDIR\7-zip.dll
Delete $INSTDIR\Uninstall.exe
RMDir $INSTDIR
@@ -477,7 +482,7 @@ Section "Uninstall"
Delete "$SMPROGRAMS\7-Zip\${FM_LINK}"
Delete "$SMPROGRAMS\7-Zip\${HELP_LINK}"
RMDir "$SMPROGRAMS\7-Zip"
RMDir $SMPROGRAMS\7-Zip
# IfErrors 0 noScErrors
@@ -485,66 +490,66 @@ Section "Uninstall"
Delete "$SMPROGRAMS\7-Zip\${FM_LINK}"
Delete "$SMPROGRAMS\7-Zip\${HELP_LINK}"
RMDir "$SMPROGRAMS\7-Zip"
RMDir $SMPROGRAMS\7-Zip
# noScErrors:
# delete registry entries
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip"
DeleteRegKey HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe"
DeleteRegKey HKLM "Software\7-Zip"
DeleteRegKey HKCU "Software\7-Zip"
DeleteRegKey HKLM Software\7-Zip
DeleteRegKey HKCU Software\7-Zip
DeleteRegKey HKCR "CLSID\${CLSID_CONTEXT_MENU}"
DeleteRegKey HKCR CLSID\${CLSID_CONTEXT_MENU}
DeleteRegKey HKCR "*\shellex\ContextMenuHandlers\7-Zip"
DeleteRegKey HKCR "Directory\shellex\ContextMenuHandlers\7-Zip"
DeleteRegKey HKCR "Folder\shellex\ContextMenuHandlers\7-Zip"
DeleteRegKey HKCR *\shellex\ContextMenuHandlers\7-Zip
DeleteRegKey HKCR Directory\shellex\ContextMenuHandlers\7-Zip
DeleteRegKey HKCR Folder\shellex\ContextMenuHandlers\7-Zip
DeleteRegKey HKCR "Drive\shellex\DragDropHandlers\7-Zip"
DeleteRegKey HKCR "Directory\shellex\DragDropHandlers\7-Zip"
DeleteRegKey HKCR "Folder\shellex\DragDropHandlers\7-Zip"
DeleteRegKey HKCR Drive\shellex\DragDropHandlers\7-Zip
DeleteRegKey HKCR Directory\shellex\DragDropHandlers\7-Zip
DeleteRegKey HKCR Folder\shellex\DragDropHandlers\7-Zip
DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" "${CLSID_CONTEXT_MENU}"
DeleteRegKey HKCR "7-Zip.001"
DeleteRegKey HKCR "7-Zip.7z"
DeleteRegKey HKCR "7-Zip.arj"
DeleteRegKey HKCR "7-Zip.bz2"
DeleteRegKey HKCR "7-Zip.bzip2"
DeleteRegKey HKCR "7-Zip.tbz"
DeleteRegKey HKCR "7-Zip.tbz2"
DeleteRegKey HKCR "7-Zip.cab"
DeleteRegKey HKCR "7-Zip.cpio"
DeleteRegKey HKCR "7-Zip.deb"
DeleteRegKey HKCR "7-Zip.dmg"
DeleteRegKey HKCR "7-Zip.fat"
DeleteRegKey HKCR "7-Zip.gz"
DeleteRegKey HKCR "7-Zip.gzip"
DeleteRegKey HKCR "7-Zip.hfs"
DeleteRegKey HKCR "7-Zip.iso"
DeleteRegKey HKCR "7-Zip.lha"
DeleteRegKey HKCR "7-Zip.lzh"
DeleteRegKey HKCR "7-Zip.lzma"
DeleteRegKey HKCR "7-Zip.ntfs"
DeleteRegKey HKCR "7-Zip.rar"
DeleteRegKey HKCR "7-Zip.rpm"
DeleteRegKey HKCR "7-Zip.split"
DeleteRegKey HKCR "7-Zip.squashfs"
DeleteRegKey HKCR "7-Zip.swm"
DeleteRegKey HKCR "7-Zip.tar"
DeleteRegKey HKCR "7-Zip.taz"
DeleteRegKey HKCR "7-Zip.tgz"
DeleteRegKey HKCR "7-Zip.tpz"
DeleteRegKey HKCR "7-Zip.txz"
DeleteRegKey HKCR "7-Zip.vhd"
DeleteRegKey HKCR "7-Zip.wim"
DeleteRegKey HKCR "7-Zip.xar"
DeleteRegKey HKCR "7-Zip.xz"
DeleteRegKey HKCR "7-Zip.z"
DeleteRegKey HKCR "7-Zip.zip"
DeleteRegKey HKCR 7-Zip.001
DeleteRegKey HKCR 7-Zip.7z
DeleteRegKey HKCR 7-Zip.arj
DeleteRegKey HKCR 7-Zip.bz2
DeleteRegKey HKCR 7-Zip.bzip2
DeleteRegKey HKCR 7-Zip.tbz
DeleteRegKey HKCR 7-Zip.tbz2
DeleteRegKey HKCR 7-Zip.cab
DeleteRegKey HKCR 7-Zip.cpio
DeleteRegKey HKCR 7-Zip.deb
DeleteRegKey HKCR 7-Zip.dmg
DeleteRegKey HKCR 7-Zip.fat
DeleteRegKey HKCR 7-Zip.gz
DeleteRegKey HKCR 7-Zip.gzip
DeleteRegKey HKCR 7-Zip.hfs
DeleteRegKey HKCR 7-Zip.iso
DeleteRegKey HKCR 7-Zip.lha
DeleteRegKey HKCR 7-Zip.lzh
DeleteRegKey HKCR 7-Zip.lzma
DeleteRegKey HKCR 7-Zip.ntfs
DeleteRegKey HKCR 7-Zip.rar
DeleteRegKey HKCR 7-Zip.rpm
DeleteRegKey HKCR 7-Zip.split
DeleteRegKey HKCR 7-Zip.squashfs
DeleteRegKey HKCR 7-Zip.swm
DeleteRegKey HKCR 7-Zip.tar
DeleteRegKey HKCR 7-Zip.taz
DeleteRegKey HKCR 7-Zip.tgz
DeleteRegKey HKCR 7-Zip.tpz
DeleteRegKey HKCR 7-Zip.txz
DeleteRegKey HKCR 7-Zip.vhd
DeleteRegKey HKCR 7-Zip.wim
DeleteRegKey HKCR 7-Zip.xar
DeleteRegKey HKCR 7-Zip.xz
DeleteRegKey HKCR 7-Zip.z
DeleteRegKey HKCR 7-Zip.zip
SectionEnd
Executable → Regular
+10 -5
View File
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<?define VerMajor = "9" ?>
<?define VerMinor = "22" ?>
<?define VerMinor = "34" ?>
<?define VerBuild = "00" ?>
<?define MmVer = "$(var.VerMajor).$(var.VerMinor)" ?>
<?define MmHex = "0$(var.VerMajor)$(var.VerMinor)" ?>
@@ -206,10 +206,6 @@
Value="Apartment" />
</Component>
<Component Id="CmdLine" Guid="$(var.CompCmdLine)" DiskId="1" Win64="$(var.Is64)">
<File Id="_7z.exe" Name="7z.exe" />
</Component>
<Component Id="Gui" Guid="$(var.CompGui)" DiskId="1" Win64="$(var.Is64)">
<File Id="_7zG.exe" Name="7zG.exe" />
</Component>
@@ -218,6 +214,10 @@
<File Id="_7z.dll" Name="7z.dll" />
</Component>
<Component Id="CmdLine" Guid="$(var.CompCmdLine)" DiskId="1" Win64="$(var.Is64)">
<File Id="_7z.exe" Name="7z.exe" />
</Component>
<Component Id="GuiSfx" Guid="$(var.CompGuiSfx)" DiskId="1" Win64="$(var.Is64)">
<File Id="_7z.sfx" Name="7z.sfx" />
</Component>
@@ -244,6 +244,7 @@
<Component Id="Lang" Guid="$(var.CompLang)" DiskId="1" Win64="$(var.Is64)">
<File Id="en.ttt" Name="en.ttt" />
<File Id="af.txt" Name="af.txt" />
<File Id="an.txt" Name="an.txt" />
<File Id="ar.txt" Name="ar.txt" />
<File Id="ast.txt" Name="ast.txt" />
<File Id="az.txt" Name="az.txt" />
@@ -269,6 +270,7 @@
<File Id="fr.txt" Name="fr.txt" />
<File Id="fur.txt" Name="fur.txt" />
<File Id="fy.txt" Name="fy.txt" />
<File Id="ga.txt" Name="ga.txt" />
<File Id="gl.txt" Name="gl.txt" />
<File Id="gu.txt" Name="gu.txt" />
<File Id="he.txt" Name="he.txt" />
@@ -282,6 +284,7 @@
<File Id="it.txt" Name="it.txt" />
<File Id="ja.txt" Name="ja.txt" />
<File Id="ka.txt" Name="ka.txt" />
<File Id="kaa.txt" Name="kaa.txt" />
<File Id="kk.txt" Name="kk.txt" />
<File Id="ko.txt" Name="ko.txt" />
<File Id="ku.txt" Name="ku.txt" />
@@ -292,6 +295,8 @@
<File Id="lv.txt" Name="lv.txt" />
<File Id="mk.txt" Name="mk.txt" />
<File Id="mn.txt" Name="mn.txt" />
<File Id="mng.txt" Name="mng.txt" />
<File Id="mng2.txt" Name="mng2.txt" />
<File Id="mr.txt" Name="mr.txt" />
<File Id="ms.txt" Name="ms.txt" />
<File Id="ne.txt" Name="ne.txt" />
Executable → Regular
View File
Executable → Regular
+13 -33
View File
@@ -1,4 +1,4 @@
7-Zip method IDs (9.18)
7-Zip method IDs (9.24)
-----------------------
Each compression or crypto method in 7z has unique binary value (ID).
@@ -103,24 +103,22 @@ List of defined IDs
06.. - Crypto
00 -
01 - AES
0x - AES-128
4x - AES-192
8x - AES-256
Cx - AES
x0 - ECB
x1 - CBC
x2 - CFB
x3 - OFB
F0 - Ciphers without hashing algo
07 - Reserved
0F - Reserved
01 - AES
0x - AES-128
4x - AES-192
8x - AES-256
Cx - AES
F0 - Misc Ciphers (Real Ciphers without hashing algo)
x0 - ECB
x1 - CBC
x2 - CFB
x3 - OFB
x4 - CTR
F1 - Misc Ciphers (Combine)
F1 - Combine Ciphers
01 - Zip
01 - Main Zip crypto algo
03 - RAR
@@ -129,24 +127,6 @@ List of defined IDs
07 - 7z
01 - AES-256 + SHA-256
07.. - Hash (subject to change)
00 -
01 - CRC
02 - SHA-1
03 - SHA-256
04 - SHA-384
05 - SHA-512
F0 - Misc Hash
F1 - Misc
03 - RAR
03 - Rar29 Password Hashing (modified SHA1)
07 - 7z
01 - SHA-256 Password Hashing
---
End of document
Executable → Regular
View File
Executable → Regular
+12
View File
@@ -1,6 +1,18 @@
Sources history of the 7-Zip
----------------------------
9.31 2012-10-31
-------------------------
- InBuffer.h : CInBuffer uses ISequentialInStream *_stream; instead of CMyComPtr<ISequentialInStream>
OutBuffer.h: COutBuffer uses ISequentialOutStream *_stream; instead of CMyComPtr<ISequentialOutStream>
9.26 2011-04-11
-------------------------
- The BUG was fixed: multi-threaded ZIP stored file size that was at scan stage,
So if the file was changed after scan, the Unpack Size field was incorrect
9.21 2011-04-11
-------------------------
- New class FString for file names at file systems.
Executable → Regular
+14 -6
View File
@@ -1,4 +1,4 @@
LZMA SDK 9.22
LZMA SDK 9.31
-------------
LZMA SDK provides the documentation, samples, header files, libraries,
@@ -451,8 +451,16 @@ For full code example, look at C/LzmaUtil/LzmaUtil.c code.
How To compress data
--------------------
Compile files: LzmaEnc.h + LzmaEnc.c + Types.h +
LzFind.c + LzFind.h + LzFindMt.c + LzFindMt.h + LzHash.h
Compile files:
Types.h
Threads.h
LzmaEnc.h
LzmaEnc.c
LzFind.h
LzFind.c
LzFindMt.h
LzFindMt.c
LzHash.h
Memory Requirements:
- (dictSize * 11.5 + 6 MB) + state_size
@@ -472,7 +480,7 @@ Single-call Compression with callbacks
Check C/LzmaUtil/LzmaUtil.c as example,
When to use: file->file decompressing
When to use: file->file compressing
1) you must implement callback structures for interfaces:
ISeqInStream
@@ -543,8 +551,8 @@ Single-call RAM->RAM Compression
Single-call RAM->RAM Compression is similar to Compression with callbacks,
but you provide pointers to buffers instead of pointers to stream callbacks:
HRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
Return code:
Executable → Regular
+2 -2
View File
@@ -1,9 +1,9 @@
7-Zip 9.22 Sources
7-Zip 9.32 Sources
------------------
7-Zip is a file archiver for Windows.
7-Zip Copyright (C) 1999-2010 Igor Pavlov.
7-Zip Copyright (C) 1999-2013 Igor Pavlov.
License Info
Executable → Regular
View File