summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
AgeCommit message (Collapse)AuthorFilesLines
2014-03-13follow method attribute suggestions by gccDavid Kalnischkies1-6/+8
Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
2014-03-13warning: type qualifiers ignored on function return type [-Wignored-qualifiers]David Kalnischkies1-2/+2
Reported-By: gcc -Wignored-qualifiers Git-Dch: Ignore
2014-03-13warning: extra ‘;’ [-Wpedantic]David Kalnischkies1-21/+21
Git-Dch: Ignore Reported-By: gcc -Wpedantic
2014-03-13make doxygen more quiet, fix issues and disable latexDavid Kalnischkies1-4/+4
Git-Dch: Ignore
2014-02-22Fix typos in documentation (codespell)Michael Vogt1-1/+1
2011-12-13revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies1-1/+4
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-11-23* apt-pkg/depcache.cc:David Kalnischkies1-1/+1
- prefer native providers over foreigns even if the chain is foreign The code preferred real over virtual packages and based on priorities. This is changed in so far that a real package from any arch is preferred over any virtual provider and if priorities doesn't help in choosing the best provider we choose it based on architectures
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-9/+7
2011-07-20apt-pkg/pkgcache.h: Add pkgCache::Header::CacheFileSize, storing the cache sizeJulian Andres Klode1-0/+3
2011-06-29* apt-pkg/pkgcache.h:David Kalnischkies1-1/+3
- readd All{Foreign,Allowed} as suggested by Julian to remain strictly API compatible
2011-05-17* apt-pkg/pkgcache.h:David Kalnischkies1-7/+10
- clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now
2011-04-06* apt-pkg/pkgcache.cc:David Kalnischkies1-0/+6
- use the native Architecture stored in the cache header instead of loading it from configuration as suggested by Julian Andres Klode
2011-03-25* apt-pkg/cacheiterator.h:David Kalnischkies1-2/+2
- return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
2011-03-08Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies1-2/+2
Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
2010-09-14* apt-pkg/policy.cc:David Kalnischkies1-1/+1
- support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
2010-07-08* apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies1-1/+1
- make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
2010-06-03* apt-pkg/pkgcache.h:David Kalnischkies1-2/+2
- switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
2010-05-04* apt-pkg/pkgcache.h:David Kalnischkies1-3/+7
- enhance the Groups ABI by providing a ID as the other structs does - check also the size of the Group struct then checking for the others
2010-05-04* doc/cache.sgml:David Kalnischkies1-84/+385
- drop the file in favor of inplace documentation with doxygen
2010-03-18Readd the FindPkg() method implementation used in the singleArch days toDavid Kalnischkies1-1/+7
use it as a fallback if multiarch is not enabled. The effect is barly noticeable but SingleArch is the realworld scenario.
2010-02-12Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies1-1/+1
Arch all packages are now represented by arch depending packages which all depend on a package with the same name and the special arch "all". This packages has NO dependencies, but beside this the same information. It is the only package which has a size, the arch depending ones all have a zero size. While the arch depending pseudo packages are used for dependency resolution the arch "all" package is used for downloading and ordering of the package.
2010-02-07Drop the Arch information from the Version structure as we can getDavid Kalnischkies1-1/+0
the information from the parent package now
2009-12-27Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies1-2/+10
for creating the dependencies needed for our groups: For now for all groups only one package can be installed at the same time which conflicts with each other packages in the group. The exceptions are architecture all package. Also, the Multi-Arch field is now parsed, but not used for now.
2009-12-19Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies1-5/+25
infrastructor for packages. APT is now aware of the fact that a package A in architecture X can't satisfy a dependency on package A in architecture Y - to handle these packages are now identified by name and architecture, so different architectures of the same package are handled internally as completly different packages. This is great for pinning, dependency checking and in many other situations, but sometimes we need to know which archs are available for a given package: Here Groups come to our rescue!
2009-12-09Refactor the cache iterators by using a common base classDavid Kalnischkies1-8/+1
This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
2009-11-25use long instead of short for {Ver,Desc}File size in pkgcache.hDavid Kalnischkies1-2/+2
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
2009-06-30add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies1-24/+24
2009-06-29[ABI break] Allow pinning by codename (closes: #97564)Michael Vogt1-0/+1
2009-06-15Introduce support for the Enhances field. (Closes: #137583) jak@debian.org1-1/+1
2009-05-07[apt-pkg] allow also codenames for specifying a releaseDavid Kalnischkies1-0/+1
* MatchType::Release checks first for archive than for codename equality * new n= option in apt_preference to be able to pin based on a codeName
2009-04-09* apt-pkg/contrib/strutl.cc:Michael Vogt1-4/+4
- fix TimeToStr i18n (LP: #289807) * [ABI break] merge support for http redirects, thanks to Jeff Licquia and Anthony Towns * [ABI break] use int for the package IDs (thanks to Steve Cotton) * apt-pkg/pkgcache.cc: - do not run "dpkg --configure pkg" if pkg is in trigger-awaited state (LP: #322955) * methods/https.cc: - add Acquire::https::AllowRedirect support * Clarify the --help for 'purge' (LP: #243948) * cmdline/apt-get.cc - fix "apt-get source pkg" if there is a binary package and a source package of the same name but from different packages (LP: #330103) * cmdline/acqprogress.cc: - Call pkgAcquireStatus::Pulse even if quiet, so that we still get dlstatus messages on the status-fd (LP: #290234).
2007-09-06* dpkg-triggers: Deal properly with new package states.Michael Vogt1-1/+2
2006-12-14* merged the apt-breaks-iwj branchMichael Vogt1-1/+5
* pulled in the other remaining ubuntu changes
2006-12-14* merged the no-pragma branchMichael Vogt1-3/+0
2006-10-02* removed the pragma messMichael Vogt1-3/+0
2006-08-25initial Breaks implementationIan Jackson1-1/+5
2006-08-11* merged ddtp supportMichael Vogt1-2/+42
2005-11-30* merged with apt--mvoMichael Vogt1-3/+3
Patches applied: * apt@packages.debian.org/apt--sources-list-d--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-30 * apt@packages.debian.org/apt--sources-list-d--0--patch-1 Patch from apt-rpm via Michael Vogt to implement /etc/apt/sources.list.d * bubulle@debian.org--2005/apt--main--0--patch-130 Galician translation completed * bubulle@debian.org--2005/apt--main--0--patch-131 Simplified Chinese translation update * bubulle@debian.org--2005/apt--main--0--patch-132 Completed Simplified Chinese translation * bubulle@debian.org--2005/apt--main--0--patch-133 Merge with Michael AND update PO files * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-90 * merged the sources.list.d patch * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-91 * merged with bubulle * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-92 * changelog update * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-93 * sources.list.d documented * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-94 * pkgDirStream has (slightly) better extract support now * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-95 * merge fix for #339533 * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-96 * merged with bubulle * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-97 * some more debug output * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-98 * ABI change: merged more flexible pkgAcquireFile code * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-99 * merged http download limit for apt (#146877) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-100 * applied parts of the string speedup patch from debian #319377 (ABI change) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-101 * fix for #340448 * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-102 * finalized this release * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-103 * changelog updates * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-104 * build-depend on libdb4.3 now, fix for kFreeBSD (#317718) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-105 * fix mailaddress * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-106 * fix a string (thanks to bubulle) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-107 * merged with bubulle
2005-11-23* applied parts of the string speedup patch from debian #319377 (ABI change)Michael Vogt1-3/+3
2005-03-23Port DDTP to APT 0.6 branchOtavio Salvador1-2/+42
2004-09-20Increase the range of the ID type for depsArch Librarian1-2/+2
Author: jgg Date: 2001-07-01 22:28:24 GMT Increase the range of the ID type for deps
2004-09-20G++3 fixes from RandolphArch Librarian1-1/+3
Author: jgg Date: 2001-05-07 04:24:08 GMT G++3 fixes from Randolph
2004-09-20Join with aliencodeArch Librarian1-17/+47
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20Fixed the infinite loop problemArch Librarian1-2/+2
Author: jgg Date: 1999-07-30 02:54:25 GMT Fixed the infinite loop problem
2004-09-20Added a depends option to apt-cacheArch Librarian1-51/+46
Author: jgg Date: 1999-07-15 03:15:48 GMT Added a depends option to apt-cache
2004-09-20Multiple different versions supportArch Librarian1-1/+2
Author: jgg Date: 1999-05-23 22:55:54 GMT Multiple different versions support
2004-09-20Fixed espy's bug with experimentalArch Librarian1-1/+2
Author: jgg Date: 1999-04-12 04:21:20 GMT Fixed espy's bug with experimental
2004-09-20performance tuningArch Librarian1-4/+4
Author: jgg Date: 1999-02-23 06:46:24 GMT performance tuning
2004-09-20Free space check, fixed parser jump bug, added importatArch Librarian1-3/+2
Author: jgg Date: 1999-02-21 08:38:53 GMT Free space check, fixed parser jump bug, added importat
2004-09-20Arranged to rename downloaded files to include all impo...Arch Librarian1-2/+3
Author: jgg Date: 1999-02-01 02:22:11 GMT Arranged to rename downloaded files to include all important info