Commit Graph

118 Commits

Author SHA1 Message Date
Tino Reichardt
c2277a3957 Fix #101 - thanks to aeonios for pointing that out
Begin with #97
2019-12-22 15:28:33 +01:00
Tino Reichardt
a95e994767 Update zstd to version 1.4.4 2019-11-13 07:37:18 +01:00
Tino Reichardt
5e3efe410d Compiling for IA64 and WinXP does not work, cause FLZMA2 doesn't build then :/ 2019-11-03 16:28:05 +01:00
Tino Reichardt
424714a700 Update lz4 to version 1.9.2 and some version numbers 2019-11-03 11:37:39 +01:00
Tino Reichardt
621c9fc012 Disable new C++11 expression in Lzma2Encoder.h 2019-11-03 11:33:20 +01:00
Tino Reichardt
dbef332b60 Fix #80
- Vanilla 7-Zip compatibility options are marked with '[std]'
  in the Compression dialog now
2019-07-29 21:46:56 +02:00
Tino Reichardt
faf6557dda Fix #86 2019-07-29 21:29:00 +02:00
Tino Reichardt
11924be86a Update version numbers and Makefiles for zstd and flzma2 2019-07-29 21:28:03 +02:00
Tino Reichardt
2f4bcd7f4c Fix issue #88, thanks @xzn 2019-06-24 19:10:39 +02:00
Tino Reichardt
7932a50599 Merge pull request #85 from conor42/master
Pass blockSize to fast-lzma2 and limit it to 256 Mb
2019-05-04 22:45:59 +02:00
conor42
0cc8701c38 Pass blockSize to fast-lzma2 and limit it to 256 Mb 2019-05-02 12:51:03 +10:00
Tino Reichardt
38a2686c43 Update version numbers 2019-04-26 16:45:25 +02:00
Tino Reichardt
fe343d381a Take default manifest file of Igor's 7-Zip now 2019-03-29 21:01:27 +01:00
Tino Reichardt
4b0de7ff78 Disable C4127: Conditional Expression is Constant for Lzma2Encoder.cpp 2019-03-29 20:56:57 +01:00
conor42
ed9073e9fe Add error check 2019-03-29 12:13:14 +10:00
conor42
0e0e2f476d Update plugin version 2019-03-29 11:49:06 +10:00
conor42
b01ec364eb Add new formula for match buffer size 2019-03-29 00:14:51 +10:00
conor42
80ae5388ad Fix x86 warning and improve progress updates 2019-03-29 00:14:05 +10:00
conor42
4b0103cebd Update fast-lzma2 2019-03-22 20:14:34 +10:00
conor42
26cd887a90 Merge branch 'pr/1' 2019-03-18 00:21:14 +10:00
conor42
d85962e654 Update to Fast LZMA2 1.0.0 2019-03-18 00:05:50 +10:00
Tino Reichardt
5a0006bff8 Fix #76 - thanks go to @Liz-chan for pointing out ;) 2019-03-03 17:20:32 +01:00
Tino Reichardt
ccca7cd09d Update to 7-Zip Version 19.00
- Encryption strength for 7z archives was increased the size of random
  initialization vector was increased from 64-bit to 128-bit, and the
  pseudo-random number generator was improved.
- Some bugs were fixed.
2019-02-23 09:25:31 +01:00
Tino Reichardt
34323d51e9 Use RtlGenRandom() as an additional source of entropy
for CRandomGenerator::Init() and 16 bytes IV for AES.
2019-01-26 16:31:27 +01:00
Tino Reichardt
4b0a001320 Fix About Dialog 2019-01-26 09:09:48 +01:00
vinnyrom
cab7bc1a72 Fix null dereference of 'progress' when updating an archive. The callstack of the crash is:
zstd-x64.dll!NCompress::NZSTD::CDecoder::CodeSpec(ISequentialInStream * inStream=0x000000001e6a2190, ISequentialOutStream * outStream=0x000000001e6b9460, ICompressProgressInfo * progress=0x0000000000000000) Line 130 C++
  zstd-x64.dll!NCompress::NZSTD::CDecoder::Code(ISequentialInStream * inStream=0x000000001e6a2190, ISequentialOutStream * outStream=0x000000001e6b9460, const unsigned __int64 * __formal=0x000000001e8a2d00, const unsigned __int64 * outSize=0x000000001e5eb3b0, ICompressProgressInfo * progress=0x0000000000000000) Line 177 C++
  7z.dll!NCoderMixer2::CCoderMT::Code(ICompressProgressInfo * progress=0x0000000000000000) Line 903 C++
  7z.dll!NCoderMixer2::CMixerMT::Code(ISequentialInStream * const * inStreams=0x000000001e8a2d20, ISequentialOutStream * const * outStreams=0x00000000219bf910, ICompressProgressInfo * progress=0x0000000000000000, bool & dataAfterEnd_Error=false) Line 1083 C++
  7z.dll!NArchive::N7z::CDecoder::Decode(const CExternalCodecs * __externalCodecs=0x000000001e599aa0, IInStream * inStream=0x000000001e8c6300, unsigned __int64 startPos=32, const NArchive::N7z::CFolders & folders={...}, unsigned int folderIndex=0, const unsigned __int64 * unpackSize=0x0000000000000000, ISequentialOutStream * outStream=0x000000001e6b9460, ICompressProgressInfo * compressProgress=0x0000000000000000, ISequentialInStream * * inStreamMainRes=0x0000000000000000, bool & dataAfterEnd_Error=false, ICryptoGetTextPassword * getTextPassword=0x000000001e6882b0, bool & isEncrypted=true, bool & passwordIsDefined=true, UString & password={...}, bool mtMode=false, unsigned int numThreads=1, unsigned __int64 memUsage=0) Line 555 C++
  7z.dll!NArchive::N7z::CThreadDecoder::Execute() Line 1493 C++
  7z.dll!CoderThread(void * p=0x000000001f1cbe90) Line 16 C++

Other 7z threads are:

  7z.dll!Handle_WaitObject(void * h=0x0000000000000868) Line 32 C
  7z.dll!NWindows::NSynchronization::CBaseEvent::Lock() Line 47 C++
  7z.dll!CStreamBinder::Read(void * data=0x000000001e9b53ea, unsigned int size=115206, unsigned int * processedSize=0x000000001f1cb310) Line 95 C++
  7z.dll!CBinderInStream::Read(void * data=0x000000001e9b53ea, unsigned int size=115206, unsigned int * processedSize=0x000000001f1cb310) Line 22 C++
  7z.dll!COffsetOutStream::Write(const void * data=0x000000001e9b53ea, unsigned int size=115206, unsigned int * processedSize=0x000000001f1cb310) Line 19 C++
  7z.dll!CSequentialInStreamSizeCount2::Read(void * data=0x000000001e9b53ea, unsigned int size=115206, unsigned int * processedSize=0x000000001f1cb350) Line 10 C++
  zstd-x64.dll!ReadStream(ISequentialInStream * stream=0x000000001e7b4010, void * data=0x000000001e9b53ea, unsigned __int64 * processedSize=0x000000001f1cb3b8) Line 17 C++
  zstd-x64.dll!NCompress::NZSTD::CEncoder::Code(ISequentialInStream * inStream=0x000000001e7b4010, ISequentialOutStream * outStream=0x000000001e8e0dc0, const unsigned __int64 * __formal=0x0000000000000000, const unsigned __int64 * __formal=0x0000000000000000, ICompressProgressInfo * progress=0x000000001b6df8d0) Line 329 C++
  7z.dll!NCoderMixer2::CCoderMT::Code(ICompressProgressInfo * progress=0x000000001b6df8d0) Line 903 C++
  7z.dll!NCoderMixer2::CMixerMT::Code(ISequentialInStream * const * inStreams=0x000000001f1cb750, ISequentialOutStream * const * outStreams=0x000000001e599bc0, ICompressProgressInfo * progress=0x000000001b6df8d0, bool & dataAfterEnd_Error=false) Line 1083 C++
  7z.dll!NArchive::N7z::CEncoder::Encode(const CExternalCodecs * __externalCodecs=0x000000001e599aa0, ISequentialInStream * inStream=0x000000001e7b3f10, const unsigned __int64 * inSizeForReduce=0x000000001f1cb960, NArchive::N7z::CFolder & folderItem={...}, CRecordVector<unsigned __int64> & coderUnpackSizes={...}, unsigned __int64 & unpackSize=17468, ISequentialOutStream * outStream=0x000000001e8bcdd0, CRecordVector<unsigned __int64> & packSizes={...}, ICompressProgressInfo * compressProgress=0x000000001b6df8d0) Line 454 C++
  7z.dll!NArchive::N7z::Update(const CExternalCodecs * __externalCodecs=0x000000001e599aa0, IInStream * inStream=0x000000001e8c6300, const NArchive::N7z::CDbEx * db=0x000000001e5998a8, const CObjectVector<NArchive::N7z::CUpdateItem> & updateItems={...}, NArchive::N7z::COutArchive & archive={...}, NArchive::N7z::CArchiveDatabaseOut & newDatabase={...}, ISequentialOutStream * seqOutStream=0x000000001e8bcdd0, IArchiveUpdateCallback * updateCallback=0x000000001f1cc980, const NArchive::N7z::CUpdateOptions & options={...}, ICryptoGetTextPassword * getDecoderPassword=0x000000001f1cc958) Line 2178 C++
  7z.dll!NArchive::N7z::CHandler::UpdateItems(ISequentialOutStream * outStream=0x000000001e8bcdd0, unsigned int numItems=10, IArchiveUpdateCallback * updateCallback=0x000000001f1cc980) Line 658 C++

And:

  7z.dll!Handle_WaitObject(void * h=0x0000000000000880) Line 32 C
  7z.dll!NWindows::NSynchronization::CBaseEvent::Lock() Line 47 C++
  7z.dll!CStreamBinder::Read(void * data=0x0000000020650000, unsigned int size=1048576, unsigned int * processedSize=0x000000002084f6d0) Line 95 C++
  7z.dll!CBinderInStream::Read(void * data=0x0000000020650000, unsigned int size=1048576, unsigned int * processedSize=0x000000002084f6d0) Line 22 C++
  7z.dll!ReadStream(ISequentialInStream * stream=0x000000001e8e0de0, void * data=0x0000000020650000, unsigned __int64 * processedSize=0x000000002084f758) Line 17 C++
  7z.dll!CFilterCoder::Code(ISequentialInStream * inStream=0x000000001e8e0de0, ISequentialOutStream * outStream=0x000000001e55da30, const unsigned __int64 * __formal=0x0000000000000000, const unsigned __int64 * outSize=0x0000000000000000, ICompressProgressInfo * progress=0x0000000000000000) Line 83 C++
  7z.dll!NCoderMixer2::CCoderMT::Code(ICompressProgressInfo * progress=0x0000000000000000) Line 903 C++
  7z.dll!NCoderMixer2::CCoderMT::Execute() Line 867 C++
  7z.dll!CoderThread(void * p=0x000000001e5eb510) Line 16 C++
2019-01-15 16:42:11 -08:00
Tino Reichardt
ea4589d20d Fix 1/2 of issue #66 2019-01-07 21:28:26 +01:00
stonebig
254af9c609 apparently un-needed stuff
passing by I notice the flags '-bso0  -bsp0 -bse0" are not implemented in SFXcon either
2019-01-06 12:33:56 +01:00
stonebig
a1e2258ac1 apparently un-needed stuff 2019-01-03 23:52:25 +01:00
Tino Reichardt
a488536124 Update to 7-Zip Version 18.06 2018-12-30 13:30:20 +01:00
Tino Reichardt
7595ca1994 Update zstd to version 1.3.8 2018-12-28 15:34:32 +01:00
Tino Reichardt
1d1e92a9fb Fix decompression of zstd again
- zIn.size was not correctly set before first decompression loop
2018-12-05 22:28:58 +01:00
Tino Reichardt
28bc209464 Revert the update of the 7-Zip property sizes
- change the 7-Zip property size for LZ4, LZ5 and Zstandard back to 5
- the code understands 3 and 5 bytes, but we default to 5 ...
2018-12-04 21:11:23 +01:00
Tino Reichardt
bb06376057 Fix decompression of skippable zstd frames 2018-12-04 21:07:12 +01:00
Tino Reichardt
bc77601656 Make 7-Zip ZS binary compatible with 7-Zip Standard
- you can use codec extensions for 7-zip now ;)
- remove builds for: Format7zFO, Format7zUSB
- also change build scripts and version numbers
2018-11-27 15:41:49 +01:00
Tino Reichardt
f98edef556 Add zstd fast levels and update 7z property sizes
- add the "fast compression levels" of zstd via "fast" option (fast=1..64)
- change the 7-Zip property sizes of LZ4, LZ5 and Zstandard to 3
- 3 and 5 byte header are valid now (default is 3)
- update the Methods-Extern.md file, to reflect the property changes
2018-11-25 21:21:04 +01:00
Tino Reichardt
4728ce24ef Autoadjust ldm option on large windowLog values 2018-11-18 22:17:23 +01:00
Tino Reichardt
714d514451 Make zstd:long behave like in zstd cli
- adjust version information to current date
- maybe I release this as the next version
2018-11-17 11:08:59 +01:00
Tino Reichardt
a24bf9aca1 Add zstd advanced compression options 2018-11-16 22:34:41 +01:00
conor42
f531a44f1c Update readme; Add IA64 dll build 2018-11-09 20:30:35 +10:00
conor42
0cbdf835f0 Merge remote-tracking branch 'upstream/master' 2018-11-07 14:34:48 +10:00
conor42
296c91d212 Add Fast LZMA2 codec dll build; Fix 32-bit warnings 2018-11-07 14:34:04 +10:00
Tino Reichardt
eff4d316fa Merge pull request #58 from conor42/master
Add Fast LZMA2 codec
2018-11-05 17:29:02 +01:00
conor42
ab10047253 Add Fast LZMA2 codec 2018-11-05 21:22:10 +10:00
Tino Reichardt
41ddee9d44 Fix double sha512.obj in Ark.mak 2018-11-03 12:37:10 +01:00
Tino Reichardt
1a09f6fc0d Fix zstd decompression
- todo: make zstd ldm compression optional
2018-11-03 10:03:54 +01:00
Tino Reichardt
36a17a5184 Add some hash functions
- new: md2, md4, md5, sha384, sha512, xxhash-32, xxhash-64
- put Blake2sp hash stuff back to rar code
- added the hashes to GUI and Explorer Menu code
2018-11-03 00:18:33 +01:00
Tino Reichardt
add56b5aed Add MD5 hash function 2018-11-02 07:22:34 +01:00
Tino Reichardt
9947dd780b Fix naming: Blake2s -> Blake2sp 2018-11-01 22:47:25 +01:00
Tino Reichardt
1048d4e133 Minor fixes
- fix Zstandard Sfx stuff -> SetNumberOfThreads()
- fix formatting of XXH32Reg.cpp and XXH64Reg.cpp
- add Blake2s hash to explorer context menu
2018-11-01 18:18:34 +01:00