<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src, branch dkg/fix-T4271</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-T4271</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-T4271'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2018-12-03T11:25:00Z</updated>
<entry>
<title>qt,cpp: Consistently use nullptr and override</title>
<updated>2018-12-03T11:25:00Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-12-03T11:20:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1d31420650bfa7ca1d1503cc7431b3360e86022c'/>
<id>urn:sha1:1d31420650bfa7ca1d1503cc7431b3360e86022c</id>
<content type='text'>
* lang/cpp/src/Makefile.am, lang/qt/src/Makefile.am (AM_CPPFLAGS):
Add suggest-override and zero-as-null-pointer-constant warnings.

* lang/cpp/src/*, lang/qt/src/*: Consistenly use nullptr and override.

--
This was especially important for the headers so that downstream
users of GpgME++ or QGpgME do not get flooded by warnings if
they have these warnings enabled.

It also improves compiler errors/warnings in case of accidental
mistakes.
</content>
</entry>
<entry>
<title>spelling: fix misspellings</title>
<updated>2018-11-08T05:34:27Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-11-08T05:34:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2557d0ae6ff0336b041129b7bf5c1e3a8c20a805'/>
<id>urn:sha1:2557d0ae6ff0336b041129b7bf5c1e3a8c20a805</id>
<content type='text'>
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>cpp: Add some convenience functions</title>
<updated>2018-10-25T12:13:39Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-10-25T12:09:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=05a0e97f5c12c06082fbeab0fba6f86ddbfbe6b2'/>
<id>urn:sha1:05a0e97f5c12c06082fbeab0fba6f86ddbfbe6b2</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::create): New.
* lang/cpp/src/context.h: Update accordingly.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h:
(Key::isBad, Subkey::isBad, UserID::isBad)
(UserID::Signature::isBad): Add shorthand for the isX checks.
* NEWS: Mention it.

--
I don't know how often I wrote:
if (key.isNull() || key.isExpired() || key.isRevoked() ...

And for the context it is good practice to use a unique ptr
so the API should make it easy.
</content>
</entry>
<entry>
<title>cpp: Add KeyListMode::Locate</title>
<updated>2018-10-09T09:26:15Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-10-09T09:26:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c565cf42a38a8bda936df8c52936589cc8a06ca3'/>
<id>urn:sha1:c565cf42a38a8bda936df8c52936589cc8a06ca3</id>
<content type='text'>
* cpp/src/global.h (KeyListMode): Add Locate.

--
Similar to locate in core.
</content>
</entry>
<entry>
<title>cpp: Initialize all gpgme_key_t's in context</title>
<updated>2018-10-09T08:47:16Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-10-09T08:47:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7a1e6dbfb16f71f692a53f7e0955bde86dbb7fee'/>
<id>urn:sha1:7a1e6dbfb16f71f692a53f7e0955bde86dbb7fee</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::startKeyListing),
(Context::keyListResult, Context::signingKeys): Initialize key.

--
"Should" not be neccessary but it's cleaner and would have
covered the case of the previous commit.
</content>
</entry>
<entry>
<title>cpp: Fix use after free in gencardkeyinteractor</title>
<updated>2018-08-08T07:22:46Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-08-08T07:22:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3b782443600e8091c5f19580cb218100bcbb4ad7'/>
<id>urn:sha1:3b782443600e8091c5f19580cb218100bcbb4ad7</id>
<content type='text'>
* lang/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::Private::keysize): Change to string.

--
The value is only required as string so we can save it this
way to avoid the need to convert it for the action command.

GnuPG-Bug-Id: T4094
</content>
</entry>
<entry>
<title>cpp: Add safety checks for key update</title>
<updated>2018-07-24T06:40:28Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-07-24T06:40:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=a6e5c8bf18696007c48c6f362aa355020fe82f21'/>
<id>urn:sha1:a6e5c8bf18696007c48c6f362aa355020fe82f21</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::update): Check that the key is
not NULL.
* lang/cpp/src/verificationresult.cpp (GpgME::Signature::key):
Check for fingerprint.
</content>
</entry>
<entry>
<title>cpp: Print origin and last update for key/uid</title>
<updated>2018-07-19T10:58:49Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-07-19T10:58:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8168dfbeb12042a7f7b1bad918ef60df92bfd1a7'/>
<id>urn:sha1:8168dfbeb12042a7f7b1bad918ef60df92bfd1a7</id>
<content type='text'>
* lang/cpp/src/key.cpp: Print origin and last update in
iostream operators.
</content>
</entry>
<entry>
<title>cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG</title>
<updated>2018-07-05T09:29:36Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-07-05T08:22:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=629afebe5017db97f2a318f6878fe1f9d3e60189'/>
<id>urn:sha1:629afebe5017db97f2a318f6878fe1f9d3e60189</id>
<content type='text'>
* src/context.cpp (to_auditlog_flags): Map DIAG value.
* src/context.h (AuditLogFlags): Add it.
</content>
</entry>
<entry>
<title>cpp: Fix memory of DecryptionResult::symkeyAlgo</title>
<updated>2018-07-04T10:17:43Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-07-04T10:15:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7d65dc2a5c4f32139a1b9b1f0bd375f7ab1c58f6'/>
<id>urn:sha1:7d65dc2a5c4f32139a1b9b1f0bd375f7ab1c58f6</id>
<content type='text'>
* lang/cpp/src/decryptionresult.cpp (Private, ~Private): strdup
the symkey algo.
</content>
</entry>
</feed>
