OSDN Git Service
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>
Ivailo Monev [Thu, 25 Jul 2019 13:29:43 +0000 (13:29 +0000)]
Revert "use uninitialized buffer in qt_ACE_do() function"
This reverts commit
c8b043ee5e7a766b149f332f5829f27f7dab64f1.
Ivailo Monev [Thu, 25 Jul 2019 13:12:35 +0000 (13:12 +0000)]
avoid lock in QBearerEngine::configurationsInUse()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 12:19:48 +0000 (12:19 +0000)]
use QByteArray::clear() instead of resizing to zero in qt_ACE_do() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 12:14:07 +0000 (12:14 +0000)]
use uninitialized buffer in toLatin1_helper() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 12:07:47 +0000 (12:07 +0000)]
use uninitialized buffer in qt_ACE_do() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 11:19:28 +0000 (11:19 +0000)]
use uninitialized buffer in QUtf32::convertToUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 11:18:45 +0000 (11:18 +0000)]
use uninitialized buffer in QUtf8::convertFromUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 25 Jul 2019 11:17:51 +0000 (11:17 +0000)]
use uninitialized buffer in QUtf16::convertFromUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 23:29:22 +0000 (23:29 +0000)]
QStandardItemModelPrivate destructor does not have to be virtual
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 23:29:06 +0000 (23:29 +0000)]
QStandardItemPrivate destructor does not have to be virtual
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 23:24:57 +0000 (23:24 +0000)]
use const q pointer for connection in QStandardItemModelPrivate::init()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 23:18:48 +0000 (23:18 +0000)]
remove unused QScriptablePrivate member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 21:19:07 +0000 (21:19 +0000)]
remove unused QScriptDebuggerConsoleCommandPrivate member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 21:00:21 +0000 (21:00 +0000)]
remove unused QGraphicsSceneEventPrivate member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 20:54:48 +0000 (20:54 +0000)]
remove unused QImageIOHandlerPrivate member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 20:30:35 +0000 (20:30 +0000)]
remove unusedQFactoryLoader::library() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 20:00:28 +0000 (20:00 +0000)]
CUPS support no longer depends on QT_NO_LIBRARY not being defined
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 19:26:34 +0000 (19:26 +0000)]
avoid locks in QFutureInterface getters
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 19:18:33 +0000 (19:18 +0000)]
avoid lock in QFutureInterfaceBase::isResultReadyAt()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 19:15:14 +0000 (19:15 +0000)]
private QFuture d member does not have to be mutable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 19:11:59 +0000 (19:11 +0000)]
avoid use of goto in tryPatternLoad()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 17:58:24 +0000 (17:58 +0000)]
fill special languages values
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 11:34:42 +0000 (11:34 +0000)]
workaround for broken libSM is no longer needed
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 11:04:37 +0000 (11:04 +0000)]
remove experimental Python bindings
they may be brought back as separate project
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 10:57:00 +0000 (10:57 +0000)]
update notes about script properties
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 10:53:05 +0000 (10:53 +0000)]
add missing space to statement in QChar::isSpace()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 10:47:58 +0000 (10:47 +0000)]
use utf8proc for grapheme break property detection
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 24 Jul 2019 00:14:03 +0000 (00:14 +0000)]
update translations [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 23 Jul 2019 20:36:14 +0000 (20:36 +0000)]
use indic shape and attributes for Mahajani script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 23 Jul 2019 20:33:15 +0000 (20:33 +0000)]
use arabic shape for Egyptian Hieroglyphs script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 23 Jul 2019 20:11:35 +0000 (20:11 +0000)]
update package files and Travis dependencies
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 23 Jul 2019 20:02:45 +0000 (20:02 +0000)]
Unicode v5.0+ characters and partial scripts support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 22 Jul 2019 21:22:43 +0000 (21:22 +0000)]
remove unused qt_script_for_writing_system() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 22 Jul 2019 11:27:25 +0000 (11:27 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 19 Jul 2019 11:22:39 +0000 (11:22 +0000)]
remove non-essential harfbuzz files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 19 Jul 2019 01:41:44 +0000 (01:41 +0000)]
remove redundant plugins include directory
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 22:25:08 +0000 (22:25 +0000)]
make private QDBusArgument and data pointer actually private
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:49:30 +0000 (21:49 +0000)]
build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:45:59 +0000 (21:45 +0000)]
remove msvc support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:44:22 +0000 (21:44 +0000)]
remove mac support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:42:54 +0000 (21:42 +0000)]
remove windows support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:33:18 +0000 (21:33 +0000)]
replace __ia64 definition checks with QT_ARCH_IA64
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:30:27 +0000 (21:30 +0000)]
remove windows and mac support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 21:13:05 +0000 (21:13 +0000)]
reserve number of items equal to arguments in dbus script plugin
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 17:18:25 +0000 (17:18 +0000)]
move Q_REQUIRED_RESULT to compiler specific definitions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 17:04:17 +0000 (17:04 +0000)]
remove redundant QAbstractSocket timers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 16:47:39 +0000 (16:47 +0000)]
remove redundant QSslSocket timers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 16:47:22 +0000 (16:47 +0000)]
remove redundant QSocks5SocketEngine timers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 16:47:01 +0000 (16:47 +0000)]
remove redundant QHttpSocketEngine timers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 16:40:20 +0000 (16:40 +0000)]
remove redundant QProcess timers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 11:35:30 +0000 (11:35 +0000)]
use const iterator in QtConcurrent::FilterKernel for IterateKernelType
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 11:24:38 +0000 (11:24 +0000)]
move private QThread priority setup closer to other members setup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 11:17:26 +0000 (11:17 +0000)]
avoid temporary in QObject::event()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 11:10:18 +0000 (11:10 +0000)]
remove unused internal QThreadPrivate::threadForId() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 00:06:57 +0000 (00:06 +0000)]
remove unused internal QSqlRecordPrivate::createField() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jul 2019 00:06:31 +0000 (00:06 +0000)]
remove unused internal QSqlIndex::createField() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jul 2019 23:59:59 +0000 (23:59 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>