Remove never working TrustItem listing functionality
* src/CMakeLists.txt (Gpgmepp_SOURCES): Remove trustitem.cpp. (Gpgmepp_HEADERS): Remove trustitem.h. * src/context.cpp, src/context.h (class Context): Remove member functions startTrustItemListing, nextTrustItem, endTrustItemListing. * src/context_p.h (enum Context::Private::Operation): Remove value TrustList. * src/eventloopinteractor.cpp (EventLoopInteractor::Private::eventIOCb): Remove handling of event GPGME_EVENT_NEXT_TRUSTITEM. * src/eventloopinteractor.h (EventLoopInteractor): Remove pure virtual nextTrustItemEvent. * src/trustitem.cpp, src/trustitem.h: Remove files.
From gpgme commit 7e6a65e6:
"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[sic!]) instead of failing with a incomprehensible error code."
(gpgme 1.14.0 was released in summer 2020)
- GnuPG-bug-id: T4834