<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp, branch ben/minor-docs-fixes</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=ben%2Fminor-docs-fixes</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=ben%2Fminor-docs-fixes'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2016-08-12T14:51:13Z</updated>
<entry>
<title>Cpp: Provide size-hint for seekable and mem data</title>
<updated>2016-08-12T14:51:13Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-12T14:51:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=df7bbf5a66576a5a320b54c8f6ad52bc84f0e833'/>
<id>urn:sha1:df7bbf5a66576a5a320b54c8f6ad52bc84f0e833</id>
<content type='text'>
* lang/cpp/src/data.cpp (GpgME::Data::Data): Set size-hint for
mem and DataProvider based Data.

--
This fixes the case that QGpgME did not have a total value for
progress as the size was unknown.
</content>
</entry>
<entry>
<title>Cpp: Handle empty recipients consistently</title>
<updated>2016-08-10T12:12:33Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-10T12:12:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=09667a6006986a782af98ca1de4d6521e1b8f353'/>
<id>urn:sha1:09667a6006986a782af98ca1de4d6521e1b8f353</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::getKeysFromRecipients):
New helper.
(Context::encrypt, Context::startEncryption, Context::signAndEncrypt)
(Context::startCombinedSigningAndEncryption): Use new helper.
* lang/cpp/src/context.h (Context::getKeysFromRecipients): Add
as private helper.

--
bf776ce was incomplete as the code to handle recpients
was duplicated four times. This is now unified and constently
uses a nullptr instead of an empty array.
</content>
</entry>
<entry>
<title>Cpp: Clarify ownership of provider classes</title>
<updated>2016-08-10T10:07:56Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-10T10:04:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=21d5e71d486da8e37cf53f2b968646b39a6daa72'/>
<id>urn:sha1:21d5e71d486da8e37cf53f2b968646b39a6daa72</id>
<content type='text'>
* lang/cpp/src/context.h: Note that the context does not take
ownership of providers.
</content>
</entry>
<entry>
<title>Cpp: Add support for all EncryptionFlags</title>
<updated>2016-08-09T12:23:51Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-09T11:07:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=17372393798ea5e2d6838f3dd1e001dd4a66c941'/>
<id>urn:sha1:17372393798ea5e2d6838f3dd1e001dd4a66c941</id>
<content type='text'>
* lang/cpp/src/context.h (EncryptionFlags): Extend.
* lang/cpp/src/context.cpp (encryptflags2encryptflags): Ditto.
</content>
</entry>
<entry>
<title>Cpp: Fix simple symmetric encryption</title>
<updated>2016-08-09T12:23:51Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-09T10:56:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bf776ce94cf454f1b3f1645b1cde09cd1c54324b'/>
<id>urn:sha1:bf776ce94cf454f1b3f1645b1cde09cd1c54324b</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::encrypt): If no recipients
are provided encrypt with NULL and not an empty array.

--
Sending an empty array leads to an invalid argument error.
</content>
</entry>
<entry>
<title>Cpp: Add EngineInfo::Version class</title>
<updated>2016-07-14T15:02:38Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-07-14T15:01:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=41de1ab904eaddffb2de17b1de8ef41e462daabe'/>
<id>urn:sha1:41de1ab904eaddffb2de17b1de8ef41e462daabe</id>
<content type='text'>
* lang/cpp/src/engineinfo.cpp (EngineInfo::engineVersion): New.
* lang/cpp/src/engineinfo.h (EngineInfo::engineVersion): Declare.
(EngineInfo::Version): Small helper to work with versions.
</content>
</entry>
<entry>
<title>core: New GPGME_DATA_ENCODING_MIME.</title>
<updated>2016-07-13T12:45:02Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2016-07-13T12:45:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d8d5f5a16712244fe6eff860b6ac5f007b1bf870'/>
<id>urn:sha1:d8d5f5a16712244fe6eff860b6ac5f007b1bf870</id>
<content type='text'>
* src/gpgme.h.in (GPGME_DATA_ENCODING_MIME): New.
* src/data.c (gpgme_data_set_encoding): Adjust check.
* src/engine-gpg.c (have_gpg_version): New.
(gpg_encrypt, gpg_encrypt_sign): Pass flag '--mimemode'.
(gpg_sign): Ditto.

* lang/cpp/src/data.h (GpgME): Add MimeEncoding.
* lang/cpp/src/data.cpp (encoding, setEncoding): Support MimeEncoding.

* src/gpgme-tool.c (server_data_encoding): Add flag --mime.
--

This feature allows an application to declare that the encrypted or
signed data is a valid MIME part.

What is missing is a way to return that information to the application
after decryption/verification.  This can be done by setting the
encoding of the output data object; however this requires some
internal additions to our processing model.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Cpp: Add feature enum for new identify</title>
<updated>2016-07-13T09:56:18Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-07-13T09:56:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=537cb871fd59f3a20c697a046715e6339ff6633b'/>
<id>urn:sha1:537cb871fd59f3a20c697a046715e6339ff6633b</id>
<content type='text'>
* lang/cpp/src/context.cpp (supported_features2): Add
BinaryAndFineGrainedIdentify
* lang/cpp/src/global.h (Feature2): ditto.

--
This is mostly for compatible code with KF5::Gpgmepp where there
is no hard requirement against gpgme 1.7. With 1.7 a version
check would also suffice.
</content>
</entry>
<entry>
<title>Qt/Cpp: Add version headers</title>
<updated>2016-07-12T09:35:39Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-07-12T09:09:44Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b03c48cfb06faae7d7033a0532f319cbcf13f18a'/>
<id>urn:sha1:b03c48cfb06faae7d7033a0532f319cbcf13f18a</id>
<content type='text'>
* lang/cpp/src/gpgmepp_version.h.in,
lang/qt/src/qgpgme_version.h.in: New. Version information.
* lang/qt/src/Makefile.am, lang/cpp/src/Makefile.am: Add them.
* configure.ac: Configure them.

--
The version headers are common practice in KDE Frameworks and
were installed for KF5Gpgmepp and Libkleo respectively.
</content>
</entry>
<entry>
<title>Qt/Cpp: Add license blurb to export headers</title>
<updated>2016-07-12T09:35:39Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-07-12T09:08:42Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=362b8cdf4e0d5cd54ec2b325508dcdefac686f2c'/>
<id>urn:sha1:362b8cdf4e0d5cd54ec2b325508dcdefac686f2c</id>
<content type='text'>
* lang/cpp/src/gpgmepp_export.h,
lang/qt/src/qgpgme_export.h: Add license blurb.
</content>
</entry>
</feed>
