OSDN Git Service
Ivailo Monev [Mon, 16 Dec 2019 23:50:55 +0000 (23:50 +0000)]
fix build when tools are suffixed
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 23:49:29 +0000 (23:49 +0000)]
add break to default case in moc generated code
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 23:48:45 +0000 (23:48 +0000)]
remove unused KATIE_QDBUSXML2CPP from KatieBUildMacros CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 22:32:32 +0000 (22:32 +0000)]
avoid temporaries in QStandardPaths::findExecutable()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 22:19:38 +0000 (22:19 +0000)]
use foreach() for iteration in QCoreApplication::applicationFilePath()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 19:37:11 +0000 (19:37 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 14:06:51 +0000 (14:06 +0000)]
append instead of prepending in QTextCodec::QTextCodec()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 14:05:31 +0000 (14:05 +0000)]
note that the list of supported encodings is incomplete
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 14:05:02 +0000 (14:05 +0000)]
implement QTextCodec::codecForText() via ICU
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 14:03:47 +0000 (14:03 +0000)]
correct warning message in QIcuCodec::codecForUtf()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 03:50:33 +0000 (03:50 +0000)]
no need for explicit codecs creation anymore
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 02:17:56 +0000 (02:17 +0000)]
avoid temporary in QTextCodec::codecForName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 02:02:47 +0000 (02:02 +0000)]
lock before acessing globals in QTextCodec::~QTextCodec() and QTextCodec::codecForLocale()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 02:02:16 +0000 (02:02 +0000)]
get rid of redundant codecs cache
a list of all codecs is maintained for the sake of cleanup already
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Dec 2019 02:00:45 +0000 (02:00 +0000)]
make a deep copy of the codec name in QIcuCodec constructor
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 23:56:16 +0000 (23:56 +0000)]
make use of already set variables in katie_setup_target() for translations
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 23:43:24 +0000 (23:43 +0000)]
build fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 22:58:24 +0000 (22:58 +0000)]
use katie_setup_target() so that exec.sh script is used to execute the tools when building tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 22:44:47 +0000 (22:44 +0000)]
QT_NO_THREAD conditional build fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 22:44:22 +0000 (22:44 +0000)]
make custom build commands and targets depend on targets rather than their output
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 22:24:33 +0000 (22:24 +0000)]
make QHttpNetworkReply test noop if QT_NO_HTTP is defined
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 21:54:30 +0000 (21:54 +0000)]
execute tools during build via script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 21:26:13 +0000 (21:26 +0000)]
replace qstring with qglobal header inclusion in qxmlutils_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 21:25:40 +0000 (21:25 +0000)]
avoid temporary in QCoreApplication::translate()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 20:00:31 +0000 (20:00 +0000)]
remove qt3 support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 20:00:15 +0000 (20:00 +0000)]
remove obsolete QWidget::isEnabledToTLW() and QWidget::topLevelWidget()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 18:53:59 +0000 (18:53 +0000)]
remove unused QWidgetPrivate::Direction enum
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 18:51:29 +0000 (18:51 +0000)]
remove unused virtual QWidgetPrivate::aboutToDestroy()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 16:36:07 +0000 (16:36 +0000)]
ensure normalizeTypeInternal() does not remove const qualifier for pointers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 15:01:35 +0000 (15:01 +0000)]
mark QFutureInterfaceBasePrivate::sendCallOut() and QFutureInterfaceBasePrivate::sendCallOuts() const
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 03:55:37 +0000 (03:55 +0000)]
replace internal foldCase() function with its body
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 03:13:57 +0000 (03:13 +0000)]
add QDBusMetaObject test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 03:08:49 +0000 (03:08 +0000)]
fix QDBusMetaObject
effectively revert
303bb571b0d8ef609b566072079096c40a2368c4 and put back
null-terminator from
badb333fc325a419db48d2e18e308136a3b8d541
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 02:26:50 +0000 (02:26 +0000)]
build QDBusMetaType test only of DBus is found and enabled
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 02:26:16 +0000 (02:26 +0000)]
add QDBusConnection test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 01:54:00 +0000 (01:54 +0000)]
rebrand RCC generated code
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 15 Dec 2019 00:21:22 +0000 (00:21 +0000)]
correct UNICODE_LAST_CODEPOINT definition in QChar test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 23:53:46 +0000 (23:53 +0000)]
check error code before result in QChar::decomposition() and QString::normalized()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 23:53:01 +0000 (23:53 +0000)]
fix most of the QChar normalization test cases
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 23:25:15 +0000 (23:25 +0000)]
fix decomposition of certain characters
unorm2_getDecomposition() is supposedly independent of the UNormalizer2
instance according to its documentation, apparently not
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:49:47 +0000 (22:49 +0000)]
set error from errno before calling close() in QFileSystemEngine::copyFile()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:35:26 +0000 (22:35 +0000)]
make use of Q_DECLARE_FLAGS() macro in QStandardPaths
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:33:55 +0000 (22:33 +0000)]
QStandardPaths cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:18:27 +0000 (22:18 +0000)]
make use of Q_DISABLE_COPY() macro in QStandardPaths
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:10:18 +0000 (22:10 +0000)]
use const iterator in QProcessManager::catchDeadChildren()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:05:45 +0000 (22:05 +0000)]
remove redundant header inclusions from qprocess_unix source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 22:00:22 +0000 (22:00 +0000)]
remove redundant header inclusions from qfilesystemiterator_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 18:26:55 +0000 (18:26 +0000)]
correct warning message in QTextBoundaryFinderPrivate::operator=()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 18:25:05 +0000 (18:25 +0000)]
replace hardcoded values with a surrogate handling methods
upstream commit:
https://github.com/qt/qtbase/commit/
50fefebc8403c0f293210c6dc5a98adb19776b76
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 17:45:40 +0000 (17:45 +0000)]
reimplement QTextBoundaryFinder via ICU
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 14 Dec 2019 12:38:38 +0000 (12:38 +0000)]
update QDataStream::Version enum documentation [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 23:05:10 +0000 (23:05 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 22:46:21 +0000 (22:46 +0000)]
add QSocketNotifier test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 22:30:47 +0000 (22:30 +0000)]
add QDBusMetaType test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 22:23:30 +0000 (22:23 +0000)]
add QCssParser test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 22:02:34 +0000 (22:02 +0000)]
limit normalization QChar test to 10k entries
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 21:32:19 +0000 (21:32 +0000)]
avoid changing range vector twice in QRegExpCharClass::addRange()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 21:18:55 +0000 (21:18 +0000)]
restore QChar::isLetterOrNumber() and QChar::isSpace() behaviour to that prior to
fa34c080f6cda6b2117b785c449e0eeadc87cf0e
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 20:32:57 +0000 (20:32 +0000)]
remove some dead code in switch statements
upstream commit:
https://github.com/qt/qtbase/commit/
914e1f360868e844577dd98a179a7c8bc37bf272
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 20:02:55 +0000 (20:02 +0000)]
add dummy member to QRegExpCharClass only if QT_NO_REGEXP_OPTIM is defined
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 16:43:07 +0000 (16:43 +0000)]
add QChar test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 13 Dec 2019 16:04:38 +0000 (16:04 +0000)]
add QRegExp test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
Ivailo Monev [Fri, 13 Dec 2019 13:51:25 +0000 (13:51 +0000)]
add QTimer test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
Ivailo Monev [Fri, 13 Dec 2019 11:49:00 +0000 (11:49 +0000)]
registerFont() function cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
Ivailo Monev [Fri, 13 Dec 2019 11:47:29 +0000 (11:47 +0000)]
inline getFCWeight() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>
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>
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>
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>
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>