summaryrefslogtreecommitdiff
path: root/scaddins
diff options
authorAkshay Kumar Dubey <akshaymani513@gmail.com>2025-03-30 16:27:05 +0530
committerCaolán McNamara <caolan.mcnamara@collabora.com>2025-04-29 09:38:52 +0200
commit3e1aa5805cb2339a55ffce0448e0b3b5d8efd3a6 (patch)
tree7ddf543c9c27ee7fd89db8d853efbce5cb54f9b9 /scaddins
parentac6c7b4f826f053ce0ebe496b906a963c8c52342 (diff)
tdf#137308 - Part 1: Refactor Inflater classes for extensibilityHEADmaster
Refactor ZIP decompression classes (Inflater, InflaterBytes) to support multiple decompression algorithms, enabling future Zstandard support. Make Inflater and InflaterBytes abstract base classes defining a common interface. Move the original zlib/Deflate logic into new derived classes InflateZlib and InflaterBytesZlib. Update usage sites to instantiate the *Zlib variants via unique_ptr to the base class, preserving existing functionality. Move header files to standard locations (include/package, package/inc) and update includes and build files. This pure refactoring prepares the codebase for adding Zstandard (zstd) decompression. Correct a minor logical bug in the ZipFile::getSizeAndCRC loop condition. Change-Id: I9be3c02946e29eb2dae09f500eb47d8a4261af22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183504 Reviewed-by: Devansh Varshney <varshney.devansh614@gmail.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'scaddins')
0 files changed, 0 insertions, 0 deletions
close