2023-08-24  Simon Josefsson  <simon@josefsson.org>

	version 4.0.0
	* NEWS: Record release date.

	Add NEWS entries.

2023-08-23  Vivien Kraus  <vivien@planete-kraus.eu>

	Makefile.am: use the verbosity rules recommended by the Automake manual
	See
	https://www.gnu.org/software/automake/manual/html_node/Automake-Silent-Rules.html

	Add an exception to allow @AM_V@ and @AM_DEFAULT_V@ in the
	sc_makefile_at_at_check syntax check.

2023-08-22  Vivien Kraus  <vivien@planete-kraus.eu>

	Simplify the random example test runner
	This test is used as a good example in CONTRIBUTING.md, it should be
	more polished!

	Explain how to make testable manual examples in CONTRIBUTING.md.

2023-08-22  Simon Josefsson  <simon@josefsson.org>

	Update gnulib files.

2023-08-18  Simon Josefsson  <simon@josefsson.org>

	cfg.mk: Fix guile indentation rule.

2023-08-17  Simon Josefsson  <simon@josefsson.org>

	maint: Indent code, 'make indent-guile'.  Closes: #5.

	maint: Manual preparation before indentation.

	cfg.mk: Add guile indentation rules.

	Handle missing GNUTLS_NO_EXTENSIONS.  Closes: #15.
	The GNUTLS_NO_EXTENSIONS #define is missing from GnuTLS 3.8.1.

	Recode files into UTF-8 instead of ISO-8859-1.

2023-07-22  Simon Josefsson  <simon@josefsson.org>

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 3.7.14
	* NEWS: Record release date.

	Move some stuff from README to new CONTRIBUTING.md.

	Improve NEWS.

	Indent last patch.

2023-07-20  Christopher Baines  <mail@cbaines.net>

	Add binding for gnutls_record_get_direction
	As this is needed when performing the handshake on a non blocking
	socket.

2023-07-18  Simon Josefsson  <simon@josefsson.org>

	cicd: Improve naming.  Test fedora38.  Test clang.

	Update NEWS.

	cicd: Add Mac tarball target.

	cicd: Add Mac target.

2023-07-18  Vivien Kraus  <vivien@planete-kraus.eu>

	Use 12 bytes for the nonce in AEAD.
	Gnutls does not enforce the limit, but the standard says it is 12
	bytes and gnutls does not always behave correctly when it is not.

	https://gitlab.com/gnutls/gnutls/-/issues/1494

2023-07-18  Simon Josefsson  <simon@josefsson.org>

	Add libtool to boostrapping tools.

	cicd: Attempt to fix what broke pipeline for v3.7.13.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 3.7.13
	* NEWS: Record release date.

	Improve NEWS.

	cicd: Catch regressions of cross-building problems.  Closes: #11.

	cicd: Test more.

2023-07-18  Vivien Kraus  <vivien@planete-kraus.eu>

	Bind the random number generator

	Convert X509 certificates to public/private keys.

	Bind most of the abstract public key cryptographic API

	Bind the base64 encoder and decoder

	Bind the ECC curves

	Add the missing PK algorithms

2023-07-18  Vivien Kraus  <vivien@planete-kraus.eu>

	Revert "Add the missing signature algorithms"
	An unknown subset of these less used sign algorithms do not work
	correctly on trisquel 10, making an unrelated test crash.

	This partially reverts commit 91e7cfa4d31b4f081472d10120307c1b8389e83f.

2023-07-18  Vivien Kraus  <vivien@planete-kraus.eu>

	Add the missing signature algorithms

2023-07-17  Vivien Kraus  <vivien@planete-kraus.eu>

	Add the low-level encryption API.
	This API is required to implement JWA for instance.

	Bind the AEAD functions.

	Add the missing symmetric algorithms.
	* guile/modules/gnutls/build/enums.scm (%cipher-enum): Add the missing algorithms.

	Add a copyright notice for the guile examples.

2023-07-17  Jan (janneke) Nieuwenhuizen  <janneke@gnu.org>

	guile: Cross build fix.  Closes: #11.
	To cross-build, both the host guile and the native guile-for-build
	must be available.  If the native guile is not available, no snarfing
	is done and the guile cross build is skipped.

	During the cross-build gnutls.scm does not load when compliling
	extra.scm, becase of missing definitions from guile-gnutls-v-2.

	* guile/modules/gnutls.in (protocol/ssl-3 protocol/tls-1.0,
	protocol/tls-1.1, credentials/anonymous, cipher/rijndael-256-cbc,
	cipher/rijndael-128-cbc, cipher/rijndael-cbc, cipher/arcfour-128,
	certificate-verify/allow-any-x509-v1-ca-certificate,
	certificate-verify/allow-x509-v1-ca-certificate): Define to #f
	initially.  When "GNUTLS_GUILE_CROSS_COMPILING" not set, set! to value
	from "guile-gnutls-v-2" load-extension C module.

2023-07-17  Simon Josefsson  <simon@josefsson.org>

	Update gnulib files.

	Move license info to README as per GNU policies.

	Update gnulib files.

2023-06-23  Vivien Kraus  <vivien@planete-kraus.eu>

	CI: Also disable srp-authentication on Alpine to avoid build failure.

2023-06-16  David Thompson  <dthompson2@worcester.edu>

	Add copyright information to guile/src/core.c.

	Add certificate generation test.

	Add gnutls_x509_crt_set_serial binding.

	Add gnutls_x509_crt_get_serial binding.

	Add gnutls_x509_crt_set_subject_key_id binding.

	Add gnutls_x509_crt_sign binding.

	Add gnutls_x509_crt_set_key_usage binding.

	Add gnutls_x509_crt_set_version binding.

	Add gnutls_x509_crt_set_ca_status binding.

	Add gnutls_x509_crt_get_ca_status binding.

	Add gnutls_x509_crt_set_expiration_time binding.

	Add gnutls_x509_crt_get_expiration_time binding.

	Add gnutls_x509_crt_set_activation_time binding.

	Add gnutls_x509_crt_get_activation_time binding.

	Add gnutls_x509_crt_set_key binding.

	Add gnutls_x509_crt_set_dn_by_oid binding.

	Add enum for GNUTLS_OID_* values.

	Add gnutls_x509_crt_export binding.

	Add gnutls_x509_crt_init binding.

	Add gnutls_x509_privkey_export binding.

	Add gnutls_x509_privkey_generate binding.

	Add enum for GNUTLS_PRIVKEY_* values.

	Add guix.scm file for developers.

2023-05-08  Simon Josefsson  <simon@josefsson.org>

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 3.7.12
	* NEWS: Record release date.

2023-05-07  Simon Josefsson  <simon@josefsson.org>

	Disable SRP on ArchLinux.

	Ignore more.

	Fix ignoring of public-submodule-commit.

	Drop fedora36 indent check due to different behaviour.

	Fix syntax-check.

2023-05-03  Ludovic Courtès  <ludo@gnu.org>

	Update NEWS.

	Update comments regarding blocking writes.
	* guile/src/core.c (session_record_port_fd)
	(write_to_session_record_port): Adjust comments.

2023-04-11  Christopher Baines  <mail@cbaines.net>

	guile: Set record port write wait fd.
	This is important for using suspendable ports.

	* guile/src/core.c (scm_init_gnutls_session_record_port_type): Call
	scm_set_port_write_wait_fd.

2023-01-01  Vivien Kraus  <vivien@planete-kraus.eu>

	Update NEWS.

	Bind the hash functions.

	Add the missing digest algorithms.

	Update NEWS for the feature detection.

	Conditionally bind hmac-copy.

	Conditionnally provide the newer MAC algorithms
	The newer MAC algorithms are built from enumeration values. If any
	enumeration value is not available to the compiler, it will be skipped.

	Enable gnutls_hmac_get_key_size conditionnally
	This is done by checking at compile-time for the gnutls function, and
	then provide a guile runtime feature to check.

	Restore compatibility with GnuTLS < 3.6.9 (Debian 10)

	Update NEWS for HMAC functions.

	Add examples in the manual for HMAC functions.

	Add HMAC functions.

	Add the missing MAC/HMAC algorithms.

2023-01-01  Simon Josefsson  <simon@josefsson.org>

	cicd: Fix announcement output. Shorten apt-get outputs. Checkout to new branch.

	maint: Run 'make update-copyright'.

	Reimport gnulib files.

	Update gnulib git submodule.

2022-12-26  Simon Josefsson  <simon@josefsson.org>

	Allow bootstrap to work without git submodule.

2022-12-20  Simon Josefsson  <simon@josefsson.org>

	Use simple ./bootstrap script, suggested by Ludovic Courtès <ludo@gnu.org>.

2022-12-07  Simon Josefsson  <simon@josefsson.org>

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 3.7.11
	* NEWS: Record release date.

	Sync bootstrap scripts.

	Update gnulib submodule.

	Use ftp.gnu.org for tarballs.

	More Guile-GnuTLS fixes.

	Use term Guile-GnuTLS consistently.

	Use gitlog-to-changelog.

	Doc fixes for GnuTLS vs Guile-GnuTLS.

	NEWS: Mention git-version-gen fix.  Fixes: #9.

	Include gnulib-cache.m4 in tarball.

	Add .version to .gitignore.

	Distribute .tarball-version, for git-version-gen.

	Catch UNKNOWN version after autoreconf+./configure.

	Fix autoreconf in tarballs, by including git-version-gen.  See #9.

	cicd: Add debian10 target testing autoreconf of tarball.

2022-11-10  Simon Josefsson  <simon@josefsson.org>

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 3.7.10
	* NEWS: Record release date.

	Improve README-release.

	Simplify bootstrap-tools to work on Mac.

	Use gnulib's git-version-gen.

	doc: Add NEWS entry.

	cicd: Drop centos7, it has too old GnuTLS.  Fixes: #3.

	cicd: Use default instead of extends: .test.  Mark as interruptible.

	cicd: Fix AlmaLinux.  Fixes: #2.
	It seems guile-snarf doesn't exist on AlmaLinux9 so drop it and use AlmaLinux8 instead.

	doc: Add URLs to manual.

	Manually curate .gitignore.

	Fix syntax-check.

	Improve release rules.

	cicd: Fix job names.

	Indent code.

	cicd: Test release scripts.

	doc: Update NEWS file to mention gnulib usage. Closes: #1.

	Doc: Don't say guile-gnutls is part of GnuTLS.

	Fix GitLab pages.  Closes: #7.

	Update copyright years.

	Add GitLab pages.  Have 'make syntax-check' work.

2022-11-09  Simon Josefsson  <simon@josefsson.org>

	Drop manually copied gnulib files.

	Adapt bootstrap stuff to this project.

	Add bootstrap scripts from gnulib.

	Add gnulib submodule.

	doc: Add Mac hints.

2022-11-09  Simon Josefsson  <simon@josefsson.org>

	Add GNUTLS_CFLAGS.
	Fixes build warnings like this:

	core.c:27:10: fatal error: 'gnutls/gnutls.h' file not found
	extracting Texinfo doc from `../guile/src/core.c'...  ../guile/src/core.c:27:10: fatal error: 'gnutls/gnutls.h' file not found

2022-10-17  Ludovic Courtès  <ludo@gnu.org>

	build: Do not build .a files by default.
	* configure.ac: Pass 'disable-static' to configure.ac.

2022-10-14  Simon Josefsson  <simon@josefsson.org>

	Version 3.7.9.

	Initial guile-gnutls project.
	See NEWS for git-filter-repo command, many of the added new
	files were based on or inspired by GnuTLS files.

2022-07-27  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip/dueno/guile-skip-reauth-test' into 'master'
	guile: revert gnutls/build/tests.scm to use use-modules

	See merge request gnutls/gnutls!1618

2022-07-27  Daiki Ueno  <ueno@gnu.org>

	guile: revert gnutls/build/tests.scm to use use-modules
	This partially reverts 6111a4ee630657d94ef9ef791bff504037b4715a.  For
	some reason, the usage of #:use-module causes some behavioral
	difference that affects reauth.scm test.

2022-07-19  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip-session-record-port-close' into 'master'
	guile: Allow session record ports to have a 'close' procedure

	See merge request gnutls/gnutls!1610

2022-07-18  Ludovic Courtès  <ludo@gnu.org>

	guile: Allow session record ports to have a 'close' procedure.
	This addition makes it easy to close the backing file descriptor or port
	of a session when its record port is closed.

	* guile/src/core.c (SCM_GNUTLS_SESSION_RECORD_PORT_SESSION): Add SCM_CAR.
	(SCM_GNUTLS_SESSION_RECORD_PORT_CLOSE_PROCEDURE)
	(SCM_GNUTLS_SET_SESSION_RECORD_PORT_CLOSE)
	(SCM_GNUTLS_SESSION_RECORD_PORT_P)
	(SCM_VALIDATE_SESSION_RECORD_PORT): New macros.
	(make_session_record_port): Change "stream" argument to a pair.
	(close_session_record_port): New function.
	(scm_gnutls_session_record_port): Add optional 'close' parameter and
	honor it.
	(scm_gnutls_set_session_record_port_close_x): New function.
	(scm_init_gnutls_session_record_port_type): Add call to
	'scm_set_port_close' and 'scm_set_port_needs_close_on_gc'.
	* guile/tests/session-record-port.scm: Test it.
	* NEWS: Update.

2022-07-18  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip-remove-guile-1.8-support' into 'master'
	Remove support for Guile 1.8.

	See merge request gnutls/gnutls!1608

2022-07-17  Ludovic Courtès  <ludo@gnu.org>

	guile: Remove support for the 1.8.x series.
	The last Guile 1.8.x release dates back to 2010.

	* configure.ac: Remove 1.8 from 'GUILE_PKG'.
	* doc/gnutls-guile.texi (Guile Preparations): Remove mention of Guile 1.8.
	* guile/src/core.c (mark_session_record_port)
	(free_session_record_port): Remove.
	(scm_init_gnutls_session_record_port_type): Remove corresponding
	'scm_set_port_mark' and 'scm_set_port_free' calls.
	* guile/modules/gnutls.in: Remove top-level 'cond-expand' forms for
	Guile 1.8.
	* guile/modules/gnutls/build/tests.scm: Likewise.
	* NEWS: Update.

2022-07-17  Ludovic Courtès  <ludo@gnu.org>

	maint: Update guile.m4.
	* m4/guile.m4: Update from Guile 3.0.7.

2022-07-11  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip-guile-premature-termination' into 'master'
	guile: Session record port treats premature termination as EOF.

	See merge request gnutls/gnutls!1609

2022-07-10  Ludovic Courtès  <ludo@gnu.org>

	guile: Session record port treats premature termination as EOF.
	* guile/src/core.c (do_fill_port) [USING_GUILE_BEFORE_2_2]: Treat
	GNUTLS_E_PREMATURE_TERMINATION as EOF.
	(read_from_session_record_port) [!USING_GUILE_BEFORE_2_2]: Likewise.
	* guile/tests/premature-termination.scm: New file.
	* guile/Makefile.am (TESTS): Add it.
	* NEWS: Update.

2021-08-26  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip/dueno/guile-fixes' into 'master'
	guile: Add 'gnutls_x509_crt_get_fingerprint',  'GNUTLS_DIG_SHA256'

	See merge request gnutls/gnutls!1461

2021-08-22  Simon South  <simon@simonsouth.net>

	guile: Add 'GNUTLS_DIG_SHA256' enum value.
	* guile/modules/gnutls/build/enums.scm (%digest-enum): Add 'sha256'.
	* guile/modules/gnutls.in: Export 'digest/sha256'.
	* guile/tests/x509-certificates.scm: Test 'digest/sha256' with
	'x509-certificate-fingerprint'.
	(%sha256-fingerprint): New constant.

	guile: Add binding for 'gnutls_x509_crt_get_fingerprint'.
	* guile/src/core.c (MAX_HASH_SIZE): New constant.
	(scm_gnutls_x509_certificate_fingerprint): New function.
	* guile/modules/gnutls.in: Export 'x509-certificate-fingerprint'.
	* guile/tests/x509-certificates.scm: Test 'x509-certificate-fingerprint'.
	(%sha1-fingerprint): New constant.
	(u8vector->hex-string): New procedure.

2021-06-19  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'guile-egain-eintr' into 'master'
	guile: Writes to record ports handle EAGAIN/EINTR transparently.

	See merge request gnutls/gnutls!1417

2021-06-16  Ludovic Courtès  <ludo@gnu.org>

	guile: Writes to record ports handle EAGAIN/EINTR transparently.
	Reported at <https://issues.guix.gnu.org/47867>
	by Florian Pelz <pelzflorian@pelzflorian.de>.

	This is a followup to df006e41ba67dcf51af7ba7765a65b65eeed3f6a.

	* guile/src/core.c (write_to_session_record_port) [USING_GUILE_BEFORE_2_2]:
	Keep looping upon GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED.
	(write_to_session_record_port) [!USING_GUILE_BEFORE_2_2]: Loop on
	GNUTLS_E_INTERRUPTED and return -1 on GNUTLS_E_AGAIN if C_SESSION is
	backed by a file descriptor.
	* NEWS: Update.

2021-05-21  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'warn_fixes' into 'master'
	Fix some warnings

	See merge request gnutls/gnutls!1439

2021-05-21  Leonardo Bras  <leobras.c@gmail.com>

	guile: Fix implicit conversion warning
	When building, the following warning may be printing:

	  CC       guile_gnutls_v_2_la-utils.lo
	core.c: In function 'scm_gnutls_set_server_session_certificate_request_x':
	core.c:545:13: warning: implicit conversion from 'gnutls_certificate_request_t' to 'gnutls_certificate_status_t' [-Wenum-conversion]
	  545 |   c_request = scm_to_gnutls_certificate_request (request, 2, FUNC_NAME);
	      |             ^
	core.c:547:53: warning: implicit conversion from 'gnutls_certificate_status_t' to 'gnutls_certificate_request_t' [-Wenum-conversion]
	  547 |   gnutls_certificate_server_set_request (c_session, c_request);
	      |

	Fix this warning by changing c_request type to gnutls_certificate_request_t.

2021-04-24  Ludovic Courtès  <ludo@gnu.org>

	guile: Tests show their PID upon uncaught exceptions.
	* guile/modules/gnutls/build/tests.scm (run-test): Display the PID when
	throwing an exception.

2021-04-23  Ludovic Courtès  <ludo@gnu.org>

	guile: Avoid the deprecated 'scm_t_uint8' type.
	* guile/src/core.c: Use 'uint8_t' instead of 'scm_t_uint8', which is
	deprecated in Guile 3.0.

2021-04-23  Ludovic Courtès  <ludo@gnu.org>

	guile: Avoid potentially missed reference.
	There's one case where 'register_weak_reference' is called several times
	on the same object, in 'set-certificate-credentials-x509-keys!', where
	PRIVKEY could have been GC'd before CRED.

	* guile/src/core.c (register_weak_reference): Add TO to the weak
	references of FROM instead of overriding them.

2021-04-23  Ludovic Courtès  <ludo@gnu.org>

	guile: Remove leftover comment about allocation routines.
	This is a followup to 83b004decb7058d8a8a0f2fb08c680933c9387ab.

	* guile/src/core.c (scm_init_gnutls): Remove leftover comment.

2019-12-26  Ludovic Courtès  <ludo@gnu.org>

	guile: Arrange to make 'gnutls.scm' architecture-independent.
	Fixes #838.
	Reported by Andreas Metzler.

	* configure.ac: Define and substitute 'maybe_guileextensiondir'.
	* guile/Makefile.am (.in.scm): Substitute 'maybe_guileextensiondir'.
	* guile/modules/gnutls.in <top level>: Use @maybe_guileextensiondir@.
	Check if %LIBDIR is true.

2019-11-11  Ludovic Courtès  <ludo@gnu.org>

	guile: Silence auto-compilation warning for 'guild'.
	Reported by Helmut Grohne <helmut@subdivi.de>
	and Andreas Metzler <ametzler@bebt.de>
	at <https://bugs.debian.org/943905>.

	* guile/Makefile.am (%.go): Pass "GUILE_AUTO_COMPILE=0" to avoid
	warnings about 'guild' needing to be compiled.

2019-11-11  Ludovic Courtès  <ludo@gnu.org>

	guile: Do not attempt to load shared object when cross-compiling.
	Reported by Helmut Grohne <helmut@subdivi.de>
	and Andreas Metzler <ametzler@bebt.de>
	at <https://bugs.debian.org/943905>.

	* configure.ac: Add 'CROSS_COMPILING' conditional.
	* guile/Makefile.am (CROSS_COMPILING_VARIABLE): New variable.
	(%.go): Use it.
	* guile/modules/gnutls.in <top level>: Do not call 'load-extension'
	when "GNUTLS_GUILE_CROSS_COMPILING" is defined.

2019-09-16  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip-guile-3.0' into 'master'
	Add support for Guile 3.0

	See merge request gnutls/gnutls!1020

2019-09-16  Ludovic Courtès  <ludo@gnu.org>

	guile: Add support for Guile 3.0.
	* configure.ac: Add 3.0 to 'GUILE_PKG', as well as the
	previously-supported versions.
	* doc/gnutls-guile.texi (Guile Preparations): Update list of supported
	versions.

2019-09-16  Daiki Ueno  <ueno@gnu.org>

	Merge branch 'wip-guile-include-m4-macros' into 'master'
	maint: Include Guile's M4 macros.

	See merge request gnutls/gnutls!1061

2019-09-05  Ludovic Courtès  <ludo@gnu.org>

	maint: Include Guile's M4 macros.
	This ensures 'GUILE_PKG' & co. behaves as we want.  Previously we had
	problem in CI when using 'guile.m4' coming from potentially old distro
	packages, as discussed in issue !1020:

	  https://gitlab.com/gnutls/gnutls/merge_requests/1020#note_194443890

	* m4/guile.m4: New file, from Guile's 'stable-2.2' branch,
	commit 9846178c69445142ef0b9432417453d2d4de6635.
	* .x-sc_prohibit_test_minus_ao: New file.

2019-09-04  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Merge branch 'wip-certificate-status' into 'master'
	guile: Update the list of certificate status values.

	See merge request gnutls/gnutls!1060

2019-08-31  Ludovic Courtès  <ludo@gnu.org>

	guile: Update the list of certificate status values.
	* guile/modules/gnutls/build/enums.scm (%certificate-status-enum): Add
	'gnutls_certificate_status_t' values that were missing.
	* guile/src/core.c (scm_gnutls_peer_certificate_status): Add
	'MATCH_STATUS' clauses to handle them.
	* guile/modules/gnutls.in: Export them.

2019-06-12  Ludovic Courtès  <ludo@gnu.org>

	guile: Add support for post-handshake reauthentication.
	* guile/modules/gnutls/build/enums.scm (%connection-flag-enum): New
	variable.
	(%gnutls-enums): Add it.
	* guile/modules/gnutls.in: Export 'reauthenticate',
	'connection-flag->string', and all the 'connection-flag/' bindings.
	* guile/src/core.c (scm_gnutls_make_session): Add rest arguments FLAGS
	and honor it.
	(scm_gnutls_reauthenticate): New function.
	* guile/tests/reauth.scm: New file.
	* guile/Makefile.am (TESTS): Add it.

	guile: Loop or poll upon GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED.
	* guile/src/core.c (do_fill_port) [USING_GUILE_BEFORE_2_2]: Loop while
	'gnutls_record_recv' returns GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
	(read_from_session_record_port) [!USING_GUILE_BEFORE_2_2]: Likewise, and
	return -1 if SCM_GNUTLS_SESSION_TRANSPORT_IS_FD and we got GNUTLS_E_AGAIN.
	(session_record_port_fd) [!USING_GUILE_BEFORE_2_2]: New function.
	(scm_init_gnutls_session_record_port_type) [!USING_GUILE_BEFORE_2_2]:
	Call 'scm_set_port_read_wait_fd'.

	guile: Add bindings for 'gnutls_error_is_fatal'.
	* guile/src/errors.c (scm_gnutls_fatal_error_p): New function.
	* guile/modules/gnutls.in: Export 'fatal-error?'.
	* guile/tests/errors.scm: test 'fatal-error?'.

	guile: Update list of error values.
	* guile/modules/gnutls/build/enums.scm (%error-enum): Update list of
	error constants.
	* guile/modules/gnutls.in (gnutls): Adjust exports accordingly.

2019-06-12  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Merge branch 'guile-deprecate-openpgp' into 'master'
	guile: Deprecate OpenPGP bindings.

	See merge request gnutls/gnutls!1021

2019-06-12  Ludovic Courtès  <ludo@gnu.org>

	guile: Deprecate OpenPGP bindings.
	* guile/modules/gnutls.in (define-deprecated): New macro.
	Use it for all the *openpgp* bindings.
	* guile/src/core.c: Rename *openpgp* bindings with a '%' prefix.

2019-06-07  Ludovic Courtès  <ludo@gnu.org>

	guile: Remove unbounded uses of 'alloca'.
	* guile/src/core.c (ALLOCA_MAX_SIZE, FAST_ALLOC): New macros.
	(set_certificate_file):
	(scm_gnutls_set_certificate_credentials_x509_key_files_x)
	(scm_gnutls_set_srp_server_credentials_files_x)
	(scm_gnutls_set_srp_client_credentials_x)
	(scm_gnutls_srp_base64_encode, scm_gnutls_srp_base64_decode)
	(scm_gnutls_set_psk_server_credentials_file_x)
	(scm_gnutls_pkcs8_import_x509_private_key)
	(scm_gnutls_x509_certificate_matches_hostname_p)
	(scm_gnutls_import_openpgp_private_key): Use 'FAST_ALLOC' instead of
	'alloca'.
	* guile/src/utils.c: Remove unneeded <alloca.h> include.

	guile: Always provide 'scm_gc_malloc_pointerless'.
	* guile/src/core.c (scm_gc_malloc_pointerless)
	[!HAVE_SCM_GC_MALLOC_POINTERLESS]: New macro.
	(make_session_record_port): Remove #ifdef HAVE_SCM_GC_MALLOC_POINTERLESS.

2019-04-09  Alon Bar-Lev  <alon.barlev@gmail.com>

	build: rename guile variables to match upstream names
	Reduce confusion between the upstream terms and the gnutls terms.

2019-04-09  Alon Bar-Lev  <alon.barlev@gmail.com>

	build: allow override guile system location
	guile has three settings acquired from system:
	* GUILE_SITE
	* GUILE_SITE_CCACHE
	* GUILE_EXTENSION

	The <guile-2.2 m4 macro exposed only GUILE_SITE while build tried to guess the
	other variables based on the $libdir of the gnutls which may be different.

	The >=guile-2.2 m4 macro provides all settings for build to use as default,
	while allowing to override each.

	Resolves: #748

2019-03-13  Tim Rühsen  <tim.ruehsen@gmx.de>

	Update the GNU Free Documentation License (FDL)

	Use https:// for arbitrary files #1

	Use https:// for www.gnu.org and www.example.com

2019-01-25  Tim Rühsen  <tim.ruehsen@gmx.de>

	Fix unused var warning in guile/src/core.c

2018-06-14  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Merge branch 'gnulib-bootstrap' into 'master'
	Gnulib bootstrap, fix 'make distcheck' and more...

	See merge request gnutls/gnutls!641

2018-06-14  Tim Rühsen  <tim.ruehsen@gmx.de>

	Skip sc_prohibit_always_true_header_tests
	We can't simply remove the checks for HAVE_SYS_SOCKET_H.
	If we do, we have to make checks on real WIN32, which
	is currently not an option.
	So we skip sc_prohibit_always_true_header_tests.

	Add bootstrap + bootstrap.conf

2018-02-19  Nikos Mavrogiannopoulos  <nmav@redhat.com>

	tests: guile: don't use VERS-TLS-ALL
	That is, avoid enabling experimental protocols.

2017-06-16  Nikos Mavrogiannopoulos  <nmav@redhat.com>

	guile: removed openpgp related tests

2017-02-09  Marcin Cieślak  <saper@saper.info>

	<alloca.h> only if HAVE_ALLOCA_H
	FreeBSD does know alloca() but has no such header

2017-01-15  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	doc: removed documentation related to OpenPGP and guile

2016-11-29  Nikos Mavrogiannopoulos  <nmav@redhat.com>

	guile: do not use +COMP-DEFLATE in priorities test
	This allows the test to work even in the cases where gnutls
	is compiled without zlib support.

2016-10-05  Ludovic Courtès  <ludo@gnu.org>

	guile: Implement session record ports using the Guile 2.2 API.
	This allows the Guile bindings to be built and used with
	Guile >= 2.1.4, which introduced a new port API.

	* guile/src/core.c (USING_GUILE_BEFORE_2_2): New macro.
	(session_record_port_type) [!USING_GUILE_BEFORE_2_2]: New definition.
	(read_from_session_record_port, write_to_session_record_port)
	(make_session_record_port) [!USING_GUILE_BEFORE_2_2]: New functions.
	Conditionalize the other same-named functions on
	USING_GUILE_BEFORE_2_2.
	(scm_init_gnutls_session_record_port_type): Use
	'read_from_session_record_port' when !USING_GUILE_BEFORE_2_2.

2016-10-05  Ludovic Courtès  <ludo@gnu.org>

	guile: Test 'set-session-transport-fd!'.
	* guile/tests/session-record-port.scm: Use 'set-session-transport-fd!'
	on the server side.

2016-10-05  Ludovic Courtès  <ludo@gnu.org>

	guile: Guile 2.x 'uniform-vector-read!' replacement returns 0 upon EOF.
	This problem was never hit in practice because our tests always got the
	non-EOF case.

	* guile/modules/gnutls/build/tests.scm (uniform-vector-read!) [guile-2]:
	Return 0 upon EOF.

2016-09-11  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	doc update

2016-03-15  Ludovic Courtès  <ludo@gnu.org>

	guile: doc: Mention bytevectors.
	* doc/gnutls-guile.texi (Representation of Binary Data): Mention bytevectors.
	(Input and Output): Likewise.

	guile: doc: Explain "Application Data" packets and 'session-record-port'.
	* doc/gnutls-guile.texi (Input and Output): Mention "Application Data"
	packets and buffering.

2016-02-22  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix out-of-tree builds.
	This fixes a regression introduced in 959c993.

	* guile/Makefile.am (.in.scm): Make the parent directory of $@.

2016-02-15  Ludovic Courtès  <ludo@gnu.org>

	guile: Work around lack of 'eval-when' on 1.8.
	* guile/modules/gnutls.in (eval-when) [!guile-2]: New macro.

	guile: build: Make silent rules actually quiet.
	* guile/Makefile.am (.in.scm): Use $(AM_V_GEN) and $(AM_V_at).
	* guile/src/Makefile.am (enums.h, enum-map.i.c)
	(smobs.h, smob-types.i.c, %.x): Likewise.

	guile: Build and install .go files on Guile 2.x.
	* configure.ac: Check for 'guild' and substitute 'GUILD'.  Define
	'HAVE_GUILD'.  Substitute 'guileobjectdir'.  Don't output
	guile/modules/Makefile and guile/tests/Makefile.
	* guile/modules/Makefile.am, guile/tests/Makefile.am: Remove.  Move
	contents to...
	* guile/Makefile.am: ... here.
	(SUBDIRS): Remove 'modules' and 'tests'.

	guile: doc: Change prompt in examples.
	* doc/gnutls-guile.texi (Guile Preparations): Use the prompt found in
	2.0.  Change "libguile-gnutls-v-0" to "guile-gnutls-v-2".

2016-02-15  Ludovic Courtès  <ludo@gnu.org>

	guile: tests: Add Guile 2.2 compatibility layer.
	This allows tests to run with Guile 2.1/2.2.

	* guile/modules/gnutls/build/tests.scm (define-replacement) [guile-2]:
	New macro.
	(uniform-vector-read!, uniform-vector-write) [guile-2]: New procedures.
	* doc/gnutls-guile.texi (Guile Preparations): Mention 2.2.

2016-02-15  Ludovic Courtès  <ludo@gnu.org>

	guile: tests: Make sure no processes are left behind.
	Before that, child processes would be left behind and become zombies.

	* guile/tests/anonymous-auth.scm, guile/tests/openpgp-auth.scm,
	guile/tests/session-record-port.scm, guile/tests/x509-auth.scm:
	Add (waitpid pid) call on the server side.

2016-02-15  Ludovic Courtès  <ludo@gnu.org>

	guile: tests: Add 'with-child-process'.
	This makes sure that child processes always exit no matter what.

	* guile/modules/gnutls/build/tests.scm (define-syntax-rule) [!guile-2]:
	New macro.
	(call-with-child-process): New procedure.
	(with-child-process): New macro.
	* guile/tests/anonymous-auth.scm, guile/tests/openpgp-auth.scm,
	guile/tests/session-record-port.scm, guile/tests/x509-auth.scm: Use it
	instead of an explicit 'primitive-fork' call.
	* guile/.dir-locals.el: New file.
	* guile/Makefile.am (EXTRA_DIST): New variable.

2015-01-08  Ludovic Courtès  <ludo@gnu.org>

	guile: Call 'load-extension' both during expansion and at run time.
	Fixes <https://bugzilla.redhat.com/show_bug.cgi?id=1177847>.

	* guile/modules/gnutls.in: Wrap '%libdir' definition and
	  'load-extension' call in 'eval-when'.

2014-12-11  Ludovic Courtès  <ludo@gnu.org>

	guile: Open binary file in binary mode, for the sake of MinGW.
	Reported by Eli Zaretskii <eliz@gnu.org>.

	* guile/tests/openpgp-keyring.scm: Use 'open-file' with "rb" instead of
	  'open-input-file'.

2014-12-11  Ludovic Courtès  <ludo@gnu.org>

	guile: Link with '-no-undefined'.
	Fixes builds on MinGW.
	Reported by Eli Zaretskii <eliz@gnu.org>.

	* guile/src/Makefile.am (guile_gnutls_v_2_la_LDFLAGS): Add
	  -no-undefined.

2014-12-04  Ludovic Courtès  <ludo@gnu.org>

	guile: Build with warnings.
	* guile/src/Makefile.am (AM_CFLAGS) [HAVE_GCC]: Add -Wall -Wextra
	  -Wno-unused-parameter.

	guile: Remove the deprecated priority API.
	* guile/modules/gnutls/build/priorities.scm: Remove.
	* guile/src/make-session-priorities.scm: Remove.
	* guile/modules/Makefile.am (EXTRA_DIST): Adjust accordingly.
	* guile/src/Makefile.am (EXTRA_DIST): Likewise.
	  (GENERATED_BINDINGS): Remove 'priorities.i.c'.
	  (priorities.i.c): Remove target.
	* guile/src/core.c: Don't include it.
	  (scm_gnutls_set_default_priority_x): Remove.
	* guile/modules/gnutls.in (gnutls): Adjust export list.
	* guile/tests/session-record-port.scm: Use 'set-session-priorities!'.
	* guile/tests/x509-auth.scm: Likewise.

	guile: Remove RSA parameters and related procedures.
	* guile/modules/gnutls/build/smobs.scm (%rsa-parameters-smob): Remove.
	  (%gnutls-smobs): Remove it.
	* guile/src/core.c (scm_gnutls_make_rsa_parameters,
	  scm_gnutls_pkcs1_import_rsa_parameters,
	  scm_gnutls_pkcs1_export_rsa_parameters,
	  scm_gnutls_set_certificate_credentials_rsa_export_params_x): Remove.
	* guile/modules/gnutls.in: Adjust export list.
	* guile/tests/openpgp-auth.scm (import-rsa-params): Remove.
	  Remove references to it and to
	  'set-certificate-credentials-rsa-export-parameters!'.
	* guile/tests/x509-auth.scm: Likewise.
	* doc/gnutls-guile.texi (Representation of Binary Data): Remove
	  references to RSA parameters.  Adjust example accordingly.
	  (OpenPGP Authentication Guile Example): Likewise.

2014-10-14  Ludovic Courtès  <ludo@gnu.org>

	guile: Remove trailing zero in 'gnutls_server_name_set' call.
	In GnuTLS 3.2.19 (and possibly 3.3.9 and 3.1.17),
	'set-session-server-name!' would pass a trailing nul character on the
	wire after the server name, which would thus be rejected by servers.

2014-09-30  Ludovic Courtès  <ludo@gnu.org>

	guile: doc: Remove erroneous @ifnottex.

	guile: doc: Make it clear that the bindings are part of GnuTLS.

2014-09-22  Ludovic Courtès  <ludo@gnu.org>

	guile: Restore cross-reference in 'set-session-priorities!' docstring.
	This had been destroyed in 1a1fdb44.

	guile: Add bindings for 'gnutls_server_name_set'.
	This adds the 'set-session-server-name!' procedure and the
	'server-name-type' enum type.

2014-04-19  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	do not override gnutls' allocation functions
	That was not being done using the API, and overriding them
	is no longer possible in 3.3.x.

2014-03-05  Ludovic Courtès  <ludo@gnu.org>

	doc: Add indices to the gnutls-guile manual.

2013-10-09  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix possible stack overflows.

2013-09-15  Ludovic Courtès  <ludo@gnu.org>

	guile: Use intermediary files when generating code.

	guile: Make builds parallel-safe.
	Reported by Andreas Metzler <ametzler@bebt.de>.

2013-06-28  Ludovic Courtès  <ludo@gnu.org>

	guile: Keep a weak reference on objects aggregated by other objects.
	Before, in cases such as `set-anonymous-server-dh-parameters!' where the
	C object beneath CRED keeps a pointer to the C object beneath DH_PARAMS,
	DH_PARAMS could be garbage-collected before CRED, leading to the
	destruction of the underlying C object.

	Reported by Nikos Mavrogiannopoulos <nmav@gnutls.org>.

2013-06-28  Ludovic Courtès  <ludo@gnu.org>

	guile: tests: Use `port->fdes' rather than `fileno'.
	This has no practical impact, but it's a better way to express that we
	don't want the file descriptors closed behind our back.

2013-06-06  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	corrected priority strings

2013-06-06  Ludovic Courtès  <ludo@gnu.org>

	guile: Use `LOG_COMPILER', as required by Automake 1.12+.

2012-12-01  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix dependencies to be parallel-safe.

2012-08-09  Simon Josefsson  <simon@josefsson.org>

	Add gnulib -I's to guile-snarf command.

2012-01-21  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	removed references to IA

	replaced smallexample with example.

2012-01-20  Ludovic Courtès  <ludo@gnu.org>

	guile: Don't cast return value of `alloca'.

	guile: Update the list of error codes.

2012-01-19  Simon Josefsson  <simon@josefsson.org>

	Print detailed guile warnings (for obsolete functions).

2012-01-18  Simon Josefsson  <simon@josefsson.org>

	Fix builddir != srcdir builds.

2012-01-17  Ludovic Courtès  <ludo@gnu.org>

	Fix $(srcdir) != $(builddir) for Guile.
	Now that modules/gnutls.scm is generated, $(builddir) must be in the
	search path.

2012-01-16  Simon Josefsson  <simon@josefsson.org>

	Collapse and cleanup copyright information.

	Run 'make update-copyright'.

2011-12-29  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Small improvements in documentation.

2011-11-25  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix the (unused) `output-procedure-texi-documentation-from-c-file'.
	Reported by Mike Gran <spk121@yahoo.com>.

2011-11-04  Ludovic Courtès  <ludo@gnu.org>

	guile: Rename `libguile-gnutls-v-2.la' to `guile-gnutls-v-2.la'.

	guile: Install libguile-gnutls under $(libdir)/guile/X.Y.

2011-11-03  Ludovic Courtès  <ludo@gnu.org>

	guile: Rename to `libguile-gnutls-v-2'.

	doc: Make it clear that both Guile 1.8 and 2.0 are supported.

	guile: Update doc to reflect the removal of (gnutls extra).

	guile: Remove uses of (gnutls extra) from the tests.

	guile: Merge the (gnutls extra) module in (gnutls); deprecate it.

	Reverting "Drop guile libgnutls-extra stuff."

2011-11-02  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	removed enumerations that don't exist

2011-10-28  Simon Josefsson  <simon@josefsson.org>

	Drop guile libgnutls-extra stuff.

2011-10-23  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	removed extra.h header from guile code.

2011-10-21  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	removed more extra.h leftovers.

2011-10-20  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	libgnutls-extra is no more.

2011-08-22  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix `priorities' test to use `run-test'.
	This is a followup to commit 9d9be86c24cc37b73239a9da80bde45541f12317
	("guile: Fix tests to match the `exit' behavior introduced in Guile
	2.0.1.").

2011-05-27  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Corrections.

	Do not list all licenses in the manual of gnutls. Just the license of the manual is enough.

	guile bindings added as a separate document.

2011-04-28  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix tests to match the `exit' behavior introduced in Guile 2.0.1.
	This fix makes tests behave correctly wrt. to the Guile bug fix at
	<http://git.sv.gnu.org/cgit/guile.git/commit/?id=e309f3bf9ee910c4772353ca3ff95f6f4ef466b5>.

2011-04-11  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Purged all references of LZO.

2011-04-08  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Use a single configure.ac. This speed ups compilation and reduces duplication of code (multiple gl/ libraries etc.). This saves about 2mb in distributed size (compressed).

2011-04-06  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	avoid using a freed pointer.

2011-03-24  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	added missing files.

2011-03-16  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	enabled RSA and removed debugging.

	split the pgp keys to elgamal and dsa.

2011-03-01  Ludovic Courtès  <ludo@gnu.org>

	guile: Change tests to use priority strings.

2011-02-27  Ludovic Courtès  <ludo@gnu.org>

	guile: Fix docstring extraction with CPP 4.5+.

	Add nodes for the subsections of "The TLS Handshake Protocol".

	guile: Wrap `gnutls_priority_set_direct'; deprecate the old method.

2011-02-22  Ludovic Courtès  <ludo@gnu.org>

	guile: Remove GNUTLS_A_INNER_APPLICATION_FAILURE and GNUTLS_A_INNER_APPLICATION_VERIFICATION.

2010-12-16  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Indented code. Use same indentation but with -nut to avoid usage of tabs. In several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces.

2010-11-23  Simon Josefsson  <simon@josefsson.org>

	Fix dependencies, fixes parallel builds.
	Tiny patch from Graham Gower <graham.gower@gmail.com>.

2010-10-14  Simon Josefsson  <simon@josefsson.org>

	Don't generate DH primes in Guile self checks (for speed).

	Update gnulib files.

	Indent (using GNU indent 2.2.11).

2010-06-03  Nikos Mavrogiannopoulos  <nmav@gnutls.org>

	Documentation updates. Separated big gnutls.texi to chapter to allow easier maintainance.

2010-05-22  Simon Josefsson  <simon@josefsson.org>

	Change GNUTLS into GnuTLS.

2010-04-14  Simon Josefsson  <simon@josefsson.org>

	More indentation.

2010-04-13  Simon Josefsson  <simon@josefsson.org>

	Update gnulib files, fix syntax-check warnings.

2010-01-27  Simon Josefsson  <simon@josefsson.org>

	Update copyright years.

	Fix FSF copyright notices.

2009-11-05  Simon Josefsson  <simon@josefsson.org>

	Indent code.

2009-09-28  Ludovic Courtès  <ludo@gnu.org>

	guile: Adjust for Guile 1.9.3+.
	* guile/src/core.c (mark_session_record_port, free_session_record_port):
	  Conditionalize on `SCM_MAJOR_VERSION == 1 && SCM_MINOR_VERSION <= 8'.
	  (scm_init_gnutls_session_record_port_type): Adjust accordingly.
	  (make_session_record_port): Use `scm_gc_malloc_pointerless ()' when
	  available.

	guile: Syntactic nitpicking.
	* guile/src/core.c (SCM_GNUTLS_MAKE_SESSION_DATA,
	  SCM_GNUTLS_SET_SESSION_RECORD_PORT): Remove extraneous semicolon.

	guile: Use Guile's malloc routines.
	* guile/src/core.c (scm_init_gnutls): Use Guile's malloc routines.

2009-09-23  Ludovic Courtès  <ludo@gnu.org>

	Fix integer/pointer cast warnings in the Guile bindings on x86_64.
	* guile/src/core.c (do_fill_port, fill_session_record_port_input,
	  scm_gnutls_set_session_transport_fd_x): Make sure pointer/integer casts
	  use integers of the right size.

	Update Guile bindings to the current OpenPGP API.
	* guile/src/extra.c (scm_gnutls_openpgp_certificate_id,
	  scm_gnutls_openpgp_certificate_id_x): Use
	  the newer `gnutls_openpgp_crt_get_key_id ()'.

2009-09-23  Ludovic Courtès  <ludo@gnu.org>

	Turn off auto-compilation when using Guile 1.9+.
	* guile/src/Makefile.am (GUILE_FOR_BUILD): Turn off auto-compilation
	  with Guile 1.9+.

	* guile/tests/Makefile.am (TESTS_ENVIRONMENT): Likewise.

	* doc/Makefile.am (GUILE_FOR_BUILD): Likewise.

2009-09-23  Ludovic Courtès  <ludo@gnu.org>

	Fix inclusion of <config.h> in Guile bindings.
	* guile/src/core.c, guile/src/errors.c, guile/src/extra.c,
	  guile/src/utils.c: Include <config.h> first, as suggested by Simon
	  Josefsson.

	* guile/src/utils.h: Don't include <config.h>.

2008-11-04  Simon Josefsson  <simon@josefsson.org>

	Update gnulib files.  Use GFDLv1.3 for manual.

2008-10-30  Simon Josefsson  <simon@josefsson.org>

	Really fix -I's.

	Fix -I's.

	Fix.

	Fixes.

	Separate headers as well.  Clean up -I's.

	Builds on my system now.

2008-07-02  Simon Josefsson  <simon@josefsson.org>

	Indent code.

2008-05-07  Simon Josefsson  <simon@josefsson.org>

	Don't run guile openpgp self tests if openpgp is disabled.

	libgnutls: Compile if SRP is disabled. Report and tiny patches from <jared.jennings.ctr@eglin.af.mil>, see <https://savannah.gnu.org/support/index.php?106342>.

2008-03-20  Ludovic Courtès  <ludo@gnu.org>

	Check whether `-fgnu89-inline' is supported before using it.
	* configure.in: Check for `-fgnu89-inline', define Automake conditional
	  `HAVE_GCC_GNU89_INLINE_OPTION'.

	* guile/src/Makefile.am (AM_CFLAGS): Only use `-fgnu89-inline' when
	  `HAVE_GCC_GNU89_INLINE_OPTION' is true.

2008-03-19  Ludovic Courtès  <ludo@gnu.org>

	guile: Compile with `-fgnu89-inline'.
	* guile/src/Makefile.am (AM_CFLAGS): Add `-fgnu89-inline' when
	  `HAVE_GCC' is true.  This works around the fact that GnuTLS is
	  compiled with `-std=c99', while Guile and GMP expect GNU inline
	  semantics, which defer from C99 inline semantics.

	guile: Don't declare `inline' functions that use `alloca ()'.
	* guile/src/core.c (set_certificate_file): Remove `inline' keyword.

2008-03-07  Ludovic Courtès  <ludo@gnu.org>

	guile: Propagate Guile's CPPFLAGS to `guile-snarf'.

	guile: Include <config.h>, not "config.h".

2008-02-28  Simon Josefsson  <simon@josefsson.org>

	Use __func__ instead of __FUNCTION__. Reported by Tim Mooney, see <https://savannah.gnu.org/support/?106267>. A gnulib module to make sure __func__ is available would be nice.

2008-01-17  Simon Josefsson  <simon@josefsson.org>

	Also test dhe-rsa.

2007-12-12  Ludovic Courtès  <ludo@gnu.org>

	Fix dangling/unused bindings in `(gnutls)'.
	* guile/modules/gnutls.scm (certificate-request->string,
	  error/unknown-algorithm): Add.
	  (error/openpgp-trustdb-version-unsupported): Remove.

	Update Guile OpenPGP test cases to use the new names.
	* guile/tests/*.scm: Substitute `certificate' to `public-key' in tests
	  using the OpenPGP API.

2007-12-12  Ludovic Courtès  <ludo@gnu.org>

	Bump Guile glue libraries version number.
	* guile/modules/gnutls.scm: Load `libguile-gnutls-v-1'.

	* guile/modules/gnutls/extra.scm: Load `libguile-gnutls-extra-v-1'.

	* guile/pre-inst-guile.in: Load `v-1' libraries.

	* guile/src/Makefile.am (lib_LTLIBRARIES): Bump libraries from `v-0' to
	  `v-1'.  Update all variables.

2007-12-12  Ludovic Courtès  <ludo@gnu.org>

	Substitute `certificate' to `public-key' in `(gnutls extra)'.
	* guile/modules/gnutls/build/enums.scm (%openpgp-key-format-enum):
	  Rename to...
	  (%openpgp-certificate-format-enum): This.
	  (%gnutls-extra-enums): Update.

	* guile/modules/gnutls/build/smobs.scm (%openpgp-public-key-smob):
	  Rename to...
	  (%openpgp-certificate-smob): This.
	  (%gnutls-extra-smobs): Update.

	* guile/modules/gnutls/extra.scm: Substitute all `certificate' in all
	  `public-key' names.  Add backward-compatible bindings.

	* guile/src/extra.c: Substitute `certificate' to `public-key'.

2007-12-09  Simon Josefsson  <simon@josefsson.org>

	More GPLv3 fixes.

2007-11-14  Simon Josefsson  <simon@josefsson.org>

	Use new APIs.

	Typo.

	Update API.

	Add unknown-algorithm (new name of unknown-hash-algorithm).

	Remove openpgp trustdb error.

2007-10-26  Ludovic Courtès  <ludo@gnu.org>

	Add `.gitignore'.

2007-10-08  Ludovic Courtès  <ludo@gnu.org>

	Guile: Reflect SRP/PSK changes.
	* guile/modules/gnutls.scm (alert-description/unknown-srp-username,
	  alert-description/missing-srp-username): Remove.
	  (alert-description/unknown-psk-identity): New.

	* guile/modules/gnutls/build/enums.scm (%alert-description-enum):
	  Likewise.

2007-09-11  Ludovic Courtès  <ludo@gnu.org>

	Guile: Fix `x509-certificate-dn-oid' and related functions.
	* guile/src/core.c (X509_CERTIFICATE_DN_OID_FUNCTION_BODY): Use
	  `scm_take_locale_stringn ()' instead of `scm_take_locale_string ()'.

	* NEWS: Update.

2007-08-08  Ludovic Courtès  <ludo@gnu.org>

	Fixed CPPFLAGS for Guile code and documentation.
	* doc/Makefile.am (SNARF_CPPFLAGS): Added
	  `{top_srcdir,top_builddir}/includes' and `top_builddir'.
	  (core.c.texi): Added `&&' between the `make' command and the
	  `$(GUILE_FOR_BUILD)' command.  Use `$(MAKE)' instead of `make'.
	  (extra.c.texi): Likewise.

	* src/Makefile.am (AM_CPPFLAGS): Added
	  `{top_srcdir,top_builddir}/includes'.

2007-07-09  Simon Josefsson  <simon@josefsson.org>

	Fix build failure in doc/ when guile isn't installed built yet.

2007-06-29  Simon Josefsson  <simon@josefsson.org>

	Put $(GUILE_FLAGS) in LIBADD, not LDFLAGS. Reported by ludo@gnu.org (Ludovic Courtès).

2007-06-12  Ludovic Courtes  <ludo@chbouib.org>

	Small cleanups in `guile/tests'.

2007-06-11  Simon Josefsson  <simon@josefsson.org>

	Need to put libguile-gnutls-v-0.la before gnulib_libs, to fix rpath issue.

	Use _LIBADD for libraries, not _LDFLAGS.

2007-06-08  Ludovic Courtes  <ludo@chbouib.org>

	Fix Guile linking so that the right GnuTLS libs are used.
	* guile/src/Makefile.am (GNUTLS_CORE_LIBS, GNUTLS_EXTRA_LIBS): New.
	  (GNULIB_LDFLAGS): Renamed to `GNULIB_LIBS'.  Explicitly pass the `.la'
	  path.
	  (libguile_gnutls_v_0_la_LDFLAGS): Pass `$(GUILE_LDFLAGS)' as the last
	  item so that RPATH is in the right order (i.e., all
	  `$(top_builddir)/...' appear first).
	  (libguile_gnutls_extra_v_0_la_LDFLAGS): Likewise.

2007-06-06  Ludovic Courtes  <ludo@chbouib.org>

	Fixed the `-Wno-strict-prototypes' issue in Guile code.
	* configure.in: Add all custom CFLAGS to `AM_CFLAGS' rather than
	  `CFLAGS', except for `-D_REENTRANT -D_THREAD_SAFE' which must be
	  present during feature tests.  Substitute `AM_CFLAGS'.

	* src/Makefile.am (libguile_gnutls_v_0_la_CFLAGS): Added `$(AM_CFLAGS)'.
	  (libguile_gnutls_extra_v_0_la_CFLAGS): Likewise.
	  (AM_CFLAGS): When GCC is used, add `-Wno-strict-prototypes'.

2007-06-06  Ludovic Courtes  <ludo@chbouib.org>

	Added `guile.m4', per Simon's request.

2007-06-01  Simon Josefsson  <jas@mocca.josefsson.org>

	Need -I for config.h.

2007-06-01  Ludovic Courtes  <ludo@chbouib.org>

	Usage "old-fashion" make suffix rules rather than GNU Make patterns.
	* doc/Makefile (%.c.texi): Removed.
	  (core.c.texi, extra.c.texi): New targets.

	* guile/src/Makefile.am: Renamed `FILE.c.x' to `FILE.x'.
	  (SUFFIXES): Removed.
	  (%.c.x): Removed.
	  (.c.x): New target.

	* guile/src/core.c: Include "core.x" instead of "core.c.x".

	* guile/src/errors.c: Likewise.

	* guile/src/extra.c: Likewise.

2007-06-01  Ludovic Courtes  <ludo@chbouib.org>

	Tiny bug fixes in Guile's documentation extraction.
	* doc/extract-guile-c-doc.scm (main): Use named arguments rather than
	  a single rest arg.
	  Fixed the order of arguments as passed to
	  `run-cpp-and-extract-snarfing' so that `ccache gcc -E' is really
	  passed as `("ccache" "gcc" "-E")' (in this order).

	* guile/modules/system/documentation/c-snarf.scm
	  (run-cpp-and-extract-snarfing): Pass FILE as the last CPP argument.

2007-05-31  Ludovic Courtes  <ludo@chbouib.org>

	Build cleanups following Simon's comments.
	* Makefile.am (SUBDIRS): Add `guile' when `HAVE_GUILE'.

	* configure.in: When `guile-snarf' is not found, set
	  `opt_guile_bindings' to `no' instead of bailing out.

	* src/Makefile.am (GUILE_FOR_BUILD): Fixed `-L' parameter.

2007-05-31  Ludovic Courtès  <ludo@chbouib.org>

	Integrated documentation of Guile bindings.

2007-05-30  Ludovic Courtès  <ludo@chbouib.org>

	Try to handle "function declaration isn't a prototype" warnings.

	Started Guile integration.
	Documentation is still missing.  A bit rough on the edges, but `make'
	and `make check' do work.
