OSDN Git Service
Ivailo Monev [Thu, 18 Jun 2020 00:45:17 +0000 (00:45 +0000)]
optimize some QMainWindowLayoutState methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jun 2020 00:43:56 +0000 (00:43 +0000)]
avoid temporary in QMainWindow::menuWidget()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 18 Jun 2020 00:13:50 +0000 (00:13 +0000)]
replace QVarLengthArray with dynamic arrays where possible
avoids resizing in e.g. qDrawBorderPixmap(), there are more places where
performance can be squeezed by doing the same thing
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 23:50:46 +0000 (23:50 +0000)]
use single variable assignment in getPatternFill() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 23:16:11 +0000 (23:16 +0000)]
Set theme jekyll-theme-slate
Ivailo Monev [Wed, 17 Jun 2020 23:03:03 +0000 (23:03 +0000)]
remove unused QX11Data::PatternFills::opaque member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 23:02:08 +0000 (23:02 +0000)]
remove redundant cases in gesture recognizers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 22:41:34 +0000 (22:41 +0000)]
use new style cast in QClipboard::mimeData()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 22:26:29 +0000 (22:26 +0000)]
avoid temporary in QKeySequence::toString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 22:26:08 +0000 (22:26 +0000)]
indent qt_XTranslateKey() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 18:29:03 +0000 (18:29 +0000)]
update QChar normalization test data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 17:56:01 +0000 (17:56 +0000)]
optimize QKeySequence::matches()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 17:11:48 +0000 (17:11 +0000)]
optimize QKeySequencePrivate::keyBindings table
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 17:07:47 +0000 (17:07 +0000)]
optimize assert in QGestureManager::deliverEvents()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 17 Jun 2020 16:11:36 +0000 (16:11 +0000)]
optimize qt_pixmap_thread_test() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 16 Jun 2020 22:11:22 +0000 (22:11 +0000)]
update URL TLDs
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 16 Jun 2020 20:39:24 +0000 (20:39 +0000)]
remove unused window filepath setter and getter of QWidget class
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 16 Jun 2020 20:35:13 +0000 (20:35 +0000)]
remove redundant const_cast<> in QWidget getters
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 15 Jun 2020 22:27:01 +0000 (22:27 +0000)]
remove redundant QSystemTrayIconSys::updateIcon()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 15 Jun 2020 22:26:23 +0000 (22:26 +0000)]
remove unused qtsystray_sendActivated() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 May 2020 02:02:10 +0000 (02:02 +0000)]
review internal callbacks system
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 13:41:55 +0000 (13:41 +0000)]
move ELF output file support check to qplugin header
Q_OF_ELF is internal, generalize by checking only if __ELF__ is defined
while at it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 13:14:22 +0000 (13:14 +0000)]
replace qCmdLineArgs() with its body
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 13:00:12 +0000 (13:00 +0000)]
convert qt_static_shift<> to static function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 12:34:09 +0000 (12:34 +0000)]
remove unused QGraphicsSystem::createPixmapData() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 12:00:58 +0000 (12:00 +0000)]
avoid temporary in QBrush data streaming operator
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 11:59:54 +0000 (11:59 +0000)]
rename variable for consistency in QBrush debug operator
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 11:56:17 +0000 (11:56 +0000)]
move temporary closer to the scope it is used in qt_x11_drawImage()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 11:55:38 +0000 (11:55 +0000)]
mark brush styles enums tables as static in QBrush constructor
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 May 2020 11:54:44 +0000 (11:54 +0000)]
fix QBrush debug operator for Qt::TexturePattern style case
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 10 May 2020 02:02:49 +0000 (02:02 +0000)]
correct scoped array size in QX11PaintEngine::updatePen()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 6 May 2020 02:35:18 +0000 (02:35 +0000)]
move QCryptographicHash benchmark to network and link it to the component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 6 May 2020 02:32:17 +0000 (02:32 +0000)]
remove unused QWindowSurface::grabWidget() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 2 May 2020 01:32:48 +0000 (01:32 +0000)]
remove code for always false condition in gray raster functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 2 May 2020 00:57:58 +0000 (00:57 +0000)]
remove unused INV_EPS() pre-proccessor macro
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 19:16:05 +0000 (19:16 +0000)]
remove unused QDummyWindowSurface
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 19:14:06 +0000 (19:14 +0000)]
use single variable assignment in QWidgetPrivate::scrollRect()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 19:13:50 +0000 (19:13 +0000)]
remove non-existing QWidgetPrivate methods declarations
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 19:02:30 +0000 (19:02 +0000)]
remove qws support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 19:01:28 +0000 (19:01 +0000)]
remove unused and internal QRasterPaintEngine::releaseBuffer()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 18:51:35 +0000 (18:51 +0000)]
convert pixmap filter templates to static functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 1 May 2020 18:50:29 +0000 (18:50 +0000)]
make lists static in parseBrushValue()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 22 Apr 2020 21:52:05 +0000 (21:52 +0000)]
remove unused qt_blurImage() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 22 Apr 2020 21:51:24 +0000 (21:51 +0000)]
update documentation about formats supported by QImageReader
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 23:44:33 +0000 (23:44 +0000)]
update translations
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 23:02:44 +0000 (23:02 +0000)]
remove redundant RGB gamma tables
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 23:02:04 +0000 (23:02 +0000)]
correct qcryptographichash header references
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 21:37:33 +0000 (21:37 +0000)]
use proper type for QRgbMap::used member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 21:11:04 +0000 (21:11 +0000)]
move QCryptographicHash class implementation to network component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 20:50:53 +0000 (20:50 +0000)]
make QThreadPoolPrivate::startThread() argument required
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 21 Apr 2020 20:49:04 +0000 (20:49 +0000)]
remove obsolete QDialog extension functionality
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 14 Apr 2020 23:28:38 +0000 (23:28 +0000)]
get rid of QFilePrivate::cachedSize member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 14 Apr 2020 01:07:22 +0000 (01:07 +0000)]
use LFS-aware QT_FSTRUNCATE definition in QSharedMemoryPrivate::create()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 14 Apr 2020 00:40:40 +0000 (00:40 +0000)]
regenerate javascriptcore grammar
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 14 Apr 2020 00:32:45 +0000 (00:32 +0000)]
remove unused QX11PixmapData::InvertedWhenBoundToTexture enum
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 14 Apr 2020 00:32:02 +0000 (00:32 +0000)]
remove unused QScriptClassPropertyIteratorPrivate::q_ptr member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 13 Apr 2020 16:29:50 +0000 (16:29 +0000)]
remove unused StyleSelector::freeNode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 9 Apr 2020 07:27:59 +0000 (07:27 +0000)]
replace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 9 Apr 2020 07:27:43 +0000 (07:27 +0000)]
use foreach() for iteration in QDBusMetaObjectGenerator::parseProperties()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 9 Apr 2020 07:26:35 +0000 (07:26 +0000)]
mark some helper functions as static and variables as const
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 9 Apr 2020 07:15:06 +0000 (07:15 +0000)]
remove redundant const_cast<T>() in QDBusInterface::qt_metacast()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 9 Apr 2020 07:14:37 +0000 (07:14 +0000)]
store QImage::bytesPerLine() result outside loop in QImage::createMaskFromColor()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 9 Apr 2020 07:12:58 +0000 (07:12 +0000)]
remove unused and internal Qt::GestureType::LastGestureType enum
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 8 Apr 2020 04:48:49 +0000 (04:48 +0000)]
replace getFileIcon() helper with its body
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 8 Apr 2020 04:27:28 +0000 (04:27 +0000)]
remove unused and internal QAbstractItemView virtual slots
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 8 Apr 2020 04:20:06 +0000 (04:20 +0000)]
avoid temporary in QAbstractItemView::mouseReleaseEvent()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 8 Apr 2020 00:44:31 +0000 (00:44 +0000)]
remove declaration of non-existent QRasterPixmapData::setImage()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 8 Apr 2020 00:43:46 +0000 (00:43 +0000)]
remove default cases in QX11PixmapData::metric()
also fixes a compiler warning about shadowing member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 8 Apr 2020 00:42:47 +0000 (00:42 +0000)]
avoid temporary in QMetaObject::constructor()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 14:33:02 +0000 (14:33 +0000)]
assume platforms support POSIX signals
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 14:32:05 +0000 (14:32 +0000)]
return result dup2() result from qt_safe_dup2()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 14:31:00 +0000 (14:31 +0000)]
remove redundant header inclusions from qcore_unix_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 12:51:25 +0000 (12:51 +0000)]
correct static monthDays array type
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 01:55:05 +0000 (01:55 +0000)]
avoid temporary in QBitmap::operator=()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 01:51:45 +0000 (01:51 +0000)]
mark pseudo-elements table as static in QStyleSheetStyle::drawComplexControl()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 01:47:18 +0000 (01:47 +0000)]
remove unused QImageData::create() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 6 Apr 2020 01:44:14 +0000 (01:44 +0000)]
remove non-existent QString::updateProperties() method declaration
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 5 Apr 2020 00:55:33 +0000 (00:55 +0000)]
get rid of qt_grayscale() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 5 Apr 2020 00:40:17 +0000 (00:40 +0000)]
make translateKeyEventInternal() static, remove unused argument and return value
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 4 Apr 2020 07:49:37 +0000 (07:49 +0000)]
update Qt::WindowType documentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 4 Apr 2020 07:49:04 +0000 (07:49 +0000)]
remove default QClipboard::Mode enum cases
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 4 Apr 2020 07:48:12 +0000 (07:48 +0000)]
avoid temporary in QPixmapData::fromImageReader()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 4 Apr 2020 07:47:52 +0000 (07:47 +0000)]
replace QRasterPixmapData::createPixmapForImage() with its body
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 3 Apr 2020 21:32:53 +0000 (21:32 +0000)]
update Qt::DropAction documentation [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 3 Apr 2020 21:30:32 +0000 (21:30 +0000)]
remove unused int_dim() macro
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 3 Apr 2020 21:30:18 +0000 (21:30 +0000)]
do not compare variable to 0 in QRasterPaintEngine::clip()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 3 Apr 2020 21:29:50 +0000 (21:29 +0000)]
remove unused Qt::DropAction::TargetMoveAction enum
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 07:03:35 +0000 (07:03 +0000)]
drop MNG image format support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 07:00:35 +0000 (07:00 +0000)]
remove unused variable in QStyleHelper::drawDial()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 06:34:22 +0000 (06:34 +0000)]
remove icudata entry from ICU_LIBRARIES
fixes Debian package lintian warning
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 06:33:24 +0000 (06:33 +0000)]
remove unused and internal QStyleHelper::drawBorderPixmap()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 05:57:31 +0000 (05:57 +0000)]
prefer the c library when checking for res_ninit()
fixes overlinking in case the symbol is provided by the c library and a
Debian package lintian warning
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 05:02:21 +0000 (05:02 +0000)]
use IANA codec name to find the codec MIB in QIcuCodec::mibEnum()
fixes many warnings from the QTextCodec benchmark
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 03:36:34 +0000 (03:36 +0000)]
optimize named color tables lookup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 02:58:02 +0000 (02:58 +0000)]
avoid temporaries in dither_to_Mono()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 2 Apr 2020 01:10:03 +0000 (01:10 +0000)]
remove unused and internal QPaintEngineExPrivate methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 1 Apr 2020 23:55:44 +0000 (23:55 +0000)]
inline HexString<T> QChar operator
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 1 Apr 2020 23:55:20 +0000 (23:55 +0000)]
use enum type for QX11Data::focus_model
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 1 Apr 2020 22:02:00 +0000 (22:02 +0000)]
remove unused and internal qt_get_bitflip_array()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 1 Apr 2020 21:09:13 +0000 (21:09 +0000)]
replace tabs with spaces in QX11Info::cloneX11Data()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>