OSDN Git Service
Ivailo Monev [Mon, 6 Jan 2020 15:05:05 +0000 (15:05 +0000)]
add QTextCursor test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Jan 2020 15:00:40 +0000 (15:00 +0000)]
add QTextDocument test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Jan 2020 14:46:23 +0000 (14:46 +0000)]
add QSyntaxHighlighter test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Jan 2020 14:43:31 +0000 (14:43 +0000)]
add QSignalMapper test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Jan 2020 14:19:23 +0000 (14:19 +0000)]
add QIODevice test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Jan 2020 14:06:38 +0000 (14:06 +0000)]
add QElapsedTimer test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
Ivailo Monev [Mon, 6 Jan 2020 13:56:21 +0000 (13:56 +0000)]
add QDirIterator test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Sun, 5 Jan 2020 21:42:58 +0000 (21:42 +0000)]
adjust QTemporaryFile asserts
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
Ivailo Monev [Sun, 5 Jan 2020 19:43:19 +0000 (19:43 +0000)]
add QTemporaryFile test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Sat, 4 Jan 2020 21:41:26 +0000 (21:41 +0000)]
add QNetworkDiskCache test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Fri, 3 Jan 2020 22:05:30 +0000 (22:05 +0000)]
fix build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Fri, 3 Jan 2020 04:23:35 +0000 (04:23 +0000)]
export QCache class
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
Ivailo Monev [Fri, 3 Jan 2020 03:40:09 +0000 (03:40 +0000)]
add QDBusReply test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 3 Jan 2020 03:16:27 +0000 (03:16 +0000)]
add QDir test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
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>
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>
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>
Ivailo Monev [Thu, 2 Jan 2020 15:50:56 +0000 (15:50 +0000)]
add QFileSystemWatcher 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>
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>
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>
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>