Commit Graph

64 Commits

Author SHA1 Message Date
Vladyslav Baranovskyi
3c7a883ee8 Moved deprecated attr at beginning of functions 2025-02-11 17:34:12 +02:00
Vladyslav Baranovskyi
e976515d82 Marked all (probably) functions that take regular string instead of std::fs::path as deprecated 2025-02-11 16:15:05 +02:00
Georg Hagen
c41acb47c2 Attempt to fix windows build issue 2025-02-11 00:22:25 +01:00
Georg Hagen
5fd18bf70b Make written bytes observable 2025-02-09 23:56:13 +01:00
Georg Hagen
5c7c961c46 More windows fixes 2025-02-09 22:57:02 +01:00
Georg Hagen
d2c86ede73 More rework to switch to std::filesystem::path over cstrings 2025-02-09 20:26:36 +01:00
Georg Hagen
23ba703471 Another windows build fix 2025-02-09 18:58:39 +01:00
Georg Hagen
8bbb22bd64 Fix some Windows issues 2025-02-09 18:30:32 +01:00
Georg Hagen
5c132ecd77 Add callback option for extract all 2025-02-09 17:32:19 +01:00
Georg Hagen
ba475e6696 Expand archive reader 2025-02-09 02:13:09 +01:00
Georg Hagen
afd2c8043e Silence some warnings 2025-02-08 16:16:03 +01:00
Georg Hagen
7a965a7767 Add password support for archive reader 2025-02-06 17:15:43 +01:00
Georg Hagen
3a32197cc3 Add optional password for archive writer 2025-02-05 23:23:23 +01:00
ohyzha
5852aac273 minor refactoring 2024-12-22 13:54:01 +02:00
ohyzha
d3750f2b8a code review refactoring 2024-12-21 17:19:01 +02:00
ohyzha
40d2a3ff8e add possibility to explicitly specify archive type for ArchiveReader 2024-12-21 17:19:01 +02:00
Georg Hagen
d745616244 Switch depth buffer compression to zstd 2024-12-04 21:38:05 +01:00
Vladyslav Baranovskyi
ba9d37cc6f Added operator bool for ZipWriter, filling centralDirSize, padding zip via extraField 2024-11-28 16:48:22 +02:00
Vladyslav Baranovskyi
34bfebbdd3 Summary:
- Changes in Cat functions
- Using gmtime_s and gmtime_r as a thread-safe functions
- ZFill() that is used for padding
- Option for ZipWriter to pad LocalFileHeaders(it is used to properly run tests)
- ZipWriter::IsOpen()
- Moved material creation away from WriteObjContents
- Using MemMappedFile instead of ReadFile
- Scoping files and adding them to archive
- UsdEncoder refactoring
2024-11-27 20:21:14 +02:00
Vladyslav Baranovskyi
7ede43d1c2 NtfsExtraField constructor & helper static method, Cat refactoring, writing zip archive in destructor, using MemMappedFile 2024-11-25 19:32:53 +02:00
Vladyslav Baranovskyi
2a331011d5 Changed order of includes, uint32_t as index for Geometry::GetIndex(), minor changes 2024-11-22 16:36:41 +02:00
Vladyslav Baranovskyi
ac843c0fe3 Summary:
- Removed ReadEntireFile
- ZipWriter now writes directly to a file when possible
- Added GetIndex to geometry
- Moved Usd and Obj generators to different files
- Removed unused procedures
- Deduplicated obj generators
- Updated tests for ZipWriter
2024-11-22 15:45:57 +02:00
Vladyslav Baranovskyi
6aa8a265c1 Using gmtime instead of localtime 2024-11-20 21:22:07 +02:00
Vladyslav Baranovskyi
a9fd85e9b3 ZipWriter implementation + tests 2024-11-20 19:36:29 +02:00
Georg Hagen
839efa5509 Compress depth data in ar recordings 2024-10-26 16:45:44 +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
Georg Hagen
f60b803bda Fix some warnings 2024-10-07 10:02:30 +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
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
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
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
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
fb6766558c Fix windows build 2021-03-28 13:13:13 +02:00
3787249d34 Add MultiPartArchiveWriter 2021-03-03 20:48:08 +01:00
468ca9487b Introduce IArchiveWriter 2021-03-02 20:36:32 +01:00