summaryrefslogtreecommitdiff
path: root/methods/rred.cc
AgeCommit message (Expand)AuthorFilesLines
2015-12-27rred: Use buffered writesJulian Andres Klode1-3/+7
2015-12-27rred: Only call pkgInitConfig() in test modeJulian Andres Klode1-2/+2
2015-12-27Convert most callers of isspace() to isspace_ascii()Julian Andres Klode1-0/+3
2015-12-26rred: Allow passing files as arguments for compressor testingJulian Andres Klode1-2/+14
2015-11-05apply various suggestions made by cppcheckDavid Kalnischkies1-2/+2
2015-11-05allow acquire method specific options via Binary scopeDavid Kalnischkies1-12/+3
2015-09-14avoid using global PendingError to avoid failing too often too soonDavid Kalnischkies1-1/+1
2015-08-28implement PDiff patching for compressed filesDavid Kalnischkies1-37/+47
2015-08-10add c++11 override marker to overridden methodsDavid Kalnischkies1-2/+2
2015-06-09replace ULONG_MAX with c++ style std::numeric_limitsDavid Kalnischkies1-2/+2
2015-06-09support hashes for compressed pdiff filesDavid Kalnischkies1-1/+1
2015-06-09add more parsing error checking for rredDavid Kalnischkies1-21/+49
2015-06-09check patch hashes in rred worker instead of in the handlerDavid Kalnischkies1-10/+52
2015-04-19calculate only expected hashes in methodsDavid Kalnischkies1-1/+1
2014-11-08Assert statement calls a function which may have desired side effects: 'pos_i...David Kalnischkies1-2/+2
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-3/+2
2014-03-13fix -Wformat= warnings about size_t != %lu on e.g. armelDavid Kalnischkies1-6/+6
2014-02-11use utimes instead of utimensat/futimensDavid Kalnischkies1-4/+5
2014-01-30fix various style/performance warnings in rredDavid Kalnischkies1-43/+24
2014-01-21methods/rred: minor robustness improvementsAnthony Towns1-19/+20
2014-01-15integrate Anthonys rred with POC for client-side mergeDavid Kalnischkies1-68/+26
2014-01-15reimplement rred to allow applying all the diffs in a single passAnthony Towns1-600/+684
2013-12-13implement POC client-side merging of pdiffs via apt-fileDavid Kalnischkies1-32/+96
2012-05-10we don't need zlib (anymore) in rred so don't include itDavid Kalnischkies1-1/+0
2012-03-22make these retry_write methods static so that they don't end up as symbolsDavid Kalnischkies1-1/+1
2012-03-20* methods/rred.cc:David Kalnischkies1-5/+20
2012-01-20fix a few esoteric cppcheck errors/warnings/infosDavid Kalnischkies1-1/+6
2012-01-10as Size() can be quiet expensive for compressed files lets store the resultDavid Kalnischkies1-3/+5
2011-12-18implement the fallback method of rred by using the FileFd and the includedDavid Kalnischkies1-37/+12
2011-12-11 - add a ReadLine methodDavid Kalnischkies1-28/+14
2011-12-10enable FileFd to guess the compressor based on the filename if requested orDavid Kalnischkies1-1/+1
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-0/+1
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-2/+2
2011-09-13merge with debian/experimentalDavid Kalnischkies1-2/+5
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies1-1/+1
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-0/+2
2011-08-11follow the recommendation of cppcheck to make some method methods (scnr)David Kalnischkies1-2/+5
2011-02-14* apt-pkg/contrib/fileutl.cc:David Kalnischkies1-1/+1
2011-02-13update size of dynamic MMap as we write in from the outsideDavid Kalnischkies1-3/+8
2011-02-12* methods/rred.cc:David Kalnischkies1-2/+4
2011-01-15* methods/rred.cc:David Kalnischkies1-9/+40
2010-08-10apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode1-2/+2
2010-05-04* methods/rred.cc:David Kalnischkies1-8/+11
2009-12-11Backport rred patches from my own sid branch to the 0.7.25 branchDavid Kalnischkies1-184/+464
2009-09-08add text at the top without failing in rred (Closes: #545694)David Kalnischkies1-1/+1
2005-08-29* debug support (Debug::pkgAcquire::RRed) for rred method addedMichael Vogt1-0/+16
2005-08-23* method/rred.cc cleanup (thanks to robertle)Michael Vogt1-143/+149
2005-08-22* bugfix/updates in the rred.cc code (big thanks for helping Robert!)Michael Vogt1-9/+35
2005-08-22* rred.cc: use the d'tor of FileFd to close the file-fd; acquuire-item.cc: ma...Michael Vogt1-9/+2
2005-08-19* use the new cool rred method for the patchtingMichael Vogt1-1/+1