Commit graph

8 commits

Author SHA1 Message Date
Filippos Karapetis
5b1e2d502c COMMON: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Le Philousophe
1a4e4c1826 COMMON: Avoid valgrind errors when opening invalid ZIP files
Bail out of the function before jumping on values which failed to read.
2025-01-22 19:14:42 +01:00
Le Philousophe
93a8f7f4d6 COMMON: Move Archive API to Path 2023-12-24 13:19:25 +01:00
elasota
63b01f5e85 COMMON: Strip trailing slashes from ZipArchive directories and improve directory detection. Add support for listChildren and isDirectory. 2023-09-17 19:17:33 +02:00
Le Philousophe
5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
elasota
b8acbe6bee COMMON: Archive path refactoring, add getFileName and getPathInArchive that unambiguously return the filename or the full path 2023-07-19 18:51:37 +02:00
Vladimir Serbinenko
600f33bccf COMMON: Allow unzip to flatten tree structure
It's easier to some games to ignore directories
2023-01-15 19:22:34 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Renamed from common/unzip.cpp (Browse further)