OSDN Git Service
Ivailo Monev [Sun, 8 Aug 2021 01:34:24 +0000 (04:34 +0300)]
translations update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 01:32:42 +0000 (04:32 +0300)]
optimize qt_x11_wait_for_window_manager()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 00:53:46 +0000 (03:53 +0300)]
remove redundant Q_DECL_CONSTEXPR definition [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 00:31:20 +0000 (03:31 +0300)]
remove unused QDOC_PROPERTY() macro [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 14:26:48 +0000 (17:26 +0300)]
replace QString::sprintf() with qsnprintf() in QHostAddress::toString()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 14:04:30 +0000 (17:04 +0300)]
replace sprintf() with qsnprintf() in QColor::name()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 14:04:09 +0000 (17:04 +0300)]
use QSTACKARRAY() macro in QHostAddress::toString()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 13:54:35 +0000 (16:54 +0300)]
de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 13:46:24 +0000 (16:46 +0300)]
optimize QColor::name()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 13:23:10 +0000 (16:23 +0300)]
prefer QColor::name() over QString::arg() cascade
upstream commit:
https://github.com/qt/qtsvg/commit/
96d6354cf7e13797ab419ca9e74b89dd33f68ffe
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 12:34:36 +0000 (15:34 +0300)]
add QMargins test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 12:22:41 +0000 (15:22 +0300)]
make QMargins equal/not equal operators public [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 11:37:56 +0000 (14:37 +0300)]
add QDrag test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 7 Aug 2021 00:02:11 +0000 (03:02 +0300)]
replace qMemEquals() with ucstrcmp()/ucstrncmp() calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 20:57:53 +0000 (23:57 +0300)]
get rid of QSysInfo class [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 20:51:52 +0000 (23:51 +0300)]
remove qt3 support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 19:34:41 +0000 (22:34 +0300)]
set QPainter::TextAntialiasing based on state hints in QPainterPrivate::draw_helper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 19:32:21 +0000 (22:32 +0300)]
remove bogus quality option of PNG handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 16:39:32 +0000 (19:39 +0300)]
Revert "reduce oveflow chance in tick counters"
This reverts commit
a278b3e854ec20dace996766509bc25e08b89319.
Ivailo Monev [Fri, 6 Aug 2021 15:55:49 +0000 (18:55 +0300)]
assume device pointer passed to qt_inflateGZipDataFrom() is not null
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 15:54:56 +0000 (18:54 +0300)]
export qt_inflateGZipDataFrom() for tests
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 15:15:00 +0000 (18:15 +0300)]
add QStringMatcher test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 6 Aug 2021 13:40:39 +0000 (16:40 +0300)]
remove redundant convert_ARGB_to_Indexed8() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>