<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp, branch gpgme-1.24.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.24.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.24.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2024-10-23T08:12:08Z</updated>
<entry>
<title>cpp: Put attributes before declarations</title>
<updated>2024-10-23T08:12:08Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-10-23T08:10:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c4b39a77950b3b737de06eca044b35a845fc6299'/>
<id>urn:sha1:c4b39a77950b3b737de06eca044b35a845fc6299</id>
<content type='text'>
* lang/cpp/src/key.h (UserID::Signature::Notation): Move
GPGMEPP_DEPRECATED before the whole typedef declaration.
* lang/cpp/src/verificationresult.h (Signature::Notation): Ditto.
--
</content>
</entry>
<entry>
<title>cpp: Add/change some includes</title>
<updated>2024-10-23T08:01:07Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-10-23T08:01:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bff4b847fc6361c6027afc1e8c78aa7580e2a27c'/>
<id>urn:sha1:bff4b847fc6361c6027afc1e8c78aa7580e2a27c</id>
<content type='text'>
* lang/cpp/src/gpgaddexistingsubkeyeditinteractor.h,
lang/cpp/src/gpgrevokekeyeditinteractor.h: Include &lt;string&gt;.
* lang/cpp/src/key.h: Include &lt;ctime&gt; instead of &lt;sys/time.h&gt;.
--
</content>
</entry>
<entry>
<title>cpp: Add support for new flag fields beta_compliance</title>
<updated>2024-10-21T12:47:10Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-10-21T12:47:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2a0595906970505debf64e166b9a35cccbf1b424'/>
<id>urn:sha1:2a0595906970505debf64e166b9a35cccbf1b424</id>
<content type='text'>
* lang/cpp/src/decryptionresult.cpp, lang/cpp/src/decryptionresult.h
(class DecryptionResult): Add method isBetaCompliance.
* lang/cpp/src/decryptionresult.cpp (operator&lt;&lt;): Add new flag.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): Add method
isBetaCompliance.
(class Subkey): Add method isBetaCompliance.
* lang/cpp/src/key.cpp:
(Key::isDeVs): Remove duplicate check of is_de_vs of first subkey.
(operator&lt;&lt;): Add new flag.
* lang/cpp/src/verificationresult.cpp, lang/cpp/src/verificationresult.h
(class Signature): Add method isBetaCompliance.
* lang/cpp/src/verificationresult.cpp (operator&lt;&lt;): Add new flag.
--

GnuPG-bug-id: 7346
</content>
</entry>
<entry>
<title>cpp: Add pkgconfig file for gpgmepp</title>
<updated>2024-08-29T11:51:38Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-27T16:03:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=569348ee84068ade5e05902dd9d670a1a30c7ca1'/>
<id>urn:sha1:569348ee84068ade5e05902dd9d670a1a30c7ca1</id>
<content type='text'>
* configure.ac: Add substitutions GPGMEPP_PKGCONFIG_LIBS,
GPGMEPP_PKGCONFIG_CFLAGS, GPGMEPP_PKGCONFIG_HOST. Apply them. Configure
gpgmepp.pc file.
* lang/cpp/src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
(EXTRA_DIST): Add gpgmepp.pc.in.
* lang/cpp/src/gpgmepp.pc.in: New.
--

This pkgconfig file will be used, at least temporarily, by qgpgme
to find gpgmepp, but it's also useful in general for projects that
don't use cmake.

GnuPG-bug-id: 7262
</content>
</entry>
<entry>
<title>cpp: Go with default answer on unknown question by key edit interface</title>
<updated>2024-08-28T14:32:18Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-08-28T14:32:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7579c40124c9b287bb67e974bda46e879e1a1ab1'/>
<id>urn:sha1:7579c40124c9b287bb67e974bda46e879e1a1ab1</id>
<content type='text'>
* lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl):
Send empty string to edit interface if General Error occurred.
--

A General Error is usually returned by the nextState function of the
concrete EditInteractor subclasses if gpg asks an unexpected question
which isn't handled by the edit interactor's state machine. In this
case, it's usually safe to go with the default answer. This makes the
edit interactors much more robust.

GnuPG-bug-id: 7274
</content>
</entry>
<entry>
<title>cpp: Add support for setting owner trust and for disabling keys</title>
<updated>2024-08-06T15:56:43Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-08-06T13:32:20Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d5f612e9685d18313d445799a19ff83e013f1b0a'/>
<id>urn:sha1:d5f612e9685d18313d445799a19ff83e013f1b0a</id>
<content type='text'>
* lang/cpp/src/context.cpp, lang/cpp/src/context.h (class Context): Add
member functions setOwnerTrust, startSetOwnerTrust, setKeyEnabled,
startSetKeyEnabled.
* lang/cpp/src/context.cpp (owner_trust_to_string): New.
--

GnuPG-bug-id: 7239
</content>
</entry>
<entry>
<title>build,cpp: Fix include paths in forwarding headers in gpgme++ folder</title>
<updated>2024-07-10T21:28:27Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-07-10T21:28:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e46748a0d18b8a6d26e6b386f64a99a5cdc6a6e3'/>
<id>urn:sha1:e46748a0d18b8a6d26e6b386f64a99a5cdc6a6e3</id>
<content type='text'>
* lang/cpp/src/Makefile.am (build rule for copied headers): Write
abs_srcdir instead of srcdir in the generated headers.
--

The generated include paths lacked a "../" if srcdir was relative. This
lead to self-including includes for in-source builds. Including the real
headers with their absolute paths fixes this.

GnuPG-bug-id: 7110
</content>
</entry>
<entry>
<title>cpp: Deprecate Error::asString and update users</title>
<updated>2024-07-05T08:05:51Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-07-04T16:03:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=28542b14c4df40c7a54bfcf65d7c725bd99fb3e5'/>
<id>urn:sha1:28542b14c4df40c7a54bfcf65d7c725bd99fb3e5</id>
<content type='text'>
* lang/cpp/src/error.h (Error::asString): Mark as deprecated.
* lang/cpp/src/context.cpp (operator&lt;&lt;),
lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl),
lang/cpp/tests/run-getkey.cpp (main),
lang/cpp/tests/run-keylist.cpp (main),
lang/cpp/tests/run-wkdlookup.cpp (main): Use Error::asStdString instead
of Error::asString.
--

GnuPG-bug-id: 7188
</content>
</entry>
<entry>
<title>cpp: Add safer member function returning text describing an error</title>
<updated>2024-07-05T08:05:51Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-07-04T12:36:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2656d3ee5b1a905d9fe4dd5c8b2d9737e775df31'/>
<id>urn:sha1:2656d3ee5b1a905d9fe4dd5c8b2d9737e775df31</id>
<content type='text'>
* lang/cpp/src/error.h, lang/cpp/src/context.cpp (class Error): New
member function asStdString.
--

Unlike asString the new function doesn't cache the value returned by
gpgme_strerror_r. This ensures that on Windows the UTF-8 encoded text
is returned for the main thread even if the function was called before
for another thread. For other threads asStdString will still return the
natively encoded error description until UTF-8 encoded error
descriptions can be enabled for all threads (T7185).

GnuPG-bug-id: 7188
</content>
</entry>
<entry>
<title>build,cpp: Create forwarding headers in a gpgme++ folder</title>
<updated>2024-07-05T08:02:45Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-24T08:40:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b7435b31f6e6754480a4e6d2910d74ee15f75fc5'/>
<id>urn:sha1:b7435b31f6e6754480a4e6d2910d74ee15f75fc5</id>
<content type='text'>
* lang/cpp/src/Makefile.am (copied_headers): New.
(build rule for all copied headers): New.
(BUILT_SOURCES): New.
(CLEANFILES): Add copied_headers.
--

The forwarding headers make it easier to use the headers from the Qt
bindings when building them against the built but not installed C++
bindings because we can always include the C++ headers with gpgme++/
prefix. This also helps to avoid including a C++ header with the same
name as a header in the Qt bindings (e.g. util.h).

GnuPG-bug-id: 7110
</content>
</entry>
</feed>
