From 7ef1662e685abf3650629b13966dc3e25bf8014a Mon Sep 17 00:00:00 2001 From: Paul Marquess Date: Wed, 4 Feb 2026 22:08:35 +0000 Subject: [PATCH] Update markdown files to reference PPMD compression (#958) --- INDEX.md | 1 + README.md | 4 +++- doc/mz_compress_method.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/INDEX.md b/INDEX.md index 86af188..af626ad 100644 --- a/INDEX.md +++ b/INDEX.md @@ -14,6 +14,7 @@ | mz_strm_libcomp.\* | Apple compression stream | | mz_strm_lzma.\* | LZMA stream using liblzma | | mz_strm_mem.\* | Memory stream | +| mz_strm_ppmd.\* | PPMD stream | | mz_strm_split.\* | Disk splitting stream | | mz_strm_pkcrypt.\* | PKWARE traditional encryption stream | | mz_strm_os\* | Platform specific file stream | diff --git a/README.md b/README.md index 27c9f25..253f471 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ not been maintained for a long period of time. The code has been largely refacto + Read and write raw zip entry data. + Reading and writing zip archives from memory. + Support for large files with ZIP64 extension. -+ Zlib, BZIP2, LZMA, XZ, and ZSTD compression methods. ++ Zlib, BZIP2, LZMA, PPMD, XZ and ZSTD compression methods. + Password protection through Traditional PKWARE and [WinZIP AES](https://www.winzip.com/aes_info.htm) encryption. + Buffered streaming for improved I/O performance. + NTFS timestamp support for UTC last modified, last accessed, and creation dates. @@ -72,6 +72,7 @@ cmake --build build | MZ_ZLIB_FLAVOR | Select ZLIB implementation (auto, zlib-ng, zlib) | auto | | MZ_BZIP2 | Enables BZIP2 compression | ON | | MZ_LZMA | Enables LZMA & XZ compression | ON | +| MZ_PPMD | Enables PPMD compression | ON | | MZ_ZSTD | Enables ZSTD compression | ON | | MZ_LIBCOMP | Enables Apple compression | APPLE | | MZ_FETCH_LIBS | Enables fetching third-party libraries if not found | WIN32 | @@ -100,6 +101,7 @@ installed then it will be used, otherwise CMake will retrieve the source code fo |-|-|-|-| [bzip2](https://www.sourceware.org/bzip2/)|[license](https://github.com/zlib-ng/minizip-ng/blob/develop/lib/bzip2/LICENSE)|`MZ_BZIP2`|Written by Julian Seward.| |[liblzma](https://tukaani.org/xz/)|Public domain|`MZ_LZMA`|Written by Igor Pavlov and Lasse Collin.| +|[ppmd](https://7-zip.org/)|Public domain|`MZ_PPMD`|Written by Igor Pavlov.| |[zlib](https://zlib.net/)|zlib|`MZ_ZLIB`|Written by Mark Adler and Jean-loup Gailly. Or alternatively, [zlib-ng](https://github.com/zlib-ng/zlib-ng) by Hans Kristian Rosbach.| |[zstd](https://github.com/facebook/zstd)|[BSD](https://github.com/facebook/zstd/blob/dev/LICENSE)|`MZ_ZSTD`|Written by Facebook.| diff --git a/doc/mz_compress_method.md b/doc/mz_compress_method.md index 9dae2c1..e94ae31 100644 --- a/doc/mz_compress_method.md +++ b/doc/mz_compress_method.md @@ -10,5 +10,6 @@ Compression method enumeration. |MZ_COMPRESS_METHOD_LZMA|14|LZMA1 compression| |MZ_COMPRESS_METHOD_ZSTD|93|ZSTD compression| |MZ_COMPRESS_METHOD_XZ|95|XZ compression| +|MZ_COMPRESS_METHOD_PPMD|98|PPMD compression| _MZ_COMPRESS_METHOD_AES_ is only for internal use.