| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* w32-qt-io.cpp, kdpipeiodevice.cpp: New versions from Frank
Osterfeld, implement blocking select.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-11 Marcus Brinkmann <[email protected]>
* gpgme.texi (File Based Data Buffers): Document the need for
blocking operations.
(Callback Based Data Buffers): Likewise.
gpgme/
2008-03-11 Marcus Brinkmann <[email protected]>
* data.c (gpgme_data_read, gpgme_data_write): Retry on EINTR.
|
|
|
|
|
|
| |
* key.c (_gpgme_key_add_sig): Terminate UID in case SRC is NULL.
Reported by Marc Mutz.
|
|
|
|
|
|
| |
* decrypt.c (release_op_data): Release OPD->result.recipients.
* encrypt.c (release_op_data): Release invalid_recipient.
|
|
|
|
|
|
|
| |
* gpgme.texi (Library Version Check): Rename snippet function to
init_gpgme.
(I/O Callback Example): Call it here.
|
|
|
|
|
|
| |
* engine-gpgconf.c (gpgconf_read): Fix end-of-line handline.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version by Frank Osterfeld, fixes race
condition.
|
|
|
|
|
| |
* gpg/Makefile.am (DISTCLEANFILES): Add pubring.kbx~.
|
|
|
|
|
|
| |
* gpgme.texi: Document that data encoding affects some output data
objects now.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name
field.
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
|
|
|
|
|
| |
* gpg/t-gpgconf.c (main): Allow for dirmngr not to be available.
|
|
|
|
|
| |
* gpg/Makefile.am (./gpg-agent.conf): Correct pinentry path.
|
|
|
|
|
|
|
|
| |
* gpg/pinentry: New file.
* gpg/Makefile.am (DISTCLEANFILES, all-local): Add gpg-agent.conf
(./gpg-agent.conf): New target.
(EXTRA_DIST): Add pinentry.
|
|
|
|
|
|
| |
* engine-gpgconf.c (gpgconf_config_load_cb2): Handle the flag
NO_ARG_DESC.
|
|
|
|
|
| |
* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
|
|
|
|
|
|
| |
* assuan-pipe-connect.c (_gpgme_io_pipe)
(_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes
|
| |
|
|
|
|
|
| |
* gpg/Makefile.am (CLEANFILES): Add pubring.kbx and dirmngr.conf.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Support gpgconf.
gpgme/
2008-01-04 Marcus Brinkmann <[email protected]>
* 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 <[email protected]>
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Pass HTML glag to test program.
|
|
|
|
|
| |
* gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
|
| |
|
| |
|
|
|
|
|
| |
Changed address paragraph in top comment.
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
|
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld and Marc
Mutz.
|
|
|
|
|
|
| |
* kdpipeiodevice.cpp, w32-qt-io.cpp: New versions from Frank
Osterfeld.
|
|
|
|
|
|
| |
* kdpipeiodevice.h, kdpipeiodevice.cpp, kdpipeiodevice.moc,
w32-qt-io.cpp: New versions from Frank Osterfeld.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
Add a bit more tracing.
|
|
|
|
|
|
| |
* kdpipeiodevice.moc, w32-qt-io.cpp, kdpipeiodevice.cpp: New
versions from Frank Osterfeld.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 <[email protected]>
* 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 <[email protected]>
* 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 Marcus Brinkmann <[email protected]>
* gpgme.texi (Protocols and Engines): Document GPGME_PROTOCOL_UNKNOWN.
gpgme/
2007-09-27 Marcus Brinkmann <[email protected]>
* gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_UNKNOWN.
* gpgme.c (gpgme_get_protocol_name): Implement support for
GPGME_PROTOCOL_UNKNOWN.
|
|
|
|
|
| |
* kdpipeiodevice.h: Fix last change.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* assuan-pipe-connect.c (pipe_connect_gpgme): Fix last change.
gpgme/
2007-09-27 Marcus Brinkmann <[email protected]>
* 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.
|
|
|
|
|
|
| |
* assuan-pipe-connect.c (pipe_connect_gpgme): New function, use it
if _ASSUAN_IN_GPGME_BUILD_ASSUAN.
|
|
|
|
|
| |
* conversion.c, keylist.c: Include <sys/types.h>.
|
|
|
|
|
|
|
|
|
| |
* 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.
|