summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter.h
Commit message (Collapse)AuthorAgeFilesLines
* apt-pkg: default visibility to hiddenJulian Andres Klode2020-02-261-12/+12
|
* Add pattern tree parser infra and connect with cacheset and apt listJulian Andres Klode2019-08-151-0/+4
| | | | | This adds a transformation from parse tree into a CacheFilter and connects it with cachesets and the apt list command.
* Drop cacheiterators.h includeJulian Andres Klode2017-07-121-1/+0
| | | | | Including cacheiterators.h before pkgcache.h fails because pkgcache.h depends on cacheiterators.h.
* support <libc>-<kernel>-<cpu> in architecture specsDavid Kalnischkies2016-01-311-2/+2
| | | | | | | | | | | | | | | | | | | APT has a different understanding than dpkg (#748936) what matches and what doesn't match an architecture specification as it isn't converting back (and forward) to Debian triplets. That has to eventually be solved some way or the other, but until that happens we change the matching in apt so that porters can continue their work on non-gnu libc-ports even if policy doesn't specify that yet (and dpkg just supporting it "by accident" via triplets). The initial patch was reformatted, fixed in terms of patterns containing "any-any", dealing with expanding an arch without libc to gnu while a pattern expands libc to any, the parsedepends test was fixed (the new if's were inserted one step too early) and another test just for the specifications added. Closes: #812212 Thanks: Bálint Réczey for initial patch
* Annotate more methods with APT_OVERRIDEJulian Andres Klode2015-08-111-1/+1
| | | | | | Gbp-Dch: ignore Reported-By: g++ -Wsuggest-override Thanks: g++ -Wsuggest-override
* add c++11 override marker to overridden methodsDavid Kalnischkies2015-08-101-23/+23
| | | | | | | | | C++11 adds the 'override' specifier to mark that a method is overriding a base class method and error out if not. We hide it in the APT_OVERRIDE macro to ensure that we keep compiling in pre-c++11 standards. Reported-By: clang-modernize -add-override -override-macros Git-Dch: Ignore
* apply various style suggestions by cppcheckDavid Kalnischkies2015-08-101-6/+6
| | | | | | | Some of them modify the ABI, but given that we prepare a big one already, these few hardly count for much. Git-Dch: Ignore
* add an API for cache filters/matcherDavid Kalnischkies2014-09-271-27/+90
| | | | | | | | | | 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
* Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-05-071-3/+7
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: apt-pkg/cachefilter.h apt-pkg/contrib/fileutl.cc apt-pkg/contrib/netrc.h apt-pkg/deb/debsrcrecords.cc apt-pkg/init.h apt-pkg/pkgcache.cc debian/apt.install.in debian/changelog
| * cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-0/+1
| | | | | | | | | | | | | | | | 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)
| * make doxygen more quiet, fix issues and disable latexDavid Kalnischkies2014-03-131-1/+1
| | | | | | | | Git-Dch: Ignore
* | [ABI-Break] remove the PACKAGE_MATCHER_ABI_COMPAT definesMichael Vogt2013-08-171-61/+0
|/
* add PACKAGE_MATCHER_ABI_COMPAT mode for now so that this branch can be ↵Michael Vogt2013-08-151-1/+62
| | | | merged without breaking ABI
* make destructors virtualMichael Vogt2013-08-151-3/+3
|
* squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt2013-08-121-6/+29
| | | | experimental
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-141-0/+30
| | | | | - use PackageArchitectureMatchesSpecification filter * apt-pkg/cachefilter.cc: - add PackageArchitectureMatchesSpecification (Closes: #672603)
* add more dpointer placeholdersMichael Vogt2011-02-021-0/+2
|
* factor regex package name matches into newly created cachefilter classesDavid Kalnischkies2010-07-171-0/+29