OSDN Git Service
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>
Ivailo Monev [Sat, 1 Aug 2020 19:46:58 +0000 (22:46 +0300)]
correct condition for QProxyStyle source compilation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 18:17:56 +0000 (21:17 +0300)]
generalize qt_memfill<T>() implementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 17:02:41 +0000 (20:02 +0300)]
remove redundant condition check in blendUntransformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 16:59:17 +0000 (19:59 +0300)]
remove unused drawing helper color classes methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 04:11:44 +0000 (07:11 +0300)]
remove unused drawing helper color classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 03:44:34 +0000 (06:44 +0300)]
remove redundant qt_colorConvert<T, T>() overloads
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 02:51:30 +0000 (05:51 +0300)]
remove unused QPNGImageWriter::writeImage() overloads
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Aug 2020 01:30:37 +0000 (21:30 -0400)]
Merge branch 'master' of https://github.com/fluxer/katie into recomp
Ivailo Monev [Sat, 1 Aug 2020 01:30:19 +0000 (21:30 -0400)]
const-ify DestFetchProc function prototypes argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 22:58:01 +0000 (18:58 -0400)]
remove unused drawing helper color classes methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 22:43:53 +0000 (18:43 -0400)]
Merge remote-tracking branch 'origin' into recomp
Ivailo Monev [Fri, 31 Jul 2020 22:43:37 +0000 (18:43 -0400)]
remove unused qargb8565::rawValue16() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 21:01:29 +0000 (17:01 -0400)]
remove code for always false condition in QRasterWindowSurface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 20:39:17 +0000 (16:39 -0400)]
avoid construct in fetchTransformedBilinear<T, T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 17:03:42 +0000 (13:03 -0400)]
merge qpaintdevice and qpaintdevice_x11 sources
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 17:03:11 +0000 (13:03 -0400)]
avoid temporary in QPainterPath::toReversed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 15:12:09 +0000 (11:12 -0400)]
remove unused QX11PaintEngine methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 15:11:34 +0000 (11:11 -0400)]
replace QVarLengthArray<T> with dynamic arrays in QPaintEngine::drawPolygon() methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 14:44:54 +0000 (10:44 -0400)]
remove unused QDataBuffer<T>::pop_back() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 11:49:15 +0000 (07:49 -0400)]
avoid temporaries in QSystemLocale::query()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 11:03:18 +0000 (07:03 -0400)]
Revert "cache environment queries in QFileSystemEngine::homePath() and QFileSystemEngine::tempPath()"
This reverts commit
7e08917f21c41febfc1ce22f9c01587f2529284b.
Ivailo Monev [Fri, 31 Jul 2020 01:42:50 +0000 (21:42 -0400)]
optimize QCommonStyle::drawControl()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 01:18:33 +0000 (21:18 -0400)]
remove redundant condition check in QFontEngineX11FT constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 01:17:58 +0000 (21:17 -0400)]
remove redundant QDir::cleanPath() calls in QFileSystemEngine::tempPath() and QLocalServerPrivate::listen()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 31 Jul 2020 01:17:17 +0000 (21:17 -0400)]
cache environment queries in QFileSystemEngine::homePath() and QFileSystemEngine::tempPath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 27 Jul 2020 19:51:00 +0000 (15:51 -0400)]
replace do_mirror() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 27 Jul 2020 13:02:00 +0000 (09:02 -0400)]
move some constants and functions fomr qdrawhelper_p header to qdrawhelper source
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 27 Jul 2020 11:54:08 +0000 (07:54 -0400)]
assume RGB16 is unaligned and texture in that format in blend functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 27 Jul 2020 11:30:52 +0000 (07:30 -0400)]
remove redundant break statements in QSvgIOHandler::option()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 26 Jul 2020 20:18:15 +0000 (20:18 +0000)]
remove unused QtFontFamily::fontFilename and QtFontFamily::fontFileIndex members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 26 Jul 2020 20:11:49 +0000 (20:11 +0000)]
replace switch with if statement in QRasterPaintEngine::init()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 26 Jul 2020 20:11:03 +0000 (20:11 +0000)]
avoid temporary in QRasterPixmapData::fill()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 26 Jul 2020 18:07:59 +0000 (18:07 +0000)]
remove unused QX11PaintEnginePrivate::adapted_pen_origin member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 26 Jul 2020 00:44:06 +0000 (20:44 -0400)]
replace fuzzyCompare() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 25 Jul 2020 23:42:09 +0000 (19:42 -0400)]
remove unused and internal function prototype declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 25 Jul 2020 18:29:27 +0000 (18:29 +0000)]
remove duplicate QMatrix and QTransform constructors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 25 Jul 2020 17:23:01 +0000 (17:23 +0000)]
remove redundant construct in QPainter::brushOrigin()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 25 Jul 2020 16:39:51 +0000 (16:39 +0000)]
optimize SVG composition blend functions
albeit with code duplication but it should be worth it. have to note this
is done for QPainter::CompositionMode::CompositionMode_SourceOver and some
other cases already. the optimization will be noticable on application
which use those modes, like plasma-desktop, one way or the other
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 24 Jul 2020 14:40:06 +0000 (14:40 +0000)]
optimize some QMatrix methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 24 Jul 2020 00:20:27 +0000 (00:20 +0000)]
replace QKeyMapper::sendKeyEvent() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 24 Jul 2020 00:18:57 +0000 (00:18 +0000)]
remove redundant header inclusions in qnetworkcommon_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 24 Jul 2020 00:14:09 +0000 (00:14 +0000)]
use correct latin string construct in QDBusMessagePrivate::makeLocal()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 24 Jul 2020 00:12:41 +0000 (00:12 +0000)]
remove redundant return statement in QDBusAbstractInterfacePrivate::property()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 24 Jul 2020 00:11:47 +0000 (00:11 +0000)]
use static QChar::toUpper() method in QKeySequencePrivate::encodeString()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 21:25:08 +0000 (21:25 +0000)]
use foreach() for iteration in QTextCodecPlugin::keys()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 19:41:38 +0000 (19:41 +0000)]
replace createForName() and createForMib() with their body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 18:43:07 +0000 (18:43 +0000)]
all-in-one build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 16:47:34 +0000 (16:47 +0000)]
review some compiler and language definition checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 16:21:11 +0000 (16:21 +0000)]
move build specs from qglobal to qconfig header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 15:09:19 +0000 (15:09 +0000)]
inline memory rotation functions and mark them static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 14:24:09 +0000 (14:24 +0000)]
assume conditions that are asserted in drawing helpers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 13:46:50 +0000 (13:46 +0000)]
remove redundant header inclusions in qpaintengine_raster source
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 13:13:20 +0000 (13:13 +0000)]
remove unused and internal qt_memrotate180()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 23 Jul 2020 12:29:41 +0000 (12:29 +0000)]
fix all-in-one build related issue properly
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>