Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-06 | Change soname to libapt-pkg.so.5.90 | Julian Andres Klode | |
This is a bit experimental, and we'll go through a few stages before reaching libapt-pkg.so.6.0. | |||
2019-05-06 | cacheset: Remove simple cases of deprecated code | Julian Andres Klode | |
This is missing the ones that are still actively used in cacheset.cc, we need to clean those up too, but they are obviously more tricky. | |||
2019-05-06 | Use debDebFile to get control file instead of dpkg-deb | Julian Andres Klode | |
2019-05-06 | Merge libapt-inst into libapt-pkg | Julian Andres Klode | |
2019-05-03 | Prevent shutdown while running dpkg | Julian Andres Klode | |
As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886 | |||
2019-04-30 | apt-pkg: URI: Add 'explicit' to single argument constructor | Julian Andres Klode | |
This needs a fair amount of changes elsewhere in the code, hence this is separate from the previous commits. | |||
2019-04-30 | apt-pkg: hashes: Add 'explicit' to single argument constructors | Julian Andres Klode | |
This avoids funny code where strings get implicitly converted to HashString or HashStringList. | |||
2019-04-30 | Add 'explicit' to most single argument constructors | Julian Andres Klode | |
This prevents implicit conversions that we do not want, such as having a FileFd* being converted to a debListParser. Two cases are not yet handled because they require changes in code using them: 1. The classes in hashes.h 2. The URI class - this one is used quite a lot | |||
2019-04-30 | acq: worker: Move CurrentSize, TotalSize, ResumePoint to CurrentItem | Julian Andres Klode | |
These status fields belong to the current item, move them there. This prepares us for eventually having multiple current items. | |||
2019-04-16 | Don't limit cpu-limited queues to at most 10 | David Kalnischkies | |
Queues for processes like rred are not created by hostname but we spawn at most CPU*2 queues to place items in. The problem is that we then proceeded to limit it to at most 10 queues (via QueueHost::Limit) again at the end of the method so that all items (after the first 10 queues are busy) are forcibly placed into a generic catch-all instance which is bad because we don't keep all CPUs we have available busy and worse we end up sheduling the most work to a single one while random distribution was intended. | |||
2019-04-16 | Follow gcc-9 -Wnoexcept suggestion for FileChunk constructor | David Kalnischkies | |
warning: but ‘pkgTagFilePrivate::FileChunk::FileChunk(bool, size_t)’ does not throw; perhaps it should be declared ‘noexcept’ [-Wnoexcept] Reported-By: gcc-9 Gbp-Dch: Ignore | |||
2019-04-04 | Merge branch 'pkgconfig' into 'master' | Julian Andres Klode | |
Add PkgConfig on the apt-pkg and apt-inst libraries See merge request apt-team/apt!20 | |||
2019-03-11 | Use system-provided triehash | Julian Andres Klode | |
2019-03-08 | Add pkg-config files for the apt-pkg and apt-inst libraries | Corentin Noël | |
Closes: #439121 | |||
2019-03-08 | Merge tag '1.8.0' | Julian Andres Klode | |
apt Debian release 1.8.0 | |||
2019-03-03 | Add explicit message for unsupported binary signature | David Kalnischkies | |
Verifying the content of Release.gpg made us fail on binary signatures which were never officially supported (apt-secure manpage only documents only the generation of ASCII armored), but silently accepted by gpgv as we passed it on unchecked before. The binary format is complex and is itself split into old and new formats so adding support for this would not only add lots of code but also a good opportunity for bugs and dubious benefit. Reporting this issue explicitly should help repository creators figure out the problem faster than the default NODATA message hinting at captive portals. Given that the binary format has no file magic or any other clear and simple indication that this is a detached signature we guess based on the first two bits only – and by that only supporting the "old" binary format which seems to be the only one generated by gnupg in this case. References: e2965b0b6bdd68ffcad0e06d11755412a7e16e50 Closes: #921685 | |||
2019-02-26 | fileutl: Merge Popen variants | Julian Andres Klode | |
2019-02-26 | acquire-item: Remove deprecated members and functions | Julian Andres Klode | |
2019-02-26 | orderlist: Remove deprecated VisitNode() variant | Julian Andres Klode | |
2019-02-26 | dpkgpm: Remove deprecated pkgDPkgPM::SendV2Pkgs() | Julian Andres Klode | |
2019-02-26 | fileutl: Remove deprecated functions such as gzFd() | Julian Andres Klode | |
2019-02-26 | strutl: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | edsp: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | sptr: Remove deprecated smart pointer classes | Julian Andres Klode | |
Please use the standard C++ variants instead. | |||
2019-02-26 | sourceslist: Remove deprecated AddVolatileFiles() variant | Julian Andres Klode | |
2019-02-26 | netrc: Remove deprecated function maybe_add_auth() | Julian Andres Klode | |
2019-02-26 | depcache: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | packagemanager: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | pkgcachegen: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | indexcopy: Remove deprecated SigVerify::RunGPGV() | Julian Andres Klode | |
2019-02-26 | hashes: Remove deprecated functions | Julian Andres Klode | |
This keeps the members in the class, but makes them private. We want to migrate to libgcrypt eventually, since we already use libgcrypt through gpgv anyway. | |||
2019-02-26 | metaindex: Remove deprecated checkSum::Hash (replaced by Hashes) | Julian Andres Klode | |
2019-02-26 | algorithms: Remove deprecated ProblemResolver::InstallProtect() | Julian Andres Klode | |
2019-02-26 | acquire: Remove deprecated pkgAcquire::Setup() function | Julian Andres Klode | |
2019-02-26 | acquire: Fold pkgAcquireStatus2 into pkgAcquireStatus | Julian Andres Klode | |
Clean up the code, make it neat, lalala | |||
2019-02-26 | tagfile: Remove deprecated pkgUserTagSection and TFRewrite | Julian Andres Klode | |
2019-02-26 | indexfile: Remove deprecated translation functions | Julian Andres Klode | |
2019-02-26 | clean: Fold pkgArchiveCleaner2 into pkgArchiveCleaner | Julian Andres Klode | |
2019-02-26 | pkgSrcRecords::Parser: Fold Files2() into Files() | Julian Andres Klode | |
This is possible now with the API break. Cleaner code, woohoo. | |||
2019-02-26 | pkgrecords: Renive deprecated functions | Julian Andres Klode | |
2019-02-26 | cachefile: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | upgrade: Remove deprecated functions | Julian Andres Klode | |
2019-02-26 | cacheiterators: Cleanup deprecated code | Julian Andres Klode | |
2019-02-26 | pkgcache: Remove deprecated bits | Julian Andres Klode | |
2019-02-26 | Bump SONAMEs in preparation for ABI breaks | Julian Andres Klode | |
2019-02-10 | Fix various typos in the documentation | Jakub Wilk | |
2019-02-04 | Use std::to_string() for HashStringList::FileSize() getter | Julian Andres Klode | |
This slightly improves performance, as std::to_string() (as in gcc's libstdc++) avoids a heap allocation. This is surprisingly performance critical code, so we might want to improve things further in 1.9 by manually calculating the string - that would also get rid of issues with locales changing string formatting, if any. | |||
2019-02-04 | Detect function multiversioning and sse4.2/crc32, enables i386 | Julian Andres Klode | |
This fixes the build on kfreebsd-amd64, and due to the detection of sse4.2, should also enable the sse4.2 on i386. | |||
2019-02-04 | gpgv: Use buffered writes for splitting clearsigned files | Julian Andres Klode | |
This is safe here, as the code ensures that the file is flushed before it is being used. The next series should probably make GetTempFile() buffer writes by default. | |||
2019-02-04 | Merge branch 'pu/dead-pin' into 'master' | Julian Andres Klode | |
A pin of -32768 overrides any other, disables repo See merge request apt-team/apt!40 |