218 Commits (f19d6a77f60b876e5453614d24886aabdd242ef6)

Author SHA1 Message Date
David Kalnischkies b711c01e77 improve error reporting in case of errors in combination with zlib 11 years ago
David Kalnischkies 4046885049 usage of Skipping in pipes can't work, so we ignore-read instead 11 years ago
David Kalnischkies 1abbc47c04 keep track of where we are in a filedescriptor so we can use it as Tell() 11 years ago
David Kalnischkies 6fd947bd48 try seeking on fds opened with OpenDescriptor before giving up 11 years ago
David Kalnischkies 561f860a38 refactor compressor calling so that we don't (need to) export ExecCompressor 11 years ago
David Kalnischkies 52b47296f6 use FileFd instead of forking the compression childs by hand 11 years ago
David Kalnischkies aee1aac6f7 allow Open() and OpenDescriptor() to be called with a Compressor 11 years ago
David Kalnischkies 73437844e2 note to myself: In case you rename something, make sure that you have 11 years ago
David Kalnischkies 699b209e51 Allow the FileFd to use an external Compressor to uncompress a given file 11 years ago
David Kalnischkies 032bd56ff8 - add a ReadLine method 11 years ago
David Kalnischkies 76a763e1f8 * apt-pkg/contrib/fileutl.{h,cc}: 11 years ago
David Kalnischkies 468720c59f enable FileFd to guess the compressor based on the filename if requested or 11 years ago
David Kalnischkies 257e8d668c split up the OpenMode into OpenMode and CompressionMode and 11 years ago
David Kalnischkies 650faab016 Support large files in the complete toolset. Indexes of this 11 years ago
David Kalnischkies ea54214002 reorder includes: add <config.h> if needed and include it at first 11 years ago
Michael Vogt 2ec858bc68 * apt-pkg/contrib/fileutl.{cc,h}: 11 years ago
Michael Vogt cfba4f6908 * apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc: 11 years ago
David Kalnischkies 0ff1a4556c * apt-pkg/contrib/fileutl.cc: 11 years ago
David Kalnischkies 2a79d5b560 * apt-pkg/contrib/fileutl.cc: 11 years ago
David Kalnischkies 2cae0ccb49 use inttypes to avoid suprises with different type sizes 11 years ago
David Kalnischkies f330c0f347 * apt-pkg/contrib/fileutl.cc: 11 years ago
David Kalnischkies 491058e357 ignore non-regular files in GetListOfFilesInDir (Closes: #594694) 12 years ago
David Kalnischkies 36f1098aed * apt-pkg/contrib/fileutl.cc: 12 years ago
David Kalnischkies 4260fd3972 * apt-pkg/contrib/fileutl.cc: 12 years ago
Michael Vogt 44dc669e08 apt-pkg/contrib/fileutl.cc: fix FileFd::Size() for files that are empty or for non-gzip files 12 years ago
Martin Pitt 9c182afa04 * apt-pkg/contrib/fileutl.cc: 12 years ago
David Kalnischkies 7753e4684e rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeeded 12 years ago
David Kalnischkies b29c37128c * apt-pkg/deb/dpkgpm.cc: 12 years ago
David Kalnischkies 5edc3966e2 * apt-pkg/contrib/fileutl.cc: 12 years ago
Julian Andres Klode fc81e8f2de apt-pkg/contrib/fileutl.cc: Revert WriteEmpty to old behavior (LP: #613211) 12 years ago
Julian Andres Klode 4a9db82795 apt-pkg/contrib/fileutl.cc: Add WriteAtomic mode. 12 years ago
Julian Andres Klode 144c096976 * apt-pkg/contrib/fileutl.cc: 12 years ago
David Kalnischkies 62d073d937 check the state of the FileFd before renaming as otherwise the rename 12 years ago
martin@piware.de d13c2d3f7b FileFd(): Drop file name extension check in ReadOnlyGzip mode 12 years ago
Julian Andres Klode fd3b761e8c Fix the atomic replace. 12 years ago
Julian Andres Klode 3010fb0e06 * apt-pkg/contrib/fileutl.cc: 12 years ago
David Kalnischkies 1408e219e7 * apt-pkg/contrib/fileutl.cc: 12 years ago
martin@piware.de c4fc2fd7fa Switch FileFd to not transparently gunzip, since that breaks code which expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed 12 years ago
martin@piware.de a3a03f5d74 * apt-pkg/contrib/fileutl.{h,cc}: 12 years ago
David Kalnischkies 1cd1c398d1 * apt-pkg/contrib/fileutl.cc: 12 years ago
David Kalnischkies b3793d41d4 remove the ABI compatible stub for GetListOfFilesInDir 12 years ago
Michael Vogt b39c18596d * apt-pkg/contrib/fileutl.cc: 13 years ago
David Kalnischkies e29a6bb14d Fix the newly introduced method GetListOfFilesInDir to not accept every 13 years ago
Michael Vogt 46e39c8e14 * French manpage translation update 13 years ago
David Kalnischkies 52643bec17 Add a GetListOfFilesInDir() helper method which replaces the old 13 years ago
David Kalnischkies 40e7fe0e05 [apt-pkg/contrib/fileutl.cc] In function ExecWait(): fix compile warning: 13 years ago
Michael Vogt 217d575b57 * apt-pkg/acquire-worker.cc: 13 years ago
Michael Vogt ab7f4d7ca6 * apt-pkg/acquire-worker.cc: 13 years ago
Otavio Salvador f659b39ab9 Apply patch to avoid truncating of arbitrary files. Thanks to Bryan 14 years ago
Michael Vogt 4f333a8bea * make apt build with g++ 4.3 15 years ago