aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Prepare for release.Marcus Brinkmann2008-01-043-2/+8
|
* 2008-01-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-0423-16/+1760
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-11-282-8/+41
| | | | | | | * 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.
* Made autolog feature for if --enable-fd-passing has not been enabled.Werner Koch2007-11-263-4/+79
| | | | | Pass HTML glag to test program.
* 2007-11-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-11-232-1/+6
| | | | | * gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
* Make getauditlog work. For now only when configured with --enable-fd-passing.Werner Koch2007-11-235-23/+55
|
* New API gpgme_op_getauditlog.Werner Koch2007-11-2216-11/+224
|
* Suuport INV_RECP reason code 11.Werner Koch2007-11-203-8/+14
| | | | | Changed address paragraph in top comment.
* 2007-11-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-11-122-4/+13
| | | | | * kdpipeiodevice.cpp: New version from Frank Osterfeld.
* 2007-10-11 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-10-112-2/+11
| | | | | * kdpipeiodevice.cpp: New version from Frank Osterfeld.
* 2007-10-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-10-092-11/+22
| | | | | | * kdpipeiodevice.cpp: New version from Frank Osterfeld and Marc Mutz.
* 2007-10-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-10-053-5/+22
| | | | | | * kdpipeiodevice.cpp, w32-qt-io.cpp: New versions from Frank Osterfeld.
* 2007-10-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-10-045-176/+183
| | | | | | * kdpipeiodevice.h, kdpipeiodevice.cpp, kdpipeiodevice.moc, w32-qt-io.cpp: New versions from Frank Osterfeld.
* 2007-10-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-10-024-39/+149
| | | | | | | | * 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-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-10-025-45/+61
| | | | | | | | | | * 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.
* Fixed a problem in the W32 gpgme->gpgsm communication.Werner Koch2007-09-283-12/+34
|
* Fixed the external event loop for glib.Werner Koch2007-09-289-34/+119
| | | | | Add a bit more tracing.
* 2007-09-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-274-103/+232
| | | | | | * kdpipeiodevice.moc, w32-qt-io.cpp, kdpipeiodevice.cpp: New versions from Frank Osterfeld.
* 2007-09-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-2712-20/+67
| | | | | | | | | | | | | | | | | | | | | | * 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.
* doc/Marcus Brinkmann2007-09-276-1/+21
| | | | | | | | | | | | | | 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.
* 2007-09-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-272-0/+4
| | | | | * kdpipeiodevice.h: Fix last change.
* 2007-09-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-276-8/+14
| | | | | | | | | | | | * 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.
* 2007-09-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-273-2/+110
| | | | | | * assuan-pipe-connect.c (pipe_connect_gpgme): New function, use it if _ASSUAN_IN_GPGME_BUILD_ASSUAN.
* 2007-09-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-253-0/+6
| | | | | * conversion.c, keylist.c: Include <sys/types.h>.
* 2007-09-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-254-1/+18
| | | | | | | | | * 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.
* Fixed a name clash under W32Werner Koch2007-09-253-1/+8
|
* Bumbed version number (still svn, though)Werner Koch2007-09-173-2/+3
|
* Fixed a W32bug in rungpg.cWerner Koch2007-09-176-41/+45
|
* Fixed bug in gpgme_data_relase_and_get_mem.Werner Koch2007-09-145-3/+18
| | | | | Typo fixes.
* 2007-09-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-132-0/+5
| | | | | * gpgme.c (gpgme_release): Call gpgme_sig_notation_clear.
* 2007-09-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-132-0/+6
| | | | | * gpgsm/t-verify.c (main): Release TEXT and SIG.
* 2007-09-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-132-3/+8
| | | | | | * rungpg.c (gpg_new): Handle return value of _gpgme_getenv (fixes small memory leak).
* 2007-09-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-073-4/+10
| | | | | | | | * Makefile.am (libgpgme_qt_la_SOURCES): Move moc_kdpipeiodevice.cpp to EXTRA_DIST, as this is only included by another file (it's more like a header file than a cpp file, but automake doesn't know that).
* 2007-09-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-076-32/+40
| | | | | | | | | | | | * configure.ac: Work around for missing Qt cross compilation support. Check for glib and qt only on w32 targets. gpgme/ 2007-09-07 Marcus Brinkmann <[email protected]> * w32-qt-io.cpp (_gpgme_io_spawn): Fix several cast errors and typos. * w32-io.c (_gpgme_io_write): Use TRACE_SYSRES instead of TRACE_SYS. (libgpgme_qt_la_LIBADD): Add QT4_CORE_LIBS, not QT4_CORE_LIB.
* 2007-09-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-0616-30/+1898
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for C++, Qt and support --enable-w32-qt. * m4/pkg.m4: New file. gpgme/ 2007-09-07 Marcus Brinkmann <[email protected]> * kdpipeiodevice.h, kdpipeiodevice.cpp, moc_kdpipeiodevice.cpp, kdpipeiodevice.moc, w32-qt-io.c: New files. * Makefile.am (ltlib_gpgme_extra): Rename to ltlib_gpgme_glib. (ltlib_gpgme_qt): New variable. (lib_LTLIBRARIES): Add $(ltlib_gpgme_qt). (libgpgme_qt_la_SOURCES): New variable. (AM_CPPFLAGS): Add @QT4_CORE_INCLUDES@ (AM_CFLAGS): Add @QT4_CORE_CFLAGS@. (libgpgme_qt_la_LDFLAGS, libgpgme_qt_la_DEPENDENCIES) (libgpgme_qt_la_LIBADD): New variables. * sema.h (struct critsect_s): Rename "private" to "priv" to make C++ users happy. Change users. * posix-sema.c (_gpgme_sema_cs_enter, _gpgme_sema_cs_leave) (_gpgme_sema_cs_destroy): Likewise. * w32-sema.c (critsect_init, _gpgme_sema_cs_enter) (_gpgme_sema_cs_leave, _gpgme_sema_cs_destroy): Likewise. * w32-glib-io.c (gpgme_get_giochannel): Change return type to void*. (gpgme_get_fdptr): New function. * w32-io.c (gpgme_get_fdptr): New function * gpgme.def: Add gpgme_get_fdptr.
* 2007-09-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-032-2/+17
| | | | | | * assuan.h [_ASSUAN_EXT_SYM_PREFIX]: Add missing symbol renames with _ASSUAN_PREFIX.
* 2007-08-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-08-222-13/+23
| | | | | | * w32-io.c (_gpgme_io_write): Return early if COUNT is zero. (writer): Remove superfluous check.
* Fix last change.Marcus Brinkmann2007-08-221-1/+1
|
* 2007-08-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-08-212-1/+6
| | | | | | * configure.ac (--enable-w32-glib): Use --enableval, not --withval.
* 2007-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-08-202-1/+6
| | | | | * gpgme.h: Move include of gpg-error.h out of extern "C".
* Add new signature_t member chain_model.Werner Koch2007-08-076-6/+43
|
* Improved debug support: Assuan logging is now directed to the gpgme debugWerner Koch2007-08-0211-25/+128
| | | | | | stream. Create processes detached.
* Add item for tracepoints.Marcus Brinkmann2007-07-171-0/+12
|
* 2007-07-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-1718-1237/+1860
| | | | | | | | | | | | * debug.c:;5B Include <errno.h> and "debug.h". (_gpgme_debug): Save and restore ERRNO. (TOHEX): New macro. (_gpgme_debug_buffer): New function. * conversion.c, data-compat.c, data-mem.c, data.c, engine-gpgsm.c, gpgme.c, keylist.c, posix-io.c, rungpg.c, sign.c, version.c, w32-io.c, wait.c: Replace DEBUG macros by TRACE_* variants. In most of these files, add many more tracepoints.
* Fixed last change.Marcus Brinkmann2007-07-161-3/+3
|
* 2007-07-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-162-2/+8
| | | | | * engine-gpgsm.c (status_handler): Do not send BYE here.
* 2007-07-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-1610-68/+210
| | | | | | | | | | | | | | | | | | | | | | * assuan/assuan-socket.c (_assuan_close): Always use close(). * assuan/assuan.h (_gpgme_io_close): New prototype. (close): New macro, define as _gpgme_io_close. gpgme/ 2007-07-16 Marcus Brinkmann <[email protected]> * w32-io.c (struct reader_context_s, struct writer_context_s): New members REFCOUNT. (create_reader, create_writer): Initialize C->refcount to 1. (destroy_reader, destroy_writer): Only destroy if C->refcount drops to 0. (find_reader, find_writer, kill_reader, kill_writer): Beautify. * priv-io.h (_gpgme_io_dup): New prototype. * posix-io.c (_gpgme_io_dup): New function. * w32-io.c (_gpgme_io_dup): Likewise. * w32-glib-io.c (_gpgme_io_dup): Likewise. * engine-gpgsm.c (start): Reverting to version 2007-07-10.
* 2007-07-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-134-5/+22
| | | | | | | | * data-user.c (user_read, user_write, user_seek): Set errno and return -1 instead returning the error code directly. * data-compat.c (old_user_seek): Likewise. * gpgme.c (gpgme_sig_notation_add): Return error properly.
* 2007-07-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-137-36/+30
| | | | | | | | | | * Revert the "close_notify_handler" returns int stuff. Always close in the _gpgme_io_close implementations. * engine-gpgsm.c (status_handler): Try to terminate the connection in case of error. * w32-io.c (_gpgme_io_read): Return C->error_code in ERRNO. (_gpgme_io_write): Likewise.
* 2007-07-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-1310-78/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * assuan/assuan-io.c (_assuan_simple_read, _assuan_simple_write): Always use read/write (which means _gpgme_io_read and _gpgme_io_write). gpgme/ 2007-07-13 Marcus Brinkmann <[email protected]> * priv-io.h (_gpgme_io_set_close_notify): Change type of HANDLER to _gpgme_close_notify_handler. (_gpgme_close_notify_handler): New type. (_gpgme_io_dup): Remove prototype. * posix-io.c (notify_table, _gpgme_io_set_close_notify): Change type of HANDLER to _gpgme_close_notify_handler_t. (_gpgme_io_close): Do not close the FD if handler returns 0. (_gpgme_io_dup): Remove function. * w32-io.c (notify_table, _gpgme_io_set_close_notify, _gpgme_io_close): Change type of HANDLER to _gpgme_close_notify_handler_t. (_gpgme_io_close): Do not close the FD if handler returns 0. (_gpgme_io_dup): Remove function. * w32-glib-io.c (_gpgme_io_dup): Remove function. (_gpgme_io_set_close_notify, notify_table): Change type of HANDLER to _gpgme_close_notify_handler_t. (_gpgme_io_close): Do not close the FD if handler returns 0. * rungpg.c (close_notify_handler): Change return type to int, return 1. * engine-gpgsm.c (close_notify_handler): Change return type to int, return 0 for status FD and 1 for all other FDs. (start): Do not duplicate the status FD.