OSDN Git Service

kde/Katie.git
4 years agodo not try to open codec twice if stateless open fails
Ivailo Monev [Sun, 8 Dec 2019 12:04:39 +0000 (12:04 +0000)]
do not try to open codec twice if stateless open fails

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix global static check
Ivailo Monev [Sun, 8 Dec 2019 02:39:33 +0000 (02:39 +0000)]
fix global static check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant source file from bootstrap sources array
Ivailo Monev [Sat, 7 Dec 2019 20:22:32 +0000 (20:22 +0000)]
remove redundant source file from bootstrap sources array

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove invalid bootstrap definition [ci skip]
Ivailo Monev [Sat, 7 Dec 2019 20:09:14 +0000 (20:09 +0000)]
remove invalid bootstrap definition [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake adjustments required to build Unicode tables as part of GUI component
Ivailo Monev [Sat, 7 Dec 2019 19:57:53 +0000 (19:57 +0000)]
make adjustments required to build Unicode tables as part of GUI component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_TEXTCODEC conditional build fix
Ivailo Monev [Sat, 7 Dec 2019 19:45:06 +0000 (19:45 +0000)]
QT_NO_TEXTCODEC conditional build fix

also fixes build with LTO and restores ability to convert string from/to
Unicode even when without codecs support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove QUnicodeTables to GUI component
Ivailo Monev [Sat, 7 Dec 2019 18:49:27 +0000 (18:49 +0000)]
move QUnicodeTables to GUI component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant bootstrap definition
Ivailo Monev [Sat, 7 Dec 2019 18:42:20 +0000 (18:42 +0000)]
remove redundant bootstrap definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant integer constructs in qt_ucol_strcoll() function
Ivailo Monev [Sat, 7 Dec 2019 18:41:42 +0000 (18:41 +0000)]
remove redundant integer constructs in qt_ucol_strcoll() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove symbian leftovers [ci skip]
Ivailo Monev [Fri, 6 Dec 2019 20:34:39 +0000 (20:34 +0000)]
remove symbian leftovers [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse ICU for string casing and collation again
Ivailo Monev [Fri, 6 Dec 2019 19:03:58 +0000 (19:03 +0000)]
use ICU for string casing and collation again

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd qrand() test
Ivailo Monev [Fri, 6 Dec 2019 15:37:49 +0000 (15:37 +0000)]
add qrand() test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove documentation for macros that are no more [ci skip]
Ivailo Monev [Fri, 6 Dec 2019 14:57:07 +0000 (14:57 +0000)]
remove documentation for macros that are no more [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify and optimize monotonic clock checks
Ivailo Monev [Fri, 6 Dec 2019 14:48:56 +0000 (14:48 +0000)]
simplify and optimize monotonic clock checks

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QByteArrayMatcher test
Ivailo Monev [Fri, 6 Dec 2019 10:56:01 +0000 (10:56 +0000)]
add QByteArrayMatcher test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd missing QJsonObject meta type construction/destruction
Ivailo Monev [Thu, 5 Dec 2019 23:08:08 +0000 (23:08 +0000)]
add missing QJsonObject meta type construction/destruction

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement QVariant oeprations for JSON types
Ivailo Monev [Thu, 5 Dec 2019 23:07:42 +0000 (23:07 +0000)]
implement QVariant oeprations for JSON types

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove invalid compile-time warning
Ivailo Monev [Thu, 5 Dec 2019 22:39:09 +0000 (22:39 +0000)]
remove invalid compile-time warning

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant methodName() function
Ivailo Monev [Thu, 5 Dec 2019 22:38:53 +0000 (22:38 +0000)]
remove redundant methodName() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize message functions
Ivailo Monev [Thu, 5 Dec 2019 17:53:46 +0000 (17:53 +0000)]
optimize message functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove documentation for global macros that are not defined anymore
Ivailo Monev [Thu, 5 Dec 2019 17:52:36 +0000 (17:52 +0000)]
remove documentation for global macros that are not defined anymore

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement JSON meta types construction/destruction
Ivailo Monev [Thu, 5 Dec 2019 17:24:09 +0000 (17:24 +0000)]
implement JSON meta types construction/destruction

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid image copy in QRasterPixmapData::fromImage()
Ivailo Monev [Thu, 5 Dec 2019 17:15:27 +0000 (17:15 +0000)]
avoid image copy in QRasterPixmapData::fromImage()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary when streaming out bool in QMetaType::load()
Ivailo Monev [Thu, 5 Dec 2019 17:14:27 +0000 (17:14 +0000)]
avoid temporary when streaming out bool in QMetaType::load()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix build with QTEXTSTREAM_DEBUG defined
Ivailo Monev [Thu, 5 Dec 2019 17:13:51 +0000 (17:13 +0000)]
fix build with QTEXTSTREAM_DEBUG defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant includes from qtextstream source file
Ivailo Monev [Thu, 5 Dec 2019 17:13:07 +0000 (17:13 +0000)]
remove redundant includes from qtextstream source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QObject sender reference atomic
Ivailo Monev [Thu, 5 Dec 2019 13:13:36 +0000 (13:13 +0000)]
make QObject sender reference atomic

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QFontDef member
Ivailo Monev [Thu, 5 Dec 2019 13:05:22 +0000 (13:05 +0000)]
remove unused QFontDef member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR where applicable in QObjectPrivate
Ivailo Monev [Thu, 5 Dec 2019 12:50:53 +0000 (12:50 +0000)]
replace 0 with Q_NULLPTR where applicable in QObjectPrivate

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QObject::~QObject()
Ivailo Monev [Thu, 5 Dec 2019 12:49:29 +0000 (12:49 +0000)]
avoid temporary in QObject::~QObject()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fixes
Ivailo Monev [Thu, 5 Dec 2019 11:41:48 +0000 (11:41 +0000)]
compiler warning fixes

upstream commit:
https://github.com/qt/qtbase/commit/49995ee35ff0b26e32303d77df619d3a2fbcb86b

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove compatibility QTest::pixmapsAreEqual() function
Ivailo Monev [Thu, 5 Dec 2019 11:30:44 +0000 (11:30 +0000)]
remove compatibility QTest::pixmapsAreEqual() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd missing () around a macro argument use in tst_QSettings::testEscapes()
Ivailo Monev [Thu, 5 Dec 2019 11:29:48 +0000 (11:29 +0000)]
add missing () around a macro argument use in tst_QSettings::testEscapes()

upstream commit:
https://github.com/qt/qtbase/commit/95b62e5a71368fa7ff4552bea895c11559a706b1

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove automatic QT_NO_QFUTURE definition to qconfig header
Ivailo Monev [Thu, 5 Dec 2019 09:46:29 +0000 (09:46 +0000)]
move automatic QT_NO_QFUTURE definition to qconfig header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QT_NO_TRANSLATION_UTF8 definition
Ivailo Monev [Thu, 5 Dec 2019 09:45:50 +0000 (09:45 +0000)]
remove redundant QT_NO_TRANSLATION_UTF8 definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoread all data from input QByteArray data stream at once
Ivailo Monev [Wed, 4 Dec 2019 22:16:35 +0000 (22:16 +0000)]
read all data from input QByteArray data stream at once

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreserve space when streaming QSet and QHash in QDataStream
Ivailo Monev [Wed, 4 Dec 2019 21:43:02 +0000 (21:43 +0000)]
reserve space when streaming QSet and QHash in QDataStream

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "avoid temporary copy in QVariant::cmp()"
Ivailo Monev [Wed, 4 Dec 2019 19:40:09 +0000 (19:40 +0000)]
Revert "avoid temporary copy in QVariant::cmp()"

This reverts commit 0f37127b5e5bf61c6e008cb100d5fd9c67bc434a.

4 years agoimplement QJsonValue to double conversion in qConvertToNumber() and qConvertToUnsigne...
Ivailo Monev [Wed, 4 Dec 2019 18:55:46 +0000 (18:55 +0000)]
implement QJsonValue to double conversion in qConvertToNumber() and qConvertToUnsignedNumber()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline qIsNumericType() and qIsFloatingPoint() helpers
Ivailo Monev [Wed, 4 Dec 2019 18:40:18 +0000 (18:40 +0000)]
inline qIsNumericType() and qIsFloatingPoint() helpers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary copy in QVariant::cmp()
Ivailo Monev [Wed, 4 Dec 2019 18:37:50 +0000 (18:37 +0000)]
avoid temporary copy in QVariant::cmp()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agopass format to image reader in QImage stream reading operator
Ivailo Monev [Wed, 4 Dec 2019 17:57:05 +0000 (17:57 +0000)]
pass format to image reader in QImage stream reading operator

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse scoped variables and const-reference where applicable
Ivailo Monev [Wed, 4 Dec 2019 16:54:29 +0000 (16:54 +0000)]
use scoped variables and const-reference where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix QFont streaming
Ivailo Monev [Wed, 4 Dec 2019 16:11:58 +0000 (16:11 +0000)]
fix QFont streaming

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "attempt to use MariaDB instead of MySQL in Travis"
Ivailo Monev [Wed, 4 Dec 2019 15:25:06 +0000 (15:25 +0000)]
Revert "attempt to use MariaDB instead of MySQL in Travis"

This reverts commit a1e7a918a756d978d0d609d8341fd7cf1e98c9d4.

4 years agoprint Katie instead of Qt from QPlainTestLogger::startLogging()
Ivailo Monev [Wed, 4 Dec 2019 15:23:37 +0000 (15:23 +0000)]
print Katie instead of Qt from QPlainTestLogger::startLogging()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoattempt to use MariaDB instead of MySQL in Travis
Ivailo Monev [Wed, 4 Dec 2019 12:54:40 +0000 (12:54 +0000)]
attempt to use MariaDB instead of MySQL in Travis

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove struct, class and enum in the middle of types from normalizeTypeInternal()
Ivailo Monev [Wed, 4 Dec 2019 12:28:36 +0000 (12:28 +0000)]
remove struct, class and enum in the middle of types from normalizeTypeInternal()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix infinite loop in normalizeTypeInternal() function
Ivailo Monev [Wed, 4 Dec 2019 12:27:28 +0000 (12:27 +0000)]
fix infinite loop in normalizeTypeInternal() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolock after computing the cache key in normalizeTypeInternal() function
Ivailo Monev [Wed, 4 Dec 2019 07:38:44 +0000 (07:38 +0000)]
lock after computing the cache key in normalizeTypeInternal() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodisable libunwind support by default
Ivailo Monev [Tue, 3 Dec 2019 22:54:01 +0000 (22:54 +0000)]
disable libunwind support by default

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove symbian leftovers
Ivailo Monev [Tue, 3 Dec 2019 22:14:47 +0000 (22:14 +0000)]
remove symbian leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoprotect normalized types cache with mutex
Ivailo Monev [Tue, 3 Dec 2019 21:59:48 +0000 (21:59 +0000)]
protect normalized types cache with mutex

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QMetaType test
Ivailo Monev [Tue, 3 Dec 2019 21:56:45 +0000 (21:56 +0000)]
add QMetaType test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove QColorGroup leftovers
Ivailo Monev [Tue, 3 Dec 2019 20:58:02 +0000 (20:58 +0000)]
remove QColorGroup leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Tue, 3 Dec 2019 19:50:26 +0000 (19:50 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove invalid warning from createThread() function
Ivailo Monev [Tue, 3 Dec 2019 19:44:01 +0000 (19:44 +0000)]
remove invalid warning from createThread() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused JavaScriptCore allocation functions
Ivailo Monev [Tue, 3 Dec 2019 19:40:21 +0000 (19:40 +0000)]
remove unused JavaScriptCore allocation functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agopass size of UTF-8 converted string to SQLite API
Ivailo Monev [Tue, 3 Dec 2019 17:28:00 +0000 (17:28 +0000)]
pass size of UTF-8 converted string to SQLite API

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant SQLite version check
Ivailo Monev [Tue, 3 Dec 2019 17:02:16 +0000 (17:02 +0000)]
remove redundant SQLite version check

atleast v3.5.0 is required

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant whitespace in qt_print_backtrace()
Ivailo Monev [Tue, 3 Dec 2019 17:01:11 +0000 (17:01 +0000)]
remove redundant whitespace in qt_print_backtrace()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix out of bounds access in _q_escapeIdentifier()
Ivailo Monev [Tue, 3 Dec 2019 16:17:41 +0000 (16:17 +0000)]
fix out of bounds access in _q_escapeIdentifier()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosupport stack unwinding on assert via Unwind
Ivailo Monev [Tue, 3 Dec 2019 15:58:59 +0000 (15:58 +0000)]
support stack unwinding on assert via Unwind

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iteration in QSettingsPrivate::variantListToStringList()
Ivailo Monev [Tue, 3 Dec 2019 13:09:57 +0000 (13:09 +0000)]
use foreach() for iteration in QSettingsPrivate::variantListToStringList()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace QMetaType with QVariant enums where applicable in QVariant::canConvert()
Ivailo Monev [Tue, 3 Dec 2019 13:09:32 +0000 (13:09 +0000)]
replace QMetaType with QVariant enums where applicable in QVariant::canConvert()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd SQL tests
Ivailo Monev [Tue, 3 Dec 2019 13:07:02 +0000 (13:07 +0000)]
add SQL tests

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoMySQL driver review
Ivailo Monev [Tue, 3 Dec 2019 09:53:47 +0000 (09:53 +0000)]
MySQL driver review

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QSqlDatabasePrivate member
Ivailo Monev [Tue, 3 Dec 2019 09:19:32 +0000 (09:19 +0000)]
remove unused QSqlDatabasePrivate member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iterations in tst_Databases
Ivailo Monev [Tue, 3 Dec 2019 09:02:12 +0000 (09:02 +0000)]
use foreach() for iterations in tst_Databases

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused toHex() function from tst_databases header
Ivailo Monev [Tue, 3 Dec 2019 09:01:46 +0000 (09:01 +0000)]
remove unused toHex() function from tst_databases header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iteration in tst_Databases::open() and tst_Databases::close()
Ivailo Monev [Tue, 3 Dec 2019 08:39:17 +0000 (08:39 +0000)]
use foreach() for iteration in tst_Databases::open() and tst_Databases::close()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach for iteration in tst_QSqlDatabase::initTestCase() and tst_QSqlDatabase...
Ivailo Monev [Tue, 3 Dec 2019 08:38:07 +0000 (08:38 +0000)]
use foreach for iteration in tst_QSqlDatabase::initTestCase() and tst_QSqlDatabase::cleanupTestCase()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agochange build type to Debug when building with GCC in Travis
Ivailo Monev [Tue, 3 Dec 2019 08:09:29 +0000 (08:09 +0000)]
change build type to Debug when building with GCC in Travis

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQVariant benchmark requires gui component
Ivailo Monev [Tue, 3 Dec 2019 08:06:07 +0000 (08:06 +0000)]
QVariant benchmark requires gui component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix assert and compiler warning about it in HarfBuzz shaper
Ivailo Monev [Tue, 3 Dec 2019 08:04:04 +0000 (08:04 +0000)]
fix assert and compiler warning about it in HarfBuzz shaper

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect table comments in HarfBuzz shaper
Ivailo Monev [Tue, 3 Dec 2019 08:03:17 +0000 (08:03 +0000)]
correct table comments in HarfBuzz shaper

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QSettings test
Ivailo Monev [Tue, 3 Dec 2019 06:27:59 +0000 (06:27 +0000)]
add QSettings test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace table with cases and fix JsonArray and JsonObject cases in QVariant::canConvert()
Ivailo Monev [Tue, 3 Dec 2019 06:25:44 +0000 (06:25 +0000)]
replace table with cases and fix JsonArray and JsonObject cases in QVariant::canConvert()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qVariantToHelper() argument
Ivailo Monev [Tue, 3 Dec 2019 06:14:39 +0000 (06:14 +0000)]
remove unused qVariantToHelper() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreturn from QVariant convert() helper and return ok for QVariant::Double/QVariant...
Ivailo Monev [Tue, 3 Dec 2019 06:13:59 +0000 (06:13 +0000)]
return from QVariant convert() helper and return ok for QVariant::Double/QVariant::Float cases

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark the result of UString::ascii const
Ivailo Monev [Tue, 3 Dec 2019 04:14:37 +0000 (04:14 +0000)]
mark the result of UString::ascii const

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in QIcuCodec::codecForUtf
Ivailo Monev [Tue, 3 Dec 2019 04:13:54 +0000 (04:13 +0000)]
reduce branches in QIcuCodec::codecForUtf

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect note in MySQL CMake module
Ivailo Monev [Mon, 2 Dec 2019 07:51:19 +0000 (07:51 +0000)]
correct note in MySQL CMake module

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd note why CMP0063 is set to NEW [ci skip]
Ivailo Monev [Mon, 2 Dec 2019 04:51:04 +0000 (04:51 +0000)]
add note why CMP0063 is set to NEW [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect variable name in main tests CMake file
Ivailo Monev [Mon, 2 Dec 2019 04:22:03 +0000 (04:22 +0000)]
correct variable name in main tests CMake file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake the runnable sleep for 3sec to avoid race in tst_QThreadPool::reserveAndStart()
Ivailo Monev [Mon, 2 Dec 2019 04:21:29 +0000 (04:21 +0000)]
make the runnable sleep for 3sec to avoid race in tst_QThreadPool::reserveAndStart()

otherwise the runnable can finish before active thread count check is reached

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd separate build time option for tests and benchmarks
Ivailo Monev [Mon, 2 Dec 2019 02:34:13 +0000 (02:34 +0000)]
add separate build time option for tests and benchmarks

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreturn IPv6 address conditionally from QtNetworkSettings::serverIPs()
Ivailo Monev [Mon, 2 Dec 2019 02:06:14 +0000 (02:06 +0000)]
return IPv6 address conditionally from QtNetworkSettings::serverIPs()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolock when setting QThreadPool expiry time
Ivailo Monev [Sun, 1 Dec 2019 15:07:17 +0000 (15:07 +0000)]
lock when setting QThreadPool expiry time

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorun tests in Travis when building with GCC
Ivailo Monev [Sun, 1 Dec 2019 14:06:30 +0000 (14:06 +0000)]
run tests in Travis when building with GCC

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect expected data for 7nn_NO case in QLocale test
Ivailo Monev [Sun, 1 Dec 2019 13:44:07 +0000 (13:44 +0000)]
correct expected data for 7nn_NO case in QLocale test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QtNetworkSettings::winServerName() method
Ivailo Monev [Sun, 1 Dec 2019 13:34:58 +0000 (13:34 +0000)]
remove unused QtNetworkSettings::winServerName() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove variables that do not actually affect ctest from runtest script
Ivailo Monev [Sun, 1 Dec 2019 13:34:07 +0000 (13:34 +0000)]
remove variables that do not actually affect ctest from runtest script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse https://www.w3.org/ for network tests
Ivailo Monev [Sun, 1 Dec 2019 13:33:29 +0000 (13:33 +0000)]
use https://www.w3.org/ for network tests

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix lexgen test build
Ivailo Monev [Sun, 1 Dec 2019 13:02:59 +0000 (13:02 +0000)]
fix lexgen test build

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolower result values in benchcompare script if they are too big
Ivailo Monev [Sun, 1 Dec 2019 13:02:08 +0000 (13:02 +0000)]
lower result values in benchcompare script if they are too big

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default reimplementations from ExtractImages, WriteIconData, WriteIconDeclarat...
Ivailo Monev [Sun, 1 Dec 2019 10:33:07 +0000 (10:33 +0000)]
remove default reimplementations from ExtractImages, WriteIconData, WriteIconDeclaration and WriteIconInitialization

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default reimplementation of TreeWalker::acceptIncludes() from WriteIncludes
Ivailo Monev [Sun, 1 Dec 2019 10:27:42 +0000 (10:27 +0000)]
remove default reimplementation of TreeWalker::acceptIncludes() from WriteIncludes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporaries in QDBusAdaptorConnector::polish()
Ivailo Monev [Sun, 1 Dec 2019 10:04:03 +0000 (10:04 +0000)]
avoid temporaries in QDBusAdaptorConnector::polish()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize known values lookup in CSS parser
Ivailo Monev [Sun, 1 Dec 2019 07:58:12 +0000 (07:58 +0000)]
optimize known values lookup in CSS parser

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