<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/src/engine-gpgconf.c, branch gpgme-1.4.2</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.4.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.4.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2013-04-30T16:09:13Z</updated>
<entry>
<title>Allow reading of long gpgconf output lines.</title>
<updated>2013-04-30T16:09:13Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2013-04-30T16:09:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f623a6b94c527795d0b6f7e66a3966e5d9e1c454'/>
<id>urn:sha1:f623a6b94c527795d0b6f7e66a3966e5d9e1c454</id>
<content type='text'>
* src/engine-gpgconf.c (gpgconf_read): Rewrite to allow for line
lengths up to 64k.
</content>
</entry>
<entry>
<title>Add public function gpgme_set_pinentry_mode.</title>
<updated>2013-02-07T19:59:16Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2013-02-07T19:59:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=61a0d92b679f248505f1bf16386bc41a5bf2ba1d'/>
<id>urn:sha1:61a0d92b679f248505f1bf16386bc41a5bf2ba1d</id>
<content type='text'>
* src/gpgme.c (gpgme_set_pinentry_mode): New.
* src/gpgme.h.in (gpgme_pinentry_t): New.
(gpgme_set_pinentry_mode): New.
* src/context.h (struct gpgme_context): Add field pinentry_mode.
* src/engine-backend.h (struct engine_ops): Add field
set_pinentry_mode.
* src/engine-gpg.c (struct engine_gpg): Add field pinentry_mode.
(build_argv): Implement pinentry_mode.
(gpg_set_pinentry_mode): New.
(_gpgme_engine_ops_gpg): Register gpg_set_pinentry_mode.

--

Note that this new fucntion may only be used with gpg 2.1.
</content>
</entry>
<entry>
<title>Use gpg_error_from_syserror instead of directly accessing errno.</title>
<updated>2013-02-06T16:35:40Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2013-02-06T16:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=51fd6d8292cb41d743407e6ac9d86a5ab8e68d8c'/>
<id>urn:sha1:51fd6d8292cb41d743407e6ac9d86a5ab8e68d8c</id>
<content type='text'>
--

Also fixed a couple of minor thing; e.g. save the error before calling
cleanup functions.  Do not save the errno if only free is called
in between.
</content>
</entry>
<entry>
<title>Trace the use of GPG_ERR_INV_ENGINE.</title>
<updated>2012-10-19T09:23:39Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2012-10-19T09:23:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bd24feaa86f8154e550107990392ac9ac05e60d4'/>
<id>urn:sha1:bd24feaa86f8154e550107990392ac9ac05e60d4</id>
<content type='text'>
* src/debug.h: Include "gpgme.h"
(_gpgme_trace_gpgme_error): New.
(trace_gpg_error): New macro.  Use it in all files where we return
GPG_ERR_INV_ENGINE; also "include debug.h" as needed.
--

This is a pretty common error code but often it is hard to figure out
the actual cause.  With debug level 4 we now print the file name and
line number where this error code is generated by gpgme.  Along with
the git revision printed in the first log lines, this should give us
an easier way to track down the problems related to this error code.
</content>
</entry>
<entry>
<title>Make handling of new conf values more robust (bug#1413).</title>
<updated>2012-07-13T08:59:22Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2012-07-13T08:59:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9f081da7356288a96e8ea4d81a74ff706c00b0cd'/>
<id>urn:sha1:9f081da7356288a96e8ea4d81a74ff706c00b0cd</id>
<content type='text'>
* src/engine-gpgconf.c (arg_to_data): Allow for NULL as value.string.
--

I was not able to replicate the problem.  However this patch makes the
code more robust and tolerates errors by the user.  IT should fix the
problem at hand.
</content>
</entry>
<entry>
<title>Fix gpgconf option change if not self-assigning.</title>
<updated>2011-01-21T03:21:30Z</updated>
<author>
<name>Marcus Brinkmann</name>
<email>marcus.brinkmann@ruhr-uni-bochum.de</email>
</author>
<published>2011-01-21T03:21:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1f0f033f552b5cd81f02e761a0e31eb9a2c89ab8'/>
<id>urn:sha1:1f0f033f552b5cd81f02e761a0e31eb9a2c89ab8</id>
<content type='text'>
2011-01-21  Marcus Brinkmann  &lt;mb@g10code.com&gt;

        * engine-gpgconf.c (_gpgme_conf_opt_change): Fix the case that is
        not self-assignment.
</content>
</entry>
<entry>
<title>2010-11-23  Marcus Brinkmann  &lt;mb@g10code.com&gt;</title>
<updated>2010-11-23T09:46:52Z</updated>
<author>
<name>Marcus Brinkmann</name>
<email>mb@g10code.com</email>
</author>
<published>2010-11-23T09:46:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=eff0b7766ac364283f2fff48b5747d37ea1cf4eb'/>
<id>urn:sha1:eff0b7766ac364283f2fff48b5747d37ea1cf4eb</id>
<content type='text'>
	* gpgme.h.in (gpgme_conf_arg_new): Make VALUE arg const void *.
	* gpgconf.c (_gpgme_conf_arg_new): Likewise.
	(gpgme_conf_arg_new): Likewise.
	* engine-gpgconf.c (_gpgme_conf_arg_new): Likewise.
	(gpgconf_write): Remove debug hack.

</content>
</entry>
<entry>
<title>2010-11-19  Marcus Brinkmann  &lt;mb@g10code.com&gt;</title>
<updated>2010-11-19T16:06:43Z</updated>
<author>
<name>Marcus Brinkmann</name>
<email>mb@g10code.com</email>
</author>
<published>2010-11-19T16:06:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ed8c52941cf302e879d5cb4af71969a7d9275c2d'/>
<id>urn:sha1:ed8c52941cf302e879d5cb4af71969a7d9275c2d</id>
<content type='text'>
	* engine-gpgconf.c (_gpgme_conf_opt_change): Support
	self-assignment.  Requested by Marc Mutz.

</content>
</entry>
<entry>
<title>More include guards.</title>
<updated>2010-11-03T09:56:27Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2010-11-03T09:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=21eb91ae3a8578b678d71083f4513de67b2e4e0f'/>
<id>urn:sha1:21eb91ae3a8578b678d71083f4513de67b2e4e0f</id>
<content type='text'>
Provide access for Wince.
Install dummy sehmap.h

</content>
</entry>
<entry>
<title>First take on changes to allow building with MSC for W32CE.</title>
<updated>2010-11-02T16:27:46Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2010-11-02T16:27:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=987993a38d12f6de052683711e673fa6bbbdae86'/>
<id>urn:sha1:987993a38d12f6de052683711e673fa6bbbdae86</id>
<content type='text'>
Fixed regression in plain W32 build.

</content>
</entry>
</feed>
