Commit Graph

68 Commits

Author SHA1 Message Date
Georg Hagen
8bc6de33ce Add default constructor 2024-10-15 21:18:56 +02:00
Vladyslav Baranovskyi
b476563698 Simplified empty string comparison, added logger reporting error 2024-10-14 15:20:39 +03:00
Vladyslav Baranovskyi
9ccfb2badd Fixed bug with opening a file with empty name string 2024-10-14 12:58:33 +03:00
Vladyslav Baranovskyi
5c19eb964c Throwing an exception if the file does not exist 2024-10-14 12:57:42 +03:00
Vladyslav Baranovskyi
18c02d268f Fixed bug with adding file in ArchiveWriter::AddFile() with uninitted create/mod times 2024-10-14 12:57:05 +03:00
Vladyslav Baranovskyi
7db6169a6f Added tests for DeleteEmptyFilesAndDirs(), GetDirFileAndDirCount(), + bugfixes 2024-10-10 21:15:30 +03:00
Georg Hagen
8e9d3cdc85 Merge branch 'master' of git.madvoxel.net:OpenVulkano/OpenVulkano 2024-10-10 18:38:04 +02:00
Georg Hagen
2b501a6dcd Add more functions 2024-10-10 18:35:42 +02:00
Vladyslav_Baranovskyi_EXT
d9883a1613 Merge pull request 'Tests for Files/Pfm.hpp, Files/Pnm.hpp' (#139) from tests_files into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/139
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-10-10 15:48:44 +02:00
Georg Hagen
9228010625 Add ToValidFileName function 2024-10-10 14:54:36 +02:00
Vladyslav Baranovskyi
b0b966aab7 Marked unlikely code paths as [[unlikely]] 2024-10-10 15:42:41 +03:00
Vladyslav Baranovskyi
cc20a1fb3b Tests for Pnm.hpp, Pnm operator>> input robustness 2024-10-10 15:36:22 +03:00
Vladyslav Baranovskyi
64c60b3726 Tests for Pfm.hpp, Pfm bugfix related to the endian swapping 2024-10-10 15:35:08 +03:00
Georg Hagen
f60b803bda Fix some warnings 2024-10-07 10:02:30 +02:00
mtuncbilek
95ddd4b23f memmappedfile-fix (#115)
Co-authored-by: Metehan Tuncbilek <mtuncbilek95@gmail.com>
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
Co-authored-by: mtuncbilek <metehan.tuncbilek@madvoxel.com>
Co-committed-by: mtuncbilek <metehan.tuncbilek@madvoxel.com>
2024-09-21 14:46:39 +02:00
Georg Hagen
c5dfbc41e0 Add option to get file size of all opened archives 2024-08-14 15:43:01 +02:00
Georg Hagen
e36c4837cc Add recursive dir size getter 2024-08-09 14:52:48 +02:00
Georg Hagen
268be2ca60 Silence some warnings 2024-07-09 13:43:48 +02:00
Georg Hagen
9f0e2531d1 Fix bug with ExtractRemaining function not retuning amount of extracted files 2024-07-03 14:33:30 +02:00
Georg Hagen
3c1fb5c118 Fix some warnings 2024-07-03 14:22:46 +02:00
Georg Hagen
fa51f868b7 Silence some warnings 2024-07-02 21:29:15 +02:00
Georg Hagen
299040ecaf Switch to C++20 2024-06-21 11:57:53 +02:00
Vladyslav Baranovskyi
29108cab21 Minor code fixes in order to compile on windows 2024-05-23 23:58:45 +03:00
681fc00a68 Allow uncompressed files in zip archives 2023-11-19 23:49:11 +01:00
761d8d3d33 Move ArchiveType into it's own file 2023-11-18 22:10:02 +01:00
966db4b452 Add support for streaming archive writing and unknown filesizes in zip files 2023-11-14 23:42:23 +01:00
194ed03d7c Fix access rights error 2023-11-03 11:11:11 +01:00
56823ff415 Add MemMappedFile 2023-11-02 23:56:32 +01:00
31eef79f22 Extend FsUtils 2023-10-11 09:54:44 +02:00
2a49949e0c Add FsUtils 2023-10-10 09:37:11 +02:00
e0f24153d3 Change namespace name 2023-10-03 19:52:23 +02:00
36288bd5b0 Update dependencies 2023-09-28 13:19:11 +02:00
66ff6b3bab Add option for lazy archive creation with MultiPartArchiveWriter 2021-07-24 11:21:36 +02:00
393586c4ce Spliting archive creates new parts only when starting to fill them 2021-07-23 14:43:11 +02:00
ef871997cf Fix issue with 0 Byte archives 2021-07-22 03:23:25 +02:00
5b4e12b8f5 Add method to manually split archive and delete last split if empty 2021-05-18 20:14:15 +02:00
4eeafafe34 Fix issues with not existing dirs for MultiPartArchiveWriter 2021-05-17 00:10:20 +02:00
3440c65ddc Make sure that directory exists before when creating MultipartArchiveWriter 2021-04-05 22:29:29 +02:00
57dfbb0108 Handle multipart tar archives when reading archive 2021-04-01 19:44:19 +02:00
f7c73167eb Minor improvements 2021-03-31 19:43:11 +02:00
9f225e14cd Fix apple platform pathes 2021-03-30 14:16:15 +02:00
fb6766558c Fix windows build 2021-03-28 13:13:13 +02:00
cd60d9ebc3 Add AppFolders class 2021-03-24 19:02:25 +01:00
c5a2fb1b02 Add PlatformFolders class 2021-03-23 02:24:55 +01:00
3787249d34 Add MultiPartArchiveWriter 2021-03-03 20:48:08 +01:00
468ca9487b Introduce IArchiveWriter 2021-03-02 20:36:32 +01:00
247bc8deef Update ArchiveConfiguration 2021-03-01 20:35:11 +01:00
68d2feeba5 Fix Apple build issues 2021-02-28 11:12:13 +01:00
a302681f4d Move ArchiveConfiguration into it's own file 2021-02-24 02:30:11 +01:00
339afdcfa1 Fix windows build issues 2021-02-10 02:43:11 +01:00