OSDN Git Service

kde/Katie.git
4 years agoadd QRegExp test
Ivailo Monev [Fri, 13 Dec 2019 16:04:38 +0000 (16:04 +0000)]
add QRegExp test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QRegExp::escape() for case that string will not need escaping
Ivailo Monev [Fri, 13 Dec 2019 15:34:20 +0000 (15:34 +0000)]
optimize QRegExp::escape() for case that string will not need escaping

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindent and format qregexp source file
Ivailo Monev [Fri, 13 Dec 2019 15:26:57 +0000 (15:26 +0000)]
indent and format qregexp source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QTimer test
Ivailo Monev [Fri, 13 Dec 2019 13:51:25 +0000 (13:51 +0000)]
add QTimer test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement file copying for Linux
Ivailo Monev [Fri, 13 Dec 2019 12:58:56 +0000 (12:58 +0000)]
implement file copying for Linux

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in QRegion functions where possible
Ivailo Monev [Fri, 13 Dec 2019 11:50:56 +0000 (11:50 +0000)]
use single variable assignment in QRegion functions where possible

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline and mark const some of QSvgIconEnginePrivate methods
Ivailo Monev [Fri, 13 Dec 2019 11:49:38 +0000 (11:49 +0000)]
inline and mark const some of QSvgIconEnginePrivate methods

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoregisterFont() function cleanup
Ivailo Monev [Fri, 13 Dec 2019 11:49:00 +0000 (11:49 +0000)]
registerFont() function cleanup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake qt_addPatternProps() function static
Ivailo Monev [Fri, 13 Dec 2019 11:48:25 +0000 (11:48 +0000)]
make qt_addPatternProps() function static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in getFCWeight() function
Ivailo Monev [Fri, 13 Dec 2019 11:48:00 +0000 (11:48 +0000)]
avoid temporary in getFCWeight() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline getFCWeight() function
Ivailo Monev [Fri, 13 Dec 2019 11:47:29 +0000 (11:47 +0000)]
inline getFCWeight() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant FC_WIDTH and FC_FAMILYLANG definition checks
Ivailo Monev [Fri, 13 Dec 2019 11:46:19 +0000 (11:46 +0000)]
remove redundant FC_WIDTH and FC_FAMILYLANG definition checks

FC_WIDTH is available since 2.1.92, FC_FAMILYLANG since 2.2.97 and 2.4.2 is
required for Freetype integration

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorebrand generated SVG documents title and description
Ivailo Monev [Fri, 13 Dec 2019 03:32:27 +0000 (03:32 +0000)]
rebrand generated SVG documents title and description

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QFileSystemEntry constructor
Ivailo Monev [Fri, 13 Dec 2019 01:20:10 +0000 (01:20 +0000)]
remove redundant QFileSystemEntry constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agochoose QImage format for streaming at compile-time, with fallbacks
Ivailo Monev [Fri, 13 Dec 2019 00:48:22 +0000 (00:48 +0000)]
choose QImage format for streaming at compile-time, with fallbacks

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fix
Ivailo Monev [Fri, 13 Dec 2019 00:20:51 +0000 (00:20 +0000)]
compiler warning fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove TODO in QRegExpValidator
Ivailo Monev [Fri, 13 Dec 2019 00:10:59 +0000 (00:10 +0000)]
remove TODO in QRegExpValidator

upstream commit:
https://github.com/qt/qtbase/commit/d6fb349751a9071f2caacedd6a00e6e26b6bc4c1

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_UNREACHABLE_IMPL() macro definition
Ivailo Monev [Thu, 12 Dec 2019 23:33:24 +0000 (23:33 +0000)]
remove redundant Q_UNREACHABLE_IMPL() macro definition

only GCC and Clang are supported for now

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove temporary to the scope it is used in in PointInRegion() function
Ivailo Monev [Thu, 12 Dec 2019 23:26:57 +0000 (23:26 +0000)]
move temporary to the scope it is used in in PointInRegion() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRectInRegion() function cleanup
Ivailo Monev [Thu, 12 Dec 2019 23:26:29 +0000 (23:26 +0000)]
RectInRegion() function cleanup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused EXTENTS macro from qregion source file
Ivailo Monev [Thu, 12 Dec 2019 23:24:14 +0000 (23:24 +0000)]
remove unused EXTENTS macro from qregion source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fix
Ivailo Monev [Thu, 12 Dec 2019 23:09:54 +0000 (23:09 +0000)]
compiler warning fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant sysconf() query in QFileSystemEngine::resolveGroupName()
Ivailo Monev [Thu, 12 Dec 2019 22:48:39 +0000 (22:48 +0000)]
remove redundant sysconf() query in QFileSystemEngine::resolveGroupName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove QMenuItem, QDockSeparator and QDockWidgetSeparator leftovers
Ivailo Monev [Thu, 12 Dec 2019 21:33:53 +0000 (21:33 +0000)]
remove QMenuItem, QDockSeparator and QDockWidgetSeparator leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove QtMotif support leftovers
Ivailo Monev [Thu, 12 Dec 2019 21:33:02 +0000 (21:33 +0000)]
remove QtMotif support leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fixes
Ivailo Monev [Thu, 12 Dec 2019 15:59:31 +0000 (15:59 +0000)]
compiler warning fixes

upstream commits:
https://github.com/qt/qtbase/commit/65ec933f91dd9ac95679c24c830533953e384991
https://github.com/qt/qtbase/commit/2d8d738657b64c853316b605176e002b9e616fcf

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QBenchmarkMetric enum values
Ivailo Monev [Thu, 12 Dec 2019 15:58:46 +0000 (15:58 +0000)]
remove unused QBenchmarkMetric enum values

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify XML stream reader token string table
Ivailo Monev [Thu, 12 Dec 2019 01:10:51 +0000 (01:10 +0000)]
simplify XML stream reader token string table

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify DBus error table lookup
Ivailo Monev [Thu, 12 Dec 2019 01:02:05 +0000 (01:02 +0000)]
simplify DBus error table lookup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QDBusAbstractInterface::internalPropGet() and QDBusAbstrac...
Ivailo Monev [Wed, 11 Dec 2019 22:03:11 +0000 (22:03 +0000)]
remove unused and internal QDBusAbstractInterface::internalPropGet() and QDBusAbstractInterface::internalPropSet()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate packages URL [ci skip]
Ivailo Monev [Wed, 11 Dec 2019 21:20:40 +0000 (21:20 +0000)]
update packages URL [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QDBusVirtualObject
Ivailo Monev [Wed, 11 Dec 2019 21:03:50 +0000 (21:03 +0000)]
remove unused and internal QDBusVirtualObject

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDBusUnixFileDescriptor::isSupported() method
Ivailo Monev [Wed, 11 Dec 2019 20:45:56 +0000 (20:45 +0000)]
remove unused QDBusUnixFileDescriptor::isSupported() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix regression since c30778d037862d6b1c2a20da68db866b571e5348
Ivailo Monev [Wed, 11 Dec 2019 16:13:10 +0000 (16:13 +0000)]
fix regression since c30778d037862d6b1c2a20da68db866b571e5348

with the follow-up in 3d06305eac83ff20eb6de30725c91125a6621841 the data
was not static anymore

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindent and format qsql_sqlite source file
Ivailo Monev [Wed, 11 Dec 2019 16:08:17 +0000 (16:08 +0000)]
indent and format qsql_sqlite source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QMainWindow::restoreState()
Ivailo Monev [Wed, 11 Dec 2019 14:12:16 +0000 (14:12 +0000)]
avoid temporary in QMainWindow::restoreState()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodelete debugger regardless if exception occured
Ivailo Monev [Wed, 11 Dec 2019 14:11:53 +0000 (14:11 +0000)]
delete debugger regardless if exception occured

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in qscript tool main() function
Ivailo Monev [Wed, 11 Dec 2019 14:11:18 +0000 (14:11 +0000)]
reduce branches in qscript tool main() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporaries in QFileSystemEngine::fillMetaData()
Ivailo Monev [Wed, 11 Dec 2019 03:47:07 +0000 (03:47 +0000)]
avoid temporaries in QFileSystemEngine::fillMetaData()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QTabWidget::tabBar() and QTabWidget::setTabBar() public
Ivailo Monev [Tue, 10 Dec 2019 17:48:42 +0000 (17:48 +0000)]
make QTabWidget::tabBar() and QTabWidget::setTabBar() public

upstream commit:
https://github.com/qt/qtbase/commit/b7064513e2b0fc51f5f68d2057047ed30bae6eba

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QSETTINGS_P_H_VERSION definition checks from QSettings test
Ivailo Monev [Mon, 9 Dec 2019 19:28:22 +0000 (19:28 +0000)]
remove redundant QSETTINGS_P_H_VERSION definition checks from QSettings test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark compatibility case unlikely in QString::vsprintf()
Ivailo Monev [Mon, 9 Dec 2019 17:37:16 +0000 (17:37 +0000)]
mark compatibility case unlikely in QString::vsprintf()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove temporary closer to the scope it is used in QString::vsprintf()
Ivailo Monev [Mon, 9 Dec 2019 17:36:45 +0000 (17:36 +0000)]
move temporary closer to the scope it is used in QString::vsprintf()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement ICU codec construct from MIB
Ivailo Monev [Mon, 9 Dec 2019 15:56:15 +0000 (15:56 +0000)]
implement ICU codec construct from MIB

4 years agomake use of QTextCodec::codecForUtfText() in QXmlInputSource::fromRawData()
Ivailo Monev [Mon, 9 Dec 2019 02:23:56 +0000 (02:23 +0000)]
make use of QTextCodec::codecForUtfText() in QXmlInputSource::fromRawData()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd fallback for codec in QXmlStreamReaderPrivate::getChar_helper()
Ivailo Monev [Mon, 9 Dec 2019 02:23:07 +0000 (02:23 +0000)]
add fallback for codec in QXmlStreamReaderPrivate::getChar_helper()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake use of QTextCodec::codecForUtfText() in QXmlStreamReaderPrivate::getChar_helper()
Ivailo Monev [Mon, 9 Dec 2019 02:05:52 +0000 (02:05 +0000)]
make use of QTextCodec::codecForUtfText() in QXmlStreamReaderPrivate::getChar_helper()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant return from qt_message() function
Ivailo Monev [Sun, 8 Dec 2019 17:32:38 +0000 (17:32 +0000)]
remove redundant return from qt_message() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove symbian note from QPluginLoader documentation [ci skip]
Ivailo Monev [Sun, 8 Dec 2019 15:30:03 +0000 (15:30 +0000)]
remove symbian note from QPluginLoader documentation [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_UNUSED() in createForName() function
Ivailo Monev [Sun, 8 Dec 2019 15:27:27 +0000 (15:27 +0000)]
remove redundant Q_UNUSED() in createForName() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant whitespace in qtextcodec source file
Ivailo Monev [Sun, 8 Dec 2019 15:27:03 +0000 (15:27 +0000)]
remove redundant whitespace in qtextcodec source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporaries in QTextCodec::availableCodecs(), QTextCodec::availableMibs() and...
Ivailo Monev [Sun, 8 Dec 2019 15:23:34 +0000 (15:23 +0000)]
avoid temporaries in QTextCodec::availableCodecs(), QTextCodec::availableMibs() and createForName()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindent in ucstrnicmp() function
Ivailo Monev [Sun, 8 Dec 2019 15:10:43 +0000 (15:10 +0000)]
indent in ucstrnicmp() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreport function name from qt_initLocale(), qt_u_strToUpper() and qt_u_strToLower...
Ivailo Monev [Sun, 8 Dec 2019 15:09:58 +0000 (15:09 +0000)]
report function name from qt_initLocale(), qt_u_strToUpper() and qt_u_strToLower() warnings

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agowarn on u_strCaseCompare() failure in ucstricmp() function
Ivailo Monev [Sun, 8 Dec 2019 15:08:32 +0000 (15:08 +0000)]
warn on u_strCaseCompare() failure in ucstricmp() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_CLOCK_MONOTONIC case optimizations
Ivailo Monev [Sun, 8 Dec 2019 14:47:37 +0000 (14:47 +0000)]
QT_NO_CLOCK_MONOTONIC case optimizations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement some string comparison functions via ICU
Ivailo Monev [Sun, 8 Dec 2019 14:00:03 +0000 (14:00 +0000)]
reimplement some string comparison functions via ICU

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQDBusConnectionCallbackEvent cleanup
Ivailo Monev [Sun, 8 Dec 2019 12:41:11 +0000 (12:41 +0000)]
QDBusConnectionCallbackEvent cleanup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not try to open codec twice if stateless open fails
Ivailo Monev [Sun, 8 Dec 2019 12:04:39 +0000 (12:04 +0000)]
do not try to open codec twice if stateless open fails

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix global static check
Ivailo Monev [Sun, 8 Dec 2019 02:39:33 +0000 (02:39 +0000)]
fix global static check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant source file from bootstrap sources array
Ivailo Monev [Sat, 7 Dec 2019 20:22:32 +0000 (20:22 +0000)]
remove redundant source file from bootstrap sources array

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove invalid bootstrap definition [ci skip]
Ivailo Monev [Sat, 7 Dec 2019 20:09:14 +0000 (20:09 +0000)]
remove invalid bootstrap definition [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake adjustments required to build Unicode tables as part of GUI component
Ivailo Monev [Sat, 7 Dec 2019 19:57:53 +0000 (19:57 +0000)]
make adjustments required to build Unicode tables as part of GUI component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQT_NO_TEXTCODEC conditional build fix
Ivailo Monev [Sat, 7 Dec 2019 19:45:06 +0000 (19:45 +0000)]
QT_NO_TEXTCODEC conditional build fix

also fixes build with LTO and restores ability to convert string from/to
Unicode even when without codecs support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove QUnicodeTables to GUI component
Ivailo Monev [Sat, 7 Dec 2019 18:49:27 +0000 (18:49 +0000)]
move QUnicodeTables to GUI component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant bootstrap definition
Ivailo Monev [Sat, 7 Dec 2019 18:42:20 +0000 (18:42 +0000)]
remove redundant bootstrap definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant integer constructs in qt_ucol_strcoll() function
Ivailo Monev [Sat, 7 Dec 2019 18:41:42 +0000 (18:41 +0000)]
remove redundant integer constructs in qt_ucol_strcoll() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove symbian leftovers [ci skip]
Ivailo Monev [Fri, 6 Dec 2019 20:34:39 +0000 (20:34 +0000)]
remove symbian leftovers [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse ICU for string casing and collation again
Ivailo Monev [Fri, 6 Dec 2019 19:03:58 +0000 (19:03 +0000)]
use ICU for string casing and collation again

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd qrand() test
Ivailo Monev [Fri, 6 Dec 2019 15:37:49 +0000 (15:37 +0000)]
add qrand() test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove documentation for macros that are no more [ci skip]
Ivailo Monev [Fri, 6 Dec 2019 14:57:07 +0000 (14:57 +0000)]
remove documentation for macros that are no more [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify and optimize monotonic clock checks
Ivailo Monev [Fri, 6 Dec 2019 14:48:56 +0000 (14:48 +0000)]
simplify and optimize monotonic clock checks

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QByteArrayMatcher test
Ivailo Monev [Fri, 6 Dec 2019 10:56:01 +0000 (10:56 +0000)]
add QByteArrayMatcher test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd missing QJsonObject meta type construction/destruction
Ivailo Monev [Thu, 5 Dec 2019 23:08:08 +0000 (23:08 +0000)]
add missing QJsonObject meta type construction/destruction

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement QVariant oeprations for JSON types
Ivailo Monev [Thu, 5 Dec 2019 23:07:42 +0000 (23:07 +0000)]
implement QVariant oeprations for JSON types

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove invalid compile-time warning
Ivailo Monev [Thu, 5 Dec 2019 22:39:09 +0000 (22:39 +0000)]
remove invalid compile-time warning

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant methodName() function
Ivailo Monev [Thu, 5 Dec 2019 22:38:53 +0000 (22:38 +0000)]
remove redundant methodName() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize message functions
Ivailo Monev [Thu, 5 Dec 2019 17:53:46 +0000 (17:53 +0000)]
optimize message functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove documentation for global macros that are not defined anymore
Ivailo Monev [Thu, 5 Dec 2019 17:52:36 +0000 (17:52 +0000)]
remove documentation for global macros that are not defined anymore

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoimplement JSON meta types construction/destruction
Ivailo Monev [Thu, 5 Dec 2019 17:24:09 +0000 (17:24 +0000)]
implement JSON meta types construction/destruction

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid image copy in QRasterPixmapData::fromImage()
Ivailo Monev [Thu, 5 Dec 2019 17:15:27 +0000 (17:15 +0000)]
avoid image copy in QRasterPixmapData::fromImage()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary when streaming out bool in QMetaType::load()
Ivailo Monev [Thu, 5 Dec 2019 17:14:27 +0000 (17:14 +0000)]
avoid temporary when streaming out bool in QMetaType::load()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix build with QTEXTSTREAM_DEBUG defined
Ivailo Monev [Thu, 5 Dec 2019 17:13:51 +0000 (17:13 +0000)]
fix build with QTEXTSTREAM_DEBUG defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant includes from qtextstream source file
Ivailo Monev [Thu, 5 Dec 2019 17:13:07 +0000 (17:13 +0000)]
remove redundant includes from qtextstream source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QObject sender reference atomic
Ivailo Monev [Thu, 5 Dec 2019 13:13:36 +0000 (13:13 +0000)]
make QObject sender reference atomic

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QFontDef member
Ivailo Monev [Thu, 5 Dec 2019 13:05:22 +0000 (13:05 +0000)]
remove unused QFontDef member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR where applicable in QObjectPrivate
Ivailo Monev [Thu, 5 Dec 2019 12:50:53 +0000 (12:50 +0000)]
replace 0 with Q_NULLPTR where applicable in QObjectPrivate

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QObject::~QObject()
Ivailo Monev [Thu, 5 Dec 2019 12:49:29 +0000 (12:49 +0000)]
avoid temporary in QObject::~QObject()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompiler warning fixes
Ivailo Monev [Thu, 5 Dec 2019 11:41:48 +0000 (11:41 +0000)]
compiler warning fixes

upstream commit:
https://github.com/qt/qtbase/commit/49995ee35ff0b26e32303d77df619d3a2fbcb86b

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove compatibility QTest::pixmapsAreEqual() function
Ivailo Monev [Thu, 5 Dec 2019 11:30:44 +0000 (11:30 +0000)]
remove compatibility QTest::pixmapsAreEqual() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd missing () around a macro argument use in tst_QSettings::testEscapes()
Ivailo Monev [Thu, 5 Dec 2019 11:29:48 +0000 (11:29 +0000)]
add missing () around a macro argument use in tst_QSettings::testEscapes()

upstream commit:
https://github.com/qt/qtbase/commit/95b62e5a71368fa7ff4552bea895c11559a706b1

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove automatic QT_NO_QFUTURE definition to qconfig header
Ivailo Monev [Thu, 5 Dec 2019 09:46:29 +0000 (09:46 +0000)]
move automatic QT_NO_QFUTURE definition to qconfig header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QT_NO_TRANSLATION_UTF8 definition
Ivailo Monev [Thu, 5 Dec 2019 09:45:50 +0000 (09:45 +0000)]
remove redundant QT_NO_TRANSLATION_UTF8 definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoread all data from input QByteArray data stream at once
Ivailo Monev [Wed, 4 Dec 2019 22:16:35 +0000 (22:16 +0000)]
read all data from input QByteArray data stream at once

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreserve space when streaming QSet and QHash in QDataStream
Ivailo Monev [Wed, 4 Dec 2019 21:43:02 +0000 (21:43 +0000)]
reserve space when streaming QSet and QHash in QDataStream

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "avoid temporary copy in QVariant::cmp()"
Ivailo Monev [Wed, 4 Dec 2019 19:40:09 +0000 (19:40 +0000)]
Revert "avoid temporary copy in QVariant::cmp()"

This reverts commit 0f37127b5e5bf61c6e008cb100d5fd9c67bc434a.

4 years agoimplement QJsonValue to double conversion in qConvertToNumber() and qConvertToUnsigne...
Ivailo Monev [Wed, 4 Dec 2019 18:55:46 +0000 (18:55 +0000)]
implement QJsonValue to double conversion in qConvertToNumber() and qConvertToUnsignedNumber()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline qIsNumericType() and qIsFloatingPoint() helpers
Ivailo Monev [Wed, 4 Dec 2019 18:40:18 +0000 (18:40 +0000)]
inline qIsNumericType() and qIsFloatingPoint() helpers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary copy in QVariant::cmp()
Ivailo Monev [Wed, 4 Dec 2019 18:37:50 +0000 (18:37 +0000)]
avoid temporary copy in QVariant::cmp()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agopass format to image reader in QImage stream reading operator
Ivailo Monev [Wed, 4 Dec 2019 17:57:05 +0000 (17:57 +0000)]
pass format to image reader in QImage stream reading operator

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