Marcus Brinkmann
2ac285d691
2008-01-30 14:17:26 +00:00
Marcus Brinkmann
2cf46b3ca9
2008-01-30 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp: New version by Frank Osterfeld, fixes race
condition.
2008-01-30 13:24:21 +00:00
Marcus Brinkmann
2b5033018f
2008-01-28 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/Makefile.am (DISTCLEANFILES): Add pubring.kbx~.
2008-01-28 19:49:40 +00:00
Marcus Brinkmann
ef430d7828
2008-01-28 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.texi: Document that data encoding affects some output data
objects now.
2008-01-28 19:41:26 +00:00
Marcus Brinkmann
cd096c8316
2008-01-28 Marcus Brinkmann <marcus@g10code.de>
...
* engine-gpgsm.c (map_input_enc): Rename to ...
(map_data_enc): ... this. Also change all callers.
(gpgsm_encrypt, gpgsm_export, gpgsm_export_ext, gpgsm_genkey)
(gpgsm_sign): Set encoding for output.
2008-01-28 19:25:35 +00:00
Werner Koch
f9f9a70ec7
Fixed bug 876
2008-01-28 18:46:08 +00:00
Marcus Brinkmann
bc617afe5f
2008-01-14 Marcus Brinkmann <marcus@g10code.de>
...
* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name
field.
2008-01-14 17:34:21 +00:00
Marcus Brinkmann
7813804014
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
2008-01-10 13:38:34 +00:00
Marcus Brinkmann
38c5950991
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/t-gpgconf.c (main): Allow for dirmngr not to be available.
2008-01-10 04:54:16 +00:00
Marcus Brinkmann
ade61e1311
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/Makefile.am (./gpg-agent.conf): Correct pinentry path.
2008-01-10 04:40:25 +00:00
Marcus Brinkmann
25dccf5897
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/pinentry: New file.
* gpg/Makefile.am (DISTCLEANFILES, all-local): Add gpg-agent.conf
(./gpg-agent.conf): New target.
(EXTRA_DIST): Add pinentry.
2008-01-10 04:33:34 +00:00
Marcus Brinkmann
e65bb3ef3c
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
...
* engine-gpgconf.c (gpgconf_config_load_cb2): Handle the flag
NO_ARG_DESC.
2008-01-10 02:31:15 +00:00
Marcus Brinkmann
62a1429a5c
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
2008-01-10 02:13:18 +00:00
Marcus Brinkmann
b55a4d7b31
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
...
* assuan-pipe-connect.c (_gpgme_io_pipe)
(_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes
2008-01-04 16:06:42 +00:00
Marcus Brinkmann
afbb4ca9d6
Post-release dance.
2008-01-04 15:10:49 +00:00
Marcus Brinkmann
4028a0f390
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/Makefile.am (CLEANFILES): Add pubring.kbx and dirmngr.conf.
2008-01-04 14:40:45 +00:00
Marcus Brinkmann
64502919a1
Prepare for release.
2008-01-04 14:34:08 +00:00
Marcus Brinkmann
19025d7918
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: Support gpgconf.
gpgme/
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (gpgconf_components): New variable.
(main_sources): Add gpgconf.c.
* gpgme.h (gpgme_protocol_t): New protocol GPGME_PROTOCOL_GPGCONF.
(gpgme_conf_level_t, gpgme_conf_type_t, gpgme_conf_arg_t)
(gpgme_conf_opt_t, gpgme_conf_comp_t, gpgme_conf_arg_new)
(gpgme_conf_arg_release, gpgme_conf_opt_change)
(gpgme_conf_release, gpgme_op_conf_load, gpgme_op_conf_save): New
types.
* gpgconf.c, engine-gpgconf.c: New files.
* engine.h: (_gpgme_engine_op_conf_load,
(_gpgme_engine_op_conf_save): New prototypes.
* op-support.c (_gpgme_op_reset): Ignore not implemented locale
function.
* posix-util.c (_gpgme_get_gpgconf_path): New function.
* w32-util.c (_gpgme_get_gpgconf_path): New function.
* engine-gpgsm.c:
(_gpgme_engine_ops_gpgsm): Add stubs for conf_load and conf_save.
* rungpg.c:
(_gpgme_engine_ops_gpg): Add stubs for conf_load and conf_save.
* gpgme.def: Add new gpgconf related interfaces.
* libgpgme.vers: Likewise.
* util.h (_gpgme_get_gpgconf_path): New prototype.
* gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_GPGCONF.
* engine-backend.h (_gpgme_engine_ops_gpgconf): New prototype.
(struct engine_ops): Add members for conf_load and conf_save.
* engine.c (engine_ops): Add _gpgme_engine_ops_gpgconf.
(_gpgme_engine_op_conf_load,
(_gpgme_engine_op_conf_save): New functions.
(gpgme_get_engine_info): Allow protocol GPGME_PROTOCOL_GPGCONF.
tests/
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpg/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpgsm/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpg/Makefile.am (TESTS): Add t-gpgconf.
t-gpgconf.c: New file.
2008-01-04 14:31:15 +00:00
Marcus Brinkmann
6286b436bd
2007-11-28 Marcus Brinkmann <marcus@g10code.de>
...
* w32-util.c (_gpgme_get_gpg_path, _gpgme_get_gpgsm_path): Search
for installation directory. Remove old fallback default.
(find_program_in_inst_dir): New function.
2007-11-28 16:31:05 +00:00
Werner Koch
38167ceddb
Made autolog feature for if --enable-fd-passing has not been enabled.
...
Pass HTML glag to test program.
2007-11-26 10:59:11 +00:00
Marcus Brinkmann
f6ebf8638f
2007-11-23 Marcus Brinkmann <marcus@g10code.de>
...
* gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
2007-11-23 17:25:11 +00:00
Werner Koch
c07011580a
Make getauditlog work. For now only when configured with --enable-fd-passing.
2007-11-23 13:07:04 +00:00
Werner Koch
4dbd2fbdfe
New API gpgme_op_getauditlog.
2007-11-22 16:44:37 +00:00
Werner Koch
c5875428bb
Suuport INV_RECP reason code 11.
...
Changed address paragraph in top comment.
2007-11-20 10:40:41 +00:00
Marcus Brinkmann
acf868bc7f
2007-11-12 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
2007-11-12 11:34:13 +00:00
Marcus Brinkmann
4a86704d19
2007-10-11 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
2007-10-11 13:03:59 +00:00
Marcus Brinkmann
d7af11c7e2
2007-10-09 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp: New version from Frank Osterfeld and Marc
Mutz.
2007-10-09 21:23:50 +00:00
Marcus Brinkmann
c8deb0385a
2007-10-05 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp, w32-qt-io.cpp: New versions from Frank
Osterfeld.
2007-10-05 00:20:43 +00:00
Marcus Brinkmann
a70248939f
2007-10-04 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.h, kdpipeiodevice.cpp, kdpipeiodevice.moc,
w32-qt-io.cpp: New versions from Frank Osterfeld.
2007-10-04 14:09:58 +00:00
Marcus Brinkmann
228ca8fab2
2007-10-02 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.cpp, kdpipeiodevice.moc: New versions.
* w32-qt-io.cpp (_gpgme_io_fd2str): Print actual_fd if available.
(_gpgme_io_dup): Only acquire a reference, do not actually dup.
Submitted by Frank Osterfeld.
2007-10-02 15:56:37 +00:00
Marcus Brinkmann
d8289000fe
2007-10-02 Marcus Brinkmann <marcus@g10code.de>
...
* priv-io.h, engine-gpgsm.c: Add comments.
* w32-qt-io.cpp (_gpgme_io_select): Remove code handling frozen FDs.
* w32-glib-io.c (_gpgme_io_close): Always dereference the channel,
even if not primary.
(_gpgme_io_dup): Acquire a reference. Replace unused
implementation by assertion.
2007-10-02 12:02:08 +00:00
Werner Koch
0123eed81c
Fixed a problem in the W32 gpgme->gpgsm communication.
2007-09-28 17:30:11 +00:00
Werner Koch
fea223a5ef
Fixed the external event loop for glib.
...
Add a bit more tracing.
2007-09-28 16:23:53 +00:00
Marcus Brinkmann
7e82572bb2
2007-09-28 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.moc, w32-qt-io.cpp, kdpipeiodevice.cpp: New
versions from Frank Osterfeld.
2007-09-27 22:21:10 +00:00
Marcus Brinkmann
37ac53e74c
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
...
* assuan-pipe-connect.c (pipe_connect_gpgme): Do not close process
handle here. Use this function also on Unix systems.
gpgme/
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
* w32-glib-io.c (_gpgme_io_spawn),
w32-qt-io.cpp (_gpgme_io_spawn), w32-io.c (_gpgme_io_spawn): Close
the process handle, return 0.
tests/
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
* t-engine-info.c (check_engine_info): Fix debug output.
* gpg/Makefile.am (tests_unix): New variable.
(TESTS): Use it.
* gpg/t-support.h (passphrase_cb) [HAVE_W32_SYSTEM]: Use WriteFile instead of write.
* gpg/t-wait.c [HAVE_W32_SYSTEM]: Define sleep as _sleep.
2007-09-27 13:01:54 +00:00
Marcus Brinkmann
30df62122d
doc/
...
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Protocols and Engines): Document GPGME_PROTOCOL_UNKNOWN.
gpgme/
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_UNKNOWN.
* gpgme.c (gpgme_get_protocol_name): Implement support for
GPGME_PROTOCOL_UNKNOWN.
2007-09-27 12:17:24 +00:00
Marcus Brinkmann
7c0007926a
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.h: Fix last change.
2007-09-27 11:55:18 +00:00
Marcus Brinkmann
8495b4f031
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
...
* assuan-pipe-connect.c (pipe_connect_gpgme): Fix last change.
gpgme/
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
* w32-glib-io.c (_gpgme_io_pipe), w32-qt-io.c (_gpgme_io_pipe),
w32-io.c (_gpgme_io_pipe), posix-io.c (_gpgme_io_pipe): Fix debug
output.
2007-09-27 11:44:45 +00:00
Marcus Brinkmann
90a7b74477
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
...
* assuan-pipe-connect.c (pipe_connect_gpgme): New function, use it
if _ASSUAN_IN_GPGME_BUILD_ASSUAN.
2007-09-27 11:06:23 +00:00
Marcus Brinkmann
076eb7608b
2007-09-25 Marcus Brinkmann <marcus@g10code.de>
...
* conversion.c, keylist.c: Include <sys/types.h>.
2007-09-25 16:35:36 +00:00
Marcus Brinkmann
e7f0767e97
2007-09-25 Marcus Brinkmann <marcus@g10code.de>
...
* kdpipeiodevice.h: Use namespace _gpgme_.
* kdpipeiodevice.cpp: Use namespace _gpgme_.
[Q_OS_WIN32 && NOMINMAX]: Do not define NOMINMAX again.
* w32-qt-io.cpp: Change namespace of KDPipeIODevice to
_gpgme_::KDPipeIODevice.
2007-09-25 16:34:02 +00:00
Werner Koch
11df38d465
Fixed a name clash under W32
2007-09-25 15:08:14 +00:00
Werner Koch
496fa48ffd
Bumbed version number (still svn, though)
2007-09-17 13:24:14 +00:00
Werner Koch
68f6c70711
Fixed a W32bug in rungpg.c
2007-09-17 10:21:20 +00:00
Werner Koch
da6f3dc0c5
Fixed bug in gpgme_data_relase_and_get_mem.
...
Typo fixes.
2007-09-14 12:27:54 +00:00
Marcus Brinkmann
7ea5674f48
2007-09-14 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.c (gpgme_release): Call gpgme_sig_notation_clear.
2007-09-13 22:41:54 +00:00
Marcus Brinkmann
5f726f4af7
2007-09-14 Marcus Brinkmann <marcus@g10code.de>
...
* gpgsm/t-verify.c (main): Release TEXT and SIG.
2007-09-13 22:40:22 +00:00
Marcus Brinkmann
5de5a01672
2007-09-13 Marcus Brinkmann <marcus@g10code.de>
...
* rungpg.c (gpg_new): Handle return value of _gpgme_getenv (fixes
small memory leak).
2007-09-13 20:42:04 +00:00
Marcus Brinkmann
dc9b29175f
2007-09-07 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (libgpgme_qt_la_SOURCES): Move
moc_kdpipeiodevice.cpp to EXTRA_DIST, as this is only included by
another file (it's more like a header file than a cpp file, but
automake doesn't know that).
2007-09-07 20:54:12 +00:00
Marcus Brinkmann
414212ea5e
2007-09-07 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: Work around for missing Qt cross compilation support.
Check for glib and qt only on w32 targets.
gpgme/
2007-09-07 Marcus Brinkmann <marcus@g10code.de>
* w32-qt-io.cpp (_gpgme_io_spawn): Fix several cast errors and typos.
* w32-io.c (_gpgme_io_write): Use TRACE_SYSRES instead of TRACE_SYS.
(libgpgme_qt_la_LIBADD): Add QT4_CORE_LIBS, not QT4_CORE_LIB.
2007-09-07 19:38:50 +00:00