2015-05-12  Werner Koch  <wk@gnupg.org>

	Release 2.2.1.

2015-05-07  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	clean up assuan documentation.
	* doc/assuan.texi: fix documentation

2015-05-07  Neal H. Walfield  <neal@gnu.org>

	Documentation cleanups.

2015-01-30  Werner Koch  <wk@gnupg.org>

	w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
	* src/Makefile.am (extra_ltoptions): New.
	(libassuan_la_LDFLAGS): Use it.

2015-01-28  Werner Koch  <wk@gnupg.org>

	Require the use of automake 1.14.
	* configure.ac (AM_INIT_AUTOMAKE): Add serial-tests.
	* src/Makefile.am (INCLUDES): Rename to AM_CPPFLAGS and remove the
	nonexistent ../include/.

	w32: Fix assuan_connect_fd.
	* src/assuan-socket-connect.c (assuan_socket_connect_fd): Map fd to
	assuan_fd_t.

	Fix gcc warning about unused values.
	* src/debug.h: Remove traling ", 0" expression part where not useful.

2015-01-27  Werner Koch  <wk@gnupg.org>

	Fix WSAEADDRINUSE EADDRINUSE mismatch.
	* src/w32-sock-nonce.inc.h (EADDRINUSE): Avoid redefining.
	* src/assuan-socket.c (_assuan_sock_bind): Set error to EADDRINUSE.

2014-12-11  Werner Koch  <wk@gnupg.org>

	Release 2.2.0.
	* configure.ac: Set LT version to C5/A5/R0.
	(AM_INIT_AUTOMAKE): Add options.
	* Makefile.am (AUTOMAKE_OPTIONS): Remove.

2014-11-28  Werner Koch  <wk@gnupg.org>

	Do not allow LFs in the redirected name.
	* src/assuan-socket.c (eval_redirection): Stop parsing at the first
	LF.

	Implement socket file redirection.
	* configure.ac (AC_CHECK_FUNC): Check for stat.
	* src/assuan-socket.c (SUN_LEN): Add.
	(eval_redirection): New.
	(_assuan_sock_connect) [!W32]: Implement socket file redirection.
	(_assuan_sock_set_sockaddr_un): New.
	(assuan_sock_set_sockaddr_un): New.

2014-11-07  Werner Koch  <wk@gnupg.org>

	Release 2.1.3.
	* configure.ac: Set LT version to C4/A4/R3.

	w32: Remove I/O delays due to our 100ms delay after an EAGAIN.
	* src/system-w32.c (__assuan_read): Retry using select.  Map
	WSAECONNRESET to EPIPE.
	(__assuan_write): Retry using select.
	* src/assuan-buffer.c (readline) [W32]:  Return EOF instead of EPIPE.

2014-08-17  Werner Koch  <wk@gnupg.org>

	Release 2.1.2.
	* configure.ac: Set LT version to C4/A4/R2.

	Update build system.
	* autogen.sh: Add --find-version stuff.  Taken from GnuPG.
	* configure.ac: Change accordingly

	Fix possible segv in a call to _assuan_debug.
	* src/context.c (assuan_set_error): Do not pass NULL for %s in the
	trace function.

2014-06-30  Werner Koch  <wk@gnupg.org>

	Avoid a vasprintf call if tracing has not been enabled.
	* src/debug.c (_assuan_debug): Check wether CAT want to be logged.

2014-04-16  Werner Koch  <wk@gnupg.org>

	Fix NULL deref when tracing is enabled and malloc fails.
	* src/debug.h (TRACE_ERR): Check CTX before a deref.
	* src/assuan-defs.h (_assuan_error): Turn into an inline function and
	check CTX before a deref.

2014-01-10  Werner Koch  <wk@gnupg.org>

	Use the generic autogen.sh script.
	* autogen.rc: New.
	* Makefile.am (EXTRA_DIST): Add it.
	* autogen.sh: Update from GnuPG.

	Move helper scripts to build-aux.
	* compile, config.guess, config.rpath, config.sub, depcomp, ltmain.sh
	* doc/mdate-sh, doc/texinfo.tex, install-sh, missing: Move to
	build-aux/.
	* Makefile.am (EXTRA_DIST): Remove config.rpath - it is implicitly
	distributed.
	* configure.ac (AC_CONFIG_AUX_DIR): New.
	(AM_SILENT_RULES): New.

2013-12-03  Werner Koch  <wk@gnupg.org>

	Add build support for ppc64le.
	* config.guess, config.sub: Update to latest version (2013-11-29).
	* m4/libtool.m4: Add patches for ppc64le.

2013-06-24  Werner Koch  <wk@gnupg.org>

	Release 2.1.1.
	* configure.ac: Set LT version to C4/A4/R1.

2013-06-19  Werner Koch  <wk@gnupg.org>

	Changes to support W64.
	* configure.ac (have_dosish_system): Set for W64.
	* src/assuan-defs.h (SOCKET2HANDLE, HANDLE2SOCKET): Add versions for
	W64.
	* src/assuan-handler.c (assuan_command_parse_fd) [W64]: Use strtoull
	to parse an FD.

2013-06-17  Werner Koch  <wk@gnupg.org>

	Add hack to have different names for 64 bit Windows DLLs.
	* ltmain.sh: Prefix the SO number for W64 with a "6".

	Support building for w64.

2013-02-22  Werner Koch  <wk@gnupg.org>

	Release version 2.1.0.
	* configure.ac: Bump LT version to C4/A4/R0.

	Add assuan_check_version and ASSUAN_VERSION_NUMBER.
	* src/assuan.c (assuan_check_version): New.
	(digitp, parse_version_number, parse_version_string)
	(compare_versions): New.  Taken from libksba.
	* configure.ac (VERSION_NUMBER): New ac_subst.
	* src/Makefile.am (assuan.h): Pass VERSION and VERSION_NUMBER to
	mkheader.
	* src/assuan.h.in (ASSUAN_VERSION, ASSUAN_VERSION_NUMBER): New macros.
	(assuan_check_version): New prototype.
	* src/libassuan.def, src/libassuan.vers: Add assuan_check_version.
	* src/mkheader.c (write_special, main): Support version and
	version_number.
	* tests/version.c: New.
	* tests/Makefile.am (TESTS): Add version.

	w32: Fix header inclusion order for newer toolchain.
	* src/system-w32.c: Do not include windows.h here.

	Beautify the BUILD_TIMESTAMP and put it into the binary.
	* configure.ac (BUILD_TIMESTAMP): Use an ISO date string on all
	platforms and ac_define it.
	* src/sysutils.c (_assuan_sysutils_blurb): But revision and build date
	into the binary.

	w32ce: Adjust to changed API and make it build again.
	* src/system-w32ce.c (__assuan_write, __assuan_recvmsg)
	(__assuan_sendmsg, __assuan_waitpid): Make functions global.
	* tests/ce-server.c: Fix syntax error (s/#else/#endif)

	w32: Allow overriding a toolchain via ~/.gnupg-autogen.rc.
	* autogen.sh (build-w32): Include {amd64,w32_toolprefixes).

	Modernize release version management.
	* configure.ac: Update to modern git version checking.  Remove svn
	support.
	* src/versioninfo.rc.in: Update copyright years.

	Fix --with-{lib,}gpg-error-prefix.
	* m4/gpg-error.m4: Update from current gpg-error git.

	Update helper scripts.
	* compile, config.guess, config.rpath, config.sub, depcomp,
	* install-sh, mkinstalldirs: Update to current versions from gnulib.

2013-02-07  Werner Koch  <wk@gnupg.org>

	Make assuan_transact more robust against inquiry errors.
	* src/client.c (assuan_transact): Send an CAN after an error return
	from the inquiry callback.

2012-11-26  Ben Kibbey  <bjk@luxsci.net>

	Check for getpeerucred().
	* configure.ac: check for getpeerucred() which (Open)Solaris/SunOS
	uses.
	* src/assuan-socket-server.c (accept_connection_bottom): make use
	of getpeerucred().

2012-11-21  Ben Kibbey  <bjk@luxsci.net>

	Support LOCAL_PEEREID (NetBSD) and getpeereid() (FreeBSD)
	* configure.ac: check for LOCAL_PEEREID and getpeereid().
	* src/assuan-socket-server.c (accept_connection_bottom): make use of
	LOCAL_PEEREID and getpeereid().

2012-11-16  Werner Koch  <wk@gnupg.org>

	Improve parsing of the GIT revision number.
	* configure.ac (mmm4_revision): Use git rev-parse.  Print version
	information at the end of a configure run.

	Fix non-portable use of chmod in autogen.sh.
	* autogen.sh: Remove option -c from chmod.

2012-06-05  W. Trevor King  <wking@tremily.us>

	src/assuan-handler.c: add help strings for standard commands.

2012-04-20  W. Trevor King  <wking@tremily.us>

	Update example code for pipe server.
	* doc/assuan.texi: Fix server example code to use assuan_new.

	Wrap reference to END with @code.
	* doc/assuan.texi: Wrap reference to END with @code{}.

2012-04-20  Werner Koch  <wk@gnupg.org>

	State new contribution rules.
	* doc/DCO: New.
	* doc/HACKING: Doument new rules.  Give examples for commit logs.

2012-01-25  Werner Koch  <wk@gnupg.org>

	Make new functions also visible on non-W32.
	* src/system-posix.c (__assuan_read, __assuan_write, __assuan_recvmsg)
	(__assuan_sendmsg, __assuan_waitpid): Make functions global.
	* src/libassuan.vers: Add above functions.
	* configure.ac: Set version to 2.1.0-git.

	Require gitlog-to-changelog to be installed.
	* Makefile.am (GITLOG_TO_CHANGELOG): New.
	(gen-ChangeLog): Use installed version of gitlog-to-changelog.
	* build-aux/gitlog-to-changelog: Remove from repo.

2012-01-24  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	Fix npth port file handle use.
	* assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): Use npth_unprotect and
	npth_protect with actual assuan functions instead of npth wrappers.
	* libassuan.def: Add __assuan_read, __assuan_write, __assuan_sendmsg,
	__assuan_recvmsg, __assuan_waitpid exports.
	* system-w32.c (__assuan_read, __assuan_write, __assuan_sendmsg,
	__assuan_recvmsg, __assuan_waitpid): Make non-static.

2012-01-03  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	Make assuan portable to NPTH.

2011-12-20  Werner Koch  <wk@gnupg.org>

	Post release version number update.

	Release version 2.0.3.
	* configure.ac: Bump LT version to C3/A3/R0.

	Update gitlog-to-changelog to support --tear-off.

2011-12-13  Werner Koch  <wk@gnupg.org>

	Fix assuan_get_pid for pipe servers.
	At some point in the past we introduced a regression in that the
	client of a pipe server received its own pid and not the pid of
	the server.

	* src/assuan-pipe-connect.c (struct at_pipe_fork)
	(struct at_socketpair_fork): Add PARENT_PID.
	(at_pipe_fork_cb, at_socketpair_fork): Use PARENT_PID instead of getpid.
	(pipe_connect, socketpair_connect): Set PARENT_PID.

	vasprintf.c: Improve test code.
	* src/vasprintf.c (checkit): Set flag for a test failure.
	(main): Return error on any failure.

2011-12-01  Werner Koch  <wk@gnupg.org>

	Generate the ChangeLog from commit logs.
	* build-aux/gitlog-to-changelog: New script.  Taken from gnulib.
	* build-aux/git-log-fix: New file.
	* build-aux/git-log-footer: New file.
	* doc/HACKING: New file.
	* ChangeLog: New file.
	* Makefile.am (EXTRA_DIST): Add new files.
	(gen-ChangeLog): New.
	(dist-hook): Run gen-ChangeLog.
	* autogen.sh: Install commit-msg hook for git.

	Rename all ChangeLog files to ChangeLog-2011.

2011-12-01  Werner Koch  <wk@gnupg.org>

	NB: Changes done before December 1st, 2011 are described in
	per directory files named ChangeLog-2011.  See doc/HACKING for
	details.

        -----
	Copyright (C) 2011 Free Software Foundation, Inc.

	Copying and distribution of this file and/or the original GIT
	commit log messages, with or without modification, are
	permitted provided the copyright notice and this notice are
	preserved.
