gpgme/lang
Ingo Klöcker 40ca3d5896
qt: Clean up after failure or cancel of sign/encrypt archive operation
* lang/qt/src/qgpgmeencryptarchivejob.cpp (encrypt): Remove output file
if operation was canceled or failed.
* lang/qt/src/qgpgmesignarchivejob.cpp (sign): Ditto.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp (sign_encrypt): Ditto.

* lang/qt/tests/run-encryptarchivejob.cpp (CommandLineOptions): Add
field cancelTimeout.
(parseCommandLine): Add option --cancel-after. Parse option value.
(main): Check for invalid cancel timeout. Start timer for canceling
the job.
* lang/qt/tests/run-signarchivejob.cpp (CommandLineOptions): Add
field cancelTimeout.
(parseCommandLine): Add option --cancel-after. Parse option value.
(main): Check for invalid cancel timeout. Start timer for canceling
the job.
--

This change ensures that the output file is removed if the creation of
a signed or encrypted archive was canceled or failed. The new option
of the test runners enables testing the cancelation of the jobs.

GnuPG-bug-id: 6584
2023-08-16 14:23:15 +02:00
..
cl Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
cpp cpp: Remove unused include 2023-08-15 11:50:28 +02:00
js js: improve connection check 2019-07-03 16:19:44 +02:00
python cpp,python: Respect --disable-gpg-test for tests 2023-05-30 11:44:17 +02:00
qt qt: Clean up after failure or cancel of sign/encrypt archive operation 2023-08-16 14:23:15 +02:00
Makefile.am Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
README js: Initial commit for JavaScript Native Messaging API 2018-04-10 18:47:59 +02:00

Language Support for GPGME
--------------------------

This directory contains support for other languages than C.

Please note that language support components may be under a different
license than GPGME itself.  You can find more information in each
sub-directory.

Directory	Language

cl		Common Lisp
cpp		C++
qt		Qt-Framework API
python		Python 2 and 3 (module name: gpg)
js              Native messaging client for the gpgme-json server.