Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-23 | merged debian-sid branch and resolved conflicts | Michael Vogt | |
2013-03-10 | various simple changes to fix cppcheck warnings | David Kalnischkies | |
2012-10-17 | * lp:~mvo/apt/add-glob-function: | Michael Vogt | |
- add Glob() to fileutl.{cc,h} | |||
2012-10-17 | merged from debian-sid | Michael Vogt | |
2012-09-04 | add "Glob()" to fileutl | Michael Vogt | |
2012-08-04 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- remove _POSIX_SYNCHRONIZED_IO guard in FileFd::Sync() around fsync as this guard is only needed for fdatasync and not defined on hurd | |||
2012-07-10 | cherry pick -r1847 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/ | Michael Vogt | |
2012-07-10 | cherry pick -r1846 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/ | Michael Vogt | |
2012-07-10 | merged the relevant bits from lp:~mvo/apt/lp346386 | Michael Vogt | |
2012-06-21 | check when finished downloading the InRelease file if it has the expected ↵ | Michael Vogt | |
gpg clearsign signature and if not download Release/Release.gpg instead | |||
2012-05-22 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- dup() given compressed fd in OpenDescriptor if AutoClose is disabled as otherwise gzclose() and co will close it | |||
2012-05-16 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- ensure that we close compressed fds, wait for forks and such even if the FileFd itself is set to not autoclose the given Fd | |||
2012-05-10 | ensure that d is set before accessing it | David Kalnischkies | |
2012-05-10 | ensure that in error conditions the Fail flag is set | David Kalnischkies | |
2012-05-10 | collect zombie (de)compressor processes on reopen | David Kalnischkies | |
2012-05-09 | ensure that we do init d only once and especially not with its own | David Kalnischkies | |
content as this causes some "interesting" hickups resulting in segfaults as it seems (Closes: #554387, #670979) | |||
2012-05-09 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- check that the fd which are closed are valid | |||
2012-04-19 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- redirect stderr from compressors to /dev/null | |||
2012-04-11 | use a static FileFd::Write overload to reduce duplication of write()-retry code | David Kalnischkies | |
2012-04-05 | - add libbz2-dev as new build-dependency | David Kalnischkies | |
- remove the libz-dev alternative from zlib1g-dev build-dependency - do the same for bz2 builtin if available * apt-pkg/contrib/fileutl.cc: - use libz2 library for (de)compression instead of the bzip2 binary as the first is a dependency of dpkg and the later just priority:optional so we gain 'easier' access to bz2-compressed Translation files this way | |||
2012-04-05 | if we have zlib builtin insert add a dummy gzip compressor for FileFD | David Kalnischkies | |
2012-04-05 | detect zlib correctly. We still don't allow to build without it to remain | David Kalnischkies | |
compatible with users accessing it directly, but this prepares for a drop of this strict requirement in the future | |||
2012-03-06 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- do not warn about the ignoring of directories (Closes: #662762) | |||
2012-02-11 | * apt-pkg/cachefile.cc: | David Kalnischkies | |
- clean up lost atomic cachefiles with 'clean' (Closes: #650513) | |||
2012-02-03 | rework previous patch to avoid changing the inline code | Michael Vogt | |
2012-01-18 | * apt-pkg/contrib/fileutl.h: | David Kalnischkies | |
- store the offset in the internal fd before calculate size of the zlib-handled file to jump back to this place again It jumped back to the position of the content - which is wrong as the internal fd is compressed and even reseting to the beginning of the file doesn't work as zlib uses an internal buffer, so while we might haven't read anything yet zlib might have done so already… | |||
2012-01-18 | improve error reporting in case of errors in combination with zlib | David Kalnischkies | |
2011-12-18 | usage of Skipping in pipes can't work, so we ignore-read instead | David Kalnischkies | |
Also, read only one char in each step of ReadLine instead of back-"seeking" | |||
2011-12-17 | keep track of where we are in a filedescriptor so we can use it as Tell() | David Kalnischkies | |
information if we are working on a pipe which can't seek | |||
2011-12-16 | try seeking on fds opened with OpenDescriptor before giving up | David Kalnischkies | |
2011-12-15 | refactor compressor calling so that we don't (need to) export ExecCompressor | David Kalnischkies | |
anymore and therefore are also able to drop quiet a bit of duplicated code | |||
2011-12-14 | use FileFd instead of forking the compression childs by hand | David Kalnischkies | |
2011-12-13 | allow Open() and OpenDescriptor() to be called with a Compressor | David Kalnischkies | |
2011-12-13 | note to myself: In case you rename something, make sure that you have | David Kalnischkies | |
renamed it everywhere as otherwise stuff "magically" starts to fail… Fixes commit 2209 as the mixture of #define names generates a lovely compilable but non-functional mixture of gzip usage… | |||
2011-12-13 | Allow the FileFd to use an external Compressor to uncompress a given file | David Kalnischkies | |
internally so that it is exported and can be used like a "normal" uncompressed file with FileFd This allows us to hide th zlib usage in the implementation and use gzip instead if we don't have zlib builtin (the same for other compressors). The code includes quiet a few FIXME's so while all tests are working it shouldn't be used just yet outside of libapt as it might break. | |||
2011-12-11 | - add a ReadLine method | David Kalnischkies | |
- drop the explicit export of gz-compression handling | |||
2011-12-10 | * apt-pkg/contrib/fileutl.{h,cc}: | David Kalnischkies | |
- implement a ModificationTime method for FileFd | |||
2011-12-10 | enable FileFd to guess the compressor based on the filename if requested or | David Kalnischkies | |
to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression | |||
2011-11-29 | split up the OpenMode into OpenMode and CompressionMode and | David Kalnischkies | |
provide ReadOnly, WriteOnly and ReadWrite as flags alongside the additional flags as decompression will be one-way later, but certain parts really depend on Write* openmodes being ReadWrite opens, so we will have to fail for those. | |||
2011-09-13 | merge with debian/experimental | David Kalnischkies | |
2011-09-13 | Support large files in the complete toolset. Indexes of this | David Kalnischkies | |
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895) | |||
2011-09-13 | reorder includes: add <config.h> if needed and include it at first | David Kalnischkies | |
2011-07-28 | * apt-pkg/contrib/fileutl.{cc,h}: | Michael Vogt | |
- add GetModificationTime() helper * apt-pkg/pkgcachegen.cc: - regenerate the cache if the sources.list changes to ensure that changes in the ordering there will be honored by apt * apt-pkg/sourcelist.{cc,h}: - add pkgSourceList::GetLastModifiedTime() helper | |||
2011-03-10 | merged the lp:~mvo/apt/mvo branch | Michael Vogt | |
2011-03-03 | * apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc: | Michael Vogt | |
- honor Dpkg::Chroot-Directory in the RunScripts*() methods | |||
2011-02-14 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- 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 | |||
2011-02-14 | use inttypes to avoid suprises with different type sizes | David Kalnischkies | |
2011-02-13 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- reorder the loaded filesize bytes for big endian (Closes: #612986) Thanks to Jörg Sommer for the detailed analyse! | |||
2011-01-13 | ignore non-regular files in GetListOfFilesInDir (Closes: #594694) | David Kalnischkies | |
2011-01-12 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401) |