OSDN Git Service
Ivailo Monev [Sun, 22 Dec 2019 16:14:24 +0000 (16:14 +0000)]
guard qtestevent, qtestkeyboard, qtestmouse and qtesttouch headers with QT_GUI_LIB
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 16:05:32 +0000 (16:05 +0000)]
exclude qtest_gui header from QtTest meta header again
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 15:54:24 +0000 (15:54 +0000)]
replace FALSE with false
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 15:30:34 +0000 (15:30 +0000)]
rework fancy and meta header generators
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 03:18:27 +0000 (03:18 +0000)]
update Debian package symbols file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 02:42:16 +0000 (02:42 +0000)]
do not require certain fonts for QFont test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 01:52:45 +0000 (01:52 +0000)]
make QMetaType::Float core type and reorder enums while at it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
asd
Ivailo Monev [Sun, 22 Dec 2019 01:29:50 +0000 (01:29 +0000)]
optimize static meta types table lookup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 22 Dec 2019 01:23:27 +0000 (01:23 +0000)]
replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:46:45 +0000 (19:46 +0000)]
remove superfluous semicolon in QFile::encodeName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:45:47 +0000 (19:45 +0000)]
simplify QFontDatabase::addApplicationFont()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:45:06 +0000 (19:45 +0000)]
fix registerFont() function regression since
fb253d03c77d31fd4d56c93d8ee961c8d4ddb0c1
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:44:19 +0000 (19:44 +0000)]
add QFontMetrics test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:19:10 +0000 (19:19 +0000)]
add QFont test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 19:01:47 +0000 (19:01 +0000)]
take pixel size into account when creating QFont from string
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 17:10:44 +0000 (17:10 +0000)]
use proper type for argument in qIsNumericType() and qIsFloatingPoint() functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 16:30:55 +0000 (16:30 +0000)]
fix GUI QVariant types conversion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 21 Dec 2019 01:34:49 +0000 (01:34 +0000)]
remove raw fonts support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 23:46:46 +0000 (23:46 +0000)]
stream and cast QVariant type member as int
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 23:46:07 +0000 (23:46 +0000)]
replace QMetaType::Float with QVariant::Float where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 23:44:45 +0000 (23:44 +0000)]
use consistent way to detect if colored message should be logged in messageType2String()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 19:36:53 +0000 (19:36 +0000)]
make QVariant::Double from/to QVariant::Float conversion explicit and fix it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 16:46:47 +0000 (16:46 +0000)]
move QVariant::String specific case to switch in QVariant::canConvert()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 15:48:06 +0000 (15:48 +0000)]
fix QVariant::Float type conversion regression since
71bd691d09470882be77dfa51f1509362c196d6b
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 20 Dec 2019 02:00:41 +0000 (02:00 +0000)]
compiler warning fixes
upstream commit:
https://github.com/qt/qtbase/commit/
ef36fd02178482cd312ea551303856ef563421af
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:51:19 +0000 (23:51 +0000)]
remove threads build option
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:39:22 +0000 (23:39 +0000)]
avoid temporary in QCacheItem::writeHeader()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:39:05 +0000 (23:39 +0000)]
avoid temporaries in QNetworkDiskCachePrivate::prepareLayout()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 23:07:56 +0000 (23:07 +0000)]
avoid temporaries in QXmlSimpleReaderPrivate::parseString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 22:03:55 +0000 (22:03 +0000)]
use proper type in QMutexPool::get()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 22:03:19 +0000 (22:03 +0000)]
replace 0 with Q_NULLPTR in QMutexPool::createMutex() and QMutexPool::globalInstanceGet()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 19:16:58 +0000 (19:16 +0000)]
replace qmutexlocker with qmutex header inclusion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 19:16:29 +0000 (19:16 +0000)]
add some missing class visibility attributes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 18:58:01 +0000 (18:58 +0000)]
merge qsharedpointer_impl header into qsharedpointer header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 14:40:52 +0000 (14:40 +0000)]
headers compat
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 13:40:01 +0000 (13:40 +0000)]
remove now redundant dblinc.py script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 13:38:44 +0000 (13:38 +0000)]
remove redundant DECLARE_COMPAT_WIDGET() macro definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 13:33:20 +0000 (13:33 +0000)]
the public headers checker in kate_generate_public() has served its purpose
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:46:38 +0000 (12:46 +0000)]
remove non-existing classes leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:44:26 +0000 (12:44 +0000)]
QtContainerFwd fancy header compat
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:38:27 +0000 (12:38 +0000)]
remove fancy headers for non-existing classes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:31:18 +0000 (12:31 +0000)]
remove redundant string header inclusion from qtextcodec_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 12:30:46 +0000 (12:30 +0000)]
remove QHashDummyNode and QHashDummyValue leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 02:07:58 +0000 (02:07 +0000)]
avoid temporaries in moc generated code
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 19 Dec 2019 01:23:41 +0000 (01:23 +0000)]
remove unused and internal Qt::WidgetAttribute::WA_PendingUpdate enum
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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>