OSDN Git Service
Ivailo Monev [Wed, 25 Dec 2019 18:39:35 +0000 (18:39 +0000)]
remove uic3 leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 18:29:33 +0000 (18:29 +0000)]
make all custom CMake modules print library in status message
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 17:57:59 +0000 (17:57 +0000)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 17:31:07 +0000 (17:31 +0000)]
avoid temporary in QVariant::canConvert() and int() constructs
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 17:23:32 +0000 (17:23 +0000)]
set Architectures to those which Debian provides binary packages for in Debian control file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 08:48:14 +0000 (08:48 +0000)]
link tst_script to script component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 07:16:51 +0000 (07:16 +0000)]
link performance_server to core component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 07:15:01 +0000 (07:15 +0000)]
remove redundant Q_UNUSED() macro call in QDBusConnectionPrivate::serviceOwnerChangedNoLock()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 06:35:36 +0000 (06:35 +0000)]
link QDBusType test to D-Bus libraries
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 05:55:31 +0000 (05:55 +0000)]
use foreach() for iteration in ~QFactoryLoaderPrivate(), QFactoryLoader::updateDir() and QFactoryLoader::update()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 05:54:04 +0000 (05:54 +0000)]
move variable closer to the scope it is used in in QFactoryLoader::updateDir()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 05:08:38 +0000 (05:08 +0000)]
update QSettings documentation [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 04:17:48 +0000 (04:17 +0000)]
remove redundant QProcEnvKey
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 25 Dec 2019 03:36:14 +0000 (03:36 +0000)]
drop redundant QSettings UNIX file locking
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 23:17:51 +0000 (23:17 +0000)]
avoid temporaries in QString::isRightToLeft()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 22:23:55 +0000 (22:23 +0000)]
setup include directories before including sub-directory CMake files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 22:23:15 +0000 (22:23 +0000)]
correct and verify codepoint conversion in tst_QChar::normalization_data()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 22:22:28 +0000 (22:22 +0000)]
mark overflow cases in QByteArray integer conversion methods unlikely
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 21:29:36 +0000 (21:29 +0000)]
check if string is normalized before normalizing it from QString::normalized()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 19:19:32 +0000 (19:19 +0000)]
simplify the QSettings write check
the previous implementation was supposed to be write-optimized, for cases
when QSettings::setValue() followed by QSettings::sync() is called often.
it turns out that optimizing for reading from the settings without changing
the object is more beneficial as that is often the case.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 18:18:09 +0000 (18:18 +0000)]
optimize key/value and section/key splitting in ini_settings_read() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 09:35:43 +0000 (09:35 +0000)]
lock QSettingsPrivate object that work with the same file only from QSettingsPrivate::write()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 08:54:24 +0000 (08:54 +0000)]
link QCssParser test to xml component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 08:49:13 +0000 (08:49 +0000)]
link QThread test to system thread library
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 08:43:58 +0000 (08:43 +0000)]
make use of QThread::yieldCurrentThread() in sql component threading test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 08:37:34 +0000 (08:37 +0000)]
link svg component to zlib libraries explicitly
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 08:37:20 +0000 (08:37 +0000)]
link network component to OpenSSL libraries explicitly
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 08:31:03 +0000 (08:31 +0000)]
set extra link libraries as private where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 07:29:08 +0000 (07:29 +0000)]
use consistent name for locker in QSettingsPrivate::write()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 07:28:40 +0000 (07:28 +0000)]
do not include Shell profile and linker config in Debian package
Shell profile file breaks cross-compilation because it exports
PKG_CONFIG_PATH
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 05:53:06 +0000 (05:53 +0000)]
take prefix into account and use HEX string in QSharedMemoryPrivate::makePlatformSafeKey()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 05:14:42 +0000 (05:14 +0000)]
remove redundant QT_NO_QOBJECT definition checks from qsettings_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 05:13:55 +0000 (05:13 +0000)]
fix synchronization of QSettings between multiple processes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 24 Dec 2019 02:29:16 +0000 (02:29 +0000)]
replace QMetaType with QVariant enums where applicable in QVariant test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 21:05:10 +0000 (21:05 +0000)]
rework QSettings, use JSON as native format for it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 21:03:59 +0000 (21:03 +0000)]
adjust expected QVariant test data
it is possible to convert negative strings to integers now
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 03:23:45 +0000 (03:23 +0000)]
quote varibles that may contain whitespace in KatieMacros and KatieBuildMacros CMake files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 03:18:46 +0000 (03:18 +0000)]
install translations as part of Runtime component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 02:09:46 +0000 (02:09 +0000)]
add QVariant test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 02:08:27 +0000 (02:08 +0000)]
fix extra core types QVariant conversion
Ivailo Monev [Mon, 23 Dec 2019 01:34:24 +0000 (01:34 +0000)]
avoid sorting and one condition in exportscan() function in genmap.py script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 23 Dec 2019 01:08:58 +0000 (01:08 +0000)]
update options in qconfig header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 22:16:56 +0000 (22:16 +0000)]
install CMake files into architecture specific library directory [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 20:55:04 +0000 (20:55 +0000)]
make the custom moc command depend on KATIE_MOC
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 20:32:10 +0000 (20:32 +0000)]
replace xorg-dev with specific package names available for non-i386 architectures too
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 20:29:45 +0000 (20:29 +0000)]
replace arm with armhf architecture in Debian control file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 20:29:08 +0000 (20:29 +0000)]
introduce KATIE_CROSS_EXEC for use in cross-compiling
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 19:33:49 +0000 (19:33 +0000)]
remove g++ from Build-Depends in Debian control file [ci skip]
build-essential depends on it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 18:35:11 +0000 (18:35 +0000)]
add all supported architectures to Debian package control file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 18:24:24 +0000 (18:24 +0000)]
remove redundant QT_PREPEND_NAMESPACE() macro call in qt_debug_component() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 18:21:46 +0000 (18:21 +0000)]
replace C-style cast with reinterpret_cast in qt_unix_query() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 18:00:21 +0000 (18:00 +0000)]
update classes list in namefsck.py script [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 17:58:34 +0000 (17:58 +0000)]
update classes map [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 16:43:22 +0000 (16:43 +0000)]
rename qfontdatabase_x11 header to qfontdatabase_x11_p as it is private
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 16:42:35 +0000 (16:42 +0000)]
create fancy QGraphicsSceneEvent header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 16:14:24 +0000 (16:14 +0000)]
guard qtestevent, qtestkeyboard, qtestmouse and qtesttouch headers with QT_GUI_LIB
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 16:05:32 +0000 (16:05 +0000)]
exclude qtest_gui header from QtTest meta header again
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 15:54:24 +0000 (15:54 +0000)]
replace FALSE with false
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 15:30:34 +0000 (15:30 +0000)]
rework fancy and meta header generators
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 03:18:27 +0000 (03:18 +0000)]
update Debian package symbols file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 02:42:16 +0000 (02:42 +0000)]
do not require certain fonts for QFont test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 01:52:45 +0000 (01:52 +0000)]
make QMetaType::Float core type and reorder enums while at it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
asd
Ivailo Monev [Sun, 22 Dec 2019 01:29:50 +0000 (01:29 +0000)]
optimize static meta types table lookup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 01:23:27 +0000 (01:23 +0000)]
replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:46:45 +0000 (19:46 +0000)]
remove superfluous semicolon in QFile::encodeName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:45:47 +0000 (19:45 +0000)]
simplify QFontDatabase::addApplicationFont()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:45:06 +0000 (19:45 +0000)]
fix registerFont() function regression since
fb253d03c77d31fd4d56c93d8ee961c8d4ddb0c1
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:44:19 +0000 (19:44 +0000)]
add QFontMetrics test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:19:10 +0000 (19:19 +0000)]
add QFont test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:01:47 +0000 (19:01 +0000)]
take pixel size into account when creating QFont from string
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 17:10:44 +0000 (17:10 +0000)]
use proper type for argument in qIsNumericType() and qIsFloatingPoint() functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 16:30:55 +0000 (16:30 +0000)]
fix GUI QVariant types conversion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 01:34:49 +0000 (01:34 +0000)]
remove raw fonts support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 23:46:46 +0000 (23:46 +0000)]
stream and cast QVariant type member as int
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 23:46:07 +0000 (23:46 +0000)]
replace QMetaType::Float with QVariant::Float where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 23:44:45 +0000 (23:44 +0000)]
use consistent way to detect if colored message should be logged in messageType2String()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 19:36:53 +0000 (19:36 +0000)]
make QVariant::Double from/to QVariant::Float conversion explicit and fix it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 16:46:47 +0000 (16:46 +0000)]
move QVariant::String specific case to switch in QVariant::canConvert()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 15:48:06 +0000 (15:48 +0000)]
fix QVariant::Float type conversion regression since
71bd691d09470882be77dfa51f1509362c196d6b
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 02:00:41 +0000 (02:00 +0000)]
compiler warning fixes
upstream commit:
https://github.com/qt/qtbase/commit/
ef36fd02178482cd312ea551303856ef563421af
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:51:19 +0000 (23:51 +0000)]
remove threads build option
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:39:22 +0000 (23:39 +0000)]
avoid temporary in QCacheItem::writeHeader()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:39:05 +0000 (23:39 +0000)]
avoid temporaries in QNetworkDiskCachePrivate::prepareLayout()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:07:56 +0000 (23:07 +0000)]
avoid temporaries in QXmlSimpleReaderPrivate::parseString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 22:03:55 +0000 (22:03 +0000)]
use proper type in QMutexPool::get()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 22:03:19 +0000 (22:03 +0000)]
replace 0 with Q_NULLPTR in QMutexPool::createMutex() and QMutexPool::globalInstanceGet()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 19:16:58 +0000 (19:16 +0000)]
replace qmutexlocker with qmutex header inclusion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 19:16:29 +0000 (19:16 +0000)]
add some missing class visibility attributes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 18:58:01 +0000 (18:58 +0000)]
merge qsharedpointer_impl header into qsharedpointer header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 14:40:52 +0000 (14:40 +0000)]
headers compat
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 13:40:01 +0000 (13:40 +0000)]
remove now redundant dblinc.py script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 13:38:44 +0000 (13:38 +0000)]
remove redundant DECLARE_COMPAT_WIDGET() macro definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 13:33:20 +0000 (13:33 +0000)]
the public headers checker in kate_generate_public() has served its purpose
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:46:38 +0000 (12:46 +0000)]
remove non-existing classes leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:44:26 +0000 (12:44 +0000)]
QtContainerFwd fancy header compat
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:38:27 +0000 (12:38 +0000)]
remove fancy headers for non-existing classes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:31:18 +0000 (12:31 +0000)]
remove redundant string header inclusion from qtextcodec_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:30:46 +0000 (12:30 +0000)]
remove QHashDummyNode and QHashDummyValue leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 02:07:58 +0000 (02:07 +0000)]
avoid temporaries in moc generated code
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 01:23:41 +0000 (01:23 +0000)]
remove unused and internal Qt::WidgetAttribute::WA_PendingUpdate enum
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>