OSDN Git Service
Ivailo Monev [Sun, 11 Oct 2020 05:38:23 +0000 (08:38 +0300)]
remove unused and internal QAccessibleToolButton::actionCount()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Oct 2020 05:23:23 +0000 (08:23 +0300)]
remove unused variable in normalizeTypeInternal()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Oct 2020 04:47:08 +0000 (07:47 +0300)]
rewrite INV_PREMUL() as static function to cache alpha value
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Oct 2020 09:54:30 +0000 (12:54 +0300)]
enable opentype harfbuzz support
there is no note left why it was disabled
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Oct 2020 09:34:46 +0000 (12:34 +0300)]
always use qreal as type for QGenericMatrix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 9 Oct 2020 11:31:29 +0000 (14:31 +0300)]
remove redundant qreal constructs in QQuaternion::slerp()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 9 Oct 2020 11:31:04 +0000 (14:31 +0300)]
remove unused QUnifiedTimer::runningAnimationCount() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 9 Oct 2020 11:02:36 +0000 (14:02 +0300)]
remove redundant QUnifiedTimer::instance() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 9 Oct 2020 07:51:55 +0000 (10:51 +0300)]
update URL TLDs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 9 Oct 2020 07:47:44 +0000 (10:47 +0300)]
optimize normalizeTypeInternal() QMetaObject helper function
there should be QByteArray::startsWith() overload that takes size argument
for this purpose
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 8 Oct 2020 13:32:33 +0000 (16:32 +0300)]
remove redundant empty string checks in QCoreApplication::libraryPaths() and QCoreApplication::addLibraryPath()
if the path is empty, the canonical path is also empty
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 8 Oct 2020 09:55:46 +0000 (12:55 +0300)]
require Linux v2.6.27+ and glibc v2.9+
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 8 Oct 2020 09:46:00 +0000 (12:46 +0300)]
use QT_OFF_T where appropriate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 4 Oct 2020 07:37:26 +0000 (10:37 +0300)]
remove redundant type information for XChar2b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 4 Oct 2020 03:10:26 +0000 (06:10 +0300)]
use non-detaching methods in expblur() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 4 Oct 2020 03:09:46 +0000 (06:09 +0300)]
turn condition into assert in qt_blurImage() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 3 Oct 2020 21:21:28 +0000 (00:21 +0300)]
optimize QTransform::TxRotate, QTransform::TxShear and QTransform::TxProject mapping
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 3 Oct 2020 21:01:09 +0000 (00:01 +0300)]
QT_MOC_CPP is never defined so remove checks for it in qglobal header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 3 Oct 2020 17:27:04 +0000 (20:27 +0300)]
remove redundant quint32p drawing helper class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 2 Oct 2020 00:00:54 +0000 (03:00 +0300)]
remove redundant xpmHash() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 1 Oct 2020 23:42:14 +0000 (02:42 +0300)]
optimize qt_rectfill_quint32()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 1 Oct 2020 23:42:00 +0000 (02:42 +0300)]
remove redundant qt_memfill<T, T>() drawing helper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Sep 2020 18:37:27 +0000 (21:37 +0300)]
re-use variable in destStoreARGB32() drawing helper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Sep 2020 18:34:31 +0000 (21:34 +0300)]
revert to normal RCC execution
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 13 Sep 2020 14:14:28 +0000 (17:14 +0300)]
remove unused QString::normalized() overload
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 13 Sep 2020 11:03:29 +0000 (14:03 +0300)]
instruct ltrace to demangle symbol names
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 13 Sep 2020 10:37:40 +0000 (13:37 +0300)]
remove unused QWindowsStyle::reserved member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 12 Sep 2020 18:42:00 +0000 (21:42 +0300)]
call QListData::freeData() instead of plain free() in QList methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 12 Sep 2020 18:11:59 +0000 (21:11 +0300)]
trace RCC execution
Ivailo Monev [Sat, 12 Sep 2020 17:35:15 +0000 (20:35 +0300)]
printf() before rcc actions in attempt to debug CodeQL hang
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 12 Sep 2020 17:31:38 +0000 (20:31 +0300)]
use foreach() for iteration in runcRcc()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 12 Sep 2020 13:59:32 +0000 (16:59 +0300)]
use const-ref in RCC dumpRecursive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 12 Sep 2020 13:59:07 +0000 (16:59 +0300)]
mark digits variable in RCCResourceLibrary::writeHex() as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 11 Sep 2020 15:38:57 +0000 (18:38 +0300)]
optimize QXmlUtils::isEncName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 11 Sep 2020 15:02:38 +0000 (18:02 +0300)]
use QLatin1String instead of QString for static RCC strings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 11 Sep 2020 14:27:28 +0000 (17:27 +0300)]
Update codeql-analysis.yml
Ivailo Monev [Fri, 11 Sep 2020 14:25:09 +0000 (17:25 +0300)]
Update codeql-analysis.yml
Ivailo Monev [Thu, 10 Sep 2020 20:44:39 +0000 (23:44 +0300)]
Create codeql-analysis.yml
Ivailo Monev [Fri, 21 Aug 2020 15:05:53 +0000 (18:05 +0300)]
correct signature of QCoreApplication::translate() for QT_NO_TRANSLATION case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Aug 2020 03:00:20 +0000 (06:00 +0300)]
QT_NO_NAS should always be defined now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Aug 2020 00:15:46 +0000 (03:15 +0300)]
drop obscure (24-bit) QImage formats support
Ivailo Monev [Thu, 20 Aug 2020 21:15:14 +0000 (00:15 +0300)]
avoid temporaries in some composition functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Aug 2020 20:05:13 +0000 (23:05 +0300)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Aug 2020 02:57:35 +0000 (05:57 +0300)]
compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Aug 2020 02:20:05 +0000 (05:20 +0300)]
do not print warning messages from QTextCodec and QIcuCodec
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 19:06:25 +0000 (22:06 +0300)]
regenerate javascriptcore grammar
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 18:12:11 +0000 (21:12 +0300)]
replace generated code from unknown source with string comparison
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 18:04:04 +0000 (21:04 +0300)]
remove code for always false condition in QSvgSwitch::draw()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 14:56:15 +0000 (17:56 +0300)]
expect IPv4 address if IPv6 is not available in QHostInfo reverse lookup test case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 14:54:36 +0000 (17:54 +0300)]
indent qt_plastique_draw_gradient()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 13:49:16 +0000 (16:49 +0300)]
remove unused QCommandLinkButtonPrivate::mergedColors()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 13:41:37 +0000 (16:41 +0300)]
mark QColor warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 13:36:46 +0000 (16:36 +0300)]
avoid temporary in QColor::setAlphaF()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 03:02:46 +0000 (06:02 +0300)]
turn condition into assert in qt_get_hex_rgb()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Aug 2020 02:52:52 +0000 (05:52 +0300)]
optimize QColor::isValidColor()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Aug 2020 21:12:47 +0000 (00:12 +0300)]
fallback to default quality in PNG write handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Aug 2020 20:35:37 +0000 (23:35 +0300)]
add document type and version tag to resource files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Aug 2020 20:22:25 +0000 (23:22 +0300)]
escape dash in regular expression in genlocale script [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Aug 2020 20:08:03 +0000 (23:08 +0300)]
remove unused QTestLogger methods and members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Aug 2020 19:20:44 +0000 (22:20 +0300)]
remove redundant quality limit check in QPNGImageWriter::writeImage()
already mapped from 0-100 to 0-9 in QPngHandler::write()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Aug 2020 19:19:52 +0000 (22:19 +0300)]
make gamma argument of setup_qt() function required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 16 Aug 2020 01:11:21 +0000 (04:11 +0300)]
drop workaround for malformed PNGs
while at it, read the data in single pass as is done in the TIFF image
format handler for an example
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 17:26:20 +0000 (20:26 +0300)]
mark easing helper functions as inline
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 17:17:35 +0000 (20:17 +0300)]
remove redundant easeInElastic_helper() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 17:03:25 +0000 (20:03 +0300)]
remove unused easeOutElastic_helper() arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 17:03:03 +0000 (20:03 +0300)]
replace QDBusMarshaller::close() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 13:11:20 +0000 (16:11 +0300)]
remove unused and redundant test module methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 06:59:48 +0000 (09:59 +0300)]
avoid temporaries in QTextDocument::adjustSize(), printPage() and QTextHtmlExporter constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 05:26:12 +0000 (08:26 +0300)]
correct test message type output indentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 05:16:56 +0000 (08:16 +0300)]
correct test incident output indentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 05:04:06 +0000 (08:04 +0300)]
align test logger categories with debug message categories
should've been done with
abb497201d2f7fd93268a12e0294f68642d47a3f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 15 Aug 2020 00:11:43 +0000 (03:11 +0300)]
initial LGTM config
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 23:50:34 +0000 (02:50 +0300)]
fix some LGTM warnings, notably some that lead to incorrect parsing of the Uniocde data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 23:14:59 +0000 (02:14 +0300)]
remove redundant QSignalSpyCallbackSet::signal_end_callback
QSignalSpyCallbackSet::signal_begin_callback is called once for each signal
thus QTest::iLevel is always one
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 22:49:09 +0000 (01:49 +0300)]
remove unused QSignalDumper methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 22:48:41 +0000 (01:48 +0300)]
move qt_register_signal_spy_callbacks() implementation to qobject source
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 21:31:31 +0000 (00:31 +0300)]
remove unused QSignalSpyCallbackSet::slot_end_callback member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 20:57:10 +0000 (23:57 +0300)]
replace QTest::swap() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 20:53:49 +0000 (23:53 +0300)]
remove unused qTestRandomSeed() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Aug 2020 20:29:46 +0000 (23:29 +0300)]
remove unused QBenchmarkContext member and method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Aug 2020 14:23:21 +0000 (17:23 +0300)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Aug 2020 14:00:31 +0000 (17:00 +0300)]
fix find_package() query with version requirement by external projects
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Aug 2020 13:32:36 +0000 (16:32 +0300)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Aug 2020 13:08:59 +0000 (16:08 +0300)]
remove unused Qt::ImageConversionFlag::NoAlpha enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Aug 2020 13:08:28 +0000 (16:08 +0300)]
remove documentation for enums that are were deprecated and removed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Aug 2020 12:47:46 +0000 (15:47 +0300)]
merge qnetworkproxy_generic into qnetworkproxy source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 10 Aug 2020 21:23:00 +0000 (00:23 +0300)]
handle JPEG quality limits in setter for performance reasons
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 10 Aug 2020 20:51:22 +0000 (23:51 +0300)]
use QT_BUFFSIZE as buffer size in QCryptographicHash::addData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 10 Aug 2020 20:10:57 +0000 (23:10 +0300)]
require OpenSSL v0.9.8+
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 10 Aug 2020 13:21:34 +0000 (16:21 +0300)]
use proper members for QGradient data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 17:55:21 +0000 (20:55 +0300)]
use constant iterator in QPersistentModelIndexData::create()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 17:41:12 +0000 (20:41 +0300)]
rework mouse buttons debugging
avoid symbols in anonymous namespace and round-trips to the meta-object
system
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 16:59:25 +0000 (19:59 +0300)]
replace q_static_assert() with Q_ASSERT()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 16:47:35 +0000 (19:47 +0300)]
use foreach() for iteration in QEventDispatcherUNIXPrivate::doSelect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 14:30:10 +0000 (17:30 +0300)]
increase solid/pattern fill cache to 20
that way one for each standard color/brush style can be cached
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 14:07:02 +0000 (17:07 +0300)]
add _NET_SYSTEM_TRAY_OPCODE and MANAGER to pre-defined X11 atoms table
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 13:37:22 +0000 (16:37 +0300)]
mark the end of qt_error_string() as unreachable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 02:48:55 +0000 (05:48 +0300)]
remove redundant QSystemError class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 9 Aug 2020 02:24:03 +0000 (05:24 +0300)]
reworkd temporary file name generator
while at it, do not open it with O_LARGEFILE since most files are small and
even tho it is used as method for copying files for an examples it should
not be used to copy such big files because there are far more optimal
platform specific solutions for doing that
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 18:59:49 +0000 (21:59 +0300)]
optimize QSvgTinyDocument::draw() calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>