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
acd73f6cfb
Add helper functions
2025-02-06 18:53:10 +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
Georg Hagen
c50711308d
Small path update for MacOS
2025-02-02 20:14:20 +01:00
Georg Hagen
a2d4d61bc9
Bugfix
2025-01-30 00:13:35 +01:00
Georg Hagen
6f53811b52
Fix typos
2025-01-29 23:38:55 +01:00
Georg Hagen
2a6fe2741c
Update path handling for MacOS
2025-01-29 23:19:26 +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_EXT
1abfb22b08
Merge pull request 'WriteObjAsZip and WriteAsUSDZ MeshWriter methods' ( #166 ) from mesh_exporter_with_textures into master
...
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/166
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com >
2024-12-02 16:49:44 +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
ohyzha
c1588fc550
warning when use count != 1
2024-11-14 17:37:08 +02:00
ohyzha
656615e5a7
get rid of internal Close() method
2024-11-13 10:24:34 +02:00
ohyzha
d88addd858
nullify everything on close
2024-11-11 21:17:16 +02:00
ohyzha
a133641900
make it possible to close memmapped file before dctor
2024-11-11 20:24:58 +02:00
Georg Hagen
839efa5509
Compress depth data in ar recordings
2024-10-26 16:45:44 +02:00
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