63 Commits (32bcbd73e0988d2d2237690ffae33b4f5cc5ff81)

Author SHA1 Message Date
  Julian Andres Klode 32bcbd73e0 Sandbox methods with seccomp-BPF; except cdrom, gpgv, rsh 3 years ago
  Julian Andres Klode 87274d0f22 Reformat and sort all includes with clang-format 4 years ago
  David Kalnischkies 2984d7aec3 stop rred from leaking debug messages on recovered errors 4 years ago
  David Kalnischkies 644478e8db try not to call memcpy with length 0 in hash calculations 4 years ago
  David Kalnischkies 3006044202 implement generic config fallback for methods 5 years ago
  David Kalnischkies 0e071dfe20 rred: truncate result file before writing to it 5 years ago
  David Kalnischkies 6e71ec6fcd verify hash of input file in rred 5 years ago
  David Kalnischkies 8b79c94af7 use std::locale::global instead of setlocale 5 years ago
  Julian Andres Klode 610e13842a rred: If there were I/O errors, fail 5 years ago
  David Kalnischkies 2651f1c071 act on various suggestions from cppcheck 5 years ago
  David Kalnischkies 4e3c5633b1 allow pdiff bootstrap from all supported compressors 5 years ago
  Julian Andres Klode 4fcff7ed46 rred: Run in parallel 5 years ago
  Julian Andres Klode 1924be129e rred: Use buffered writes 5 years ago
  Julian Andres Klode 18b1628146 rred: Only call pkgInitConfig() in test mode 5 years ago
  Julian Andres Klode 74dedb4ae2 Convert most callers of isspace() to isspace_ascii() 5 years ago
  Julian Andres Klode 46cddb8c1a rred: Allow passing files as arguments for compressor testing 5 years ago
  David Kalnischkies 258b9e512c apply various suggestions made by cppcheck 5 years ago
  David Kalnischkies 23e64f6d0f allow acquire method specific options via Binary scope 5 years ago
  David Kalnischkies 95278287f4 avoid using global PendingError to avoid failing too often too soon 5 years ago
  David Kalnischkies d7a51997c3 implement PDiff patching for compressed files 5 years ago
  David Kalnischkies 3b3028467c add c++11 override marker to overridden methods 6 years ago
  David Kalnischkies c69e837094 replace ULONG_MAX with c++ style std::numeric_limits 6 years ago
  David Kalnischkies 4f51fd8636 support hashes for compressed pdiff files 6 years ago
  David Kalnischkies 6d3e5bd8e0 add more parsing error checking for rred 6 years ago
  David Kalnischkies 3679515479 check patch hashes in rred worker instead of in the handler 6 years ago
  David Kalnischkies 9224ce3d4d calculate only expected hashes in methods 6 years ago
  David Kalnischkies 9dd940ed72 Assert statement calls a function which may have desired side effects: 'pos_is_okay' 6 years ago
  David Kalnischkies 453b82a388 cleanup headers and especially #includes everywhere 7 years ago
  David Kalnischkies 6298ff8b64 fix -Wformat= warnings about size_t != %lu on e.g. armel 7 years ago
  David Kalnischkies 246bbb611d use utimes instead of utimensat/futimens 7 years ago
  David Kalnischkies 25d99f3b42 fix various style/performance warnings in rred 7 years ago
  Anthony Towns 2fd754cfe9 methods/rred: minor robustness improvements 7 years ago
  David Kalnischkies 50bd6fd379 integrate Anthonys rred with POC for client-side merge 7 years ago
  Anthony Towns dbd5418b89 reimplement rred to allow applying all the diffs in a single pass 7 years ago
  David Kalnischkies 47d2bc78ad implement POC client-side merging of pdiffs via apt-file 7 years ago
  David Kalnischkies 4ac4a98e16 we don't need zlib (anymore) in rred so don't include it 9 years ago
  David Kalnischkies 136a6c13c8 make these retry_write methods static so that they don't end up as symbols 9 years ago
  David Kalnischkies 319790f4f8 * methods/rred.cc: 9 years ago
  David Kalnischkies aaab100753 fix a few esoteric cppcheck errors/warnings/infos 9 years ago
  David Kalnischkies f23a94d53e as Size() can be quiet expensive for compressed files lets store the result 9 years ago
  David Kalnischkies 29966fd1cc implement the fallback method of rred by using the FileFd and the included 9 years ago
  David Kalnischkies 032bd56ff8 - add a ReadLine method 9 years ago
  David Kalnischkies 468720c59f enable FileFd to guess the compressor based on the filename if requested or 9 years ago
  David Kalnischkies 472ff00ef2 use forward declaration in headers if possible instead of includes 9 years ago
  David Kalnischkies 8f3ba4e870 do not pollute namespace in the headers with using (Closes: #500198) 9 years ago
  David Kalnischkies 650faab016 Support large files in the complete toolset. Indexes of this 10 years ago
  David Kalnischkies ea54214002 reorder includes: add <config.h> if needed and include it at first 10 years ago
  David Kalnischkies f5a34606b4 follow the recommendation of cppcheck to make some method methods (scnr) 10 years ago
  David Kalnischkies 2a79d5b560 * apt-pkg/contrib/fileutl.cc: 10 years ago
  David Kalnischkies 0054283878 update size of dynamic MMap as we write in from the outside 10 years ago