2695 Commits

Author SHA1 Message Date
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
Marcus Holland-Moritz
9df98e69f0 build: -Wuseless-cast is a C++ warnings 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
5202677d6c refactor(fragment_order_parser): use constexpr array instead of map 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
1d12e081c7 refactor(global_entry_data): use flat_hash_map instead of F14FastMap
The F14 map in combination with range-v3 was causing strange warning
with some versions of GCC:

```
    inlined from 'static void dwarfs::writer::internal::global_entry_data::index(map_type<std::__cxx11::basic_string<char>, unsigned int>&)' at /home/mhx/git/github/dwarfs/src/writer/internal/global_entry_data.cpp:63:51:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_iterator_base_funcs.h:162:7: error: iteration 288230376151711743 invokes undefined behavior [-Werror=aggressive-loop-optimizations]
  162 |       while (__n--)
      |       ^~~~~
```
2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
7020b4a10d fix: ranges::views::join with string literal includes \0 in result 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
a340410365 fix: remove access() implementation from FUSE driver (see gh #244) 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
f3afc72ea0 feat(lzma): support more lzma options (mode, mf, nice, depth) 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
294d711db2 fix: explicitly set UTF8 code page on windows 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
7a7d336176 test: add debug output for tools test 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
1bad002150 test: default initialize members 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
329d342e7e refactor(pages): string -> string_view 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
56dedbd05e build: update preferred version of parallel hashmap 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
a8938d5623 test: speed up tools test 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
b349e584e0 feat: support case-insensitive lookups (fixes gh #232) 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
f01f4a4ed2 refactor(metadata_v2): no need to prefix with internal:: 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
3a895769de feat: allow uid/gid override in filesystem and FUSE driver (see gh #244) 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
2ff7602192 feat: support extracting only files matching glob patterns (fixes gh #243) 2025-03-14 15:07:49 +01:00