summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies2011-12-137-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.
* - add a ReadLine methodDavid Kalnischkies2011-12-115-62/+110
| | | - drop the explicit export of gz-compression handling
* use different compression types in the test now that we support themDavid Kalnischkies2011-12-111-6/+6
|
* add a testcase for FindPackages() to better validate that cdrom should work.David Kalnischkies2011-12-114-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()
* * apt-pkg/cdrom.cc:David Kalnischkies2011-12-113-8/+26
| | | - support InRelease files on cdrom
* use fileutl exists-functions instead of doing the stat'ing by handDavid Kalnischkies2011-12-111-6/+5
|
* strip the extension of the translation file before storing it in the listDavid Kalnischkies2011-12-111-0/+1
| | | | (regression from compression rewrite; found by Steve McIntyre, thanks!)
* * apt-pkg/contrib/fileutl.{h,cc}:David Kalnischkies2011-12-105-20/+26
| | | - implement a ModificationTime method for FileFd
* enable FileFd to guess the compressor based on the filename if requested orDavid Kalnischkies2011-12-108-31/+135
| | | | | to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression
* * cmdline/apt-config.cc:David Kalnischkies2011-12-102-4/+23
| | | - dump the APT::Compressor settings correctly and completely
* ensure that we exit instead of proceed in execution after the trapDavid Kalnischkies2011-11-301-1/+1
| | | | (the execution leads to hard failures anyway)
* split up the OpenMode into OpenMode and CompressionMode andDavid Kalnischkies2011-11-292-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.
* use getCompressors() instead of getCompressorTypes() and use it everywhereDavid Kalnischkies2011-11-242-134/+137
| | | | to replace hardcoding of compressiontypes and compressors
* fix another hickup in the changelogDavid Kalnischkies2011-11-231-8/+2
|
* factored out the decompressor code in IndexCopy::CopyPackages() andSteve McIntyre2011-11-232-81/+95
| | | | TranslationsCopy::CopyTranslations() into a single common function
* fixup changelogMichael Vogt2011-11-231-13/+15
|
* merged from lp:~donkult/apt/experimentalMichael Vogt2011-11-2311-448/+935
|\
| * * cmdline/apt-get.cc:David Kalnischkies2011-11-233-1/+39
| | | | | | | | - 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
| * * apt-pkg/depcache.cc:David Kalnischkies2011-11-234-30/+195
| | | | | | | | | | | | | | | | - 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
| * fix the operator++ implementations in the cachesetsDavid Kalnischkies2011-11-221-4/+8
| |
| * - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies2011-11-116-54/+146
| | | | | | | | | | * 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)
| * * apt-pkg/cacheset.cc:David Kalnischkies2011-11-096-377/+565
| | | | | | | | - make the cachesets real containers which can embedding any container to be able to use the same interface regardless of set or list usage
* | merged lp:~mvo/apt/convert-to-multiarch-lib-thanks-colinMichael Vogt2011-11-2312-18/+60
|\ \
| * | fix remaining renameMichael Vogt2011-11-221-0/+0
| | |
| * | rename .install to .install.in when neededMichael Vogt2011-11-224-3261/+1
| | |
| * | merged libapt multiarch enable patch from Colin Watson, many thanks!Michael Vogt2011-11-228-15/+60
| | |
* | | * apt-pkg/cdrom.cc:Michael Vogt2011-11-222-29/+59
|/ / | | | | - use aptconfiguration to get the supported compression types
* | apt-pkg/cdrom.cc: Accept .bz2, .xz files in addition to .gz files (Closes: ↵Julian Andres Klode2011-11-212-4/+18
| | | | | | | | #649451)
* | merged from lp:~donkult/apt/experimentalMichael Vogt2011-11-1025-821/+1181
|\|
| * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-11-032-1/+6
| | | | | | - M-A: foreign packages provide for other archs, too
| * do not enter an endless loop for (essential) pre-dependency loopsDavid Kalnischkies2011-10-312-13/+19
| |
| * * apt-pkg/contrib/sha2_internal.cc:David Kalnischkies2011-10-302-4/+16
| | | | | | - use a pointer-union to peace gcc strict-aliasing warning
| * merge with my debian-sid branchDavid Kalnischkies2011-10-3023-805/+1142
| |\
| | * merged from donkultMichael Vogt2011-10-202-2/+17
| | |\
| | | * * algorithms.cc:David Kalnischkies2011-10-172-2/+17
| | |/ | | | | | | - show a debug why a package was kept by ResolveByKeep()
| | * releasing version 0.8.15.9Michael Vogt2011-10-141-2/+2
| | |
| | * merged from lp:~donkult/apt/sidMichael Vogt2011-10-1431-992/+1458
| | |\
| | | * * doc/apt.conf.5.xml:David Kalnischkies2011-10-0511-803/+1075
| | | | | | | | | | | | - apply spelling fix by Kevin Lyda, thanks! (Closes: #644104)
| | | * merge with current debian apt/sidDavid Kalnischkies2011-10-053-7/+24
| | | |\ | | | |/ | | |/|
| | * | * ftparchive/cachedb.cc:Michael Vogt2011-09-242-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix buffersize in bytes2hex * ftparchive/cachedb.cc: - make buffer fully dynamic (thanks to Colin Watson)
| | * | Symbol file updateMichael Vogt2011-09-242-1/+6
| | |\ \
| | * | | Changelog entry forspelling fixbubulle@debian.org2011-09-141-0/+7
| | | | |
| | * | | Fix spelling errorbubulle@debian.org2011-09-141-1/+1
| | | | |
| | | | * cherrypick from my apt/experimental branchDavid Kalnischkies2011-10-057-8/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/deb/debmetaindex.cc: - none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
| | | | * * apt-pkg/policy.cc:David Kalnischkies2011-10-043-4/+26
| | | | | | | | | | | | | | | - accept generic release pin expressions again in -t (Closes: #644166)
| | | | * * apt-pkg/init.cc:David Kalnischkies2011-09-212-8/+9
| | | | | | | | | | | | | | | - silently ignore *.orig and *.save files by default
| | | | * convert a few for-loop char finds to proper strchr and memchrDavid Kalnischkies2011-09-216-59/+42
| | | | |
| | | | * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2011-09-204-99/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use std::vector instead of fixed size arrays to store args and multiarch-packagename strings - load the dpkg base arguments only one time and reuse them later * cmdline/apt-get.cc: - follow Provides in the evaluation of saving candidates, too, for statisfying garbage package dependencies (Closes: #640590) * apt-pkg/algorithms.cc: - if a package is garbage, don't try to save it with FixByInstall
| | | | * update the test to ensure that NotAutomatic and co is used alsoDavid Kalnischkies2011-09-151-8/+50
| | | | | | | | | | | | | | | | | | | | | | | | | if the archive is signed, but the signature can't be checked as the key is missing (debbugs #597301 - fix in r2105)
| | | | * * doc/apt-get.8.xml:David Kalnischkies2011-09-142-1/+10
| | | |/ | | | | | | | | | | | | - change wording of autoremove description as suggested by Robert Simmons, thanks! (Closes: #641490)