summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-18* apt-pkg/contrib/fileutils.h:Michael Vogt2-2/+6
- fix segfault from python-apt testsuite
2012-01-16* apt-pkg/contrib/fileutils.h:Michael Vogt2-1/+5
- fix segfault from python-apt testsuite
2012-01-16merged from debian-experimental2Michael Vogt120-2086/+4071
2012-01-13merged from lp:~donkult/apt/experimental/Michael Vogt9-39/+220
2012-01-13* apt-pkg/deb/dpkgpm.cc:David Kalnischkies3-22/+109
- check if dpkg supports multiarch with --assert-multi-arch and if it does be always explicit about the architecture
2012-01-13factor out the detection of self-conflicts into Dep::IsIgnorableDavid Kalnischkies4-27/+39
2012-01-13* apt-pkg/pkgcache.cc:David Kalnischkies3-9/+34
- ignore implicit conflicts on providers in AllTarget, too
2012-01-11* apt-pkg/depcache.cc:David Kalnischkies3-5/+60
- implicit conflicts (for multiarch) are supposed to conflict only with real packages, not with virtual providers
2012-01-10as Size() can be quiet expensive for compressed files lets store the resultDavid Kalnischkies1-3/+5
2012-01-05releasing version 0.8.16~exp9Michael Vogt1-5/+3
2012-01-02g++ 4.7 fixesMichael Vogt3-0/+6
2012-01-02g++ 4.7 fixesMichael Vogt3-0/+6
2011-12-20merged from lp:~donkult/apt/sid/Michael Vogt2-2/+4
2011-12-20merged from lp:~donkult/apt/sid/ Michael Vogt2-2/+4
2011-12-19merged from debian-sidMichael Vogt15-1034/+1633
2011-12-19merged from lp:~donkult/apt/experimentalMichael Vogt17-92/+153
2011-12-19merged from lp:~donkult/apt/experimentalMichael Vogt72-524/+1117
2011-12-18implement the fallback method of rred by using the FileFd and the includedDavid Kalnischkies1-37/+12
ReadLine instead of accessing the files directly with fgets()
2011-12-18usage of Skipping in pipes can't work, so we ignore-read insteadDavid Kalnischkies1-8/+26
Also, read only one char in each step of ReadLine instead of back-"seeking"
2011-12-17try to avoid direct usage of .Fd() if possible and do read()s and coDavid Kalnischkies15-38/+85
on the FileFd instead
2011-12-17keep track of where we are in a filedescriptor so we can use it as Tell()David Kalnischkies1-9/+30
information if we are working on a pipe which can't seek
2011-12-16try seeking on fds opened with OpenDescriptor before giving upDavid Kalnischkies1-1/+8
2011-12-15refactor compressor calling so that we don't (need to) export ExecCompressorDavid Kalnischkies2-264/+120
anymore and therefore are also able to drop quiet a bit of duplicated code
2011-12-15Dutch (Jeroen Schot). Closes: #652230bubulle@debian.org2-379/+502
2011-12-15atleast libapt should announce to itself that it is clean…David Kalnischkies7-19/+27
(and be it if it tries to announce that…)
2011-12-14remove the second usage instance of ExecCompressor in ftparchiveDavid Kalnischkies3-50/+18
by again using the FileFd directly
2011-12-14use FileFd instead of forking the compression childs by handDavid Kalnischkies4-58/+83
2011-12-13allow Open() and OpenDescriptor() to be called with a CompressorDavid Kalnischkies2-93/+98
2011-12-13note to myself: In case you rename something, make sure that you haveDavid Kalnischkies1-5/+5
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-13revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies28-12/+116
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-12-13revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies26-1/+116
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-12-13Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies7-175/+320
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 methodDavid Kalnischkies5-62/+110
- drop the explicit export of gz-compression handling
2011-12-11use different compression types in the test now that we support themDavid Kalnischkies1-6/+6
2011-12-11add a testcase for FindPackages() to better validate that cdrom should work.David Kalnischkies4-8/+136
Unfortunately it's hard to do an automated integration test with cd, so we test this method in isolation which tries to find Indexes and dropping of duplications with DropRepeats()
2011-12-11* apt-pkg/cdrom.cc:David Kalnischkies3-8/+26
- support InRelease files on cdrom
2011-12-11use fileutl exists-functions instead of doing the stat'ing by handDavid Kalnischkies1-6/+5
2011-12-11strip the extension of the translation file before storing it in the listDavid Kalnischkies1-0/+1
(regression from compression rewrite; found by Steve McIntyre, thanks!)
2011-12-10* apt-pkg/contrib/fileutl.{h,cc}:David Kalnischkies5-20/+26
- implement a ModificationTime method for FileFd
2011-12-10enable FileFd to guess the compressor based on the filename if requested orDavid Kalnischkies8-31/+135
to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression
2011-12-10* cmdline/apt-config.cc:David Kalnischkies2-4/+23
- dump the APT::Compressor settings correctly and completely
2011-12-06* doc/po/de.po:Michael Basse (michael-alpha-unix)2-2/+4
- apply typo-fix from Michael Basse, thanks! (LP: #900770)
2011-11-30ensure that we exit instead of proceed in execution after the trapDavid Kalnischkies1-1/+1
(the execution leads to hard failures anyway)
2011-11-29split up the OpenMode into OpenMode and CompressionMode andDavid Kalnischkies2-53/+79
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-11-28revert libapt-common addition because of ↵Michael Vogt4-29/+5
http://lists.debian.org/debian-devel/2011/11/msg00742.html
2011-11-24use getCompressors() instead of getCompressorTypes() and use it everywhereDavid Kalnischkies2-134/+137
to replace hardcoding of compressiontypes and compressors
2011-11-23fix another hickup in the changelogDavid Kalnischkies1-8/+2
2011-11-23factored out the decompressor code in IndexCopy::CopyPackages() andSteve McIntyre2-81/+95
TranslationsCopy::CopyTranslations() into a single common function
2011-11-23fixup changelogMichael Vogt1-13/+15
2011-11-23merged from lp:~donkult/apt/experimentalMichael Vogt11-448/+935