Commit Graph

50 Commits

Author SHA1 Message Date
sebres
8a5e1c82db make compression of zstd archive type more similar to Zstandard CLI (store dictID and checksum by default in zstd type, no effect for 7z type) 2023-09-14 18:23:11 +02:00
sebres
5697b3dece zstd compression - set source size as hint if it is known e. g. by file compression (slightly better performance and/or compression ratio);
although the feature still calling as "experimental", but zstd uses this in its own client since v.1.4 IIRC and the only known drawback would be significant regress of compression ration if guess considerably underestimates, but it does no matter in case of known file size.
2023-09-14 18:23:10 +02:00
sebres
09a6777b96 amend to #351: fixes register of zip archive (after adding of brotli codec, zip type gets missing because exceeded kNumArcsMax in registering structure g_Arcs) 2023-09-11 15:40:47 +02:00
sebres
6411fade3c translate threads to decoder (previously ignored): important for -mmt>=2 to use brotli-mt (the streams are incompatible) 2023-09-07 20:29:36 +02:00
sebres
eeae03eaa1 Add options to brotli and implement clean brotli .br support
- allow to specify brotli window size
  - parameter -m0=brotli:long=n, BROTLI_MAX_WINDOW_BITS (24) used by default in brotli-mt, smaller == faster
  - note that :long can be set up to BROTLI_LARGE_MAX_WINDOW_BITS (30), whereas :wlog can be set up to BROTLI_MAX_WINDOW_BITS (24) only...
  - todo: check whether set of BROTLI_PARAM_LARGE_WINDOW to BROTLI_TRUE is needed if (lgwin > BROTLI_MAX_WINDOW_BITS)

- implementation of single-threaded brotli compression / decompression for .br data

Signed-off-by: Sergey G. Brester <info@sebres.de>
Reviewed-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-09-06 17:56:30 +02:00
sebres
9bb11a56b6 Fix -mmt= option for many handlers
The option is previously ignored by handlers used SetCoderProperties to
set number of threads.

Signed-off-by: Sergey G. Brester <serg.brester@sebres.de>
2023-09-06 17:56:09 +02:00
defrag257
9b8a493437 Add tzstd and tzst file extensions
Reviewed-by: Tino Reichardt <milky-7zip@mcmilk.de>
Signed-off-by: defrag257 <defrag257@qq.com>
2023-06-18 08:39:19 +02:00
defrag257
7d5bb9ed84 Add official Zstandard extension .zst
- update ZstdHandler.cpp to support also "zst" and "tzst" as
  valid extensions
- update README.md to reflect these chnages

Signed-off-by: Defrag257 <defrag257@qq.com>
Reviewed-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-05-28 19:26:08 +02:00
Tino Reichardt
edeaf1339f Update Icons 2023-02-13 23:12:34 +01:00
Tino Reichardt
d32f195e90 Fix issues with incorrect compression method
This version will use LZMA2 as default one also now
2023-02-13 23:12:34 +01:00
Tino Reichardt
cf29d0c1ba Add other methods to compression dialog
Signed-off-by: SCell555 <kubci.rusnk645@gmail.com>
Co-Authored-By: Tino Reichardt <milky-7zip@mcmilk.de>
2023-01-15 19:17:40 +01:00
Tino Reichardt
3c65c6c314 Add APFS Icon 2023-01-15 19:17:40 +01:00
Tino Reichardt
f9e0730191 Update to 7-Zip Version 22.01
See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c43cbc5f18/
2022-08-07 10:06:40 +02:00
Tino Reichardt
57558682a8 Update to 7-Zip Version 22.00
See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/9c2d9061ce/
2022-08-07 10:06:40 +02:00
Tino Reichardt
6a4fe97fc3 Update to 7-Zip Version 21.07
See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/0a7b47970b/
2022-08-07 10:06:40 +02:00
Tino Reichardt
e3067bf67b Update to 7-Zip Version 21.06
See https://sourceforge.net/p/sevenzip/discussion/45797/thread/b463f34259/
2022-08-07 10:06:40 +02:00
Tino Reichardt
09497b7ba0 Update to 7-Zip Version 21.04
- first test... no release!!!
2021-11-06 22:17:34 +01:00
Tino Reichardt
df06f31a42 Update to 7-Zip Version 21.03 2021-08-26 04:33:47 +02:00
FadeMind
f369f74f47 update lzma.ico file 2021-05-23 07:03:41 +02:00
FadeMind
0380e6779e Fixed ZSTD icons from Mr4Mike4 2021-05-22 21:52:16 +02:00
FadeMind
fd7fa2defa refresh icons set
https://github.com/mcmilk/7-Zip-zstd/issues/198
2021-05-21 09:03:59 +02:00
Tino Reichardt
c894c2f88b Fix handling of Tar PaxHeaders
- relax PaxHeader name check and add mtime pax property parsing
- patch submitted by Vladimir Surguchev
2021-05-17 22:46:22 +02:00
Tino Reichardt
d14af998b0 Fix issue #202 (fix tar output format) 2021-05-16 15:57:17 +02:00
Tino Reichardt
48fa49f76c Update to 7-Zip Version 21.02 2021-05-13 19:16:55 +02:00
Force.Charlie
425b889145 GUI zip(zstd) turn on 2020-06-23 23:11:54 +08:00
Force.Charlie
2c34b19505 7-zip-zstd support zip(zstd) 2020-06-23 21:04:35 +08:00
Tino Reichardt
9c3c277ad7 Normalize all the line endings 2020-05-31 13:08:03 +02:00
Tino Reichardt
35771b555d Add support of lz4 and zstd compression for squashfs files 2020-04-12 23:33:35 +02: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
a488536124 Update to 7-Zip Version 18.06 2018-12-30 13:30:20 +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
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
7252a465e5 Add Blake2s to CPP/Common
- was in the Rar5 Code
2018-11-01 18:17:21 +01:00
Tino Reichardt
c9b085e4ec Add some compiling fixes and choose compiler (vc12 + sdk71 for ia64)
- add some pragma definitions to brotli port.h
- change lz4 code, to include zstd/xxhash.h
- fix various objects in makefile's
- fix LzHandler.cpp, LZIP has now 0xC5 @ Guid.txt
- improve logging on AppVeyor
- fix version numbers in codecs
- rename "Codec_zstdF" to "Codec_zstd_legacy"
- add missing objects for lizard
2018-10-21 18:53:42 +02:00
Tino Reichardt
78fc3c9bc5 Update to 7-Zip Version 18.05 2018-10-21 14:23:28 +02:00
Tino Reichardt
ef790b5209 Update to 7-Zip 17.01 Beta from Igor Pavlov
- Minor speed optimization for LZMA2 (xz and 7z) multi-threading compression.
  7-Zip now uses additional memory buffers for multi-block LZMA2 compression.
  CPU utilization was slightly improved.
- 7-zip now creates multi-block xz archives by default. Block size can be
  specified with -ms[Size]{m|g} switch.
- xz decoder now can unpack random block from multi-block xz archives.  7-Zip
  File Manager now can open nested multi-block xz archives (for example,
  image.iso.xz) without full unpacking of xz archive.
- 7-Zip now can create zip archives from stdin to stdout.
- 7-Zip command line: @listfile now doesn't work after -- switch.  Use
  -i@listfile before -- switch instead.

fixed bugs:
- 7-Zip could add unrequired alternate file streams to WIM archives, for
  commands that contain filename wildcards and -sns switch.
- 7-Zip 17.00 beta crashed for commands that write anti-item to 7z archive.
- 7-Zip 17.00 beta ignored "Use large memory pages" option.
2017-08-28 16:40:24 +02:00
Tino Reichardt
3b096d5d64 minor fixes for lizard again
- add Lizard to Explorer Context menu
- fixed the .liz handler (can compress now)
2017-05-28 18:55:54 +02:00
Tino Reichardt
bfa1f28920 major Lizard fixes
- changed to real Lizard code v1.0 (I used LZ5 v2.0)
- add Lizard file handling, so '.liz' files can be used in windows
- changed CompressDialog (Lizard has 4 entries in the methods now)
- added Lizard icon
2017-05-28 15:32:22 +02:00
Tino Reichardt
5ff0657d9f Major changes, including Brotli and Lizard
- update of zstd-mt library
- add brotli v0.6.0
- add lizard v2.0
- xxhash is from zstd for lz4, lz5 and lizard now
- update also the documentation, where needed
2017-05-25 18:40:15 +02:00
Tino Reichardt
a6b3f59f0e gui features: add more info about archives into the 7zFM ListBox
- added these codecs: LZHAM, LZ4, LZ5
2017-05-18 15:45:33 +02:00
Tino Reichardt
aa5ba75da0 Update to 7-Zip 17.00 Beta 2017-04-30 14:14:14 +02:00
Tino Reichardt
58069903d0 merge multi threading to master branch
- updated zstd to latest devel release
- lz4, lz5 and zstd is included now
- all three support threading
2016-10-16 23:38:46 +02:00
Tino Reichardt
f3f39b74b0 Update to 7-Zip 16.04 2016-10-06 20:40:55 +02:00
Tino Reichardt
b619eddd14 added old zstd headers, cause they should work also 2016-09-30 11:46:01 +02:00
Tino Reichardt
b7d966ecb3 major fix, detect skippable frames in .zst files 2016-09-29 21:53:48 +02:00
Tino Reichardt
0e6c1206d2 Update to 7-Zip 16.03 2016-09-29 20:02:18 +02:00
Tino Reichardt
0ae1552cdb geändert: CPP/7zip/Archive/Icons/zst.ico 2016-09-15 21:13:22 +02:00
Tino Reichardt
00c0d31e31 feature release
- you can open / crate .tar.zst files now
- direct compressing of files with zstd works also
- you can also open files compressed with pzstd
- next version will do also threaded compression like pzstd does
- zst files can be registred with 7-Zip ZS now
- update to latest zstd dev release v1.0.1
- the About Box will give you a hint, that this 7-Zip is not the default one
2016-09-15 17:57:28 +02:00
Tino Reichardt
13e8b3cf63 7-Zip ZStandard 0.7.3
- update to 0.7.3
- GUI improvements:
  - ZStandard Version and Level is shown in FileManager
  - method and level selection is better
  - this 7-Zip Version defaults to ZSandard now
2016-07-13 21:36:19 +02:00
Tino Reichardt
c3967fe27a Initialer Commit 2016-06-25 21:15:50 +02:00