72 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
6f738f8f02 fix: sanitize UTF-8 strings, plus tests (fixes gh #191) 2024-02-06 10:20:58 +01:00
Marcus Holland-Moritz
a439edd88d feat: add ricepp compression and simple FITS categorizer 2024-02-02 14:23:21 +01:00
Marcus Holland-Moritz
a97161e6da feat: support building on OSX (should address gh #132) 2024-01-30 21:59:54 +01:00
Marcus Holland-Moritz
5d1992d06b refactor: replace gtest regexes with std::regex in tests 2024-01-23 15:16:07 +01:00
Marcus Holland-Moritz
45439b5346 test: improve test speed and test more options 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
06e1910554 refactor: pass os_access to worker_group and other classes 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
b9f8e61229 chore: clean separation between is_tty() and is_fancy() for terminal 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
b11725b495 fix(mkdwarfs): don't store inodes with inconsistent fragments 2024-01-16 18:21:28 +01:00
Marcus Holland-Moritz
860912e5e4 refactor: get rid of std::endl 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
fd005e0e06 feat(filesystem): load image even if non-metadata sections are corrupt 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
70d3c8232d test: check inode dumps in the presence of read/map errors 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
6cf799a96e test: test log context presence and option 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
96a0ae1156 feat(logging): consolidate log option handling, add --log-with-context 2024-01-15 22:08:44 +01:00
Marcus Holland-Moritz
2d4d8e79c9 fix: correctly handle delayed file access errors 2024-01-15 21:09:51 +01:00
Marcus Holland-Moritz
f08dec266b refactor: more flexible random file tree generation for testing 2024-01-15 08:34:16 +01:00
Marcus Holland-Moritz
0446513c06 fix: make sure exceptions in worker threads produce an error message 2024-01-14 20:16:06 +01:00
Marcus Holland-Moritz
179cfb8928 fix(inode_manager): handle file mapping errors 2024-01-14 17:26:58 +01:00
Marcus Holland-Moritz
3be0715c1f fix(segmenter): repeating sequence detection was broken + test
This never properly worked for bytes >= 0x10 due to hash collisions
in the map that was used to verify the repeating sequence.
2024-01-14 14:25:08 +01:00
Marcus Holland-Moritz
c322708a7b test: add filesystem read error tests 2024-01-14 10:59:44 +01:00
Marcus Holland-Moritz
27ac296248 test: add history tests 2024-01-14 10:59:29 +01:00
Marcus Holland-Moritz
66533bad99 chore: try to make gmock regexes somewhat portable 2024-01-13 20:14:13 +01:00
Marcus Holland-Moritz
8ebb06c482 test: make random file tree more random 2024-01-13 19:16:50 +01:00
Marcus Holland-Moritz
2d12cd6c30 test(mkdwarfs): add test for fancy vs. non-fancy logging 2024-01-13 19:08:24 +01:00
Marcus Holland-Moritz
95c50920f5 feat(mkdwarfs): exit with code 2 in case of recoverable errors 2024-01-13 18:49:06 +01:00
Marcus Holland-Moritz
f90bec0235 test(mkdwarfs): colored logs test 2024-01-13 18:41:27 +01:00
Marcus Holland-Moritz
5dd8715964 test(mkdwarfs): more error tests 2024-01-13 15:43:20 +01:00
Marcus Holland-Moritz
5cf79e2208 test(mkdwarfs): low memory limit warning 2024-01-13 15:26:32 +01:00
Marcus Holland-Moritz
00ef910ef3 test(dwarfsck): more header and image check tests 2024-01-13 11:19:59 +01:00
Marcus Holland-Moritz
cc2a03446f test(metadata): add inode_info test 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
30f9c776d9 test: always assert tester.run() success 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
8649cb93cb test(metadata): add opendir/readdir tests 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
70d6f1008d fix(metadata): access() should work according to mode flags 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
fc65375da6 refactor: tweak some tests for better performance 2024-01-13 07:49:51 +01:00
Marcus Holland-Moritz
f9785318d0 test(metadata): special file and time resolution tests 2024-01-13 00:27:47 +01:00
Marcus Holland-Moritz
b7cdf93072 test(mkdwarfs): add large input list test 2024-01-12 23:58:34 +01:00
Marcus Holland-Moritz
c205c37c54 test(mkdwarfs): test for filter recursion detection 2024-01-12 23:58:06 +01:00
Marcus Holland-Moritz
077763d26c test(metadata): add path and modestring tests 2024-01-12 23:58:03 +01:00
Marcus Holland-Moritz
ae7de2486a fix(mkdwarfs): make --max-similarity-size work again + tests 2024-01-09 09:54:46 +01:00
Marcus Holland-Moritz
e00ac88909 chore: improve option_map implementation 2024-01-07 12:12:40 +01:00
Marcus Holland-Moritz
1c9030e552 feat: simpler and more user friendly nilsimsa options 2024-01-07 11:44:50 +01:00
Marcus Holland-Moritz
a1ba52d146 chore(dwarfsextract): use iolayer abstractions for mapping image 2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
55b0a19603 test: add basic dwarfsextract_main tests 2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
e7c398dadd refactor: extract common code from tool tester classes 2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
8a21dc4ece test: add very basic progress test 2024-01-05 00:43:51 +01:00
Marcus Holland-Moritz
205c2f6630 test(mkdwarfs): add more metadata requirements tests 2024-01-05 00:00:16 +01:00
Marcus Holland-Moritz
cd9be29d61 test(mkdwarfs): corrupt input image when rewriting 2024-01-04 23:59:45 +01:00
Marcus Holland-Moritz
4868612f4d fix: error handling when using compression with metadata requirements 2024-01-04 12:06:50 +01:00
Marcus Holland-Moritz
3c552eb3df test(mkdwarfs): add output file tests 2024-01-03 13:17:26 +01:00
Marcus Holland-Moritz
8e4ecd6a9f test: add filesystem header tests 2024-01-03 12:43:14 +01:00
Marcus Holland-Moritz
accece15fd test(mkdwarfs): metadata packing options 2024-01-03 11:49:06 +01:00