OSDN Git Service
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>
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>
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.
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>
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>
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>
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>
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>
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>
Ivailo Monev [Mon, 29 Jul 2019 10:48:17 +0000 (10:48 +0000)]
indentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Sun, 28 Jul 2019 15:52:07 +0000 (15:52 +0000)]
remove windows leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
Ivailo Monev [Sun, 28 Jul 2019 13:42:00 +0000 (13:42 +0000)]
indentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Sat, 27 Jul 2019 22:05:31 +0000 (22:05 +0000)]
update translations
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
Ivailo Monev [Sat, 27 Jul 2019 17:09:34 +0000 (17:09 +0000)]
review updatetranslations script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Sat, 27 Jul 2019 11:53:21 +0000 (11:53 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Thu, 25 Jul 2019 23:31:57 +0000 (23:31 +0000)]
mark QHostInfoCache getters const and avoid lock
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 22:47:40 +0000 (22:47 +0000)]
use extern reference instead of including qdesktopservices_x11 source
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 22:47:02 +0000 (22:47 +0000)]
remove redundant inclusion of qt_x11_p header from qdesktopservice_x11
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 19:17:11 +0000 (19:17 +0000)]
build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 19:03:39 +0000 (19:03 +0000)]
remove QSystemSemaphore notes about windows
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 18:57:06 +0000 (18:57 +0000)]
use uninitialized buffer in QTextDocumentPrivate::plainText()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 18:49:53 +0000 (18:49 +0000)]
remove QSocketNotifier notes about windows
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 17:25:33 +0000 (17:25 +0000)]
cstdlib is required for malloc, realloc and free in qabstracttestlogger_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 16:40:48 +0000 (16:40 +0000)]
cstdlib is required for free in qscopedpointer header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 16:33:48 +0000 (16:33 +0000)]
cstdlib is required for malloc in qcontiguouscache header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 16:29:49 +0000 (16:29 +0000)]
std::swap is declared in utility header since C++11
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 13:58:32 +0000 (13:58 +0000)]
JavaScriptCore table, iterators and mutex do not have to be mutable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 13:55:31 +0000 (13:55 +0000)]
avoid lock in ThreadSafeSharedBase::refCount()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 13:39:49 +0000 (13:39 +0000)]
avoid locks in QConnmanEngine::connmanAvailable() and QNetworkManagerEngine::networkManagerAvailable()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>