diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-14 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-15 23:55:04 +0500 |
| commit | fc662341e6f85da78ada0e443f6116b978f79f22 (patch) | |
| tree | 1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /DOC | |
| parent | 5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff) | |
| download | 7zip-fc662341e6f85da78ada0e443f6116b978f79f22.tar.gz 7zip-fc662341e6f85da78ada0e443f6116b978f79f22.tar.bz2 7zip-fc662341e6f85da78ada0e443f6116b978f79f22.zip | |
24.0524.05
Diffstat (limited to 'DOC')
| -rw-r--r-- | DOC/7zip.hhp | 1 | ||||
| -rw-r--r-- | DOC/7zip.wxs | 4 | ||||
| -rw-r--r-- | DOC/License.txt | 145 | ||||
| -rw-r--r-- | DOC/Methods.txt | 5 | ||||
| -rw-r--r-- | DOC/lzma.txt | 2 | ||||
| -rw-r--r-- | DOC/readme.txt | 4 | ||||
| -rw-r--r-- | DOC/src-history.txt | 46 |
7 files changed, 158 insertions, 49 deletions
diff --git a/DOC/7zip.hhp b/DOC/7zip.hhp index 6c6bd70..58fbd1f 100644 --- a/DOC/7zip.hhp +++ b/DOC/7zip.hhp | |||
| @@ -71,6 +71,7 @@ cmdline\switches\working_dir.htm | |||
| 71 | cmdline\switches\exclude.htm | 71 | cmdline\switches\exclude.htm |
| 72 | fm\options.htm | 72 | fm\options.htm |
| 73 | fm\benchmark.htm | 73 | fm\benchmark.htm |
| 74 | fm\temp.htm | ||
| 74 | fm\index.htm | 75 | fm\index.htm |
| 75 | fm\menu.htm | 76 | fm\menu.htm |
| 76 | fm\about.htm | 77 | fm\about.htm |
diff --git a/DOC/7zip.wxs b/DOC/7zip.wxs index df1d320..7705d16 100644 --- a/DOC/7zip.wxs +++ b/DOC/7zip.wxs | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
| 2 | 2 | ||
| 3 | <?define VerMajor = "23" ?> | 3 | <?define VerMajor = "24" ?> |
| 4 | <?define VerMinor = "01" ?> | 4 | <?define VerMinor = "05" ?> |
| 5 | <?define VerBuild = "00" ?> | 5 | <?define VerBuild = "00" ?> |
| 6 | <?define MmVer = "$(var.VerMajor).$(var.VerMinor)" ?> | 6 | <?define MmVer = "$(var.VerMajor).$(var.VerMinor)" ?> |
| 7 | <?define MmHex = "$(var.VerMajor)$(var.VerMinor)" ?> | 7 | <?define MmHex = "$(var.VerMajor)$(var.VerMinor)" ?> |
diff --git a/DOC/License.txt b/DOC/License.txt index c9e858f..8917dfc 100644 --- a/DOC/License.txt +++ b/DOC/License.txt | |||
| @@ -3,14 +3,16 @@ | |||
| 3 | License for use and distribution | 3 | License for use and distribution |
| 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 5 | 5 | ||
| 6 | 7-Zip Copyright (C) 1999-2020 Igor Pavlov. | 6 | 7-Zip Copyright (C) 1999-2024 Igor Pavlov. |
| 7 | 7 | ||
| 8 | The licenses for files are: | 8 | The licenses for files are: |
| 9 | 9 | ||
| 10 | 1) CPP/7zip/Compress/Rar* files: the "GNU LGPL" with "unRAR license restriction" | 10 | - CPP/7zip/Compress/Rar* files: the "GNU LGPL" with "unRAR license restriction" |
| 11 | 2) CPP/7zip/Compress/LzfseDecoder.cpp: the "BSD 3-clause License" | 11 | - CPP/7zip/Compress/LzfseDecoder.cpp: the "BSD 3-clause License" |
| 12 | 3) Some files are "public domain" files, if "public domain" status is stated in source file. | 12 | - C/ZstdDec.c: the "BSD 3-clause License" |
| 13 | 4) the "GNU LGPL" for all other files. If there is no license information in | 13 | - C/Xxh64.c: the "BSD 2-clause License" |
| 14 | - Some files are "public domain" files, if "public domain" status is stated in source file. | ||
| 15 | - the "GNU LGPL" for all other files. If there is no license information in | ||
| 14 | some source file, that file is under the "GNU LGPL". | 16 | some source file, that file is under the "GNU LGPL". |
| 15 | 17 | ||
| 16 | The "GNU LGPL" with "unRAR license restriction" means that you must follow both | 18 | The "GNU LGPL" with "unRAR license restriction" means that you must follow both |
| @@ -19,8 +21,8 @@ | |||
| 19 | 21 | ||
| 20 | 22 | ||
| 21 | 23 | ||
| 22 | GNU LGPL information | 24 | GNU LGPL information |
| 23 | -------------------- | 25 | -------------------- |
| 24 | 26 | ||
| 25 | This library is free software; you can redistribute it and/or | 27 | This library is free software; you can redistribute it and/or |
| 26 | modify it under the terms of the GNU Lesser General Public | 28 | modify it under the terms of the GNU Lesser General Public |
| @@ -33,58 +35,117 @@ | |||
| 33 | Lesser General Public License for more details. | 35 | Lesser General Public License for more details. |
| 34 | 36 | ||
| 35 | You should have received a copy of the GNU Lesser General Public | 37 | You should have received a copy of the GNU Lesser General Public |
| 36 | License along with this library; if not, write to the Free Software | 38 | License along with this library; if not, |
| 37 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 39 | you can get a copy of the GNU Lesser General Public License from |
| 40 | http://www.gnu.org/ | ||
| 38 | 41 | ||
| 39 | 42 | ||
| 40 | 43 | ||
| 41 | 44 | ||
| 42 | BSD 3-clause License | 45 | BSD 3-clause License in 7-Zip code |
| 43 | -------------------- | 46 | ---------------------------------- |
| 44 | 47 | ||
| 45 | The "BSD 3-clause License" is used for the code in LzfseDecoder.cpp that implements LZFSE data decompression. | 48 | The "BSD 3-clause License" is used for the following code in 7z.dll |
| 46 | That code was derived from the code in the "LZFSE compression library" developed by Apple Inc, | 49 | 1) LZFSE data decompression. |
| 47 | that also uses the "BSD 3-clause License": | 50 | CPP/7zip/Compress/LzfseDecoder.cpp. |
| 51 | That code was derived from the code in the "LZFSE compression library" developed by Apple Inc, | ||
| 52 | that also uses the "BSD 3-clause License". | ||
| 53 | 2) ZSTD data decompression. | ||
| 54 | C/ZstdDec.c | ||
| 55 | that code was developed using original zstd decoder code as reference code. | ||
| 56 | The original zstd decoder code was developed by Facebook Inc, | ||
| 57 | that also uses the "BSD 3-clause License". | ||
| 48 | 58 | ||
| 49 | ---- | 59 | Copyright (c) 2015-2016, Apple Inc. All rights reserved. |
| 50 | Copyright (c) 2015-2016, Apple Inc. All rights reserved. | 60 | Copyright (c) Facebook, Inc. All rights reserved. |
| 61 | Copyright (c) 2023-2024 Igor Pavlov. | ||
| 51 | 62 | ||
| 52 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | 63 | Text of the "BSD 3-clause License" |
| 64 | ---------------------------------- | ||
| 53 | 65 | ||
| 54 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | 66 | Redistribution and use in source and binary forms, with or without modification, |
| 67 | are permitted provided that the following conditions are met: | ||
| 55 | 68 | ||
| 56 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer | 69 | 1. Redistributions of source code must retain the above copyright notice, this |
| 57 | in the documentation and/or other materials provided with the distribution. | 70 | list of conditions and the following disclaimer. |
| 58 | 71 | ||
| 59 | 3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived | 72 | 2. Redistributions in binary form must reproduce the above copyright notice, |
| 60 | from this software without specific prior written permission. | 73 | this list of conditions and the following disclaimer in the documentation |
| 74 | and/or other materials provided with the distribution. | ||
| 61 | 75 | ||
| 62 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 76 | 3. Neither the name of the copyright holder nor the names of its contributors may |
| 63 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | 77 | be used to endorse or promote products derived from this software without |
| 64 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 78 | specific prior written permission. |
| 65 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 66 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 67 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 68 | ---- | ||
| 69 | 79 | ||
| 80 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
| 81 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 82 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 83 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | ||
| 84 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
| 85 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 86 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
| 87 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 88 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 89 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 70 | 90 | ||
| 91 | --- | ||
| 71 | 92 | ||
| 72 | 93 | ||
| 73 | unRAR license restriction | ||
| 74 | ------------------------- | ||
| 75 | 94 | ||
| 76 | The decompression engine for RAR archives was developed using source | ||
| 77 | code of unRAR program. | ||
| 78 | All copyrights to original unRAR code are owned by Alexander Roshal. | ||
| 79 | 95 | ||
| 80 | The license for original unRAR code has the following restriction: | 96 | BSD 2-clause License in 7-Zip code |
| 97 | ---------------------------------- | ||
| 81 | 98 | ||
| 82 | The unRAR sources cannot be used to re-create the RAR compression algorithm, | 99 | The "BSD 2-clause License" is used for the XXH64 code in 7-Zip. |
| 83 | which is proprietary. Distribution of modified unRAR sources in separate form | 100 | C/Xxh64.c |
| 84 | or as a part of other software is permitted, provided that it is clearly | ||
| 85 | stated in the documentation and source comments that the code may | ||
| 86 | not be used to develop a RAR (WinRAR) compatible archiver. | ||
| 87 | 101 | ||
| 102 | XXH64 code in 7-Zip was derived from the original XXH64 code developed by Yann Collet. | ||
| 88 | 103 | ||
| 89 | -- | 104 | Copyright (c) 2012-2021 Yann Collet. |
| 90 | Igor Pavlov | 105 | Copyright (c) 2023-2024 Igor Pavlov. |
| 106 | |||
| 107 | Text of the "BSD 2-clause License" | ||
| 108 | ---------------------------------- | ||
| 109 | |||
| 110 | Redistribution and use in source and binary forms, with or without modification, | ||
| 111 | are permitted provided that the following conditions are met: | ||
| 112 | |||
| 113 | 1. Redistributions of source code must retain the above copyright notice, this | ||
| 114 | list of conditions and the following disclaimer. | ||
| 115 | |||
| 116 | 2. Redistributions in binary form must reproduce the above copyright notice, | ||
| 117 | this list of conditions and the following disclaimer in the documentation | ||
| 118 | and/or other materials provided with the distribution. | ||
| 119 | |||
| 120 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
| 121 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 122 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 123 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | ||
| 124 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
| 125 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 126 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
| 127 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 128 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 129 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 130 | |||
| 131 | --- | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | unRAR license restriction | ||
| 137 | ------------------------- | ||
| 138 | |||
| 139 | The decompression engine for RAR archives was developed using source | ||
| 140 | code of unRAR program. | ||
| 141 | All copyrights to original unRAR code are owned by Alexander Roshal. | ||
| 142 | |||
| 143 | The license for original unRAR code has the following restriction: | ||
| 144 | |||
| 145 | The unRAR sources cannot be used to re-create the RAR compression algorithm, | ||
| 146 | which is proprietary. Distribution of modified unRAR sources in separate form | ||
| 147 | or as a part of other software is permitted, provided that it is clearly | ||
| 148 | stated in the documentation and source comments that the code may | ||
| 149 | not be used to develop a RAR (WinRAR) compatible archiver. | ||
| 150 | |||
| 151 | -- | ||
diff --git a/DOC/Methods.txt b/DOC/Methods.txt index 541f1c1..3e5707c 100644 --- a/DOC/Methods.txt +++ b/DOC/Methods.txt | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | 7-Zip method IDs for 7z and xz archives | 1 | 7-Zip method IDs for 7z and xz archives |
| 2 | --------------------------------------- | 2 | --------------------------------------- |
| 3 | 3 | ||
| 4 | Version: 23.01 | 4 | Version: 24.02 |
| 5 | Date: 2023-06-30 | 5 | Date: 2024-03-22 |
| 6 | 6 | ||
| 7 | Each compression or crypto method in 7z is associated with unique binary value (ID). | 7 | Each compression or crypto method in 7z is associated with unique binary value (ID). |
| 8 | The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes). | 8 | The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes). |
| @@ -38,6 +38,7 @@ List of defined IDs | |||
| 38 | 08 - ARMT (little-endian) | 38 | 08 - ARMT (little-endian) |
| 39 | 09 - SPARC | 39 | 09 - SPARC |
| 40 | 0A - ARM64 | 40 | 0A - ARM64 |
| 41 | 0B - RISCV | ||
| 41 | 42 | ||
| 42 | 21 - LZMA2 | 43 | 21 - LZMA2 |
| 43 | 44 | ||
diff --git a/DOC/lzma.txt b/DOC/lzma.txt index 142feb1..0d9863c 100644 --- a/DOC/lzma.txt +++ b/DOC/lzma.txt | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | LZMA compression | 1 | LZMA compression |
| 2 | ---------------- | 2 | ---------------- |
| 3 | Version: 23.01 | 3 | Version: 24.05 |
| 4 | 4 | ||
| 5 | This file describes LZMA encoding and decoding functions written in C language. | 5 | This file describes LZMA encoding and decoding functions written in C language. |
| 6 | 6 | ||
diff --git a/DOC/readme.txt b/DOC/readme.txt index 5cd90c5..a33af83 100644 --- a/DOC/readme.txt +++ b/DOC/readme.txt | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | 7-Zip 23.01 Sources | 1 | 7-Zip 24.05 Sources |
| 2 | ------------------- | 2 | ------------------- |
| 3 | 3 | ||
| 4 | 7-Zip is a file archiver for Windows. | 4 | 7-Zip is a file archiver for Windows. |
| 5 | 5 | ||
| 6 | 7-Zip Copyright (C) 1999-2023 Igor Pavlov. | 6 | 7-Zip Copyright (C) 1999-2024 Igor Pavlov. |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | License Info | 9 | License Info |
diff --git a/DOC/src-history.txt b/DOC/src-history.txt index c1c1b71..1f29322 100644 --- a/DOC/src-history.txt +++ b/DOC/src-history.txt | |||
| @@ -1,6 +1,52 @@ | |||
| 1 | HISTORY of the 7-Zip source code | 1 | HISTORY of the 7-Zip source code |
| 2 | -------------------------------- | 2 | -------------------------------- |
| 3 | 3 | ||
| 4 | 24.05 2024-05-14 | ||
| 5 | ------------------------- | ||
| 6 | - New switch -myv={MMNN} to set decoder compatibility version for 7z archive creating. | ||
| 7 | {MMNN} is 4-digit number that represents the version of 7-Zip without a dot. | ||
| 8 | If -myv={MMNN} switch is specified, 7-Zip will only use compression methods that can | ||
| 9 | be decoded by the specified version {MMNN} of 7-Zip and newer versions. | ||
| 10 | If -myv={MMNN} switch is not specified, -myv=2300 is used, and 7-Zip will only | ||
| 11 | use compression methods that can be decoded by 7-Zip 23.00 and newer versions. | ||
| 12 | - New switch -myfa={FilterID} to allow 7-Zip to use the specified filter method for 7z archive creating. | ||
| 13 | - New switch -myfd={FilterID} to disallow 7-Zip to use the specified filter method for 7z archive creating. | ||
| 14 | |||
| 15 | |||
| 16 | 24.03 2024-03-23 | ||
| 17 | ------------------------- | ||
| 18 | - 7-Zip now can use new RISCV filter for compression to 7z and xz archives. | ||
| 19 | RISCV filter can increase compression ratio for data containing executable | ||
| 20 | files compiled for RISC-V architecture. | ||
| 21 | - The speed for LZMA and LZMA2 decompression in ARM64 version for Windows | ||
| 22 | was increased by 20%-60%. | ||
| 23 | It uses arm64 assembler code, and clang-cl is required for arm64 assembler code compiling. | ||
| 24 | - Some bugs were fixed. | ||
| 25 | |||
| 26 | |||
| 27 | 24.01 2024-01-31 | ||
| 28 | ------------------------- | ||
| 29 | - 7-Zip uses file C/Precomp.h that is included to all c and c++ files. | ||
| 30 | CPP/Common/Common.h also includes C/Precomp.h. | ||
| 31 | C/Precomp.h defines the following macros (if _WIN32 is defined): | ||
| 32 | Z7_LARGE_PAGES 1 | ||
| 33 | Z7_LONG_PATH 1 | ||
| 34 | Z7_WIN32_WINNT_MIN 0x0500 (or higher) | ||
| 35 | _WIN32_WINNT 0x0500 (or higher) | ||
| 36 | WINVER _WIN32_WINNT | ||
| 37 | UNICODE 1 | ||
| 38 | _UNICODE 1 | ||
| 39 | if _WIN32_WINNT is defined already, C/Precomp.h doesn't redefine it. | ||
| 40 | |||
| 41 | - 7-Zip now can unpack ZSTD archives (.zst extension). | ||
| 42 | - 7-Zip now can unpack ZIP and SquashFS archives that use ZSTD compression method. | ||
| 43 | - 7-Zip now supports fast hash algorithm XXH64 that is used in ZSTD. | ||
| 44 | - Speed optimizations for archive unpacking: rar, zip, gz, wim, cab. | ||
| 45 | - Speed optimizations for hash caclulation: CRC-32, CRC-64, Blake2sp. | ||
| 46 | - The bug was fixed: 7-Zip for Linux could fail for multivolume creation in some cases. | ||
| 47 | - Some bugs were fixed. | ||
| 48 | |||
| 49 | |||
| 4 | 23.01 2023-06-20 | 50 | 23.01 2023-06-20 |
| 5 | ------------------------- | 51 | ------------------------- |
| 6 | - All external macros for compiling C/C++ code of 7-Zip now have Z7_ prefix. | 52 | - All external macros for compiling C/C++ code of 7-Zip now have Z7_ prefix. |
