| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Released 1.1.3.
* configure.ac (LIBGPGME_LT_REVISION): Bump for release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Changed gpg and gpgsm version checks to work with
arbitrary names of the gpg binary. New option --disable-gpg-test
and --disable-gpgsm-test.
gpgme/
* w32-io.c (build_commandline): Fixed stupid quoting bug.
* w32-glib-io.c (build_commandline): Ditto.
* rungpg.c (gpg_set_locale): Avoid dangling pointer after free.
* gpgme-config.in: New options --get-gpg and --get-gpgsm.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* data.h (_gpgme_data_get_fd): Add prototype.
(gpgme_data_get_fd_cb): New type.
(struct _gpgme_data_cbs): New member get_fd.
* data.c (_gpgme_data_get_fd): New function.
* data-fd.c (fd_get_fd): New function.
(fd_cbs): Add fd_get_fd.
* data-stream.c (stream_get_fd): New function.
(stream_cbs): Add stream_get_fd.
* data-mem.c (mem_cbs): Add NULL for get_fd callback.
* data-user.c (user_cbs): Likewise.
* engine-gpgsm.c (gpgsm_set_fd) [USE_DESCRIPTOR_PASSING]: Try to
short-cut by passing the data descriptor directly.
|
| |
|
|
|
|
|
|
| |
* w32-io.c (build_commandline): Quote all command line arguments.
* w32-glib-io.c (build_commandline): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (NEED_GPG_VERSION,
(NEED_GPGSM_VERSION): Must define after it may have been changed
by an option.
* configure.ac: Require gpg-error 1.4 due to the use of
gpg_error_from_syserror.
(HAVE_ASSUAN_H): New.
gpgme/
* ttyname_r.c (ttyname_r) [W32]: Return a dummy name.
* version.c (do_subsystem_inits): Do assuan init only if building
with Assuan.
* setenv.c: Include assuan-def.h only if building with Assuan
support.
* op-support.c (_gpgme_op_reset): Set LC_MESSAGES only if
if defined.
* engine-gpgsm.c (gpgsm_set_locale): Ditto.
* rungpg.c (gpg_set_locale): Ditto.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Add options --with-gpg-version and
--with-gpgsm-version to allow overriding the minimum version
requirements.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Fix two typos in last change.
gpgme/
2006-12-17 Marcus Brinkmann <[email protected]>
* gpgme.c (gpgme_set_protocol): Shut down the engine when
switching protocols.
(gpgme_ctx_set_engine_info): Likewise for engine info.
* engine.h (_gpgme_engine_reset): New function prototype.
* engine.c (_gpgme_engine_reset): New function.
* engine-backend.h (struct engine_ops): New member RESET.
* rungpg.c (_gpgme_engine_ops_gpg): Add NULL for reset function.
* engine-gpgsm.c (_gpgme_engine_ops_gpgsm)
[USE_DESCRIPTOR_PASSING]: Add gpgsm_reset for reset.
(_gpgme_engine_ops_gpgsm) [!USE_DESCRIPTOR_PASSING]: Add NULL for
reset function.
(gpgsm_reset) [USE_DESCRIPTOR_PASSING]: New function.
* op-support.c (_gpgme_op_reset): Try to use the engine's reset
function if available.
* engine-gpgsm.c (gpgsm_new): Move code to dup status_fd to ...
(start): ... here.
* posix-io.c (_gpgme_io_recvmsg, _gpgme_io_sendmsg): New functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* engine.h (_gpgme_engine_new): Remove arguments lc_ctype and
lc_messages from prototype.
(_gpgme_engine_set_locale): New prototype.
* engine.c (_gpgme_engine_set_locale): New function.
* op-support.c (_gpgme_op_reset): Call _gpgme_engine_set_locale.
* engine-backend.h (struct engine_ops): Add new member SET_LOCALE.
Remove arguments lc_messages and lc_ctype from member NEW.
* engine-gpgsm.c (struct engine_gpgsm): New members lc_ctype_set
and lc_messages_set.
(gpgsm_new): Remove lc_messages and lc_ctype
arguments.
(gpgsm_set_locale): New function.
(_gpgme_engine_ops_gpgsm): Add gpgsm_set_locale.
* rungpg.c (struct engine_gpg): Add new members lc_messages and
lc_ctype.
(gpg_release): Release lc_messages and lc_ctype if set.
(gpg_new): Remove lc_messages and lc_ctype arguments.
(gpg_set_locale): New function.
(_gpgme_engine_ops_gpg): Add gpg_set_locale.
(add_arg): Implement in terms of:
(add_arg_ext): New function.
(start): Set lc-messages and lc-ctype arguments here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* engine-gpgsm.c (struct engine_gpgsm): Move members
input_fd_server, output_fd_server, message_fd_server to ...
(iocb_data): ... here (as server_fd).
(close_notify_handler): Reset tags as well.
(gpgsm_new): Implement support for descriptor
passing.
(fd_type_t): New type.
(gpgsm_clear_fd): New function. Use it instead of _gpgsm_io_close
for unused communication channels.
(gpgsm_set_fd): Rewritten to support descriptor passing. All
relevant callers adjusted as well (previously of _gpgme_io_close).
|
|
|
|
|
|
| |
* configure.ac: Use descriptor passing only if --enable-fd-passing
is provided.
|
|
|
|
|
| |
* configure.ac: Add check for use of descriptor passing.
|
|
|
|
|
|
| |
* version.c: Include "assuan.h".
(do_subsystem_inits): Call assuan_set_assuan_err_source.
|
|
|
|
|
|
| |
* gpgsm/t-keylist.c (main): Skip unknown keys. Newer versions of
GPGSM import more keys than older ones.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (libgpgme_real_la_SOURCES): Rename to main_sources.
(libgpgme_la_SOURCES, libgpgme_pthread_la_SOURCES,
libgpgme_glib_la_SOURCES, libgpgme_pth_la_SOURCES): Add
$(main_sources).
(libgpgme_la_DEPENDENCIES, libgpgme_la_LIBADD,
libgpgme_pthread_la_DEPENDENCIES, libgpgme_pthread_la_LIBADD,
libgpgme_pth_la_DEPENDENCIES, libgpgme_pth_la_LIBADD,
libgpgme_glib_la_DEPENDENCIES, libgpgme_glib_la_LIBADD): Remove
libgpgme-real.la.
(noinst_LTLIBRARIES): Removed.
(libgpgme_glib_la_CFLAGS, libgpgme_pth_la_CFLAGS): Removed.
(AM_CFLAGS): New variable.
|
|
|
|
|
|
| |
* engine-gpgsm.c: Replace AssuanError with gpg_error_t and
ASSUAN_CONTEXT with assuan_context_t.
|
|
|
|
|
|
| |
* engine-gpgsm.c (gpgsm_new): Check return value of
assuan_pipe_connect.
|
| |
|
|
|
|
|
| |
* configure.ac (NEED_GPG_VERSION): Bump to 1.3.0.
|
|
|
|
|
|
|
| |
* rungpg.c: Include <unistd.h>.
(gpg_new): Support --display, --ttyname, --ttytype, --lc-ctype and
--lc-messages. Fixes issue 734.
|
|
|
|
|
|
| |
* gpgme.texi (Data Buffer I/O Operations): Fixed entry for
gpgme_data_seek: OFFSET is not a pointer; some s/whence/offset/.
|
|
|
|
|
|
| |
* trustlist.c (gpgme_op_trustlist_next): Return error if OPD is
NULL.
|
|
|
|
|
|
| |
* wait-global.c (gpgme_wait): Unlock CTX_LIST_LOCK while calling
_gpgme_engine_io_event().
|
|
|
|
|
| |
* keylist.c (gpgme_op_keylist_next): Return error if OPD is NULL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-09-25 Marcus Brinkmann <[email protected]>
* gpgme.texi (Destroying Data Buffers): Clarify that
gpgme_data_release_and_get_mem destroys DH unconditionally.
gpgme/
2006-09-25 Marcus Brinkmann <[email protected]>
* data-mem.c (gpgme_data_release_and_get_mem): Release the data
object properly.
|
|
|
|
|
|
| |
* keylist.c (keylist_colon_handler): Move debug output after
initialising KEY.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update to current version.
2006-09-19 Marcus Brinkmann <[email protected]>
* configure.ac: Turn stpcpy into a replacement function.
Check for unistd.h and add setenv as replacement function.
gpgme/
2006-09-19 Marcus Brinkmann <[email protected]>
* setenv.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for network libraries and set NETLIBS.
gpgme/
2006-07-29 Marcus Brinkmann <[email protected]>
* gpgme-config.in (Options): Add NETLIBS.
* Makefile.am (libgpgme_la_LIBADD, libgpgme_pthread_la_LIBADD,
libgpgme_pth_la_LIBADD, libgpgme_glib_la_LIBADD): Add NETLIBS.
|
|
|
|
|
|
| |
* rungpg.c (read_status): Fix comparison disguising as an
assignment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-03-24 Marcus Brinkmann <[email protected]>
* gpgme.texi (Library Version Check): Make example code compatible
to W32 systems.
gpgme/
2005-03-24 Marcus Brinkmann <[email protected]>
* gpgme.c (gpgme_set_locale): Remove conditional on
HAVE_W32_SYSTEM, and just check for LC_MESSAGES.
|
|
|
|
|
|
|
|
| |
* rungpg.c (read_status): Strip potential carriage return.
* genkey.c (get_key_parameter): Skip potential carriage return.
* version.c (_gpgme_get_program_version): Strip potential carriage
return.
|
|
|
|
|
|
| |
* data.c (gpgme_data_set_file_name): Allow to clear the file name
by passing NULL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lang, lang/cl: New subdirectories.
* lang/Makefile.am, lang/README: New files.
* configure.ac (AC_CONFIG_FILES): Add lang/Makefile,
lang/cl/Makefile and lang/cl/gpgme.asd.
* Makefile.am (SUBDIRS): Add lang.
lang/cl/
2006-07-06 Marcus Brinkmann <[email protected]>
* Initial release.
|
|
|
|
|
| |
* keylist.c (gpgme_get_key): Also clone the engine info.
|
|
|
|
|
|
| |
* gpgme.texi (Passphrase Callback): Fix inverted condition in
description.
|
|
|
|
|
| |
* pth.m4: Add --all to pth-config invocation.
|
|
|
|
|
|
| |
* gpgme-config.in (cflags_pth): Revert accidential removal of
pthread support with last change.
|
| |
|
|
|
|
|
| |
* configure.ac (LIBGPGME_LT_REVISION): Bump for release.
|
|
|
|
|
|
| |
* w32-glib-io.c (O_BINARY) [!O_BINARY]: New macro.
(_gpgme_io_pipe): Open pipes in binary mode.
|
| |
|
|
|
|
|
|
|
|
|
| |
Released 1.1.1.
* configure.ac (LIBGPGME_LT_CURRENT, LIBGPGME_LT_AGE): Bump for
release.
(LIBGPGME_LT_REVISION): Reset to 0 for release.
|
| |
|
|
|
|
|
|
| |
* pth.m4: Fix code generation (required for Max OS X).
Submitted by Emanuele Giaquinta <[email protected]>.
|
|
|
|
|
|
|
| |
* engine.c (gpgme_engine_check_version): Reimplemented to allow
checking the version correctly even after changing the engine
information. Bug reported by Stéphane Corthésy.
|