OSDN Git Service
Ivailo Monev [Tue, 31 Dec 2019 03:16:26 +0000 (03:16 +0000)]
add libxt to depends array in Arch package file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 31 Dec 2019 01:31:23 +0000 (01:31 +0000)]
build QML imports as modules and link them to required components
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 31 Dec 2019 01:09:37 +0000 (01:09 +0000)]
link KtGui component to ICU libraries explicitly
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 31 Dec 2019 00:24:20 +0000 (00:24 +0000)]
include moc-generated files as local headers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 31 Dec 2019 00:13:27 +0000 (00:13 +0000)]
remove redundant QDeclarativeAbstractAnimationPrivate member size specifiers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 31 Dec 2019 00:12:56 +0000 (00:12 +0000)]
replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 31 Dec 2019 00:03:00 +0000 (00:03 +0000)]
effectively revert
c8e884c2d3a4dbd95973d639cf2265733e1ee24b
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 23:54:15 +0000 (23:54 +0000)]
avoid temporary in Parser::parse()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 11:44:54 +0000 (11:44 +0000)]
plug qt_initLocale() memory leak
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 10:06:54 +0000 (10:06 +0000)]
remove unused QSvgHandler::m_resolveNodes member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 05:23:19 +0000 (05:23 +0000)]
remove redundant QStringSplitter() members
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 05:08:57 +0000 (05:08 +0000)]
avoid temporary in qt_string_count() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 04:59:10 +0000 (04:59 +0000)]
remove redundant uint() construct and C-style cast in qFindString() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 04:29:58 +0000 (04:29 +0000)]
do not free shared null QMap data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 02:43:40 +0000 (02:43 +0000)]
cleanup findInterface() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 01:29:34 +0000 (01:29 +0000)]
designer tool does not have to be linked to KtUiTools component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 01:24:44 +0000 (01:24 +0000)]
link compnents to libraries and other components explicitly
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 01:23:58 +0000 (01:23 +0000)]
update Debian package symbols file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 00:52:10 +0000 (00:52 +0000)]
use static lists for plugin keys
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 30 Dec 2019 00:51:31 +0000 (00:51 +0000)]
extended compiler-standard check to check for CMP0067 policy
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 23:38:17 +0000 (23:38 +0000)]
update qlalr files copyright [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 23:21:34 +0000 (23:21 +0000)]
update copyright and add script for doing so
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 21:49:31 +0000 (21:49 +0000)]
correct return value in QTextBoundaryFinder::boundaryReasons()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 21:22:45 +0000 (21:22 +0000)]
remove redundant string header inclusion from qvector source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 21:20:39 +0000 (21:20 +0000)]
rename QVarLengthArray::realloc() to QVarLengthArray::reallocData()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 21:20:02 +0000 (21:20 +0000)]
replace function call with member access in QVarLengthArray::replace()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 10:27:03 +0000 (10:27 +0000)]
use /bin/false to skip private headers when generating documentation [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 09:51:38 +0000 (09:51 +0000)]
change KATIE_TRANSLATIONS_FULL, KATIE_LDCONF_FULL and KATIE_PROFILE_FULL defaults to common values [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 09:32:55 +0000 (09:32 +0000)]
update .gitignore [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 09:28:40 +0000 (09:28 +0000)]
generate symbols file for katie-runtime after installation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 09:21:50 +0000 (09:21 +0000)]
fix cross-compile packaging
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 08:27:52 +0000 (08:27 +0000)]
split Debian package into components [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 07:26:39 +0000 (07:26 +0000)]
update Debian package symbols file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 07:00:52 +0000 (07:00 +0000)]
enable cache in Travis again
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 06:47:09 +0000 (06:47 +0000)]
fix some headers re-writing issues
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 06:04:16 +0000 (06:04 +0000)]
make stat() error checks consisten in QFileSystemEngine::createDirectory(), QFileSystemEngine::removeDirectory() and QFileSystemEngine::copyFile()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 05:44:52 +0000 (05:44 +0000)]
remove redundant condition in QFileSystemEngine::fillMetaData()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 04:21:20 +0000 (04:21 +0000)]
use QLocalServer in QtNetworkSettings::supportsIPv6()
QLocalServer can poke the address regardless if it is protected as it does
not bind to the address
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 03:33:37 +0000 (03:33 +0000)]
fix Travis build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 03:29:11 +0000 (03:29 +0000)]
do not include aliases in all codec names
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 29 Dec 2019 02:59:03 +0000 (02:59 +0000)]
avoid deep copy of strings in QIcuCodec::aliases() and QIcuCodec::allCodecs()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 23:57:14 +0000 (23:57 +0000)]
no need to install newer libzstd version in Travis anymore
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 23:41:32 +0000 (23:41 +0000)]
set Travis dist to bionic
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 23:23:06 +0000 (23:23 +0000)]
correct some comments in top-level CMake file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 23:14:34 +0000 (23:14 +0000)]
rely on the fact that default QTime constructor is for null-time in QTime::fromString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 23:07:22 +0000 (23:07 +0000)]
replace QT_TYPENAME with Q_TYPENAME and remove it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:59:04 +0000 (22:59 +0000)]
use single variable assignment in QUuid::fromRfc4122()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:37:51 +0000 (22:37 +0000)]
remove redundant default case in QParallelAnimationGroupPrivate::applyGroupState()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:35:59 +0000 (22:35 +0000)]
remove default QParallelAnimationGroup::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:34:45 +0000 (22:34 +0000)]
remove default QPauseAnimation::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:25:32 +0000 (22:25 +0000)]
remove default QSequentialAnimationGroup::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:17:43 +0000 (22:17 +0000)]
remove redundant reinterpret_cast<> in QIcuCodec::convertFromUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 22:06:28 +0000 (22:06 +0000)]
deal with QVarLengthArray TODO
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 20:57:00 +0000 (20:57 +0000)]
move qstringmatcher header inclusion from qstringlist header to source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 19:24:35 +0000 (19:24 +0000)]
remove redundant uint() construct in QDate::setYMD()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 19:23:39 +0000 (19:23 +0000)]
return object rather than reference from QFileInfoPrivate::getFileTime()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 18:28:45 +0000 (18:28 +0000)]
correct QFileInfoPrivate::getCachedFlag() return value
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 18:10:05 +0000 (18:10 +0000)]
optimize QSize::scale()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 17:55:54 +0000 (17:55 +0000)]
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>
Ivailo Monev [Sat, 28 Dec 2019 17:39:30 +0000 (17:39 +0000)]
use uninitialized buffer instead of resizing one in QByteDataBuffer::read()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 16:29:17 +0000 (16:29 +0000)]
build against internal copies of libpng and sqlite if not found
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 04:19:47 +0000 (04:19 +0000)]
mark getSettingsPath() function as static
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 03:31:19 +0000 (03:31 +0000)]
mark default case in QCryptographicHash::hash() as unreachable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 02:51:36 +0000 (02:51 +0000)]
fix build-time check in qt_safe_accept() and introduce NetBSD support
upstream commit:
https://github.com/qt/qtbase/commit/
b3b2f502e9b499814a1e3b21e1b572e3ff1ba37b
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 02:29:48 +0000 (02:29 +0000)]
remove redundant QT_SOCKOPTLEN_T definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 02:22:52 +0000 (02:22 +0000)]
avoid struct mirroring by including qobject_p header in qsignaldumper source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 01:47:40 +0000 (01:47 +0000)]
replace C-style casts with static_cast where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 01:23:58 +0000 (01:23 +0000)]
plug QDateTime memory leaks
caused by shadowing member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 01:04:10 +0000 (01:04 +0000)]
do not reallocate shared empty/null QByteArray data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 01:01:03 +0000 (01:01 +0000)]
QSharedData ref member does not have to be mutable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 00:23:29 +0000 (00:23 +0000)]
do not free the shared empty and shared null QByteArray data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 00:12:02 +0000 (00:12 +0000)]
remove redundant QT_NO_EXCEPTIONS definition from minsize.sh script [ci skip]
exceptions are automatically disabled via Q_COMPILER_EXCEPTIONS
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 28 Dec 2019 00:04:51 +0000 (00:04 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 15:45:03 +0000 (15:45 +0000)]
QFont::exactMatch() should return false for aliases
upstream commit:
https://github.com/qt/qtbase/commit/
78eeb6b066113c678fe15531ca10e70964f6b9a4
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 15:11:44 +0000 (15:11 +0000)]
use public QByteArray constructor in QByteArray::trimmed()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 15:11:11 +0000 (15:11 +0000)]
use public QString constructors in QString::simplified() and QString::trimmed()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 15:09:50 +0000 (15:09 +0000)]
QDirIterator destructor does not have to be virtual
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 15:07:56 +0000 (15:07 +0000)]
avoid temporary in QDirIteratorPrivate::pushDirectory()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 14:58:54 +0000 (14:58 +0000)]
avoid temporary in QUrl streaming operator
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 13:30:08 +0000 (13:30 +0000)]
replace QListIterator<> with foreach() where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 12:29:42 +0000 (12:29 +0000)]
Revert "get rid of QByteArray::shared_empty and QString::shared_empty"
This reverts commit
259252b337b15cebdc556e597a30c5a8fb0ac1ef.
Ivailo Monev [Fri, 27 Dec 2019 12:10:39 +0000 (12:10 +0000)]
avoid temporary in QCalendarDateValidator::currentText() const
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 12:10:11 +0000 (12:10 +0000)]
make TextWriter::hasOverlap() const and avoid temporary in it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 11:36:07 +0000 (11:36 +0000)]
remove redundant uint() constructs in QString::at() and QString::operator[]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 10:49:10 +0000 (10:49 +0000)]
get rid of QByteArray::shared_empty and QString::shared_empty
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 10:27:13 +0000 (10:27 +0000)]
inline qstrnlen() function to strnlen()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 10:14:50 +0000 (10:14 +0000)]
remove bogus compile-time error
the signature for truncate() from unistd header takes two arguments,
QByteArray::truncate() takes only one
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 09:03:17 +0000 (09:03 +0000)]
protect QIcuCodec::allCodecs() and QIcuCodec::allMibs() cache with mutex
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 07:45:29 +0000 (07:45 +0000)]
Revert "install newer libpng version in Travis"
This reverts commit
a6e204f4d8e209285256f252081b09e159aafc74.
Ivailo Monev [Fri, 27 Dec 2019 06:58:24 +0000 (06:58 +0000)]
install newer libpng version in Travis
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 06:19:55 +0000 (06:19 +0000)]
require LibTIFF v3.6.0 atleast
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 05:56:12 +0000 (05:56 +0000)]
replace convert_rgb888_to_rgb32_C() function pointer with actual function call
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 05:37:54 +0000 (05:37 +0000)]
require libpng v1.5.4 atleast
there is no tarball for stable v1.5.3 in the archive at:
https://ftp-osl.osuosl.org/pub/libpng/src/archive/xz/libpng15/
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 05:36:24 +0000 (05:36 +0000)]
correct ZLIB package version requirement note
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 05:24:04 +0000 (05:24 +0000)]
warn on negative data size from qCompress() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 05:14:00 +0000 (05:14 +0000)]
avoid buffer resizing in qCompress() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 03:27:27 +0000 (03:27 +0000)]
simplify qUncompress() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 02:03:43 +0000 (02:03 +0000)]
inline qstrcmp() function overloads
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 01:21:57 +0000 (01:21 +0000)]
indent and use signle variable assignment in QByteArray::toBase64()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 27 Dec 2019 01:19:21 +0000 (01:19 +0000)]
replace tabs with spaces in QByteArray::fromBase64()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>