OSDN Git Service

kde/Katie.git
4 years agotake pixel size into account when creating QFont from string
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>
4 years agouse proper type for argument in qIsNumericType() and qIsFloatingPoint() functions
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>
4 years agofix GUI QVariant types conversion
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>
4 years agoremove raw fonts support leftovers
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>
4 years agostream and cast QVariant type member as int
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>
4 years agoreplace QMetaType::Float with QVariant::Float where applicable
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>
4 years agouse consistent way to detect if colored message should be logged in messageType2String()
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>
4 years agomake QVariant::Double from/to QVariant::Float conversion explicit and fix it
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>
4 years agomove QVariant::String specific case to switch in QVariant::canConvert()
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>
4 years agofix QVariant::Float type conversion regression since 71bd691d09470882be77dfa51f150936...
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>
4 years agocompiler warning fixes
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>
4 years agoremove threads build option
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>
4 years agoavoid temporary in QCacheItem::writeHeader()
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>
4 years agoavoid temporaries in QNetworkDiskCachePrivate::prepareLayout()
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>
4 years agoavoid temporaries in QXmlSimpleReaderPrivate::parseString()
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>
4 years agouse proper type in QMutexPool::get()
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>
4 years agoreplace 0 with Q_NULLPTR in QMutexPool::createMutex() and QMutexPool::globalInstanceGet()
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>
4 years agoreplace qmutexlocker with qmutex header inclusion
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>
4 years agoadd some missing class visibility attributes
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>
4 years agomerge qsharedpointer_impl header into qsharedpointer header
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>
4 years agoheaders compat
Ivailo Monev [Thu, 19 Dec 2019 14:40:52 +0000 (14:40 +0000)]
headers compat

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove now redundant dblinc.py script
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>
4 years agoremove redundant DECLARE_COMPAT_WIDGET() macro definition
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>
4 years agothe public headers checker in kate_generate_public() has served its purpose
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>
4 years agoremove non-existing classes leftovers
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>
4 years agoQtContainerFwd fancy header compat
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>
4 years agoremove fancy headers for non-existing classes
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>
4 years agoremove redundant string header inclusion from qtextcodec_p header
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>
4 years agoremove QHashDummyNode and QHashDummyValue leftovers
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>
4 years agoavoid temporaries in moc generated code
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>
4 years agoremove unused and internal Qt::WidgetAttribute::WA_PendingUpdate enum
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>
4 years agoquote value of GETCWDFUNCNAME so that it is considered as literal string by the compiler
Ivailo Monev [Thu, 19 Dec 2019 00:42:41 +0000 (00:42 +0000)]
quote value of GETCWDFUNCNAME so that it is considered as literal string by the compiler

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace QT_DEBUG with QT_NO_DEBUG
Ivailo Monev [Thu, 19 Dec 2019 00:30:42 +0000 (00:30 +0000)]
replace QT_DEBUG with QT_NO_DEBUG

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid stat() in QFileSystemEngine::currentPath()
Ivailo Monev [Thu, 19 Dec 2019 00:13:38 +0000 (00:13 +0000)]
avoid stat() in QFileSystemEngine::currentPath()

both get_current_dir_name() and getcwd() do it internally, atleast in glibc

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoPATH_MAX is not required to call get_current_dir_name()
Ivailo Monev [Wed, 18 Dec 2019 23:46:51 +0000 (23:46 +0000)]
PATH_MAX is not required to call get_current_dir_name()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QFileSystemEngine::homePath() and QFileSystemEngine::tempPath()
Ivailo Monev [Wed, 18 Dec 2019 22:57:35 +0000 (22:57 +0000)]
optimize QFileSystemEngine::homePath() and QFileSystemEngine::tempPath()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse QImage::constBits() in QRasterWindowSurface::prepareBuffer()
Ivailo Monev [Wed, 18 Dec 2019 22:50:45 +0000 (22:50 +0000)]
use QImage::constBits() in QRasterWindowSurface::prepareBuffer()

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

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorebrand code generated by moc
Ivailo Monev [Wed, 18 Dec 2019 21:11:00 +0000 (21:11 +0000)]
rebrand code generated by moc

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove QT_NO_SETTINGS and QT_NO_COMPRESS definitions checks unrelated to bootstrap
Ivailo Monev [Wed, 18 Dec 2019 21:05:36 +0000 (21:05 +0000)]
remove QT_NO_SETTINGS and QT_NO_COMPRESS definitions checks unrelated to bootstrap

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse KATIE_GIT as build-key and remove redundant QT_EDITION definition
Ivailo Monev [Wed, 18 Dec 2019 18:57:29 +0000 (18:57 +0000)]
use KATIE_GIT as build-key and remove redundant QT_EDITION definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume QT_KATIE is not defined anywhere else
Ivailo Monev [Wed, 18 Dec 2019 18:55:07 +0000 (18:55 +0000)]
assume QT_KATIE is not defined anywhere else

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Debian package maintainer scripts
Ivailo Monev [Wed, 18 Dec 2019 16:50:25 +0000 (16:50 +0000)]
remove redundant Debian package maintainer scripts

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant libc suplements from qcore_unix_p header
Ivailo Monev [Wed, 18 Dec 2019 16:50:03 +0000 (16:50 +0000)]
remove redundant libc suplements from qcore_unix_p header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoensure resources for DBus performance benchmark are generated
Ivailo Monev [Wed, 18 Dec 2019 16:17:22 +0000 (16:17 +0000)]
ensure resources for DBus performance benchmark are generated

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoset argv to full path to program in QProcessPrivate::startDetached()
Ivailo Monev [Wed, 18 Dec 2019 15:25:10 +0000 (15:25 +0000)]
set argv to full path to program in QProcessPrivate::startDetached()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace NDEBUG with QT_NO_DEBUG definition
Ivailo Monev [Wed, 18 Dec 2019 03:19:12 +0000 (03:19 +0000)]
replace NDEBUG with QT_NO_DEBUG definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark certain core component options unsupported
Ivailo Monev [Tue, 17 Dec 2019 22:15:46 +0000 (22:15 +0000)]
mark certain core component options unsupported

this is mostly automated change set, a lot to be done later on
especially about the definitions in core component. the goal is
to make most of the options of the core component available so
that they can be utilized in other components and tools without
restrictions as shown by some of the changes done to the GUI
component in this commit

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QT_NO_CODECS definition
Ivailo Monev [Tue, 17 Dec 2019 21:48:37 +0000 (21:48 +0000)]
remove redundant QT_NO_CODECS definition

it is the same as QT_NO_TEXTCODEC

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agono need to execute moc via exec.sh during build, it is bootstrapped
Ivailo Monev [Tue, 17 Dec 2019 21:29:04 +0000 (21:29 +0000)]
no need to execute moc via exec.sh during build, it is bootstrapped

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant forward Driver class declaration from cppwriteincludes header
Ivailo Monev [Tue, 17 Dec 2019 19:42:31 +0000 (19:42 +0000)]
remove redundant forward Driver class declaration from cppwriteincludes header

4 years agoDriver destructor does not have to be virtual
Ivailo Monev [Tue, 17 Dec 2019 19:37:33 +0000 (19:37 +0000)]
Driver destructor does not have to be virtual

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper types for Option members
Ivailo Monev [Tue, 17 Dec 2019 19:33:33 +0000 (19:33 +0000)]
use proper types for Option members

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant UIC include directory
Ivailo Monev [Tue, 17 Dec 2019 19:29:09 +0000 (19:29 +0000)]
remove redundant UIC include directory

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd extended description for Debian package [ci skip]
Ivailo Monev [Tue, 17 Dec 2019 17:27:20 +0000 (17:27 +0000)]
add extended description for Debian package [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd Debian package symbols file
Ivailo Monev [Tue, 17 Dec 2019 17:26:14 +0000 (17:26 +0000)]
add Debian package symbols file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoregenerate manual pages
Ivailo Monev [Tue, 17 Dec 2019 16:54:54 +0000 (16:54 +0000)]
regenerate manual pages

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix spelling errors in qscript manual page
Ivailo Monev [Tue, 17 Dec 2019 16:54:31 +0000 (16:54 +0000)]
fix spelling errors in qscript manual page

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove superfluous whitespace at the end of Categories key in desktop files
Ivailo Monev [Tue, 17 Dec 2019 16:48:53 +0000 (16:48 +0000)]
remove superfluous whitespace at the end of Categories key in desktop files

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinstall pkgconfig files in architecture specific library directory by default
Ivailo Monev [Tue, 17 Dec 2019 16:39:39 +0000 (16:39 +0000)]
install pkgconfig files in architecture specific library directory by default

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd field code to Exec key in designer desktop file
Ivailo Monev [Tue, 17 Dec 2019 16:30:16 +0000 (16:30 +0000)]
add field code to Exec key in designer desktop file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix spelling error in qt_x_errhandler()
Ivailo Monev [Tue, 17 Dec 2019 16:28:47 +0000 (16:28 +0000)]
fix spelling error in qt_x_errhandler()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not assume LD_LIBRARY_PATH is not set in exec.sh script
Ivailo Monev [Tue, 17 Dec 2019 16:27:54 +0000 (16:27 +0000)]
do not assume LD_LIBRARY_PATH is not set in exec.sh script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused TreeWalker::acceptConnectionHints() and TreeWalker::acceptConnectionHint()
Ivailo Monev [Tue, 17 Dec 2019 04:19:21 +0000 (04:19 +0000)]
remove unused TreeWalker::acceptConnectionHints() and TreeWalker::acceptConnectionHint()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake use of CMAKE_CURRENT_LIST_DIR CMake variable
Ivailo Monev [Tue, 17 Dec 2019 04:02:08 +0000 (04:02 +0000)]
make use of CMAKE_CURRENT_LIST_DIR CMake variable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQStandardPaths, QJsonArray, QJsonObject::iterator, QJsonParseError and QJsonValue...
Ivailo Monev [Tue, 17 Dec 2019 03:35:13 +0000 (03:35 +0000)]
QStandardPaths, QJsonArray, QJsonObject::iterator, QJsonParseError and QJsonValue are available since 4.9

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove QStandrdPaths mac and windows specific documentation
Ivailo Monev [Tue, 17 Dec 2019 03:34:10 +0000 (03:34 +0000)]
remove QStandrdPaths mac and windows specific documentation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid shadowing argument variable
Ivailo Monev [Tue, 17 Dec 2019 03:27:58 +0000 (03:27 +0000)]
avoid shadowing argument variable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocase-fold the UCS-4 char in foldCase() functions
Ivailo Monev [Tue, 17 Dec 2019 03:04:40 +0000 (03:04 +0000)]
case-fold the UCS-4 char in foldCase() functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant whitespace from moc generated code
Ivailo Monev [Tue, 17 Dec 2019 03:04:05 +0000 (03:04 +0000)]
remove redundant whitespace from moc generated code

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse new style cast in QFontEngineFT::minRightBearing()
Ivailo Monev [Tue, 17 Dec 2019 02:36:21 +0000 (02:36 +0000)]
use new style cast in QFontEngineFT::minRightBearing()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorequire Freetype version 2.1.10+
Ivailo Monev [Tue, 17 Dec 2019 02:34:10 +0000 (02:34 +0000)]
require Freetype version 2.1.10+

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper type for Glyph::uploadedToServer member
Ivailo Monev [Tue, 17 Dec 2019 02:15:35 +0000 (02:15 +0000)]
use proper type for Glyph::uploadedToServer member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace reinterpret_cast with static_cast in moc generated code
Ivailo Monev [Tue, 17 Dec 2019 01:10:44 +0000 (01:10 +0000)]
replace reinterpret_cast with static_cast in moc generated code

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove VC6 support leftovers
Ivailo Monev [Tue, 17 Dec 2019 00:04:37 +0000 (00:04 +0000)]
remove VC6 support leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix build when tools are suffixed
Ivailo Monev [Mon, 16 Dec 2019 23:50:55 +0000 (23:50 +0000)]
fix build when tools are suffixed

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd break to default case in moc generated code
Ivailo Monev [Mon, 16 Dec 2019 23:49:29 +0000 (23:49 +0000)]
add break to default case in moc generated code

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused KATIE_QDBUSXML2CPP from KatieBUildMacros CMake file
Ivailo Monev [Mon, 16 Dec 2019 23:48:45 +0000 (23:48 +0000)]
remove unused KATIE_QDBUSXML2CPP from KatieBUildMacros CMake file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporaries in QStandardPaths::findExecutable()
Ivailo Monev [Mon, 16 Dec 2019 22:32:32 +0000 (22:32 +0000)]
avoid temporaries in QStandardPaths::findExecutable()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iteration in QCoreApplication::applicationFilePath()
Ivailo Monev [Mon, 16 Dec 2019 22:19:38 +0000 (22:19 +0000)]
use foreach() for iteration in QCoreApplication::applicationFilePath()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fix
Ivailo Monev [Mon, 16 Dec 2019 19:37:11 +0000 (19:37 +0000)]
compiler warning fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoappend instead of prepending in QTextCodec::QTextCodec()
Ivailo Monev [Mon, 16 Dec 2019 14:06:51 +0000 (14:06 +0000)]
append instead of prepending in QTextCodec::QTextCodec()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agonote that the list of supported encodings is incomplete
Ivailo Monev [Mon, 16 Dec 2019 14:05:31 +0000 (14:05 +0000)]
note that the list of supported encodings is incomplete

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement QTextCodec::codecForText() via ICU
Ivailo Monev [Mon, 16 Dec 2019 14:05:02 +0000 (14:05 +0000)]
implement QTextCodec::codecForText() via ICU

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect warning message in QIcuCodec::codecForUtf()
Ivailo Monev [Mon, 16 Dec 2019 14:03:47 +0000 (14:03 +0000)]
correct warning message in QIcuCodec::codecForUtf()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agono need for explicit codecs creation anymore
Ivailo Monev [Mon, 16 Dec 2019 03:50:33 +0000 (03:50 +0000)]
no need for explicit codecs creation anymore

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QTextCodec::codecForName()
Ivailo Monev [Mon, 16 Dec 2019 02:17:56 +0000 (02:17 +0000)]
avoid temporary in QTextCodec::codecForName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolock before acessing globals in QTextCodec::~QTextCodec() and QTextCodec::codecForLoc...
Ivailo Monev [Mon, 16 Dec 2019 02:02:47 +0000 (02:02 +0000)]
lock before acessing globals in QTextCodec::~QTextCodec() and QTextCodec::codecForLocale()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoget rid of redundant codecs cache
Ivailo Monev [Mon, 16 Dec 2019 02:02:16 +0000 (02:02 +0000)]
get rid of redundant codecs cache

a list of all codecs is maintained for the sake of cleanup already

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake a deep copy of the codec name in QIcuCodec constructor
Ivailo Monev [Mon, 16 Dec 2019 02:00:45 +0000 (02:00 +0000)]
make a deep copy of the codec name in QIcuCodec constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake use of already set variables in katie_setup_target() for translations
Ivailo Monev [Sun, 15 Dec 2019 23:56:16 +0000 (23:56 +0000)]
make use of already set variables in katie_setup_target() for translations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild fixes
Ivailo Monev [Sun, 15 Dec 2019 23:43:24 +0000 (23:43 +0000)]
build fixes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse katie_setup_target() so that exec.sh script is used to execute the tools when...
Ivailo Monev [Sun, 15 Dec 2019 22:58:24 +0000 (22:58 +0000)]
use katie_setup_target() so that exec.sh script is used to execute the tools when building tests

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_THREAD conditional build fixes
Ivailo Monev [Sun, 15 Dec 2019 22:44:47 +0000 (22:44 +0000)]
QT_NO_THREAD conditional build fixes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake custom build commands and targets depend on targets rather than their output
Ivailo Monev [Sun, 15 Dec 2019 22:44:22 +0000 (22:44 +0000)]
make custom build commands and targets depend on targets rather than their output

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QHttpNetworkReply test noop if QT_NO_HTTP is defined
Ivailo Monev [Sun, 15 Dec 2019 22:24:33 +0000 (22:24 +0000)]
make QHttpNetworkReply test noop if QT_NO_HTTP is defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoexecute tools during build via script
Ivailo Monev [Sun, 15 Dec 2019 21:54:30 +0000 (21:54 +0000)]
execute tools during build via script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace qstring with qglobal header inclusion in qxmlutils_p header
Ivailo Monev [Sun, 15 Dec 2019 21:26:13 +0000 (21:26 +0000)]
replace qstring with qglobal header inclusion in qxmlutils_p header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QCoreApplication::translate()
Ivailo Monev [Sun, 15 Dec 2019 21:25:40 +0000 (21:25 +0000)]
avoid temporary in QCoreApplication::translate()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove qt3 support leftovers
Ivailo Monev [Sun, 15 Dec 2019 20:00:31 +0000 (20:00 +0000)]
remove qt3 support leftovers

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