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
8f8c5b1de8
refactor: factor out remaining options from options.h
2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
e4dfd24e8d
refactor: factor out reader options
2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
65f1d28f2b
refactor: move all reader library code to reader namespace
2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
6fd2990928
refactor: move reader library code
2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
c8bfc82140
refactor: internal namespace cleanup
2024-07-28 12:18:29 +02:00
Marcus Holland-Moritz
088849126c
refactor: move offset_cache to internal namespace
2024-07-27 13:57:19 +02:00
Marcus Holland-Moritz
17c72ea47b
fix: gcc false positive warning about cache always being null
2024-06-02 21:40:28 +02:00
Marcus Holland-Moritz
522efd04f7
refactor: switch to using system includes for dwarfs headers
2024-05-22 14:56:08 +02:00
Marcus Holland-Moritz
b5e6398c96
refactor: add parse_image_offset + test
2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
4ab808ced9
fix: utf8_truncate() handling of zero-width chars + test
2024-01-01 22:20:29 +01:00
Marcus Holland-Moritz
9e83ebd312
chore(util): add time point parser
2024-01-01 16:02:31 +01:00
Marcus Holland-Moritz
6d9bb5a75e
test(util): add tests for parse_(time|size)_with_unit
2023-12-29 22:04:54 +01:00
Marcus Holland-Moritz
8dad684368
refactor(utils_test): consistent test naming
2023-12-18 19:12:58 +01:00
Marcus Holland-Moritz
992d4cd51e
Improve path truncation
2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
260b539584
Optimize offset cache for sequential reads
2023-07-06 09:19:15 +02:00
Marcus Holland-Moritz
d57f6e0669
New offset cache + tests
2023-07-05 22:34:08 +02:00
Marcus Holland-Moritz
23e19e7c23
Try to correctly truncate Unicode pathnames
2023-07-04 00:57:15 +02:00
Marcus Holland-Moritz
6ab91a2192
Some tests for path shortening
2023-07-03 15:22:39 +02:00