mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
9.36
This commit is contained in:
committed by
Kornel Lesiński
parent
0dc16c691d
commit
7e021179cd
@@ -1,9 +1,9 @@
|
|||||||
#define MY_VER_MAJOR 9
|
#define MY_VER_MAJOR 9
|
||||||
#define MY_VER_MINOR 35
|
#define MY_VER_MINOR 36
|
||||||
#define MY_VER_BUILD 00
|
#define MY_VER_BUILD 00
|
||||||
#define MY_VERSION "9.35 beta"
|
#define MY_VERSION "9.36 beta"
|
||||||
// #define MY_7ZIP_VERSION "9.35"
|
// #define MY_7ZIP_VERSION "9.36"
|
||||||
#define MY_DATE "2014-12-07"
|
#define MY_DATE "2014-12-26"
|
||||||
#undef MY_COPYRIGHT
|
#undef MY_COPYRIGHT
|
||||||
#undef MY_VERSION_COPYRIGHT_DATE
|
#undef MY_VERSION_COPYRIGHT_DATE
|
||||||
#define MY_COPYRIGHT ": Igor Pavlov : Public domain"
|
#define MY_COPYRIGHT ": Igor Pavlov : Public domain"
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ STDMETHODIMP CSequentialInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *p
|
|||||||
UInt32 realProcessed = 0;
|
UInt32 realProcessed = 0;
|
||||||
HRESULT result = S_OK;
|
HRESULT result = S_OK;
|
||||||
if (_stream)
|
if (_stream)
|
||||||
_stream->Read(data, size, &realProcessed);
|
result = _stream->Read(data, size, &realProcessed);
|
||||||
_size += realProcessed;
|
_size += realProcessed;
|
||||||
if (size > 0 && realProcessed == 0)
|
if (size != 0 && realProcessed == 0)
|
||||||
_wasFinished = true;
|
_wasFinished = true;
|
||||||
_crc = CrcUpdate(_crc, data, realProcessed);
|
_crc = CrcUpdate(_crc, data, realProcessed);
|
||||||
if (processedSize)
|
if (processedSize)
|
||||||
@@ -27,7 +27,7 @@ STDMETHODIMP CInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *processedSi
|
|||||||
result = _stream->Read(data, size, &realProcessed);
|
result = _stream->Read(data, size, &realProcessed);
|
||||||
_size += realProcessed;
|
_size += realProcessed;
|
||||||
/*
|
/*
|
||||||
if (size > 0 && realProcessed == 0)
|
if (size != 0 && realProcessed == 0)
|
||||||
_wasFinished = true;
|
_wasFinished = true;
|
||||||
*/
|
*/
|
||||||
_crc = CrcUpdate(_crc, data, realProcessed);
|
_crc = CrcUpdate(_crc, data, realProcessed);
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ HRESULT CHandler::Open2(IInStream *stream, IArchiveOpenCallback *callback)
|
|||||||
break;
|
break;
|
||||||
if (items.Size() >= kNumChunksMax)
|
if (items.Size() >= kNumChunksMax)
|
||||||
return S_FALSE;
|
return S_FALSE;
|
||||||
Byte firstByte = buf[kTagHeaderSize];
|
Byte firstByte = item.Data[kTagHeaderSize];
|
||||||
Byte subType, props;
|
Byte subType, props;
|
||||||
if (item.Type == kType_Audio)
|
if (item.Type == kType_Audio)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -964,22 +964,21 @@ STDMETHODIMP CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
|
|||||||
case kpidUnpackVer: prop = item.UnPackVersion; break;
|
case kpidUnpackVer: prop = item.UnPackVersion; break;
|
||||||
case kpidMethod:
|
case kpidMethod:
|
||||||
{
|
{
|
||||||
char temp[16];
|
char s[16];
|
||||||
char *s = temp;
|
Byte m = item.Method;
|
||||||
if (item.Method >= (Byte)'0' && item.Method <= (Byte)'5')
|
if (m < (Byte)'0' || m > (Byte)'5')
|
||||||
|
ConvertUInt32ToString(m, s);
|
||||||
|
else
|
||||||
{
|
{
|
||||||
*s++ = 'm';
|
s[0] = 'm';
|
||||||
*s++ = (char)item.Method;
|
s[1] = (char)m;
|
||||||
|
s[2] = 0;
|
||||||
if (!item.IsDir())
|
if (!item.IsDir())
|
||||||
{
|
{
|
||||||
*s++ = ':';
|
s[2] = ':';
|
||||||
ConvertUInt32ToString(16 + item.GetDictSize(), s);
|
ConvertUInt32ToString(16 + item.GetDictSize(), &s[3]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
ConvertUInt32ToString(item.Method, s);
|
|
||||||
s += MyStringLen(s);
|
|
||||||
*s = 0;
|
|
||||||
prop = s;
|
prop = s;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1216,10 +1216,10 @@ HRESULT UpdateArchive(
|
|||||||
createTempFile = true;
|
createTempFile = true;
|
||||||
ap.Temp = true;
|
ap.Temp = true;
|
||||||
if (!options.WorkingDir.IsEmpty())
|
if (!options.WorkingDir.IsEmpty())
|
||||||
{
|
|
||||||
ap.TempPrefix = options.WorkingDir;
|
ap.TempPrefix = options.WorkingDir;
|
||||||
NormalizeDirPathPrefix(ap.TempPrefix);
|
else
|
||||||
}
|
ap.TempPrefix = us2fs(ap.Prefix);
|
||||||
|
NormalizeDirPathPrefix(ap.TempPrefix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
55
DOC/7zip.inf
Normal file
55
DOC/7zip.inf
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
[CODE]
|
||||||
|
|
||||||
|
[Version]
|
||||||
|
Signature = "$Windows NT$"
|
||||||
|
Provider = "7-zip.org"
|
||||||
|
CESignature = "$Windows CE$"
|
||||||
|
|
||||||
|
[CEStrings]
|
||||||
|
AppName = "7-Zip"
|
||||||
|
InstallDir = %CE1%\%AppName%
|
||||||
|
|
||||||
|
[Strings]
|
||||||
|
AppVer = "9.36"
|
||||||
|
AppDate = "2014-12-26"
|
||||||
|
|
||||||
|
[CEDevice]
|
||||||
|
; ProcessorType = 2577 ; ARM
|
||||||
|
VersionMin = 3.0
|
||||||
|
BuildMin = 0.0
|
||||||
|
VersionMax = 1000.0
|
||||||
|
BuildMax = 0xE0000000
|
||||||
|
|
||||||
|
[DefaultInstall]
|
||||||
|
CopyFiles = CopyFilesSection,CopyFilesSection.Lang
|
||||||
|
AddReg = RegSettings
|
||||||
|
CEShortcuts = Shortcuts
|
||||||
|
|
||||||
|
[SourceDisksNames]
|
||||||
|
1 = ,"Common files",,"."
|
||||||
|
2 = ,"Lang files",,"Lang"
|
||||||
|
|
||||||
|
[SourceDisksFiles]
|
||||||
|
7zFM.exe = 1
|
||||||
|
7z.sfx = 1
|
||||||
|
7zS2.sfx = 1
|
||||||
|
ru.txt = 2
|
||||||
|
|
||||||
|
[DestinationDirs]
|
||||||
|
DefaultDestDir = ,%InstallDir%
|
||||||
|
CopyFilesSection = ,%InstallDir%
|
||||||
|
CopyFilesSection.Lang = ,"%InstallDir%\Lang"
|
||||||
|
Shortcuts = ,%CE11%
|
||||||
|
|
||||||
|
[CopyFilesSection]
|
||||||
|
7zFM.exe
|
||||||
|
7z.sfx
|
||||||
|
7zS2.sfx
|
||||||
|
|
||||||
|
[CopyFilesSection.Lang]
|
||||||
|
ru.txt
|
||||||
|
|
||||||
|
[RegSettings]
|
||||||
|
|
||||||
|
[Shortcuts]
|
||||||
|
7-Zip,0,7zFM.exe
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
;Defines
|
;Defines
|
||||||
|
|
||||||
!define VERSION_MAJOR 9
|
!define VERSION_MAJOR 9
|
||||||
!define VERSION_MINOR 35
|
!define VERSION_MINOR 36
|
||||||
!define VERSION_POSTFIX_FULL " beta"
|
!define VERSION_POSTFIX_FULL " beta"
|
||||||
!ifdef WIN64
|
!ifdef WIN64
|
||||||
!ifdef IA64
|
!ifdef IA64
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<?define VerMajor = "9" ?>
|
<?define VerMajor = "9" ?>
|
||||||
<?define VerMinor = "35" ?>
|
<?define VerMinor = "36" ?>
|
||||||
<?define VerBuild = "00" ?>
|
<?define VerBuild = "00" ?>
|
||||||
<?define MmVer = "$(var.VerMajor).$(var.VerMinor)" ?>
|
<?define MmVer = "$(var.VerMajor).$(var.VerMinor)" ?>
|
||||||
<?define MmHex = "0$(var.VerMajor)$(var.VerMinor)" ?>
|
<?define MmHex = "0$(var.VerMajor)$(var.VerMinor)" ?>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
7-Zip 9.35 Sources
|
7-Zip 9.36 Sources
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
7-Zip is a file archiver for Windows.
|
7-Zip is a file archiver for Windows.
|
||||||
|
|||||||
Reference in New Issue
Block a user