summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/pkgcache.cc:David Kalnischkies2011-04-061-0/+6
| | | | - use the native Architecture stored in the cache header instead of loading it from configuration as suggested by Julian Andres Klode
* * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-251-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
* Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-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
* * apt-pkg/policy.cc:David Kalnischkies2010-09-141-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
* * apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies2010-07-081-1/+1
| | | | - make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
* * apt-pkg/pkgcache.h:David Kalnischkies2010-06-031-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)
* * apt-pkg/pkgcache.h:David Kalnischkies2010-05-041-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
* * doc/cache.sgml:David Kalnischkies2010-05-041-84/+385
| | | | - drop the file in favor of inplace documentation with doxygen
* Readd the FindPkg() method implementation used in the singleArch days toDavid Kalnischkies2010-03-181-1/+7
| | | | | use it as a fallback if multiarch is not enabled. The effect is barly noticeable but SingleArch is the realworld scenario.
* Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies2010-02-121-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.
* Drop the Arch information from the Version structure as we can getDavid Kalnischkies2010-02-071-1/+0
| | | | the information from the parent package now
* Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies2009-12-271-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.
* Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies2009-12-191-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!
* Refactor the cache iterators by using a common base classDavid Kalnischkies2009-12-091-8/+1
| | | | | This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
* use long instead of short for {Ver,Desc}File size in pkgcache.hDavid Kalnischkies2009-11-251-2/+2
| | | | patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
* add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies2009-06-301-24/+24
|
* [ABI break] Allow pinning by codename (closes: #97564)Michael Vogt2009-06-291-0/+1
|\
| * [apt-pkg] allow also codenames for specifying a releaseDavid Kalnischkies2009-05-071-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
* | Introduce support for the Enhances field. (Closes: #137583) jak@debian.org2009-06-151-1/+1
|/
* * apt-pkg/contrib/strutl.cc:Michael Vogt2009-04-091-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).
* * dpkg-triggers: Deal properly with new package states.Michael Vogt2007-09-061-1/+2
|
* * merged the apt-breaks-iwj branchMichael Vogt2006-12-141-1/+5
|\ | | | | | | * pulled in the other remaining ubuntu changes
| * initial Breaks implementationIan Jackson2006-08-251-1/+5
| |
| * * merged ddtp supportMichael Vogt2006-08-111-2/+42
| |\
* | \ * merged the no-pragma branchMichael Vogt2006-12-141-3/+0
|\ \ \
| * | | * removed the pragma messMichael Vogt2006-10-021-3/+0
| |/ /
* | / * merged with apt--mvoMichael Vogt2005-11-301-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
| * * applied parts of the string speedup patch from debian #319377 (ABI change)Michael Vogt2005-11-231-3/+3
| |
* | Port DDTP to APT 0.6 branchOtavio Salvador2005-03-231-2/+42
|/
* Increase the range of the ID type for depsArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 2001-07-01 22:28:24 GMT Increase the range of the ID type for deps
* G++3 fixes from RandolphArch Librarian2004-09-201-1/+3
| | | | | | Author: jgg Date: 2001-05-07 04:24:08 GMT G++3 fixes from Randolph
* Join with aliencodeArch Librarian2004-09-201-17/+47
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* Fixed the infinite loop problemArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-07-30 02:54:25 GMT Fixed the infinite loop problem
* Added a depends option to apt-cacheArch Librarian2004-09-201-51/+46
| | | | | | Author: jgg Date: 1999-07-15 03:15:48 GMT Added a depends option to apt-cache
* Multiple different versions supportArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1999-05-23 22:55:54 GMT Multiple different versions support
* Fixed espy's bug with experimentalArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1999-04-12 04:21:20 GMT Fixed espy's bug with experimental
* performance tuningArch Librarian2004-09-201-4/+4
| | | | | | Author: jgg Date: 1999-02-23 06:46:24 GMT performance tuning
* Free space check, fixed parser jump bug, added importatArch Librarian2004-09-201-3/+2
| | | | | | Author: jgg Date: 1999-02-21 08:38:53 GMT Free space check, fixed parser jump bug, added importat
* Arranged to rename downloaded files to include all impo...Arch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 1999-02-01 02:22:11 GMT Arranged to rename downloaded files to include all important info
* Supports no automaticArch Librarian2004-09-201-5/+3
| | | | | | Author: jgg Date: 1998-12-14 08:07:28 GMT Supports no automatic
* More cache usage countersArch Librarian2004-09-201-1/+3
| | | | | | Author: jgg Date: 1998-12-14 03:39:15 GMT More cache usage counters
* Release supportArch Librarian2004-09-201-3/+9
| | | | | | Author: jgg Date: 1998-12-14 02:23:46 GMT Release support
* Simulator fixArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1998-12-08 01:34:05 GMT Simulator fix
* OptimizationsArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1998-12-07 07:26:19 GMT Optimizations
* Changed size of offset typeArch Librarian2004-09-201-42/+47
| | | | | | Author: jgg Date: 1998-11-12 03:28:29 GMT Changed size of offset type
* Enum fixArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1998-11-08 23:29:18 GMT Enum fix
* Start on acquire stuffArch Librarian2004-09-201-4/+1
| | | | | | Author: jgg Date: 1998-10-20 02:39:12 GMT Start on acquire stuff
* DumpAvail works and apt-cache is completeArch Librarian2004-09-201-2/+9
| | | | | | Author: jgg Date: 1998-07-19 04:22:00 GMT DumpAvail works and apt-cache is complete
* First draft of make system and name change to apt-pkgArch Librarian2004-09-201-5/+5
| | | | | | Author: jgg Date: 1998-07-12 23:58:20 GMT First draft of make system and name change to apt-pkg
* SyncArch Librarian2004-09-201-14/+28
| | | | | | Author: jgg Date: 1998-07-07 04:17:00 GMT Sync