gpgme/lang/cpp/src
Ingo Klöcker 2656d3ee5b
cpp: Add safer member function returning text describing an error
* lang/cpp/src/error.h, lang/cpp/src/context.cpp (class Error): New
member function asStdString.
--

Unlike asString the new function doesn't cache the value returned by
gpgme_strerror_r. This ensures that on Windows the UTF-8 encoded text
is returned for the main thread even if the function was called before
for another thread. For other threads asStdString will still return the
natively encoded error description until UTF-8 encoded error
descriptions can be enabled for all threads (T7185).

GnuPG-bug-id: 7188
2024-07-05 10:05:51 +02:00
..
interfaces cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
callbacks.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
callbacks.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
configuration.cpp cpp: Remove commented out and disabled code 2024-06-10 14:54:48 +02:00
configuration.h cpp,doc: Fix typos in API documentation and source code comments 2023-10-13 09:21:47 +02:00
context_p.h cpp: Allow retrieving import result of key listing with locate mode 2022-05-04 14:31:03 +02:00
context_vanilla.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
context.cpp cpp: Add safer member function returning text describing an error 2024-07-05 10:05:51 +02:00
context.h qt,cpp: Implement adding ADSKs to existing keys 2024-05-22 13:08:50 +02:00
data_p.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
data.cpp qt, cpp: Support larger size-hint on 32 bit builds 2023-06-16 14:33:19 +02:00
data.h qt, cpp: Support larger size-hint on 32 bit builds 2023-06-16 14:33:19 +02:00
decryptionresult.cpp cpp: Expose gpgme_decrypt_result_t.is_mime through cpp API 2023-08-04 11:34:27 +02:00
decryptionresult.h cpp: Expose gpgme_decrypt_result_t.is_mime through cpp API 2023-08-04 11:34:27 +02:00
defaultassuantransaction.cpp cpp: Remove unused include 2023-08-15 11:50:28 +02:00
defaultassuantransaction.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
editinteractor.cpp cpp: Handle smart card op failure status messages 2024-04-05 15:08:01 +02:00
editinteractor.h cpp: Return actual error if revocation fails 2022-04-05 10:15:07 +02:00
encryptionresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
encryptionresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
engineinfo.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
engineinfo.h cpp: Add const-overloads of version comparison operators 2023-02-02 09:47:10 +01:00
error.h cpp: Add safer member function returning text describing an error 2024-07-05 10:05:51 +02:00
eventloopinteractor.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
eventloopinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
exception.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
exception.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
global.h cpp: Support new flags for direct signing/encryption of files 2023-12-19 14:01:18 +01:00
gpgaddexistingsubkeyeditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgaddexistingsubkeyeditinteractor.h cpp: Add interactor to add existing subkeys to other keys 2022-01-12 16:38:58 +01:00
gpgadduserideditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgadduserideditinteractor.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
gpgagentgetinfoassuantransaction.cpp cpp: Remove unused include 2023-08-15 11:50:28 +02:00
gpgagentgetinfoassuantransaction.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
gpggencardkeyinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpggencardkeyinteractor.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
gpgmefw.h cpp: Add information about revocation keys to Key 2024-05-21 16:38:59 +02:00
gpgmepp_export.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
gpgmepp_version.h.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
GpgmeppConfig-w32.cmake.in.in cpp: Remove obsolete compatibility with KF5 variants 2022-06-30 12:30:15 +02:00
GpgmeppConfig.cmake.in.in cpp: Remove obsolete compatibility with KF5 variants 2022-06-30 12:30:15 +02:00
GpgmeppConfigVersion.cmake.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
gpgrevokekeyeditinteractor.cpp cpp: Remove unused include 2023-08-15 11:50:28 +02:00
gpgrevokekeyeditinteractor.h cpp: Do not export symbols of the Private class 2022-04-05 10:05:43 +02:00
gpgsetexpirytimeeditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgsetexpirytimeeditinteractor.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
gpgsetownertrusteditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgsetownertrusteditinteractor.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
gpgsignkeyeditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgsignkeyeditinteractor.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
importresult.cpp cpp: Fix building with C++11 2022-08-19 11:05:37 +02:00
importresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
key.cpp cpp: Add information about revocation keys to Key 2024-05-21 16:38:59 +02:00
key.h cpp: Add information about revocation keys to Key 2024-05-21 16:38:59 +02:00
keygenerationresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
keygenerationresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
keylistresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keylistresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
Makefile.am build,cpp: Create forwarding headers in a gpgme++ folder 2024-07-05 10:02:45 +02:00
notation.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
result_p.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
result.h cpp: Allow changing the error of a result 2022-04-22 17:30:59 +02:00
scdgetinfoassuantransaction.cpp cpp: Remove unused include 2023-08-15 11:50:28 +02:00
scdgetinfoassuantransaction.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
signingresult.cpp cpp: Support new flags for direct signing/encryption of files 2023-12-19 14:01:18 +01:00
signingresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
statusconsumerassuantransaction.cpp Add Assuan transaction that forwards status lines to another object 2020-10-23 13:50:16 +02:00
statusconsumerassuantransaction.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
swdbresult.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
swdbresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
tofuinfo.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
tofuinfo.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
trustitem.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
trustitem.h cpp: Fix includes in public headers 2024-05-24 10:51:32 +02:00
util.cpp cpp: Add internal adapter for passing a vector of strings to gpgme 2022-02-03 15:56:30 +01:00
util.h cpp: Support new keylist modes 2022-04-27 17:21:04 +02:00
verificationresult.cpp cpp: Improve debug output of some enums 2023-02-09 09:56:18 +01:00
verificationresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
vfsmountresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
vfsmountresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00