summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * symbols: Bump version from 1.9.10 to 1.9.11~Julian Andres Klode2020-02-261-42/+42
|/
* Merge branch 'pu/cleanups' into 'master'Julian Andres Klode2020-02-2630-217/+80
|\ | | | | | | | | Cleanup ABI - make stuff virtual, etc See merge request apt-team/apt!106
| * Symbol updatesJulian Andres Klode2020-02-261-10/+7
| |
| * cache: Swap locations of hashtables, hide them from non-apt usersJulian Andres Klode2020-02-261-2/+5
| | | | | | | | | | Only expose the locations of the hasthables if APT_COMPILING_APT is set.
| * Make metaIndex::GetNotBefore virtualJulian Andres Klode2020-02-263-9/+2
| |
| * pkgsystem: Drop more virtual workaround shenanigansJulian Andres Klode2020-02-266-56/+22
| |
| * metaindex: Add Origin, Label, Version, DefaultPin, ReleaseNotes membersJulian Andres Klode2020-02-263-32/+19
| | | | | | | | These were hidden behind the d-pointer previously.
| * Remove various dynamic_cast uses, use virtual methods insteadJulian Andres Klode2020-02-263-16/+6
| |
| * Merge pkgPackageManager::SmartUnpackJulian Andres Klode2020-02-262-7/+1
| |
| * Rename pkgSimulate::Go2 to pkgSimulate::GoJulian Andres Klode2020-02-263-8/+3
| |
| * cdrom: Remove old udev dlopen stuffJulian Andres Klode2020-02-264-29/+1
| |
| * Drop pkgAcquire::Item::ModifyRetries() ABI hackJulian Andres Klode2020-02-263-12/+7
| |
| * Merge pkgAcquire::RunFdsSane back into RunFdsJulian Andres Klode2020-02-262-15/+4
| |
| * Remove ABI workaround for debDebPkgFileIndex::ArchiveInfoJulian Andres Klode2020-02-263-7/+3
| |
| * Merge CommandLine::DispatchArgJulian Andres Klode2020-02-262-7/+0
| |
| * Remove pkgAcqFile::Failed overloadJulian Andres Klode2020-02-262-7/+0
|/
* Merge branch 'pu/tagfile-hardening' into 'master'Julian Andres Klode2020-02-251-1/+14
|\ | | | | | | | | Pu/tagfile hardening See merge request apt-team/apt!104
| * tagfile: Check out-of-bounds access to Tags vectorJulian Andres Klode2020-02-201-0/+8
| | | | | | | | | | Check that the index we're going to use is within the size of the array.
| * tagfile: Check if memchr() returned null before usingJulian Andres Klode2020-02-201-1/+6
| | | | | | | | | | This fixes a segmentation fault trying to read from nullptr+1, aka address 1.
* | debian: Update symbols fileJulian Andres Klode2020-02-251-32/+38
| |
* | patterns: Mark things hidden, and only allow internal use of headerJulian Andres Klode2020-02-251-33/+38
| |
* | Remove left-over SummationImplementation classJulian Andres Klode2020-02-252-73/+0
| |
* | Initialize libgcrypt on first useJulian Andres Klode2020-02-251-0/+23
| | | | | | | | | | | | | | This is not supposed to be done this way, but frankly, since we abstract away the backend, there's not much else we can do here. Closes: #949074
* | Merge branch 'pu/typesafe-cache2' into 'master'Julian Andres Klode2020-02-2510-141/+196
|\ \ | |/ |/| | | | | Type-safe cache / map_pointer See merge request apt-team/apt!105
| * Add d-pointers to groups, packages, versions, and filesJulian Andres Klode2020-02-251-2/+17
| | | | | | | | | | | | | | | | This allows us to extend those in-cache objects with more data later on without breaking the ABI. Reserve 12 pointers for private data in the pkgCache class, and double the size of pools to 24.
| * Silence narrow conversion warnings, add error checksJulian Andres Klode2020-02-251-7/+20
| | | | | | | | | | | | When converting a long offset to a uint32_t to be stored in the map, check that this is safe to do. If the offset is negative, or we lose data in the conversion, we lost.
| * Make map_pointer<T> typesafeJulian Andres Klode2020-02-249-35/+57
| | | | | | | | | | | | | | | | | | | | | | Instead of just using uint32_t, which would allow you to assign e.g. a map_pointer<Version> to a map_pointer<Package>, use our own smarter struct that has strict type checking. We allow creating a map_pointer from a nullptr, and we allow comparing map_pointer to nullptr, which also deals with comparisons against 0 which are often used, as 0 will be implictly converted to nullptr.
| * Wrap AllocateInMap with a templated versionJulian Andres Klode2020-02-242-15/+20
| |
| * Replace map_pointer_t with map_pointer<T>Julian Andres Klode2020-02-247-109/+109
|/ | | | | | This is a first step to a type safe cache, adding typing information everywhere. Next, we'll replace map_pointer<T> implementation with a type safe one.
* Merge branch 'patch-1' into 'master'Julian Andres Klode2020-02-181-1/+1
|\ | | | | | | | | bash completion: Add autopurge command See merge request apt-team/apt!75
| * bash completion: Add autopurge commandTomáš Janoušek2019-09-101-1/+1
| |
* | Merge branch 'master' into 'master'Julian Andres Klode2020-02-181-9/+21
|\ \ | | | | | | | | | | | | apt-mark: don't lie about successful marks See merge request apt-team/apt!94
| * | apt-mark: don't lie about successful marksTris Emmy Wilson2020-01-091-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes an issue where apt-mark would say it had made a change before actually making the change. For example, when running as a user without permission to write to extended_states, the package is not marked but apt-mark claims it is: ~ % apt-mark manual rxvt-unicode rxvt-unicode set to manually installed. E: Could not create [...snip...] (13: Permission denied) E: Failed to write temporary StateFile /var/lib/apt/extended_states This commit moves reporting of "[package] set to [manually | automatically] installed" after saving extended_states and confirming it was successful.
* | | Merge branch 'source_to_debsrc' into 'master'Julian Andres Klode2020-02-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | apt-pkg/srcrecords.cc: 'source' means 'deb-src' in error message See merge request apt-team/apt!101
| * | | apt-pkg/srcrecords.cc: 'source' means 'deb-src' in error messageNis Martensen2020-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The filename "sources.list" suggests that all contained lines are meant to describe some package source, so users might not immediately understand that this refers to 'deb-src' type lines. Please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919285 for an example of the resulting confusion.
* | | | Merge branch 'pu/no-more-crc16' into 'master'Julian Andres Klode2020-02-1810-114/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ABI break: Remove CRC-16 See merge request apt-team/apt!97
| * | | | Remove CRC-16 implementationJulian Andres Klode2020-02-184-99/+0
| | | | |
| * | | | Use a 32-bit djb VersionHash instead of CRC-16Julian Andres Klode2020-02-187-15/+15
|/ / / /
* | | | Merge branch 'pu/source-version' into 'master'Julian Andres Klode2020-02-185-37/+99
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ABI BREAK: Implement pinning by source package See merge request apt-team/apt!96
| * | | | policy: Implement pinning by source packageJulian Andres Klode2020-01-172-14/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the src: syntax inside policy, allowing you to pin by source package. This by default only pins the native architecuture, use src:pkg:any to pin for all architectures in your cache. Closes: #166032
| * | | | Allow querying all binaries built by a source packageJulian Andres Klode2020-01-173-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a simple way to lookup binaries by a source package, but this adds all binaries into one list, even with different source versions. Be careful.
* | | | | Merge branch 'pu/bump-abi6' into 'master'Julian Andres Klode2020-02-1820-3612/+1487
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Bump ABI to 6.0 See merge request apt-team/apt!103
| * | | | | Remove code tagged APT_PKG_590, add some missing includesJulian Andres Klode2020-02-1817-2131/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove all code scheduled to be removed after 5.90, and fix files to include files they previously got from hashes.h including more headers.
| * | | | | Bump ABI to 6.0Julian Andres Klode2020-02-184-1481/+1481
|/ / / / /
* | | | | release 1.9.101.9.10Julian Andres Klode2020-02-1815-66/+85
| | | | |
* | | | | Revert "Add a Packages-Require-Authorization Release file field"Julian Andres Klode2020-02-167-122/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This experiment did not turn out sensibly, as some servers do not accept credentials when none are expected and fail, so you cannot mirror such a repository. This reverts commit c2b9b0489538fed4770515bd8853a960b13a2618.
* | | | | policy: Add SetPriority() methodsJulian Andres Klode2020-02-162-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | These allow overriding priorities, however, pins set by SetPriority for package files will be overriden by calls to InitDefaults().
* | | | | Merge branch 'tweak-man' into 'master'Julian Andres Klode2020-02-131-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | doc: remove "WIP" from apt.8.xml See merge request apt-team/apt!102
| * | | | doc: remove "WIP" from apt.8.xmlMichael Vogt2020-02-131-1/+1
|/ / / / | | | | | | | | | | | | | | | | The current man-page has "(work in progress") for `apt list`. I feel after more than >5y we can remove this.
* | | | seccomp: Allow recvmmsg_time64() and futex_time64()Julian Andres Klode2020-02-101-0/+2
| | | | | | | | | | | | | | | | | | | | Saw those in libseccomp commit, figured should add them too.