OSDN Git Service

kde/Katie.git
4 years agoremove unused StyleSelector::freeNode()
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>
4 years agoreplace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()
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>
4 years agouse foreach() for iteration in QDBusMetaObjectGenerator::parseProperties()
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>
4 years agomark some helper functions as static and variables as const
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>
4 years agoremove redundant const_cast<T>() in QDBusInterface::qt_metacast()
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>
4 years agostore QImage::bytesPerLine() result outside loop in QImage::createMaskFromColor()
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>
4 years agoremove unused and internal Qt::GestureType::LastGestureType enum
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>
4 years agoreplace getFileIcon() helper with its body
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>
4 years agoremove unused and internal QAbstractItemView virtual slots
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>
4 years agoavoid temporary in QAbstractItemView::mouseReleaseEvent()
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>
4 years agoremove declaration of non-existent QRasterPixmapData::setImage()
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>
4 years agoremove default cases in QX11PixmapData::metric()
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>
4 years agoavoid temporary in QMetaObject::constructor()
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>
4 years agoassume platforms support POSIX signals
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>
4 years agoreturn result dup2() result from qt_safe_dup2()
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>
4 years agoremove redundant header inclusions from qcore_unix_p header
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>
4 years agocorrect static monthDays array type
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>
4 years agoavoid temporary in QBitmap::operator=()
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>
4 years agomark pseudo-elements table as static in QStyleSheetStyle::drawComplexControl()
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>
4 years agoremove unused QImageData::create() argument
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>
4 years agoremove non-existent QString::updateProperties() method declaration
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>
4 years agoget rid of qt_grayscale() argument
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>
4 years agomake translateKeyEventInternal() static, remove unused argument and return value
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>
4 years agoupdate Qt::WindowType documentation
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>
4 years agoremove default QClipboard::Mode enum cases
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>
4 years agoavoid temporary in QPixmapData::fromImageReader()
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>
4 years agoreplace QRasterPixmapData::createPixmapForImage() with its body
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>
4 years agoupdate Qt::DropAction documentation [ci skip]
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>
4 years agoremove unused int_dim() macro
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>
4 years agodo not compare variable to 0 in QRasterPaintEngine::clip()
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>
4 years agoremove unused Qt::DropAction::TargetMoveAction enum
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>
4 years agodrop MNG image format support
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>
4 years agoremove unused variable in QStyleHelper::drawDial()
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>
4 years agoremove icudata entry from ICU_LIBRARIES
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>
4 years agoremove unused and internal QStyleHelper::drawBorderPixmap()
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>
4 years agoprefer the c library when checking for res_ninit()
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>
4 years agouse IANA codec name to find the codec MIB in QIcuCodec::mibEnum()
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>
4 years agooptimize named color tables lookup
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>
4 years agoavoid temporaries in dither_to_Mono()
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>
4 years agoremove unused and internal QPaintEngineExPrivate methods
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>
4 years agoinline HexString<T> QChar operator
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>
4 years agouse enum type for QX11Data::focus_model
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>
4 years agoremove unused and internal qt_get_bitflip_array()
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>
4 years agoreplace tabs with spaces in QX11Info::cloneX11Data()
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>
4 years agoassume x and y are always zero in qt_rectconvert<DST, SRC>()
Ivailo Monev [Wed, 1 Apr 2020 21:08:48 +0000 (21:08 +0000)]
assume x and y are always zero in qt_rectconvert<DST, SRC>()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agohandle formats as exclusive in QX11Data::xdndMimeAtomsForFormat()
Ivailo Monev [Wed, 1 Apr 2020 20:25:54 +0000 (20:25 +0000)]
handle formats as exclusive in QX11Data::xdndMimeAtomsForFormat()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QX11Data::fc_scale member
Ivailo Monev [Wed, 1 Apr 2020 20:02:40 +0000 (20:02 +0000)]
remove unused and internal QX11Data::fc_scale member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal X11 atoms
Ivailo Monev [Wed, 1 Apr 2020 19:37:23 +0000 (19:37 +0000)]
remove unused and internal X11 atoms

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper types for QTLWExtra::dnd assignment
Ivailo Monev [Wed, 1 Apr 2020 19:29:23 +0000 (19:29 +0000)]
use proper types for QTLWExtra::dnd assignment

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QX11Data::xdndStringToAtom()
Ivailo Monev [Wed, 1 Apr 2020 19:26:34 +0000 (19:26 +0000)]
remove unused and internal QX11Data::xdndStringToAtom()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace value with enum in qt_init()
Ivailo Monev [Wed, 1 Apr 2020 19:26:00 +0000 (19:26 +0000)]
replace value with enum in qt_init()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused X11 drag-n-drop handlers arguments
Ivailo Monev [Wed, 1 Apr 2020 19:07:15 +0000 (19:07 +0000)]
remove unused X11 drag-n-drop handlers arguments

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove mac and win QClipboard support leftovers
Ivailo Monev [Wed, 1 Apr 2020 12:52:25 +0000 (12:52 +0000)]
remove mac and win QClipboard support leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused static QClipboard variables
Ivailo Monev [Tue, 31 Mar 2020 15:52:24 +0000 (15:52 +0000)]
remove unused static QClipboard variables

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace x11Time() helper function with its body
Ivailo Monev [Tue, 31 Mar 2020 11:14:38 +0000 (11:14 +0000)]
replace x11Time() helper function with its body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QX11Embed enums
Ivailo Monev [Tue, 31 Mar 2020 11:12:57 +0000 (11:12 +0000)]
remove unused QX11Embed enums

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QX11EmbedContainerPrivate::activeContainer member
Ivailo Monev [Tue, 31 Mar 2020 10:51:51 +0000 (10:51 +0000)]
remove unused QX11EmbedContainerPrivate::activeContainer member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoformat and indent qx11embed_x11 source file
Ivailo Monev [Tue, 31 Mar 2020 10:42:38 +0000 (10:42 +0000)]
format and indent qx11embed_x11 source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse QT_BUFFSIZE as block size for QRingBuffer
Ivailo Monev [Tue, 31 Mar 2020 10:02:13 +0000 (10:02 +0000)]
use QT_BUFFSIZE as block size for QRingBuffer

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QEventLoop::ProcessEventsFlag enums
Ivailo Monev [Tue, 31 Mar 2020 09:08:57 +0000 (09:08 +0000)]
remove unused and internal QEventLoop::ProcessEventsFlag enums

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QImage rotation functions forward declarations
Ivailo Monev [Mon, 30 Mar 2020 19:35:30 +0000 (19:35 +0000)]
remove redundant QImage rotation functions forward declarations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix tst_QThread::setStackSize() test case
Ivailo Monev [Mon, 30 Mar 2020 19:34:11 +0000 (19:34 +0000)]
fix tst_QThread::setStackSize() test case

also fixes a regression since 91019ff8de9ba23a45c7920184e473620e5244d0

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qt_safe_dup() and qt_safe_dup2() arguments
Ivailo Monev [Mon, 30 Mar 2020 18:03:34 +0000 (18:03 +0000)]
remove unused qt_safe_dup() and qt_safe_dup2() arguments

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QtMsgType::QtSystemMsg enum
Ivailo Monev [Mon, 30 Mar 2020 09:04:10 +0000 (09:04 +0000)]
remove unused QtMsgType::QtSystemMsg enum

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QPixmapConvolutionFilter
Ivailo Monev [Mon, 30 Mar 2020 08:25:20 +0000 (08:25 +0000)]
remove unused and internal QPixmapConvolutionFilter

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark some environment queries as static and const
Ivailo Monev [Mon, 30 Mar 2020 08:09:53 +0000 (08:09 +0000)]
mark some environment queries as static and const

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake qt_error_string() argument non-optional
Ivailo Monev [Mon, 30 Mar 2020 07:38:10 +0000 (07:38 +0000)]
make qt_error_string() argument non-optional

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QFilePrivate::setError() overload
Ivailo Monev [Mon, 30 Mar 2020 07:37:41 +0000 (07:37 +0000)]
remove unused and internal QFilePrivate::setError() overload

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal qt_set_current_thread_to_main_thread()
Ivailo Monev [Mon, 30 Mar 2020 00:00:30 +0000 (00:00 +0000)]
remove unused and internal qt_set_current_thread_to_main_thread()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocheck for thread-safe resolv function from CMake module
Ivailo Monev [Sat, 28 Mar 2020 20:02:41 +0000 (20:02 +0000)]
check for thread-safe resolv function from CMake module

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QApplicationPrivate members
Ivailo Monev [Thu, 26 Mar 2020 23:29:09 +0000 (23:29 +0000)]
remove unused QApplicationPrivate members

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR where applicable
Ivailo Monev [Thu, 26 Mar 2020 23:03:50 +0000 (23:03 +0000)]
replace 0 with Q_NULLPTR where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate translations [ci skip]
Ivailo Monev [Thu, 26 Mar 2020 02:56:40 +0000 (02:56 +0000)]
update translations [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate doxygen configuration file [ci skip]
Ivailo Monev [Thu, 26 Mar 2020 01:10:58 +0000 (01:10 +0000)]
update doxygen configuration file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agounexport/remove unused internal external references
Ivailo Monev [Wed, 25 Mar 2020 21:35:29 +0000 (21:35 +0000)]
unexport/remove unused internal external references

plenty of those, I've grep-ed only for Q_GUI_EXPORT and qt_ prefix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove empty qmenudata header and source
Ivailo Monev [Wed, 25 Mar 2020 21:32:02 +0000 (21:32 +0000)]
remove empty qmenudata header and source

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace QSizeGripPrivate::init() with its body
Ivailo Monev [Wed, 25 Mar 2020 21:30:20 +0000 (21:30 +0000)]
replace QSizeGripPrivate::init() with its body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace if with switch statment in QColormap::pixel()
Ivailo Monev [Wed, 25 Mar 2020 21:08:42 +0000 (21:08 +0000)]
replace if with switch statment in QColormap::pixel()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace inline if with switch in QColormap::size() statement
Ivailo Monev [Wed, 25 Mar 2020 18:51:28 +0000 (18:51 +0000)]
replace inline if with switch in QColormap::size() statement

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect warning message in QThread::terminate()
Ivailo Monev [Wed, 25 Mar 2020 17:19:18 +0000 (17:19 +0000)]
correct warning message in QThread::terminate()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline qdlerror() function
Ivailo Monev [Wed, 25 Mar 2020 17:12:07 +0000 (17:12 +0000)]
inline qdlerror() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in qstring_to_xtp()
Ivailo Monev [Wed, 25 Mar 2020 17:03:40 +0000 (17:03 +0000)]
use single variable assignment in qstring_to_xtp()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace qBinaryFindHelper() with its body
Ivailo Monev [Wed, 25 Mar 2020 17:03:12 +0000 (17:03 +0000)]
replace qBinaryFindHelper() with its body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agounexport qt_try_modal() to mark it as static
Ivailo Monev [Wed, 25 Mar 2020 16:44:09 +0000 (16:44 +0000)]
unexport qt_try_modal() to mark it as static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix qPRCreate() const correctness
Ivailo Monev [Wed, 25 Mar 2020 16:43:44 +0000 (16:43 +0000)]
fix qPRCreate() const correctness

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark qt_readEscapedFormatString() and qt_repeatCount() as static
Ivailo Monev [Wed, 25 Mar 2020 16:28:34 +0000 (16:28 +0000)]
mark qt_readEscapedFormatString() and qt_repeatCount() as static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant whitespace in convolute() pixmap filter helper
Ivailo Monev [Wed, 25 Mar 2020 01:24:38 +0000 (01:24 +0000)]
remove redundant whitespace in convolute() pixmap filter helper

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not compare member to zero in QAbstractEventDispatcherPrivate::init()
Ivailo Monev [Wed, 25 Mar 2020 01:23:56 +0000 (01:23 +0000)]
do not compare member to zero in QAbstractEventDispatcherPrivate::init()

part of the Q_NULLPTR-ization effort

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd tarball.sh script [ci skip]
Ivailo Monev [Tue, 24 Mar 2020 19:41:45 +0000 (19:41 +0000)]
add tarball.sh script [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in QLocalServerPrivate::waitForNewConnection()
Ivailo Monev [Tue, 24 Mar 2020 17:46:32 +0000 (17:46 +0000)]
use single variable assignment in QLocalServerPrivate::waitForNewConnection()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qlocalsocket_tcp source
Ivailo Monev [Tue, 24 Mar 2020 17:40:01 +0000 (17:40 +0000)]
remove unused qlocalsocket_tcp source

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused variable in QPixmapBlurFilter::draw()
Ivailo Monev [Tue, 24 Mar 2020 04:47:26 +0000 (04:47 +0000)]
remove unused variable in QPixmapBlurFilter::draw()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused TEST_FILE() from declarative compilation benchmark
Ivailo Monev [Tue, 24 Mar 2020 03:15:45 +0000 (03:15 +0000)]
remove unused TEST_FILE() from declarative compilation benchmark

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QPixmapConvolutionFilterPrivate::convoluteAlpha member
Ivailo Monev [Tue, 24 Mar 2020 00:04:57 +0000 (00:04 +0000)]
remove unused QPixmapConvolutionFilterPrivate::convoluteAlpha member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default QListView::event() reimplementation
Ivailo Monev [Mon, 23 Mar 2020 14:45:18 +0000 (14:45 +0000)]
remove default QListView::event() reimplementation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agounexport qt_halfScaled() and qt_blurImage() to mark them static
Ivailo Monev [Mon, 23 Mar 2020 14:44:58 +0000 (14:44 +0000)]
unexport qt_halfScaled() and qt_blurImage() to mark them static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused virtual QBenchmarkMeasurerBase::init() method
Ivailo Monev [Sat, 21 Mar 2020 23:32:40 +0000 (23:32 +0000)]
remove unused virtual QBenchmarkMeasurerBase::init() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qScrollEffect() and qFadeEffect() arguments
Ivailo Monev [Sat, 21 Mar 2020 22:48:13 +0000 (22:48 +0000)]
remove unused qScrollEffect() and qFadeEffect() arguments

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark results from sysconf() queries as static
Ivailo Monev [Sat, 21 Mar 2020 16:34:28 +0000 (16:34 +0000)]
mark results from sysconf() queries as static

that way queries are done once per thread

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agovalidate stack size in QThread::setStackSize()
Ivailo Monev [Sat, 21 Mar 2020 16:13:18 +0000 (16:13 +0000)]
validate stack size in QThread::setStackSize()

that way threads will not fail if it is less than the minimum, the warning
from QThread::start() is basically invisible to GUI users unless
application is started from terminal which is far from ideal. one has
to install own message handler via qInstallMsgHandler() to make such
warnings noticable to GUI users, possible via QErrorMessage, which should
be errors in fact and printed via qCritical() but making such changes is
beyond the scope of this commit

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>