OSDN Git Service
Ivailo Monev [Tue, 24 Aug 2021 20:34:39 +0000 (23:34 +0300)]
export component symbols only when building them [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 13:22:30 +0000 (16:22 +0300)]
fix regression since
1435a6a29236367aadec274588c9684f82b6ad85
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 01:37:39 +0000 (04:37 +0300)]
add QGraphicsEffect test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 01:00:48 +0000 (04:00 +0300)]
Ivailo Monev [Tue, 24 Aug 2021 00:34:18 +0000 (03:34 +0300)]
assume QT_DEPRECATED is defined in qscriptcontenxtinfo header [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 00:33:36 +0000 (03:33 +0300)]
remove deprecated QGraphicsEffect::sourceIsPixmap() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 00:29:29 +0000 (03:29 +0300)]
minor comment correction in qguicommon_p header [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 00:01:05 +0000 (03:01 +0300)]
plug QJsonDocument memory leaks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 16:49:17 +0000 (19:49 +0300)]
add QVectorND test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 16:21:05 +0000 (19:21 +0300)]
add QGlobal test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 16:14:53 +0000 (19:14 +0300)]
use QElapsedTimer in QMoviePrivate::next()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 15:18:47 +0000 (18:18 +0300)]
cache some commonly used colors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 15:17:55 +0000 (18:17 +0300)]
make use of monoColorTable() in convert_Indexed8_to_X32()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 05:56:17 +0000 (08:56 +0300)]
read QByteArray/QString from QDataStream without pre-allocations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 04:23:20 +0000 (07:23 +0300)]
use public QByteArray methods in QByteRef [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 23:42:31 +0000 (02:42 +0300)]
remove supposedly fast spans code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 23:42:06 +0000 (02:42 +0300)]
use qVariantToHelper<T>() in QVariant::toBool()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 23:29:39 +0000 (02:29 +0300)]
assume scale argument is not null in qt_scaleForTransform()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 22:24:24 +0000 (01:24 +0300)]
make use of monoColorTable() and grayColorTable() in ICOReader::iconAt() and ensureValidImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 21:32:14 +0000 (00:32 +0300)]
consistent qCompress()/qUncompress() warning messages
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 02:09:30 +0000 (05:09 +0300)]
delete copy constructor and assignment operator [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Aug 2021 13:32:22 +0000 (16:32 +0300)]
de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Aug 2021 01:24:22 +0000 (04:24 +0300)]
avoid temporary in QByteArray::prepend()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 23:02:29 +0000 (02:02 +0300)]
stack use-after-delete and out-of-bounds in QByteArray fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 22:25:32 +0000 (01:25 +0300)]
compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 22:03:55 +0000 (01:03 +0300)]
replace qChecksum32() with qHash() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 21:40:44 +0000 (00:40 +0300)]
replace qCompress()/qUncompress() with qFastCompress()/qFastUncompress() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 13:48:51 +0000 (16:48 +0300)]
deal with TODO related to color table caching in QImage::alphaChannel()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 13:21:51 +0000 (16:21 +0300)]
make use of monoColorTable() in QBitmap::fromData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 11:52:13 +0000 (14:52 +0300)]
avoid detaching QImage multiple times to set color table
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 02:07:35 +0000 (05:07 +0300)]
QImage::alphaChannel() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 02:00:07 +0000 (05:00 +0300)]
QImage::createHeuristicMask() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 01:27:48 +0000 (04:27 +0300)]
remove unused QIconLoaderEngineEntry::count member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Aug 2021 11:02:32 +0000 (14:02 +0300)]
fix enumeration mismatch
upstream commit:
https://github.com/qt/qtbase/commit/
ca88c6ab58603902b3239149b8e8f2d234d80ce4
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Aug 2021 12:22:04 +0000 (15:22 +0300)]
move keys enums near modifier enums
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 13 Aug 2021 20:48:06 +0000 (23:48 +0300)]
use renameat2() if available to fix race condition in QFile::rename()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 13 Aug 2021 20:30:44 +0000 (23:30 +0300)]
remove QFile::rename() fallback bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 13 Aug 2021 20:07:38 +0000 (23:07 +0300)]
mark warning case in QFile as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 13 Aug 2021 16:34:38 +0000 (19:34 +0300)]
version bump [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 21:15:21 +0000 (00:15 +0300)]
reuse float/double member of QVariant for qreal [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 19:21:12 +0000 (22:21 +0300)]
add QFile test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 19:11:57 +0000 (22:11 +0300)]
add QMetaObject test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 18:52:47 +0000 (21:52 +0300)]
avoid QByteArray resizing in QRingBuffer::ungetChar()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 15:45:17 +0000 (18:45 +0300)]
README update [ci skip]
rasterizer is 10x faster now on some benchmarks, see:
https://github.com/fluxer/katie/wiki/Benchmarking-vs-Qt4
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 15:00:20 +0000 (18:00 +0300)]
re-stat() when QFile size is requested
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 14:58:44 +0000 (17:58 +0300)]
refuse to open directories via QFSFileEngine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 12:51:20 +0000 (15:51 +0300)]
do not buffer QFile writes internally
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Aug 2021 12:41:55 +0000 (15:41 +0300)]
remove compatibility bits in QFile::open()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Aug 2021 16:45:20 +0000 (19:45 +0300)]
validate key sequences
for reference:
https://github.com/fluxer/kdelibs/blob/
af814079c0eece5d101ff7d5f3ad36fb3730b6f7/kdeui/tests/kshortcuttest.cpp#L64
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Aug 2021 10:54:59 +0000 (13:54 +0300)]
add QStringRef test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Aug 2021 10:54:40 +0000 (13:54 +0300)]
make QString::startsWith()/QString::endsWith() consistent with QByteArray::startsWith()/QByteArray::endsWith()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Aug 2021 01:18:04 +0000 (04:18 +0300)]
use QSTACKARRAY() macro in qInvokeTestMethod() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Aug 2021 00:39:58 +0000 (03:39 +0300)]
convert strings via the stream codec in QTextStream streaming operators
fixes printing of non-ASCII debug messages (no longer printed as question
marks)
upstream commit:
https://github.com/qt/qtbase/commit/
e96a311334a5c70d5ffcc2ca5c10919952b99636
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 21:31:40 +0000 (00:31 +0300)]
print key sequence decoding compatibility
fixes KSnapshot shortcut via khotkeys action
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 21:22:14 +0000 (00:22 +0300)]
add QKeySequence test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 20:46:34 +0000 (23:46 +0300)]
remove unused and private QKeySequence methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 8 Aug 2021 18:30:13 +0000 (21:30 +0300)]
replace QString::vsprintf() with qvsnprintf() in qt_message() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>