aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-06-19 17:52:30 +0200
committerIngo Klöcker <[email protected]>2023-06-19 18:21:46 +0200
commite608315392cc5b7ddf51e16dce5fe7e99b83f011 (patch)
treefc455de8a1d6131d1780c2c64bc50fef6d98da48 /NEWS
parentcore: Support writing the sign/encrypt output directly to a file (diff)
downloadgpgme-e608315392cc5b7ddf51e16dce5fe7e99b83f011.tar.gz
gpgme-e608315392cc5b7ddf51e16dce5fe7e99b83f011.zip
qt: Support writing signed/encrypted archives directly to a file
* lang/qt/src/encryptarchivejob.cpp, lang/qt/src/encryptarchivejob.h (EncryptArchiveJob): Add member functions setRecipients, recipients, setInputPaths, inputPaths, setOutputFile, outputFile, setEncryptionFlags, encryptionFlags. * lang/qt/src/encryptarchivejob_p.h (EncryptArchiveJobPrivate): Add members m_recipients, m_inputPaths, m_outputFilePath, m_encryptionFlags. * lang/qt/src/qgpgmeencryptarchivejob.cpp (encrypt): Move creation of outdata to encrypt_to_io_device. (encrypt_to_io_device, encrypt_to_filename): New. (QGpgMEEncryptArchiveJob::start): Use encrypt_to_io_device instead of encrypt. (QGpgMEEncryptArchiveJobPrivate::startIt): Start the job with the values from member variables. * lang/qt/src/qgpgmesignarchivejob.cpp (sign): Move creation of outdata to sign_to_io_device. (sign_to_io_device, sign_to_filename): New. (QGpgMESignArchiveJob::start): Use sign_to_io_device instead of sign. (QGpgMESignArchiveJobPrivate::startIt): Start the job with the values from member variables. * lang/qt/src/qgpgmesignencryptarchivejob.cpp (sign_encrypt): Move creation of outdata to sign_encrypt_to_io_device. (sign_encrypt_to_io_device, sign_encrypt_to_filename): New. (QGpgMESignEncryptArchiveJob::start): Use sign_encrypt_to_io_device instead of sign_encrypt. (QGpgMESignEncryptArchiveJobPrivate::startIt): Start the job with the values from member variables. * lang/qt/src/signarchivejob.cpp, lang/qt/src/signarchivejob.h (SignArchiveJob): Add member functions setSigner, signers, setInputPaths, inputPaths, setOutputFile, outputFile. * lang/qt/src/signarchivejob_p.h (SignArchiveJobPrivate): Add members m_signers, m_inputPaths, m_outputFilePath. * lang/qt/src/signencryptarchivejob.cpp, lang/qt/src/signencryptarchivejob.h (SignEncryptArchiveJob): Add member functions setSigner, signers, setRecipients, recipients, setInputPaths, inputPaths, setOutputFile, outputFile, setEncryptionFlags, encryptionFlags. * lang/qt/src/signencryptarchivejob_p.h (SignEncryptArchiveJobPrivate): Add members m_signers, m_recipients, m_inputPaths, m_outputFilePath, m_encryptionFlags. * lang/qt/tests/run-encryptarchivejob.cpp (createOutput): Remove. (checkOutputFilePath): New. (main): Create file output writing to stdout if no archive name (or "-") is given. Exit if file with given archive name already exists. Make the jobs write the created archive directly to the given archive name. * lang/qt/tests/run-signarchivejob.cpp (createOutput): Remove. (checkOutputFilePath): New. (main): Create file output writing to stdout if no archive name (or "-") is given. Exit if file with given archive name already exists. Make the jobs write the created archive directly to the given archive name. -- This makes it possible to tell gpgtar to write the created archive directly to a specified file bypassing GpgME's Data IO. GnuPG-bug-id: 6530
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS43
1 files changed, 37 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index f61b354b..ce72d610 100644
--- a/NEWS
+++ b/NEWS
@@ -1,18 +1,49 @@
Noteworthy changes in version 1.21.0 (unreleased)
-------------------------------------------------
- * Qt Jobs working with QIODeviceDataProvider now properly
- handle input-size hints and progress for files larger.
- 2^32 bytes in 32 bit builds. [T6534]
+ * Extended gpgme_op_encrypt*, gpgme_op_encrypt_sign*, and
+ gpgme_op_sign* to allow writing the output directly to a
+ file. [T6530]
+
+ * qt: Allow writing the created archives directly to a
+ file. [T6530]
- * Error::isCanceled now also returns true for error code
+ * qt: Qt Jobs working with QIODeviceDataProvider now properly
+ handle input-size hints and progress for files larger.
+ 2^32 bytes in 32 bit builds. [T6534]
+
+ * cpp: Error::isCanceled now also returns true for error code
GPG_ERR_FULLY_CANCELED. [T6510]
-* Interface changes relative to the 1.20.0 release:
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * Interface changes relative to the 1.20.0 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp: Data::setFlag NEW.
cpp: Data::setSizeHint NEW.
qt: Job::startIt NEW.
+ qt: EncryptArchiveJob::setRecipients NEW.
+ qt: EncryptArchiveJob::recipients NEW.
+ qt: EncryptArchiveJob::setInputPaths NEW.
+ qt: EncryptArchiveJob::inputPaths NEW.
+ qt: EncryptArchiveJob::setOutputFile NEW.
+ qt: EncryptArchiveJob::outputFile NEW.
+ qt: EncryptArchiveJob::setEncryptionFlags NEW.
+ qt: EncryptArchiveJob::encryptionFlags NEW.
+ qt: SignArchiveJob::setSigners NEW.
+ qt: SignArchiveJob::signers NEW.
+ qt: SignArchiveJob::setInputPaths NEW.
+ qt: SignArchiveJob::inputPaths NEW.
+ qt: SignArchiveJob::setOutputFile NEW.
+ qt: SignArchiveJob::outputFile NEW.
+ qt: SignEncryptArchiveJob::setSigners NEW.
+ qt: SignEncryptArchiveJob::signers NEW.
+ qt: SignEncryptArchiveJob::setRecipients NEW.
+ qt: SignEncryptArchiveJob::recipients NEW.
+ qt: SignEncryptArchiveJob::setInputPaths NEW.
+ qt: SignEncryptArchiveJob::inputPaths NEW.
+ qt: SignEncryptArchiveJob::setOutputFile NEW.
+ qt: SignEncryptArchiveJob::outputFile NEW.
+ qt: SignEncryptArchiveJob::setEncryptionFlags NEW.
+ qt: SignEncryptArchiveJob::encryptionFlags NEW.
Noteworthy changes in version 1.20.0 (2023-04-20)
-------------------------------------------------