summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2009-12-15 01:36:40 +0000
committerMarcus Brinkmann <mb@g10code.com>2009-12-15 01:36:40 +0000
commit42ccca321cc69db9891a2413747078e079d4f1ad (patch)
treecec776cb789efebef8642475c64016eb08adc6f6
parent6c94b937ba12ef36b225e9273c42365168bbd723 (diff)
downloadlibassuan-42ccca321cc69db9891a2413747078e079d4f1ad.tar.gz
2009-12-15 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Bump version to 2.0.0.
-rw-r--r--ChangeLog4
-rw-r--r--NEWS6
-rw-r--r--configure.ac4
-rw-r--r--doc/README.apichanges30
4 files changed, 36 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index bade7ff..e9cac1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-15 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Bump version to 2.0.0.
+
2009-11-05 Marcus Brinkmann <marcus@g10code.de>
* tests/fdpassing.c (main): Call assuan_pipe_connect instead
diff --git a/NEWS b/NEWS
index f5d15cc..1174d69 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Noteworthy changes in version 1.1.0 (unreleased)
+Noteworthy changes in version 2.0.0 (unreleased)
------------------------------------------------
* Now using libtool and builds a DSO.
@@ -58,8 +58,8 @@ assuan_init_pipe_server CHANGED: Take ctx arg instead of pointer to ctx.
CHANGED: Swallows fds (are closed at end).
CHANGED: Take assuan_fd_t.
assuan_fdopen NEW
-assuan_set_io_hooks REMOVED: Will come back in expanded form.
-assuan_io_hooks_t REMOVED: Will come back in expanded form.
+assuan_set_io_hooks REMOVED: Use assuan_system_hooks interface.
+assuan_io_hooks_t REMOVED: Use assuan_system_hooks interface.
assuan_io_monitor_t CHANGED: Add a hook data argument.
assuan_get_command_name NEW
assuan_msghdr_t NEW
diff --git a/configure.ac b/configure.ac
index b6353eb..08c34c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,12 +19,12 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-min_automake_version="1.10"
+min_automake_version="2.0.0"
# Remember to change the version number immediately *after* a release.
# Set my_issvn to "yes" for non-released code. Remember to run an
# "svn up" and "autogen.sh" right before creating a distribution.
-m4_define([my_version], [1.1.0])
+m4_define([my_version], [2.0.0])
m4_define([my_issvn], [yes])
m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \
diff --git a/doc/README.apichanges b/doc/README.apichanges
index 0a45afe..b2de829 100644
--- a/doc/README.apichanges
+++ b/doc/README.apichanges
@@ -1,11 +1,35 @@
README.apichanges -*- text -*-
-API changes between 1.0.5 and 1.1.0:
+API changes between 1.0.5 and 2.0.0:
====================================
While allowing to build libassuan as a DSO we decided to clean up the
-API. The changes are straightforward and it should obnly take a few
+API. The changes are straightforward and it should only take a few
minutes to fix your code.
- TODO.
+See the NEWS file for functions that have been renamed or replaced by
+alternatives that are used in the same way (but may have extra
+arguments with suitable default values or similar). The rest of this
+document lists significant changes only.
+There have been many macros provided now for fixed constants, you may
+consider using them (but the old hard-coded values will continue to
+work where applicable). Particularly noteworthy is ASSUAN_INVALID_PID
+and all flags values.
+
+Use of libgpg-error is mandatory.
+
+assuan_pipe_connect child fds are now of assuan_fd_t type, not of int
+type. Use assuan_fd_from_posix_fd() for conversion. If you use
+assuan_pipe_connect with NAME of NULL, you have to provide a non-NULL
+ARGV argument and check that against "server" or "client" to determine
+which end you got after fork().
+
+assuan_init_pipe_server closes the provided fds after terminating the
+connection now. Use assuan_fdopen to duplicate them first.
+
+If you use the assuan sock interface, you must call assuan_sock_init after
+setting global context defaults.
+
+Pth support has changed. This now follows the same style as libgcrypt
+by setting system hook callbacks.