summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.cc
AgeCommit message (Expand)AuthorFilesLines
2016-06-29if conf unset, don't read / as conf/pref/sources dirDavid Kalnischkies1-2/+2
2016-05-20fail instead of segfault on unreadable config filesDavid Kalnischkies1-0/+5
2016-04-25policy: Remove TODO for replacing old GetCandidateVer()Julian Andres Klode1-1/+0
2016-04-25policy: Get rid of old (pre-1.1) GetCandidateVer algorithmJulian Andres Klode1-97/+0
2016-04-25restore pinning to min/max value of shortDavid Kalnischkies1-2/+3
2016-04-25give rc-status packages a pin of -1David Kalnischkies1-7/+6
2016-01-02properly parse comments in apt_preferences and deb822-style sourcesDavid Kalnischkies1-2/+2
2015-11-05apply various suggestions made by cppcheckDavid Kalnischkies1-2/+2
2015-11-04provide public interface to hold/unhold packagesDavid Kalnischkies1-2/+2
2015-09-14avoid using global PendingError to avoid failing too often too soonDavid Kalnischkies1-3/+6
2015-09-14implement autobit and pinning in EDSP solver 'apt'David Kalnischkies1-1/+2
2015-08-20Re-indent GetCandidateVerNew() and make ConsiderFiles argument explicitJulian Andres Klode1-7/+7
2015-08-17Fix all the wrong removals of includes that iwyu got wrongMichael Vogt1-0/+1
2015-08-17Cleanup includes after running iwyuMichael Vogt1-2/+0
2015-08-15Add GetPriority(VerIterator) to pkgDepCache::PolicyJulian Andres Klode1-2/+2
2015-08-13Deprecate SPtrArray<T> and convert everyone to unique_ptr<T[]>Julian Andres Klode1-2/+2
2015-08-12policy: Be more strict about parsing pin files, and document prio 0Julian Andres Klode1-3/+10
2015-08-12Add a parameter ConsiderFiles to GetPriority(VerIterator)Julian Andres Klode1-2/+3
2015-08-11Simply ignore cruft in the status files, do not treat it as prio 0Julian Andres Klode1-2/+1
2015-08-11Replace INT_MIN with std::numeric_limits<int>::minJulian Andres Klode1-2/+2
2015-08-10initialize PinVers to a nullptrDavid Kalnischkies1-1/+2
2015-08-10bring back deb822 sources.list entries as .sourcesDavid Kalnischkies1-17/+2
2015-08-10make all d-pointer * const pointersDavid Kalnischkies1-1/+1
2015-08-10policy: Fix the handling of config-files statesJulian Andres Klode1-3/+12
2015-08-10policy: Fix the new policy implementation to handle downgrades correctlyJulian Andres Klode1-9/+8
2015-08-10Determine the candidate based on per-version pins, instead of old codeJulian Andres Klode1-0/+36
2015-08-10policy: Return highest file pin if version pin == 0 in GetPriority()Julian Andres Klode1-1/+10
2015-08-10policy: Assign per-version pinsJulian Andres Klode1-0/+11
2015-08-10pkgPolicy: Introduce storage and helpers for per-version pinsJulian Andres Klode1-1/+10
2015-06-16add d-pointer, virtual destructors and de-inline de/constructorsDavid Kalnischkies1-0/+2
2015-06-12store Release files data in the CacheDavid Kalnischkies1-8/+7
2015-05-11remove unused and strange default-value for pinsDavid Kalnischkies1-24/+10
2015-05-11a pin of 1000 always means downgrade allowedDavid Kalnischkies1-22/+10
2014-03-13follow method attribute suggestions by gccDavid Kalnischkies1-2/+2
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-1/+9
2014-03-13warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies1-1/+1
2013-12-21make /etc/apt/preferences parser deal with comment only sectionsMichael Vogt1-0/+4
2013-08-08specific pins below 1000 cause downgradesDavid Kalnischkies1-7/+18
2012-10-13* apt-pkg/policy.cc:David Kalnischkies1-23/+26
2011-10-30merge with my debian-sid branchDavid Kalnischkies1-1/+2
2011-10-04* apt-pkg/policy.cc:David Kalnischkies1-1/+2
2011-09-13merge with debian/experimentalDavid Kalnischkies1-9/+23
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-2/+4
2011-08-15merged from the debian-sid branchMichael Vogt1-7/+7
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies1-7/+7
2011-07-28* merged latest fixes from debian-sidMichael Vogt1-2/+16
2011-07-16* apt-pkg/policy.cc:David Kalnischkies1-2/+16
2011-06-30merged from debian-sidMichael Vogt1-20/+44
2011-06-30* doc/makefile:Michael Vogt1-20/+44
2011-05-17* Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies1-0/+4