2005-08-09 13:19:24 +00:00
|
|
|
2005-08-09 Werner Koch <wk@g10code.com>
|
|
|
|
|
|
|
|
* README.1st: Adjusted to cope with changes done in upstream Assuan.
|
|
|
|
|
|
|
|
Merged changes for W32 support from libassuan.
|
|
|
|
|
|
|
|
* assuan.h [_ASSUAN_EXT_SYM_PREFIX]: New.
|
|
|
|
* assuan-io.c [_ASSUAN_NO_PTH]: New.
|
|
|
|
* assuan-pipe-connect.c (fix_signals) [_ASSUAN_NO_FIXED_SIGNALS]: New.
|
|
|
|
(assuan_pipe_connect2) [_ASSUAN_USE_DOUBLE_FORK]: Use double fork.
|
|
|
|
(fix_signals) [_ASSUAN_USE_DOUBLE_FORK]: Do not wait..
|
|
|
|
* assuan-logging.c, assuan-io.c: Include config.h
|
|
|
|
Replaced all usages of _WIN32 by the new HAVE_W32_SYSTEM because
|
|
|
|
there is nothing winning in this API.
|
|
|
|
* assuan-pipe-connect.c (assuan_pipe_connect2) [_WIN32]: Return
|
|
|
|
error Not Imlemented.
|
|
|
|
* assuan-logging.c (_assuan_w32_strerror): New.
|
|
|
|
* assuan-defs.h (w32_strerror): new.
|
|
|
|
* assuan-pipe-connect.c (assuan_pipe_connect2, fix_signals):
|
|
|
|
Factored signal code out to new function.
|
|
|
|
(build_w32_commandline, create_inheritable_pipe): New. Taken
|
|
|
|
from gnupg 1.9.
|
|
|
|
(assuan_pipe_connect2) [W32]: Implemented for W32.
|
|
|
|
* assuan-pipe-server.c (assuan_init_pipe_server) [W32]: Map file
|
|
|
|
descriptors using _get_osfhandle.
|
|
|
|
* assuan-socket-connect.c (assuan_socket_connect) [W32]: Allow for
|
|
|
|
a drive letter in the path.
|
|
|
|
* assuan-client.c (assuan_transact): Handle empty and comment
|
|
|
|
commands correctly.
|
|
|
|
* assuan-util.c (_assuan_calloc): Avoid integer overflow.
|
|
|
|
* assuan-util.c (assuan_set_flag, assuan_get_flag): New.
|
|
|
|
* assuan-defs.h (struct assuan_context_s): New field flags.
|
|
|
|
* assuan.h (assuan_flag_t): New with one flag value
|
|
|
|
ASSUAN_NO_WAITPID for now.
|
|
|
|
* assuan-pipe-connect.c (do_finish): Take care of the no_waitpid
|
|
|
|
flag.
|
|
|
|
* mkerrors: Include config.h into assuan-errors.c. This is
|
|
|
|
required so that assuan.h knows about the W32 macro.
|
|
|
|
|
|
|
|
2005-08-09 Timo Schulz <twoaday@g10code.com> (ported from libassuan by wk)
|
|
|
|
|
|
|
|
* assuan-io.c (_assuan_simple_read, _assuan_simple_write): W32
|
|
|
|
support.
|
|
|
|
* assuan-socket.c (_assuan_close): New.
|
|
|
|
(_assuan_sock_new): New.
|
|
|
|
(_assuan_sock_bind): New.
|
|
|
|
|
2005-03-22 09:10:36 +00:00
|
|
|
2005-03-22 Werner Koch <wk@g10code.com>
|
|
|
|
|
|
|
|
* assuan-defs.h (struct assuan_io): Renamed elements READ and
|
|
|
|
WRITE to READFNC and WRITEFNC to avoid problems with read defined
|
|
|
|
as macro. Changed callers. Noted by Ville Skyttä.
|
|
|
|
|
2004-12-21 08:42:31 +00:00
|
|
|
2004-12-16 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-pipe-connect.c (do_finish): Do not wait for child to finish.
|
|
|
|
(assuan_pipe_connect): Use double-fork approach.
|
|
|
|
* assuan-connect.c (assuan_disconnect): Do not write BYE to the
|
|
|
|
status line.
|
|
|
|
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
COPYING.
* COPYING.LESSER: New file.
* gpgme.spec.in (%doc): Add COPYING.LESSER.
* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
2.1 or later.
* TODO: Add copyright notice.
* README.CVS: Likewise.
assuan/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README.1st: Add copyright notice.
doc/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Change license to LGPL.
(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.
* gpgme.texi: Change license to LGPL (also for documentation of
GPGME's license).
* lesser.texi: New file.
* gpl.texi: File removed.
gpgme/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* putc_unlocked.c, funopen.c: I just claim copyright on these
files and change their license to LGPL, because they are totally
trivial wrapper functions.
* isascii.c: Change copyright notice to the one from ctype/ctype.h
in the GNU C Library (CVS Head 2004-10-10), where isascii is
defined as a macro doing exactly the same as the function in this
file.
* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
license to LGPL.
tests/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpg/mkdemodirs: Add copyright notice.
* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
|
|
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* README.1st: Add copyright notice.
|
|
|
|
|
2004-06-23 13:52:17 +00:00
|
|
|
2004-06-23 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2004-06-23 14:11:47 +00:00
|
|
|
* assuan-domain-connect.c [HAVE_SYS_UIO_H]: Include <sys/uio.h>.
|
|
|
|
|
2004-06-23 13:52:17 +00:00
|
|
|
* assuan-handler.c: Include <errno.h>.
|
|
|
|
|
2004-06-08 17:48:37 +00:00
|
|
|
2004-06-08 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-buffer.c (assuan_write_line): If the line is longer than
|
|
|
|
the maximum line length, bail out early.
|
|
|
|
|
2004-04-19 14:24:57 +00:00
|
|
|
2004-04-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-socket-connect.c: Include sys/types.h
|
|
|
|
* assuan-socket-server.c: Ditto
|
|
|
|
* assuan-domain-connect.c: Ditto.
|
|
|
|
|
2004-02-18 18:05:38 +00:00
|
|
|
2004-02-18 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_get_data_fp): Fail with ENOSYS if we
|
|
|
|
can't implement this.
|
|
|
|
|
2004-02-13 13:02:07 +00:00
|
|
|
2004-02-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-domain-connect.c: Removed the unneeded alloca.h
|
|
|
|
|
2003-08-18 19:17:08 +00:00
|
|
|
2003-08-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-inquire.c (assuan_inquire): Increase length of cmdbuf to
|
|
|
|
the Assuan limit.
|
|
|
|
|
|
|
|
2003-06-24 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* mkerrors: Kludge to print libgpg-error values in an easier
|
|
|
|
readable way.
|
|
|
|
|
|
|
|
2003-04-29 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* libassuan.m4: New. Based on libgrypt.m4.
|
|
|
|
* Makefile.am (m4data_DATA): New.
|
|
|
|
|
|
|
|
* assuan.h (AssuanCommand): Removed.
|
|
|
|
|
|
|
|
* assuan-handler.c: Remove the cmd_id element,
|
|
|
|
(assuan_register_command): Likewise. Note that semantics changed.
|
|
|
|
(_assuan_register_std_commands): Adjusted.
|
|
|
|
|
|
|
|
2003-02-22 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (bin_SCRIPTS): Renamed from bin_PROGRAMS.
|
|
|
|
|
|
|
|
2003-02-18 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (libassuan_a_LIBADD): New variable.
|
|
|
|
* funopen.c: Move from ../common.
|
|
|
|
* isascii.c: Likewise.
|
|
|
|
* memrchr.c: Likewise.
|
|
|
|
* putc_unlocked.c: Likewise.
|
|
|
|
|
|
|
|
2003-02-18 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan-handler.c (_IO_cookie_io_functions_t): Remove.
|
|
|
|
(cookie_io_functions_t): Remove.
|
|
|
|
(fopencookie): Remove prototype.
|
|
|
|
(assuan_get_data_fp): Use funopen, not fopencookie.
|
|
|
|
|
|
|
|
2003-02-18 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* libassuan-config.in: New file.
|
|
|
|
* Makefile.am (bin_PROGRAMS): New variable.
|
|
|
|
|
|
|
|
2003-02-17 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* .cvsignore: New file.
|
|
|
|
|
|
|
|
2003-02-17 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (lib_LIBRARIES): Use this instead of . . .
|
|
|
|
(noinst_LIBRARIES): . . . this.
|
|
|
|
(include_HEADERS): New variable.
|
|
|
|
(libassuan_a_SOURCES): Remove assuan.h, add assuan-logging.c.
|
|
|
|
|
|
|
|
* assuan.h (assuan_set_assuan_log_stream): New prototype.
|
|
|
|
(assuan_get_assuan_log_stream): Likewise.
|
|
|
|
(assuan_get_assuan_log_prefix): Likewise.
|
|
|
|
* assuan-logging.c: New file.
|
|
|
|
|
|
|
|
* assuan-buffer.c [HAVE_JNLIB_LOGGIN]: Do not include
|
|
|
|
"../jnlib/logging.h".
|
|
|
|
(my_log_prefix): Remove function.
|
|
|
|
(_assuan_read_line): Use assuan_get_assuan_log_prefix in lieu of
|
|
|
|
my_log_prefix.
|
|
|
|
(assuan_write_line): Likewise.
|
|
|
|
(_assuan_cookie_write_data): Likewise.
|
|
|
|
(_assuan_cookie_write_flush): Likewise.
|
|
|
|
* assuan-domain-connect.c (LOGERROR, LOGERROR1, LOGERROR2,
|
|
|
|
LOGERRORX): Remove.
|
|
|
|
(LOG): New macro.
|
|
|
|
(domain_reader): Use it.
|
|
|
|
(domain_writer): Likewise.
|
|
|
|
(domain_sendfd): Likewise.
|
|
|
|
(domain_receivefd): Likewise.
|
|
|
|
(_assuan_domain_init): Likewise.
|
|
|
|
(assuan_domain_connect): Likewise.
|
|
|
|
* assuan-pipe-connect.c [HAVE_JNLIB_LOGGIN]: Do not include
|
|
|
|
"../jnlib/logging.h".
|
|
|
|
(LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove.
|
|
|
|
(LOG): New macro.
|
|
|
|
(assuan_pipe_connect): Use it.
|
|
|
|
* assuan-socket-connect.c [HAVE_JNLIB_LOGGIN]: Do not include
|
|
|
|
"../jnlib/logging.h".
|
|
|
|
(LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove.
|
|
|
|
(LOG): New macro.
|
|
|
|
(assuan_socket_connect): Use it.
|
|
|
|
(socket_reader): Remove dead code.
|
|
|
|
(socket_writer): Likewise.
|
|
|
|
* assuan-util.c [HAVE_JNLIB_LOGGIN]: Do not include
|
|
|
|
"../jnlib/logging.h".
|
|
|
|
(_assuan_log_sanitized_string): Use assuan_get_assuan_log_stream,
|
|
|
|
not jnlib.
|
|
|
|
|
|
|
|
2002-11-24 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan.h (assuan_command_parse_fd): New prototype.
|
|
|
|
* assuan-handler.c (assuan_command_parse_fd): Rename from
|
|
|
|
parse_cmd_input_output. Export.
|
|
|
|
(std_handler_input): Update to use assuan_command_parse_fd.
|
|
|
|
(std_handler_output): Likewise.
|
|
|
|
|
|
|
|
2002-11-24 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan.h (assuan_sendfd): New prototype.
|
|
|
|
(assuan_receivefd): New prototype.
|
|
|
|
* assuan-buffer.c (assuan_sendfd): New function.
|
|
|
|
(assuan_receivefd): New function.
|
|
|
|
* assuan-handler.c (parse_cmd_input_output): Recognize incoming
|
|
|
|
file descriptors and act appropriately.
|
|
|
|
* assuan-defs.h (struct assuan_io): Add fields sendfd and
|
|
|
|
receivefd.
|
|
|
|
(struct assuan_context_s): Add fields pendingfds and
|
|
|
|
pendingfdscount.
|
|
|
|
* assuan-pipe-server.c (_assuan_new_context): Update IO to reflect
|
|
|
|
new features.
|
|
|
|
* assuan-domain-connect.c (do_deinit): Cleanup any unreceived file
|
|
|
|
descriptors.
|
|
|
|
(domain_reader): Receive file descriptors.
|
|
|
|
(domain_sendfd): New function.
|
|
|
|
(domain_receivefd): New function.
|
|
|
|
(_assuan_domain_init): Update initialization code to reflect new
|
|
|
|
features.
|
|
|
|
|
|
|
|
2002-11-24 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan-domain-connect.c (do_finish): Remove.
|
|
|
|
(_assuan_domain_init): Use default handlers where possible.
|
|
|
|
Add an assert and update comments.
|
|
|
|
* assuan-domain-server.c (accept_connection): Remove.
|
|
|
|
(assuan_init_domain_server): Use default handlers where possible.
|
|
|
|
Put the server in pipe mode: it can only be used by a single
|
|
|
|
client.
|
|
|
|
|
|
|
|
2002-11-24 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan.h: Add prototype for assuan_domain_connect and
|
|
|
|
assuan_init_domain_server.
|
|
|
|
* assuan-defs.h: Include <unistd.h>.
|
|
|
|
Add prototype for _assuan_domain_init.
|
|
|
|
* assuan-domain-connect.c: New file.
|
|
|
|
* assuan-domain-server.c: New file.
|
|
|
|
* Makefile.am (libassuan_a_SOURCES): Add assuan-domain-connect.c
|
|
|
|
and assuan-domain-server.c
|
|
|
|
|
|
|
|
2002-11-23 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (libassuan_a_SOURCES): Add assuan-io.c.
|
|
|
|
* assuan-io.c: Restore.
|
|
|
|
(_assuan_simple_read): Rename from _assuan_read.
|
|
|
|
(_assuan_simple_write): Rename from _assuan_write.
|
|
|
|
* assuan-defs.h (_assuan_simple_read): New prototype.
|
|
|
|
(_assuan_simple_write): Likewise.
|
|
|
|
* assuan-pipe-server.c (pipe_reader): Remove.
|
|
|
|
(pipe_writer): Remove.
|
|
|
|
(_assuan_new_context): Initialize IO is with _assuan_simple_read
|
|
|
|
and _assuan_simple_write.
|
|
|
|
* assuan-socket-connect.c (socket_reader): Remove.
|
|
|
|
(socket_writer): Remove.
|
|
|
|
(assuan_socket_connect): Initialize IO is with _assuan_simple_read
|
|
|
|
and _assuan_simple_write.
|
|
|
|
* assuan-socket-server.c (io): New local variable.
|
|
|
|
(assuan_init_socket_server): Initialize CTX->io.
|
|
|
|
(assuan_init_connected_socket_server): Likewise.
|
|
|
|
|
|
|
|
2002-11-23 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan-buffer.c (readline): Use memrchr.
|
|
|
|
(_assuan_read_line): Rewritten to use the string functions.
|
|
|
|
|
|
|
|
2002-11-20 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan-socket-connect.c (assuan_socket_connect): Pass PF_LOCAL
|
|
|
|
to socket(), not AF_UNIX: it expects a PF_* macro and the former
|
|
|
|
is more portable.
|
|
|
|
(assuan_socket_connect): Use AF_LOCAL, not AF_UNIX which is more
|
|
|
|
POSIXy.
|
|
|
|
|
|
|
|
2002-11-20 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan-defs.h (struct assuan_io): New structure.
|
|
|
|
(struct assuan_context_s): New field, io.
|
|
|
|
(_assuan_read): Depreciated.
|
|
|
|
(_assuan_write): Likewise.
|
|
|
|
* assuan-pipe-server.c: Include <unistd.h>.
|
|
|
|
(pipe_reader): New function.
|
|
|
|
(pipe_writer): Likewise.
|
|
|
|
(_assuan_new_context.IO): New local static. Set to pipe_reader
|
|
|
|
and pipe_writer. Use it to initialize new context.
|
|
|
|
* assuan-socket-connect.c (socket_reader): New function.
|
|
|
|
(socket_writer): New function.
|
|
|
|
(assuan_socket_connect.IO): New local static. Set to socket_reader
|
|
|
|
and socket_writer. Use it to initialize new context.
|
|
|
|
* assuan-buffer.c (writen): Take an ASSUAN_CONTEXT rather than a
|
|
|
|
file descriptor. Do not use _assuan_write but the write method
|
|
|
|
in the supplied context.
|
|
|
|
(readline): Likewise for _assuan_read.
|
|
|
|
(assuan_write_line): When calling writen, pass CTX; not the file
|
|
|
|
descriptor directly.
|
|
|
|
(_assuan_cookie_write_data): Likewise.
|
|
|
|
(_assuan_cookie_write_flush): Likewise.
|
|
|
|
(_assuan_read_line): Likewise for readline.
|
|
|
|
* Makefile.am (libassuan_a_SOURCES): Remove assuan-io.c.
|
|
|
|
* assuan-io.c: Removed.
|
|
|
|
|
2003-02-01 18:53:06 +00:00
|
|
|
2002-11-10 Werner Koch <wk@gnupg.org>
|
2002-05-03 18:19:44 +00:00
|
|
|
|
2003-02-01 18:53:06 +00:00
|
|
|
* assuan-pipe-connect.c (assuan_pipe_connect): Changed the order
|
|
|
|
of the dups to handle cases where we have already used fd 2 for
|
|
|
|
other things.
|
2002-05-03 18:19:44 +00:00
|
|
|
|
2003-02-01 18:53:06 +00:00
|
|
|
2002-10-31 Neal H. Walfield <neal@g10code.de>
|
2002-04-26 12:38:27 +00:00
|
|
|
|
2003-02-01 18:53:06 +00:00
|
|
|
* assuan-util.c: Include <ctype.h>.
|
|
|
|
(_assuan_log_print_buffer): Elide the magic numbers preferring the
|
|
|
|
standard isfoo functions. Use putc_unlocked where possible.
|
|
|
|
(_assuan_log_sanitized_string): Rewrite to use putc_unlocked and
|
|
|
|
the isfoo functions.
|
|
|
|
|
|
|
|
2002-09-05 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* assuan-defs.h (_assuan_read_wrapper): Depreciated.
|
|
|
|
* assuan-util.c (_assuan_read_wrapper): Removed.
|
|
|
|
* assuan-defs.h (_assuan_write_wrapper): Depreciated.
|
|
|
|
* assuan-util.c (_assuan_write_wrapper): Removed.
|
|
|
|
* assuan.h (assuan_set_io_fun): Depreciated.
|
|
|
|
* assuan-util.c (assuan_set_io_fun): Removed.
|
|
|
|
|
|
|
|
* assuan-defs.h (_assuan_read): New function.
|
|
|
|
(_assuan_write): Likewise.
|
|
|
|
* assuan-io.c: New file.
|
|
|
|
|
|
|
|
* assuan-buffer.c (writen): Use _assuan_write rather than doing
|
|
|
|
the work here.
|
|
|
|
(readline): Likewise for _assuan_read.
|
|
|
|
|
|
|
|
* Makefile.am (libassuan_a_SOURCES): Add assuan-io.c.
|
|
|
|
|
|
|
|
2002-08-16 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan.h: Renamed Bad_Certificate_Path to Bad_Certificate_Chain.
|
|
|
|
|
|
|
|
2002-07-30 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
Changed the license from GPL to LGPL.
|
|
|
|
|
|
|
|
2002-07-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (_IO_cookie_io_functions_t): Define it here if
|
|
|
|
it does not exists.
|
|
|
|
|
|
|
|
2002-06-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-pipe-connect.c (assuan_pipe_connect): No special handling
|
|
|
|
for the log_fd and stderr. Connect stderr to /dev/null if it
|
|
|
|
should not be retained.
|
|
|
|
|
|
|
|
2002-06-26 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-buffer.c (assuan_write_line): Make sure we never
|
|
|
|
accidently print an extra LF.
|
|
|
|
|
|
|
|
2002-05-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-util.c (assuan_set_io_func): New.
|
|
|
|
* assuan-buffer.c (writen, readline): Use the new functions
|
|
|
|
instead of pth.
|
|
|
|
* assuan-socket-server.c (accept_connection): Don't use the
|
|
|
|
pth_accept - using the assuan included accept code would be a bad
|
|
|
|
idea within Pth so we don't need a replacement function.
|
|
|
|
|
|
|
|
2002-05-22 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-socket-server.c (assuan_init_connected_socket_server): New.
|
|
|
|
(accept_connection): Factored most code out to..
|
|
|
|
(accept_connection_bottom): .. new function.
|
2002-04-26 12:38:27 +00:00
|
|
|
|
2002-04-24 01:55:58 +00:00
|
|
|
2002-04-04 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-buffer.c (my_log_prefix): New. Use it for all i/o debug
|
|
|
|
output.
|
|
|
|
|
|
|
|
2002-03-06 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-client.c (_assuan_read_from_server): Detect END.
|
|
|
|
(assuan_transact): Pass it to the data callback.
|
|
|
|
|
|
|
|
2002-02-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-client.c (assuan_transact): Add 2 more arguments to
|
|
|
|
support status lines. Passing NULL yields the old behaviour.
|
|
|
|
|
|
|
|
* assuan-handler.c (process_request): Flush data lines send
|
|
|
|
without using the data fp.
|
|
|
|
|
|
|
|
2002-02-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-inquire.c (assuan_inquire): Check for a cancel command
|
|
|
|
and return ASSUAN_Canceled. Allow for non-data inquiry.
|
|
|
|
|
|
|
|
* assuan.h: Add a few token specific error codes.
|
|
|
|
|
|
|
|
2002-02-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-defs.h (assuan_context_s): New var CLIENT_PID.
|
|
|
|
* assuan-pipe-server.c (_assuan_new_context): set default value.
|
|
|
|
* assuan-socket-server.c (accept_connection): get the actual pid.
|
|
|
|
|
|
|
|
2002-02-12 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.
|
|
|
|
* assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
|
|
|
|
|
2002-02-01 19:54:25 +00:00
|
|
|
2002-02-01 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (MOSTLYCLEANFILES): New variable.
|
|
|
|
|
|
|
|
2002-01-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-socket-connect.c (LOGERRORX): and removed typo.
|
|
|
|
|
2002-01-22 16:29:12 +00:00
|
|
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-socket-connect.c (LOGERRORX): Reverse arguments to fputs.
|
|
|
|
|
|
|
|
2002-01-21 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c: Move all except assuan_get_pid to...
|
|
|
|
* assuan-pipe-connect.c: this.
|
|
|
|
(assuan_pipe_disconnect): Removed.
|
|
|
|
(do_finish, do_deinit): New
|
|
|
|
(assuan_pipe_connect): and set them into the context.
|
|
|
|
* assuan-socket-connect.c: New.
|
|
|
|
|
|
|
|
* assuan-util.c (_assuan_log_sanitized_string): New.
|
|
|
|
|
|
|
|
* assuan-pipe-server.c (assuan_init_pipe_server): Factored most
|
|
|
|
code out to ...
|
|
|
|
(_assuan_new_context): new func.
|
|
|
|
(_assuan_release_context): New
|
|
|
|
* assuan-connect.c (assuan_pipe_connect): Use the new functions.
|
|
|
|
|
|
|
|
2002-01-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan.h: Added Invalid Option error code.
|
|
|
|
|
|
|
|
* assuan-handler.c (std_handler_option): New.
|
|
|
|
(std_cmd_tbl): Add OPTION as standard command.
|
|
|
|
(assuan_register_option_handler): New.
|
|
|
|
(dispatch_command): Use case insensitive matching as a fallback.
|
|
|
|
(my_strcasecmp): New.
|
|
|
|
|
|
|
|
2002-01-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-buffer.c (_assuan_read_line): Add output logging.
|
|
|
|
(assuan_write_line): Ditto.
|
|
|
|
(_assuan_cookie_write_data): Ditto.
|
|
|
|
(_assuan_cookie_write_flush): Ditto.
|
|
|
|
* assuan-util.c (_assuan_log_print_buffer): New.
|
|
|
|
(assuan_set_log_stream): New.
|
|
|
|
(assuan_begin_confidential): New.
|
|
|
|
(assuan_end_confidential): New.
|
|
|
|
|
|
|
|
* assuan-defs.h: Add a few handler variables.
|
|
|
|
* assuan-pipe-server.c (assuan_deinit_pipe_server): Removed.
|
|
|
|
(deinit_pipe_server): New.
|
|
|
|
(assuan_deinit_server): New. Changed all callers to use this.
|
|
|
|
* assuan-listen.c (assuan_accept): Use the accept handler.
|
|
|
|
* assuan-handler.c (process_request): Use the close Handler.
|
|
|
|
* assuan-socket-server.c: New.
|
|
|
|
|
|
|
|
2002-01-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-client.c (_assuan_read_from_server): Skip spaces after
|
|
|
|
the keyword.
|
|
|
|
|
|
|
|
2002-01-03 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_set_okay_line): New.
|
|
|
|
(process_request): And use it here.
|
|
|
|
|
|
|
|
2002-01-02 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-inquire.c (init_membuf,put_membuf,get_membuf): Apply a
|
|
|
|
hidden 0 behind the buffer so that the buffer can be used as a
|
|
|
|
string in certain contexts.
|
|
|
|
|
2001-12-19 00:23:25 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-connect.c (assuan_pipe_connect): New argument
|
|
|
|
FD_CHILD_LIST. Don't close those fds.
|
|
|
|
* assuan.h: Likewise for prototype.
|
|
|
|
|
|
|
|
2001-12-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-listen.c (assuan_close_input_fd): New.
|
|
|
|
(assuan_close_output_fd): New.
|
|
|
|
* assuan-handler.c (std_handler_reset): Always close them after a
|
|
|
|
reset command.
|
|
|
|
(std_handler_bye): Likewise.
|
|
|
|
|
2001-12-14 01:22:00 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use
|
2001-12-14 01:27:58 +00:00
|
|
|
it to save the length of the attic line.
|
2001-12-14 01:22:00 +00:00
|
|
|
Rediddle the code a bit to make it more clear what happens.
|
|
|
|
|
2001-12-13 23:12:37 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
|
|
|
|
assuan.h: Define ASSUAN_LINELENGTH.
|
|
|
|
|
|
|
|
2001-12-13 Marcus Brinkmann <marcus@g10code.de>
|
2001-12-13 20:13:34 +00:00
|
|
|
|
|
|
|
* assuan-buffer.c (assuan_read_line): Fix order of execution to
|
|
|
|
get correct return values.
|
|
|
|
|
2001-12-13 17:37:04 +00:00
|
|
|
2001-12-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
|
|
|
|
pretty obvious that nobody ever tested this function.
|
|
|
|
|
2001-12-13 15:04:36 +00:00
|
|
|
2001-12-12 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c (assuan_pipe_connect): Implemented the inital
|
|
|
|
handshake.
|
|
|
|
* assuan-client.c (read_from_server): Renamed to
|
|
|
|
(_assuan_read_from_server): this and made external.
|
|
|
|
|
|
|
|
* assuan-listen.c (assuan_set_hello_line): New.
|
|
|
|
(assuan_accept): Use a custom hello line is available.
|
|
|
|
|
|
|
|
* assuan-buffer.c (assuan_read_line): New.
|
|
|
|
(assuan_pending_line): New.
|
|
|
|
(_assuan_write_line): Renamed to ..
|
|
|
|
(assuan_write_line): this, made public and changed all callers.
|
|
|
|
|
|
|
|
2001-12-04 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c (assuan_pipe_connect): Add more error reporting.
|
|
|
|
* assuan-client.c: New.
|
|
|
|
|
|
|
|
* assuan-inquire.c: New.
|
|
|
|
* assuan-handler.c (process_request): Check for nested invocations.
|
|
|
|
|
|
|
|
2001-11-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_register_input_notify): New.
|
|
|
|
(assuan_register_output_notify): New.
|
|
|
|
|
|
|
|
2001-11-26 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan.h: Added more status codes.
|
|
|
|
|
|
|
|
2001-11-25 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_register_bye_notify)
|
|
|
|
(assuan_register_reset_notify)
|
|
|
|
(assuan_register_cancel_notify): New and call them from the
|
|
|
|
standard handlers.
|
|
|
|
(assuan_process): Moved bulk of function to ..
|
|
|
|
(process_request): .. new.
|
|
|
|
(assuan_process_next): One shot version of above.
|
|
|
|
(assuan_get_active_fds): New.
|
|
|
|
|
2001-11-24 21:27:22 +00:00
|
|
|
2001-11-24 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c (assuan_get_pid): New.
|
|
|
|
|
|
|
|
* assuan-buffer.c (_assuan_read_line): Deal with reads of more
|
|
|
|
than a line.
|
|
|
|
* assuan-defs.h: Add space in the context for this.
|
|
|
|
|
|
|
|
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
COPYING.
* COPYING.LESSER: New file.
* gpgme.spec.in (%doc): Add COPYING.LESSER.
* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
2.1 or later.
* TODO: Add copyright notice.
* README.CVS: Likewise.
assuan/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README.1st: Add copyright notice.
doc/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Change license to LGPL.
(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.
* gpgme.texi: Change license to LGPL (also for documentation of
GPGME's license).
* lesser.texi: New file.
* gpl.texi: File removed.
gpgme/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* putc_unlocked.c, funopen.c: I just claim copyright on these
files and change their license to LGPL, because they are totally
trivial wrapper functions.
* isascii.c: Change copyright notice to the one from ctype/ctype.h
in the GNU C Library (CVS Head 2004-10-10), where isascii is
defined as a macro doing exactly the same as the function in this
file.
* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
license to LGPL.
tests/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpg/mkdemodirs: Add copyright notice.
* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
|
|
|
Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
2001-11-24 21:27:22 +00:00
|
|
|
|
|
|
|
This file is free software; as a special exception the author gives
|
|
|
|
unlimited permission to copy and/or distribute it, with or without
|
|
|
|
modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
This file is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|