From 7e6a65e66a96278bed5fed6d0b75887c0f032c4e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 21 Feb 2025 10:56:00 +0100 Subject: Remove the long deprecated and never working trust list functions. * src/trust-item.c: Remove file. * src/trustlist.c: Remove file. * src/Makefile.am (main_sources): Remove those files. * src/gpgme.h.in (GPGME_EVENT_NEXT_TRUSTITEM): Remove. (gpgme_trust_item_t, GpgmeTrustItem): Remove. (gpgme_op_trustlist_start): Remove. (gpgme_op_trustlist_next): Remove. (gpgme_op_trustlist_end): Remove. (gpgme_trust_item_ref): Remove. (gpgme_trust_item_unref, gpgme_trust_item_release): Remove. * src/gpgme.def: Remove removed functions. * src/libgpgme.vers: Ditto. -- The GPGME_ATTR_foo based functions are deprecated since 2003 and it is time to remove them now. The trustlist functions never worked: This never worked in reality because the required feature has been removed from GnuPG version 1.3.2 soon after introduction of this feature in gpgme in 2003. It was anyway marked as experimental. They even returned GPG_ERR_NOT_IMPLEMENTED since gpgme 1.14.0 (summer 2000) instead of failing with a incomprehensible error code. GnuPG-bug-id: 4834 --- NEWS | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 85767c71..4505b57c 100644 --- a/NEWS +++ b/NEWS @@ -1,9 +1,14 @@ Noteworthy changes in version 2.0.0 (unreleased) ------------------------------------------------ - * Removed types and functions deprecated since 2003 or which had only - experimental use. + * Removed the gpgme_attr_t enums and their functions which were + deprecated since 2003. [rMd54d6eaa64] + * Removed the never implemented or announced GPGME_EXPORT_MODE_NOUID + flags. [rMd54d6eaa64] + + * Removed the entire trustlist feature which worked anyway only for a + short period in 2003. [T4834] * Interface changes relative to the 1.24 branch: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17,7 +22,15 @@ Noteworthy changes in version 2.0.0 (unreleased) gpgme_trust_item_get_string_attr REMOVED. gpgme_trust_item_get_int_attr REMOVED. GPGME_EXPORT_MODE_NOUID REMOVED. - + GPGME_EVENT_NEXT_TRUSTITEM REMOVED. + gpgme_trust_item_t REMOVED. + GpgmeTrustItem REMOVED. + gpgme_op_trustlist_start REMOVED. + gpgme_op_trustlist_next REMOVED. + gpgme_op_trustlist_end REMOVED. + gpgme_trust_item_ref REMOVED. + gpgme_trust_item_unref REMOVED. + gpgme_trust_item_release REMOVED. Noteworthy changes in version 1.24.1 (2024-12-04) -- cgit v1.2.3