OSDN Git Service
Ivailo Monev [Thu, 19 Dec 2019 00:42:41 +0000 (00:42 +0000)]
quote value of GETCWDFUNCNAME so that it is considered as literal string by the compiler
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 00:30:42 +0000 (00:30 +0000)]
replace QT_DEBUG with QT_NO_DEBUG
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 00:13:38 +0000 (00:13 +0000)]
avoid stat() in QFileSystemEngine::currentPath()
both get_current_dir_name() and getcwd() do it internally, atleast in glibc
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 23:46:51 +0000 (23:46 +0000)]
PATH_MAX is not required to call get_current_dir_name()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 22:57:35 +0000 (22:57 +0000)]
optimize QFileSystemEngine::homePath() and QFileSystemEngine::tempPath()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 22:50:45 +0000 (22:50 +0000)]
use QImage::constBits() in QRasterWindowSurface::prepareBuffer()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 22:50:13 +0000 (22:50 +0000)]
avoid temporary in QFileSystemEngine::setCurrentPath()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 21:11:00 +0000 (21:11 +0000)]
rebrand code generated by moc
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 21:05:36 +0000 (21:05 +0000)]
remove QT_NO_SETTINGS and QT_NO_COMPRESS definitions checks unrelated to bootstrap
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 18:57:29 +0000 (18:57 +0000)]
use KATIE_GIT as build-key and remove redundant QT_EDITION definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 18:55:07 +0000 (18:55 +0000)]
assume QT_KATIE is not defined anywhere else
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 16:50:25 +0000 (16:50 +0000)]
remove redundant Debian package maintainer scripts
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 16:50:03 +0000 (16:50 +0000)]
remove redundant libc suplements from qcore_unix_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 16:17:22 +0000 (16:17 +0000)]
ensure resources for DBus performance benchmark are generated
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 15:25:10 +0000 (15:25 +0000)]
set argv to full path to program in QProcessPrivate::startDetached()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 18 Dec 2019 03:19:12 +0000 (03:19 +0000)]
replace NDEBUG with QT_NO_DEBUG definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 22:15:46 +0000 (22:15 +0000)]
mark certain core component options unsupported
this is mostly automated change set, a lot to be done later on
especially about the definitions in core component. the goal is
to make most of the options of the core component available so
that they can be utilized in other components and tools without
restrictions as shown by some of the changes done to the GUI
component in this commit
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 21:48:37 +0000 (21:48 +0000)]
remove redundant QT_NO_CODECS definition
it is the same as QT_NO_TEXTCODEC
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 21:29:04 +0000 (21:29 +0000)]
no need to execute moc via exec.sh during build, it is bootstrapped
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 19:42:31 +0000 (19:42 +0000)]
remove redundant forward Driver class declaration from cppwriteincludes header
Ivailo Monev [Tue, 17 Dec 2019 19:37:33 +0000 (19:37 +0000)]
Driver destructor does not have to be virtual
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 19:33:33 +0000 (19:33 +0000)]
use proper types for Option members
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 19:29:09 +0000 (19:29 +0000)]
remove redundant UIC include directory
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 17:27:20 +0000 (17:27 +0000)]
add extended description for Debian package [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 17:26:14 +0000 (17:26 +0000)]
add Debian package symbols file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:54:54 +0000 (16:54 +0000)]
regenerate manual pages
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:54:31 +0000 (16:54 +0000)]
fix spelling errors in qscript manual page
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:48:53 +0000 (16:48 +0000)]
remove superfluous whitespace at the end of Categories key in desktop files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:39:39 +0000 (16:39 +0000)]
install pkgconfig files in architecture specific library directory by default
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:30:16 +0000 (16:30 +0000)]
add field code to Exec key in designer desktop file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:28:47 +0000 (16:28 +0000)]
fix spelling error in qt_x_errhandler()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 16:27:54 +0000 (16:27 +0000)]
do not assume LD_LIBRARY_PATH is not set in exec.sh script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 04:19:21 +0000 (04:19 +0000)]
remove unused TreeWalker::acceptConnectionHints() and TreeWalker::acceptConnectionHint()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 04:02:08 +0000 (04:02 +0000)]
make use of CMAKE_CURRENT_LIST_DIR CMake variable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 03:35:13 +0000 (03:35 +0000)]
QStandardPaths, QJsonArray, QJsonObject::iterator, QJsonParseError and QJsonValue are available since 4.9
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 03:34:10 +0000 (03:34 +0000)]
remove QStandrdPaths mac and windows specific documentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 03:27:58 +0000 (03:27 +0000)]
avoid shadowing argument variable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 03:04:40 +0000 (03:04 +0000)]
case-fold the UCS-4 char in foldCase() functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 03:04:05 +0000 (03:04 +0000)]
remove redundant whitespace from moc generated code
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 02:36:21 +0000 (02:36 +0000)]
use new style cast in QFontEngineFT::minRightBearing()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 02:34:10 +0000 (02:34 +0000)]
require Freetype version 2.1.10+
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 02:15:35 +0000 (02:15 +0000)]
use proper type for Glyph::uploadedToServer member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 01:10:44 +0000 (01:10 +0000)]
replace reinterpret_cast with static_cast in moc generated code
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 17 Dec 2019 00:04:37 +0000 (00:04 +0000)]
remove VC6 support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>