summaryrefslogtreecommitdiff
path: root/ftparchive/cachedb.h
AgeCommit message (Collapse)AuthorFilesLines
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode1-3/+3
This makes it easier to see which headers includes what. The changes were done by running git grep -l '#\s*include' \ | grep -E '.(cc|h)$' \ | xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/' To modify all include lines by adding a space, and then running ./git-clang-format.sh.
2015-11-05apply various suggestions made by cppcheckDavid Kalnischkies1-1/+1
Reported-By: cppcheck Git-Dch: Ignore
2014-09-27fix: warning: extra ‘;’ [-Wpedantic]David Kalnischkies1-2/+2
Reported-By: gcc -Wpedantic Git-Dch: Ignore
2014-06-18Merge branch 'debian/sid' into debian/experimentalMichael Vogt1-4/+22
Conflicts: debian/changelog
2014-06-04Add compat mode for old (32bit FileSize) CacheDB (LP: #1274466)Michael Vogt1-1/+19
2014-05-27use free() instead of delete() when realloc is usedMichael Vogt1-3/+3
ContentsExtract::~ContentsExtract() needs to use free() because Data got allocated via realloc() Reported-By: clang -fsanitize=address -fno-omit-frame-pointer
2014-05-09deal with hashes in ftparchive more dynamic as wellDavid Kalnischkies1-20/+11
Now that libapts acquire system happily passes around hashes and can be made to support new ones without an ABI break in the future, we can free ftparchive from all the deprecation warnings the last commit introduced for it. The goal here isn't to preserve ABI as we have none to keep here, but to help avoiding introduction problems of 'new' hashes later as bugs creep into the copy&paste parts, so short/less of them is good.
2014-04-04refactor _InitQuery()Michael Vogt1-1/+14
2014-04-04Implement CacheDB for source packages in apt-ftparchiveMichael Vogt1-3/+25
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-3/+5
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)
2012-03-04fix a bunch of cppcheck "(warning) Member variable '<#>' is notDavid Kalnischkies1-2/+3
initialized in the constructor." messages (no functional change)
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-4/+4
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-11/+11
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies1-3/+3
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-02-22add sha512 support to apt-ftparchiveMichael Vogt1-4/+16
2009-11-28tell every method in ftparchive/ that const& is sexyDavid Kalnischkies1-10/+10
2009-11-28add APT::FTPArchive::AlwaysStat to disable the too aggressiveDavid Kalnischkies1-2/+2
caching if versions are build multiply times (not recommend) Patch by Christoph Goehre, thanks! (Closes: #463260)
2006-10-02* removed the pragma messMichael Vogt1-3/+1
2006-03-08* added ajs patchMichael Vogt1-10/+30
2005-05-23* merged with my apt--fixes--0 branchMichael Vogt1-1/+1
Patches applied: * apt@packages.debian.org/apt--misc-abi-changes--0--patch-4 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-5 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-6 Collapse both pkgAcquire::Run() methods into one, with a default value * michael.vogt@ubuntu.com--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-1 * merged obvious fixes into the tree to make it easy for matt to merge * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-2 * more merges from otavio that looks good/uncritical * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-3 * merged Matts misc-abi-changes tree * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-4 * finalized the changelog for a ubuntu build * otavio@debian.org--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-71 * otavio@debian.org--2005/apt--fixes--0--patch-1 Fix comments about the need of xmlto * otavio@debian.org--2005/apt--fixes--0--patch-2 Fix a compile warning * otavio@debian.org--2005/apt--fixes--0--patch-3 Sync with apt--main--0--patch-76 * otavio@debian.org--2005/apt--fixes--0--patch-4 Sync with apt--main--0--patch-78 * otavio@debian.org--2005/apt--fixes--0--patch-5 Add fixes that was wrongly included on DDTP changes. * otavio@debian.org--2005/apt--fixes--0--patch-8 Add information about the other fixes include on this branch now. * otavio@debian.org--2005/apt--fixes--0--patch-9 Merge last changes from apt--main--0. * otavio@debian.org--2005/apt--fixes--0--patch-10 Fix warnings about min/max change in gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-11 Fix remaning warnings while compiling gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-12 Add changelog entry about the fixes for warnings while compiling using GCC 4.0 compiler.
2004-09-20* Build apt-ftparchive with libdb4.2 rather than libdb2Arch Librarian1-2/+2
Author: mdz Date: 2004-05-08 19:41:01 GMT * Build apt-ftparchive with libdb4.2 rather than libdb2 - Patch from Clint Adams to do most of the work - Build-Depends: s/libdb2-dev/libdb4.2-dev/ - Add AC_PREREQ(2.50) to configure.in - Use db_strerror(err) rather than GlobalError::Errno (which uses strerror)
2004-09-20s/st_mtime/mtime/ on our local stat structure in apt-ft...Arch Librarian1-2/+2
Author: doogie Date: 2002-11-22 07:19:51 GMT s/st_mtime/mtime/ on our local stat structure in apt-ftparchive, to support compliation on platforms where st_mtime is a macro.
2004-09-20Join with aliencodeArch Librarian1-0/+119
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode