2783 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
ab26623b30 refactor: clean up logger.h 2024-11-20 18:47:34 +01:00
Marcus Holland-Moritz
75300dbfc6 fix: sanitize paths on Windows (gh #241) 2024-11-20 18:47:34 +01:00
Marcus Holland-Moritz
09d4748e87 test(tools): invalid file name handling on Windows (gh #241) 2024-11-20 18:47:34 +01:00
Marcus Holland-Moritz
7431bb627c fix(windows): handle invalid wide chars in file names (fixes gh #241)
For some reason, Windows allows invalid UTF-16 characters in file names.
Try to handle these gracefully when converting to UTF-8.
2024-11-20 18:47:34 +01:00
Marcus Holland-Moritz
e8f084d183 fix(logger): handle empty log messages (partial fix for gh #241) 2024-11-20 18:47:34 +01:00
Marcus Holland-Moritz
0757193056 chore(metadata_types): stricter checks and improved error messages 2024-11-20 15:17:12 +01:00
Marcus Holland-Moritz
7a3c16cc92 fix(metadata_types): mode/uid/gid checks were expecting 16-bit types 2024-11-20 15:17:12 +01:00
Marcus Holland-Moritz
68c44d410c test: fix unicode path handling in os_access_mock 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
3c958c3769 fix: add missing include 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
82b556c748 fix: remove useless code 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
96ca461879 fix(filesystem_writer): std::move should have been std::forward 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
e8bca0184d fix: add missing dtor overrides 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
5e959c9cd9 fix(similarity_ordering): ensure dtor is virtual in interface 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
6bfa9f6480 fix(console_writer): add missing header 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
603060d1bc fix: work around benign data race in libunwind 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
109769a32f chore: fix more spelling errors 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
118ce8213e fix: don't pad libarchive output, ever 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
78c37dc6f5 fix(filesystem_extractor): only call closefd() if needed 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
b8459adc05 fix: use shared_ptr to manage archive_entry and prevent leaks 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
5b82810a81 fix(filesystem_extractor): don't forget to increment error count 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
b194c880b2 fix(filesystem_extractor): hard_error is not a bool 2024-11-20 13:31:09 +01:00
Marcus Holland-Moritz
a41d044bff fix(filesystem_v2): remove unimplemented static method declaration 2024-11-20 12:12:38 +01:00
Marcus Holland-Moritz
ff17a20e57 build: try removing more folly libs 2024-11-20 12:08:06 +01:00
Marcus Holland-Moritz
96e6cafdaa refactor(checksum): use array<string_view> instead of unordered_set<string> 2024-11-20 07:38:16 +01:00
Marcus Holland-Moritz
ca69d2b141 fix: install libraries to CMAKE_INSTALL_LIBDIR (fixes gh #240) 2024-11-20 07:32:53 +01:00
Marcus Holland-Moritz
afbd85e4b1 fix(checksum): disable extended output algorithms (e.g. shake(128|256)) 2024-11-20 07:31:03 +01:00
Michael Cho
b14b3b0545 fix: support for upcoming Boost 1.87.0
io_service was deprecated and replaced by io_context in 1.66.0[^1].
The upcoming Boost 1.87.0 will remove the deprecated API[^2].

[^1]: b60e92b13e
[^2]: ec0908c562
2024-11-19 23:08:00 +01:00
Marcus Holland-Moritz
d4d4081dfc docs: fix typos in man pages 2024-08-25 19:56:15 +02:00
Christian Clauss
3e775bf574 README.md: Fix typos discovered by codespell
https://pypi.org/project/codespell
2024-08-25 19:50:27 +02:00
Marcus Holland-Moritz
6c1e8de47e chore: add CITATION.cff 2024-08-25 19:12:12 +02:00
Marcus Holland-Moritz
6c8a1cdbd3 fix: workaround for new boost versions which have a process component 2024-08-25 16:37:16 +02:00
Marcus Holland-Moritz
744e9fb52b docs: badge cleanup 2024-08-25 16:28:23 +02:00
Marcus Holland-Moritz
aa0a2bf4a1 docs: update README to mention install using Homebrew 2024-08-25 15:44:21 +02:00
Marcus Holland-Moritz
3d490e541d chore: update change log v0.10.1 2024-08-17 17:47:23 +02:00
Marcus Holland-Moritz
72581b957e build: disable unused folly features 2024-08-17 15:09:54 +02:00
Marcus Holland-Moritz
751fcc90e7 build: upload windows debug artifact 2024-08-16 19:43:34 +02:00
Marcus Holland-Moritz
62ee7374bc fix(metadata_v2): correctly report block size in info output 2024-08-16 18:45:51 +02:00
Marcus Holland-Moritz
ba54b312c1 build: fix setting of DWARFS_HAVE_LIBBROTLI to a boolean value 2024-08-16 18:16:45 +02:00
Marcus Holland-Moritz
5fbb2ad99d fix(utils_test): u8string triggers linker error with non-C++20 gtest
This is a long standing issue and it's not going to go away, as package
manager prefer that stuff isn't fetched at build time. So we just check
if certain gtest features work with the system-installed version and
work around missing features downstream. Out of the box, with the custom
built ctest, we'll still get all the good stuff. If the system-installed
version is preferred, we probably have some degradation in test output.
2024-08-16 09:58:35 +02:00
Marcus Holland-Moritz
e92f0e9119 docs: mention dwarfs-system-gtest.patch in README.md 2024-08-15 22:42:02 +02:00
Marcus Holland-Moritz
1984775dc4 fix(test_helpers): don't memset simplestat 2024-08-15 22:04:19 +02:00
Marcus Holland-Moritz
3ced13afe7 build: suppress error until this is fixed upstream 2024-08-15 22:04:19 +02:00
Marcus Holland-Moritz
d755d351d3 build: bump preferred library versions 2024-08-15 21:17:32 +02:00
Marcus Holland-Moritz
abd8c3d7d9 build: workaround for wrong gtest includes found on macOS 2024-08-15 21:13:12 +02:00
Marcus Holland-Moritz
a1496f0953 build: set FOLLY_USE_JEMALLOC 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
969d527391 chore: remove unused stream members in test_terminal 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
011b8b1af5 fix: remove unused this capture 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
61336c941a build: include universal binary in coverage build 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
7084f734ad build: only build test_strings when needed 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
3806e60c65 build: include test_helpers in coverage analysis 2024-08-15 16:42:17 +02:00