<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/qt/src, branch gpgme-1.9-branch</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.9-branch</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.9-branch'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2017-03-13T10:17:47Z</updated>
<entry>
<title>qt: Use gpgrt_asprintf instead of qstrdup</title>
<updated>2017-03-13T10:17:47Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-03-13T10:14:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9d5048d47446450a34cae4f27eb81c02ea5d4afc'/>
<id>urn:sha1:9d5048d47446450a34cae4f27eb81c02ea5d4afc</id>
<content type='text'>
* lang/qt/src/dn.cpp (parse_dn_part): Use gpgrt_asprintf instead
of qstrdup.

--
This fixes a new / free mismatch because qstrdup uses new and
the allocated parts are freed with free. Similar to: a09ed3f2
</content>
</entry>
<entry>
<title>qt: Allow creation of default keys without name</title>
<updated>2017-03-01T10:14:07Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-03-01T10:14:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=fbafb5474d8898ba1b267f4b4dfbefe39f04e72f'/>
<id>urn:sha1:fbafb5474d8898ba1b267f4b4dfbefe39f04e72f</id>
<content type='text'>
* lang/qt/src/defaultkeygenerationjob.cpp
(DefaultKeyGenerationJob::start): Handle empty name and email.
</content>
</entry>
<entry>
<title>qt: Add missing #include &lt;functional&gt;</title>
<updated>2017-02-13T09:37:18Z</updated>
<author>
<name>Igor Gnatenko</name>
<email>ignatenkobrain@fedoraproject.org</email>
</author>
<published>2017-02-11T07:36:24Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=60064c665ec98a2a994fc6c8ad701e60b963ce7e'/>
<id>urn:sha1:60064c665ec98a2a994fc6c8ad701e60b963ce7e</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp,
lang/qt/src/threadedjobmixin.h: Include functional.

--
With GCC 7.0, functional is not included transitively and we get:
In file included from qgpgmedeletejob.h:39:0,
                 from qgpgmedeletejob.cpp:38:
threadedjobmixin.h:98:33: error: 'function' in namespace 'std'
    does not name a template type
     void setFunction(const std::function&lt;T_result()&gt; &amp;function)
                                 ^~~~~~~~

std::{function,bind,placeholders,mem_fn} are defined in functional.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1417383
Signed-off-by: Igor Gnatenko &lt;ignatenkobrain@fedoraproject.org&gt;

GnuPG-Bug-Id: 2955

Commit Message amended by Andre Heinecke

Signed-off-by: Andre Heinecke &lt;aheinecke@intevation.de&gt;
</content>
</entry>
<entry>
<title>qt: Add support for stringValueList in CryptoConf</title>
<updated>2017-01-12T11:57:00Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-01-12T11:57:00Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9640dc58e498966b482dcded6990cf4b47c556ac'/>
<id>urn:sha1:9640dc58e498966b482dcded6990cf4b47c556ac</id>
<content type='text'>
* lang/qt/src/Makefile.am (qgpgme_sources): Add cryptoconfig.cpp
* lang/qt/src/cryptoconfig.cpp: New.
* lang/qt/src/cryptoconfig.h (CryptoConfigEntry::stringValueList):
New.
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfigEntry::stringValueList): New.
* lang/qt/src/qgpgmenewcryptoconfig.h: Update accordingly.

--
This is a pardigm change in cryptoconfig.h to avoid ABI breaks
with each new config value we support it now has an implementation
that is directly related to qgpgmenewcryptoconfig, which is now
the only one.
</content>
</entry>
<entry>
<title>Fix Qgpgme build for macos</title>
<updated>2017-01-11T14:52:44Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-01-11T14:52:44Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=efe58fe011f195d98adb4f03b1e1068a26ba287b'/>
<id>urn:sha1:efe58fe011f195d98adb4f03b1e1068a26ba287b</id>
<content type='text'>
* lang/qt/src/dn.cpp: Include string.h
(parse_dn_part): Use qstrdup.
* lang/qt/tests/t-support.h (getPassphrase): Use qstrdup.
</content>
</entry>
<entry>
<title>Fix cmake configuration files for MacOS</title>
<updated>2017-01-11T14:49:00Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-01-11T14:49:00Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2e661b9e1a9b50656a5c9646d7444a98477010c1'/>
<id>urn:sha1:2e661b9e1a9b50656a5c9646d7444a98477010c1</id>
<content type='text'>
* configure.ac: Set HAVE_MACOS_SYSTEM conditional.
* lang/qt/src/Makefile.am,
lang/cpp/src/Makefile.am,
lang/qt/src/QGpgmeConfig.cmake.in.in,
lang/cpp/src/GpgmeConfig.cmake.in.in: Use libsuffix again to
distinguish between macos .dylib

--
GnuPG-Bug-Id: 2884
</content>
</entry>
<entry>
<title>qt: Update config sync doc / comment</title>
<updated>2017-01-02T13:05:06Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-01-02T13:03:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ececfd5de81f1851943be7b284b672d5b02aceb4'/>
<id>urn:sha1:ececfd5de81f1851943be7b284b672d5b02aceb4</id>
<content type='text'>
* lang/qt/src/cryptoconfig.h (CryptoConfig::sync): Document
that runtime option is always set.
* lang/qt/Src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfigComponent::sync): Remove outdated comment
and warn on error.
</content>
</entry>
<entry>
<title>qt, cpp: Add cmake config files for w32</title>
<updated>2016-11-15T13:33:31Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-11-15T13:33:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b2c07bd47bd608afa5cc819b60a7b5bb8c9dd96a'/>
<id>urn:sha1:b2c07bd47bd608afa5cc819b60a7b5bb8c9dd96a</id>
<content type='text'>
* lang/cpp/src/GpgmeppConfig-w32.cmake.in.in
lang/qt/src/QGpgmeConfig-w32.cmake.in.in: New.
* lang/cpp/src/GpgmeppConfig.cmake.in.in,
lang/qt/src/QGpgmeConfig.cmake.in.in: Remove libsuffix handling.
* lang/cpp/src/Makefile.am,
lang/qt/src/Makefile.am: Create / install w32 config files.
* configure.ac: Configure them.

--
To work with DLL's cmake needs to know about the implib and
the final DLL. So the config files look different enough
that it's better to use alternative files.
</content>
</entry>
<entry>
<title>qt: Use new style connect in th..mixin</title>
<updated>2016-11-15T11:30:56Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-11-15T11:30:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=45abe6d142e314ba7099ad80b6365af171b06fec'/>
<id>urn:sha1:45abe6d142e314ba7099ad80b6365af171b06fec</id>
<content type='text'>
* lang/qt/src/threadedjobmixin.h
(ThreadedJobMixin::lateInitialization): Use new style connect.
</content>
</entry>
<entry>
<title>qt: Add API to get the context for a Job</title>
<updated>2016-11-14T19:48:20Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-11-14T19:40:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9451faa2ee333904cff59f92ab62918e13ab4b87'/>
<id>urn:sha1:9451faa2ee333904cff59f92ab62918e13ab4b87</id>
<content type='text'>
* lang/qt/src/job.cpp,
lang/qt/src/job.h (Job::context): New.
* lang/qt/src/threadedjobmixin.cpp
(ThreadedJobMixin::~ThreadedJobMixin): New. Unregister context.
(ThreadedJobMixin::lateInitialization): Register context.
* NEWS: Update for cpp and qt.

--
The global map hack is necessary because the job class does
not know about the context which is held in threadedjobmixin.
Adding a virtual function in Job would be an ABI break which
I'd like to avoid at this point. Although QGpgME's API will
need a big ABI break to make it ABI maintainable. The virtual
jobs -&gt; implementation classes are nearly unmaintainable ABI wise.

The context is exposed to provide more flexibility to users, e.g.
to add a passphrase callback or to set the sender in a context.
</content>
</entry>
</feed>
