OSDN Git Service
Ivailo Monev [Fri, 6 Aug 2021 13:16:43 +0000 (16:16 +0300)]
use QSTACKARRAY() macro in qt_addBitmapToPath() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 12:35:21 +0000 (15:35 +0300)]
get rid of Q_NULLPTR definition [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 12:32:18 +0000 (15:32 +0300)]
avoid temporary in QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 12:20:57 +0000 (15:20 +0300)]
optimize QImage::copy()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 5 Aug 2021 11:38:48 +0000 (14:38 +0300)]
return correct value type in QUrl::fromAce()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 5 Aug 2021 11:17:11 +0000 (14:17 +0300)]
remove declaration of non-existing QUrlPrivate::setEncodedAuthority() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 20:33:08 +0000 (23:33 +0300)]
debug type build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 19:36:01 +0000 (22:36 +0300)]
QIODevice::read() cannot overflow in read_xpm_string()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 16:01:05 +0000 (19:01 +0300)]
set handler format based on its name when format is detected from content
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 15:56:03 +0000 (18:56 +0300)]
re-initialize handler on format change
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 15:13:07 +0000 (18:13 +0300)]
do not override image plugin format, assume it sets device
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 14:34:25 +0000 (17:34 +0300)]
check device pointer in QtIcoHandler::canRead()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 14:32:33 +0000 (17:32 +0300)]
assume plugins do not change the device position in createReadHandlerHelper() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 14:24:33 +0000 (17:24 +0300)]
do not probe file extensions from QImageReaderPrivate::initHandler()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 13:37:42 +0000 (16:37 +0300)]
mark warning case in QBmpHandler::canRead() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 4 Aug 2021 13:37:08 +0000 (16:37 +0300)]
remove unused qt_read_dib() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 3 Aug 2021 06:20:56 +0000 (09:20 +0300)]
set device of ICO format handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 3 Aug 2021 05:51:24 +0000 (08:51 +0300)]
use foreach() for iteration in createReadHandlerHelper() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 2 Aug 2021 18:57:02 +0000 (21:57 +0300)]
tests copyright update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 2 Aug 2021 18:51:04 +0000 (21:51 +0300)]
clear size metadata attribute from QFSFileEngine::setSize()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 2 Aug 2021 17:47:57 +0000 (20:47 +0300)]
check if string is empty in QString::append()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 2 Aug 2021 14:20:47 +0000 (17:20 +0300)]
correct maximum characters calculation for some codecs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 31 Jul 2021 16:56:52 +0000 (19:56 +0300)]
drop wide character and string support [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 31 Jul 2021 12:24:49 +0000 (15:24 +0300)]
update URL TLDs table data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 29 Jul 2021 23:18:55 +0000 (02:18 +0300)]
use qAtomicAssign() in QDomDocumentType assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 29 Jul 2021 22:55:16 +0000 (01:55 +0300)]
remove documentation for removed QImageIOHandler::ImageOption::Description enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 29 Jul 2021 17:26:16 +0000 (20:26 +0300)]
avoid temporary in QImageData::create()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 29 Jul 2021 01:23:36 +0000 (04:23 +0300)]
avoid branch in qt_xForm_helper() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 29 Jul 2021 01:16:46 +0000 (04:16 +0300)]
micro-optimize QImage::transformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 29 Jul 2021 01:16:30 +0000 (04:16 +0300)]
remove unused IWX_PIX() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 26 Jul 2021 19:33:34 +0000 (22:33 +0300)]
use non-recursive mutex for library paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 26 Jul 2021 12:19:27 +0000 (15:19 +0300)]
use foreach() for iteration in createWriteHandlerHelper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 26 Jul 2021 11:48:11 +0000 (14:48 +0300)]
ensure image handlers either peek or restore device position
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 25 Jul 2021 22:09:35 +0000 (01:09 +0300)]
try built-in image handlers first
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Jul 2021 22:06:16 +0000 (01:06 +0300)]
use QSTACKARRAY() macro in QString::replace()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Jul 2021 20:50:48 +0000 (23:50 +0300)]
check size instead of data pointer of QByteArray
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Jul 2021 12:20:58 +0000 (15:20 +0300)]
DH key algorithm support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Jul 2021 00:05:24 +0000 (03:05 +0300)]
translations update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 20:36:40 +0000 (23:36 +0300)]
use QSTACKARRAY() macro in QPaintEngineEx
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 20:13:51 +0000 (23:13 +0300)]
use QSTACKARRAY() macro in QMetaObject::normalizedSignature()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 19:57:25 +0000 (22:57 +0300)]
check size instead of data pointer of QString
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 19:36:02 +0000 (22:36 +0300)]
QCryptographicHash documentation update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 19:31:46 +0000 (22:31 +0300)]
remove explicit keyword from stub QReadWriteLock constructor [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 09:00:40 +0000 (12:00 +0300)]
drop support for SHA-224 and SHA-384 hash sum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Jul 2021 07:08:51 +0000 (10:08 +0300)]
mark warning case in QBuffer as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 22 Jul 2021 21:39:12 +0000 (00:39 +0300)]
use non-recursive mutex for QVariantAnimation interpolators
fixes crashes on FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 22 Jul 2021 20:50:12 +0000 (23:50 +0300)]
check if string is empty in QString data stream operator
fixes assert and crash
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 22 Jul 2021 14:36:57 +0000 (17:36 +0300)]
README update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 22 Jul 2021 11:15:11 +0000 (14:15 +0300)]
drop support for recursive mutexes [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 22 Jul 2021 11:00:21 +0000 (14:00 +0300)]
specialize mutex pools via template
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Jul 2021 22:49:47 +0000 (01:49 +0300)]
replace recursive QMutex-es with std::recursive_mutex where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Jul 2021 21:10:43 +0000 (00:10 +0300)]
drop support for recursive read-write locks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Jul 2021 17:27:35 +0000 (20:27 +0300)]
use QSTACKARRAY() in QHostInfo::localDomainName()
fixes assert in QUrl::fromAce()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Jul 2021 16:02:10 +0000 (19:02 +0300)]
properly initialize QProcessPrivate member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 17 Jul 2021 17:40:32 +0000 (20:40 +0300)]
assume QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH is not defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 17 Jul 2021 17:39:09 +0000 (20:39 +0300)]
remove redundant QImageTextureGlyphCache::glyphMargin() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 17:13:36 +0000 (20:13 +0300)]
use QSTACKARRAY() macro in QUuid::toString() and QUuid::toByteArray()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 16:26:03 +0000 (19:26 +0300)]
use QSTACKARRAY() macro in qt_print_backtrace() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 15:55:57 +0000 (18:55 +0300)]
use QSTACKARRAY() macro in QString data streaming operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 11:17:27 +0000 (14:17 +0300)]
rename QVector allocation methods [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 10:52:04 +0000 (13:52 +0300)]
add QVector test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 02:00:07 +0000 (05:00 +0300)]
make use of IS_RAW_DATA() macro in QByteArray::nulTerminated()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 00:52:21 +0000 (03:52 +0300)]
replace QList<T>::detach_helper() with its body [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 14 Jul 2021 00:41:52 +0000 (03:41 +0300)]
move qAllocMore() to qvector source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 23:03:24 +0000 (02:03 +0300)]
simplify QList<T>::append(), QList<T>::prepend() and QList<T>::insert() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 22:14:10 +0000 (01:14 +0300)]
benchmark build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 22:11:32 +0000 (01:11 +0300)]
add QMimeData test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 21:33:47 +0000 (00:33 +0300)]
add QLine test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 21:13:16 +0000 (00:13 +0300)]
add QList test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 19:55:14 +0000 (22:55 +0300)]
minimize use of qAllocMore()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 19:26:25 +0000 (22:26 +0300)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 15:22:06 +0000 (18:22 +0300)]
remove unused QGIFFormat::gif89 member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 15:19:24 +0000 (18:19 +0300)]
use QSTACKARRAY() in QNetworkInterfacePrivate::makeHwAddress()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 15:17:24 +0000 (18:17 +0300)]
initialize block members in QNtlmPhase2Block constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 15:08:25 +0000 (18:08 +0300)]
mark constants in sanityCheck() function as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 14:47:58 +0000 (17:47 +0300)]
mark constants in charString() as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 14:27:06 +0000 (17:27 +0300)]
avoid temporary in compressHelper() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 14:24:14 +0000 (17:24 +0300)]
use uninitialized buffer in QPdf::generateLinearGradientShader()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 14:16:55 +0000 (17:16 +0300)]
mark constants in qt_debug_path() and QPainterPath debug operator as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 14:16:25 +0000 (17:16 +0300)]
use QSTACKARRAY() macro in QX11PaintEngine::updatePen()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 13:17:32 +0000 (16:17 +0300)]
use QSTACKARRAY() for resultBuffer in QTest::printBenchmarkResult()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 11:49:50 +0000 (14:49 +0300)]
CodeQL warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 10:49:54 +0000 (13:49 +0300)]
use QSTACKARRAY() macro in toDouble() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Jul 2021 10:21:07 +0000 (13:21 +0300)]
remove deprecated QApplication::graphicsSystem() and QApplication::setGraphicsSystem()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Jul 2021 16:52:33 +0000 (19:52 +0300)]
remove redundant qmutex/qmutexpool_p header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Jul 2021 16:50:57 +0000 (19:50 +0300)]
use scoped mutex locker in qMakePreparedStmtId()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Jul 2021 13:43:41 +0000 (16:43 +0300)]
remove unused and internal QByteArray::isSharedWith() and QString::isSharedWith() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Jul 2021 09:08:02 +0000 (12:08 +0300)]
replace uninitialized QByteArray/QString() with QSTACKARRAY() in QByteArray::simplified()/QString::simplified()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Jul 2021 00:57:08 +0000 (03:57 +0300)]
document QChar::UnicodeVersion::Unicode_14_0 enum [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 23:06:36 +0000 (02:06 +0300)]
remove $FreeBSD$ tag from its package file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 23:02:04 +0000 (02:02 +0300)]
forward compatible PostgreSQL version checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 23:00:54 +0000 (02:00 +0300)]
simplify PostgreSQL version checks in QPSQLDriver::primaryIndex() and QPSQLDriver::record()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 20:59:15 +0000 (23:59 +0300)]
use almost the same code as QByteArray::simplified() in QString::simplified()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 12:45:20 +0000 (15:45 +0300)]
CodeQL warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 11:42:54 +0000 (14:42 +0300)]
depend on JPEG library via USES [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 11:14:55 +0000 (14:14 +0300)]
make use of QSTACKARRAY() in query_colormap() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 11:14:18 +0000 (14:14 +0300)]
remove redundant memset() call in qt_error_string()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 10:59:42 +0000 (13:59 +0300)]
CodeQL warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 09:33:00 +0000 (12:33 +0300)]
mark some warning cases in QImage as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Jul 2021 09:02:43 +0000 (12:02 +0300)]
CodeQL warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>