aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2010-05-11 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-112-1/+8
| | | | | | * gpgme.h.in: Use _WIN32 instead of _MSC_VER. Include time.h for time_t.
* Better detection of a missing libassuanWerner Koch2010-05-074-55/+115
|
* 2010-05-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-072-31/+121
| | | | | * autogen.sh: Update the thing.
* 2010-05-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-0711-5/+55
| | | | | | | | | * engine-g13.c, gpgme.c, engine-gpgsm.c, engine-gpg.c, op-support.c, engine-assuan.c, gpgme-tool.c: Include <locale.h> only if available with HAVE_LOCALE_H and conditionalize use of LC_CTYPE on its definition. * engine-gpgconf.c: Do not include <locale.h>.
* 2010-05-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-076-20/+69
| | | | | | | | | | | * engine-gpgsm.c (gpgsm_new, start): Cast between int and assuan_fd_t. * assuan-support.c (my_pipe, my_close, my_read, my_write): Likewise. * gpgme-tool.c (server_data_obj, server_reset_fds, gpgme_server), (my_recvmsg, my_sendmsg, my_spawn): Likewise. * engine-assuan.c (start): Likewise. * engine-g13.c (start): Likewise.
* 2010-05-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-066-5/+3
| | | | | | * w32-glib-io.c, w32-io.c, w32-qt-io.cpp, w32-sema.c, w32-util.c: Do not include <signal.h>.
* 2010-05-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-065-21/+54
| | | | | | | * configure.ac: Detect Windows CE. (HAVE_W32CE_SYSTEM): New symbol and automake conditional. * ltmain.sh, m4/libtool.m4: Patch so that it works for Windows CE.
* 2010-05-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-05-0621-108/+109
| | | | | | | | | | | | | | | | | | | * configure.ac: Require libgpg-error 1.8. src/ 2010-05-06 Marcus Brinkmann <[email protected]> * sign.c, data-user.c, conversion.c, debug.c, verify.c, data.c, decrypt.c, delete.c, assuan-support.c, import.c, engine-gpgsm.c, data-mem.c, op-support.c, w32-io.c, w32-util.c, data-compat.c: Use gpg_error_from_syserror instead gpg_error_from_errno, and use gpg_err_set_errno to set error number. * setenv.c: Include <gpg-error.h> and define __set_errno to use gpg_err_set_errno. * gpgme-tool.c (ARGP_ERR_UNKNOWN): Define to EDEADLOCK (which is mapped in Windows CE) instead of E2BIG (which is not). (gt_import_keys): Initialize err.
* 2010-04-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-04-198-7/+27
| | | | | | | | | | | | | | | | * assuan-support.c (my_spawn): Cast to avoid warning. * engine-g13.c (g13_new): Make ARGV array of pointer to const char. (g13_assuan_simple_command) [!USE_DESCRIPTOR_FUNCTION]: Don't define. * ops.h (_gpgme_key_append_name): Same in prototype. * key.c (_gpgme_key_append_name): Make SRC argument pointer to const char. * posix-util.c (_gpgme_get_uiserver_socket_path): Make HOMEDIR const. * vfs-mount.c (gpgme_op_vfs_transact_start): Never define this potentially useful but currently unused function. * vfs-create.c (gpgme_op_vfs_transact_start): Likewise.
* More robust detection of handle and socketsWerner Koch2010-04-162-20/+51
|
* Make generated header file read-only in an emacs buffer.Werner Koch2010-03-154-0/+21
|
* Add constant to the template and not to a built file.Werner Koch2010-03-122-1/+5
|
* Detect old gpg versions not featuring the --passwd command.Werner Koch2010-03-124-4/+56
|
* Hack to start the agent as a side-effect of a secret key listingWerner Koch2010-03-092-0/+16
|
* Changed the close notify implementaion to allow for more than 256 fds.Werner Koch2010-02-172-21/+81
| | | | | We should write a test case for it, though.
* Add option GPGME_EXPORT_MODE_MINIMALWerner Koch2010-02-167-16/+82
|
* Convert C++ comments to C90 comments.Werner Koch2010-02-161-13/+13
|
* Allow the native W32 version to properly work with sockets.Werner Koch2010-01-256-36/+104
|
* Post-release fixup.Marcus Brinkmann2010-01-112-2/+8
|
* 2010-01-11 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-01-113-2/+6
| | | | | Release 1.3.0.
* Support gpgme_op_apsswd for GPG.Werner Koch2010-01-087-12/+84
|
* 2010-01-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-01-072-29/+651
| | | | | | | | | | | | | | | | | * gpgme-tool.c (result_xml_write_cb_t, struct result_xml_state): New types. (MAX_TAGS): New macro. (result_init, result_xml_indent, result_xml_tag_start) (result_xml_tag_data, result_xml_tag_end, result_add_error) (result_add_pubkey_algo, result_add_hash_algo, result_add_keyid) (result_add_fpr, result_add_timestamp, result_add_sig_mode) (result_add_value, result_add_string, result_encrypt_to_xml) (result_decrypt_to_xml, result_sign_to_xml) (result_verify_to_xml, result_import_to_xml) (result_genkey_to_xml, result_keylist_to_xml) (result_vfs_mount_to_xml): New functions. (gt_result): Rewritten.
* Add an API to change passphrases. Currently only implemented forWerner Koch2010-01-0517-29/+312
| | | | | GPGSM. Requires GnuPG 2.1
* 2009-12-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-12-224-2/+21
| | | | | | | | | | * configure.ac: Do not use echo -n. Test for __thread. src/ 2009-12-22 Marcus Brinkmann <[email protected]> * debug.c: Test for TLS, not __GNUC__
* 2009-12-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-12-172-2/+6
| | | | | * configure.ac: Make largefile check more robust.
* 2009-12-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-12-152-1/+5
| | | | | * assuan-support.c (my_spawn): Calloc, not malloc, the fd_items.
* Test on sgid processWerner Koch2009-12-104-2/+18
|
* Forgotten file.Marcus Brinkmann2009-12-081-0/+11
|
* 2009-12-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-12-089-6948/+10985
| | | | | | | | | | | | | | | | | | | | | | Update to libtool 2.2.6a. * configure.ac: Invoke AC_CONFIG_MACRO_DIR. (AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ... (LT_PREREQ, LT_INIT, LT_LANG): ... these. * config.guess, config.sub, install-sh, ltmain.sh, m4/libtool.m4: Updated to libtool 2.2.6a. * m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: New files from libtool 2.2.6a. src/ 2009-12-08 Marcus Brinkmann <[email protected]> * Makefile.am (LTRCCOMPILE): Refactor with ... (RCCOMPILE): ... this new macro. (SUFFIXES): Add .lo. (gpgme_res_ldflag): Removed. (gpgme_res): Use libtool object file name here. (libgpgme_la_LDFLAGS): Remove gpgme_res_ldflag usage.
* 2009-12-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-12-082-1/+5
| | | | | * ath.c (ath_self) [HAVE_W32_SYSTEM]: Fix typo.
* Small portability fixWerner Koch2009-12-022-1/+6
|
* Add flags to the getauditlog command.Werner Koch2009-12-012-4/+18
|
* Fix segv in printf like functions.Werner Koch2009-12-012-6/+40
|
* 2009-11-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-262-5/+24
| | | | | | * opassuan.c (opassuan_start): Allocate result structure before beginning operation.
* 2009-11-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-252-3/+8
| | | | | | * gpgme-tool.c (gpgme_server): Use assuan_fd_t and assuan_fdopen on fds.
* Fixes for the UI server engine .Werner Koch2009-11-173-21/+32
|
* 2009-11-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-102-5/+11
| | | | | | * op-support.c (_gpgme_op_reset): Instead of last change, only set sub protocol if it is not the default.
* Make recipients command work.Werner Koch2009-11-104-13/+21
|
* Pass fdpassing flag to assuan_socket_connect.Werner Koch2009-11-102-1/+6
|
* 2009-11-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-103-4/+20
| | | | | | * gpgme.c (gpgme_new): Set default sub protocol. * gpgme-tool.c: Implement get sub protocol.
* 2009-11-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-107-7/+34
| | | | | | | | | | * gpgme.h.in (gpgme_get_sub_protocol): Add prototype. * gpgme.def, libgpgme.vers: Add gpgme_get_sub_protocol. * context.h (struct gpgme_context): New member sub_protocol. * gpgme.c (gpgme_set_sub_protocol): Set CTX->sub_protocol. (gpgme_get_sub_protocol): New function. * op-support.c (_gpgme_op_reset): Set sub protocol.
* 2009-11-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-1037-69/+1721
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Activate UIServer if FD passing is enabled and Assuan is available. m4/ 2009-11-10 Marcus Brinkmann <[email protected]> * libassuan.m4: Fix LIBASSUAN_VERSION. src/ 2009-11-10 Marcus Brinkmann <[email protected]> * Makefile.am (uiserver_components): New variable. (main_sources): Add it. * ops.h, key.c (_gpgme_key_append_name): Take CONVERT argument, implement it. Adjust callers. (gpgme_key_from_uid): New function. * gpgme.h.in (gpgme_protocol_t): Add GPGME_PROTOCOL_DEFAULT. (gpgme_encrypt_flags_t): Add GPGME_ENCRYPT_PREPARE, GPGME_ENCRYPT_EXPECT_SIGN. (gpgme_set_sub_protocol, gpgme_key_from_uid): New functions. * libgpgme.vers, gpgme.def: Add new functions. * gpgme.c (gpgme_set_protocol): Add UIServer protocol. (gpgme_set_sub_protocol): New function. (gpgme_get_protocol_name): Add UIServer and default protocol. * assuan-support.c: Return correct error values, implement socketpair for POSIX. * priv-io.h, posix-io.c, w32-io.c, w32-glib-io.c, w32-qt-io.cpp (_gpgme_io_spawn): Add ATFORK and ATFORKVALUE arguments. Implement it for POSIX. Adjust all callers. * engine.h, engine-backend.h (_gpgme_engine_set_protocol) (_gpgme_engine_op_decrypt_verify): New prototypes. Adjust all users. * engine.c (engine_ops, gpgme_get_engine_info): Add UIServer engine. (_gpgme_engine_set_protocol, _gpgme_engine_op_decrypt_verify): New function. * decrypt-verify.c (decrypt_verify_start): Call _gpgme_engine_op_decrypt_verify. * util.h, posix-util.c, w32-util.c (_gpgme_get_uiserver_socket_path): New function. * engine-gpgsm.c (gpgsm_set_fd): Fix _gpgme_io_pipe invocation. * gpgme-tool.c: Some support for UIServer protocol. * engine-uiserver.c: New file.
* Fix last change.Marcus Brinkmann2009-11-091-4/+0
|
* Remove comment.Marcus Brinkmann2009-11-091-2/+0
|
* 2009-11-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-092-3/+7
| | | | | * engine-gpgsm.c (gpgsm_new): Close server side FDs.
* 2009-11-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-062-0/+42
| | | | | | | | | | * gpgme-tool.c (struct gpgme_tool): New members write_data and write_data_hook. (gt_write_data): New function. (gt_result): Output vfs_mount result. (server_write_data): New function. (gpgme_server): Initialize write_data members.
* 2009-11-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-063-30/+43
| | | | | | | | | | * engine-g13.c (struct engine_g13): Remove members RESULT_CB and RESULT_CB_VALUE. (g13_assuan_simple_command, status_handler): Don't use those anymore. (g13_transact): Remove them from argument list, too. * vfs-mount.c (_gpgme_vfs_mount_status_handler): New function. (_gpgme_op_vfs_mount): Pass it to transact.
* 2009-11-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-054-7/+11
| | | | | | | * engine-assuan.c (llass_new): Update use of assuan_socket_connect. * engine-gpgsm.c (gpgsm_new): Update use of assuan_pipe_connect. * engine-g13.c (g13_new): Likewise.
* 2009-11-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-056-6/+21
| | | | | | | | | * priv-io.h (IOSPAWN_FLAG_NOCLOSE): New flag. * w32-io.c (_gpgme_io_spawn): Implement this flag. * posix-io.c (_gpgme_io_spawn): Likewise. * w32-glib-io.c (_gpgme_io_spawn): Likewise. * assuan-support.c (my_spawn): Set this flag.
* 2009-11-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-11-0517-28/+100
| | | | | | | | | | | | | | | | | | | | | | * decrypt.c (gpgme_op_decrypt_start): Fix use of debug macro. * decrypt-verify.c (gpgme_op_decrypt_verify_start): Likewise. * delete.c (gpgme_op_delete_start): Likewise. * edit.c (gpgme_op_edit_start, gpgme_op_card_edit_start): Likewise. * encrypt.c (gpgme_op_encrypt_start): Likewise. * encrypt-sign.c (gpgme_op_encrypt_sign_start): Likewise. * export.c (gpgme_op_export_start, gpgme_op_export_ext_start) (gpgme_op_export_keys_start, gpgme_op_export_keys): Likewise. * genkey.c (gpgme_op_genkey_start): Likewise. * getauditlog.c (gpgme_op_getauditlog_start): Likewise. * import.c (gpgme_op_import_start, gpgme_op_import_keys_start): Likewise. * opassuan.c (gpgme_op_assuan_transact_start): Likewise. * sign.c (gpgme_op_sign_start): Likewise. * verify.c (gpgme_op_verify_start): Likewise. * vfs-create.c (gpgme_op_vfs_create): Likewise. * vfs-mount.c (gpgme_op_vfs_mount): Likewise.