aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.20.libgpg-error-1.20Werner Koch2015-08-264-65/+23
| | | | | | * configure.ac: Set LT version to C16/A16/R0. Signed-off-by: Werner Koch <[email protected]>
* Add new version macros.Werner Koch2015-08-261-6/+9
| | | | | | | | | | | | | * src/gpg-error.h.in (GPGRT_VERSION): New. (GPGRT_VERSION_NUMBER): New. (GPG_ERROR_VERSION, GPG_ERROR_VERSION_NUMBER): Move to top of file. -- Eventually we will have a gpgrt.h file instead of gpg-error. To make things easier we already provide suitable named version macros. Miving them to the top makes it easier to find the version. Signed-off-by: Werner Koch <[email protected]>
* Add macro GPGRT_INLINE and avoid -Wundef warningsWerner Koch2015-08-261-27/+28
| | | | | | | | | | | | * src/gpg-error.h.in (GPG_ERR_INLINE): Use #if defined for possible undefined macros to avoid warnign with GCC's -Wundef option. (GPGRT_INLINE): New. -- I still consider using -Wundef for regular building a bad behaviour because undefined macros have a well defined value in a cpp conditional. That warning is useful for debugging build problems but should not be used as standard warning option. Anyway, here is a fix.
* Update Ukrainian translationYuri Chornoivan2015-08-261-147/+88
|
* Update config.* et al scriptsWerner Koch2015-08-265-485/+266
| | | | --
* Make configure option --disable-build-timestamp the default.Werner Koch2015-08-251-9/+9
| | | | | | * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. Signed-off-by: Werner Koch <[email protected]>
* w32: Make sure the setmode is called.Werner Koch2015-08-251-1/+7
| | | | | | * src/estream.c (HAVE_DOSISH_SYSTEM): Define if needed. Signed-off-by: Werner Koch <[email protected]>
* Add option --lib-version to the gpg-error tool.Werner Koch2015-07-271-4/+14
| | | | * src/gpg-error.c (main): Add new option.
* Add new public macros for GCC attributes.Werner Koch2015-07-243-22/+116
| | | | | | | | | | * src/gpg-error.h.in (GPGRT_GCC_VERSION): New. (GPGRT_ATTR_NORETURN, GPGRT_ATTR_PRINTF, GPGRT_ATTR_NR_PRINTF): New. (GPGRT_ATTR_FORMAT_ARG, GPGRT_ATTR_SENTINEL): New. (GPGRT_ATTR_USED, GPGRT_ATTR_UNUSED, GPGRT_ATTR_DEPRECATED): New. (GPGRT_ATTR_PURE, GPGRT_ATTR_MALLOC): New. (GPGRT_HAVE_MACRO_FUNCTION, GPGRT_HAVE_PRAGMA_GCC_PUSH): New. (_GPGRT_GCC_A_PRINTF): Replace GPGRT_ATTR_PRINTF.
* Allow building with --disable-threads.Werner Koch2015-06-156-23/+80
| | | | | | | | | | | | | | | | | | | | * src/posix-lock-obj.h (LOCK_ABI_NOT_AVAILABLE): New. (LOCK_ABI_VERSION): Define depending on USE_POSIX_THREADS. (_gpgrt_lock_t) [!USE_POSIX_THREADS]: Do not define the union. * src/gen-posix-lock-obj.c: Take care of USE_POSIX_THREADS. * src/posix-lock.c (_gpgrt_lock_init, _gpgrt_lock_lock) (_gpgrt_lock_trylock, _gpgrt_lock_unlock) (_gpgrt_lock_destroy): Return success for a no-threads version. * tests/t-lock.c: Disable tests if threads are not available. * src/mkheader.c (main): Add NO-THREADS to the printed comment. * configure.ac: Show NO-TRHEADS in the final summary. -- Warning: Using --disable-threads creates a different ABI which we can't encode in the the cpu-vendor-os triplet. The run time checks should detect this and abort the process. Signed-off-by: Werner Koch <[email protected]>
* po: Update Japanese translation.NIIBE Yutaka2015-04-141-253/+110
|
* Post release updates.Werner Koch2015-04-102-1/+5
| | | | --
* Release 1.19.libgpg-error-1.19Werner Koch2015-04-102-3/+7
|
* po: Auto update.Werner Koch2015-04-1018-0/+6833
| | | | --
* po: Update German translationWerner Koch2015-04-101-2/+262
|
* Changed LDAP error strings.Werner Koch2015-04-101-78/+78
| | | | --
* w32: Remove compiler warnings.Werner Koch2015-04-104-82/+23
| | | | | | | | | | | | | | * src/Makefile.am (pre_mkheader_cmds): Avoid make diagnostic about failed but ignored command. This confuses Emacs' compiler job parser. * tests/t-lock.c [W32]: Include time.h. * src/init.c: Reorganize Windows only code. (wchar_to_utf8, utf8_to_wchar): Remove unused functions. (_gpg_err_set_errno): Use only one copy for all platforms. -- Note that there is a still a problem for W64 pertaining to the use of an int to store a HANDLE. This will be fixed when we add a full abstraction layer for Windows file objects.
* Use assert to print diagnosicts before calling abort.Werner Koch2015-03-241-4/+17
| | | | | | * src/posix-lock.c: Add assert calls. Signed-off-by: Werner Koch <[email protected]>
* po: Update Czech translationPetr Písař2015-03-241-85/+41
| | | | | | -- Forwarded: http://lists.gnupg.org/pipermail/ \ gnupg-i18n/2014-November/000348.html
* Avoid breakage with gcc 5Daniel Kahn Gillmor2015-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am: Add -P to the C preprocessor when building mkerrcodes.h, to avoid a noisy intermediate pipeline. -- With gcc 5 without this patch, we see many errors like the following: gcc -I. -I. -o mkerrcodes ./mkerrcodes.c In file included from ./mkerrcodes.c:26:0: ./mkerrcodes.h:9:5: error: expected expression before ‘,’ token { , "GPG_ERR_E2BIG" }, ^ ./mkerrcodes.h:10:5: error: expected expression before ‘,’ token { , "GPG_ERR_EACCES" }, ^ This patch cleans up the generated mkerrcodes.h by making the intermediate stage clean for all the versions of gcc i tested (4.x and 5). Debian-Bug-Id: 777374 Signed-Off-By: Daniel Kahn Gillmor <[email protected]>
* Add option --defines to gpg-error.Werner Koch2015-03-191-17/+75
| | | | | | * src/gpg-error.c (main): Add option --help and --defines. Signed-off-by: Werner Koch <[email protected]>
* Add GPG_ERR_LDAP_* error codes.Werner Koch2015-03-194-2/+320
| | | | | | | * src/err-codes.h.in: Add error codes. * doc/ldap2gpgerr.c: New. Signed-off-by: Werner Koch <[email protected]>
* Remove useless conditions.Werner Koch2015-03-162-7/+4
| | | | | | | | * src/estream.c (fname_set_internal): Remove useless condition. * src/mkheader.c (main): Ditto. -- Detected by Stack 0.3.
* Add host-triplet aliasing feature to mkheader.Werner Koch2015-03-064-8/+51
| | | | | | | | | | | | | | * src/Makefile.am (lock_obj_pub): Rename i586-pc-linux-gnu to i686-pc-linux-gnu. Remove i486-pc-linux-gnu. * src/mkheader.c (canon_host_triplet): New. (main): Use it. -- config.sub does not map i{4,5,6}86-pc-linux-gnu to one common triplet. However, they all use the same ABI and thus we do not need several versions of the syscfg files. Signed-off-by: Werner Koch <[email protected]>
* w32: Add a manifest to libgpg-error.Werner Koch2015-03-064-5/+26
| | | | | | | | | | | * src/gpg-error.w32-manifest.in: New. * src/Makefile.am (EXTRA_DIST): Add it. (versioninfo.lo): Depend on it. * src/versioninfo.rc.in: Add it. * configure.ac (AC_CONFIG_FILES): Add it. (BUILD_VERSION): New. Signed-off-by: Werner Koch <[email protected]>
* Correct URL.Neal H. Walfield2015-02-181-1/+1
|
* w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.Werner Koch2015-01-301-1/+9
| | | | | | | | | | | | | | | | | * src/Makefile.am (extra_ltoptions): New. (libgpg_error_la_LDFLAGS): Use it. -- Since gcc 4.8 there is a regression in that plain C programs may link to libgcc_s.a which has a dependency on libgcc_s_sjlj.dll. This is for example triggered by using long long arithmetic on a 32 bit Windows (e.g symbol __udivdi3). As usual the gcc maintainers don't care about backward compatibility and declare that as some kind of compatibility fix and not as regression from 4.7 and all earlier versions. Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2015-01-262-1/+8
| | | | --
* Release 1.18.libgpg-error-1.18Werner Koch2015-01-262-3/+8
| | | | * configure.ac: Set LT version to C14/A14/R0.
* po: Auto updateWerner Koch2015-01-2618-41/+778
| | | | --
* po: Update German translationWerner Koch2015-01-261-50/+43
|
* Update copyright notices.Werner Koch2015-01-265-4/+7
| | | | --
* po: Add Hungarian translationBalázs Úr2015-01-262-0/+801
| | | | | | | -- Taken from http://translationproject.org/latest/libgpg-error/hu.po
* po: Add Portuguese translationPaulo Tomé2015-01-262-0/+954
| | | | | | -- Debian-Bug-Id: 770983
* po: Add Russian translationIneiev2015-01-262-0/+952
| | | | --
* po: Update Italian translationMilo Casagrande2015-01-261-122/+59
| | | | --
* po: Update Dutch translationFreek de Kruijf2015-01-261-86/+42
| | | | --
* po: Update Danish translationJoe Dalton2015-01-261-52/+29
| | | | | -- Proofread-By: Aputsiaĸ Niels Janussen
* po: Update Ukrainian translationWerner Koch2015-01-261-78/+55
| | | | --
* po: Add new Chinese traditional translationWerner Koch2015-01-262-0/+956
| | | | --
* Add GPG_ERR_LEGACY_KEY.Werner Koch2015-01-223-6/+11
|
* Avoid false warning about uninitialized var.Werner Koch2015-01-051-1/+1
| | | | * src/gpg-error.c (get_err_from_str): Init SAVED_CHAR.
* build: Update to gettext 0.19.Werner Koch2015-01-0514-1125/+1655
| | | | | * po/Makefile.in.in (MSGMERGE): Remove --previous. * po/Makevars (MSGMERGE_OPTIONS): Add --previous.
* build: Require automake 1.14.Werner Koch2015-01-053-13/+11
| | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. * tests/Makefile.am (INCLUDES): Replace by AM_CPPFLAGS. Signed-off-by: Werner Koch <[email protected]>
* Add GPG_ERR_REQUEST_TOO_SHORT and GPG_ERR_REQUEST_TOO_LONG.Werner Koch2014-12-283-2/+14
|
* Fix commit 754a987.Werner Koch2014-12-152-3/+3
| | | | | | | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New. (AUTOMAKE_OPTIONS): Move options to ... * configure.ac (AM_INIT_AUTOMAKE): .. here. (BUILD_DOC): Fix commit 754a987.
* Add configure option --disable-docWerner Koch2014-12-152-3/+16
| | | | | | | | | | | | * Makefile.am (doc) [!BUILD_DOC]: Do not recurse into doc/. * configure.ac (BUILD_DOC): New am_conditional and new option. -- We have this option already for GnuPG and should use it for all projects. Embedded platforms usually do not require documentation and being able to disable the building avoids a lot of build dependencies. Suggested-by: Hans-Christoph Steiner <[email protected]>
* Add GPG_ERR_OBJ_TERM_STATE.Werner Koch2014-12-153-7/+13
|
* Add GPG_ERR_FORBIDDEN.Werner Koch2014-12-033-2/+9
|
* po: Add Serbian translation.Мирослав Николић2014-11-262-0/+799
|