Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | we don't need zlib (anymore) in rred so don't include it | David Kalnischkies | 2012-05-10 | 1 | -1/+0 |
| | |||||
* | make these retry_write methods static so that they don't end up as symbols | David Kalnischkies | 2012-03-22 | 1 | -1/+1 |
| | |||||
* | * methods/rred.cc: | David Kalnischkies | 2012-03-20 | 1 | -5/+20 |
| | | | | | | | | | | | - check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends | ||||
* | fix a few esoteric cppcheck errors/warnings/infos | David Kalnischkies | 2012-01-20 | 1 | -1/+6 |
| | |||||
* | as Size() can be quiet expensive for compressed files lets store the result | David Kalnischkies | 2012-01-10 | 1 | -3/+5 |
| | |||||
* | implement the fallback method of rred by using the FileFd and the included | David Kalnischkies | 2011-12-18 | 1 | -37/+12 |
| | | | | ReadLine instead of accessing the files directly with fgets() | ||||
* | - add a ReadLine method | David Kalnischkies | 2011-12-11 | 1 | -28/+14 |
| | | | - drop the explicit export of gz-compression handling | ||||
* | enable FileFd to guess the compressor based on the filename if requested or | David Kalnischkies | 2011-12-10 | 1 | -1/+1 |
| | | | | | to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression | ||||
* | use forward declaration in headers if possible instead of includes | David Kalnischkies | 2011-09-19 | 1 | -0/+1 |
| | |||||
* | do not pollute namespace in the headers with using (Closes: #500198) | David Kalnischkies | 2011-09-19 | 1 | -2/+2 |
| | |||||
* | merge with debian/experimental | David Kalnischkies | 2011-09-13 | 1 | -2/+5 |
|\ | |||||
| * | follow the recommendation of cppcheck to make some method methods (scnr) | David Kalnischkies | 2011-08-11 | 1 | -2/+5 |
| | | | | | | | | const and initial mostly Debug member values in the constructors | ||||
* | | Support large files in the complete toolset. Indexes of this | David Kalnischkies | 2011-09-13 | 1 | -1/+1 |
| | | | | | | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895) | ||||
* | | reorder includes: add <config.h> if needed and include it at first | David Kalnischkies | 2011-09-13 | 1 | -0/+2 |
|/ | |||||
* | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2011-02-14 | 1 | -1/+1 |
| | | | | | | | - really detect bigendian machines by including config.h, so we can really (Closes: #612986) * apt-pkg/contrib/mmap.cc: - Base has as 'valid' failure states 0 and -1 so add a simple validData method to check for failure states | ||||
* | update size of dynamic MMap as we write in from the outside | David Kalnischkies | 2011-02-13 | 1 | -3/+8 |
| | |||||
* | * methods/rred.cc: | David Kalnischkies | 2011-02-12 | 1 | -2/+4 |
| | | | - read patch into MMap only if we work on uncompressed patches | ||||
* | * methods/rred.cc: | David Kalnischkies | 2011-01-15 | 1 | -9/+40 |
| | | | | | - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred | ||||
* | apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic. | Julian Andres Klode | 2010-08-10 | 1 | -2/+2 |
| | |||||
* | * methods/rred.cc: | David Kalnischkies | 2010-05-04 | 1 | -8/+11 |
| | | | | - use the patchfile modification time instead of the one from the "old" file - thanks to Philipp Weis for noticing! (Closes: #571541) | ||||
* | Backport rred patches from my own sid branch to the 0.7.25 branch | David Kalnischkies | 2009-12-11 | 1 | -184/+464 |
| | | | | | | | | | | * rewrite and refactor rred method to be able to handle even big (>30 MB) patches (Closes: #554349) and hardening the method itself by using more constants and a return value which can't be misinterpreted as linenumber * Finally adope the patch from Morten Hustveit <morten@debian.org> to be able to optional use mmaps and iovec to increase patch speed - but as this increase memory usage we can always fall back to the "old" method which doesn't depend on mmaps. | ||||
* | add text at the top without failing in rred (Closes: #545694) | David Kalnischkies | 2009-09-08 | 1 | -1/+1 |
| | | | | Patch from Bernhard R. Link, thanks! | ||||
* | * debug support (Debug::pkgAcquire::RRed) for rred method added | Michael Vogt | 2005-08-29 | 1 | -0/+16 |
| | |||||
* | * method/rred.cc cleanup (thanks to robertle) | Michael Vogt | 2005-08-23 | 1 | -143/+149 |
| | |||||
* | * bugfix/updates in the rred.cc code (big thanks for helping Robert!) | Michael Vogt | 2005-08-22 | 1 | -9/+35 |
| | |||||
* | * rred.cc: use the d'tor of FileFd to close the file-fd; acquuire-item.cc: ↵ | Michael Vogt | 2005-08-22 | 1 | -9/+2 |
| | | | | make the QueueNextDiff() code more robust | ||||
* | * use the new cool rred method for the patchting | Michael Vogt | 2005-08-19 | 1 | -1/+1 |
| | |||||
* | * added methods/rred.cc (thanks to robertle) | Michael Vogt | 2005-07-28 | 1 | -0/+221 |