aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Post release updatesWerner Koch2016-06-152-1/+4
| | | | --
* Release 1.23libgpg-error-1.23Werner Koch2016-06-153-3/+12
|
* po: Auto-updateWerner Koch2016-06-1518-0/+54
| | | | --
* po: Update German translationWerner Koch2016-06-151-3/+4
|
* po: Update Polish translationJakub Bogusz2016-06-151-244/+95
|
* tests: Fix rare deadlock condition in t-poll.Werner Koch2016-06-151-3/+6
| | | | | | | | * tests/t-poll.c (launch_thread): Use es_fileno before starting the thread. -- GnuPG-bug-id: 2257
* estream: Fix assertion failure due to es_flush.NIIBE Yutaka2016-06-151-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | * src/estream.c (es_writen): Set writing flag even if no data was written. -- GnuPG-bug-id: 2371 Signed-off-by: Werner Koch <[email protected]> gniibe tracked the problem down to a fully valid change in GnuPG (gnupg commit 12af2630cf4d1a39179179925fac8f2cce7504ff). He wrote: This is the first instance for estream to do READ and WRITE (in the history of the code > 10 years :-). In the [gnupg] function agent_write_private_key, the pattern is: es_fopen es_fread es_fseek es_fwrite which should work well, but if results core dump by assertion failure in the function es_flush of libgpg-error.
* Adjust memory limit of es_fopenmem to the block size.Werner Koch2016-06-151-0/+8
| | | | | | | | | | * src/estream.c (func_mem_create): Round up memory limit. -- This is required so that giving a memory limit to es_fopenmem won't fail if it is below the block size. Signed-off-by: Werner Koch <[email protected]>
* Add GPG_ERR_SUBKEYS_EXP_OR_REV.Werner Koch2016-05-173-3/+18
|
* syscfg: Add a powerpc and a tilgegx architecture.Werner Koch2016-05-073-0/+50
| | | | | | | | | | * src/syscfg/lock-obj-pub.powerpc-unknown-linux-gnuspe.h: New. * src/syscfg/lock-obj-pub.tilegx-unknown-linux-gnu.h: New. * src/Makefile.am (lock_obj_pub): Add them. -- Debian-bug-id: 823630, 823631 Signed-off-by: Werner Koch <[email protected]>
* Post release updates.Werner Koch2016-04-252-1/+5
| | | | --
* Release 1.22.libgpg-error-1.22Werner Koch2016-04-257-62/+48
| | | | | | * configure.ac: Set LT version to C18/A18/R0. Signed-off-by: Werner Koch <[email protected]>
* po: Auto-updateWerner Koch2016-04-2517-0/+85
| | | | --
* po: Update German translation.Werner Koch2016-04-251-1/+4
| | | | --
* build: Update config.{guess,sub} to 2016-04-02 and 2016-03-30.Werner Koch2016-04-252-71/+112
| | | | | | | * build-aux/config.guess: Update. * build-aux/config.sub: Update. Signed-off-by: Werner Koch <[email protected]>
* Fix for HPPA.NIIBE Yutaka2016-04-253-4/+33
| | | | | | | | | | | | | | * configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): Revert. * src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Revert. * src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Revert. -- Signed-off-by: NIIBE Yutaka <[email protected]> This fixes commit 5168b97. I considered wrongly that long double were 128-bit in HPPA. Currently, all that we can do for HPPA is assuming GCC and use its extension of "aligned" attribute.
* syscfg: Add powerpc-unknown-linux-gnuspeWerner Koch2016-04-221-0/+1
| | | | --
* w32: Add iconv functions.Werner Koch2016-04-215-399/+134
| | | | | | | | | | | | * src/w32-add.h (gpgrt_w32_iconv_t): New. (gpgrt_w32_iconv_open, gpgrt_w32_iconv_close, gpgrt_w32_iconv): New. ( GPGRT_ENABLE_W32_ICONV_MACROS): New * src/w32-iconv.c: Change license to LGPLv2.1+. Dispable mlang feature. Remove external DLL loading. Simplify iconv functions. Use cleaner context struct pattern. Use gpgrt namespace. * src/gpg-error.def.in: Add new functions. Signed-off-by: Werner Koch <[email protected]>
* Add file w32-iconv.cWerner Koch2016-04-201-0/+2086
| | | | --
* estream,w32: Temporary fix for gpgrt_poll.Werner Koch2016-04-051-0/+4
| | | | | | | | | | | * src/estream.c (_gpgrt_poll) [W32]: Do not use FD_ISSET. -- gpgrt_poll return an error on Windows anyway and thus it does not make sense to use a possible undefined macro here. Reported-by: Andre Heinecke Signed-off-by: Werner Koch <[email protected]>
* estream: Prepare for new mode flag "sysopen".Werner Koch2016-03-291-14/+47
| | | | | | * src/estream.c (parse_mode): Add arg "sysopen". Adjust all callers. Signed-off-by: Werner Koch <[email protected]>
* estream: Use simpler names for static functions.Werner Koch2016-03-291-44/+44
| | | | | | * src/estream.c: Replace all es_func_* to just func_*. Signed-off-by: Werner Koch <[email protected]>
* doc: Re-format comments in estream.cWerner Koch2016-03-291-150/+311
| | | | | -- Signed-off-by: Werner Koch <[email protected]>
* estream: Remove strange macro for better readability.Werner Koch2016-03-291-15/+11
| | | | | | | * src/estream.c (SET_UNLESS_NONZERO): Remove macro. (es_deinitialize): Replace that macro by direct code. Signed-off-by: Werner Koch <[email protected]>
* Add function gpgrt_annotate_leaked_object.Peter Wu2016-03-242-0/+31
| | | | | | | | | | | | | | | | | | | | | | * src/gpg-error.h.in: add gpgrt_annotate_leaked_object to support marking memory as non-leaked for Clang and GCC. -- This annotation can be used to mark objects as explicitly leaked such that it can be ignored in tools like LeakSanitizer. The GPGRT_HAVE_LEAK_SANITIZER macro is explicitly not undefined to support -fsanitize=leak, a user or configure script could then decide to add this macro when just -fsanitize=leak is given. Signed-off-by: Peter Wu <[email protected]> Additional changes by -wk: - But __GNUC__ guard around the entire GPGRT_HAVE_LEAK_SANITIZER detection. - Add NEWS entry. Signed-off-by: Werner Koch <[email protected]>
* syscfg: Add lock-obj-pub files for {armv5, armv6, x86_64}-musl targetsKylie McClain2016-03-144-0/+74
| | | | | | | | | | | | | | | * src/syscfg/lock-obj-pub.armv5-unknown-linux-musleabi.h: New. * src/syscfg/lock-obj-pub.armv6-unknown-linux-musleabihf.h New. * src/syscfg/lock-obj-pub.x86_64-pc-linux-musl.h: New. * src/Makefile.am (lock_obj_pub): Add files. -- This patch adds three new precompiled lock-obj-pub files: - armv5-unknown-linux-musleabi - armv6-unknown-linux-musleabihf - x86_64-pc-linux-musl ChangeLog lines and Makefile patch by -wk
* Fix detecting Solaris operating system.NIIBE Yutaka2016-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | * src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check for the macro __sun. -- Signed-off-by: NIIBE Yutaka <[email protected]> This fixes commit 5168b97 and 34b0714. Thanks to Ibraheem Saleh and Thomas Klausner for testing. Thanks to Tom G. Christensen for suggesting the fix with the useful link: https://sourceforge.net/p/predef/wiki/Home/ Thanks to Nelson H. F. Beebe to inform the tool: http://www.math.utah.edu/~beebe/cc-defs GnuPG-bug-id: 2144
* For Solaris, add -lrt correctly.NIIBE Yutaka2016-03-031-5/+0
| | | | | | | | | | | | | | | | | | * configure.ac (LIB_SCHED_YIELD): Not avoiding defining LIB. -- This fixes commit 5168b97 for Solaris linking issue. It tried to add -lrt for build on Solaris for gpg-error, but it wrongly avoids adding it also to LIB, which actually is needed. Reported-by: Tom G. Christensen <[email protected]> Thanks also to Jörn Clausen, who submitted a report to our BTS. GnuPG-bug-id: 1671 Signed-off-by: NIIBE Yutaka <[email protected]>
* Fix for Solaris.NIIBE Yutaka2016-03-011-1/+1
| | | | | | | | | | * src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check LP64. -- Signed-off-by: NIIBE Yutaka <[email protected]> This fixes commit 5168b97.
* po: Update Japanese translationNIIBE Yutaka2016-02-261-2/+5
|
* Add support for Solaris, fixing HPPA.NIIBE Yutaka2016-02-263-33/+32
| | | | | | | | | | | | * configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): Remove. (LIB_SCHED_YIELD): New. Check sched_yield in -lrt. * src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Remove. (USE_DOUBLE_FOR_ALIGNMENT, USE_LONG_DOUBLE_FOR_ALIGNMENT): New. * src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Update. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Create an SWDB file during "make distcheck"Werner Koch2016-02-081-0/+14
| | | | | | | | | | | | * Makefile.am (distcheck-hook): New. -- The SWDB file is used to update the swdb.mac file from the gnupg-doc repo which is the source for https://gnupg.org/swdb.lst https://gnupg.org/swdb.lst.sig Signed-off-by: Werner Koch <[email protected]>
* w32: Confirm the 639-1 code for Venda is "ve"Daniel Kahn Gillmor2016-02-081-5/+1
| | | | | | | | | | | -- https://www.loc.gov/standards/iso639-2/php/code_changes.php says that ve is indeed the 2-character code for Venda: >> This alpha-2 ISO 639-1 code was approved in 1999 and included in >> ISO 639-1: 2002. It was mistakenly missing in earlier versions of >> the tables on the ISO639-2 web site. As of January 2003, it has >> been included.
* Convert http links to https where possible in the source.Daniel Kahn Gillmor2016-02-0851-63/+63
| | | | | | | | | | | | | | | | -- * use https for bug reporting * in comments and docs, use https to refer to: - www.gnu.org - creativecommons.org - translationproject.org - mail.gnome.org - www.perl.org - www.ctan.org - www.cl.cam.ac.uk - www.ntg.nl - cygwin.com - www.ethnologue.com
* Add syscfg alias for x86_64-pc-linux-gnuhardened1Werner Koch2016-01-271-0/+1
| | | | --
* Add GPG_ERR_DB_CORRUPTED.Werner Koch2016-01-193-2/+9
| | | | Signed-off-by: Werner Koch <[email protected]>
* Add new lock-obj-pub for NIOS2.Marek Vasut2016-01-132-0/+24
| | | | src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h: New.
* po: Update Japanese translationNIIBE Yutaka2015-12-141-10/+6
|
* Post release updates.Werner Koch2015-12-122-1/+5
| | | | --
* Release 1.21.libgpg-error-1.21Werner Koch2015-12-122-3/+5
| | | | * configure.ac: Set LT version to C17/A17/Ro.
* po: Auto update.Werner Koch2015-12-1218-0/+342
| | | | --
* po: Update Russian translationIneiev2015-12-121-232/+89
| | | | --
* po: Update German translationWerner Koch2015-12-121-1/+16
| | | | --
* Fix windows 8bit encoding conversionAndre Heinecke2015-12-071-5/+13
| | | | | | | | | | * src/w32-gettext.c (wchar_to_native): Convert to ConsoleOutputCP. -- Just using CP_ACP did not neccessarily convert to the correct codepage as codepages might differ between ConsoleOutput and GUI output (which it usually does). This fixes encoding issues on the Windows commandline.
* tests: Fix read past buffer.Justus Winter2015-12-031-1/+3
| | | | | | | | * tests/t-poll.c (test_poll): Fix read past buffer. -- Found using gcc and AddressSanitizer. Signed-off-by: Justus Winter <[email protected]>
* Fix typos found by codespell.Justus Winter2015-11-194-8/+8
| | | | | -- Signed-off-by: Justus Winter <[email protected]>
* Avoid 'malloc' corner case.Justus Winter2015-11-191-3/+3
| | | | | | | | | | | | | * src/init.c (_gpgrt_realloc): Avoid calling 'malloc(0)'. -- Previously, if '_gpgrt_realloc' was called with both A and N being zero, malloc is invoked with a size of zero. This happens e.g. when calling '_gpgrt_free' with a NULL pointer, which is supposed to be a no-op. Found using the Clang Static Analyzer. Signed-off-by: Justus Winter <[email protected]>
* Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE.Werner Koch2015-10-213-1/+17
|
* estream: Avoid calling write(fd,NULL,n).Werner Koch2015-10-182-20/+33
| | | | | | | | | | | | | | | * src/estream.c (es_func_fd_write): Take care of a flush requests. (es_func_w32_write): Ditto. (es_func_fp_write): Ditto. -- The write handlers may be called with (BUFFER,SIZE) of (NULL,0) to propagate flush events to user supplied functions (es_fopencookie). However we need to take care to also do this with the internal handler. Might be a reason for system faults due to write or fwrite with a NULL buffer; on Linux this seems to be harmless. Signed-off-by: Werner Koch <[email protected]>
* estream: Keep track of EPIPE.Werner Koch2015-09-281-4/+25
| | | | | | | | | * src/estream.c (_gpgrt_stream_internal): Add indicators.hup. (init_stream_obj): Init it. (es_fill, es_flush, es_seek): Set that. (_gpgrt_poll): Set event. Signed-off-by: Werner Koch <[email protected]>