108 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
969d527391 chore: remove unused stream members in test_terminal 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
e4dfd24e8d refactor: factor out reader options 2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
c2513f4e81 test: add env variable to allow skipping slow tests in CI 2024-08-13 11:53:01 +02:00
Marcus Holland-Moritz
9c34a30230 test: remove folly dependency from tool_main_test 2024-08-12 17:32:04 +02:00
Marcus Holland-Moritz
68c2538d7b build: switch from using compile_definitions to config.h 2024-08-12 17:32:04 +02:00
Marcus Holland-Moritz
e81c2de507 refactor: move writer library to writer namespace 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
65f1d28f2b refactor: move all reader library code to reader namespace 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
6fd2990928 refactor: move reader library code 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
b924be0610 test: more filesystem writer error test cases 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
099a7b3727 refactor: introduce main_adapter and remove main overloads 2024-08-02 17:44:55 +02:00
Marcus Holland-Moritz
db75114105 refactor: move more code to tool namespace 2024-08-02 16:22:41 +02:00
Marcus Holland-Moritz
248a16c7bb refactor: remove deprecated dump / info_as_json methods 2024-08-01 10:17:23 +02:00
Marcus Holland-Moritz
964a4f49e6 refactor(file_stat): turn into proper object with hidden data 2024-07-31 22:36:13 +02:00
Marcus Holland-Moritz
eb8b751146 feat(filesystem_v2): more flexible read API 2024-07-29 23:51:37 +02:00
Marcus Holland-Moritz
ce16e74646 refactor: add error_code/throwing versions of open 2024-07-28 19:50:13 +02:00
Marcus Holland-Moritz
3ae80f564e refactor: cleanup read/readv APIs 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
62899bbd73 refactor: remove access version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
6a2cc3f860 refactor: remove getattr version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
404d89908c refactor(history): don't require thrift definitions in public API 2024-07-28 15:19:38 +02:00
Marcus Holland-Moritz
9d04a07210 refactor: replace folly::enumerate with ranges::views::enumerate 2024-07-28 12:30:39 +02:00
Marcus Holland-Moritz
2ca18e776b refactor: drop Expected readv API for now 2024-07-26 23:31:51 +02:00
Marcus Holland-Moritz
ac56927aef refactor: drop Expected readlink API for now 2024-07-26 23:31:51 +02:00
Marcus Holland-Moritz
522efd04f7 refactor: switch to using system includes for dwarfs headers 2024-05-22 14:56:08 +02:00
Marcus Holland-Moritz
96a0afed95 refactor: folly::dynamic -> nlohmann::json, part 1 2024-05-14 17:59:33 +02:00
Marcus Holland-Moritz
21901d7c2d test: don't rely on FLAC compression being available 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
125121b7ca fix(mkdwarfs): filter rules did not work correctly when input is root dir 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
ff0aa79254 test: fix perfmon check 2024-04-29 22:55:07 +02:00
Marcus Holland-Moritz
e37a428af9 test: add tests for file_scanner::dump() 2024-04-29 18:50:46 +02:00
Marcus Holland-Moritz
7bdc90223a fix(file_scanner): unexpected "inode has no file" (fixes gh #217)
When introducing an optimization to skip hashing of large files if they
already differ in the first 4 KiB, only `unique_size_` was updated to
be keyed on (size, start_hash). However, the same change is necessary
for `first_file_hashed_`, as there can otherwise be collisions if files
with the same size, but different start hashes are processed at the same
time.
2024-04-29 18:50:46 +02:00
Marcus Holland-Moritz
5fca0b2bc4 test(perfmon): test trace output 2024-04-28 09:06:31 +02:00
Marcus Holland-Moritz
b5054c0d42 test(block_cache): sequential access detector tests 2024-04-28 09:06:31 +02:00
Marcus Holland-Moritz
2f13a26bab test: add --recompress test for null compression (gh #193) 2024-02-11 10:50:21 +01:00
Marcus Holland-Moritz
e16cce2a15 fix(file_scanner): fix hardlink processing in presence of errors 2024-02-09 18:52:35 +01:00
Marcus Holland-Moritz
8831009a52 feat(dwarfsck): add --list, --checksum, --verbose (fixes gh #192) 2024-02-07 20:59:47 +01:00
Marcus Holland-Moritz
b54347d341 refactor(tool_main_test): more relaxed error message tests 2024-02-07 17:29:26 +01:00
Marcus Holland-Moritz
9d104f5ec6 test: enable unicode progress tests on Windows 2024-02-06 10:20:58 +01:00
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