aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-15Release 1.17.libgpg-error-1.17Werner Koch1-1/+3
* configure.ac: Set LT version to C13/A13/R0.
2014-10-02Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending.Werner Koch1-0/+3
* src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New. * src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New. (check_pending): new. (check_pending_fbf, check_pending_nbf): New. (es_func_mem_read, es_func_fd_read, es_func_w32_read) (es_func_fp_read, es_fill): Take care of the special 0 value for SIZE.
2014-09-29Add error codes for use by a TLS library.Werner Koch1-2/+26
2014-09-24Allow ./configure to explicitly set libgpg-error's build timestampDaniel Kahn Gillmor1-1/+3
* configure.ac: add --enable-build-timestamp -- A group within Debian is working on making the archive rebuildable in a reproducible way, so that the compiled binary outputs are byte-for-byte identical when built for the same platform using the same toolchain. This is useful in providing auditability and corroboration for users of the operating system. libgpg-error is very close to reproducible except for embedding the build timestamp in the generated binary. This timestamp is set in config.h during ./configure. This patch allows an external build system to set this embedded timestamp explicitly, which appears to make the package build repeatably when ./configure is called with (for example) --enable=build-timestamp=2014-09-23T01:02+0000 Debian-bug-id: 762397 (Minor reformatting and NEWS entry by wk.)
2014-09-24Add new error source GPG_ERR_SOURCE_TLS.Werner Koch1-0/+6
2014-09-18Post release updates.Werner Koch1-0/+4
--
2014-09-18Release 1.16.libgpg-error-1.16Werner Koch1-1/+7
* configure.ac: Set LT version to C12/A12/R2.
2014-09-11Post release updates.Werner Koch1-0/+4
--
2014-09-11Release 1.15.libgpg-error-1.15Werner Koch1-1/+1
* configure.ac: Set LT version to C12/A12/R1.
2014-09-11Fix problems with ssize_t and off_t.Werner Koch1-0/+12
* configure.ac (AC_SYS_LARGEFILE): New. (AC_CHECK_HEADERS): Check for stdint.h. (AC_CHECK_SIZEOF): Add for int, long and long long. (REPLACEMENT_FOR_OFF_T): New ac_define. * src/mkheader.c (have_stdint_h, have_w32_system, have_w64_system) (replacement_for_off_type, stdint_h_included): New. (xfree, xstrdup): New. (parse_config_h): New. (write_special): Support "define:gpgrt_off_t", "define:gpgrt_ssize_t", "api_ssize_t" tags. (main): Add config.h arg. Call parse_config_h. Fix substitute code. * src/Makefile.am (gpg-error.h): Pass config.h to mkheader. * src/gpg-error.h.in: Include definitions for gpgrt_ssize_t and gpgrt_off_t. Let mkheader insert ssize_t keywords. Chnage all off_t to gpgrt_off_t. * src/estream.c: Change all off_t to gpgrt_off_t. Chnage all ssize_t to gpgrt_ssize_t. * src/visibility.c (gpgrt_fseeko): Use gpgrt_off_t. (gpgrt_ftello): Ditto. (gpgrt_getline): Use gpgrt_ssize_t. (gpgrt_read_line): Ditto.
2014-09-08Post release updatesWerner Koch1-0/+4
--
2014-09-08Release 1.14.libgpg-error-1.14Werner Koch1-2/+2
* configure.ac: Set LT version to C12/A12/R0.
2014-08-26Add gpgrt_set_alloc_func.Werner Koch1-0/+1
* src/visibility.c (gpgrt_set_alloc_func): New. * configure.ac (_ESTREAM_PRINTF_REALLOC): Define. (_ESTREAM_PRINTF_EXTRA_INCLUDE): Define. * src/estream.c (mem_alloc, mem_realloc, mem_free): Simplify. (_gpgrt_free): Remove. * src/init.c (custom_realloc): New var. (_gpgrt_set_alloc_func): New. (_gpgrt_realloc, _gpgrt_malloc, _gpgrt_free): New. * src/visibility.h (gpg_err_deinit): Mark as visible.
2014-08-26Export missing init functions.Werner Koch1-0/+2
* src/gpg-error.h.in (gpgrt_init): New macro. (gpgrt_check_version): New prototype. * src/init.c (_gpg_err_init): Rename from gpg_err_init. (_gpg_err_deinit): Rename from gpg_err_deinit. * src/visibility.c (gpg_err_init): New. (gpg_err_deinit): New. (gpgrt_check_version): New. * src/gpg-error.vers (gpg_err_init, gpg_err_deinit): Add missing symbols. (gpgrt_check_version): New. * src/gpg-error.def.in (gpg_err_init, gpg_err_deinit): Add missing symbols. (gpgrt_check_version): New. * src/gpg-error.c (main): Use gpgrt_init macro.
2014-08-25Replace locking code in estream functions.Werner Koch1-3/+94
* src/posix-lock.c: Add weak program for pthread_mutex_trylock. (_gpgrt_lock_trylock): New. * src/w32-lock.c (_gpgrt_lock_init): Add missing return statement. (_gpgrt_lock_trylock): New. * src/visibility.c (gpgrt_set_syscall_clamp): New. (gpgrt_lock_trylock): New. (gpgrt_vsnprintf): Fix symbol name. * src/init.c (DllMain): Mark unused arg. * src/estream.c: Replace npth mutexes by our own locks. Replace yeild macro by _gpgrt_yield. (pre_syscall_func, post_syscall_func): New. (do_deinit): Clear both new vars. (es_func_fd_read, es_func_fd_write): Call pre and post syscall functions instead of the former SYSCALL macros. (es_func_w32_read, es_func_w32_write): Ditto. (es_func_fd_seek, es_func_w32_seek, es_func_fp_read) (es_func_fp_write, es_func_fp_seek, es_func_fp_destroy): Bracket syscalls with the pre- and post-syscall fucntions. (do_npth_read, do_npth_write): Remove. (_gpgrt_es_init): Remove call to mutex init. It is now statically initialized. (_gpgrt_set_syscall_clamp): New. (es_create): Destroy stream lock on error. (do_close): Destroy stream lock.
2014-06-10New error code GPG_ERR_KEY_DISABLED.Werner Koch1-0/+1
2014-04-15Post release updates.Werner Koch1-0/+7
--
2014-04-15Release 1.13.libgpg-error-1.13Werner Koch1-1/+2
* configure.ac: Set LT version to C11/A11/R0.
2014-01-24Make multi-threading flags available via gpg-error-config.Werner Koch1-1/+6
* m4/threadlib.m4: Set THREADLIB_CPPFLAGS. * src/gpg-error-config.in: Add option --mt. * configure.ac: Add support for the --mt option. * src/gpg-error.m4: Add ac_subst GPG_ERROR_MT_CFLAGS and GPG_ERROR_MT_LIBS. -- Although, libgpg-error does not yet provide an API for multi-thread support, it is useful to add the already available detection to the config script. This allows the latest Libgcrypt to take advantage of this in its regression tests. In particular for the regression tests a gpgrt_thread functions would be useful and eventually added to libgpg-error. The new gpg-error.m4 script should already be used by other packages to be prepared for future updates.
2014-01-16Add gpgrt_lock_ functions.Werner Koch1-1/+12
* src/gpg-error.h.in (GPGRT_LOCK_DEFINE): New. (gpgrt_lock_init): New. (gpgrt_lock_lock): New. (gpgrt_lock_unlock): New. (gpgrt_lock_destroy): New. (gpgrt_yield): New. * src/gpg-error.def.in: Add new functions. * m4/lock.m4, m4/threadlib.m4: New. Taken from current gnulib. * configure.ac: Call gl_LOCK. Check size of pthread_mutex_t. Add LIBTHREAD to GPG_ERROR_CONFIG_LIBS. * src/err-codes.h.in (GPG_ERR_INV_LOCK_OBJ): New. * src/gen-posix-lock-obj.c: New. * src/gen-w32-lock-obj.c: New. * src/lock.h, src/thread.h: New. * src/posix-lock-obj.h, src/w32-lock-obj.h: New. * src/posix-lock.c, src/w32-lock.c: New. * src/posix-thread.c, src/w32-thread.c: * src/w32-lock-obj-pub.in: New. * src/mkheader.c (include_file): Support build time include files. (write_special): Add keyword "include:lock-obj". * src/Makefile.am: (posix-lock-obj-pub.in): New rule. (noinst_PROGRAMS): Add gen-*-lock-obj helpers. * tests/t-common.h: New. * tests/t-lock.c: New. * tests/Makefile.am (t_lock_LDADD): Add new test. -- This patch introduces the gpgrt_ functions which will be extended over time to provide a library of commonly used code in GnuPG and Libgcrypt. Having them in a library named libgpg-error is a misnomer but this way we can achieve a smooth upgrade path. In contrasts to other GnuPG libraries, the gpgrt_ functions return a simple gpg_err_code_t and not gpg_error_t. The rationale for this is that a source of error identifier does not make sense here; it is better to use the source of error identifier of the caller. This can easily be achieved in a component by wrapping these function in a gpg_error macro/inline. There is no cross-compiling support for Posix platforms; the gen-posix-lock-obj tool must be run on the target system. Note that the gen-w32-lock-obj tool is not needed at build time but was used to figure out ABI definitions for Windows. Signed-off-by: Werner Koch <[email protected]>
2013-11-17Add GPG_ERR_MAC_ALGO.Werner Koch1-0/+5
2013-06-24Post release version bump.Werner Koch1-0/+3
--
2013-06-24Release 1.12.libgpg-error-1.12Werner Koch1-1/+5
* configure.ac: Set LT version to C10/A10/R0.
2013-04-11Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.Werner Koch1-0/+9
* src/err-codes.h.in (GPG_ERR_NO_CRYPT_CTX): New. (GPG_ERR_WRONG_CRYPT_CTX, GPG_ERR_BAD_CRYPT_CTX): New. (GPG_ERR_CRYPT_CTX_CONFLICT): New. (GPG_ERR_BROKEN_PUBKEY, GPG_ERR_BROKEN_SECKEY): New.
2013-02-25Post release vesion bump.Werner Koch1-0/+4
--
2013-02-25Release 1.11.libgpg-error-1.11Werner Koch1-3/+3
* configure.ac: Set LT version to C9/A9/R0. * Makefile.am (GITLOG_TO_CHANGELOG): New. (gen-ChangeLog): Use --tear-off. * build-aux/gitlog-to-changelog: Remove.
2013-02-23Add version macros and check function.Werner Koch1-1/+8
* configure.ac (VERSION_NUMBER): New ac_subst. (BUILD_FILEVERSION): Build on all platforms (BUILD_TIMESTAMP): Try to use an ISO string. * src/Makefile.am (extra-h.in): Add new version numbers. * src/versioninfo.rc.in: Update copyright year. * src/version.c: New. (gpg_error_check_version): New API. * src/gpg-error.h.in: Add gpg_error_check_version prototype. * src/gpg-error.def.in: Add gpg_error_check_version * tests/t-version.c: New. * tests/Makefile.am (TESTS): Add t-version.c * src/gpg-error-config.in: s/VERSION/PACKAGE_VERSION/. -- All other GnuPG libraries do this, thus we do it here as well.
2012-11-16Add new source id for Libassuan.Werner Koch1-0/+2
* src/err-sources.h.in (GPG_ERR_SOURCE_ASSUAN): New.
2011-08-23Add GPG_ERR_AMBIGUOUSWerner Koch1-0/+1
2011-08-23Add GPG_ERR_DUP_KEYWerner Koch1-0/+1
2011-02-01Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVEWerner Koch1-2/+4
2011-01-06Add GPG_ERR_NO_KEYSERVERWerner Koch1-0/+4
2010-10-26Post release updatesWerner Koch1-0/+5
2010-10-26Prepare 1.10libgpg-error-1.10Werner Koch1-1/+1
2010-10-20Fix for W32CE.Werner Koch1-0/+1
2010-09-16Fix initialization of static libsWerner Koch1-0/+1
2010-09-16Update pl.po.Werner Koch1-0/+1
Updated to gettext 0.1.17 Add a new error code.
2010-09-02Add new error code.Werner Koch1-0/+2
Remove comment cruft.
2010-08-19Require new GPG_ERR_ENABLE_ERRNO_MACROS define to include the strerrorWerner Koch1-0/+7
define.
2010-07-21Add gpg_err_deinitlibgpg-error-1.9Werner Koch1-1/+7
Prepare a new release.
2010-06-29UpdateWerner Koch1-0/+5
2010-05-06post release updatesWerner Koch1-0/+4
2010-05-06prepare a releaselibgpg-error-1.8Werner Koch1-3/+3
2010-01-18Fix w32ce strerror.Werner Koch1-0/+2
Fix non-w32ce dependency problem.
2010-01-18Add some code to build nativley under WindowsCE - not finished.Werner Koch1-3/+6
2009-10-16Add another error code.Werner Koch1-0/+1
2009-09-21Add a new erroro sourceWerner Koch1-0/+1
2009-07-23Add new code GPG_ERR_NOT_ENABLEDWerner Koch1-0/+1
2008-11-26Post release updates.Werner Koch1-0/+7
2008-11-26Preparing a release.libgpg-error-1.7Werner Koch1-1/+2