2019-03-19  Werner Koch  <wk@gnupg.org>

	Release 1.36.
	+ commit 85f427fd28ae5947277ba02dffc83c53d9da2591
	* configure.ac: Bump LT version to C27/A27/R0.

	estream: Increase buffer size for Windows.
	+ commit e4f460d8e338d6866a6ab457dcd811c63399706a
	* src/gpgrt-int.h (BUFFER_BLOCK_SIZE) [W32]: Increase from 512 to 8k.
	* src/w32-estream.c (READBUF_SIZE, WRITEBUF_SIZE): Increase from 4k to
	8k.

2019-02-04  Werner Koch  <wk@gnupg.org>

	build: Fix for Microsoft MSVC.
	+ commit 21dd885eecdee13da1689519e2fc50fcf64f6ef2
	* src/gpgrt-int.h (_gpgrt_functions_w32_pollable): Declare with extern
	so that strict toolchains don't get confused.

2019-01-23  NIIBE Yutaka  <gniibe@fsij.org>

	gpgscm: Build well even if NDEBUG defined.
	+ commit 8a9397896fd202dcfb3fb46259e43bc05a0ddd2e
	* gpgscm/scheme.c (gc_reservation_failure): Fix adding ";".
	[!NDEBUG] (scheme_init_custom_alloc): Don't init seserved_lineno.

2019-01-16  Werner Koch  <wk@gnupg.org>

	Release 1.34.
	+ commit 8bc75741cadf95e2fac64891cf402cde891afe64
	* configure.ac: Bump LT version to C26/A26/R0.

	build: Fix regression in make distcheck.
	+ commit 5d2b20a04b526d090a2328bd79bc3a76ced327dc
	* doc/Makefile.am (errorref.txt.x):

2019-01-15  NIIBE Yutaka  <gniibe@fsij.org>

	build: Fix for BSD make.
	+ commit fd6f64f1897e00b1d9711463ebb6ec7d099e1995
	* doc/Makefile.am (errorref.txt.x): Don't use $<.

2019-01-14  Andre Heinecke  <aheinecke@gnupg.org>

	Fix symbol name typo in gpg-error.def.in.
	+ commit 51ea153871b79799f88b85f6b60c2b0a3bbd6a12
	* src/gpg-error.def.in (gogrt_abort): Correct to gpgrt_abort.

2019-01-10  NIIBE Yutaka  <gniibe@fsij.org>

	build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2).
	+ commit 1fd997231b717853822dff9d3e981d95765f323d
	* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
	* tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
	(t_lock_LDADD, t_poll_LDADD): Use LDADD.

	build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2).
	+ commit 1044ee639dab7260da481250cd2a46a69ab2b5d3
	* configure.ac: Check against --disable-new-dtags.

2019-01-04  Werner Koch  <wk@gnupg.org>

	core: New functions gpgrt_abort and gpgrt_add_emergency_cleanup.
	+ commit 933bfd7b652a907c0d8dd5337c6b5b9cb82ce7b7
	* src/init.c (emergency_cleanup_list): New gloabl var.
	(_gpgrt_add_emergency_cleanup): New.
	(_gpgrt_abort): New. Repalce all calls to abort by this.  Also replace
	all assert by either log_assert or a stderr output followed by a
	_gpgrt_abort.
	(run_emergency_cleanup): New.
	* src/visibility.c (gpgrt_add_emergency_cleanup): New public API.
	(gpgrt_abort): New public API.

2018-12-12  Werner Koch  <wk@gnupg.org>

	estream: Use correct POSIX name THOUSEP.
	+ commit 12349de46d241cfbadbdf99773d6cabfcbc97578
	* src/estream-printf.c: Replace HAVE_LANGINFO_THOUSANDS_SEP by
	HAVE_LANGINFO_THOUSEP.
	(pr_integer): Use THOUSEP.

2018-12-11  Alistair Francis  <Alistair.Francis@wdc.com>

	syscfg: Add a riscv32 architecture.
	+ commit 27ded21fea2a6f1fc161a91744014cce711ad1b3
	* src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h: New.
	* src/Makefile.am (lock_obj_pub): Add it.

2018-12-10  NIIBE Yutaka  <gniibe@fsij.org>

	gpgrt-config: Portability fix for use of expr.
	+ commit 1d71dbb13709318567aba5b61928d8af37563097
	* src/gpgrt-config (sysroot): Care about possible interpretation of
	minus sign be considered an option to a program.
	(MAIN): Don't use 'match' of expr but use ':' instead.

2018-12-07  Werner Koch  <wk@gnupg.org>

	Silence cc warning about snprintf redefinition.
	+ commit 60f3d4440249d7beec3390df66143204ea80be39
	* src/gpgrt-int.h: First undef snprintf.

	Release 1.33.
	+ commit 174985d91ff277bd4a58a0de3d61fbbb46841cde
	* configure.ac: Set LT version to C25/A25/R0.

	Add W32-only function gpgrt_w32_override_locale.
	+ commit 0b190ce89de7b3df873c3896d5126c7882b82e18
	* src/w32-gettext.c (struct override_locale): new.
	(my_nl_locale_name): Take care of that.
	(gpgrt_w32_override_locale): New.
	* src/gpg-error.def.in: Add gpgrt_w32_override_locale.
	* src/gpg-error.c: New command --locale for Windows.

2018-12-06  Werner Koch  <wk@gnupg.org>

	logging: Escape controls in string arguments of log_ functions.
	+ commit b7fae45c24cccb9898c6d5a3a633897afb4649dc
	* src/logging.c (struct fmt_string_filter_s): New.
	(fmt_string_filter): New.
	(_gpgrt_logv_internal): Use the filter.

2018-12-05  Werner Koch  <wk@gnupg.org>

	core: Allow logging to an estream.
	+ commit f4d139b399e1e5044fe6bb0ceecd4c72e63dac94
	* src/logging.c (set_file_fd): Add and use new arg 'stream'.
	(_gpgrt_log_set_sink): Implement setting an estream sink.
	* tests/t-logging.c: New test.
	* tests/Makefile.am (TESTS): Add test.

	tests: Check print arguments of t-common functions.
	+ commit 793838fd859afd837df070ee2e75c100e932b220
	* tests/t-common.h: Include gpgrt.h  instead of gpg-error.h.
	(die, fail, show): Add printf attributes.

2018-12-05  Marcus Brinkmann  <marcus.brinkmann@rub.de>

	Fix gpgrt_ftruncate declaration.
	+ commit 34d6637a34b139fbfafa6c15eaf2fc88158a1c3c


2018-11-26  Werner Koch  <wk@gnupg.org>

	core: New functions gpgrt_fprintf_sf anf gpgrt_fprintf_sf_unlocked.
	+ commit bd8668c120ac0f725edb092b2c4ca49ffdb78ed2
	* src/gpg-error.h.in (gpgrt_string_filter_t): New type.
	(gpgrt_fprintf_sf, gpgrt_fprintf_sf_unlocked): New.
	* src/gpg-error.vers, src/gpg-error.def.in: Add them.
	* src/visibility.c (gpgrt_fprintf_sf): New.
	(gpgrt_fprintf_sf_unlocked): New.
	* src/estream-printf.c (pr_string): Add and use args sf, sfvalue and
	string_no.
	(do_format): Add args sf and sfvalue.  Keep a string format counter.
	(_gpgrt_estream_format): Add args sf and sfvalue.  Change all callers
	to provide NULL for them.
	* src/estream.c (_gpgrt_vfprintf_unlocked, _gpgrt_vfprintf): Add sf
	and sfvalue and adjust all callers.
	(do_print_stream): Ditto.

	* tests/t-printf.c (stream_to_string): New.
	(struct sfstate_s): New.
	(string_filter): New.
	(check_fprintf_sf): New.
	(main): Call new test.

	core: Add a limited version of gpgrt_ftruncate.
	+ commit ffb49b72f132d954a3d9fa11e45803c36a62fd25
	* src/gpg-error.h.in (gpgrt_ftruncate, es_ftruncate): New.
	* src/gpg-error.def.in, src/gpg-error.vers: Add gpgrt_ftruncate.
	* src/visibility.c (gpgrt_ftruncate): new.
	* src/gpgrt-int.h (COOKIE_IOCTL_TRUNCATE): New.
	* src/estream.c (func_mem_ioctl): Support new internal IOCTL.
	(_gpgrt_ftruncate): New.

2018-11-15  Werner Koch  <wk@gnupg.org>

	core: New API gpgrt_cmp_version.
	+ commit a5d4a4b32b11814d673241d62624ecec1d577571
	* src/gpg-error.h.in: New API gpgrt_cmp_version.
	* src/visibility.c (gpgrt_cmp_version): New wrapper.
	* src/version.c (parse_version_string): Revamped.
	(do_cmp_version): New.
	(_gpgrt_cmp_version): New.
	(_gpg_error_check_version): Re-implemented using the new func.
	* tests/t-version.c: Include t-common.h.
	(t_gpgrt_cmp_version): New test.
	(main): Run new test.  Change test for new version number to require a
	2 level number.

2018-11-14  NIIBE Yutaka  <gniibe@fsij.org>

	gpgrt-config: Prepend PKG_CONFIG_LIBDIR to PKG_CONFIG_PATH.
	+ commit 4a92763a6e529824f1c6043b75ac1346af41a926
	* src/gpgrt-config: Handle empty PKG_CONFIG_LIBDIR config, which
	should ignore --libdir option.  Otherwise, prepend
	PKG_CONFIG_LIBDIR (instead of appending) to PKG_CONFIG_PATH.

2018-11-13  NIIBE Yutaka  <gniibe@fsij.org>

	Fix typo in the annotation.
	+ commit 4b41cf3bd16c8afcb4ba152ab9d5d679a7cb91e7
	* src/init.c [DLL_EXPORT] (DllMain): Fix typo.

	gpgrt.m4: Don't support --with-*-prefix or SYSROOT.
	+ commit 8ed48537de2b141a8f2050b15a65775374f1aa79
	* src/gpgrt.m4: Remove old backward compatible support.

2018-11-07  NIIBE Yutaka  <gniibe@fsij.org>

	Fix a typo.
	+ commit b39b44b9acbed6d4889acba4fe9eae2556c80acc
	* src/spawn-w32.c (src/spawn-w32.c): Fix to use pid_to_handle.

2018-11-02  NIIBE Yutaka  <gniibe@fsij.org>

	gpgrt-config: Don't support variable reference in --libdir option.
	+ commit 78af09ce13969b64f121ae5990e66fb7f1cd3f1d
	* src/gpgrt-config: Simplify --libdir support, remove variable
	substituion.
	* src/gpg-error.m4: Expand possible ${prefix}, ${exec_prefix} in
	libdir.  Simplify invocation of gpgrt-config.
	* src/gpgrt.m4: Likewise.

	gpg-error.m4: Emit message when using gpgrt-config.
	+ commit 42413de59a063def05620d899a7fbda265b6c406
	* src/gpg-error.m4: Add AC_MSG_NOTICE.

	gpg-error.m4: Find gpgrt_libdir by CC.
	+ commit 7ffd88b0e98af21aa61a57dde042d75f0d403839
	* src/gpg-error.m4 (gpgrt_libdir): New.  Bump the version date.
	* src/gpgrt.m4: Likewise.

2018-11-01  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error.m4: Unset GPGRT_CONFIG when gpgrt-config doesn't work.
	+ commit 8f034bb3a1bbde2fc7a8d2ada6e3d779c465895b
	* src/gpg-error.m4: Unset GPGRT_CONFIG when gpgrt-config doesn't work.

	gpgrt-config: It's distributed script.
	+ commit 998313bd321ae161ec58111ccc6c6f0921007bc5
	* src/Makefile.am (dist_bin_SCRIPTS): Add gpgrt-config.
	(bin_SCRIPTS): Remove gpgrt-config.

2018-10-31  Andre Heinecke  <aheinecke@intevation.de>

	w32: Remove cruft in w32-estream from olden times.
	+ commit 5b898b8bc89c18e2fd02e6c9efd5e91cb96357cc
	* src/w32-io.c (set_synchronize): Remove.
	(create_reader, create_writer): No need for set_synchronize.

2018-10-31  NIIBE Yutaka  <gniibe@fsij.org>

	gpgrt-config: Fix typo in the script.
	+ commit 2e9ee747ac81434ca542291287eb56c9025f0a39
	* src/gpgrt-config: Add missing $ for libdir_option.

2018-10-29  NIIBE Yutaka  <gniibe@fsij.org>

	gpgrt-config: Better architecture independent support.
	+ commit 93d45f7e7e937020c796781705516a4b62e6589a
	* configure.ac: Don't generate gpgrt-config.
	* src/gpgrt-config: Rename from gpgrt-config.in.
	(--prefix, --exec-prefix, --libdir): Use --libdir to determine
	PKG_CONFIG_LIBDIR.
	* src/Makefile.am (EXTRA_DIST): Remove gpgrt-config.in.
	* src/gpg-error-config-test.sh: Fix for path to gpgrt-config.
	* src/gpg-error.m4: Provide --prefix, --exec-prefix, --libdir
	option from configure.  Don't use CC because we have --libdir.
	Bump version date.
	* src/gpgrt.m4: Likewise.

2018-10-27  Ben Kibbey  <bjk@luxsci.net>

	b64dec: Fix to use custom memory handlers.
	+ commit b229ed40e2653bd3eabaa6931cd8582280a226d7
	* src/b64dec.c (_gpgrt_b64dec_finish): Use xfree().

2018-10-26  NIIBE Yutaka  <gniibe@fsij.org>

	gpgrt-config: Clean up the implementation.
	+ commit aec676c9ca2da4feb2970f6ce036179afe778b25
	* src/gpgrt-config.in: Fix copyright notice.
	(--exists): Support new option of pkg-config.
	(--mt): Relax usage.
	(--api-version): Support old option.
	(default_module): New.
	(usage): Only show pkg-config compatible options.

	gpg-error.m4: Better backward compatibility support.
	+ commit 1096ff770b3d5cc58f423b129cc5d83731398dd9
	* src/gpg-error.m4: Don't assume newer implementation of
	gpg-error-config.  Use old way when it found old.

2018-10-25  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error-config: Keep old gpg-error-config implementation.
	+ commit ffbff048bde636e3ec19f2912fa4034e70e18f44
	* configure.ac: Generate gpgrt-config from gpgrt-config.in.
	* src/gpgrt-config.in: Rename from src/gpg-error-config-new.in.
	* src/Makefile.am (bin_SCRIPTS): Add gpgrt-config.
	(EXTRA_DIST): Add gpgrt-config.in removing gpg-error-config-new.in.
	(BUILT_SOURCES, CLEANFILES): Remove gpgrt-config.
	(gpg-error-config): Always copy from gpg-error-config-old.
	* src/gpg-error-config-test.sh: Follow the rename.

	build: Set GPGRT_CONFIG in gpg-error.m4.
	+ commit e06af32bdde0b4ce8c97193472961f31c5b55ddf
	* src/gpg-error.m4: Detect gpgrt-config to set GPGRT_CONFIG.

	build: Update gpg-error.m4 and gpgrt.m4.
	+ commit abc641f27cf712dec572b6629552b6a6f0b7af27
	* src/gpg-error.m4: Bump version date.
	(min_gpg_error_version): Require >= 1.33, if not specified.
	(gpg_error_config_args): Remove bogus uses.
	* src/gpgrt.m4: Bump version date.
	(libgpgrt-prefix): Add support of --with-libgpgrt-prefix option.
	(gpgrt-config): Search/call gpgrt-config instead of gpg-error-config.
	(min_gpgrt_version): Require >= 1.33, if not specified.
	(gpgrt_config_args): Remove bogus uses.

2018-10-24  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error-config: Fix previous commit.
	+ commit 184c22bea37d2bee3885ef96c1a3664361b02912


	gpg-error-config: Old gpg-error-config support --modversion.
	+ commit 6d8b1e958ca96b366daac38e7084f999d252a9f8
	* src/gpg-error-config.in: Support --modversion.

	gpg-error-config: Get var/attr from the first package.
	+ commit 7b81ec272b0c54ac893c09be4715b76e84c27b23
	* src/gpg-error-config-new.in: Only get it from the first.

2018-10-23  NIIBE Yutaka  <gniibe@fsij.org>

	build: Fix permission.
	+ commit 25ea85066cf100e3381f7f7b2d8858a7dfcea480
	* build-aux/config.guess: Chmod +x.
	* build-aux/config.sub: Chmod +x.

	build: Fix detecting build on multiarch environment.
	+ commit 00e955558c66f80acad9225d2eae82459d87dc54
	* configure.ac: Rough match by shell pattern.

	build: Supply CC to invoke gpg-error-config.
	+ commit f575b2fd3f733d78fb61b04805ea63ce65d89e19
	* src/gpg-error.m4: Add CC when invoking gpg-error-config.
	* src/gpgrt.m4: Likewise.

	gpg-error-config: Fix cross build support.
	+ commit 40e22c774afebca23fdaa6dec2b8698572501c32
	* configure.ac: Fix regexp matching multiarch environment.
	* src/gpg-error-config-new.in: Support standard cross build.
	Handle the case where $multiarch != $triplet.

2018-10-22  NIIBE Yutaka  <gniibe@fsij.org>

	yat2m: Avoid compiler warnings.
	+ commit 12b834ba59ae2f3cd0568e4cfa1dca47fc41269a
	* doc/yat2m.c (isodatestring): Prepare enough buffer.

	gpg-error-config: Support "auto", architecture independent script.
	+ commit 91bcb2c7d824de50c7dfedd4490e515ddb5dfc5a
	* configure.ac (pkg_config_libdir): Set it "auto" when it looks
	multiarch environment.
	* src/gpg-error-config-new.in: Automatically detects the triplet.

	build: Update config.{guess,sub} to {2018-08-29,2018-08-29}.
	+ commit 6d2e0546d50a0d4511fb7167566bfd0058a68f38
	* build-aux/config.guess: Update.
	* build-aux/config.sub: Update.

2018-10-19  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	build-aux: use https instead of http.
	+ commit e99480affa595702595e59333aca96ab28389d34


2018-10-17  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error-config: Fix PKG_CONFIG_LIBDIR support.
	+ commit d8cf57c35d4627fa28588d6ec385fcffbc5a01a0
	* configure.ac (pkg_config_libdir): New.
	* src/gpg-error-config-new.in: Use pkg_config_libdir.

2018-10-16  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error-config: Support PKG_CONFIG_LIBDIR.
	+ commit e9566da20cf9428e3094cbd63277ea2179459232
	* src/gpg-error-config-new.in: Use PKG_CONFIG_LIBDIR if specified.

2018-10-12  Wookey  <wookey@debian.org>
	    Wookey  <wookey@debian.org>

	syscfg: Add support for arm64ilp32.
	+ commit a3f4e8838036a14e87cca811e40c9f670f152fcd
	* src/syscfg/lock-obj-pub.aarch64-unknown-linux-gnu_ilp32.h: New.
	* src/Makefile.am (lock_obj_pub): Add it.

2018-10-10  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error-config: Fix the place of *.pc (for multilib).
	+ commit 9f71b28dcb38e1d5d9001692e2f64009396aaf9b
	* src/Makefile.am (pkgconfigdir): It should be under libdir.
	* src/gpg-error-config-new.in: Likewise.

	gpg-error-config: Add PKG_CONFIG_SYSROOT_DIR support.
	+ commit 6167f3c461a4e53ccc5af620cdbfa28bfa9234f5
	* src/gpg-error-config-new.in (sysroot): New function.
	(want_cflags, want_libs): Use sysroot.
	* src/gpg-error-config-test.sh: Test with PKG_CONFIG_SYSROOT_DIR.

2018-09-21  Werner Koch  <wk@gnupg.org>

	syscfg: Add support for arc-unknown-linux-gnu.
	+ commit f4f0da74f526d7e35cedbc2e93454df6440dbfa5
	* src/mkheader.c (canon_host_triplet): Add to table.

	core: Make cross building in mkheader more explicit.
	+ commit b371e3ca906e6a4db31900d419ddc2b21bed1ea3
	* src/mkheader.c (main): Add option --cross.
	(write_special): Don't use native in cross mode.
	* src/Makefile.am (mkheader_opts): New.
	(gpg-error.h): Add MKHEADER_OPTS.

	core: Simplify calling convention of mkheader.
	+ commit 3fc4ce49b23a364a1cf255c8e9e259047206e1e8
	* src/Makefile.am (gpg-error.h): Remove HOST_OS from mkheader call.
	* src/mkheader.c (canon_host_triplet): Add return arg r_os.
	(main): Remove first arg and derive host_os from host_triplet.

2018-09-20  NIIBE Yutaka  <gniibe@fsij.org>

	src: Fix portability for echo.
	+ commit 15309d0fb4c78f8de9bc5dea7d0f8b7468a957b4
	* src/Makefile.am: Use ECHO_N and ECHO_C.

	gpg-error-config: Remove white space for the output by old.
	+ commit d510f38ccbc715faa8e07828bf6acd8e9b9a0658
	* src/gpg-error-config-test.sh: Remove white spaces at the
	end or at the beginning.

	gpg-error-config: Use expr to remove var in expression.
	+ commit a338801aa4bac9a3551729598bcb0ca41882cdb9
	* src/gpg-error-config-new.in (remove_var_expr): Use expr.

	gpg-error-config: Fix a variable name for zsh.
	+ commit 4c2601a95f06efd352ad407add71a7ea6bab8152
	* src/gpg-error-config-new.in (module_list): Rename from modules.

	gpg-error-config: Don't use local variables.
	+ commit 5731ad6377abcd3d36fd6aa59923a640b25b589b
	* src/gpg-error-config-new.in: Use global variables only.

	gpg-error-config: Avoid more space char.
	+ commit 95ab4d037ce2b69754c0542949bf7d9d2467d96b
	* src/gpg-error-config-new.in: Don't put more space.

2018-09-19  NIIBE Yutaka  <gniibe@fsij.org>

	src: Fix Makefile for BSD make.
	+ commit 144f4b3df5200ce056f00e20420cde77eb1f673d
	* src/Makefile.am (BUILT_SOURCES): Add srcdir to err-sources.h and
	err-codes.h.
	(CLEANFILES): Move err-sources.h and err-codes.h to...
	(MAINTAINERCLEANFILES): ... this new target.
	(gpg_error_LDADD): Remove ./ to generate libgpg-error.la.

	Accept pkgconf difference for spaces.
	+ commit 5564efac95e9546af948fc13c90584264b322950
	* src/gpg-error-config-test.sh (OUTPUT_OLD): Use shell
	and echo to remove spaces.

2018-09-18  Werner Koch  <wk@gnupg.org>

	syscfg: Support ARC CPUs and simplify aliasing table.
	+ commit 48c8f8ddfc80551db7615e1eb3555c1dc3f6a657
	* src/mkheader.c (xmalloc): New.
	(xstrdup): Implement using xmalloc.
	(canon_host_triplet): Add supporr for arc CPU.  Adjust alias table to
	also alias *-pc-*.  Rename ibm to unknown. Add internal arg.  Add
	unknown vendor hack.
	(main): New mode to just print the canonicalized form.
	* src/Makefile.am (lock_obj_pub): s/-(pc|ibm)-/-unknown/.  Also rename
	files accordingly.

2018-09-11  NIIBE Yutaka  <gniibe@fsij.org>

	Make gpg-error-config compatible to pkg-config.
	+ commit 78b679a778ddf37b8952f1808fd8c52cc8163f17
	* configure.ac (AC_CONFIG_FILES): Generate src/gpg-error.pc, as well
	as src/gpg-error-config-old and src/gpg-error-config-new.
	* src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
	(EXTRA_DIST): Add gpg-error-config-new.in, gpg-error-config-test.sh,
	and gpg-error.pc.in.
	(CLEANFILES): Add gpg-error-config gpg-error-config-test.log.
	(TESTS): New.
	(gpg-error-config): New target.
	* src/gpg-error-config-new.in: New.
	* src/gpg-error-config-test.sh: New.
	* src/gpg-error.pc.in: New.
	* src/gpg-error.m4 (GPG_ERROR_MT_CFLAGS): Use --variable.
	(GPG_ERROR_MT_LIBS, gpg_error_config_host): Likewise.

2018-09-06  NIIBE Yutaka  <gniibe@fsij.org>

	gpgscm: Suppress warnings for GCC > 6.
	+ commit b2aba1bec151d6e6cbf66359a30ba2ff458fc138
	* tests/gpgscm/scheme.c (CASE): Use unused attribute for GCC > 6.
	(FALLTHROUGH): New for fallthrough.
	(Eval_Cycle): Use FALLTHROUGH.  Remove not-needed comment of
	fallthrough.

	po: Fix the previous commit.
	+ commit 2148e19fbefa9c5d5cdc4982cd2043136c31fb64


2018-09-05  NIIBE Yutaka  <gniibe@fsij.org>

	po: Update Japanese Translation.
	+ commit cb0113f4690ed130c55ef4c6d8699ebc051e957e


	gpg-error-config: Forward compatibility support.
	+ commit 61d78fdc25e5ff9289697c141457d8d322232250
	* src/gpg-error-config.in: Support --variable=* option.

2018-09-04  NIIBE Yutaka  <gniibe@fsij.org>

	gpg-error-config: Determine output at configure time.
	+ commit aa697dae4c363b3d24ec9be3a0cd41df3bf806ce
	* src/gpg-error-config.in (isubdirafter): Remove.
	Also for --cflags and --libs.
	* configure.ac (GPG_ERROR_CONFIG_ISUBDIRAFTER): Remove.
	(GPG_ERROR_CONFIG_CFLAGS): Add -idirafter gpg-extra for W32CE.
	(GPG_ERROR_CONFIG_CFLAGS): Decide here if adding -I$includedir.
	(GPG_ERROR_CONFIG_LIBS): Decide here if adding -L$libdir.

2018-07-17  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>

	build: use EXEEXT_FOR_BUILD everywhere.
	+ commit 19f9902b004cb980de4da908fa571103bfe2b630
	* src/Makefile.am: Use EXEEXT_FOR_BUILD with all build tools.

		<michael.haubenwallner@ssi-schaefer.com>

2018-07-12  Werner Koch  <wk@gnupg.org>

	Release 1.32.
	+ commit 7b08307ff25b757ed2502cb2bf7893640e404ad1


	estream: Always propagate flush event to cookie functions.
	+ commit bd5bcd2dd19ef0b1c3d33a3a388b537ba08a4eb6
	* src/estream.c (flush_stream): Always call cookie's flush func.

2018-07-11  NIIBE Yutaka  <gniibe@fsij.org>

	build: Use AX_CC_FOR_BUILD and EXEEXT.
	+ commit 0727c394562237d7e626849eae04790264e56208
	* configure.ac (AX_CC_FOR_BUILD): New.
	* doc/Makefile.am: Use EXEEXT and EXEEXT_FOR_BUILD.
	* m4/ac_prog_cc_for_build.m4: Remove.
	* m4/ax_cc_for_build.m4: New.

	doc: Now, yat2m is a standard tool.
	+ commit f1162767e3552d05c1255497d49de15c2d94d0b4
	* configure.ac (YAT2M, HAVE_YAT2M): Remove.
	* doc/Makefile.am: Always use yat2m which comes with this source.

2018-07-10  NIIBE Yutaka  <gniibe@fsij.org>

	build: Remove version_parts in autogen.sh.
	+ commit 302d43a130e2364ea882474088a8b0a31bc325b9
	* autogen.rc (version_parts): Remove.
	* autogen.sh: Determine by $micro argument.

2018-07-05  Werner Koch  <wk@gnupg.org>

	Remove leftover debug output from gpg-error.
	+ commit 1ac63f630cbe1b558ebe20b746bbe4962117d36f
	* src/gpg-error.c (main): Remove a log_debug.

2018-07-05  Yuri Chornoivan  <yurchor@ukr.net>

	po: Update Ukrainian translation.
	+ commit 8a72604dc44d36790669e6e591c12cc0b6e057bd


2018-07-05  Andre Heinecke  <aheinecke@intevation.de>

	core: Initialize values in estream_format.
	+ commit fe2f8fca3114e3a5727fdbbc5e7ebc4e442d0401
	* src/estream-printf.c (_gpgrt_estream_format): Make sure
	valuetable.value is inialized even on stack.

2018-05-30  Ineiev  <ineiev@gnu.org>

	po: Update Russian translation.
	+ commit 043a91b8cd4bb71cb96086b51d6bc1b1a1821a41


2018-05-30  Werner Koch  <wk@gnupg.org>

	core: Fix problem with C11 and stdnoreturn.h.
	+ commit 3eee9efc46f983fe0bf474c814944fef93a2a1b7
	* src/gpg-error.h.in (GPGRT_ATTR_NORETURN): Use gcc specific symbol name
	__noreturn__.

2018-05-03  Andre Heinecke  <aheinecke@intevation.de>

	doc: Fix yat2m name for native w32 build.
	+ commit 6eb80abcde5ad776379069871e4156b28ef69712
	* doc/Makefile.am: Handle not cross compiling but building for
	windows.

2018-05-02  Werner Koch  <wk@gnupg.org>

	Release 1.31.
	+ commit 10a984d25048a09d1c489224bae866372e8066a1
	* configure.ac: Set LT version to C24/A24/R2.

2018-05-01  Werner Koch  <wk@gnupg.org>

	core,w32: Avoid recursive use of npth_unprotect.
	+ commit b26a227173e8e9b91be14f06ee781c6e214e50ff
	* src/w32-estream.c (reader): Use standard free.
	(writer): Ditto.

2018-05-01  emma peel  <emma.peel@riseup.net>

	po: new Spanish translation.
	+ commit 7e2517a29619c35257b38aa137b6772e471d7e4e


2018-04-30  Werner Koch  <wk@gnupg.org>

	Release 1.30.
	+ commit cac048bf8454ade95a905f9d3840b1ec284fce20
	* configure.ac: Bump LT version to C24/A/24/R1.

	build: More release creation automation.
	+ commit d1d4c4f8eb9830bfb671054e1558342106ba9d8d
	* Makefile.am: Add release and sign-release targets.

	core: Fix gpgrt_poll for Windows under nPth.
	+ commit 4f45f3e0bb404b4a9787cb55ca154c6f60c1437b
	* src/estream.c (_gpgrt_poll) [W32]: Use syscall clamp.

2018-04-13  NIIBE Yutaka  <gniibe@fsij.org>

	doc: Fix yat2m build for cross compilation.
	+ commit 792877a08ca7bc9d1377161dc9af374602a394cc
	* doc/Makefile.am: Fix target of yat2m-for-build.

2018-04-12  NIIBE Yutaka  <gniibe@fsij.org>

	build: Check -lsocket -lnsl for Solaris.
	+ commit e35749023ca68de6f1f85d3072f7b36fd6f6fe7c
	* configure.ac: Check inet_addr for -lnsl, and socket for -lsocket.

2018-04-11  Damien Goutte-Gattat via Gnupg-devel  <gnupg-devel@gnupg.org>

	build: Make sure version.texi is generated in time.
	+ commit 8ef76d9373db16f1ca176f9c87c8dac2758c8b85
	[[PGP Signed Part:Good signature from AA4373E6C82C78AD Damien Goutte-Gattat <dgouttegattat@incenp.org> (trust undefined) created at 2018-04-11T17:05:27+0200 using RSA]]
	[1. text/plain]

	* doc/Makefile.am (yat2m-stamp): Depend on version.texi.

2018-04-11  Werner Koch  <wk@gnupg.org>

	Release 1.29.
	+ commit c3825327da826e434ada9abde34e6bbd7ef61737
	* configure.ac: Bump LT version to C24/A24/R0.

	core: Finalize the API for argparse.
	+ commit e901c9fb04f5a96ba2bd49225b396ce7857a3782
	* src/gpg-error.h.in (ARGPARSE_end): Simplify.
	* src/argparse.c (_gpgrt_argparse_internal_s): Add field opts.
	(deinitialize): Release new field.
	(initialize): Add arg opts and create a copy of the option list.  Add
	the internal options.
	(_gpgrt_argparse): Rename arg opts to opts_orig and set new local var
	opts.  Adjust all references to opts.
	(find_long_option): Adjust for chnaged type of OPTS.  Re-indent.
	(arg_parse): Remove internal option assignment.  Rename arg opts to
	opts_orig and set new local var opts.  Adjust all references to opts.
	(show_help): Adjust all references to opts.

2018-03-27  NIIBE Yutaka  <gniibe@fsij.org>

	doc: Support cross compilation for yat2m.
	+ commit efc4769339d42a4a399c040c146cf4a29c02ea4f
	* configure.ac (HAVE_YAT2M): New.
	* doc/Makefile.am [CROSS_COMPILING]: Supported.

2018-03-22  Werner Koch  <wk@gnupg.org>

	build: Add option --git-build to autogen.sh.
	+ commit 1b30d21c8780f5510815d4fb2523afad9fff85dc


	yat2m: Avoid compiler warnings.
	+ commit 30621ee4c13006d08881994c32c89f60604c0188
	* doc/yat2m.c (evaluate_conditions): Mark args unused
	(proc_texi_cmd): Avoid shadowing warning.

	core: Add Base-64 encoder.
	+ commit ffc8f805165a13d16ed227051c59d732117ec9d4
	* src/b64enc.c: Change to fit into libgpg-error.
	* src/Makefile.am: Add b64enc.c
	* src/b64dec.c: Use xtrymalloc etc.  Always use gpg_err_code_t.
	(_gpgrt_b64dec_start): Set decoder flag
	(_gpgrt_b64dec_finish): Check for conflict.
	(_gpgrt_b64state): Move to ...
	* src/gpgrt-int.h: here.  Add new fields.
	* src/visibility.c (gpgrt_b64enc_start): New.
	(gpgrt_b64enc_write): New.
	(gpgrt_b64enc_finish): New.
	* src/gpg-error.vers, src/gpg-error.def.in: Add new functions.
	* src/gpg-error.h.in: Ditto.
	* src/visibility.h: Ditto.

	* tests/t-b64dec.c: Remove.
	* tests/t-b64.c: New.
	* tests/Makefile.am (TESTS): Replace t-b64dec by t-b64.

2018-03-22  NIIBE Yutaka  <gniibe@fsij.org>

	doc: Fix build and installation of yat2m.
	+ commit 4dc6d4d2067c726cdb13593bf151637319ff65e6
	* configure.ac (YAT2M): Require it when cross compiling.
	* doc/Makefile.am (bin_PROGRAMS): Add yat2m.

2018-03-21  Werner Koch  <wk@gnupg.org>

	po: Merge GnuPG's strings from argparse.c.
	+ commit e492e0a0a73e1ea9c80f355a25f632af69d3a569


	tools: Use gpgrt_argparse for the gpg-error tool.
	+ commit 11ce9bc3d6fe75859e18112824ae7ec3ca0fc8df
	* src/gpg-error.c (show_usage): Remove.
	(my_strusage): New.
	(main): Change to use argparse.  Also use log_error.

	core: Add public function gpgrt_usage.
	+ commit ed78ef7f06649f85f1c94c4fb2bd3f6b16fd9a63
	* src/visibility.c (gpgrt_usage): New.

	core: Add the group of argparse functions.
	+ commit 13d6fbfd4360cb74588556a3a0058c4057d0bcf0
	* src/visibility.c (gpgrt_argparse): New.
	(gpgrt_strusage): New.
	(gpgrt_set_strusage): New.
	(gpgrt_set_usage_outfnc): New.
	(gpgrt_set_fixed_string_mapper): New.
	* src/gpg-error.def.in, src/gpg-error.vers: Add new functions.
	* src/gpg-error.h.in: Add ARGPARSE macros from the former argparse.h.
	(gpgrt_argparse_t): New.
	(gpgrt_opt_t): New.
	* configure.ac (AH_BOTTOM): Request argparse macros.
	* src/Makefile.am (libgpg_error_la_SOURCES): Add argparse.c.
	* src/argparse.h: Remove.
	* src/argparse.c: Revamp to fit into libgpg-error.
	(_gpgrt_argparse): New.
	(_gpgrt_usage): Rename from usage.
	(_gpgrt_strusage): Rename from strusage.  Define two new levels and
	templates for three common licenses.
	(_gpgrt_set_strusage): Rename from set_strusage.
	(_gpgrt_set_usage_outfnc): New.
	(_gpgrt_set_fixed_string_mapper): New.

	* tests/t-argparse.c: New.

2018-03-18  Werner Koch  <wk@gnupg.org>

	core: Fix regression on arm64 due to invalid use of va_list.
	+ commit 791177de023574223eddf7288eb7c5a0721ac623
	* src/logging.c (_gpgrt_log_printhex): Provide a dummy arg instead of
	NULL.

2018-03-14  Werner Koch  <wk@gnupg.org>

	core: Fix building on W64.
	+ commit c36a60687976d98b54dac17f699dfca4918a737c
	* src/w32-add.h: Remove hack to define pid_t.
	* src/gpg-error.h.in: Eval macro to define pid_t.
	* src/mkheader.c (have_sys_types_h, sys_types_h_included): New.
	(parse_config_h): Test for sys/types.h.
	(write_special): Protect inclusion of sys/types.h.  Define new macro
	'define:pid_t'.

2018-03-13  Werner Koch  <wk@gnupg.org>

	Release 1.28.
	+ commit e32342397eab85fed5ef709317cc50dc7cbc41a5


2018-02-28  NIIBE Yutaka  <gniibe@fsij.org>
	    Karsten Merker  <merker@debian.org>

	syscfg: Add a riscv64 architecture.
	+ commit 596c0d701edeb45e0069bb74b9343e3d5b708ef0
	* src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h: New.
	* src/Makefile.am (lock_obj_pub): Add it.

2018-02-21  Werner Koch  <wk@gnupg.org>
	    Todd Zullinger

	build: Document how to use git send-email.
	+ commit 70058cd9f944d620764e57c838209afae8a58c78
	* autogen.rc: Add patches_to.
	* autogen.sh: Run git config sendemail.to.
	* doc/HACKING: Describe use of git send-email.

2018-02-21  Thorsten Behrens  <Thorsten.Behrens@CIB.de>

	doc: clarify patch submission workflow.
	+ commit 887530733d0486ab68ff351c4855f5450c2d50e6


2017-12-11  Werner Koch  <wk@gnupg.org>

	core: Avoid using estream_t in the public API.
	+ commit f9a33a7f7e44a644ff4e31f7e9f1c2c1ec1f8eee
	* src/gpg-error.h.in: Always use gpgrt_stream-t.

2017-12-08  Werner Koch  <wk@gnupg.org>

	core: Rename the gpgrt_log_levels enum values.
	+ commit de167fa92d009745c51dae547990845282cbb351
	* src/gpg-error.h.in (gprt_log_levels): Rename to GPGRT_LOGLVL.

2017-11-29  Werner Koch  <wk@gnupg.org>

	core: Wrap blocking system calls of the spawn functions.
	+ commit 4acf116ba6d144c2cfa39ff54a23b8864b4ce895


	core: Unify syscall_clamp functions.
	+ commit adc786d034b63176b941a1ef8d996acbf8d0ea5d
	* src/estream.c (_gpgrt_set_syscall_clamp)
	(_gpgrt_get_syscall_clamp): Move to ...
	* src/syscall-clamp.c: new file.
	(_gpgrt_pre_syscall, _gpgrt_post_syscall): New.
	* src/Makefile.am (libgpg_error_la_SOURCES): Add that file.
	* src/estream.c: Replace the syscall wrapper with the new functions.
	* src/posix-lock.c: Ditto.
	* src/w32-lock.c: Ditto.
	* src/posix-thread.c: Ditto.
	* src/w32-thread.c: Ditto.

	core: Implement the spawn functions.
	+ commit 1865c0ba1769b407a3c504f1ab0a4278704a9fc1
	* src/gpg-error.h.in  (GPGRT_SPAWN_NONBLOCK): New const.
	(GPGRT_SPAWN_RUN_ASFW): New const.
	(GPGRT_SPAWN_DETACHED): New const.
	(gpgrt_make_pipe): New function.
	(gpgrt_create_pipe): New macro.
	(gpgrt_create_inbound_pipe): New macro.
	(gpgrt_create_outbound_pipe): New macro.
	(gpgrt_spawn_process): New function.
	(gpgrt_spawn_process_fd): New function.
	(gpgrt_spawn_process_detached): New function.
	(gpgrt_wait_process): New function.
	(gpgrt_wait_processes): New function.
	(gpgrt_kill_process): New function.
	(gpgrt_release_process): New function.
	* src/gpg-error.def.in, src/gpg-error.vers: Add new functions.
	* src/visibility.c, src/visibility.h: Add wrappers for new functions.
	* src/spawn-posix.c: Rework to better fit the use in gpgrt.  Rename
	all public function with a _gpgrt prefix.
	* src/spawn-w32.c: Ditto.
	* src/gpgrt-int.h: Likewise.
	* src/Makefile.am (arch_sources): Add spawn-posix.c and spawn-w32.c.
	* src/w32-add.h: Add pid_t typedef as a temporary hack.
	* configure.ac: Check for signal.h and getrlimit.
	(AC_FUNC_FORK): New.

	Import and relicense exechelp* functions from GnuPG.
	+ commit 8f41cc23b12485404203be5881aaaadb78696b4d
	* src/spawn-posix.c: New.  Taken from GnuPG's exechelp-posix.c.
	* src/spawn-w32.c: New.  Taken from GnuPG's exechelp-w32.c.
	* src/gpgrt-int.h: Include prototypes from GnuPG's exechelp.h.

2017-11-28  Werner Koch  <wk@gnupg.org>

	core: Change new functions to return gpg_err_code_t.
	+ commit 513415c71781ab400ebb01f6b4cf2984ec6b1757
	* src/gpg-error.h.in (gpgrt_sentenv, gpgrt_mkdir, gpgrt_chdir): Change
	return type to gpg_err_code_t.
	* src/sysutils.c (_gpgrt_setenv): Implement that.
	(_gpgrt_mkdir): Ditto.
	(_gpgrt_chdir): Ditto.
	* gpgscm/ffi.c (do_setenv, do_mkdir): Adjust for this change.

	gpgscm: Some adjustments for use in gpgrt.
	+ commit 930d27ba6b1205395add0c79139e62355a1d5b62
	* gpgscm/Makefile.am: Remove cruft leftover from GnuPG.  Link to the
	just build libgpg-error.
	* gpgscm/private.h: Include gpgrt.h and provide i18n macros.
	(xfree, xtrymalloc, xtrycalloc, xtryrealloc): New macros.
	(xmalloc, xstrdup): New inline functions.
	* gpgscm/main.c: Remove inclusion of gcrypt.h and gpg-error.h.  Remove
	all other gnupg specific headers.
	(opts, parse_arguments): Temporary comment out.
	(main): Adjust for use with gpgrt.  Temporary comment out some stuff.
	* gpgscm/ffi-private.h: Include local gpgrt.h instead of gpg-error.h.
	* gpgscm/ffi.h: Ditto.
	* gpgscm/ffi.c: Remove gpg-error.h and headers from GnuPG.
	(do_getenv): Use gpgrt_getenv.
	(do_setenv): Use gpgrt_setenv.
	(do_mkdtemp): Temporary return an error.
	(unlink_recursively): Use gpgrt_bsprintf.
	(do_getcwd): Use gpgrt_getcwd.
	(do_mkdir): Use gpgrt_mkdir.
	(do_get_isotime): Temporary return an error.
	(do_get_time): Directly use time().

	core: New API functions gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd.
	+ commit 4a2538e69dd35377bce0fb584f72322c69a111b3
	* src/gpg-error.h.in (gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd): New.
	* src/visibility.c, src/visibility.h: Add wrappers.
	* src/gpg-error.vers, src/gpg-error.def.in: Add them.
	* src/sysutils.c (modestr_to_mode): New.
	(_gpgrt_mkdir, _gpgrt_chdir, _gpgrt_getcwd): New.
	* m4/gnupg-misc.m4: New.
	* m4/Makefile.am (EXTRA_DIST): Add new M4 file.
	* configure.ac: Call new GNUPG_FUNC_MKDIR_TAKES_ONE_ARG.
	(AC_CHECK_FUNCS): Add stat.

	core: Prepare to build with gpgscm.
	+ commit 241e9a73891fcd12f124aab1a299c2cf4f8eebc4
	* configure.ac: New option --enable-gpgscm.  Create gpgscm/Makefile.
	(GPGRT_ENABLE_LOG_MACROS): Define.
	* Makefile.am (SUBDIRS): Add gpgscm
	* src/logging.c (_gpgrt_logv_clock): Do not use the log_debug macro.

	core: New API functions gpgrt_getenv and gpgrt_setenv.
	+ commit b67daca506991507cea9d383df7faf95117e58a6
	* src/gpg-error.h.in (gpgrt_getenv, gpgrt_setenv): New.
	(gpgrt_unsetenv): New macro.
	* src/gpg-error.vers, src/gpg-error.def.in: Add them.
	* src/visibility.c (gpgrt_getenv, gpgrt_setenv): New.
	* src/visibility.h: Add them.
	* src/sysutils.c: Include string.h and on Windows windows.h.
	(_gpgrt_getenv): New.
	(_gpgrt_setenv): New.

2017-11-27  Werner Koch  <wk@gnupg.org>

	core: Install new files gpgrt.m4 and gpgrt-config.
	+ commit 97b0881216af24f2a46c11650e23691cff9cb12a
	* src/gpgrt.m4: New.  Bascially a copy of libgpg-error.m4
	* src/gpg-error-config.in: Decide which name to print.
	* src/Makefile.am (nodist_bin_SCRIPTS): Add gpgrt-config.
	(m4data_DATA): Add gpgrt.m4
	(EXTRA_DIST): Add gpgrt.m4.
	(BUILT_SOURCES): Add gpgrt-config.
	(CLEANFILES): Add gpgrt-config.
	(gpgrt-config): Create from gpg-error-config.

	core: Avoid endless recursion if log_set_sink has not been used.
	+ commit 84ebd2f34882d29510f819a797fade0297fe9ab9
	* src/logging.c (_gpgrt_log_set_sink): Do not call gf_is_valid if the
	default sink has been requested.

	core: Add new macro log_assert to the API.
	+ commit d1e3401013f85620f3136958be079c13ca758b20
	* src/gpg-error.h.in (log_assert): New macro.

2017-11-22  Werner Koch  <wk@gnupg.org>

	core: Do not use the estream_t alias in gpg-error.h.
	+ commit e0ef8126c20216f79b7ad147c103bb2cf2790c59
	* src/gpg-error.h.in: Use gpgrt_stream_t in prototypes.

2017-11-17  Werner Koch  <wk@gnupg.org>

	w32: Avoid unused code warning.
	+ commit a950326d20990fa33cee637d5b54d708fff585b2
	* src/w32-estream.c (_gpgrt_w32_poll) [!ENABLE_TRACING]: Do not use
	waitinfo.

	w32: Add new API fucntion gpgrt_w32_reg_query_string.
	+ commit b5c4a2721d7b4bd54705c53e6f294ab2ef66a6f7
	* src/w32-reg.c: New.
	* src/w32-add.h: Add gpgrt_w32_reg_query_string.
	* src/visibility.c (gpgrt_w32_reg_query_string): New wrapper.
	* src/gpg-error.def.in: Add gpgrt_w32_reg_query_string.
	* configure.ac (ac_check_funcs): Add stpcpy.
	* src/Makefile.am (arch_sources): Add w32-reg.c
	(socklibs): New.
	(libgpg_error_la_LIBADD): Add socklibs.
	* src/gpgrt-int.h (xfree, xtrymalloc, xtrycalloc)
	(xtryrealloc): New internal macros.
