<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/macros.h, branch 3.3.1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=3.3.1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=3.3.1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2026-01-05T21:20:24Z</updated>
<entry>
<title>macros: Introduce must_succeed() macro</title>
<updated>2026-01-05T21:20:24Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-12-29T11:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6ceaa78088ebdaea6cb887a7e8066fc29e0f984d'/>
<id>urn:sha1:6ceaa78088ebdaea6cb887a7e8066fc29e0f984d</id>
<content type='text'>
This is like assert() but never compiled out so can be used with
function calls that have side effects.
</content>
</entry>
<entry>
<title>Run unifdef -DAPT_PKG_ABI=700 again</title>
<updated>2025-02-15T08:40:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-15T08:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6e877571bc2dd50e38f2f35675c401d74dbe233d'/>
<id>urn:sha1:6e877571bc2dd50e38f2f35675c401d74dbe233d</id>
<content type='text'>
main picked up a couple new ifdefs since the branch started; so
clean them up again.
</content>
</entry>
<entry>
<title>Bump ABI to 7.0</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-01-05T18:21:18Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2713f0fb7d2bd6efe54ccd90c422bd2262ac8b16'/>
<id>urn:sha1:2713f0fb7d2bd6efe54ccd90c422bd2262ac8b16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Drop unused short form APT_IGNORE_DEPRECATED</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T22:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1bc8792f87eb265005b77d209fc8321886dc5290'/>
<id>urn:sha1:1bc8792f87eb265005b77d209fc8321886dc5290</id>
<content type='text'>
Even the long form isn't used much (or currently not at all), but given
that the short form is not really working even if it would be used…
lets drop it and use the long form if we have to.
</content>
</entry>
<entry>
<title>Drop usage of APT_MUSTCHECK</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T21:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=12036e1ff02d0c02d0f69050c1f080e8ca947cd5'/>
<id>urn:sha1:12036e1ff02d0c02d0f69050c1f080e8ca947cd5</id>
<content type='text'>
nodiscard is a C++17 feature and already used (not just due to my recent
changes) in our codebase, so lets drop the last remaining holdouts.
</content>
</entry>
<entry>
<title>Drop usage of APT_UNUSED</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T21:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3977dd98d30e40986f883fe03370d673eb616442'/>
<id>urn:sha1:3977dd98d30e40986f883fe03370d673eb616442</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Drop APT_DEPRECATED usage</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T21:32:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=785a7a50b53bd0794e58cca31730818714992c00'/>
<id>urn:sha1:785a7a50b53bd0794e58cca31730818714992c00</id>
<content type='text'>
C++14 includes the standard attribute, so we can use that instead.
Note that we drop the deprecation of {Pkg,Dep}Iterator::operator&lt;&lt; as
this is ignored (a friends declaration must be a definition to have
attributes) very noisily by GCC &gt;= 12 and the methods can be somewhat
useful in debugging if you are to lazy to get APT::Pretty{Pkg,Dep}.
</content>
</entry>
<entry>
<title>Drop APT_NORETURN usage</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T21:00:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9000543eb219f83b6b9592b681fc6811bc56e26f'/>
<id>urn:sha1:9000543eb219f83b6b9592b681fc6811bc56e26f</id>
<content type='text'>
[[noreturn]] is a C++11 feature and so we can just use it
unconditionally.
</content>
</entry>
<entry>
<title>Drop unused FLAG macro and friends</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T20:50:30Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=81d6684a0c05c1232f853045b8f1eaa8cc1a782e'/>
<id>urn:sha1:81d6684a0c05c1232f853045b8f1eaa8cc1a782e</id>
<content type='text'>
They are rather generic names for macros and have no usage in our
codebase at all, so lets remove them for good now.
</content>
</entry>
<entry>
<title>Drop the remaining usage of APT_ARRAY_SIZE</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T20:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1e2b5197ee350a36fbad006f198bbf8e9a5c8e53'/>
<id>urn:sha1:1e2b5197ee350a36fbad006f198bbf8e9a5c8e53</id>
<content type='text'>
That macro is not that useful as it might perhaps once was. Lets prepare
dropping it now in favour of more standard ways of working with arrays
now.
</content>
</entry>
</feed>
