2597 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
848d346cdf refactor(block_cache): east const 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
a3182ae851 refactor: use std::cmp_* instead of static_casts 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
d11a591837 chore(segmenter): cannot easily use ranges algorithms for bloom filter 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
e252182171 chore(block_cache): cannot easily use std::ranges heap operations 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
ab8f67619f refactor: prefer std::ranges:: algorithm variants 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
ca530f6cd1 refactor(filesystem_v2): prefer emplace_back for vector of optionals 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
f630402e19 refactor(worker_group): use range-based for 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
b945c2a23f refactor(lzma): prefer nullptr over NULL 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
fabcf6d367 refactor: prefer raw strings for strings with lots of escapes 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
4b308e602e chore: document that we can't use ranges:: for erase-remove-idiom 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
fa3438a40a refactor(cyclic_hash): use auto for static_cast result 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
95dc0fea3b refactor(chunkable): clean up namespaces 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
40277841cc refactor(logger): use std::conditional_t over std::conditional 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
240a6a49da refactor(segmenter_factory): move shared_ptr 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
2671153206 refactor: avoid duplicate return type and use braced initializer list 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
348760ff67 chore: enable more clang-tidy rules 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
b808e8f3a3 refactor(pcmaudio): use std::array instead of C-style arrays 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
7efa82854a refactor(fstypes): use std::array for magic / SHA2 members 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
37881a8f90 refactor(filesystem_extractor): use std::array for pipes 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
7eecd6ab6c refactor(metadata_v2): emplace char const* into string vector 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
cdbf316843 refactor(filesystem_writer): use std::array in copy_stream 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
a50ba46fab refactor(dwarfs_main): use std::array for dwarfs_opts 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
ae35a80400 fix(filesystem_writer): make impl_ private 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
f343223d0d fix(filesystem_writer): add noexcept to dtor and move ops 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
40e8ffc5a3 refactor(mkdwarfs_main): hide members in categorize_optval 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
0a380ece6c refactor(logger): add clang-tidy exception 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
fdcc93501b chore: add more clang-tidy exceptions 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
807dbb9aef refactor: make sure jemalloc version in always initialized 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
bdb5469b7b refactor: use static_cast instead of reinterpret_cast 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
5b8e7acbc9 chore: add a few more clang-tidy exceptions 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
53286d00a9 chore: enable more clang-tidy diagnostics 2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
0cc0ecd860 chore(filesystem_extractor): handle all cases in archive result switch 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
ca35c7b929 chore(filesystem_writer): panic on exception thrown in dtor 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
446c0d443d refactor(inode_manager): only forward scanner once 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
e8874aae1f refactor(mkdwarfs_main): copy optional as-is 2025-03-17 07:15:54 +01:00
Marcus Holland-Moritz
64c9e384ef refactor(pcmaudio): modernize ID comparison 2025-03-17 07:15:54 +01:00
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