OSDN Git Service

kde/Katie.git
4 years agoreview CMake modules
Ivailo Monev [Tue, 30 Jul 2019 12:04:33 +0000 (12:04 +0000)]
review CMake modules

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild bootstrap moc without regular expression feature
Ivailo Monev [Tue, 30 Jul 2019 11:30:40 +0000 (11:30 +0000)]
build bootstrap moc without regular expression feature

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse character lookup instead of regular expression in QDateTime::fromString()
Ivailo Monev [Tue, 30 Jul 2019 11:30:04 +0000 (11:30 +0000)]
use character lookup instead of regular expression in QDateTime::fromString()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QScriptDeclarativeClassPrivate member
Ivailo Monev [Tue, 30 Jul 2019 11:18:43 +0000 (11:18 +0000)]
remove unused QScriptDeclarativeClassPrivate member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper type for unicode script
Ivailo Monev [Tue, 30 Jul 2019 11:01:18 +0000 (11:01 +0000)]
use proper type for unicode script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused script argument from QFontDatabase functions
Ivailo Monev [Tue, 30 Jul 2019 11:00:18 +0000 (11:00 +0000)]
remove unused script argument from QFontDatabase functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove now non-existing method declaration from JSC Lexer header
Ivailo Monev [Tue, 30 Jul 2019 01:18:23 +0000 (01:18 +0000)]
remove now non-existing method declaration from JSC Lexer header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant contains check from QChache::take()
Ivailo Monev [Tue, 30 Jul 2019 01:15:52 +0000 (01:15 +0000)]
remove redundant contains check from QChache::take()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused JSC SourceProvider member
Ivailo Monev [Tue, 30 Jul 2019 01:15:25 +0000 (01:15 +0000)]
remove unused JSC SourceProvider member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd note where to get the data from to genutf
Ivailo Monev [Mon, 29 Jul 2019 23:35:07 +0000 (23:35 +0000)]
add note where to get the data from to genutf

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreview genutf script [ci skip]
Ivailo Monev [Mon, 29 Jul 2019 23:21:21 +0000 (23:21 +0000)]
review genutf script [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate manual pages [ci skip]
Ivailo Monev [Mon, 29 Jul 2019 22:09:38 +0000 (22:09 +0000)]
update manual pages [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect qscript tool name in manual page
Ivailo Monev [Mon, 29 Jul 2019 22:08:49 +0000 (22:08 +0000)]
correct qscript tool name in manual page

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse qulonglong construct to make the compiler cope with quintptr
Ivailo Monev [Mon, 29 Jul 2019 18:37:17 +0000 (18:37 +0000)]
use qulonglong construct to make the compiler cope with quintptr

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace c-style quintptr casts with constructors for consistency
Ivailo Monev [Mon, 29 Jul 2019 17:48:58 +0000 (17:48 +0000)]
replace c-style quintptr casts with constructors for consistency

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd short/ushort QByteArray::number() and QString::number() overloads
Ivailo Monev [Mon, 29 Jul 2019 17:48:26 +0000 (17:48 +0000)]
add short/ushort QByteArray::number() and QString::number() overloads

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "JavaScriptCore table, iterators and mutex do not have to be mutable"
Ivailo Monev [Mon, 29 Jul 2019 17:43:12 +0000 (17:43 +0000)]
Revert "JavaScriptCore table, iterators and mutex do not have to be mutable"

This reverts commit 8f0ff492ecffd5a61bb828796961e867249e7fb7.

4 years agoreimplement QCache purely based on QHash
Ivailo Monev [Mon, 29 Jul 2019 17:42:30 +0000 (17:42 +0000)]
reimplement QCache purely based on QHash

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocall qlonglong/qulonglong overloads for int/uint from QByteArray::number()
Ivailo Monev [Mon, 29 Jul 2019 17:36:20 +0000 (17:36 +0000)]
call qlonglong/qulonglong overloads for int/uint from QByteArray::number()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake use of std::uintptr_t and std::ptrdiff_t
Ivailo Monev [Mon, 29 Jul 2019 16:56:39 +0000 (16:56 +0000)]
make use of std::uintptr_t and std::ptrdiff_t

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume QStyleOptionFrame is version 2 where possible
Ivailo Monev [Mon, 29 Jul 2019 11:45:37 +0000 (11:45 +0000)]
assume QStyleOptionFrame is version 2 where possible

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default reimplementation of QCommandLinkButton::event()
Ivailo Monev [Mon, 29 Jul 2019 11:35:17 +0000 (11:35 +0000)]
remove default reimplementation of QCommandLinkButton::event()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove obsolete QLCDNumber enums doc reference
Ivailo Monev [Mon, 29 Jul 2019 11:17:44 +0000 (11:17 +0000)]
remove obsolete  QLCDNumber enums doc reference

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindentation
Ivailo Monev [Mon, 29 Jul 2019 10:48:17 +0000 (10:48 +0000)]
indentation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoconstruct QFile with the filename in QHostInfo::localDomainName()
Ivailo Monev [Mon, 29 Jul 2019 10:41:38 +0000 (10:41 +0000)]
construct QFile with the filename in QHostInfo::localDomainName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove incorrect namespace prefix from getHostByNameMutex() reference in QHostInfoAge...
Ivailo Monev [Mon, 29 Jul 2019 10:40:28 +0000 (10:40 +0000)]
remove incorrect namespace prefix from getHostByNameMutex() reference in QHostInfoAgent::fromName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove space from QDir enum reference in QNetworkDiskCache::expire()
Ivailo Monev [Mon, 29 Jul 2019 10:39:02 +0000 (10:39 +0000)]
remove space from QDir enum reference in QNetworkDiskCache::expire()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid two timezone spec lookups in QDateTime::fromString()
Ivailo Monev [Mon, 29 Jul 2019 10:24:52 +0000 (10:24 +0000)]
avoid two timezone spec lookups in QDateTime::fromString()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant exclude pattern from doxygen config
Ivailo Monev [Mon, 29 Jul 2019 10:17:19 +0000 (10:17 +0000)]
remove redundant exclude pattern from doxygen config

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not generate docs for private classes
Ivailo Monev [Mon, 29 Jul 2019 10:16:58 +0000 (10:16 +0000)]
do not generate docs for private classes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix host lookup when build without thread support
Ivailo Monev [Sun, 28 Jul 2019 22:12:12 +0000 (22:12 +0000)]
fix host lookup when build without thread support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Sun, 28 Jul 2019 21:13:48 +0000 (21:13 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild QMutex and QWaitCondition benchmarks conditionally
Ivailo Monev [Sun, 28 Jul 2019 21:10:57 +0000 (21:10 +0000)]
build QMutex and QWaitCondition benchmarks conditionally

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoskip dbus performance benchmark if build with process feature disabled
Ivailo Monev [Sun, 28 Jul 2019 21:10:14 +0000 (21:10 +0000)]
skip dbus performance benchmark if build with process feature disabled

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse timers for QDeclarativeWorkerScriptEngine and QDeclarativePixmapReader if thread...
Ivailo Monev [Sun, 28 Jul 2019 20:47:20 +0000 (20:47 +0000)]
use timers for QDeclarativeWorkerScriptEngine and QDeclarativePixmapReader if thread is not supported

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild jpeg benchmark conditionally
Ivailo Monev [Sun, 28 Jul 2019 19:53:00 +0000 (19:53 +0000)]
build jpeg benchmark conditionally

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild auto tests that depend on thread support conditionally
Ivailo Monev [Sun, 28 Jul 2019 19:49:42 +0000 (19:49 +0000)]
build auto tests that depend on thread support conditionally

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace try/catch/throw with QT_TRY/QT_CATCH/QT_RETHROW where possible
Ivailo Monev [Sun, 28 Jul 2019 18:27:03 +0000 (18:27 +0000)]
replace try/catch/throw with QT_TRY/QT_CATCH/QT_RETHROW where possible

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agointroduce Q_COMPILER_EXCEPTIONS
Ivailo Monev [Sun, 28 Jul 2019 17:53:18 +0000 (17:53 +0000)]
introduce Q_COMPILER_EXCEPTIONS

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume qPrintable is not defined
Ivailo Monev [Sun, 28 Jul 2019 17:45:00 +0000 (17:45 +0000)]
assume qPrintable is not defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove windows leftovers
Ivailo Monev [Sun, 28 Jul 2019 15:52:07 +0000 (15:52 +0000)]
remove windows leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid use of goto in QFontDatabase::smoothSizes()
Ivailo Monev [Sun, 28 Jul 2019 15:45:24 +0000 (15:45 +0000)]
avoid use of goto in QFontDatabase::smoothSizes()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume progress style is version 2 where possible
Ivailo Monev [Sun, 28 Jul 2019 14:20:51 +0000 (14:20 +0000)]
assume progress style is version 2 where possible

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in unzipXPM() function
Ivailo Monev [Sun, 28 Jul 2019 13:52:58 +0000 (13:52 +0000)]
avoid temporary in unzipXPM() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindentation
Ivailo Monev [Sun, 28 Jul 2019 13:42:00 +0000 (13:42 +0000)]
indentation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QColorShower member
Ivailo Monev [Sun, 28 Jul 2019 13:41:35 +0000 (13:41 +0000)]
remove unused QColorShower member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate classes list in namefsck script
Ivailo Monev [Sun, 28 Jul 2019 13:17:49 +0000 (13:17 +0000)]
update classes list in namefsck script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agonow that classes removal is not done often, avoid running genmap when building
Ivailo Monev [Sun, 28 Jul 2019 13:09:34 +0000 (13:09 +0000)]
now that classes removal is not done often, avoid running genmap when building

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove non-existing include directory from script component includes
Ivailo Monev [Sun, 28 Jul 2019 13:00:11 +0000 (13:00 +0000)]
remove non-existing include directory from script component includes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompute hash only once depending on algorithm in digestMd5ResponseHelper()
Ivailo Monev [Sun, 28 Jul 2019 12:45:29 +0000 (12:45 +0000)]
compute hash only once depending on algorithm in digestMd5ResponseHelper()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse static hash function in QNetworkDiskCachePrivate::uniqueFileName()
Ivailo Monev [Sun, 28 Jul 2019 12:42:12 +0000 (12:42 +0000)]
use static hash function in QNetworkDiskCachePrivate::uniqueFileName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobump network disk cache version since different compression method is used
Ivailo Monev [Sun, 28 Jul 2019 12:36:13 +0000 (12:36 +0000)]
bump network disk cache version since different compression method is used

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoprepend translation call with class in QIODevice::errorString()
Ivailo Monev [Sat, 27 Jul 2019 22:06:44 +0000 (22:06 +0000)]
prepend translation call with class in QIODevice::errorString()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect translations handling in updatetranslations script
Ivailo Monev [Sat, 27 Jul 2019 22:06:00 +0000 (22:06 +0000)]
correct translations handling in updatetranslations script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate translations
Ivailo Monev [Sat, 27 Jul 2019 22:05:31 +0000 (22:05 +0000)]
update translations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove threaded QML interpreter leftover
Ivailo Monev [Sat, 27 Jul 2019 22:02:38 +0000 (22:02 +0000)]
remove threaded QML interpreter leftover

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoeffectively revert QString changes
Ivailo Monev [Sat, 27 Jul 2019 21:53:56 +0000 (21:53 +0000)]
effectively revert QString changes

that includes:
https://github.com/fluxer/katie/commit/53b54fc8a63c4301f07ca5efbe9d8df8cd4739d5
https://github.com/fluxer/katie/commit/3e4c0955a908bc8f75c30494041feb3355cadf30

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreview updatetranslations script
Ivailo Monev [Sat, 27 Jul 2019 17:09:34 +0000 (17:09 +0000)]
review updatetranslations script

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove incorrect note about pointer leaking
Ivailo Monev [Sat, 27 Jul 2019 16:43:43 +0000 (16:43 +0000)]
remove incorrect note about pointer leaking

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodrop Glib2 event dispatcher support
Ivailo Monev [Sat, 27 Jul 2019 16:31:14 +0000 (16:31 +0000)]
drop Glib2 event dispatcher support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README pci skip]
Ivailo Monev [Sat, 27 Jul 2019 16:20:59 +0000 (16:20 +0000)]
update README pci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Sat, 27 Jul 2019 16:15:36 +0000 (16:15 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_THREAD conditional build fix
Ivailo Monev [Sat, 27 Jul 2019 15:47:13 +0000 (15:47 +0000)]
QT_NO_THREAD conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorcc branding [ci skip]
Ivailo Monev [Sat, 27 Jul 2019 12:56:19 +0000 (12:56 +0000)]
rcc branding [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse dummy pointer to get stack base if build without threads
Ivailo Monev [Sat, 27 Jul 2019 12:52:37 +0000 (12:52 +0000)]
use dummy pointer to get stack base if build without threads

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fix
Ivailo Monev [Sat, 27 Jul 2019 11:53:21 +0000 (11:53 +0000)]
compiler warning fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinitialize QNetworkConfigurationManagerPrivate without extra thread
Ivailo Monev [Sat, 27 Jul 2019 01:12:33 +0000 (01:12 +0000)]
initialize QNetworkConfigurationManagerPrivate without extra thread

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_THREAD conditional build fix
Ivailo Monev [Sat, 27 Jul 2019 01:01:57 +0000 (01:01 +0000)]
QT_NO_THREAD conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoput back HashMap header inclusion in ThreadingQt
Ivailo Monev [Sat, 27 Jul 2019 00:19:07 +0000 (00:19 +0000)]
put back HashMap header inclusion in ThreadingQt

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_THREAD conditional build fix
Ivailo Monev [Sat, 27 Jul 2019 00:14:40 +0000 (00:14 +0000)]
QT_NO_THREAD conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_PROCESS conditional build fix
Ivailo Monev [Fri, 26 Jul 2019 23:52:18 +0000 (23:52 +0000)]
QT_NO_PROCESS conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolower the QFileInfoGatherer poll interval to 500ms
Ivailo Monev [Fri, 26 Jul 2019 23:23:23 +0000 (23:23 +0000)]
lower the QFileInfoGatherer poll interval to 500ms

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not inline Wtf::createThreadInternal() as it is referenced
Ivailo Monev [Fri, 26 Jul 2019 23:21:43 +0000 (23:21 +0000)]
do not inline Wtf::createThreadInternal() as it is referenced

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_PROCESS conditional build fix
Ivailo Monev [Fri, 26 Jul 2019 23:17:12 +0000 (23:17 +0000)]
QT_NO_PROCESS conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_HTTP conditional build fix
Ivailo Monev [Fri, 26 Jul 2019 23:09:59 +0000 (23:09 +0000)]
QT_NO_HTTP conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake threads recommended
Ivailo Monev [Fri, 26 Jul 2019 22:48:00 +0000 (22:48 +0000)]
make threads recommended

most of the toolkit can be build without threads support, the exception is
the script component because JavaScriptCore gc requires it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodisable http feature if thread support is not enabled
Ivailo Monev [Fri, 26 Jul 2019 22:44:56 +0000 (22:44 +0000)]
disable http feature if thread support is not enabled

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse timer for file info gatherer if thread is not supported
Ivailo Monev [Fri, 26 Jul 2019 20:02:08 +0000 (20:02 +0000)]
use timer for file info gatherer if thread is not supported

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_THREAD conditional build fix
Ivailo Monev [Fri, 26 Jul 2019 19:25:10 +0000 (19:25 +0000)]
QT_NO_THREAD conditional build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoset thread to nullptr when build with no thread support
Ivailo Monev [Fri, 26 Jul 2019 19:24:41 +0000 (19:24 +0000)]
set thread to nullptr when build with no thread support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd missing QThreadData::clearCurrentThreadData() stub
Ivailo Monev [Fri, 26 Jul 2019 19:14:38 +0000 (19:14 +0000)]
add missing QThreadData::clearCurrentThreadData() stub

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove dnotify watcher reference
Ivailo Monev [Fri, 26 Jul 2019 19:01:23 +0000 (19:01 +0000)]
remove dnotify watcher reference

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agode-inline QThreadPrivate constructor and destructor to be able to reference QThreadData
Ivailo Monev [Fri, 26 Jul 2019 18:58:41 +0000 (18:58 +0000)]
de-inline QThreadPrivate constructor and destructor to be able to reference QThreadData

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_THREAD conditional build fixes
Ivailo Monev [Fri, 26 Jul 2019 18:57:33 +0000 (18:57 +0000)]
QT_NO_THREAD conditional build fixes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodisable process feature if threads support is not enabled
Ivailo Monev [Fri, 26 Jul 2019 18:49:52 +0000 (18:49 +0000)]
disable process feature if threads support is not enabled

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodisable concurrent feature if threads support is not enabled
Ivailo Monev [Fri, 26 Jul 2019 18:37:40 +0000 (18:37 +0000)]
disable concurrent feature if threads support is not enabled

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodrop support for dnotify filesystem watcher
Ivailo Monev [Fri, 26 Jul 2019 18:33:46 +0000 (18:33 +0000)]
drop support for dnotify filesystem watcher

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild fix for the case when QT_NO_QFUTURE is defined
Ivailo Monev [Fri, 26 Jul 2019 18:31:22 +0000 (18:31 +0000)]
build fix for the case when QT_NO_QFUTURE is defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix declaration of QWaitCondition::wait() stub
Ivailo Monev [Fri, 26 Jul 2019 18:29:38 +0000 (18:29 +0000)]
fix declaration of QWaitCondition::wait() stub

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse scoped locker in QDnotifySignalThread::startNotify()
Ivailo Monev [Fri, 26 Jul 2019 17:34:23 +0000 (17:34 +0000)]
use scoped locker in QDnotifySignalThread::startNotify()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid two cache lookups in QHostInfoCache::get()
Ivailo Monev [Fri, 26 Jul 2019 12:50:41 +0000 (12:50 +0000)]
avoid two cache lookups in QHostInfoCache::get()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QByteArray::resize() resize precisely
Ivailo Monev [Fri, 26 Jul 2019 10:55:09 +0000 (10:55 +0000)]
make QByteArray::resize() resize precisely

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove incorrect QString::grow() call from QString::resize()
Ivailo Monev [Fri, 26 Jul 2019 10:45:20 +0000 (10:45 +0000)]
remove incorrect QString::grow() call from QString::resize()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper cast in QString::compare(()
Ivailo Monev [Fri, 26 Jul 2019 10:35:49 +0000 (10:35 +0000)]
use proper cast in QString::compare(()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoplug QFileSystemEntry memory leaks
Ivailo Monev [Fri, 26 Jul 2019 10:35:28 +0000 (10:35 +0000)]
plug QFileSystemEntry memory leaks

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agonull-termiate the string from QByteArray(const char *data) constructor
Ivailo Monev [Fri, 26 Jul 2019 10:23:52 +0000 (10:23 +0000)]
null-termiate the string from QByteArray(const char *data) constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomerge private alloc and capacity QString Data members into capacity
Ivailo Monev [Fri, 26 Jul 2019 02:32:42 +0000 (02:32 +0000)]
merge private alloc and capacity QString Data members into capacity

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement ThreadSafeSharedBase based on QAtomicInt
Ivailo Monev [Fri, 26 Jul 2019 00:58:11 +0000 (00:58 +0000)]
reimplement ThreadSafeSharedBase based on QAtomicInt

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorename openDocument() and launchWebBrowser() functions, also make non-static
Ivailo Monev [Fri, 26 Jul 2019 00:27:01 +0000 (00:27 +0000)]
rename openDocument() and launchWebBrowser() functions, also make non-static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse QImage::constScanLine() in write_xbm_image() function
Ivailo Monev [Thu, 25 Jul 2019 23:54:10 +0000 (23:54 +0000)]
use QImage::constScanLine() in write_xbm_image() function

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