Commit Graph

387 Commits

Author SHA1 Message Date
sebres
8cfdd747c8 Fixes for "vulnerable command line parsing"
Signed-off-by: Sergey G. Brester <info@sebres.de>
Reviewed-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-04-14 21:17:50 +02:00
Tino Reichardt
d94284915a Revert the fixes for the "vulnerable command line parsing"
revert these commits:
- e615c8c63f
- 45c245645d.
- cc1192c7d9.
2023-04-05 19:12:15 +02:00
Tino Reichardt
aaf1f122b8 Update Zstandard to Version 1.5.5
Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-04-05 08:10:40 +02:00
Sergey G. Brester
e615c8c63f CommandLineParser: amend to #307
compatibility to CommandLineToArgvW or stdlib's main argument parsing

Signed-off-by: Sergey G. Brester <serg.brester@sebres.de>
2023-03-30 18:00:15 +02:00
sebres
45c245645d few optimizations building string vector with arguments
- avoid unneeded copying (don't gather remaining string)
- don't build args byte by byte

Signed-off-by: Sergey G. Brester <serg.brester@sebres.de>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
2023-03-22 17:34:35 +01:00
sebres
cc1192c7d9 fixes vulnerable command line parsing
- considers valid windows escape sequences, like backslashes
  followed by quote-char as well as quote triples)
- SplitCommandLine works now very similar to CommandLineToArgvW
  (but doesn't require dependency to shell32)

Signed-off-by: Sergey G. Brester <serg.brester@sebres.de>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
2023-03-22 17:32:20 +01:00
Tino Reichardt
b2d7bd30d7 Update Lizard - use internal HUF and FSE entropy
- AdjustLiz.sh fixes some double defines with zstd of lizard
- lizard uses it's own entropy lib again
- this will fix #302

Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-27 14:43:39 +01:00
Tino Reichardt
36c2a9c760 Fix missing context menu (issue #301)
Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-21 22:36:28 +01:00
Tino Reichardt
4fae369d2d Fix selectable uppercase / lowercase hash formatting
- the last fix was not done correctly
- issue #177 is solved really now

Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-18 20:03:54 +01:00
Tino Reichardt
f0954038bc Add Github Action for generating release binaries 2023-02-18 18:03:30 +01:00
sebres
8b011d230f reorder initialization in constructor matching to member declaration order (silence [-Werror=reorder]) 2023-02-15 15:35:00 +01:00
sebres
ebe8399e0f resolve deprecated ZSTD_resetDStream with its equivalent ZSTD_DCtx_reset(_ctx, ZSTD_reset_session_only); 2023-02-15 15:34:55 +01:00
Tino Reichardt
d56903e09d Add Github Build Action
Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-13 23:13:27 +01:00
Tino Reichardt
650fba0328 Add history tracking and selectable hash formatting
Re-add clearing of various history tracking within registry
- see issue #113 for comments on this
- you can re-enable this via tools->options->settings

Re-add: selectable uppercase / lowercase hash formatting
- see issue #177 for more info about this

Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-13 23:12:34 +01:00
Tino Reichardt
edeaf1339f Update Icons 2023-02-13 23:12:34 +01:00
Tino Reichardt
9bc1a5a42a Update README
- Zstandard version 1.5.2 -> 1.5.4
- ".zst" extension should be ".zstd"
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
26ef822798 Update appveyor.cmd for Visual Studio 2022
Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-13 23:12:34 +01:00
Tino Reichardt
4671e41b5e Fix Lizard for new Zstandard version 2023-02-13 23:12:34 +01:00
Tino Reichardt
83b87f6fe3 Update Zstandard to Version 1.5.4
Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
2023-02-13 23:12:34 +01:00
Tino Reichardt
5fac496461 Fix Version numbers 2023-01-15 19:18:20 +01:00
Tino Reichardt
180c358d1b Add 7za.exe and 7za.dll to uninstall routine 2023-01-15 19:18:20 +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
a92cc9e743 Add correct LZ4 version to README.md an fix building date 2023-01-15 19:17:40 +01:00
Tino Reichardt
9ff7956897 Disable compiler warnings zstd.h 2023-01-15 19:17:40 +01:00
Tino Reichardt
76770869d0 Remove crlf for .rc files in .gitattributes 2023-01-15 19:17:21 +01:00
Tino Reichardt
d03b30eb8d Update LZ4 to version 1.9.4 2022-10-16 22:09:46 +02:00
Tino Reichardt
e3ef376ea6 Update Zstandard to Version 1.5.2 2022-08-07 10:18:54 +02: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
3e0e78700e Merge pull request #243 from Repiteo/master
Updated bmp file
2021-12-23 10:21:34 +01:00
Thaddeus Crews
9eb49473bb Updated bmp file
• Old version had bizarre proportions and an unfitting border
• New version pulled directly from ico, albeit with transparency cropped to remain 1-bit
2021-12-13 12:11:49 -06: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
0f6bcfd2ed Remove unused debug code in Compress/Zstd*.cpp 2021-10-05 23:17:27 +02:00
Tino Reichardt
a9e1808a17 Fix #223 and use CCOMPLB in the 7zip.mak makefile 2021-10-05 23:07:28 +02:00
sebres
f5dc5b2bf6 amend to #222: prevent merge errors by unexpected growing of properties enum in compilers supporting constexpr/static_assert, checking its length at compile time:
ARRAY_SIZE(g_NameToPropID) must be always equal NCoderPropID::kEndOfProp
2021-08-26 22:02:12 +02:00
Tino Reichardt
df06f31a42 Update to 7-Zip Version 21.03 2021-08-26 04:33:47 +02:00
Tino Reichardt
27d965fd99 Merge pull request #220 from DestroyerXyz/master
Make License similar to 7-Zip License
2021-08-25 21:58:56 +02:00
Tino Reichardt
2dd35ddf33 Merge pull request #222 from sebres/patch-1
Correct recognition of zstd properties like -m0=zstd:long, etc
2021-08-25 21:58:13 +02:00
Sergey G. Brester
182876830c Fixes mismatch between g_NameToPropID and NCoderPropID (restores correct map of zstd props)
broken by update to 7-Zip v.21.02 (48fa49f76c introduced NCoderPropID::kAffinity)
2021-08-25 19:40:46 +02:00
Shreyans Jain
9c4886e10c Made changes to "License and Redistribution" in README 2021-08-15 00:09:42 +05:30
Shreyans Jain
d51ce29be8 Make License similar to 7-Zip License 2021-08-14 23:58:16 +05:30
Tino Reichardt
82bf647666 Merge pull request #207 from FadeMind/icons-win10
refresh icons set
2021-06-12 09:34:38 +02:00
FadeMind
f369f74f47 update lzma.ico file 2021-05-23 07:03:41 +02:00
FadeMind
f2e0eaf4cc Author update 2021-05-22 21:55:53 +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