Marcus Holland-Moritz
e440101b0c
test(sorted_array_map): add more test cases
2025-03-18 13:23:44 +01:00
Marcus Holland-Moritz
1b1e5fc3c5
fix: tool header was incorrectly formatted for universal binary
v0.11.0
2025-03-17 15:34:03 +01:00
Marcus Holland-Moritz
068573a457
chore: update change log
2025-03-17 13:37:58 +01:00
Marcus Holland-Moritz
53fd010da2
build: use ${HOME}
for local directories in workflow
2025-03-17 11:27:40 +01:00
Marcus Holland-Moritz
8bdf6e8a83
build: see if jemalloc works on macOS now
2025-03-17 10:03:18 +01:00
Marcus Holland-Moritz
e1c041aebc
build: fix typo in fast_float option
2025-03-17 10:02:58 +01:00
Marcus Holland-Moritz
b4665bb686
build: also don't build folly with jemalloc
2025-03-17 09:46:38 +01:00
Marcus Holland-Moritz
6b17f3d31f
refactor: only link jemalloc
against executables, not libraries
...
Linking `jemalloc` against executables is enough to replace *all* malloc
functionality with `jemalloc`. Linking it against a library will cause
issues for example with Python bindings. The downside is that Python
won't be using `jemalloc` by default, but likely malloc won't be the
bottleneck when using Python.
2025-03-17 09:42:52 +01:00
Marcus Holland-Moritz
38ef05cde2
refactor: include library dependencies in tool header
2025-03-17 08:39:42 +01:00
Marcus Holland-Moritz
ec3819d1fb
chore: update change log
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
83b2749b08
chore: update clang-tidy config
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
8e32e33b96
refactor: apply clang-tidy readability-*
fixes
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
45098e7913
chore: reformat code using new .clang-format
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
71064e6613
chore: update .clang-format
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
220632a60d
fix(categorizer): no return needed in function returning void
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
d7678a1477
chore(wcwidth): disable readability checks
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
129f4566a3
chore(render_manpage): disable readability checks
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
e8a2cfc916
refactor(categorizer): make requirements parameter a string_view
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
dc59e3be6a
refactor(filesystem_extractor): pass shared_ptr
by const ref
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
64c223ca39
refactor(categorizer): simplify loop using ranges
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
2940b9cf56
refactor: move all movable things
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
5702bd0a12
refactor(performance_monitor): pass namespaces by value
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
1e230b411d
refactor(filesystem_v2): no need to pass shared_ptr
if ref will do
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
ec8cd82268
refactor: no need to move trivial types
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
ce69ea2aba
chore: locally disable some clang-tidy checks
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
07bcc09395
refactor(block_merger): std::endl
-> '\n'
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
d5df4f9deb
refactor: use const refs where pass-by-value is unnecessary
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
fdddf95bfc
refactor: pass perfmon shared_ptr
by const reference
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
ba0bdbdc91
refactor(safe_main): use const ref for std::function
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
cfcd456c76
chore: update clang-tidy checks
2025-03-17 07:15:55 +01:00
Marcus Holland-Moritz
b9a87e4a74
chore(categorizer): std::bind
is simpler than a lambda in this case
2025-03-17 07:15:55 +01:00
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_cast
s
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