aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2009-10-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-10-202-3/+7
| | | | | | * gpgme-config.in (netlibs): Remove. (assuan_cflags, assuan_libs): Add.
* 2009-10-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-10-208-185/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Replace internal libassuan by external libassuan. * m4/libassuan.m4: New file. * Makefile.am (assuan): Remove variable. (SUBDIRS): Remove ${assuan}. * assuan/: Removed. src/ 2009-10-20 Marcus Brinkmann <[email protected]> * Makefile.am (assuan_cppflags, assuan_libobjs): Removed. (gpgsm_components): Move engine-assuan.c to ... (assuan_components): ... this new variable. (main_sources): Add this new variable. (AM_CPPFLAGS): Remove $(assuan_cppflags). (AM_CFLAGS): Add @LIBASSUAN_CFLAGS@. (libgpgme_la_DEPENDENCIES, libgpgme_pth_la_DEPENDENCIES) (libgpgme_glib_la_DEPENDENCIES, libgpgme_qt_la_DEPENDENCIES) (libgpgme_pthread_la_DEPENDENCIES): Remove $(assuan_libobjs). (libgpgme_la_LIBADD, libgpgme_pth_la_LIBADD) (libgpgme_glib_la_LIBADD, libgpgme_qt_la_LIBADD)) (libgpgme_pthread_la_LIBADD): Replace $(assuan_libobjs) by @LIBASSUAN_LIBS@. * priv-io.h [!HAVE_W32_SYSTEM]: Declare _gpgme_io_recvmsg, _gpgme_io_sendmsg, _gpgme_io_waitpid. * engine-backend.h: Define with [ENABLE_ASSUAN] instead of [ENABLE_GPGSM]. * posix-io.c (_gpgme_io_waitpid): Make non-static. * util.h (ENABLE_ASSUAN): Declar _gpgme_assuan_system_hooks, _gpgme_assuan_malloc_hooks, _gpgme_assuan_log_cb. * engine-gpgsm.c: Don't map assuan error codes. Use assuan_release instead of assuan_disconnect. (map_assuan_error): Remove function. (gpgsm_new): Use new assuan context interface. * engine-assuan.c: Use assuan_release instead of assuan_disconnect. (llass_new): Use new assuan context interface.
* Fix last change for Windows.Werner Koch2009-10-072-1/+9
|
* Better detection for signature creation failure.Werner Koch2009-08-062-1/+7
|
* Fix detection of invalid signer keys.Werner Koch2009-08-065-10/+47
| | | | | Support the new INV_SGNR status code.
* Inmplement import from keys for GPGSM.Werner Koch2009-07-073-6/+85
| | | | | Add option --cms to run-keylist test program.
* Typo fix.Werner Koch2009-07-071-2/+2
|
* * engine-gpgsm.c (gpgsm_import): Return an error for unknown dataWerner Koch2009-07-072-0/+14
| | | | | encodings.
* 2009-06-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-227-45/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add AC_TYPE_UINTPTR_T. * assuan/assuan.h [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Declare _gpgme_io_connect. src/ 2009-06-22 Marcus Brinkmann <[email protected]> * debug.h: Everywhere, use %p instead of 0x%x to print pointer. [HAVE_STDINT_H]: Include <stdint.h>. (_TRACE, TRACE, TRACE0, TRACE1, TRACE2, TRACE3, TRACE6): Cast tag to (uintptr_t) before casting it to (void*) to silence GCC warning. * gpgme.h.in (_GPGME_DEPRECATED_OUTSIDE_GPGME): New macro. * sign.c (_GPGME_IN_GPGME): Define it. * keylist.c (_GPGME_IN_GPGME): Define it. * debug.c (_gpgme_debug_begin, _gpgme_debug_add): Handle error in vasprintf and asprintf. * priv-io.h: Include <sys/socket.h>. Declare _gpgme_io_connect. tests/ 2009-06-22 Marcus Brinkmann <[email protected]> * gpg/t-support.h (passphrase_cb): Implement write() according to the book to silence compiler warning. * gpgsm/t-support.h (passphrase_cb): Likewise.
* 2009-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-182-0/+6
| | | | | | * gpgme.h.in (GPGME_CONF_PATHNAME): Revert last change, it's back! (GPA still uses it...).
* 2009-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-183-2/+6
| | | | | | * gpgme.def: Fix stupid typo. * w32-io.c (_gpgme_io_pipe): Add missing declaration.
* 2009-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-183-14/+51
| | | | | | | | | | | | * gpgme.h.in (GPGME_CONF_PATHNAME): Remove obsolete macro. * w32-io.c (_gpgme_io_pipe): Allocate reader/writer thread right away. (_gpgme_io_read, _gpgme_io_write, _gpgme_io_select) (_gpgme_io_dup): Never allocate threads here. (find_writer, find_reader): Check return value of thread creation function.
* 2009-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-184-0/+18
| | | | | | | | * context.h (CTX_OP_DATA_MAGIC): New macro. (struct ctx_op_data): New member MAGIC. * op-support.c (_gpgme_op_data_lookup): Initialize magic. * gpgme.c (gpgme_result_unref, gpgme_result_ref): Check magic.
* 2009-06-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-172-0/+3
| | | | | * gpgme.c (gpgme_result_unref): Hot fix to release a lock.
* Add support for gpg --fetch-keys.Werner Koch2009-06-165-2/+150
|
* doc/Marcus Brinkmann2009-06-162-6/+25
| | | | | | | | | | | | | 2009-06-16 Marcus Brinkmann <[email protected]> * gpgme.texi (Result Management): New section. src/ 2009-06-16 Marcus Brinkmann <[email protected]> * gpgme.c (result_ref_lock): New global variable. (gpgme_result_ref, gpgme_result_unref): use it.
* Add new functions to import and export keys specified by gpgme_key_t.Werner Koch2009-06-1611-76/+377
| | | | | Allow exporting keys to a keyserver.
* 2009-06-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-06-157-6/+57
| | | | | | | | | | | | * gpgme.h.in (gpgme_result_ref, gpgme_result_unref): Add prototypes. * gpgme.def, libgpgme.vers (gpgme_result_ref, gpgme_result_unref): Add these. * context.h (struct ctx_op_data): Add member "references". * gpgme.c (gpgme_result_ref, gpgme_result_unref): New functions. (_gpgme_release_result): Use gpgme_result_unref. * op-support.c (_gpgme_op_data_lookup): Initialize references.
* Improved W32 SetForegroundWindow hacks.Werner Koch2009-06-1216-49/+171
|
* Fix possible assert in the card edit.Werner Koch2009-06-092-0/+4
|
* Add gpgme_io_write and gpgme_io_read.Werner Koch2009-06-096-1/+49
| | | | | Minor cleanups.
* Do not distribute gpgme.h.Werner Koch2009-06-092-4/+7
|
* Define error code.Werner Koch2009-06-092-1/+7
|
* doc/Marcus Brinkmann2009-05-287-2/+78
| | | | | | | | | | | | | | | | | | | | | | 2009-05-28 Marcus Brinkmann <[email protected]> * gpgme.texi (Library Version Check): Document selftest error. (Creating Contexts): Likewise. src/ 2009-05-28 Marcus Brinkmann <[email protected]> * gpgme.h.in (gpgme_check_version_internal): New prototype. (gpgme_check_version): New macro, overriding function of the same name. * libgpgme.vers, gpgme.def: Add gpgme_check_version_internal.o * context.h (_gpgme_selftest): New variable declaration. * version.c: Include "context.h". (gpgme_check_version): Set _gpgme_selftest on success. (gpgme_check_version_internal): New function. * gpgme.c (_gpgme_selftest): Define it. (gpgme_new): Check the selftest result.
* doc/Marcus Brinkmann2009-05-184-2/+21
| | | | | | | | | | | | | | | | | | 2009-05-18 Marcus Brinkmann <[email protected]> * gpgme.texi (Encrypting a Plaintext): Document GPGME_ENCRYPT_NO_ENCRYPT_TO. src/ 2009-05-18 Marcus Brinkmann <[email protected]> * gpgme.h.in (gpgme_encrypt_flags_t): Add GPGME_ENCRYPT_NO_ENCRYPT_TO. * engine-gpg.c (gpg_encrypt): Pass --no-encrypt-to to gpg if GPGME_ENCRYPT_NO_ENCRYPT_TO flag is set.
* * gpgme.h.in (gpgme_status_code_t): Explicitly initialize forWerner Koch2009-05-142-91/+96
| | | | | better maintainability and to help debugging.
* 2009-05-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-05-052-0/+15
| | | | | | | | | | | * configure.ac: Add infrastructure for compile time check of _FILE_OFFSET_BITS. src/ 2009-05-05 Marcus Brinkmann <[email protected]> * gpgme.h.in: Add compile time check for _FILE_OFFSET_BITS.
* 2009-04-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-04-153-2/+34
| | | | | | * posix-io.c (_gpgme_io_socket, _gpgme_io_connect): New functions. * w32-io.c (_gpgme_io_connect): Fix stupid error.
* assuan/Marcus Brinkmann2009-04-086-62/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-08 Marcus Brinkmann <[email protected]> * assuan.h (_gpgme_io_socket): New prototype. (_ASSUAN_CUSTOM_IO, _assuan_custom_close, _assuan_custom_read) (_assuan_custom_write, _assuan_custom_pipe, _assuan_custom_socket) (_assuan_custom_connect): New macros. * assuan-socket.c (_assuan_close, _assuan_sock_new) (_assuan_sock_connect) [_ASSUAN_CUSTOM_IO]: Use custom I/O function. * assuan-buffer.c (assuan_read_line): Do not handle EAGAIN anymore. * assuan-client.c (_assuan_read_from_server): Likewise. * assuan-handler.c (process_next): Likewise * assuan-inquire.c (assuan_inquire): Likewise. src/ 2009-04-08 Marcus Brinkmann <[email protected]> * w32-glib-io.c (giochannel_table): New members used, fd, socket. (find_channel): Drop CREATE argument. (new_dummy_channel_from_fd, new_channel_from_fd) (new_channel_from_socket): New functions. (_gpgm_io_fd2str): Implement for sockets. (_gpgme_io_write, _gpgme_io_read): Translate EAGAIN errors correctly. (_gpgme_io_pipe): Fix for new channel bookkeeping. (_gpgme_io_close, _gpgme_io_dup): Likewise. (wsa2errno, _gpgme_io_socket, _gpgme_io_connect): New. * w32-io.c (MAX_READERS, MAX_WRITERS): Bump up to 40. (wsa2errno, _gpgme_io_socket, _gpgme_io_connect): New. * w32-qt-io.cpp (_gpgme_io_socket, _gpgme_io_connect): New stubs. * version.c [HAVE_W32_SYSTEM]: Include "windows.h. (do_subsystem_inits) [HAVE_W32_SYSTEM]: Call WSAStartup. * engine-assuan.c (llass_status_handler): Ignore EAGAIN errors.
* Add GPGME_KEYLIST_MODE_EPHEMERAL.Werner Koch2009-03-183-2/+15
|
* Fix locale problem, e.g. for et_ET.Werner Koch2009-03-132-0/+9
|
* assuan/Marcus Brinkmann2009-03-062-3/+1
| | | | | | | | | | | | | 2009-03-06 Marcus Brinkmann <[email protected]> * assuan/: Update to libassuan SVN 2009-03-06. src/ 2009-03-06 Marcus Brinkmann <[email protected]> * version.c (do_subsystem_inits): Do not set assuan log level. * debug.c (debug_init): Likewise.
* Chnaged the op-assuan interface.Werner Koch2009-02-244-43/+61
|
* Fix spawn prototype for w32 glib and qt versions.Werner Koch2009-02-043-2/+8
|
* Provide inforation about smartcards.Werner Koch2009-02-044-9/+61
|
* First take on the low-level assuan interface.Werner Koch2009-01-2618-37/+1335
|
* Renamed rungpg.c to engine-gpg.c for conistency.Werner Koch2009-01-193-7/+12
|
* 2008-12-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-12-032-1/+5
| | | | | * Makefile.am (status-table.h): Use $(builddir) to find gpgme.h.
* Fix SIGPIPE ignoring regression.Werner Koch2008-11-183-7/+16
| | | | | Fix unsupported algorithm detection.
* 008-11-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-11-0386-0/+33930
* 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.