OSDN Git Service
Ivailo Monev [Fri, 13 Dec 2019 00:20:51 +0000 (00:20 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
Ivailo Monev [Thu, 12 Dec 2019 23:26:29 +0000 (23:26 +0000)]
RectInRegion() function cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
Ivailo Monev [Thu, 12 Dec 2019 23:09:54 +0000 (23:09 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Mon, 9 Dec 2019 15:56:15 +0000 (15:56 +0000)]
implement ICU codec construct from MIB
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Sun, 8 Dec 2019 12:41:11 +0000 (12:41 +0000)]
QDBusConnectionCallbackEvent cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Fri, 6 Dec 2019 15:37:49 +0000 (15:37 +0000)]
add qrand() test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
Ivailo Monev [Fri, 6 Dec 2019 10:56:01 +0000 (10:56 +0000)]
add QByteArrayMatcher test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
Ivailo Monev [Thu, 5 Dec 2019 17:53:46 +0000 (17:53 +0000)]
optimize message functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ivailo Monev [Wed, 4 Dec 2019 19:40:09 +0000 (19:40 +0000)]
Revert "avoid temporary copy in QVariant::cmp()"
This reverts commit
0f37127b5e5bf61c6e008cb100d5fd9c67bc434a.
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>
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>
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>
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>
Ivailo Monev [Wed, 4 Dec 2019 16:54:29 +0000 (16:54 +0000)]
use scoped variables and const-reference where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Dec 2019 16:11:58 +0000 (16:11 +0000)]
fix QFont streaming
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Dec 2019 15:25:06 +0000 (15:25 +0000)]
Revert "attempt to use MariaDB instead of MySQL in Travis"
This reverts commit
a1e7a918a756d978d0d609d8341fd7cf1e98c9d4.
Ivailo Monev [Wed, 4 Dec 2019 15:23:37 +0000 (15:23 +0000)]
print Katie instead of Qt from QPlainTestLogger::startLogging()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Dec 2019 12:54:40 +0000 (12:54 +0000)]
attempt to use MariaDB instead of MySQL in Travis
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Dec 2019 12:28:36 +0000 (12:28 +0000)]
remove struct, class and enum in the middle of types from normalizeTypeInternal()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Dec 2019 12:27:28 +0000 (12:27 +0000)]
fix infinite loop in normalizeTypeInternal() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Dec 2019 07:38:44 +0000 (07:38 +0000)]
lock after computing the cache key in normalizeTypeInternal() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 22:54:01 +0000 (22:54 +0000)]
disable libunwind support by default
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 22:14:47 +0000 (22:14 +0000)]
remove symbian leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 21:59:48 +0000 (21:59 +0000)]
protect normalized types cache with mutex
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 21:56:45 +0000 (21:56 +0000)]
add QMetaType test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 20:58:02 +0000 (20:58 +0000)]
remove QColorGroup leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 19:50:26 +0000 (19:50 +0000)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 19:44:01 +0000 (19:44 +0000)]
remove invalid warning from createThread() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>