aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.17.libgpg-error-1.17Werner Koch2014-10-151-1/+3
| | | | * configure.ac: Set LT version to C13/A13/R0.
* Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending.Werner Koch2014-10-021-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.
* Add error codes for use by a TLS library.Werner Koch2014-09-291-2/+26
|
* Allow ./configure to explicitly set libgpg-error's build timestampDaniel Kahn Gillmor2014-09-241-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.)
* Add new error source GPG_ERR_SOURCE_TLS.Werner Koch2014-09-241-0/+6
|
* Post release updates.Werner Koch2014-09-181-0/+4
| | | | --
* Release 1.16.libgpg-error-1.16Werner Koch2014-09-181-1/+7
| | | | * configure.ac: Set LT version to C12/A12/R2.
* Post release updates.Werner Koch2014-09-111-0/+4
| | | | --
* Release 1.15.libgpg-error-1.15Werner Koch2014-09-111-1/+1
| | | | * configure.ac: Set LT version to C12/A12/R1.
* Fix problems with ssize_t and off_t.Werner Koch2014-09-111-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.
* Post release updatesWerner Koch2014-09-081-0/+4
| | | | --
* Release 1.14.libgpg-error-1.14Werner Koch2014-09-081-2/+2
| | | | * configure.ac: Set LT version to C12/A12/R0.
* Add gpgrt_set_alloc_func.Werner Koch2014-08-261-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.
* Export missing init functions.Werner Koch2014-08-261-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.
* Replace locking code in estream functions.Werner Koch2014-08-251-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.
* New error code GPG_ERR_KEY_DISABLED.Werner Koch2014-06-101-0/+1
|
* Post release updates.Werner Koch2014-04-151-0/+7
| | | | --
* Release 1.13.libgpg-error-1.13Werner Koch2014-04-151-1/+2
| | | | * configure.ac: Set LT version to C11/A11/R0.
* Make multi-threading flags available via gpg-error-config.Werner Koch2014-01-241-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.
* Add gpgrt_lock_ functions.Werner Koch2014-01-161-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]>
* Add GPG_ERR_MAC_ALGO.Werner Koch2013-11-171-0/+5
|
* Post release version bump.Werner Koch2013-06-241-0/+3
| | | | --
* Release 1.12.libgpg-error-1.12Werner Koch2013-06-241-1/+5
| | | | * configure.ac: Set LT version to C10/A10/R0.
* Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.Werner Koch2013-04-111-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.
* Post release vesion bump.Werner Koch2013-02-251-0/+4
| | | | --
* Release 1.11.libgpg-error-1.11Werner Koch2013-02-251-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.
* Add version macros and check function.Werner Koch2013-02-231-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.
* Add new source id for Libassuan.Werner Koch2012-11-161-0/+2
| | | | * src/err-sources.h.in (GPG_ERR_SOURCE_ASSUAN): New.
* Add GPG_ERR_AMBIGUOUSWerner Koch2011-08-231-0/+1
|
* Add GPG_ERR_DUP_KEYWerner Koch2011-08-231-0/+1
|
* Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVEWerner Koch2011-02-011-2/+4
|
* Add GPG_ERR_NO_KEYSERVERWerner Koch2011-01-061-0/+4
|
* Post release updatesWerner Koch2010-10-261-0/+5
|
* Prepare 1.10libgpg-error-1.10Werner Koch2010-10-261-1/+1
|
* Fix for W32CE.Werner Koch2010-10-201-0/+1
|
* Fix initialization of static libsWerner Koch2010-09-161-0/+1
|
* Update pl.po.Werner Koch2010-09-161-0/+1
| | | | | | Updated to gettext 0.1.17 Add a new error code.
* Add new error code.Werner Koch2010-09-021-0/+2
| | | | | Remove comment cruft.
* Require new GPG_ERR_ENABLE_ERRNO_MACROS define to include the strerrorWerner Koch2010-08-191-0/+7
| | | | | define.
* Add gpg_err_deinitlibgpg-error-1.9Werner Koch2010-07-211-1/+7
| | | | | Prepare a new release.
* UpdateWerner Koch2010-06-291-0/+5
|
* post release updatesWerner Koch2010-05-061-0/+4
|
* prepare a releaselibgpg-error-1.8Werner Koch2010-05-061-3/+3
|
* Fix w32ce strerror.Werner Koch2010-01-181-0/+2
| | | | | Fix non-w32ce dependency problem.
* Add some code to build nativley under WindowsCE - not finished.Werner Koch2010-01-181-3/+6
|
* Add another error code.Werner Koch2009-10-161-0/+1
|
* Add a new erroro sourceWerner Koch2009-09-211-0/+1
|
* Add new code GPG_ERR_NOT_ENABLEDWerner Koch2009-07-231-0/+1
|
* Post release updates.Werner Koch2008-11-261-0/+7
|
* Preparing a release.libgpg-error-1.7Werner Koch2008-11-261-1/+2
|