Georg Hagen
3d56c6a410
Add ArchiveReaderIterator
2025-05-22 21:50:45 +02:00
Georg Hagen
3675a4e4a3
Update path handling
2025-05-21 23:00:51 +02:00
Georg Hagen
410d2514d5
Allow switch vector to span
2025-05-19 23:14:32 +02:00
Georg Hagen
8716857efe
Add archive writer support for existing c FILE*
...
also deduplicate some code
2025-05-19 20:52:29 +02:00
Georg Hagen
d73ef3cb91
Handle empty confidence images
2025-03-10 15:31:19 +01:00
ohyzha
21c49ee91d
remove some redundant stuff
2025-02-18 11:07:13 +02:00
ohyzha
475442e086
do not prefix filenames with slash if in archive directory is empty
2025-02-18 11:07:13 +02:00
Georg Hagen
5aba239af1
Merge branch 'master' of git.madvoxel.net:OpenVulkano/OpenVulkano
2025-02-12 23:45:50 +01:00
Georg Hagen
5cce011710
Merge branch 'master' into using_std_fs_path
2025-02-12 17:56:02 +01:00
Georg Hagen
453c42755a
Update formatting
2025-02-12 14:42:36 +01:00
Georg Hagen
4da64d2d42
Silence warnings and fix bugs
2025-02-12 13:21:30 +01:00
Vladyslav Baranovskyi
08229c3be6
Forgot this line...
2025-02-11 17:54:26 +02:00
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