Skip to content

Commit

Permalink
Make 7-Zip ZS binary compatible with 7-Zip Standard
Browse files Browse the repository at this point in the history
- you can use codec extensions for 7-zip now ;)
- remove builds for: Format7zFO, Format7zUSB
- also change build scripts and version numbers
  • Loading branch information
mcmilk committed Nov 27, 2018
1 parent f98edef commit bc77601
Show file tree
Hide file tree
Showing 35 changed files with 33 additions and 3,935 deletions.
2 changes: 1 addition & 1 deletion C/7zVersion.h
Expand Up @@ -10,7 +10,7 @@
#define MY_VERSION_CPU MY_VERSION
#endif

#define MY_DATE "2018-11-25"
#define MY_DATE "2018-11-27"
#undef MY_COPYRIGHT
#undef MY_VERSION_COPYRIGHT_DATE
#define MY_AUTHOR_NAME "Igor Pavlov, Tino Reichardt"
Expand Down
2 changes: 1 addition & 1 deletion C/Util/7zipInstall/7zipInstall.c
Expand Up @@ -82,7 +82,7 @@ static LPCWSTR const k_Reg_Path32 = L"Path"
#define k_Reg_WOW_Flag_32 0
#endif

#define k_7zip_CLSID L"{23170F69-0803-278A-1000-000100020001}"
#define k_7zip_CLSID L"{23170F69-20BB-278A-1000-000100020000}"

static LPCWSTR const k_Reg_CLSID_7zip = L"CLSID\\" k_7zip_CLSID;
static LPCWSTR const k_Reg_CLSID_7zip_Inproc = L"CLSID\\" k_7zip_CLSID L"\\InprocServer32";
Expand Down
2 changes: 1 addition & 1 deletion C/Util/7zipUninstall/7zipUninstall.c
Expand Up @@ -62,7 +62,7 @@ static const WCHAR * const k_Reg_Path32 = L"Path"
#define k_Reg_WOW_Flag_32 0
#endif

#define k_7zip_CLSID L"{23170F69-0803-278A-1000-000100020001}"
#define k_7zip_CLSID L"{23170F69-20BB-278A-1000-000100020000}"

static const WCHAR * const k_Reg_CLSID_7zip = L"CLSID\\" k_7zip_CLSID;
static const WCHAR * const k_Reg_CLSID_7zip_Inproc = L"CLSID\\" k_7zip_CLSID L"\\InprocServer32";
Expand Down
2 changes: 1 addition & 1 deletion CPP/7zip/Bundles/Codec_brotli/makefile
@@ -1,6 +1,6 @@
PROG = brotli.dll
DEF_FILE = ../../Compress/Codec.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID
CFLAGS = $(CFLAGS)

7ZIP_COMMON_OBJS = \
$O\StreamUtils.obj \
Expand Down
2 changes: 1 addition & 1 deletion CPP/7zip/Bundles/Codec_flzma2/makefile
@@ -1,6 +1,6 @@
PROG = flzma2.dll
DEF_FILE = ../../Compress/Codec.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID -DNO_XXHASH
CFLAGS = $(CFLAGS) -DNO_XXHASH

7ZIP_COMMON_OBJS = \
$O\CWrappers.obj \
Expand Down
2 changes: 1 addition & 1 deletion CPP/7zip/Bundles/Codec_lizard/makefile
@@ -1,6 +1,6 @@
PROG = lizard.dll
DEF_FILE = ../../Compress/Codec.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID
CFLAGS = $(CFLAGS)

7ZIP_COMMON_OBJS = \
$O\StreamUtils.obj \
Expand Down
2 changes: 1 addition & 1 deletion CPP/7zip/Bundles/Codec_lz4/makefile
@@ -1,6 +1,6 @@
PROG = lz4.dll
DEF_FILE = ../../Compress/Codec.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID
CFLAGS = $(CFLAGS)

7ZIP_COMMON_OBJS = \
$O\StreamUtils.obj \
Expand Down
2 changes: 1 addition & 1 deletion CPP/7zip/Bundles/Codec_lz5/makefile
@@ -1,6 +1,6 @@
PROG = lz5.dll
DEF_FILE = ../../Compress/Codec.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID
CFLAGS = $(CFLAGS)

7ZIP_COMMON_OBJS = \
$O\StreamUtils.obj \
Expand Down
11 changes: 9 additions & 2 deletions CPP/7zip/Bundles/Codec_zstd/makefile
@@ -1,6 +1,6 @@
PROG = zstd-min.dll
PROG = zstd.dll
DEF_FILE = ../../Compress/Codec.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID -DZSTD_MULTITHREAD
CFLAGS = $(CFLAGS) -DZSTD_LEGACY_SUPPORT -DZSTD_MULTITHREAD

7ZIP_COMMON_OBJS = \
$O\StreamUtils.obj \
Expand Down Expand Up @@ -42,6 +42,13 @@ ZSTD_OBJS = \
$O\zstd_ldm.obj \
$O\zstdmt_compress.obj \
$O\zstd_opt.obj \
$O\zstd_v01.obj \
$O\zstd_v02.obj \
$O\zstd_v03.obj \
$O\zstd_v04.obj \
$O\zstd_v05.obj \
$O\zstd_v06.obj \
$O\zstd_v07.obj \

ZSTDMT_OBJS = \
$O\zstd-mt_threading.obj \
Expand Down
3 changes: 0 additions & 3 deletions CPP/7zip/Bundles/Codec_zstdF/StdAfx.cpp

This file was deleted.

8 changes: 0 additions & 8 deletions CPP/7zip/Bundles/Codec_zstdF/StdAfx.h

This file was deleted.

56 changes: 0 additions & 56 deletions CPP/7zip/Bundles/Codec_zstdF/makefile

This file was deleted.

6 changes: 0 additions & 6 deletions CPP/7zip/Bundles/Codec_zstdF/resource.rc

This file was deleted.

4 changes: 1 addition & 3 deletions CPP/7zip/Bundles/Format7zExtract/makefile
@@ -1,8 +1,6 @@
PROG = 7zxa.dll
DEF_FILE = ../../Archive/Archive2.def
CFLAGS = $(CFLAGS) \
-DNEED_7ZIP_GUID \
-DEXTRACT_ONLY \
CFLAGS = $(CFLAGS) -DEXTRACT_ONLY \

COMMON_OBJS = \
$O\CRC.obj \
Expand Down

0 comments on commit bc77601

Please sign in to comment.