1785 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
f9f9b0b6fc Try FLAC static build again 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
fdde5ea3e2 Fetch libflac if we have to 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
1940f48b06 Let's see if flac-1.3.3 is good enough 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
03fab6e246 Show progress for file hashing 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
8e84faf0a1 Factor out scanner progress class 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
cee06b28f6 Delay compression progress until we actually start compressing 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
6d582cb3dc Attempt to fix flaky tools test on Windows 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
e3f739d6e2 Compression progress and progress context priority 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
6254dcd35b Improve progress contexts 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
6c3fadbf13 Expose utf8_truncate 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
706b5e2be7 More flexible terminal coloring code 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
053bb82726 Update command line help 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
aa64bab88a Tweak progress/scanning parameters slightly 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
fa94168ea0 Add scanning / categorizing progress 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
7f563432a6 Give a little more space to speedometer 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
323ece6589 Fix update_progress for files >4GiB 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
af8aafc30f Fix compilation with older GCC versions 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
992d4cd51e Improve path truncation 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
94c377379b Segmenter context progress 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
b247654a77 Improved progress context support 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
cacf8d212b Remove sync() call in progress class 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
b43500219a Remove old nilsimsa progress variables 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
6b855c57fd Remove debug_progress_ in console_writer 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
8913a86ad1 Simplify inode manager category interface 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
ff6586d8fd Add chunkable::get_file 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
e4b09aae2f Remove inode_chunkable 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
978f689f8f Simple local progress context 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
7be9aa7585 Add reverse path ordering 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
1e80009d45 Segmenter cleanup 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
026f57ccb7 Improve logging 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
a9636a3f0b Improve segmenter logging 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
5a9c7f823e Add verbose logging level 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
cbc8d6759a Pre-generate more segmenter code paths 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
802f876f6e Factor out common code in inode manager 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
03da4120e5 Allow larger bloom filters 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
65a16dc214 Fix bug where match frames were not properly converted to bytes 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
24829e2efe Allow disabling of the segmenter 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
42dc2986f9 Show total category sizes 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
86e19e3886 Fix bloom filter size computation for granularity > 1 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
0f6a33af17 Fix block size computation 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
7b2fd03572 Final granularity tweaks 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
cf388ee24a Move logging from dtor to finish() 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
4eb512b6ed No ranges code for now, sadly, as this breaks clang-15 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
029b4def9c first draft of adding granularity support to segmenter 2023-12-17 23:01:36 +01:00
Marcus Holland-Moritz
c903f6b265 Add constexpr rsync_hash::repeating_window() 2023-12-17 23:01:36 +01:00
Marcus Holland-Moritz
db4499847e Set default compression correctly 2023-12-17 23:01:36 +01:00
Marcus Holland-Moritz
75d8159d85 Add granularity size assertions 2023-12-17 23:01:36 +01:00
Marcus Holland-Moritz
d82eed8513 Simplify & cleanup in segmenter 2023-12-17 23:01:36 +01:00
Marcus Holland-Moritz
19b3424a3c Add constrained_block_size to granularity policy 2023-12-17 23:01:36 +01:00
Marcus Holland-Moritz
18b306033b Add check_chunkable_size in granularity policy 2023-12-17 23:01:36 +01:00