summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.h
Commit message (Collapse)AuthorAgeFilesLines
* mark optional (private) symbols as hiddenDavid Kalnischkies2014-03-211-9/+9
| | | | | | | | This methods should not be used by anyone expect the library itself as they are helpers for the specific class and therefore perfect candidates for hidding. Git-Dch: Ignore
* abstract version hash comparison a bitDavid Kalnischkies2014-03-131-0/+9
| | | | | | | | In #737085 we see that apt can be confused if informations about versions only differ slightly. This commit adds a way of at least adding a few more data points with the next abi break to help a bit with it. Git-Dch: Ignore
* follow method attribute suggestions by gccDavid Kalnischkies2014-03-131-1/+1
| | | | | Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-5/+7
| | | | | | | | 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)
* warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies2014-03-131-2/+2
| | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
* share version strings between same versions (of different architectures)David Kalnischkies2013-04-031-1/+5
| | | to save some space and allow quick comparisions later on
* factor version string creation out of NewDepends, so we can easily reuseDavid Kalnischkies2013-03-131-0/+3
| | | version strings e.g. for implicit multi-arch dependencies
* add implicit dependencies needed for Multi-Arch at the time a VersionDavid Kalnischkies2011-10-121-1/+6
| | | | | | | struct is created and not at the end of the cache generation This allows us to be independent from the configured architectures for these kind of conflicts, we get natural progress for free and only the needed dependencies are in th respective binary cache.
* * apt-pkg/pkgcachegen.cc:David Kalnischkies2011-10-111-0/+6
| | | - refactor MergeList by creating -Group, -Package and -Version specialist
* remove old APT_COMPATIBILITY ifdef'sDavid Kalnischkies2011-09-191-14/+0
|
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-19/+19
|
* * apt-pkg/pkgcachegen.{cc,h}:Michael Vogt2011-07-291-1/+1
| | | | | - use ref-to-ptr semantic in NewDepends() to ensure that the libapt does not segfault if the cache is remapped in between (LP: #812862)
* switch from std::set to std::vector as it is way more simple, a bitDavid Kalnischkies2010-07-091-7/+5
| | | | faster and still provides everything we need for the Cache generator
* * doc/apt.conf.5.xml:David Kalnischkies2010-07-091-0/+1
| | | - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
* * apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies2010-07-081-6/+24
| | | | - make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
* use references instead of copies in the Cache generation methodsDavid Kalnischkies2010-07-081-6/+6
|
* wrap the mmap actions in the CacheGenerator in their own methods toDavid Kalnischkies2010-07-061-4/+8
| | | | be able to react on condition changes later then we can move mmap
* * apt-pkg/cachefile.{cc,h}:David Kalnischkies2010-06-041-2/+8
| | | | - split Open() into submethods to be able to build only parts - make the OpProgress optional in the Cache buildprocess
* Foreign Versions add an implicit Provides to the other packages in the groupDavid Kalnischkies2010-02-101-2/+2
|
* Drop the Arch information from the Version structure as we can getDavid Kalnischkies2010-02-071-0/+1
| | | | the information from the parent package now
* Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies2009-12-271-1/+5
| | | | | | | | | 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-2/+4
| | | | | | | | | | | | 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!
* add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies2009-06-301-4/+4
|
* * fixed compile errors with g++ 7.3 (thanks to Michael Vogt2007-06-191-1/+1
| | | | | Daniel Burrows, closes: #429378) * fix FTFBFS by changing build-depends to libcurl4-gnutls-dev (closes: #428363)
* * 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-8/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-8/+9
| |
* | Port DDTP to APT 0.6 branchOtavio Salvador2005-03-231-0/+6
|/
* Gustavo Niemeyer stuff for RPM file dependsArch Librarian2004-09-201-1/+15
| | | | | | Author: jgg Date: 2002-07-08 03:13:30 GMT Gustavo Niemeyer stuff for RPM file depends
* Join with aliencodeArch Librarian2004-09-201-16/+25
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* Minor cleanups, fix for checksum lowercase bugArch Librarian2004-09-201-3/+8
| | | | | | Author: jgg Date: 1999-07-26 17:46:07 GMT Minor cleanups, fix for checksum lowercase bug
* Added a depends option to apt-cacheArch Librarian2004-09-201-2/+2
| | | | | | 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 segfault in re-install/upgrade conditionArch Librarian2004-09-201-4/+4
| | | | | | Author: jgg Date: 1999-04-28 22:48:44 GMT Fixed segfault in re-install/upgrade condition
* Support for memory-only cachingArch Librarian2004-09-201-1/+3
| | | | | | Author: jgg Date: 1999-04-18 06:36:36 GMT Support for memory-only caching
* performance tuningArch Librarian2004-09-201-1/+9
| | | | | | Author: jgg Date: 1999-02-23 06:46:24 GMT performance tuning
* Release supportArch Librarian2004-09-201-2/+4
| | | | | | Author: jgg Date: 1998-12-14 02:23:46 GMT Release support
* Package Record parserArch Librarian2004-09-201-36/+36
| | | | | | Author: jgg Date: 1998-08-09 00:51:33 GMT Package Record parser
* Progress and combined cache generatorArch Librarian2004-09-201-3/+9
| | | | | | Author: jgg Date: 1998-07-26 04:49:26 GMT Progress and combined cache generator
* Generic progress meterArch Librarian2004-09-201-3/+5
| | | | | | Author: jgg Date: 1998-07-21 05:33:18 GMT Generic progress meter
* Comment touch upsArch Librarian2004-09-201-1/+8
| | | | | | Author: jgg Date: 1998-07-19 21:24:11 GMT Comment touch ups
* DumpAvail works and apt-cache is completeArch Librarian2004-09-201-3/+4
| | | | | | 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-3/+3
| | | | | | 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-1/+5
| | | | | | Author: jgg Date: 1998-07-07 04:17:00 GMT Sync
* Final testingArch Librarian2004-09-201-3/+9
| | | | | | Author: jgg Date: 1998-07-05 05:33:52 GMT Final testing
* CheckpointArch Librarian2004-09-201-7/+14
| | | | | | Author: jgg Date: 1998-07-04 05:57:34 GMT Checkpoint
* Base revisionsArch Librarian2004-09-201-0/+69
Author: jgg Date: 1998-07-02 02:58:12 GMT Base revisions