<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/qt/src/qgpgmenewcryptoconfig.cpp, branch ikloecker/t6550</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=ikloecker%2Ft6550</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=ikloecker%2Ft6550'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2023-12-13T12:16:21Z</updated>
<entry>
<title>qt: Replace Q_FOREACH with range-for</title>
<updated>2023-12-13T12:16:21Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-12-13T10:45:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d5dafb2ae332fb6ad463c363e6c2c527bcf66656'/>
<id>urn:sha1:d5dafb2ae332fb6ad463c363e6c2c527bcf66656</id>
<content type='text'>
* lang/qt/src/qgpgmekeyformailboxjob.cpp (do_work): Replace Q_FOREACH
with range-for.
* lang/qt/src/qgpgmekeylistjob.cpp (QGpgMEKeyListJob::resultHook):
Ditto.
* lang/qt/src/threadedjobmixin.cpp (_detail::audit_log_as_html): Ditto.
* lang/qt/tests/t-keylist.cpp (KeyListTest::testPubkeyAlgoAsString):
Ditto.
* lang/qt/tests/t-keylocate.cpp (KeyLocateTest::testDaneKeyLocate,
KeyLocateTest::testKeyLocateSingle): Ditto.
* lang/qt/src/qgpgmesignencryptjob.cpp (sign_encrypt): Replace Q_FOREACH
with range-for. Add braces around single statement blocks.
* lang/qt/src/qgpgmesignjob.cpp (sign): Ditto.
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfig::reloadConfiguration,
QGpgMENewCryptoConfig::sync,
QGpgMENewCryptoConfigComponent::setComponent,
QGpgMENewCryptoConfigEntry::urlValueList,
QGpgMENewCryptoConfigEntry::setURLValueList): Replace Q_FOREACH with
range-for. Fix indentation. Add braces around single statement blocks.
--

Where necessary the iterated object is wrapped with qAsConst to avoid
deep copies of the iterated object.
</content>
</entry>
<entry>
<title>qt: Write path values with Unix directory separators</title>
<updated>2022-12-06T07:12:00Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-12-06T06:56:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d04d7b174fb7f27b7434cade22eafdd85b2d424e'/>
<id>urn:sha1:d04d7b174fb7f27b7434cade22eafdd85b2d424e</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfigEntry::setURLValue): Remove conversion to native
directory separators.
--

Even on Windows Unix directory separators work with all API calls. And
some path values also allow "URLs" like tcp://1.2.3.4:10001 which must
use '/'.

GnuPG-bug-id: 4518
</content>
</entry>
<entry>
<title>qt: Remove obsolete code.</title>
<updated>2022-10-11T09:00:15Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-10-11T08:19:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4938c24a466bf05e707d3e6cbf759705adc7e8d6'/>
<id>urn:sha1:4938c24a466bf05e707d3e6cbf759705adc7e8d6</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp (struct Select1St): Remove.
--

This struct was never used in this implementation of the crypto config
classes and it causes a build error with Qt 6 where QPair is an alias
for std::pair.
</content>
</entry>
<entry>
<title>qt: Allow retrieving the default value of a config entry</title>
<updated>2021-06-29T10:12:33Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-06-29T10:12:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=12006a782900687a7f0158a3f931528cfc5ff451'/>
<id>urn:sha1:12006a782900687a7f0158a3f931528cfc5ff451</id>
<content type='text'>
* lang/qt/src/cryptoconfig.cpp, lang/qt/src/cryptoconfig.h
(CryptoConfigEntry::defaultValue): New.
* lang/qt/src/qgpgmenewcryptoconfig.cpp,
lang/qt/src/qgpgmenewcryptoconfig.h
(QGpgMENewCryptoConfigEntry::defaultValue): New.
* lang/qt/tests/t-config.cpp (CryptoConfigTest::testDefault()):
Add test of CryptoConfigEntry::defaultValue(). Port away from deprecated
CryptoConfig::entry overload.
--

GnuPG-bug-id: 5515
</content>
</entry>
<entry>
<title>qt: Add missing }</title>
<updated>2021-06-18T10:33:06Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-06-18T10:33:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5340bb7ccfa7086054823fac48d178e6206d66c0'/>
<id>urn:sha1:5340bb7ccfa7086054823fac48d178e6206d66c0</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp (parseURL): Add missing }.
--

Fixes-commit: 1dca8c2b3c6d6aa3dfd4215c911207f08a3bf9f1
GnuPG-bug-id: 5465
</content>
</entry>
<entry>
<title>qt: Add some error logging</title>
<updated>2021-06-17T07:41:22Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-06-17T07:41:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=72de06417e32bd6573acd0b73a72fcf98232fe81'/>
<id>urn:sha1:72de06417e32bd6573acd0b73a72fcf98232fe81</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp (setURLValueList): Log error
if setting config value failed.
--

GnuPG-bug-id: 5465
</content>
</entry>
<entry>
<title>qt: Do not set empty base DN as query of keyserver URL</title>
<updated>2021-06-17T07:38:33Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-06-17T07:38:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1dca8c2b3c6d6aa3dfd4215c911207f08a3bf9f1'/>
<id>urn:sha1:1dca8c2b3c6d6aa3dfd4215c911207f08a3bf9f1</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp (parseURL): Only set non-empty
base DN as URL query.
--

This makes it possible to differentiate an unset query from an empty
query.

GnuPG-bug-id: 5465
</content>
</entry>
<entry>
<title>qt: Add separate logging category for result of config loading</title>
<updated>2021-06-02T08:56:52Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-06-02T08:56:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5bc4e23a57f149c2a7008c1b88ab3d398ce75e9b'/>
<id>urn:sha1:5bc4e23a57f149c2a7008c1b88ab3d398ce75e9b</id>
<content type='text'>
* lang/qt/src/qgpgme_debug.h: Make include guard match file name.
* lang/qt/src/qgpgme_debug.h, lang/qt/src/qgpgme_debug.cpp
(QGPGME_CONFIG_LOADING_LOG): New.
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfig::reloadConfiguration): Use new logging category.
--

Use a separate logging category for the extremely noisy logging of
the result of config loading to make debug logging more useful.

GnuPG-bug-id: 5217
</content>
</entry>
<entry>
<title>qt: Add support for flags in LDAP server options</title>
<updated>2021-06-01T13:29:03Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-06-01T13:29:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=27aa7c4a0fc8f7cef6219443cee0d040c2774746'/>
<id>urn:sha1:27aa7c4a0fc8f7cef6219443cee0d040c2774746</id>
<content type='text'>
* lang/qt/src/qgpgmenewcryptoconfig.cpp (parseURL): Handle extended
LDAP server option syntax.
(portToString): New.
(splitURL): Append flags to LDAP server option.
--

This adds support for the extended syntax of LDAP server options
introduced in gpg 2.2.18/2.3. The flags are stored as fragment of a
QUrl.

GnuPG-bug-id: 5217
</content>
</entry>
<entry>
<title>qt: Change logging category</title>
<updated>2020-02-19T10:15:54Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2020-02-19T10:12:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ec9690cf5ce85f43997ac2a3abd3e728012aee4a'/>
<id>urn:sha1:ec9690cf5ce85f43997ac2a3abd3e728012aee4a</id>
<content type='text'>
* lang/qt/src/*: Change logging category to macro to QGPGME_LOG.

--
The old logging category macro had a typo and this way we
are more consistent with other logging rules. For example
you could write gpg.* in the logging conf.
</content>
</entry>
</feed>
