| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
* gpgme.c (gpgme_sig_notation_clear): Clear CTX->sig_notations.
Submitted by "Daniel Mueller" <[email protected]>
|
|
|
|
|
| |
* configure.ac: Remove bogus "esac".
|
|
|
|
|
| |
* configure.ac (_XOPEN_SOURCE) [apple-darwin]: Define it.
|
|
|
|
|
| |
* rungpg.c (gpg_new): Don't use errno with ttyname_r.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rungpg.c (gpg_cancel): Remove cmd fd before status fd.
* gpgme.c (_gpgme_cancel_with_err): New function.
(gpgme_cancel): Reimplement in terms of _gpgme_cancel_with_err.
* wait-private.c (_gpgme_wait_on_condition): Use
_gpgme_cancel_with_err.
* wait-user.c (_gpgme_user_io_cb_handler): Likewise.
* wait-global.c (_gpgme_wait_global_event_cb, gpgme_wait): Likewise.
|
|
|
|
|
|
| |
* rungpg.c (command_handler): Remove I/O callback on error, too.
|
| |
|
|
|
|
|
| |
Minor doc changes.
|
|
|
|
|
| |
* gpgme.c (gpgme_cancel_async): Remove unused variable.
|
|
|
|
|
|
| |
* libgpgme.vers: Add gpgme_cancel_async.
* gpgme.def: Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gpgme.texi (Cancellation): Document gpgme_cancel_async.
gpgme/
2008-06-27 Marcus Brinkmann <[email protected]>
* context.h: Include "sema.h".
(struct gpgme_context): New members lock and canceled.
* gpgme.c (gpgme_new): Initialize lock.
(gpgme_release): Destroy lock.
(gpgme_cancel_async): New function.
* op-support.c (_gpgme_op_reset): Reset the canceled flag.
* wait-global.c (gpgme_wait): Check cancel flag before processing
any I/O callbacks.
* wait-private.c (_gpgme_wait_on_condition): Likewise.
* wait-user.c (_gpgme_user_io_cb_handler): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-25 Marcus Brinkmann <[email protected]>
* assuan-pipe-connect.c (struct spawn_fd_item_s): Add new members.
(HANDLE_TRANSLATION): New macro.
(pipe_connect_gpgme): Adjust caller of _gpgme_io_spawn.
[HANDLE_TRANSLATION]: Return translated handles.
gpgme/
2008-06-25 Marcus Brinkmann <[email protected]>
* gpgme-w32spawn.c: New file.
* Makefile.am (libexec_PROGRAMS) [HAVE_W32_SYSTEM]: New variable
with gpgme-w32spawn.
* engine-gpgsm.c (gpgsm_new): Use server translated handles.
(gpgsm_set_locale): Return early if locale value is NULL.
* util.h (_gpgme_mkstemp)
(_gpgme_get_w32spawn_path) [HAVE_W32_SYSTEM]: New function
prototypes.
* w32-util.c: Include <stdint.h>, <sys/stat.h> and <unistd.h>.
(letters, mkstemp, _gpgme_mkstemp, _gpgme_get_w32spawn_path): New
functions.
* rungpg.c (gpg_decrypt, gpg_encrypt, gpg_encrypt_sign)
(gpg_genkey, gpg_import, gpg_verify, gpg_sign): Pass data over
special filename FD rather than stdin.
(struct arg_and_data_s): Add member ARG_LOCP.
(struct fd_data_map_s): Add member ARG_LOC.
(struct engine_gpg): Add member ARG_LOC to status and colon.
(_add_arg, add_arg_with_locp): New function.
(add_arg_ext): Reimplement in terms of _add_arg.
(gpg_new): Remember argument location for status FD.
(build_argv): Set argument location if requested. Also set
argument location of fd_data_map for data items.
(start): Adjust caller of _gpgme_io_spawn.
* priv-io.h (struct spawn_fd_item_s): Add members peer_name and
arg_loc.
(_gpgme_io_spawn): Remove parent fd list argument.
* posix-io.c (get_max_fds): New function.
(_gpgme_io_dup): Add tracing.
(_gpgme_io_spawn): Remove parent fd list. Change meaning of child
fd list to contain all child fds that should be inherited. Close
all other file descriptors after fork.
* w32-io.c, w32-glib-io.c, w32-qt-io.c(_gpgme_io_spawn): Remove
parent fd list. Change meaning of child fd list to contain all
child fds that should be inherited. Do not inherit any file
descriptors, but DuplicateHandle them. Spawn process through
wrapper process. Provide wrapper process with a temporary file
containing handle translation data. Return translated handle
names.
* w32-io.c (reader): Add more tracing output.
(_gpgme_io_read): Likewise.
* engine-gpgconf.c (gpgconf_read): Adjust caller of
_gpgme_io_spawn.
* version.c (_gpgme_get_program_version): Likewise.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Update gpgconf test.
|
|
|
|
|
| |
Fix a parsing bug in gpgconf interface.
|
| |
|
|
|
|
|
| |
Change the license of the manual to GPLv3+.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|