OSDN Git Service
Ivailo Monev [Thu, 10 Jun 2021 07:08:35 +0000 (10:08 +0300)]
use _FILE_OFFSET_BITS definition for LFS support
noted as recommended method for LFS support on 32-bit systems at:
https://man7.org/linux/man-pages/man2/open.2.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 8 Jun 2021 22:14:25 +0000 (01:14 +0300)]
avoid sendfile64()
fixes build on i386 Linux
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 8 Jun 2021 04:49:07 +0000 (07:49 +0300)]
translations update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 8 Jun 2021 02:47:36 +0000 (05:47 +0300)]
check if XOpenIM() returns valid pointer in QKeyMapper::clearMappings()
fixes kded4 crash on OpenBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 18:22:55 +0000 (21:22 +0300)]
use correct type for lseek() return values where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 18:17:03 +0000 (21:17 +0300)]
check errno in JSC long number parser
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 15:32:50 +0000 (18:32 +0300)]
mark struct as such in do_gettime()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 03:21:35 +0000 (06:21 +0300)]
mark warning case in QPngHandler::canRead() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 03:21:04 +0000 (06:21 +0300)]
combine Q_BYTE_ORDER conditionals in QPNGImageWriter::writeImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 03:11:37 +0000 (06:11 +0300)]
remove unused QImage::offset() and QImage::setOffset() methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Jun 2021 22:43:31 +0000 (01:43 +0300)]
CodeQL warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Jun 2021 21:28:59 +0000 (00:28 +0300)]
regenerate JSC grammar
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Jun 2021 21:10:12 +0000 (00:10 +0300)]
fix regression since
13dc163d50457fce785d2b0795e2820f4cb996c7
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Jun 2021 22:31:42 +0000 (01:31 +0300)]
Revert "static analyzer warning fix"
This reverts commit
30fff5e46cf7bdf1a6796460e8c30e88a22c5cfe.
Ivailo Monev [Fri, 4 Jun 2021 19:06:19 +0000 (22:06 +0300)]
mark QWidget warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Jun 2021 18:04:25 +0000 (21:04 +0300)]
static analyzer warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Jun 2021 16:32:58 +0000 (16:32 +0000)]
add QProcessEnvironment test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Jun 2021 15:57:24 +0000 (15:57 +0000)]
use correct type for return value in qt_safe_waitpid()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Jun 2021 15:56:55 +0000 (15:56 +0000)]
prefix select() call in QProcessManager::run()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 21:03:33 +0000 (00:03 +0300)]
use correct type for defaults in defaultCapabilitiesForType()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 21:00:29 +0000 (00:00 +0300)]
remove unused QGlobalNetworkProxy members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 20:56:39 +0000 (23:56 +0300)]
add QNetworkProxy and QNetworkProxyFactory tests
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 18:33:24 +0000 (21:33 +0300)]
correct type initialization in QDateTimeParser::fieldInfo()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 13:20:55 +0000 (16:20 +0300)]
remove redundant image format configuration definitions [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 12:46:10 +0000 (15:46 +0300)]
do not call QSslKeyPrivate::clear() from QSslKeyPrivate constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 12:36:22 +0000 (15:36 +0300)]
remove unused QXmlStreamReaderPrivate::firstByte member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 11:29:59 +0000 (14:29 +0300)]
replace generic qbswap<T>() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Jun 2021 00:52:14 +0000 (03:52 +0300)]
avoid memcpy() in endian templates for performance reasons
only difference from the GCC version being sign-ness:
https://github.com/gcc-mirror/gcc/blob/master/libgcc/memcpy.c
with the potential loop-unrolling optimization from the compiler since the
size of the type should be known
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Jun 2021 23:42:20 +0000 (02:42 +0300)]
adjust expected data in QLocale tests
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Jun 2021 18:17:15 +0000 (21:17 +0300)]
update tables data to CLDR v39
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 May 2021 22:28:53 +0000 (01:28 +0300)]
make tests depend on plugins
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 May 2021 18:52:59 +0000 (21:52 +0300)]
make QPixmap::pixmapData() private
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 May 2021 18:52:27 +0000 (21:52 +0300)]
mark warning case in QPixmap::doImageIO() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 28 May 2021 00:27:39 +0000 (03:27 +0300)]
remove win leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 28 May 2021 00:27:22 +0000 (03:27 +0300)]
update URL TLDs table data
Ivailo Monev [Sat, 24 Apr 2021 19:10:11 +0000 (22:10 +0300)]
remove redundant definition check in JSC source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 20:27:37 +0000 (23:27 +0300)]
remove redundant qchar header inclusion in qtextboundaryfinder header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 19:08:07 +0000 (22:08 +0300)]
remove redundant QByteArray friend declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 18:25:38 +0000 (21:25 +0300)]
do not declare QMargins, QRect and QRectF operators in the toolkit namespace
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 18:24:04 +0000 (21:24 +0300)]
mark rect_intersects() function as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 18:23:48 +0000 (21:23 +0300)]
minor comments corrections
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 17:58:38 +0000 (20:58 +0300)]
mark constant as static in qt_XRenderCompositeTrapezoids()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 17:58:19 +0000 (20:58 +0300)]
replace internal X11 definition with compiler keyword in qt_XRenderCompositeTrapezoids()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 16:16:40 +0000 (19:16 +0300)]
make use of QDir::homePath() in QUnixPrintWidgetPrivate::applyPrinterProperties()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 16:12:44 +0000 (19:12 +0300)]
remove unused macros in qnativesocketengine source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 16:06:11 +0000 (19:06 +0300)]
optimize QSslSocketPrivate::unixRootCertDirectory() and QSslSocketPrivate::unixRootCertFile()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 15:20:01 +0000 (18:20 +0300)]
format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 15:09:07 +0000 (18:09 +0300)]
remove unused QSqlResult virtual hook
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 14:54:26 +0000 (17:54 +0300)]
remove redundant forward declarations in qsqlresult header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 14:51:32 +0000 (17:51 +0300)]
avoid temporaries in SVG handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Apr 2021 14:51:13 +0000 (17:51 +0300)]
remove unused convertToPixels() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 2 Apr 2021 15:56:37 +0000 (18:56 +0300)]
correct Q_D() macro usage in QPrinterInfo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 2 Apr 2021 15:56:17 +0000 (18:56 +0300)]
indent QFormBuilderExtra::customWidgetBaseClass()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 2 Apr 2021 14:21:15 +0000 (17:21 +0300)]
use QT_BUFFSIZE as buffer size in QXmlStreamReaderPrivate::getChar_helper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 2 Apr 2021 14:04:49 +0000 (17:04 +0300)]
remove redundant QSqlRecord::detach() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 2 Apr 2021 14:01:19 +0000 (17:01 +0300)]
properly initialize QSqlRecordPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 31 Mar 2021 14:04:01 +0000 (17:04 +0300)]
avoid possible data detaching in QByteArray::fromHex() and QByteArray::toHex()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 31 Mar 2021 13:38:57 +0000 (16:38 +0300)]
use immutable strings table in extractEncodingDecl()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 31 Mar 2021 13:16:49 +0000 (16:16 +0300)]
initialize variable outside extractEncodingDecl()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 31 Mar 2021 12:46:52 +0000 (15:46 +0300)]
optimal buffer usage in QTextDocumentPrivate::plainText()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 31 Mar 2021 12:21:58 +0000 (15:21 +0300)]
optimal buffer usage in qFastCompress() and qFastUncompress()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 31 Mar 2021 00:39:56 +0000 (03:39 +0300)]
replace prepareEngine_helper() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Mar 2021 23:28:33 +0000 (02:28 +0300)]
JSC structure leak counter fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Mar 2021 23:13:06 +0000 (02:13 +0300)]
add QScriptValueIterator test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 27 Mar 2021 10:50:17 +0000 (12:50 +0200)]
Revert "automatically delete ccache directory if it reaches size in gigabytes"
This reverts commit
25ae7eec01c688bc141502caa8e28f5d1641cb86.
Ivailo Monev [Sat, 27 Mar 2021 10:30:00 +0000 (12:30 +0200)]
use QStringList for QUiLoader widgets list
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Mar 2021 13:37:04 +0000 (15:37 +0200)]
call QByteArray::append() overload from QByteArray::append()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Mar 2021 13:31:59 +0000 (15:31 +0200)]
automatically delete ccache directory if it reaches size in gigabytes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Mar 2021 12:58:01 +0000 (14:58 +0200)]
do not register unavailable XML modules
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 21:42:51 +0000 (23:42 +0200)]
Revert "get rid of QString::shared_empty member"
This reverts commit
93d76d14e764cc191cbb7786dcdeda3fb75f4aa4.
Ivailo Monev [Thu, 25 Mar 2021 21:03:00 +0000 (23:03 +0200)]
get rid of QString::shared_empty member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 16:54:56 +0000 (18:54 +0200)]
optimal buffer usage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 16:35:05 +0000 (18:35 +0200)]
effectively revert
ad4494cb0f1feda32b0d3cdb34e91ae545971ec1
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 12:42:37 +0000 (14:42 +0200)]
indent QDeclarativeState::containsPropertyInRevertList()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 12:16:52 +0000 (14:16 +0200)]
remove unused variable in QStyleSheetStyle::hasStyleRule()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 11:30:42 +0000 (13:30 +0200)]
avoid copy in qDrawBorder()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 11:27:08 +0000 (13:27 +0200)]
correct CSS off/on properties mappings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 11:05:18 +0000 (13:05 +0200)]
fix build with QT_NO_PLUGIN_CHECK defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Mar 2021 10:21:52 +0000 (12:21 +0200)]
remove unused internal properties
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 24 Mar 2021 06:30:04 +0000 (08:30 +0200)]
remove duplicate class forward declaration in qdom header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 23 Mar 2021 17:41:59 +0000 (19:41 +0200)]
add QEventLoop test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 23 Mar 2021 17:41:16 +0000 (19:41 +0200)]
effectively revert
f94e9391f2551f460531135117893b785972dd64
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 23 Mar 2021 15:04:47 +0000 (17:04 +0200)]
assert that setupLocaleMapper() should not be called with locale mapper set
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 23 Mar 2021 09:37:16 +0000 (11:37 +0200)]
restore behaviour prior
f19ccd13524db2c7f44044ea58d537afcc107fd7
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 14:43:10 +0000 (16:43 +0200)]
actually fix buffer overrun in QDBusUtil::isValidSignature()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 14:23:33 +0000 (16:23 +0200)]
add QScriptValue test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 14:06:49 +0000 (16:06 +0200)]
add QPalette test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 11:09:54 +0000 (13:09 +0200)]
drop QChar support of QJsonDocument and add UTF-8 test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 10:38:50 +0000 (12:38 +0200)]
optimize HTML entities lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 10:25:29 +0000 (12:25 +0200)]
Revert "remove redundant SVG opacity restoration calls"
This reverts commit
36d3f93d52a1f38c7786432ae75c5adea6f8df31.
Ivailo Monev [Mon, 22 Mar 2021 10:12:28 +0000 (12:12 +0200)]
review CSS parser tables and correct pseudo-classes length
upstream commit:
https://github.com/qt/qtbase/commit/
c453571d753160313a8dcb3f3aa4667c34616a8f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 06:44:49 +0000 (08:44 +0200)]
remove redundant SVG opacity restoration calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 06:06:57 +0000 (08:06 +0200)]
remove bogus QByteArray::resize() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 05:51:08 +0000 (07:51 +0200)]
add QBitArray test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 05:22:14 +0000 (07:22 +0200)]
deal with TODO in QDBusAbstractInterface test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Mar 2021 05:18:51 +0000 (07:18 +0200)]
fix buffer overrun in QDBusUtil::isValidSignature()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 21 Mar 2021 17:21:14 +0000 (19:21 +0200)]
update README [ci skip]
fixed via
23b5b7aabb21c6542a9d3e32020e7dfb8f331b35
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 21 Mar 2021 17:17:33 +0000 (19:17 +0200)]
plug QFactoryLoader memory leak
upstream commit:
https://github.com/qt/qtbase/commit/
e09025c1b6d43342e3086b7179109a08f39afd10
Ivailo Monev [Sun, 21 Mar 2021 16:39:11 +0000 (18:39 +0200)]
update README [ci skip]
fixed via
99629d0af41a7783d62743d67e8b615f7efa336f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 21 Mar 2021 16:29:47 +0000 (18:29 +0200)]
fix out-of-bounds in QCss::findKnownValue()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>