Marcus Brinkmann
70323bb33a
2009-06-18 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.h.in (GPGME_CONF_PATHNAME): Revert last change, it's
back! (GPA still uses it...).
2009-06-18 17:04:12 +00:00
Marcus Brinkmann
e6ff9579ba
2009-06-18 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.def: Fix stupid typo.
* w32-io.c (_gpgme_io_pipe): Add missing declaration.
2009-06-18 16:51:56 +00:00
Marcus Brinkmann
0d77c1a3aa
2009-06-18 Marcus Brinkmann <marcus@g10code.de>
...
* 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 13:41:48 +00:00
Marcus Brinkmann
3ab899f41c
2009-06-18 Marcus Brinkmann <marcus@g10code.de>
...
* 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-18 12:38:55 +00:00
Marcus Brinkmann
9c17b3343b
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.c (gpgme_result_unref): Hot fix to release a lock.
2009-06-17 13:42:52 +00:00
Werner Koch
bebd9cbe29
Add support for gpg --fetch-keys.
2009-06-16 15:42:37 +00:00
Marcus Brinkmann
3320cc1742
doc/
...
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Result Management): New section.
src/
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (result_ref_lock): New global variable.
(gpgme_result_ref, gpgme_result_unref): use it.
2009-06-16 14:43:38 +00:00
Werner Koch
b872605941
Add new functions to import and export keys specified by gpgme_key_t.
...
Allow exporting keys to a keyserver.
2009-06-16 11:42:21 +00:00
Marcus Brinkmann
59eecf421e
2009-06-15 Marcus Brinkmann <marcus@g10code.de>
...
* 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.
2009-06-15 17:05:47 +00:00
Werner Koch
148f51bb3e
Improved W32 SetForegroundWindow hacks.
2009-06-12 16:58:45 +00:00
Werner Koch
f4e35be325
Fix possible assert in the card edit.
2009-06-09 18:59:45 +00:00
Werner Koch
caf36ce1ce
Add gpgme_io_write and gpgme_io_read.
...
Minor cleanups.
2009-06-09 16:01:02 +00:00
Werner Koch
621ffc14ae
Do not distribute gpgme.h.
2009-06-09 12:44:35 +00:00
Werner Koch
4280710f33
Define error code.
2009-06-09 12:13:28 +00:00
Marcus Brinkmann
bdb7bcf938
doc/
...
2009-05-28 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Library Version Check): Document selftest error.
(Creating Contexts): Likewise.
src/
2009-05-28 Marcus Brinkmann <marcus@g10code.de>
* 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.
2009-05-28 15:16:01 +00:00
Marcus Brinkmann
2c5d801fc4
doc/
...
2009-05-18 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Encrypting a Plaintext): Document
GPGME_ENCRYPT_NO_ENCRYPT_TO.
src/
2009-05-18 Marcus Brinkmann <marcus@g10code.de>
* 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.
2009-05-18 17:38:31 +00:00
Werner Koch
63ebab659e
* gpgme.h.in (gpgme_status_code_t): Explicitly initialize for
...
better maintainability and to help debugging.
2009-05-14 07:40:51 +00:00
Marcus Brinkmann
065a0a3f6d
2009-05-05 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: Add infrastructure for compile time check of
_FILE_OFFSET_BITS.
src/
2009-05-05 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h.in: Add compile time check for _FILE_OFFSET_BITS.
2009-05-05 17:03:33 +00:00
Marcus Brinkmann
2dce8370e7
2009-04-15 Marcus Brinkmann <marcus@g10code.de>
...
* posix-io.c (_gpgme_io_socket, _gpgme_io_connect): New functions.
* w32-io.c (_gpgme_io_connect): Fix stupid error.
2009-04-15 12:04:21 +00:00
Marcus Brinkmann
d255b4bec9
assuan/
...
2009-04-08 Marcus Brinkmann <marcus@g10code.de>
* 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 <marcus@g10code.de>
* 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.
2009-04-08 18:53:57 +00:00
Werner Koch
aceb60d4dd
Add GPGME_KEYLIST_MODE_EPHEMERAL.
2009-03-18 11:19:29 +00:00
Werner Koch
f8b80c55f4
Fix locale problem, e.g. for et_ET.
2009-03-13 14:19:55 +00:00
Marcus Brinkmann
9ace1d5642
assuan/
...
2009-03-06 Marcus Brinkmann <marcus@g10code.de>
* assuan/: Update to libassuan SVN 2009-03-06.
src/
2009-03-06 Marcus Brinkmann <marcus@g10code.de>
* version.c (do_subsystem_inits): Do not set assuan log level.
* debug.c (debug_init): Likewise.
2009-03-06 22:29:49 +00:00
Werner Koch
f0dccac380
Chnaged the op-assuan interface.
2009-02-24 15:13:01 +00:00
Werner Koch
d118b5a2ee
Fix spawn prototype for w32 glib and qt versions.
2009-02-04 16:48:25 +00:00
Werner Koch
259cbefd5c
Provide inforation about smartcards.
2009-02-04 09:51:43 +00:00
Werner Koch
d951cb713f
First take on the low-level assuan interface.
2009-01-26 10:21:10 +00:00
Werner Koch
23022dd9d9
Renamed rungpg.c to engine-gpg.c for conistency.
2009-01-19 14:44:13 +00:00
Marcus Brinkmann
6216d73611
2008-12-03 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (status-table.h): Use $(builddir) to find gpgme.h.
2008-12-03 14:24:03 +00:00
Werner Koch
92394f92d4
Fix SIGPIPE ignoring regression.
...
Fix unsupported algorithm detection.
2008-11-18 11:12:36 +00:00
Marcus Brinkmann
66d0fa1973
008-11-03 Marcus Brinkmann <marcus@g10code.com>
...
* configure.ac: Replace gpgme paths with src.
* gpgme: Move to ...
* src: ... this new directory.
assuan/
2008-11-03 Marcus Brinkmann <marcus@g10code.com>
* Makefile.am (INCLUDES): Replace gpgme path with src.
tests/
2008-11-03 Marcus Brinkmann <marcus@g10code.com>
* gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src.
* gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise.
* Makefile.am (LDADD): Likewise.
2008-11-03 17:24:09 +00:00