1466 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
b81242d6b6 refactor(mkdwarfs): abstract out file creation 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
e8238c52f7 refactor(mkdwarfs): make output file logic easier to abstract 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
f41e6ac31f refactor: const os_access everywhere 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
7b2029674d refactor: simplify calling *_main() from tests even more 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
c5c7b633c8 test: simple template for categorizer test (to be extended) 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
f90f0faec0 chore: add test_iolayer helper to simplify iolayer creation 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
56191f34d0 refactor: retire deprecated stream_logger ctor 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
676e46dd60 chore: add another *_main overload that always accepts utf8 args
This is mostly for convenient use from within the test suite.
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
67a4de0d52 fix: don't call check_section() in filesystem ctor (fixes gh #183)
This regression was introduced in the v0.7.3 release and caused each
section header to be read from the filesystem image at mount time,
defeating the purpose of the section index.
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
dc904ba730 test: add regression test for gh #183 2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
148cee8400 refactor(dwarfs): use userdata references instead of pointers 2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
298e23973a refactor: more iolayer abstraction 2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
ebc31762d9 refactor(file_stat): include the correct header 2023-12-26 12:05:47 +01:00
Marcus Holland-Moritz
71670cea8e wip: hopefully fix terminal setup on Windows 2023-12-25 22:16:41 +01:00
Marcus Holland-Moritz
f7a6918e6b fix(terminal): use stderr instead of stdout to get terminal width 2023-12-25 22:12:29 +01:00
Marcus Holland-Moritz
2bee3ec702 feat(mkdwarfs): support writing file system to stdout 2023-12-25 22:02:28 +01:00
Marcus Holland-Moritz
df09b171c2 refactor(filesystem_writer): avoid use of tellp() on output stream 2023-12-25 22:01:49 +01:00
Marcus Holland-Moritz
e461e167fc test: new add_local_files test helper 2023-12-25 20:58:31 +01:00
Marcus Holland-Moritz
3b972313e8 refactor(mkdwarfs): abstract out iolayer for testing 2023-12-25 20:58:07 +01:00
Marcus Holland-Moritz
27efde4747 test(chmod): add chmod transformer test 2023-12-25 11:05:37 +01:00
Marcus Holland-Moritz
2500293f06 refactor(chmod): factor out chmod transformer 2023-12-25 11:05:37 +01:00
Marcus Holland-Moritz
ee178ac223 test: check tool usage 2023-12-24 11:58:17 +01:00
Marcus Holland-Moritz
ab54211e63 refactor: use smaller image for category tests 2023-12-24 09:34:32 +01:00
Marcus Holland-Moritz
cce7cdd494 refactor: simplify test handling in CMakeLists.txt 2023-12-24 09:11:47 +01:00
Marcus Holland-Moritz
6f7c71a817 chore: add .codecov.yml to ignore fsst 2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
037c9d6523 test: add xattr tests 2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
11da064a1a fix: root inode should also have inodeinfo xattr 2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
e55025bed6 test: improve test coverage 2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
1590abbac3 fix: race for statebuf_ in simple progress mode 2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
9adf183117 docs: add codecov.io badge 2023-12-22 18:16:36 +01:00
Marcus Holland-Moritz
2f0203e432 chore: add codecov.io support 2023-12-22 18:04:57 +01:00
Marcus Holland-Moritz
d0198b311c test: add some json filesystem info tests 2023-12-22 14:35:13 +01:00
Marcus Holland-Moritz
a3634b8dbf fix: capture frozen views by value 2023-12-22 14:21:35 +01:00
Marcus Holland-Moritz
2fab87bf41 test: simple categorizer and json metadata tests 2023-12-22 13:37:57 +01:00
Marcus Holland-Moritz
a6e4c5f8ab chore: update audio file generation script 2023-12-22 13:18:33 +01:00
Marcus Holland-Moritz
d59b1eaf58 docs(mkdwarfs): update sequence diagram 2023-12-22 10:50:39 +01:00
Marcus Holland-Moritz
adf547518f build: export compile commands for project targets 2023-12-21 21:23:55 +01:00
Marcus Holland-Moritz
ecc03216cf refactor(flac): mark encoder/decoder classes final 2023-12-21 21:23:31 +01:00
Marcus Holland-Moritz
2ecd7e0880 refactor: make more single argument ctors explicit 2023-12-21 21:22:57 +01:00
Marcus Holland-Moritz
2e70fbe8c7 refactor(console-writer): narrow scope of context vector 2023-12-21 21:22:01 +01:00
Marcus Holland-Moritz
b5d3e857e7 fix: pass some arguments by const ref instead of by value 2023-12-21 20:42:48 +01:00
Marcus Holland-Moritz
e5a52e5ea4 fix: uninitialized fields in various classes 2023-12-21 20:42:24 +01:00
Marcus Holland-Moritz
d2fef6f6de fix: minor tweaks to maintainer scripts 2023-12-21 20:41:31 +01:00
Marcus Holland-Moritz
87be9b66c6 chore: add shell script for audio file creation 2023-12-21 06:52:04 +01:00
Marcus Holland-Moritz
e0b4e323ac feat(mkdwarfs): improve selection of categorize defaults 2023-12-21 06:52:04 +01:00
Marcus Holland-Moritz
736300697f fix(flac): don't throw bad_compression error as this loses metadata 2023-12-20 22:39:50 +01:00
Marcus Holland-Moritz
b61662c2be feat(dwarfsck): add category to section info 2023-12-20 22:39:50 +01:00
Marcus Holland-Moritz
ddedc5715c chore: move manpage checker to right directory 2023-12-20 22:39:50 +01:00
Marcus Holland-Moritz
99b9b89cc8 docs(dwarfsck): update manpage with new options 2023-12-20 22:39:50 +01:00
Marcus Holland-Moritz
d9f38425e7 feat(dwarfsck): add --quiet option 2023-12-20 22:39:50 +01:00