OSDN Git Service

kde/Katie.git
4 years agoadd QTextCursor test
Ivailo Monev [Mon, 6 Jan 2020 15:05:05 +0000 (15:05 +0000)]
add QTextCursor test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QTextDocument test
Ivailo Monev [Mon, 6 Jan 2020 15:00:40 +0000 (15:00 +0000)]
add QTextDocument test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QSyntaxHighlighter test
Ivailo Monev [Mon, 6 Jan 2020 14:46:23 +0000 (14:46 +0000)]
add QSyntaxHighlighter test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QSignalMapper test
Ivailo Monev [Mon, 6 Jan 2020 14:43:31 +0000 (14:43 +0000)]
add QSignalMapper test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QIODevice test
Ivailo Monev [Mon, 6 Jan 2020 14:19:23 +0000 (14:19 +0000)]
add QIODevice test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QElapsedTimer test
Ivailo Monev [Mon, 6 Jan 2020 14:06:38 +0000 (14:06 +0000)]
add QElapsedTimer test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd operator<(const QElapsedTimer &v1, const QElapsedTimer &v2) for tests
Ivailo Monev [Mon, 6 Jan 2020 14:06:11 +0000 (14:06 +0000)]
add operator<(const QElapsedTimer &v1, const QElapsedTimer &v2) for tests

removed before the initial import for some reason

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDirIterator test
Ivailo Monev [Mon, 6 Jan 2020 13:56:21 +0000 (13:56 +0000)]
add QDirIterator test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse fromstrerror_helper() to obtain error in qdlerror()
Ivailo Monev [Mon, 6 Jan 2020 01:44:19 +0000 (01:44 +0000)]
use fromstrerror_helper() to obtain error in qdlerror()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocheck return value of strerror_r() in fromstrerror_helper()
Ivailo Monev [Mon, 6 Jan 2020 01:42:57 +0000 (01:42 +0000)]
check return value of strerror_r() in fromstrerror_helper()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorequire strerror_r(), realpath() and unsetenv() from the host
Ivailo Monev [Mon, 6 Jan 2020 01:26:40 +0000 (01:26 +0000)]
require strerror_r(), realpath() and unsetenv() from the host

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QLCDNumberPrivate::drawString() argument
Ivailo Monev [Sun, 5 Jan 2020 23:49:53 +0000 (23:49 +0000)]
remove unused QLCDNumberPrivate::drawString() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant uint() constructs in QBitArray::testBit(), QBitArray::setBit(),...
Ivailo Monev [Sun, 5 Jan 2020 23:39:13 +0000 (23:39 +0000)]
remove redundant uint() constructs in QBitArray::testBit(), QBitArray::setBit(), QBitArray::clearBit() and QBitArray::toggleBit()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant header inclusions from qglobal source file
Ivailo Monev [Sun, 5 Jan 2020 23:33:19 +0000 (23:33 +0000)]
remove redundant header inclusions from qglobal source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QT_ARMFPA definition check in qnumeric source file
Ivailo Monev [Sun, 5 Jan 2020 23:30:01 +0000 (23:30 +0000)]
remove redundant QT_ARMFPA definition check in qnumeric source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant const_cast<> in QDomTextPrivate::save()
Ivailo Monev [Sun, 5 Jan 2020 23:18:16 +0000 (23:18 +0000)]
remove redundant const_cast<> in QDomTextPrivate::save()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark QDomTextPrivate::splitText() warning case as unlikely
Ivailo Monev [Sun, 5 Jan 2020 23:17:55 +0000 (23:17 +0000)]
mark QDomTextPrivate::splitText() warning case as unlikely

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocall parent connect() rather than QObject::connect() in QDBusServer constructor
Ivailo Monev [Sun, 5 Jan 2020 22:55:48 +0000 (22:55 +0000)]
call parent connect() rather than QObject::connect() in QDBusServer constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR in QDBusPendingCallPrivate constructor
Ivailo Monev [Sun, 5 Jan 2020 22:54:55 +0000 (22:54 +0000)]
replace 0 with Q_NULLPTR in QDBusPendingCallPrivate constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse static QString::number() in QDomElement::setAttribute()
Ivailo Monev [Sun, 5 Jan 2020 22:54:30 +0000 (22:54 +0000)]
use static QString::number() in QDomElement::setAttribute()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qDBusRegisterMetaType() argument
Ivailo Monev [Sun, 5 Jan 2020 22:31:08 +0000 (22:31 +0000)]
remove unused qDBusRegisterMetaType() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QDir::setSearchPaths()
Ivailo Monev [Sun, 5 Jan 2020 22:22:49 +0000 (22:22 +0000)]
avoid temporary in QDir::setSearchPaths()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iteration in QDirIteratorPrivate::matchesFilters()
Ivailo Monev [Sun, 5 Jan 2020 22:10:48 +0000 (22:10 +0000)]
use foreach() for iteration in QDirIteratorPrivate::matchesFilters()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadjust QTemporaryFile asserts
Ivailo Monev [Sun, 5 Jan 2020 21:42:58 +0000 (21:42 +0000)]
adjust QTemporaryFile asserts

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark the invalid environment variable case as unlikely in QProcessEnvironmentPrivate...
Ivailo Monev [Sun, 5 Jan 2020 21:15:08 +0000 (21:15 +0000)]
mark the invalid environment variable case as unlikely in QProcessEnvironmentPrivate::fromList()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreserve space for elements from QProcessEnvironmentPrivate::fromList()
Ivailo Monev [Sun, 5 Jan 2020 21:14:14 +0000 (21:14 +0000)]
reserve space for elements from QProcessEnvironmentPrivate::fromList()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove now redundant qcoreapplication header inclusion from qtemporaryfile source...
Ivailo Monev [Sun, 5 Jan 2020 21:11:32 +0000 (21:11 +0000)]
remove now redundant qcoreapplication header inclusion from qtemporaryfile source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QTemporaryFile test
Ivailo Monev [Sun, 5 Jan 2020 19:43:19 +0000 (19:43 +0000)]
add QTemporaryFile test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove compatibility bits from createFileFromTemplate() function
Ivailo Monev [Sun, 5 Jan 2020 19:42:22 +0000 (19:42 +0000)]
remove compatibility bits from createFileFromTemplate() function

fixes crash/assert too and increase default template length to 10 to deal
with collisions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace typedefs with the actual type in createFileFromTemplate() function
Ivailo Monev [Sun, 5 Jan 2020 17:08:12 +0000 (17:08 +0000)]
replace typedefs with the actual type in createFileFromTemplate() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindent QDBusMetaType::signatureToType() and QDBusMetaType::signatureToType()
Ivailo Monev [Sun, 5 Jan 2020 15:04:20 +0000 (15:04 +0000)]
indent QDBusMetaType::signatureToType() and QDBusMetaType::signatureToType()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QDBusMetaType::demarshall()
Ivailo Monev [Sun, 5 Jan 2020 15:03:38 +0000 (15:03 +0000)]
avoid temporary in QDBusMetaType::demarshall()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QInotifyFileSystemWatcherEngine::create() for case when IN_CLOEXEC is defined
Ivailo Monev [Sun, 5 Jan 2020 04:21:13 +0000 (04:21 +0000)]
optimize QInotifyFileSystemWatcherEngine::create() for case when IN_CLOEXEC is defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant fcntl() call in QInotifyFileSystemWatcherEngine::QInotifyFileSystemW...
Ivailo Monev [Sun, 5 Jan 2020 04:19:09 +0000 (04:19 +0000)]
remove redundant fcntl() call in QInotifyFileSystemWatcherEngine::QInotifyFileSystemWatcherEngine()

also called in QInotifyFileSystemWatcherEngine::create()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in QFileSystemIterator::QFileSystemIterator()
Ivailo Monev [Sun, 5 Jan 2020 04:02:48 +0000 (04:02 +0000)]
reduce branches in QFileSystemIterator::QFileSystemIterator()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant internal QFSFileEnginePrivate methods
Ivailo Monev [Sun, 5 Jan 2020 00:13:57 +0000 (00:13 +0000)]
remove redundant internal QFSFileEnginePrivate methods

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark QDir warning cases as unlikely
Ivailo Monev [Sat, 4 Jan 2020 23:47:12 +0000 (23:47 +0000)]
mark QDir warning cases as unlikely

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace break and falltrough with return in QMimeDataPrivate::getData()
Ivailo Monev [Sat, 4 Jan 2020 22:55:48 +0000 (22:55 +0000)]
replace break and falltrough with return in QMimeDataPrivate::getData()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocreate dbg.sh script during configuration to execute with gdb
Ivailo Monev [Sat, 4 Jan 2020 22:21:35 +0000 (22:21 +0000)]
create dbg.sh script during configuration to execute with gdb

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR in QPaintEngineExPrivate::QPaintEngineExPrivate()
Ivailo Monev [Sat, 4 Jan 2020 22:20:33 +0000 (22:20 +0000)]
replace 0 with Q_NULLPTR in QPaintEngineExPrivate::QPaintEngineExPrivate()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QNetworkDiskCache test
Ivailo Monev [Sat, 4 Jan 2020 21:41:26 +0000 (21:41 +0000)]
add QNetworkDiskCache test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in QDBusConnectionManager::removeConnection()
Ivailo Monev [Sat, 4 Jan 2020 21:20:24 +0000 (21:20 +0000)]
use single variable assignment in QDBusConnectionManager::removeConnection()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR in QDBusConnectionManager::connection()
Ivailo Monev [Sat, 4 Jan 2020 21:18:58 +0000 (21:18 +0000)]
replace 0 with Q_NULLPTR in QDBusConnectionManager::connection()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorequire suffix to be passed to QFactoryLoader constructor
Ivailo Monev [Sat, 4 Jan 2020 18:48:56 +0000 (18:48 +0000)]
require suffix to be passed to QFactoryLoader constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse static keys list in QGraphicsSystemFactory::keys() when build with QT_NO_LIBRARY...
Ivailo Monev [Sat, 4 Jan 2020 18:45:50 +0000 (18:45 +0000)]
use static keys list in QGraphicsSystemFactory::keys() when build with QT_NO_LIBRARY defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd braces around multi-line loop in QMetaObject::indexOfProperty()
Ivailo Monev [Sat, 4 Jan 2020 18:08:28 +0000 (18:08 +0000)]
add braces around multi-line loop in QMetaObject::indexOfProperty()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark some warning cases as unlikely
Ivailo Monev [Sat, 4 Jan 2020 18:07:51 +0000 (18:07 +0000)]
mark some warning cases as unlikely

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate internal QEvent::Type enums documentation [ci skip]
Ivailo Monev [Sat, 4 Jan 2020 17:17:57 +0000 (17:17 +0000)]
update internal QEvent::Type enums documentation [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate hand-edited moc-generated code
Ivailo Monev [Sat, 4 Jan 2020 15:58:23 +0000 (15:58 +0000)]
update hand-edited moc-generated code

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace private static QScriptEnginePrivate functions with their body
Ivailo Monev [Sat, 4 Jan 2020 15:53:13 +0000 (15:53 +0000)]
replace private static QScriptEnginePrivate functions with their body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper type for index in QLocale::monthName(), QLocale::standaloneMonthName(...
Ivailo Monev [Sat, 4 Jan 2020 03:58:35 +0000 (03:58 +0000)]
use proper type for index in QLocale::monthName(), QLocale::standaloneMonthName(), QString QLocale::dayName() and QLocale::standaloneDayName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate CMake modules copyright [ci skip]
Ivailo Monev [Sat, 4 Jan 2020 02:01:52 +0000 (02:01 +0000)]
update CMake modules copyright [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark qt_splitLocaleName() faliure as unlikely in QLocalePrivate::getLangAndCountry()
Ivailo Monev [Sat, 4 Jan 2020 01:22:10 +0000 (01:22 +0000)]
mark qt_splitLocaleName() faliure as unlikely in QLocalePrivate::getLangAndCountry()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement locale name to language, script and country splitting via ICU
Ivailo Monev [Sat, 4 Jan 2020 01:06:23 +0000 (01:06 +0000)]
reimplement locale name to language, script and country splitting via ICU

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement QLocale::textDirection() via ICU
Ivailo Monev [Sat, 4 Jan 2020 00:44:22 +0000 (00:44 +0000)]
reimplement QLocale::textDirection() via ICU

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agointroduce QLocale::MeasurementSystem::UKSystem and obtain measurement system via ICU
Ivailo Monev [Sat, 4 Jan 2020 00:44:04 +0000 (00:44 +0000)]
introduce QLocale::MeasurementSystem::UKSystem and obtain measurement system via ICU

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant conditional checks in QLocalePrivate::bcp47Name()
Ivailo Monev [Sat, 4 Jan 2020 00:33:31 +0000 (00:33 +0000)]
remove redundant conditional checks in QLocalePrivate::bcp47Name()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in QtMetaEnumProvider::initLocale()
Ivailo Monev [Sat, 4 Jan 2020 00:33:13 +0000 (00:33 +0000)]
use single variable assignment in QtMetaEnumProvider::initLocale()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake use of QLocale::matchingLocales() in QLocale::negativeNumbers()
Ivailo Monev [Sat, 4 Jan 2020 00:32:53 +0000 (00:32 +0000)]
make use of QLocale::matchingLocales() in QLocale::negativeNumbers()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect formbuilder alias generation [ci skip]
Ivailo Monev [Fri, 3 Jan 2020 23:14:52 +0000 (23:14 +0000)]
correct formbuilder alias generation [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect value assignment in QSpontaneKeyEvent::setSpontaneous()
Ivailo Monev [Fri, 3 Jan 2020 22:07:40 +0000 (22:07 +0000)]
correct value assignment in QSpontaneKeyEvent::setSpontaneous()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix build
Ivailo Monev [Fri, 3 Jan 2020 22:05:30 +0000 (22:05 +0000)]
fix build

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoget rid of QScript::AST::Visitor()
Ivailo Monev [Fri, 3 Jan 2020 17:07:37 +0000 (17:07 +0000)]
get rid of QScript::AST::Visitor()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodetermine filler order depending on Q_BYTE_ORDER in PNG handler
Ivailo Monev [Fri, 3 Jan 2020 16:42:43 +0000 (16:42 +0000)]
determine filler order depending on Q_BYTE_ORDER in PNG handler

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosync QSpontaneKeyEvent with QEvent and fix size check
Ivailo Monev [Fri, 3 Jan 2020 16:41:23 +0000 (16:41 +0000)]
sync QSpontaneKeyEvent with QEvent and fix size check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix QGraphicsItemPrivate::extraItemCache() const-correctness
Ivailo Monev [Fri, 3 Jan 2020 16:40:02 +0000 (16:40 +0000)]
fix QGraphicsItemPrivate::extraItemCache() const-correctness

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_DECL_VARIABLE_DEPRECATED definition
Ivailo Monev [Fri, 3 Jan 2020 15:04:46 +0000 (15:04 +0000)]
remove redundant Q_DECL_VARIABLE_DEPRECATED definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse find_program() instead of find_package() to find Git executable
Ivailo Monev [Fri, 3 Jan 2020 04:50:59 +0000 (04:50 +0000)]
use find_program() instead of find_package() to find Git executable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoprint warning about missing unifdef for any build type
Ivailo Monev [Fri, 3 Jan 2020 04:46:46 +0000 (04:46 +0000)]
print warning about missing unifdef for any build type

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQStyleOptionTabBarBaseV2 and QTextTableCellFormat fancy headers compatibility
Ivailo Monev [Fri, 3 Jan 2020 04:29:11 +0000 (04:29 +0000)]
QStyleOptionTabBarBaseV2 and QTextTableCellFormat fancy headers compatibility

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake genmap.py script skip private headers again
Ivailo Monev [Fri, 3 Jan 2020 04:24:32 +0000 (04:24 +0000)]
make genmap.py script skip private headers again

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoexport QCache class
Ivailo Monev [Fri, 3 Jan 2020 04:23:35 +0000 (04:23 +0000)]
export QCache class

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Debian package symbols file [ci skip]
Ivailo Monev [Fri, 3 Jan 2020 04:08:55 +0000 (04:08 +0000)]
remove redundant Debian package symbols file [ci skip]

it is generated from override_dh_auto_install rule

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusReply test
Ivailo Monev [Fri, 3 Jan 2020 03:40:09 +0000 (03:40 +0000)]
add QDBusReply test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDir test
Ivailo Monev [Fri, 3 Jan 2020 03:16:27 +0000 (03:16 +0000)]
add QDir test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in QDir::operator==() operator
Ivailo Monev [Fri, 3 Jan 2020 03:15:15 +0000 (03:15 +0000)]
reduce branches in QDir::operator==() operator

also fixes test case

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocheck if additional sorting flags are empty in QDir::operator<<() operator
Ivailo Monev [Fri, 3 Jan 2020 02:50:25 +0000 (02:50 +0000)]
check if additional sorting flags are empty in QDir::operator<<() operator

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace hardcoded mask with enum in QDir::operator<<() operator
Ivailo Monev [Fri, 3 Jan 2020 02:37:10 +0000 (02:37 +0000)]
replace hardcoded mask with enum in QDir::operator<<() operator

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant network-settings header inclusion from tst_qfileinfo source file
Ivailo Monev [Fri, 3 Jan 2020 02:08:23 +0000 (02:08 +0000)]
remove redundant network-settings header inclusion from tst_qfileinfo source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in QDataStream::operator>>() operators
Ivailo Monev [Fri, 3 Jan 2020 01:31:19 +0000 (01:31 +0000)]
reduce branches in QDataStream::operator>>() operators

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_DOUBLE_FORMAT definition check
Ivailo Monev [Fri, 3 Jan 2020 01:28:52 +0000 (01:28 +0000)]
remove redundant Q_DOUBLE_FORMAT definition check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinclude correct event headers
Ivailo Monev [Fri, 3 Jan 2020 01:00:25 +0000 (01:00 +0000)]
include correct event headers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate automatically generated katie_generate_obsolete() macro calls list
Ivailo Monev [Fri, 3 Jan 2020 00:13:53 +0000 (00:13 +0000)]
update automatically generated katie_generate_obsolete() macro calls list

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQMatrix4x4 has its own header
Ivailo Monev [Fri, 3 Jan 2020 00:13:15 +0000 (00:13 +0000)]
QMatrix4x4 has its own header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume compiler features introduced in C++11 are supported by the compiler
Ivailo Monev [Thu, 2 Jan 2020 23:27:48 +0000 (23:27 +0000)]
assume compiler features introduced in C++11 are supported by the compiler

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume Q_OUTOFLINE_TEMPLATE, Q_INLINE_TEMPLATE and Q_TYPENAME are not defined anywher...
Ivailo Monev [Thu, 2 Jan 2020 23:22:58 +0000 (23:22 +0000)]
assume Q_OUTOFLINE_TEMPLATE, Q_INLINE_TEMPLATE and Q_TYPENAME are not defined anywhere else

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_PACKED definition check
Ivailo Monev [Thu, 2 Jan 2020 23:22:28 +0000 (23:22 +0000)]
remove redundant Q_PACKED definition check

it should be defined for any compiler

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_NO_PACKED_REFERENCE definition
Ivailo Monev [Thu, 2 Jan 2020 23:21:58 +0000 (23:21 +0000)]
remove redundant Q_NO_PACKED_REFERENCE definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompelete headers compatibility map
Ivailo Monev [Thu, 2 Jan 2020 23:02:19 +0000 (23:02 +0000)]
compelete headers compatibility map

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate URL TLDs table [ci skip]
Ivailo Monev [Thu, 2 Jan 2020 18:19:38 +0000 (18:19 +0000)]
update URL TLDs table [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix regression since 28b8a590c157bc44f2a48f7fd56bc9eff8f6c342
Ivailo Monev [Thu, 2 Jan 2020 17:32:59 +0000 (17:32 +0000)]
fix regression since 28b8a590c157bc44f2a48f7fd56bc9eff8f6c342

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "rework QPollingFileSystemWatcherEngine to use QFileInfo for files"
Ivailo Monev [Thu, 2 Jan 2020 17:30:43 +0000 (17:30 +0000)]
Revert "rework QPollingFileSystemWatcherEngine to use QFileInfo for files"

QFileInfo equal operator does not compare all attributes

This reverts commit 9812469490961b646fa37615b08f4f2a0b54c778.

4 years agomake use of Q_TYPEOF() in compat Q_FOREACH()
Ivailo Monev [Thu, 2 Jan 2020 16:55:26 +0000 (16:55 +0000)]
make use of Q_TYPEOF() in compat Q_FOREACH()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce definition branches in qglobal header
Ivailo Monev [Thu, 2 Jan 2020 16:54:25 +0000 (16:54 +0000)]
reduce definition branches in qglobal header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorework QPollingFileSystemWatcherEngine to use QFileInfo for files
Ivailo Monev [Thu, 2 Jan 2020 16:53:28 +0000 (16:53 +0000)]
rework QPollingFileSystemWatcherEngine to use QFileInfo for files

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QFileSystemWatcher test
Ivailo Monev [Thu, 2 Jan 2020 15:50:56 +0000 (15:50 +0000)]
add QFileSystemWatcher test

4 years agoadd QFileInfo test
Ivailo Monev [Thu, 2 Jan 2020 15:33:06 +0000 (15:33 +0000)]
add QFileInfo test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify and fix compatibility Q_FOREACH()
Ivailo Monev [Thu, 2 Jan 2020 00:53:35 +0000 (00:53 +0000)]
simplify and fix compatibility Q_FOREACH()

the issue was encountered while building other projects with GCC v9.2.0,
code generated by v8.3.0 is unaffected

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoprint warning on parser error from json_settings_read() function
Ivailo Monev [Wed, 1 Jan 2020 18:09:02 +0000 (18:09 +0000)]
print warning on parser error from json_settings_read() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not delete shared null QMap data
Ivailo Monev [Wed, 1 Jan 2020 17:39:59 +0000 (17:39 +0000)]
do not delete shared null QMap data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>