OSDN Git Service
Ivailo Monev [Sun, 21 Nov 2021 01:52:38 +0000 (03:52 +0200)]
remove unused QFileInfo object in QFileDialog::setDirectory()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 15:09:41 +0000 (17:09 +0200)]
Python 3000 compatible genmib script [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 15:03:51 +0000 (17:03 +0200)]
update URL TLDs table data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 15:02:09 +0000 (17:02 +0200)]
update manual pages
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 14:49:58 +0000 (16:49 +0200)]
update tables data to CLDR v40
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 14:31:37 +0000 (16:31 +0200)]
update unicode data tables to v14.0
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 14:15:41 +0000 (16:15 +0200)]
add QAtomicPointer test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 14:07:32 +0000 (16:07 +0200)]
add QAtomicInt test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 13:39:36 +0000 (15:39 +0200)]
remove experimetnal code from declarative component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 12:30:29 +0000 (14:30 +0200)]
remove unuse qfileinfo/QFileInfo header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 12:23:49 +0000 (14:23 +0200)]
use foreach() for iteration in QScriptEngine::availableExtensions() and avoid deep-copies of objects
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 12:18:54 +0000 (14:18 +0200)]
replace QFileInfo with QStatInfo in network component where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 12:08:19 +0000 (14:08 +0200)]
drop QRC support in network component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 12:00:30 +0000 (14:00 +0200)]
remove unused qfileinfo header inclusions in network component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 12:00:12 +0000 (14:00 +0200)]
replace QFileInfo with QStatInfo in QSslCertificate::fromPath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:42:36 +0000 (11:42 +0200)]
replace QFileInfo with QStatInfo in QDeclarativeImportsPrivate::add()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:37:34 +0000 (11:37 +0200)]
remove another QRC hack in QDeclarativeTypeLoader::absoluteFilePath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:34:36 +0000 (11:34 +0200)]
remove unused and duplicate headers inclusions in qdeclarativemetatype source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:32:10 +0000 (11:32 +0200)]
unroll loop to the only possible case in QDeclarativeImportDatabase::resolvePlugin()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:28:07 +0000 (11:28 +0200)]
remove QRC hack in QDeclarativeImportDatabase::resolvePlugin()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:24:10 +0000 (11:24 +0200)]
drop QRC support in declarative component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 20 Nov 2021 09:14:27 +0000 (11:14 +0200)]
drop support for SCI border images
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 23:25:54 +0000 (01:25 +0200)]
workaround lack of focus events when testing via Xvfb in tst_QFocusEvent::checkReason_ActiveWindow()
upstream commit:
https://github.com/qt/qtbase/commit/
c7e7a785c6e3bec422fe5b62361e5417240c0ada
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 21:31:16 +0000 (23:31 +0200)]
use QFile::rename() in QDirModel::dropMimeData() for move action
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 21:20:26 +0000 (23:20 +0200)]
replace QFileInfo with QStatInfo where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 21:00:30 +0000 (23:00 +0200)]
add QFocusEvent test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 07:29:31 +0000 (09:29 +0200)]
add QInputDialog test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 07:15:34 +0000 (09:15 +0200)]
add QDataWidgetMapper test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 05:33:23 +0000 (07:33 +0200)]
potential fix for the random tst_QCompleter::QTBUG_14292_filesystem() fails
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 04:44:46 +0000 (06:44 +0200)]
do not deep-copy objects when iterating in variantToString() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 19 Nov 2021 00:41:19 +0000 (02:41 +0200)]
potential fix for the random tst_QCompleter::QTBUG_14292_filesystem() fails
upstream commits:
https://github.com/qt/qtbase/commit/
65fa00b6bef60552ccc9638f14b6209c01797229
https://github.com/qt/qtbase/commit/
54bd1102ad14b5c1c3112ebc98435877cc2a5c7f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 23:34:29 +0000 (01:34 +0200)]
wait maximum 50ms on the first try from QTRY_VERIFY() and QTRY_COMPARE()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 23:33:25 +0000 (01:33 +0200)]
de-duplicate QTRY_COMPARE() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 21:38:40 +0000 (23:38 +0200)]
do not hard-copy QRect objects when iterating in QRegion::intersects() and QRasterWindowSurface::beginPaint()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 21:21:33 +0000 (21:21 +0000)]
remove unused QT_NO_UNSETENV configuration option [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 20:06:07 +0000 (22:06 +0200)]
do not force C++ standard via USE_LANGUAGES
fixes build on Linux host
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 18:26:33 +0000 (20:26 +0200)]
replace QVarLengthArray<T>() with QSTACKARRAY() in QHeaderView::moveSection()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 18:15:00 +0000 (20:15 +0200)]
replace QVarLengthArray<T>() with QSTACKARRAY() in QString::replace()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 18 Nov 2021 08:29:10 +0000 (10:29 +0200)]
add QColumnView test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 16 Nov 2021 04:08:31 +0000 (06:08 +0200)]
update translations [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 18:39:27 +0000 (20:39 +0200)]
add note about watching non-existing directories [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 18:28:54 +0000 (20:28 +0200)]
test signal emission for non-existing directories and files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 17:24:44 +0000 (19:24 +0200)]
include directories entries from QStatInfo::dirInfos() but do not recurse into them
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 09:33:08 +0000 (11:33 +0200)]
QFileSystemWatcher documentation update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 07:31:42 +0000 (09:31 +0200)]
merge QFileSystemWatcherEngine into QFileSystemWatcherEngineUnix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 07:23:41 +0000 (09:23 +0200)]
reusable non-VFS (QRC) QFileInfo/QFileSystemWatcherEngineUnix::FileInfo alternative
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 05:09:06 +0000 (07:09 +0200)]
adjust tst_QFileSystemWatcher::nonExistingFile() test case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 04:46:57 +0000 (06:46 +0200)]
poll for changes from QFileSystemWatcher rather than using native APIs
to make it possible to emit signals for non-existing directories and files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Nov 2021 03:59:45 +0000 (05:59 +0200)]
remove redundant return statement at the end of QDBusConnectionPrivate::deliverCall()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Nov 2021 17:06:43 +0000 (19:06 +0200)]
mark type name to type table in ProcessAST::visit() as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Nov 2021 16:57:31 +0000 (18:57 +0200)]
typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 10 Nov 2021 21:11:26 +0000 (23:11 +0200)]
assume qmldir files do not contain unicode characters
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 10 Nov 2021 21:10:30 +0000 (23:10 +0200)]
construct filepath string via QString::fromLocal8Bit() for consistency in QDeclarativeDirParser::parse()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 10 Nov 2021 21:07:49 +0000 (23:07 +0200)]
remove unused qmldir section types support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 3 Nov 2021 13:08:34 +0000 (15:08 +0200)]
typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 2 Nov 2021 11:31:44 +0000 (13:31 +0200)]
allocate buffer for realpath() on the stack
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 2 Nov 2021 11:26:02 +0000 (13:26 +0200)]
pass the string size to QByteArray constructor in QFileSystemEngine::getLinkTarget()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 2 Nov 2021 01:13:04 +0000 (03:13 +0200)]
do not copy color in QDeclarativeRectangle::generateRoundedRect(), QDeclarativeRectangle::generateBorderedRect() and QDeclarativeRectangle::drawRect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 2 Nov 2021 01:08:46 +0000 (03:08 +0200)]
do not convert and copy the color in QtColorButton::paintEvent() and QtColorButtonPrivate::generatePixmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 2 Nov 2021 00:54:14 +0000 (02:54 +0200)]
copy color as-is in QtColorLinePrivate::paintEvent()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 23:28:16 +0000 (01:28 +0200)]
assume qint64 and ssize_t are the same in QNativeSocketEnginePrivate::nativeWrite()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 23:04:04 +0000 (01:04 +0200)]
ifdef spaghetti in QNativeSocketEnginePrivate::option()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 22:57:45 +0000 (00:57 +0200)]
regardless of socket type set SO_REUSEADDR for reusable address socket option
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 22:45:55 +0000 (00:45 +0200)]
move Q_VOID definition to qcorecommon_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 22:38:25 +0000 (00:38 +0200)]
do not construct/cast twice isprint() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 22:33:07 +0000 (00:33 +0200)]
pass the buffer size to QByteArray constructor in qt_prettyDebug() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 22:32:35 +0000 (00:32 +0200)]
replace double with single space in FreeBSD Makefile
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 21:44:07 +0000 (23:44 +0200)]
include required system headers in tst_qhostaddress source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 21:33:43 +0000 (23:33 +0200)]
include netinet/in system header for sockaddr_in, sockaddr_in6 and IPPROTO_IP in qnetworkinterface_unix source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Nov 2021 21:00:07 +0000 (23:00 +0200)]
remove redundant header inclusions in qnet_unix_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Oct 2021 07:46:35 +0000 (10:46 +0300)]
format and indent qhostaddress source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Oct 2021 07:37:35 +0000 (10:37 +0300)]
pass the string size to QString constructor in QNetworkInterfacePrivate::makeHwAddress()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Oct 2021 07:25:29 +0000 (10:25 +0300)]
add missing break in QLocalSocketPrivate::_q_connectToSocket()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Oct 2021 07:24:04 +0000 (10:24 +0300)]
add missing break in QLocalSocketPrivate::errorOccurred()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Oct 2021 07:22:34 +0000 (10:22 +0300)]
remove unused ieeefp header inclusion in tst_qstringref source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Oct 2021 07:11:44 +0000 (10:11 +0300)]
use proper QString constructor in addressFromSockaddr() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 20:16:05 +0000 (23:16 +0300)]
do not reference color table when it is not going to be fixed in fix_color_table() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 19:03:39 +0000 (22:03 +0300)]
simplify QX11PixmapData::fromImage() by converting the source image
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 17:49:50 +0000 (20:49 +0300)]
do not reference the image in QX11PixmapData::fromImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 08:15:18 +0000 (11:15 +0300)]
test QJsonDocument reference comparison
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 08:10:48 +0000 (11:10 +0300)]
avoid implicit QByteArray from char array construct in QTest::qExec()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 07:39:15 +0000 (10:39 +0300)]
include qcorecommon_p header for QSTACKARRAY() in qpaintengine_raster source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 07:05:38 +0000 (10:05 +0300)]
replace hardcoded value with enum in QWizardPrivate::updateButtonLayout()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 06:58:22 +0000 (09:58 +0300)]
do not (possibly) pre-allocate more than enough in QTextEngine::itemize()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 06:56:28 +0000 (09:56 +0300)]
replace QVector<T>() with QVarLengthArray<T>() in QTextDocumentLayoutPrivate::layoutTable()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 06:45:33 +0000 (09:45 +0300)]
replace QVarLengthArray<T>() with QSTACKARRAY() in QRasterPaintEngine::drawPolygon()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 06:40:23 +0000 (09:40 +0300)]
replace QVarLengthArray<T>() with QSTACKARRAY() in QGridLayoutRowData::calculateGeometries()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 06:30:04 +0000 (09:30 +0300)]
construct QVarLengthArray<T>() with the right size instead of resizing it in QDBusMetaObjectGenerator::write()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 05:37:57 +0000 (08:37 +0300)]
add QCheckBox test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 05:31:00 +0000 (08:31 +0300)]
add QCache test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 04:51:49 +0000 (07:51 +0300)]
drop QT_NO_USE_FSEEKO configuration option [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Oct 2021 04:38:47 +0000 (07:38 +0300)]
use correct type for socket length variable in multicastMembershipHelper() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 19:02:27 +0000 (22:02 +0300)]
qCount<T,T>() compat
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 18:55:54 +0000 (21:55 +0300)]
qFill<T,T>() fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 08:20:06 +0000 (11:20 +0300)]
return DH pointer for DH algorithm from QSslKey::handle()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 07:48:01 +0000 (10:48 +0300)]
replace QVarLengthArray<T>() with QSTACKARRAY() in QSslSocketBackendPrivate::transmit()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 07:16:16 +0000 (10:16 +0300)]
correct getpeername() return value check
upstream commit:
https://github.com/qt/qtbase/commit/
75a9bd2a4f637fb8e8e3dc4609a7045547119e80
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 07:03:38 +0000 (10:03 +0300)]
construct color from enum in QDeclarativePen constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Oct 2021 07:03:07 +0000 (10:03 +0300)]
remove SQL component [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 2 Oct 2021 18:00:23 +0000 (21:00 +0300)]
use proper type for written bytes count in QFileSystemEngine::copyFile()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>