OSDN Git Service
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>
Ivailo Monev [Sat, 8 Aug 2020 18:59:30 +0000 (21:59 +0300)]
optimize QSvgTinyDocument::boundsOnElement()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 18:22:24 +0000 (21:22 +0300)]
mark QSvgTinyDocument::draw() argument as required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 18:15:22 +0000 (21:15 +0300)]
optimize QSvgNode::styleProperty()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 16:49:15 +0000 (19:49 +0300)]
unbundle libpng and sqlite and mark the packages as required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 15:15:48 +0000 (18:15 +0300)]
remove unused SQL test data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 02:21:15 +0000 (05:21 +0300)]
remove redundant header inclusions in qfontdatabase_x11_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 8 Aug 2020 02:20:30 +0000 (05:20 +0300)]
optimize QFontMetrics::inFontUcs4() and QFontMetricsF::inFontUcs4()
upstream commit:
https://github.com/qt/qtbase/commit/
09bc8e2cb8238d8dee79a0f22b26efcc05ce6a52
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 21:14:12 +0000 (00:14 +0300)]
remove unused JSC::ClassInfo::staticPropHashTable member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 17:37:40 +0000 (20:37 +0300)]
remove unused QSvgHandler member and methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 17:21:49 +0000 (20:21 +0300)]
merge QSvgHandler::parse() into QSvgHandler::init()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 17:15:11 +0000 (20:15 +0300)]
avoid temporary in QSvgText::draw()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 17:09:08 +0000 (20:09 +0300)]
remove code for always false condition in QSvgPaintEngine::updateState()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 16:56:24 +0000 (19:56 +0300)]
replace macro with its body in svgToQtCompositionMode()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 16:54:18 +0000 (19:54 +0300)]
simplify QSvgAttributes stroke cases parsing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 14:48:23 +0000 (17:48 +0300)]
remove redundant condition in QWindowsStyle::styleHint()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 14:45:17 +0000 (17:45 +0300)]
remove redundant const_cast<T>() in QWindowsStyle::polish()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 14:29:26 +0000 (17:29 +0300)]
remove unused QWindowsStylePrivate members and methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 14:24:20 +0000 (17:24 +0300)]
avoid temporary in QWindowsStyle::drawPrimitive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Aug 2020 14:09:35 +0000 (17:09 +0300)]
remove unused CSS parser constructor argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 4 Aug 2020 17:02:01 +0000 (20:02 +0300)]
convert endianess from runtime to build checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 4 Aug 2020 16:35:45 +0000 (19:35 +0300)]
call strcpy() instead of qstrcpy() in qstrdup()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 4 Aug 2020 16:35:08 +0000 (19:35 +0300)]
properly indent case in qUncompress()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 4 Aug 2020 16:14:17 +0000 (19:14 +0300)]
bump minimum zstd version requirement to v1.1.3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 4 Aug 2020 13:34:54 +0000 (16:34 +0300)]
optimize gray raster
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 4 Aug 2020 13:08:03 +0000 (16:08 +0300)]
remove redundant rasterizer related definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 17:10:14 +0000 (20:10 +0300)]
use foreach() for iteration in QIconTheme constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 16:58:30 +0000 (19:58 +0300)]
use proper type for StyleSelector::nodeIds() and rename it to reflect it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 14:04:39 +0000 (17:04 +0300)]
remove unused GlyphPointerHash and GlyphIntHash typedefs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 14:04:16 +0000 (17:04 +0300)]
remove redundant QTextureGlyphCache::glyphPadding()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 13:11:50 +0000 (16:11 +0300)]
avoid temporary in QStyleHelper::drawDial()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 13:06:23 +0000 (16:06 +0300)]
remove unused Qt::ApplicationAttribute::AA_CaptureMultimediaKeys enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 12:46:46 +0000 (15:46 +0300)]
assume compiler is either gcc or clang
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 01:12:42 +0000 (04:12 +0300)]
remove redundant default case in QSpanData::setup()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 3 Aug 2020 01:02:27 +0000 (04:02 +0300)]
remove unused qErrnoWarning() functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 23:06:40 +0000 (02:06 +0300)]
remove unused and internal QPaintEngine::fix_neg_rect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 22:20:49 +0000 (01:20 +0300)]
remove code for always false condition in QPainterPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 20:23:10 +0000 (23:23 +0300)]
optimize QPainter::fillRect() methods
solid brushes do not have neither texture nor gradient
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 18:38:12 +0000 (21:38 +0300)]
move variable closer to the scope it is used in in blendUntransformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 06:05:52 +0000 (09:05 +0300)]
optimize QLineF::unitVector() and QLineF::angleTo()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 06:04:53 +0000 (09:04 +0300)]
combine two QT_NO_XRENDER definition checks in qpaintengine_x11 source
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 04:36:43 +0000 (07:36 +0300)]
do not buffer in QX11PaintEngine::drawPoints() methods
twice as fast on some line drawing benchmarks with no noticable loss in
other cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 01:07:58 +0000 (04:07 +0300)]
sort output by tag in benchmark comparison script [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 00:21:56 +0000 (03:21 +0300)]
do not install qsql_sqlite header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 00:19:53 +0000 (03:19 +0300)]
Merge branch 'master' of https://github.com/fluxer/katie
Ivailo Monev [Sun, 2 Aug 2020 00:18:36 +0000 (03:18 +0300)]
export QSQLiteDriver as part of the sql module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Aug 2020 00:16:06 +0000 (00:16 +0000)]
update FreeBSD pkg-plist package file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 23:24:21 +0000 (02:24 +0300)]
crude build fix for FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 20:01:09 +0000 (23:01 +0300)]
update sqlite bundle to v3.32.3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 19:49:08 +0000 (22:49 +0300)]
reduce QStyleSheetStyle::getDefaultStyleSheet() calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 19:48:03 +0000 (22:48 +0300)]
move ARGB_COMBINE_ALPHA macro definition near other macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 19:47:19 +0000 (22:47 +0300)]
avoid temporaries in QStyle::standardPalette()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>