diff options
-rw-r--r-- | NEWS | 22 | ||||
-rw-r--r-- | README | 47 | ||||
-rw-r--r-- | configure.ac | 6 |
3 files changed, 53 insertions, 22 deletions
@@ -1,8 +1,21 @@ -Noteworthy changes in version 1.25 (unreleased) [C19/A19/R_) +Noteworthy changes in version 1.25 (2016-11-14) [C20/A20/R0] ----------------------------------------------- + * New interface gpgrt_get_syscall_clamp to allow libaries to make use + of Libgpg-error's system call wrapper functions. + + * gpgrt_poll does now work under Windows. + + * Fixed bug in the locking code when used with the nPth threading + library. + + * Added support for {i686,x86_64}-apple-darwin. + + * Added new error codes. + * Interface changes relative to the 1.23 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + gpgrt_get_syscall_clamp NEW. GPG_ERR_ENGINE_TOO_OLD NEW. GPG_ERR_WINDOW_TOO_SMALL NEW. GPG_ERR_WINDOW_TOO_LARGE NEW. @@ -12,10 +25,9 @@ Noteworthy changes in version 1.25 (unreleased) [C19/A19/R_) GPG_ERR_DUP_NAME NEW. GPG_ERR_TOO_OLD NEW. GPG_ERR_TOO_YOUNG NEW. - gpgrt_get_syscall_clamp NEW. -Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1) +Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1] ----------------------------------------------- * Fixes a bug in es_fclose_snatch when used used after es_fseek. @@ -25,7 +37,7 @@ Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1) * New configure option --disable-tests. -Noteworthy changes in version 1.23 (2016-06-15) [C19/A19/R0) +Noteworthy changes in version 1.23 (2016-06-15) [C19/A19/R0] ----------------------------------------------- * Fixes an assertion failure due to es_flush on read/write streams. @@ -40,7 +52,7 @@ Noteworthy changes in version 1.23 (2016-06-15) [C19/A19/R0) GPG_ERR_SUBKEYS_EXP_OR_REV NEW. -Noteworthy changes in version 1.22 (2016-04-25) [C18/A18/R0) +Noteworthy changes in version 1.22 (2016-04-25) [C18/A18/R0] ----------------------------------------------- * New functions and macros to to provide iconv(3) on Windows. @@ -1,9 +1,28 @@ -Libgpg-error -============ +What is Libgpg-error +==================== + +Libgpg-error is a library that defines common error values for all +GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, +libgcrypt, Libksba, DirMngr, Pinentry, SmartCard Daemon and more. +Meanwhile Libgcrypt also sports functions commonly used by all GnuPG +components and which are believed to be generally useful. The main +components are + + - Structured error codes and utility functions. + + - Replacement functions for stdio stream (estream) to provide a + reliable set of printf features on all platforms. For convenience + macros are provided to make migration from stdio to estream easier + (ie. the prefix "es_") -This is a library that defines common error values for all GnuPG -components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, -Libksba, DirMngr, Pinentry, SmartCard Daemon and more. + - Generic Mutex implementation for all platforms using an ABI + independent of the underlying implementation. + + - A lean gettext and iconv implementation for Windows. + +More components will be added over time. Most functions are prefixed +with "gpgrt" (GnuPG Run Time) instead of "gpg_err" to indicate the +long term plan to rename this library to gpgrt. Libgpg-error is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -22,7 +41,7 @@ affected by the GPL. Installation ------------- +============ Please read the file INSTALL! @@ -45,7 +64,7 @@ Here is a quick summary: How to Verify the Source ------------------------- +======================== In order to check that the version of libgpg-error which you are going to install is an original and unmodified copy of the original, you can @@ -54,7 +73,7 @@ do it in one of the following ways: a) If you already have a trusted version of GnuPG installed, you can simply check the supplied signature: - $ gpg --verify libgpg-error-x.y.tar.bz2.sig + $ gpg --verify libgpg-error-x.y.tar.bz2.sig libgpg-error-x.y.tar.bz2 This checks that the detached signature libgpg-error-x.y.tar.bz2.sig is indeed a signature of libgpg-error-x.y.tar.bz2. Make sure that @@ -79,7 +98,7 @@ b) If you don't have any a trusted version of GnuPG, you can attempt Hints ------ +===== To build for Windows you you may use the convenience command: @@ -97,7 +116,7 @@ version: Cross-Compiling ---------------- +=============== Libgpg-error needs to figure out some platform specific properties. These are used to build the platform specific gpg-error.h file. The @@ -123,7 +142,7 @@ extra aliasing to avoid having too much identical syscfg files. Known Problems --------------- +============== On Windows, WSA Error Codes can be provided as system error codes and will be transparently converted to the corresponding gpg error codes. @@ -140,9 +159,9 @@ There are two problems with this support: translations). * The translation to a gpg error code and back to a system error code - in some cases does not preserve information. For example, the error code - WSAEACCES translates to GPG_ERR_EACCES, which translates back to - EACCES. + in some cases does not preserve information. For example, the error + code WSAEACCES translates to GPG_ERR_EACCES, which translates back + to EACCES. Any WSA Error code has either the first problem or the second (but not both), depending on if there is a corresponding Windows error code. diff --git a/configure.ac b/configure.ac index 1caf655..f9b1f1e 100644 --- a/configure.ac +++ b/configure.ac @@ -51,9 +51,9 @@ AC_INIT([libgpg-error],[mym4_full_version],[https://bugs.gnupg.org]) # (Interfaces added: AGE++) # (Interfaces removed: AGE=0) # Note that added error codes don't constitute an interface change. -LIBGPG_ERROR_LT_CURRENT=19 -LIBGPG_ERROR_LT_AGE=19 -LIBGPG_ERROR_LT_REVISION=1 +LIBGPG_ERROR_LT_CURRENT=20 +LIBGPG_ERROR_LT_AGE=20 +LIBGPG_ERROR_LT_REVISION=0 ################################################ AC_SUBST(LIBGPG_ERROR_LT_CURRENT) |