2761 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
39d2b53fba refactor(contextual_option): use any_of to implement predicate check 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
2e4f6d2208 fix(dwarfs_main): capture function name for logging in lambda 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
8f9e3cde23 chore: add more clang-tidy diagnostic suppressions 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
c3491befa1 fix: move predeclarations to the correct namespaces 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
3c5ed07b73 fix(mkdwarfs_main): remove unused variable 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
654dff1e3d fix(metadata_types): accumulate using the correct type 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
14b69032fd fix: move iolayer predeclaration to the right namespace 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
0cf59df603 fix: don't forward repeatedly 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
f4d87ee868 chore: suppress some clang-tidy issues 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
99d375e740 chore: use DWARFS_PANIC for code that should never be reached 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
e8e2323eea feat(error): add DWARFS_PANIC 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
6361d8d814 chore: explicitly mark throwing optional access as okay 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
742e6ccca2 refactor(mmif): allow integral types as offset arguments to as/span 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
42a904d4cd fix(logger): wrap macro argument in parentheses 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
9e0860d5bf chore(clang-tidy): enable cert-* 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
dc9e7df42d refactor(fits_categorizer): don't override operator<< in std:: 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
f1f57e9bc2 refactor(dwarfs_main): replace maps with sorted_array_map 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
830bed5d39 refactor(mkdwarfs_main): avoid potentially throwing globals 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
437f81a4b8 refactor(mkdwarfs_main): replace maps with sorted_array_map 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
93ebef9c6d refactor(fstypes): replace maps with sorted_array_map 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
1703bd17b5 refactor(lzma): replace maps/arrays with sorted_array_map 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
689a43b19f feat: add sorted_array_map 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
5bb639af27 refactor(pager): avoid potentially throwing global initializations 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
0086392372 refactor(wcwidth): const all the things 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
7dccf72342 chore(performance_monitor): assert clock_gettime() return value 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
f6e760bfad refactor: explicitly handle release_until() return value 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
57ba60c748 build: try to downgrade to fedora:latest due to cmake-4.0.0 2025-03-15 08:19:07 +01:00
Marcus Holland-Moritz
ed4534c514 build: try to ensure we're building against the right headers 2025-03-15 08:19:07 +01:00
Marcus Holland-Moritz
45ac27bce5 build: fix target_include_directories for gtest/gmock 2025-03-15 08:19:07 +01:00
Marcus Holland-Moritz
9130d2a5de build: separate tests with internal header dependencies 2025-03-15 08:19:07 +01:00
Marcus Holland-Moritz
5a71451d9d build: add more library configuration details to cmake config 2025-03-15 08:19:07 +01:00
Marcus Holland-Moritz
4802438b14 build: move tool lib to tools
This enables us to completely skip the `include` folder when building
with `-DWITH_LIBDWARFS=OFF`. Otherwise, we're using includes that will
potentially not match the includes of the installed library.
2025-03-15 08:19:07 +01:00
Marcus Holland-Moritz
177350b49a chore: sync fsst files from upstream 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
8bfad8c691 docs: avoid nested indentation due to ronn-ng bug (fixes #249)
Given how long the [issue](https://github.com/apjanke/ronn-ng/issues/16)
is open already, it probably won't be fixed very soon.

Furthermore, this makes the documentation of `tidy_strategy` more
consistent with other options (e.g. `mlock`).
2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
ba7332d2e5 chore: update folly/fbthrift 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
65588f3843 chore: include folly/portability/Unistd.h for R_OK etc 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
84e2a0e599 chore: provide single-header fast_float.h for folly/Conv.cpp 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
1f7949d25b chore(similarity_ordering): use new header for folly::Bits 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
dd69d7eb8b chore(block_manager): avoid use of deprecated thrift API 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
732ad42a16 build: no -Werror for the time being 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
9b7a1b939e feat: add a few more metadata consistency checks 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
e13d9cb6eb chore: add binary for fuzzing the reader library 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
6424c6ff85 build: ensure fuzzing binaries can be built without warnings 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
bfadb40615 refactor(test_helpers): improve os_access_mock flexibility / readability 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
5d2fefa918 chore(fstypes): show section version in dump 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
78b8af8f8b feat(filesystem_v2): show compression metadata in dump/info_as_json 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
4538a8a3c8 fix(rewrite_filesystem): only recompress blocks if actually requested 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
48f423504c build: enable -Wnrvo warnings when available 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
c86118fdd7 refactor: enable NRVO in a few places 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
afa370c7fa build: add -Wpessimizing-move 2025-03-14 15:07:49 +01:00