OSDN Git Service

kde/Katie.git
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>
4 years agoregenerate javascriptcore grammar
Ivailo Monev [Sun, 1 Dec 2019 06:41:50 +0000 (06:41 +0000)]
regenerate javascriptcore grammar

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agochange KATIE_KEY pattern to similar to machine identifier of compilers [ci skip]
Ivailo Monev [Sun, 1 Dec 2019 06:14:00 +0000 (06:14 +0000)]
change KATIE_KEY pattern to similar to machine identifier of compilers [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline QTestEventLoop methods again
Ivailo Monev [Sun, 1 Dec 2019 05:07:55 +0000 (05:07 +0000)]
inline QTestEventLoop methods again

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove duplicate extern reference in translateKeySym() function
Ivailo Monev [Sat, 30 Nov 2019 07:38:27 +0000 (07:38 +0000)]
remove duplicate extern reference in translateKeySym() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse lower-case name for local variable in mkspecs CMake file
Ivailo Monev [Sat, 30 Nov 2019 07:30:26 +0000 (07:30 +0000)]
use lower-case name for local variable in mkspecs CMake file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodisable data relocations if CMAKE_POSITION_INDEPENDENT_CODE is set to OFF/FALSE
Ivailo Monev [Sat, 30 Nov 2019 07:18:47 +0000 (07:18 +0000)]
disable data relocations if CMAKE_POSITION_INDEPENDENT_CODE is set to OFF/FALSE

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify PRNG seeding
Ivailo Monev [Sat, 30 Nov 2019 03:37:31 +0000 (03:37 +0000)]
simplify PRNG seeding

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove some inline methods body to their declaration in QCache
Ivailo Monev [Sat, 30 Nov 2019 03:02:38 +0000 (03:02 +0000)]
move some inline methods body to their declaration in QCache

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace static function call with its body in QPngHandler::write()
Ivailo Monev [Sat, 30 Nov 2019 01:16:57 +0000 (01:16 +0000)]
replace static function call with its body in QPngHandler::write()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QPNGImageWriter::writeImage() overload
Ivailo Monev [Sat, 30 Nov 2019 01:05:22 +0000 (01:05 +0000)]
remove unused QPNGImageWriter::writeImage() overload

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QPNGImageWriter members
Ivailo Monev [Sat, 30 Nov 2019 00:50:55 +0000 (00:50 +0000)]
remove unused QPNGImageWriter members

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreview comments in top-level CMake file [ci skip]
Ivailo Monev [Fri, 29 Nov 2019 22:22:25 +0000 (22:22 +0000)]
review comments in top-level CMake file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimprove Qt4 module compatibility
Ivailo Monev [Fri, 29 Nov 2019 22:22:02 +0000 (22:22 +0000)]
improve Qt4 module compatibility

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodeal with TODO in CMake macro files [ci skip]
Ivailo Monev [Fri, 29 Nov 2019 10:45:27 +0000 (10:45 +0000)]
deal with TODO in CMake macro files [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_VERSION_PATCH compatibility fix [ci skip]
Ivailo Monev [Fri, 29 Nov 2019 10:25:59 +0000 (10:25 +0000)]
QT_VERSION_PATCH compatibility fix [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake version requirement notes consistent
Ivailo Monev [Fri, 29 Nov 2019 10:17:20 +0000 (10:17 +0000)]
make version requirement notes consistent

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorequire Sqlite atleast v3.5.0
Ivailo Monev [Fri, 29 Nov 2019 10:14:09 +0000 (10:14 +0000)]
require Sqlite atleast v3.5.0

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove manual QGraphicsView benchmarks
Ivailo Monev [Fri, 29 Nov 2019 09:24:42 +0000 (09:24 +0000)]
remove manual QGraphicsView benchmarks

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodeal with FIXME in utilities CMake file
Ivailo Monev [Fri, 29 Nov 2019 08:54:34 +0000 (08:54 +0000)]
deal with FIXME in utilities CMake file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused gencmap utility
Ivailo Monev [Fri, 29 Nov 2019 08:29:53 +0000 (08:29 +0000)]
remove unused gencmap utility

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove qlalr utility documentation and examples
Ivailo Monev [Fri, 29 Nov 2019 08:22:41 +0000 (08:22 +0000)]
remove qlalr utility documentation and examples

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodeal with TODO in gui component CMake file
Ivailo Monev [Fri, 29 Nov 2019 08:18:21 +0000 (08:18 +0000)]
deal with TODO in gui component CMake file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove now unused UString::UTF8String() argument
Ivailo Monev [Fri, 29 Nov 2019 06:11:08 +0000 (06:11 +0000)]
remove now unused UString::UTF8String() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant header inclusions from qicucodec cpp file
Ivailo Monev [Fri, 29 Nov 2019 04:57:55 +0000 (04:57 +0000)]
remove redundant header inclusions from qicucodec cpp file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove QIcuCodec helper methods to the bottom for consistency
Ivailo Monev [Fri, 29 Nov 2019 04:57:13 +0000 (04:57 +0000)]
move QIcuCodec helper methods to the bottom for consistency

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild fix
Ivailo Monev [Fri, 29 Nov 2019 04:30:23 +0000 (04:30 +0000)]
build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse QLatinString where applicable
Ivailo Monev [Fri, 29 Nov 2019 04:12:27 +0000 (04:12 +0000)]
use QLatinString where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse QSet instead of QHash for m_laidout member in QAbstractFormBuilder
Ivailo Monev [Fri, 29 Nov 2019 04:11:47 +0000 (04:11 +0000)]
use QSet instead of QHash for m_laidout member in QAbstractFormBuilder

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QNetworkCookieJar::cookiesForUrl()
Ivailo Monev [Fri, 29 Nov 2019 03:49:13 +0000 (03:49 +0000)]
avoid temporary in QNetworkCookieJar::cookiesForUrl()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace "Qt Designer" with "Katie Designer"
Ivailo Monev [Fri, 29 Nov 2019 03:33:51 +0000 (03:33 +0000)]
replace "Qt Designer" with "Katie Designer"

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused mac images
Ivailo Monev [Fri, 29 Nov 2019 03:24:08 +0000 (03:24 +0000)]
remove unused mac images

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace Qt logo
Ivailo Monev [Fri, 29 Nov 2019 03:17:28 +0000 (03:17 +0000)]
replace Qt logo

image is by Dave Gandy, CC BY 3.0 license from:
https://www.flaticon.com/free-icon/thumbs-up_25297

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant icns file
Ivailo Monev [Fri, 29 Nov 2019 03:08:20 +0000 (03:08 +0000)]
remove redundant icns file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "use memcpy() for buffers copy in JavaScriptCore where possible"
Ivailo Monev [Thu, 28 Nov 2019 23:49:17 +0000 (23:49 +0000)]
Revert "use memcpy() for buffers copy in JavaScriptCore where possible"

This reverts commit 8bf3a0a368ee4aa7cd58cf9259fc7d8acae3cad2.

4 years agoremove redundant ByteArray prototype from qscript tool
Ivailo Monev [Thu, 28 Nov 2019 23:34:42 +0000 (23:34 +0000)]
remove redundant ByteArray prototype from qscript tool

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement JavaScriptCore UTF-8 conversion via QTextCodec
Ivailo Monev [Thu, 28 Nov 2019 23:13:56 +0000 (23:13 +0000)]
reimplement JavaScriptCore UTF-8 conversion via QTextCodec

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline and avoid temporary in containsTLDEntry() function
Ivailo Monev [Thu, 28 Nov 2019 20:41:24 +0000 (20:41 +0000)]
inline and avoid temporary in containsTLDEntry() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake use of static QByteArray::number() and QString::number()
Ivailo Monev [Thu, 28 Nov 2019 10:22:25 +0000 (10:22 +0000)]
make use of static QByteArray::number() and QString::number()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify populateNumericCombo() function
Ivailo Monev [Thu, 28 Nov 2019 10:11:44 +0000 (10:11 +0000)]
simplify populateNumericCombo() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreserve list space in QFileDialog::selectedFiles()
Ivailo Monev [Thu, 28 Nov 2019 09:56:37 +0000 (09:56 +0000)]
reserve list space in QFileDialog::selectedFiles()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid QString::split() since the result is known in qt_make_filter_list()
Ivailo Monev [Thu, 28 Nov 2019 09:54:59 +0000 (09:54 +0000)]
avoid QString::split() since the result is known in qt_make_filter_list()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove QSsl::TlsV1 case before default in QSslSocketBackendPrivate::initSslContext()
Ivailo Monev [Thu, 28 Nov 2019 07:52:00 +0000 (07:52 +0000)]
move QSsl::TlsV1 case before default in QSslSocketBackendPrivate::initSslContext()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse ASN1_STRING_get0_data() if available
Ivailo Monev [Thu, 28 Nov 2019 07:51:15 +0000 (07:51 +0000)]
use ASN1_STRING_get0_data() if available

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporaries and use const-reference where applicable
Ivailo Monev [Thu, 28 Nov 2019 05:08:50 +0000 (05:08 +0000)]
avoid temporaries and use const-reference where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosort excluded all-in-one sources list [ci skip]
Ivailo Monev [Thu, 28 Nov 2019 03:54:01 +0000 (03:54 +0000)]
sort excluded all-in-one sources list [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect definitions for Xext not found case [ci skip]
Ivailo Monev [Thu, 28 Nov 2019 03:47:12 +0000 (03:47 +0000)]
correct definitions for Xext not found case [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove duplicate header inclusions
Ivailo Monev [Wed, 27 Nov 2019 23:22:53 +0000 (23:22 +0000)]
remove duplicate header inclusions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosuppress warnings caused by ignoring chdir retval
Ivailo Monev [Wed, 27 Nov 2019 22:30:52 +0000 (22:30 +0000)]
suppress warnings caused by ignoring chdir retval

upstream commit:
https://github.com/qt/qtbase/commit/c7da50ef8cf30558537425918cf03f5e72c680c1

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused v_cast(), v_construct() and v_clear() arguments
Ivailo Monev [Wed, 27 Nov 2019 22:14:09 +0000 (22:14 +0000)]
remove unused v_cast(), v_construct() and v_clear() arguments

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in QIcuCodec::getConverter()
Ivailo Monev [Wed, 27 Nov 2019 21:55:55 +0000 (21:55 +0000)]
reduce branches in QIcuCodec::getConverter()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodrop keypad navigation support
Ivailo Monev [Wed, 27 Nov 2019 20:01:26 +0000 (20:01 +0000)]
drop keypad navigation support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant pragmafsck script [ci skip]
Ivailo Monev [Wed, 27 Nov 2019 07:44:19 +0000 (07:44 +0000)]
remove redundant pragmafsck script [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agogenmib script review
Ivailo Monev [Wed, 27 Nov 2019 07:31:56 +0000 (07:31 +0000)]
genmib script review

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodetect only UTF text from QTextCodec::codecForUtfText() for compatibility
Ivailo Monev [Wed, 27 Nov 2019 07:03:25 +0000 (07:03 +0000)]
detect only UTF text from QTextCodec::codecForUtfText() for compatibility

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused local variable in QTextCodec::codecForMib()
Ivailo Monev [Wed, 27 Nov 2019 05:22:14 +0000 (05:22 +0000)]
remove unused local variable in QTextCodec::codecForMib()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse consistent variable name for result in QIcuCodec::convertToUnicode()
Ivailo Monev [Wed, 27 Nov 2019 05:12:57 +0000 (05:12 +0000)]
use consistent variable name for result in QIcuCodec::convertToUnicode()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect warning message in QIcuCodec::convertToUnicode()
Ivailo Monev [Wed, 27 Nov 2019 05:12:02 +0000 (05:12 +0000)]
correct warning message in QIcuCodec::convertToUnicode()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoplatform specific mkspecs are no longer a thing
Ivailo Monev [Wed, 27 Nov 2019 03:49:11 +0000 (03:49 +0000)]
platform specific mkspecs are no longer a thing

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoprint actual the <class>::<method> info from QIcuCodec::codecForText() warnings
Ivailo Monev [Wed, 27 Nov 2019 02:37:36 +0000 (02:37 +0000)]
print actual the <class>::<method> info from QIcuCodec::codecForText() warnings

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agono need for Latin1 codec name alias now
Ivailo Monev [Wed, 27 Nov 2019 01:46:36 +0000 (01:46 +0000)]
no need for Latin1 codec name alias now

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement QTextCodec::codecForUtfText() via ICU
Ivailo Monev [Wed, 27 Nov 2019 01:34:56 +0000 (01:34 +0000)]
reimplement QTextCodec::codecForUtfText() via ICU

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoUTF-32 BOM is 4 chars
Ivailo Monev [Wed, 27 Nov 2019 01:05:53 +0000 (01:05 +0000)]
UTF-32 BOM is 4 chars

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