aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/ChangeLog (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-03008-11-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-5892/+0
* configure.ac: Replace gpgme paths with src. * gpgme: Move to ... * src: ... this new directory. assuan/ 2008-11-03 Marcus Brinkmann <[email protected]> * Makefile.am (INCLUDES): Replace gpgme path with src. tests/ 2008-11-03 Marcus Brinkmann <[email protected]> * gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src. * gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise. * Makefile.am (LDADD): Likewise.
2008-10-30assuan/Marcus Brinkmann1-0/+13
2008-10-30 Marcus Brinkmann <[email protected]> * assuan-pipe-connect.c: Fix prototype for _gpgme_io_spawn. Cast second argument in its invocation to silence gcc warning. gpgme/ 2008-10-30 Marcus Brinkmann <[email protected]> * wait-private.c (_gpgme_wait_on_condition): Remove unused variable IDX. * wait-global.c: Include ops.h to silence gcc warning. (_gpgme_wait_global_event_cb): Pass error value directly. * wait-user.c: Include ops.h to silence gcc warning. * posix-io.c (_gpgme_io_spawn): Make ARGV argument const to silence gcc warning. Cast argument to execv to silence warning. * w32-io.c (_gpgme_io_spawn): Likewise. * priv-io.h (_gpgme_io_spawn): Likewise for prototype.
2008-10-24Fix last change.Werner Koch1-0/+4
2008-10-232008-10-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* rungpg.c (gpg_keylist_preprocess): Convert percent escaped string to C coded string.
2008-10-20Fix bug #818.Werner Koch1-0/+9
Use gpgme.h.in instead of in-place editing gpgme.h.
2008-10-172008-10-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+8
* w32-util.c (find_program_in_registry): Don't define. (_gpgme_get_gpg_path, _gpgme_get_gpgsm_path) (_gpgme_get_gpgconf_path): Do not check for fooProgram in the registry anymore. It is now no longer possible to overwrite the default location in that way.
2008-10-17Fix for mingw32 bug.Werner Koch1-0/+5
2008-09-232008-09-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* gpgme.c (gpgme_sig_notation_clear): Clear CTX->sig_notations. Submitted by "Daniel Mueller" <[email protected]>
2008-09-162008-09-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+5
* rungpg.c (gpg_new): Don't use errno with ttyname_r.
2008-08-112008-08-11 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+10
* 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.
2008-08-082008-08-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+4
* rungpg.c (command_handler): Remove I/O callback on error, too.
2008-06-292008-06-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+4
* gpgme.c (gpgme_cancel_async): Remove unused variable.
2008-06-272008-06-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+3
* libgpgme.vers: Add gpgme_cancel_async. * gpgme.def: Likewise.
2008-06-272008-06-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+13
* 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-26Fix incompatibility with non-recent mingw runtimes.Werner Koch1-0/+6
2008-06-25assuan/Marcus Brinkmann1-0/+46
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.
2008-06-20Fix parsing of long lines.Werner Koch1-0/+6
2008-06-19Add new types to the gpgconf interface.Werner Koch1-0/+12
Fix a parsing bug in gpgconf interface.
2008-05-09Fixed a gpgconf problem under Windows.Werner Koch1-0/+5
2008-05-07Support --locate-keys feature of gpg.Werner Koch1-0/+11
2008-05-06Allow for engine version lines with a suffix.Werner Koch1-0/+6
2008-04-28Fixed a bug reading from gpgconf.Werner Koch1-0/+5
2008-04-222008-04-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* w32-qt-io.cpp, kdpipeiodevice.cpp: New versions from Frank Osterfeld, implement blocking select.
2008-03-11doc/Marcus Brinkmann1-0/+4
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.
2008-03-062008-03-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* key.c (_gpgme_key_add_sig): Terminate UID in case SRC is NULL. Reported by Marc Mutz.
2008-03-052008-03-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* decrypt.c (release_op_data): Release OPD->result.recipients. * encrypt.c (release_op_data): Release invalid_recipient.
2008-02-152008-02-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+4
* engine-gpgconf.c (gpgconf_read): Fix end-of-line handline.
2008-02-14Chnages to supporta pinnetry notificationWerner Koch1-0/+15
2008-01-302008-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* kdpipeiodevice.cpp: New version by Frank Osterfeld, fixes race condition.
2008-01-282008-01-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+7
* 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-28Fixed bug 876Werner Koch1-0/+4
2008-01-142008-01-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name field.
2008-01-102008-01-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+2
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
2008-01-102008-01-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* engine-gpgconf.c (gpgconf_config_load_cb2): Handle the flag NO_ARG_DESC.
2008-01-042008-01-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+32
* 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.
2007-11-282007-11-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+6
* 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-26Made autolog feature for if --enable-fd-passing has not been enabled.Werner Koch1-0/+8
Pass HTML glag to test program.
2007-11-23Make getauditlog work. For now only when configured with --enable-fd-passing.Werner Koch1-0/+5
2007-11-22New API gpgme_op_getauditlog.Werner Koch1-0/+12
2007-11-20Suuport INV_RECP reason code 11.Werner Koch1-0/+4
Changed address paragraph in top comment.
2007-11-122007-11-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+4
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
2007-10-112007-10-11 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+4
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
2007-10-092007-10-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* kdpipeiodevice.cpp: New version from Frank Osterfeld and Marc Mutz.
2007-10-052007-10-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* kdpipeiodevice.cpp, w32-qt-io.cpp: New versions from Frank Osterfeld.
2007-10-042007-10-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* kdpipeiodevice.h, kdpipeiodevice.cpp, kdpipeiodevice.moc, w32-qt-io.cpp: New versions from Frank Osterfeld.
2007-10-022007-10-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* 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-022007-10-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+9
* 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-09-28Fixed a problem in the W32 gpgme->gpgsm communication.Werner Koch1-0/+4
2007-09-28Fixed the external event loop for glib.Werner Koch1-0/+20
Add a bit more tracing.
2007-09-272007-09-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* kdpipeiodevice.moc, w32-qt-io.cpp, kdpipeiodevice.cpp: New versions from Frank Osterfeld.