Commit graph

3115 commits

Author SHA1 Message Date
Ivailo Monev
3a30c3e7fb remove redundant QDeclarativeAbstractAnimationPrivate member size specifiers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-31 00:13:27 +00:00
Ivailo Monev
2af2359f17 replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-31 00:12:56 +00:00
Ivailo Monev
c941712d22 effectively revert c8e884c2d3
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-31 00:03:00 +00:00
Ivailo Monev
e24b7745a3 avoid temporary in Parser::parse()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 23:54:15 +00:00
Ivailo Monev
76e9cb8220 plug qt_initLocale() memory leak
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 11:44:54 +00:00
Ivailo Monev
cdabe77b9c remove unused QSvgHandler::m_resolveNodes member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 10:06:54 +00:00
Ivailo Monev
43f3a2a47b remove redundant QStringSplitter() members
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 05:23:19 +00:00
Ivailo Monev
cf0b0ae659 avoid temporary in qt_string_count() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 05:08:57 +00:00
Ivailo Monev
44fc5a55d3 remove redundant uint() construct and C-style cast in qFindString() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 04:59:10 +00:00
Ivailo Monev
32eee98a70 do not free shared null QMap data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 04:29:58 +00:00
Ivailo Monev
a0e21b8fd9 cleanup findInterface() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 02:43:40 +00:00
Ivailo Monev
02c313578f designer tool does not have to be linked to KtUiTools component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 01:29:34 +00:00
Ivailo Monev
a8aea3ef4b link compnents to libraries and other components explicitly
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 01:24:44 +00:00
Ivailo Monev
883884affe use static lists for plugin keys
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 00:52:10 +00:00
Ivailo Monev
f865064e56 update qlalr files copyright [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 23:38:17 +00:00
Ivailo Monev
5b459cf0ec update copyright and add script for doing so
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 23:21:34 +00:00
Ivailo Monev
6bab90f3e7 correct return value in QTextBoundaryFinder::boundaryReasons()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 21:49:31 +00:00
Ivailo Monev
864faae4e0 remove redundant string header inclusion from qvector source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 21:22:45 +00:00
Ivailo Monev
0d24b6305d rename QVarLengthArray::realloc() to QVarLengthArray::reallocData()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 21:20:39 +00:00
Ivailo Monev
2ed9187043 replace function call with member access in QVarLengthArray::replace()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 21:20:02 +00:00
Ivailo Monev
95526d00ed fix some headers re-writing issues
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 06:47:09 +00:00
Ivailo Monev
b30f1284b6 make stat() error checks consisten in QFileSystemEngine::createDirectory(), QFileSystemEngine::removeDirectory() and QFileSystemEngine::copyFile()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 06:04:16 +00:00
Ivailo Monev
6a54eadeba remove redundant condition in QFileSystemEngine::fillMetaData()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 05:44:52 +00:00
Ivailo Monev
8237977aa8 do not include aliases in all codec names
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 03:29:11 +00:00
Ivailo Monev
16c1fa18a4 avoid deep copy of strings in QIcuCodec::aliases() and QIcuCodec::allCodecs()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 02:59:03 +00:00
Ivailo Monev
b06f2a06ff rely on the fact that default QTime constructor is for null-time in QTime::fromString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 23:14:34 +00:00
Ivailo Monev
9b37d78530 replace QT_TYPENAME with Q_TYPENAME and remove it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 23:07:22 +00:00
Ivailo Monev
a6b93cbfdc use single variable assignment in QUuid::fromRfc4122()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:59:04 +00:00
Ivailo Monev
8a3fe3a8fc remove redundant default case in QParallelAnimationGroupPrivate::applyGroupState()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:37:51 +00:00
Ivailo Monev
ebe2262915 remove default QParallelAnimationGroup::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:35:59 +00:00
Ivailo Monev
ab9ff0094f remove default QPauseAnimation::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:34:45 +00:00
Ivailo Monev
bf4cd5e196 remove default QSequentialAnimationGroup::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:25:32 +00:00
Ivailo Monev
3f05b0df24 remove redundant reinterpret_cast<> in QIcuCodec::convertFromUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:17:43 +00:00
Ivailo Monev
9e9f1bc075 deal with QVarLengthArray TODO
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 22:06:28 +00:00
Ivailo Monev
ba20535eaa move qstringmatcher header inclusion from qstringlist header to source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 20:57:00 +00:00
Ivailo Monev
7c427a6dc0 remove redundant uint() construct in QDate::setYMD()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 19:24:35 +00:00
Ivailo Monev
77d6a91f74 return object rather than reference from QFileInfoPrivate::getFileTime()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 19:23:39 +00:00
Ivailo Monev
0137e58d6e correct QFileInfoPrivate::getCachedFlag() return value
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 18:28:45 +00:00
Ivailo Monev
d4b64a5536 optimize QSize::scale()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 18:10:05 +00:00
Ivailo Monev
46ed5e716a remove bogus compile-time error in qrect header
there is no topLeft() function that I am aware of

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 17:55:54 +00:00
Ivailo Monev
149801e98e use uninitialized buffer instead of resizing one in QByteDataBuffer::read()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 17:39:30 +00:00
Ivailo Monev
9a45943192 build against internal copies of libpng and sqlite if not found
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 17:33:39 +00:00
Ivailo Monev
2b7b17b002 mark getSettingsPath() function as static
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 04:19:47 +00:00
Ivailo Monev
8df02dc5c3 mark default case in QCryptographicHash::hash() as unreachable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 03:31:19 +00:00
Ivailo Monev
ea245e0280 fix build-time check in qt_safe_accept() and introduce NetBSD support
upstream commit:
b3b2f502e9

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 02:52:00 +00:00
Ivailo Monev
4dc4a74fe5 remove redundant QT_SOCKOPTLEN_T definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 02:29:48 +00:00
Ivailo Monev
7854129cbb avoid struct mirroring by including qobject_p header in qsignaldumper source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 02:23:13 +00:00
Ivailo Monev
1867537939 replace C-style casts with static_cast where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 01:47:40 +00:00
Ivailo Monev
44b3b173b3 plug QDateTime memory leaks
caused by shadowing member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 01:23:58 +00:00
Ivailo Monev
95f978fddd do not reallocate shared empty/null QByteArray data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 01:05:48 +00:00