summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-13revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies
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 Kalnischkies
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 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 methodDavid Kalnischkies
- drop the explicit export of gz-compression handling
2011-12-11use different compression types in the test now that we support themDavid Kalnischkies
2011-12-11add a testcase for FindPackages() to better validate that cdrom should work.David Kalnischkies
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 Kalnischkies
- support InRelease files on cdrom
2011-12-11use fileutl exists-functions instead of doing the stat'ing by handDavid Kalnischkies
2011-12-11strip the extension of the translation file before storing it in the listDavid Kalnischkies
(regression from compression rewrite; found by Steve McIntyre, thanks!)
2011-12-10* apt-pkg/contrib/fileutl.{h,cc}:David Kalnischkies
- implement a ModificationTime method for FileFd
2011-12-10enable FileFd to guess the compressor based on the filename if requested orDavid Kalnischkies
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 Kalnischkies
- dump the APT::Compressor settings correctly and completely
2011-11-30ensure that we exit instead of proceed in execution after the trapDavid Kalnischkies
(the execution leads to hard failures anyway)
2011-11-29split up the OpenMode into OpenMode and CompressionMode andDavid 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-11-24use getCompressors() instead of getCompressorTypes() and use it everywhereDavid Kalnischkies
to replace hardcoding of compressiontypes and compressors
2011-11-23fix another hickup in the changelogDavid Kalnischkies
2011-11-23factored out the decompressor code in IndexCopy::CopyPackages() andSteve McIntyre
TranslationsCopy::CopyTranslations() into a single common function
2011-11-23fixup changelogMichael Vogt
2011-11-23merged from lp:~donkult/apt/experimentalMichael Vogt
2011-11-23merged lp:~mvo/apt/convert-to-multiarch-lib-thanks-colinMichael Vogt
2011-11-23* cmdline/apt-get.cc:David Kalnischkies
- ignore foreign architectures if we check if a provides has only one resolver as it's basically the same for the user, so no need to choose
2011-11-23* apt-pkg/depcache.cc:David Kalnischkies
- prefer native providers over foreigns even if the chain is foreign The code preferred real over virtual packages and based on priorities. This is changed in so far that a real package from any arch is preferred over any virtual provider and if priorities doesn't help in choosing the best provider we choose it based on architectures
2011-11-22fix the operator++ implementations in the cachesetsDavid Kalnischkies
2011-11-22* apt-pkg/cdrom.cc:Michael Vogt
- use aptconfiguration to get the supported compression types
2011-11-22fix remaining renameMichael Vogt
2011-11-22rename .install to .install.in when neededMichael Vogt
2011-11-22merged libapt multiarch enable patch from Colin Watson, many thanks!Michael Vogt
2011-11-21apt-pkg/cdrom.cc: Accept .bz2, .xz files in addition to .gz files (Closes: ↵Julian Andres Klode
#649451)
2011-11-11 - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies
* cmdline/apt-{get,cache,mark}.cc: - use Lists instead of Sets if input order should be preserved for commands accepting lists of packages, e.g. policy (Closes: #625960)
2011-11-10merged from lp:~donkult/apt/experimentalMichael Vogt
2011-11-09* apt-pkg/cacheset.cc:David Kalnischkies
- make the cachesets real containers which can embedding any container to be able to use the same interface regardless of set or list usage
2011-11-03* apt-pkg/deb/deblistparser.cc:David Kalnischkies
- M-A: foreign packages provide for other archs, too
2011-10-31do not enter an endless loop for (essential) pre-dependency loopsDavid Kalnischkies
2011-10-30* apt-pkg/contrib/sha2_internal.cc:David Kalnischkies
- use a pointer-union to peace gcc strict-aliasing warning
2011-10-30merge with my debian-sid branchDavid Kalnischkies
2011-10-20merged from donkultMichael Vogt
2011-10-20merged from donkultMichael Vogt
2011-10-17* algorithms.cc:David Kalnischkies
- show a debug why a package was kept by ResolveByKeep()
2011-10-17* apt-pkg/packagemanager.cc:David Kalnischkies
- do not fail on unpacked packages in SmartUnPack, just don't shedule them for unpack, but do all checks and configure them
2011-10-17create "real" testcases out of the tests for chrisDavid Kalnischkies
2011-10-14releasing version 0.8.16~exp7Michael Vogt
2011-10-14merged lp:~donkult/apt/experimentalMichael Vogt
2011-10-14releasing version 0.8.15.90.8.15.9Michael Vogt
2011-10-14merged from lp:~donkult/apt/sidMichael Vogt
2011-10-12* apt-pkg/pkgcache.cc:David Kalnischkies
- always prefer "en" over "" for "en"-language regardless of cache-order
2011-10-12add implicit dependencies needed for Multi-Arch at the time a VersionDavid Kalnischkies
struct is created and not at the end of the cache generation This allows us to be independent from the configured architectures for these kind of conflicts, we get natural progress for free and only the needed dependencies are in th respective binary cache.
2011-10-12use one string to construct the error message instead of using multipleDavid Kalnischkies
just with different debugging information at the end
2011-10-12a version can have only a single md5 for descriptions, so we can optimizeDavid Kalnischkies
the merging with this knowledge a bit and by correctly sharing the lists we only need to have a single description list for possibly many different versions. This also means that description translations are shared between different sources
2011-10-11share description list between "same" versions (LP: #868977)David Kalnischkies
2011-10-11* apt-pkg/pkgcachegen.cc:David Kalnischkies
- refactor MergeList by creating -Group, -Package and -Version specialist