]> git.saurik.com Git - apt.git/commit
factor out Pkg/DepIterator prettyprinters into own header
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 28 Apr 2016 07:22:55 +0000 (09:22 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 31 Aug 2016 11:49:37 +0000 (13:49 +0200)
commit90daf43aeb6a911f6511faf5064f5811fd27acb5
tree0cba503cc9005ae417c5d932e1632fdca9732e1b
parent18048c51c1d8cff71f134dd405421baba292944b
factor out Pkg/DepIterator prettyprinters into own header

The old prettyprinters have only access to the struct they pretty print,
which isn't enough usually as we want to know for a package also a bit
of state information like which version is the candidate.

We therefore need to pull the DepCache into context and hence use a
temporary struct which is printed instead of the iterator itself.

(cherry picked from commit 84573326f41dd09b914b8374548e7ee7c93d0439)
apt-pkg/algorithms.cc
apt-pkg/cacheiterators.h
apt-pkg/depcache.cc
apt-pkg/depcache.h
apt-pkg/packagemanager.cc
apt-pkg/pkgcache.cc
apt-pkg/prettyprinters.cc [new file with mode: 0644]
apt-pkg/prettyprinters.h [new file with mode: 0644]
apt-private/private-install.cc