summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter.cc
Commit message (Collapse)AuthorAgeFilesLines
* add an API for cache filters/matcherDavid Kalnischkies2014-09-271-25/+119
| | | | | | | | | | A lot of code deals with iterating over packages and checking for specific states. At the moment these are all handcrafted inplace, but that makes sharing common code which just differs in the states it checks rather difficult and is error prune. Having an API to construct arbitrary complex filters will come in handy for those. Git-Dch: Ignore
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-1/+3
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt2013-08-121-0/+11
| | | | experimental
* various simple changes to fix cppcheck warningsDavid Kalnischkies2013-03-101-2/+1
|
* * apt-pkg/cachefilter.cc:David Kalnischkies2012-07-121-6/+0
| | | | | | | - remove architecture-specific arch to tuple expansion-rules as they lead to the same tuples for different architectures (e.g. linux-arm for arm, armel and armhf) while the dpkg-architecture code uses triples which are different (in the first part, which we omit in our tuples), so e.g. build-dep restrictions for armel ended up effecting armhf as well
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-141-0/+51
| | | | | - use PackageArchitectureMatchesSpecification filter * apt-pkg/cachefilter.cc: - add PackageArchitectureMatchesSpecification (Closes: #672603)
* ensure that apti18n.h is included last as advertised (Closes: #671623)David Kalnischkies2012-05-051-2/+2
|
* fix a bunch of cppcheck "(warning) Member variable '<#>' is notDavid Kalnischkies2012-03-041-1/+1
| | | | initialized in the constructor." messages (no functional change)
* reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-0/+2
|
* factor regex package name matches into newly created cachefilter classesDavid Kalnischkies2010-07-171-0/+54