CVS commit by mornfall: Change the status handling in PkgCache. The PkgCache::PkgState is now a bitfield and there is a bunch of static predicates in PkgCache to query this bitfield on both current status (st*) and possible actions (can*). Should un-burden frontends of reimplementing this stuff again and again.
M +5 -9 libcapture/filters.cpp 1.23 M +11 -16 libcapture/grouper.cpp 1.32 M +28 -37 libcapture/pkgcache.cpp 1.29 [POSSIBLY UNSAFE: system] M +27 -2 libcapture/pkgcache.h 1.23 M +25 -26 libkapture/listtreewidget.cpp 1.35 M +15 -14 libkapture/pkgcelemview.cpp 1.12