OSDN Git Service
Ivailo Monev [Tue, 20 Oct 2020 21:13:10 +0000 (00:13 +0300)]
mark constants as static in QFileSystemModelPrivate::size()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 20 Oct 2020 20:37:58 +0000 (23:37 +0300)]
inline some QFileSystemMetaData methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 20 Oct 2020 20:24:21 +0000 (23:24 +0300)]
use dynamic array instead of QVarLengthArray in QInotifyFileSystemWatcherEngine::readFromInotify()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 21:27:46 +0000 (00:27 +0300)]
reuse variable in QX11PaintEngine::updatePen()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 21:24:31 +0000 (00:24 +0300)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 21:19:53 +0000 (00:19 +0300)]
minor QCommonStyle::subElementRect() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 21:19:38 +0000 (00:19 +0300)]
replace int with enum in QTime::ds()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 20:55:29 +0000 (23:55 +0300)]
fix QAbstractSocketEngine and QNativeSocketEnginePrivate const correctness
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 20:55:00 +0000 (23:55 +0300)]
remove maemo leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 20:54:16 +0000 (23:54 +0300)]
optimize openModeToFopenMode() and openModeToOpenFlags() functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 20:53:52 +0000 (23:53 +0300)]
make use of Q_DISABLE_COPY() in QNetworkInterfacePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 00:56:09 +0000 (03:56 +0300)]
remove LGTM and GitHub pages files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 19 Oct 2020 00:49:04 +0000 (03:49 +0300)]
update 3rd party valgrind sources to v3.16.1
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 23:59:47 +0000 (02:59 +0300)]
update translations [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 23:36:43 +0000 (02:36 +0300)]
remove redundant QDateTimePrivate::LocalDST enum
treated same as QDateTimePrivate::LocalStandard
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 18:23:07 +0000 (21:23 +0300)]
remove symbian leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 17:56:17 +0000 (20:56 +0300)]
replace qToUnaligned<T>() with its body
internal and not documented
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 16:47:44 +0000 (19:47 +0300)]
correct conditions for kqueue support in qfilesystemwatcher source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 16:24:54 +0000 (19:24 +0300)]
get rid of QT_VISIBILITY_AVAILABLE
no external projects should rely on it, Q_DECL_EXPORT and the related
definitions should either be used unconditionally or not at all
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 15:57:58 +0000 (18:57 +0300)]
remove unused QShortcutMap method arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 15:19:50 +0000 (18:19 +0300)]
Merge branch 'master' of https://github.com/fluxer/katie
Ivailo Monev [Sun, 18 Oct 2020 15:19:10 +0000 (18:19 +0300)]
remove duplicate include directions in tests build file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Oct 2020 15:17:56 +0000 (18:17 +0300)]
remove redundant .gitignore files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 17 Oct 2020 20:41:37 +0000 (23:41 +0300)]
remove redundant QWidgetAction::eventFilter() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 17 Oct 2020 10:19:15 +0000 (13:19 +0300)]
optimize some QRasterPaintEngine methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 15:08:22 +0000 (18:08 +0300)]
make private QDir pointer actually private
while at it, remove hack in QDirIterator
upstream commit:
https://github.com/qt/qtbase/commit/
9848c8b92c70006e55a7fa569d06d62efaf5ccc1
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 14:49:03 +0000 (17:49 +0300)]
reuse variables in SVG composition functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 14:11:29 +0000 (17:11 +0300)]
remove unused destFetch<T>() drawing helper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 13:52:33 +0000 (16:52 +0300)]
remove unused qIsControlChar() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 13:52:21 +0000 (16:52 +0300)]
remove redundant const_cast<T>() in QPainter::drawTextItem()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 13:52:01 +0000 (16:52 +0300)]
convert fetchTransformedBilinear_pixelBounds<T>() to function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 16 Oct 2020 13:51:31 +0000 (16:51 +0300)]
rename qt_fetchUntransformed<T>() for consistency
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 15 Oct 2020 19:09:21 +0000 (22:09 +0300)]
rename variables in qt_init() for consistency
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 15 Oct 2020 19:09:01 +0000 (22:09 +0300)]
remove unused QFramePrivate::frect member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 15 Oct 2020 19:08:02 +0000 (22:08 +0300)]
inline elapsedAndRestart() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Oct 2020 21:44:52 +0000 (00:44 +0300)]
include all X11 extensions used in USE_XORG variable in FreeBSD package file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 23:52:50 +0000 (02:52 +0300)]
remove redundant __has_extension definition in qglobal header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 11:19:13 +0000 (14:19 +0300)]
remove unused and internal QRasterPaintEngine methods
note that QPainter::clipBoundingRect() exists but it is not virtual
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 10:58:52 +0000 (13:58 +0300)]
remove mac and windows leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 10:32:26 +0000 (13:32 +0300)]
remove redundant QPainter::PixmapFragment class and related functionality
since there is no transformation there is a performance penalty for using
it in QDeclarativeParticlesPainter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 09:35:10 +0000 (12:35 +0300)]
use foreach() for iteration in QRasterWindowSurface::prepareBuffer()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 09:12:28 +0000 (12:12 +0300)]
avoid QRegion assignment in QWidgetPrivate::repaint_sys()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 09:04:39 +0000 (12:04 +0300)]
remove declarations of non-existing QWidget methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 09:04:08 +0000 (12:04 +0300)]
remove redundant return statement in QCursorData::update()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 08:36:58 +0000 (11:36 +0300)]
avoid QPixmap construct in QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 08:28:08 +0000 (11:28 +0300)]
make it possible to disable XINERAMA X11 extension at runtime
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 07:34:24 +0000 (10:34 +0300)]
merge if with switch statement in QX11PaintEngine::updateClipRegion_dev()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Oct 2020 07:19:08 +0000 (10:19 +0300)]
optimize QX11PaintEngine::updateState()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 11 Oct 2020 05:58:41 +0000 (08:58 +0300)]
minor code de-duplication
upstream commit:
https://github.com/qt/qtbase/commit/
3a333f2d92a44feba017c7951049e89adbbda686
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>