From 5811d069d3b391e9fd77c1062a2d96be41645422 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Fri, 16 Jun 2023 14:33:19 +0200 Subject: qt, cpp: Support larger size-hint on 32 bit builds * NEWS: Mention this. * lang/cpp/src/data.h, lang/cpp/src/data.cpp (Data::setSizeHint): New. * lang/qt/src/qgpgmedecryptjob.cpp, lang/qt/src/qgpgmedecryptverifyarchivejob.cpp, lang/qt/src/qgpgmedecryptverifyjob.cpp, lang/qt/src/qgpgmeencryptjob.cpp, lang/qt/src/qgpgmesignencryptjob.cpp, lang/qt/src/qgpgmesignjob.cpp, lang/qt/src/qgpgmeverifydetachedjob.cpp, lang/qt/src/qgpgmeverifyopaquejob.cpp: Set size for input IODevice. -- This fixes the case where the old detection of the size of QIOdevice using seek would overflow and instead explicitly uses QIODevice::size to check for the size and pass it through as an uint64. GnuPG-Bug-Id: T6534 --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ec8024fd..7c92e62f 100644 --- a/NEWS +++ b/NEWS @@ -1,12 +1,17 @@ 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] + * Error::isCanceled now also returns true for error code GPG_ERR_FULLY_CANCELED. [T6510] * Interface changes relative to the 1.20.0 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpp: Data::setFlag NEW. + cpp: Data::setSizeHint NEW. Noteworthy changes in version 1.20.0 (2023-04-20) ------------------------------------------------- -- cgit v1.2.3