OSDN Git Service
Ivailo Monev [Fri, 27 Aug 2021 00:35:58 +0000 (03:35 +0300)]
use boolean instead of pointer as qRegisterMetaType<T>() argument [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 00:09:53 +0000 (03:09 +0300)]
remove dummy qRegisterMetaType<T>() and qRegisterMetaTypeStreamOperators<T>() arugments [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 23:25:40 +0000 (02:25 +0300)]
lseek() is not documented to be interruptable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 22:29:46 +0000 (01:29 +0300)]
close file descriptor when it is owned by QFSFileEngine and seek to end fails
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 21:33:53 +0000 (00:33 +0300)]
skip tst_QFile::copyShouldntOverwrite() test case if current user is root
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 21:12:37 +0000 (00:12 +0300)]
do not test if renaming file to /etc/renamefile fails if current user is root
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 20:56:56 +0000 (23:56 +0300)]
/proc/curproc/map does not exist (by default) on current stable FreeBSD (13.0)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 20:22:07 +0000 (23:22 +0300)]
do not use sendfile() on FreeBSD/DragonBSD to copy files
works only for sockets, failure check was not correct too
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 17:57:07 +0000 (20:57 +0300)]
remove unused ToolBarManager::m_configureableMainWindow member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 17:55:08 +0000 (20:55 +0300)]
remove unused ZoomView::m_resizeBlocked member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 17:09:09 +0000 (20:09 +0300)]
open buffer in write-only mode in QSvgPaintEngine::drawImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 15:07:05 +0000 (18:07 +0300)]
use uninitialized buffers where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 14:17:40 +0000 (17:17 +0300)]
compiler warning fix
upstream commit:
https://github.com/qt/qttools/commit/
3b4beaff963d087bb5c7b34c6c2713d5722fc122
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 13:56:52 +0000 (16:56 +0300)]
compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 12:40:47 +0000 (15:40 +0300)]
remove unsupported QAuthenticator methods leftovers
upstream commit:
https://github.com/qt/qtbase/commit/
8a1baaf3364fd5c4e8d6735b445381beef0c5e56
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 11:16:29 +0000 (14:16 +0300)]
initialize qt_qprocess_deadChild_pipe variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 11:02:54 +0000 (14:02 +0300)]
remove HTML-related JSC string functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 03:03:04 +0000 (06:03 +0300)]
format and indent QAbstractSocket::setSocketOption() and QAbstractSocket::socketOption()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 02:49:20 +0000 (05:49 +0300)]
remove unused and internal socket option
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 02:27:24 +0000 (05:27 +0300)]
mark warning case in QLocalServer::listen() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 22:03:56 +0000 (01:03 +0300)]
call QTextCodec::fromUnicode() overload from QString::toAscii() and QString::toLocal8Bit()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 17:36:02 +0000 (20:36 +0300)]
assume M_PI is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 16:25:11 +0000 (19:25 +0300)]
replace M_PI / 2 with M_PI_2 definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 16:15:02 +0000 (19:15 +0300)]
de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 14:38:20 +0000 (17:38 +0300)]
drop symbian/harmattan related bearer management support [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 13:30:51 +0000 (16:30 +0300)]
use QSTACKARRAY() macro for arrays in QX11PixmapData
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 13:18:47 +0000 (16:18 +0300)]
move some constants to qcorecommon_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 12:51:52 +0000 (15:51 +0300)]
indent swtches in QSvgPaintEngine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>