summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.9.112.9.11Julian Andres Klode2024-11-1448-7094/+4948
|
* Merge branch 'svequiv' into 'main'Julian Andres Klode2024-11-1428-485/+485
|\ | | | | | | | | Internally replace APT::StringView with std::string_view where it doesn't affect the ABI, with implementations that support both std::string_view and APT::StringView with new shims. ReportMirrorFailureToCentral: fix use-after-free See merge request apt-team/apt!394
| * apt-pkg/contrib/gpgv.cc: APT::StringView -> std::string_viewнаб2024-11-121-7/+7
| |
| * apt-pkg/deb/deblistparser.h: APT::StringView -> std::string_viewнаб2024-11-121-6/+5
| |
| * apt-pkg/deb/deblistparser.cc: APT::StringView -> std::string_viewнаб2024-11-121-30/+31
| |
| * apt-pkg/deb/debsrcrecords.h: APT::StringView -> std::string_viewнаб2024-11-121-7/+7
| |
| * apt-pkg/deb/debsrcrecords.cc: APT::StringView -> std::string_viewнаб2024-11-121-12/+12
| |
| * apt-pkg/pkgcachegen.cc, apt-pkg/pkgcachegen.h: APT::StringView -> ↵наб2024-11-124-123/+123
| | | | | | | | std::string_view
| * methods/http.cc: APT::StringView -> std::string_viewнаб2024-11-121-4/+3
| |
| * apt-pkg/cachefilter-patterns.h, apt-pkg/cachefilter-patterns.cc: prepare for ↵наб2024-11-122-65/+66
| | | | | | | | APT::StringView -> std::string_view
| * apt-pkg/acquire-item.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-7/+7
| |
| * apt-pkg/deb/debrecords.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-20/+20
| |
| * apt-pkg/deb/debmetaindex.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-7/+7
| |
| * apt-pkg/tagfile.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-1/+1
| |
| * apt-pkg/policy.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-4/+3
| |
| * cmdline/apt-sortpkgs.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-15/+15
| |
| * apt-private/private-update.cc: APT::StringView -> std::string_viewнаб2024-11-121-1/+1
| |
| * apt-pkg/contrib/configuration.cc: prepare for APT::StringView -> ↵наб2024-11-121-40/+39
| | | | | | | | std::string_view
| * cmdline/apt-extracttemplates.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-15/+15
| |
| * apt-pkg/indexcopy.cc: prepare for APT::StringView -> std::string_viewнаб2024-11-121-38/+38
| |
| * flCombine: try to reuse one of the strings when returningнаб2024-11-121-54/+54
| |
| * apt-pkg/edsp/edsplistparser.cc: APT::StringView -> std::string_viewнаб2024-11-126-13/+9
| |
| * apt-pkg/algorithms.cc, apt-pkg/cachefilter.h: drop unused #include ↵наб2024-11-122-2/+0
| | | | | | | | <apt-pkg/string_view.h>
| * apt-pkg/edsp.cc: APT::StringView -> std::string_viewнаб2024-11-121-9/+8
| |
| * APT::StringView: add operator std::string_view(), StringViewCompareFast() ↵наб2024-11-121-4/+13
| | | | | | | | for std::string_views, operator<<(ostream&), std::string_view constructor, operator==(std::string_view)
| * test/libapt/strutil_test.cc: APT::StringView -> std::string_viewнаб2024-11-121-2/+1
| |
| * ReportMirrorFailureToCentral: fix use-after-freeнаб2024-11-121-1/+2
| |
* | Merge branch 'json-config' into 'main'Julian Andres Klode2024-11-144-46/+1151
|\ \ | |/ |/| | | | | JSON: Pass options to hooks in hello message See merge request apt-team/apt!389
| * json: Add "options" array to JSON hooksJulian Andres Klode2024-11-123-4/+182
| | | | | | | | | | See the attached documentation. Note that defaults are missing, so using this is not particularly easy so far.
| * test: Prettify JSON tests using jqJulian Andres Klode2024-11-122-42/+969
| | | | | | | | | | | | | | | | This also ensures that our JSON is actually correct JSON. echo may fail now with EPIPE, given that it is multiline, so wrap it in 2>/dev/null
* | Merge branch 'more' into 'main'Julian Andres Klode2024-11-1210-107/+117
|\ \ | | | | | | | | | | | | APT_BUFFER_SIZE pkgTagFile default size. std::vector(1024) -> std::array<1024>. dpkgpm buffers See merge request apt-team/apt!390
| * | dpkgpm: fdopen() failing doesn't close the fdнаб2024-11-121-0/+3
| | |
| * | dpkgpm: append ":$printarchitecture" instead of ':'+${#printarchitecture} to ↵наб2024-11-121-1/+1
| | | | | | | | | | | | package name
| * | dpkgpm: use getline() for Apport var/crash linesнаб2024-11-121-18/+11
| | | | | | | | | | | | | | | Also remove useless condition: sscanf() already direct-matches non-whitespace bytes
| * | dpkgpm: use std::array<unsigned char, APT_BUFFER_SIZE> for I/O copy buffersнаб2024-11-121-7/+7
| | |
| * | dpkgpm: use sysconf(_SC_GETPW_R_SIZE_MAX)-sized + growing buffer for ↵наб2024-11-121-2/+7
| | | | | | | | | | | | getpwuid_r() instead of 255
| * | pkgDPkgPMPrivate::dpkgbuf: char[1024] -> array<char, APT_BUFFER_SIZE>наб2024-11-121-8/+8
| | |
| * | dpkgpm: lift out CopyIndented() and make_unique_*() for FILEs; use getline() ↵наб2024-11-123-60/+55
| | | | | | | | | | | | for reading lines instead of 1k buffer
| * | Turn unique_ptr<decltype(fclose and free)> into real deleter types (warnings ↵наб2024-11-125-13/+25
| | | | | | | | | | | | now, UB in C++20)
| * | mthdcat: use APT_BUFFER_SIZE I/O bufferнаб2024-11-111-2/+3
| | |
| * | Bump pkgTagFile default Size from 32k to APT_BUFFER_SIZEнаб2024-11-111-4/+4
| | |
| * | Replace constant-size never-reallicated getservbyport_r() std::vector buffer ↵наб2024-11-111-1/+2
| | | | | | | | | | | | with std::array
* | | Czech program translation updateMiroslav Kure2024-11-121-40/+41
| | | | | | | | | | | | Closes: #1087220
* | | Portuguese manpages translation updateAmérico Monteiro2024-11-121-117/+79
| | | | | | | | | | | | Closes: #1086336
* | | Merge branch 'doublecopy' into 'main'Julian Andres Klode2024-11-123-6/+6
|\ \ \ | |/ / |/| | | | | | | | FileFd::Open: don't needlessly copy filename in three-arg constructor. Replace std::bind with lambdas See merge request apt-team/apt!391
| * | Replace std::bind with lambdasнаб2024-11-112-4/+4
| | |
| * | FileFd::Open: don't needlessly copy filename in three-arg constructorнаб2024-11-111-2/+2
|/ /
* | Merge branch 'stdarray' into 'main'Julian Andres Klode2024-11-1111-67/+67
|\ \ | | | | | | | | | | | | Fold char[APT_BUFFER_SIZE] and unique_ptr<char, APT_BUFFER_SIZE> into std::array<char, APT_BUFFER_SIZE> See merge request apt-team/apt!386
| * | Turn std::unique_ptr<char[]/std::array<char>>(APT_BUFFER_SIZE) buffers into ↵наб2024-11-113-13/+13
| | | | | | | | | | | | std::array<char, APT_BUFFER_SIZE>
| * | Turn char[APT_BUFFER_SIZE] buffers into std::array<char, APT_BUFFER_SIZE>наб2024-11-116-46/+46
| | |