OSDN Git Service
Ivailo Monev [Sat, 26 Dec 2020 17:22:29 +0000 (17:22 +0000)]
disable copying of QTextBoundaryFinderPrivate and do it in QTextBoundaryFinder
fixes Kate crashes when attempting to do spelling (spelling from cursor,
selection, etc.)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 17:18:42 +0000 (17:18 +0000)]
typo in top-level CMake file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 05:40:53 +0000 (05:40 +0000)]
replace hardcoded values with definitions in qt_x_errhandler()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 05:40:05 +0000 (05:40 +0000)]
remove redundant QXImageWrapper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 02:46:01 +0000 (02:46 +0000)]
remove experimental and disabled code from qpixmap_x11 source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 01:15:11 +0000 (01:15 +0000)]
remove redundant QFSFileEnginePrivate::is_sequential member
metadata already caches the flag and upon reset of fd/metdata the
information holded by the member may not be valid, in fact the warning
about not being able to seek on sequential device was printed sometimes
notably on BSD hosts and from the testing so far that is no longer the case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 00:37:33 +0000 (00:37 +0000)]
use foreach() for iterations in QFileSystemWatcherEngineUnix()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Dec 2020 23:50:25 +0000 (23:50 +0000)]
include desktopdb from NetBSD package file
as recommended in https://www.netbsd.org/docs/pkgsrc/pkgsrc.html#desktop-files,
the designer tool has MimeType key
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Dec 2020 17:41:23 +0000 (17:41 +0000)]
remove unused Ecma::RegExp::flagsToString()
optimize Ecma::RegExp::flagFromChar() while at it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Dec 2020 15:01:50 +0000 (15:01 +0000)]
remove unused QDeclarativeCompiledData::customTypeData member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 23:15:43 +0000 (23:15 +0000)]
remove definitions from qconfig header that never affected the API
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 22:59:16 +0000 (22:59 +0000)]
URL TLDs update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 22:51:26 +0000 (22:51 +0000)]
implement QHostInfo::localHostName() via getdomainname() instead of resolv
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 20:13:06 +0000 (20:13 +0000)]
remove unused custom types converting feature of QDeclarativeMetaType
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 19:00:47 +0000 (19:00 +0000)]
use switch statement in tabBarShapeFrom() to catch possibly unhandled values
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 18:56:24 +0000 (18:56 +0000)]
remove redundant access specifier in QDate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 18:39:12 +0000 (18:39 +0000)]
note the QTranslator change in README file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 17:44:58 +0000 (17:44 +0000)]
use foreach() for iterations in QLibraryPrivate::findOrCreate()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 17:06:27 +0000 (17:06 +0000)]
add spaces to QDebug constructor for consistency
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 16:53:24 +0000 (16:53 +0000)]
POT files update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 16:34:15 +0000 (16:34 +0000)]
QTextBoundaryFinder optimizations
specialized QTextBoundaryFinderPrivate constructor for default constructed
QTextBoundaryFinder and not opening break iterator for empty strings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 16:30:09 +0000 (16:30 +0000)]
static analyzer warnings fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 15:35:39 +0000 (15:35 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 14:23:37 +0000 (14:23 +0000)]
lock before accessing custom types pointer in QDBusMetaType
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 01:07:47 +0000 (01:07 +0000)]
use foreach() for iteration in QFileSystemModel::dropMimeData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 00:52:15 +0000 (00:52 +0000)]
de-virtualize QWellArray methods that are not reimplemented
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 00:50:50 +0000 (00:50 +0000)]
remove declaration of non-existing QWellArray::cellContent()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 00:41:55 +0000 (00:41 +0000)]
rename katie_allinone_exclude() macro to katie_unity_exclude()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 00:35:20 +0000 (00:35 +0000)]
buildMatchRule() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 00:31:36 +0000 (00:31 +0000)]
correct QBitArray::setBit() use in QString::multiArg()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Dec 2020 00:00:10 +0000 (00:00 +0000)]
deal with TODO in qt_xio_errhandler()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 23:40:29 +0000 (23:40 +0000)]
remove irrelevant notes in QCoreApplication::applicationPid() documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 23:40:06 +0000 (23:40 +0000)]
prefix getpid() call in QCoreApplication::applicationPid()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 23:16:16 +0000 (23:16 +0000)]
correct QString::multiArg() warning condition
optimized QString::multiArg() while at it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 20:48:22 +0000 (20:48 +0000)]
remove redundant uint() constructs in QStringRef::at()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 15:39:48 +0000 (15:39 +0000)]
check for pthread_attr_setstacksize() during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 14:34:50 +0000 (14:34 +0000)]
regenerate JSC grammar
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 14:23:49 +0000 (14:23 +0000)]
shell scripts and parser files copyright update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Dec 2020 13:51:34 +0000 (13:51 +0000)]
Qt3 support leftovers removal
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 16:59:02 +0000 (16:59 +0000)]
use correct type for sysconf() return values
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 05:16:52 +0000 (05:16 +0000)]
use foreach() for iteration in QObjectPrivate::moveToThread_helper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 03:59:20 +0000 (03:59 +0000)]
remove warning about incompatible QObject/QWidget versions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 00:44:34 +0000 (00:44 +0000)]
do not allow moving to invalid thread in QObject::moveToThread()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 00:16:12 +0000 (00:16 +0000)]
remove redundant QT_VERSION definition check in QtBench::qtBench_data()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 00:15:39 +0000 (00:15 +0000)]
deal with TODO in QDesignerActions constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 00:12:59 +0000 (00:12 +0000)]
rebrand PDF and PS printers output
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Dec 2020 00:00:00 +0000 (00:00 +0000)]
fix static designer plugins actions initialization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 22:49:07 +0000 (22:49 +0000)]
drop support for printing location of signals and slots
storing the location in per-thread data and accessing that is just bad
idea considering it can be implemented as additional optional argument
that defaults to Q_FUNC_INFO passed to QObject::connect()
and QObject::disconnect(), there will be no performance penatly for
non-debug type builds too
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 21:56:22 +0000 (21:56 +0000)]
inline extract_code() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 21:53:54 +0000 (21:53 +0000)]
make use of Q_FUNC_INFO in METHOD(), SLOT() and SIGNAL() macros
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 21:40:53 +0000 (21:40 +0000)]
static analyzer warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 21:35:14 +0000 (21:35 +0000)]
remove redundant pre-processor checks in qt_tildeExpansion()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 21:22:52 +0000 (21:22 +0000)]
add link to Arch package guidelines in PKGBUILD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 17:10:17 +0000 (17:10 +0000)]
Fedora package lintian warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 16:49:53 +0000 (16:49 +0000)]
split Fedora package in two packages
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 16:33:19 +0000 (16:33 +0000)]
remove unused QFileSystemIterator::lastError member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 16:07:43 +0000 (16:07 +0000)]
remove some redundant qglobal header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 15:07:30 +0000 (15:07 +0000)]
contributing notes clarifications and corrections
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 13:55:26 +0000 (13:55 +0000)]
do not request low-precision values from monotonic clocks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Dec 2020 13:51:52 +0000 (13:51 +0000)]
remove old MySQL and PostgreSQL versions support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 19:11:06 +0000 (19:11 +0000)]
use foreach() for iteration in QKeyMapper::changeKeyboard()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 19:10:50 +0000 (19:10 +0000)]
remove redundant QKeyMapperPrivate::possibleKeys()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 17:58:01 +0000 (17:58 +0000)]
mark the end of getBreakType() as unreachable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 15:59:54 +0000 (15:59 +0000)]
define Q_NO_DATA_RELOCATION based on dummy target property
CMAKE_POSITION_INDEPENDENT_CODE may not be set but targets may have the
POSITION_INDEPENDENT_CODE property set to TRUE anyway
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 15:13:50 +0000 (15:13 +0000)]
drop KATIE_ALLINONE build option in favour of CMAKE_UNITY_BUILD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 14:26:33 +0000 (14:26 +0000)]
implement PCH build option for components
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 06:49:46 +0000 (06:49 +0000)]
drop ODBC v2 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 06:15:34 +0000 (06:15 +0000)]
QChar::unicodeVersion() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Dec 2020 05:53:24 +0000 (05:53 +0000)]
compute moc arguments variable outside loop in katie_setup_target()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Dec 2020 21:32:46 +0000 (21:32 +0000)]
remove redundant uint construct in qt_rectfill()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 22:58:29 +0000 (22:58 +0000)]
fix QDir::equalityOperator() test for certain hosts
on Debian and Ubuntu /sbin may be symlink
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 22:07:28 +0000 (22:07 +0000)]
properly initialize QDBusArgumentPrivate::direction member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 21:38:53 +0000 (21:38 +0000)]
use foreach() for iteration in QImageReader::supportedImageFormats()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 21:10:31 +0000 (21:10 +0000)]
version bump
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 17:27:51 +0000 (17:27 +0000)]
preperations for release
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 16:46:12 +0000 (16:46 +0000)]
Fedora package file review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 15:59:09 +0000 (15:59 +0000)]
oldmake.sh script fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 15:17:41 +0000 (15:17 +0000)]
require mariadb-embedded-devel to build on Fedora
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Dec 2020 01:33:41 +0000 (01:33 +0000)]
do not use all as architecture value for katie-dev Debian sub-package
some files are installed in architecture specifiec directory
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 23:59:43 +0000 (23:59 +0000)]
set Fedora package version to 4.9.0-1
as is done with Debian, for which source directory is used rather than
fetching sources from URL, since it is unknown if the source is git repo
checkout or extracted tarball
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 23:55:31 +0000 (23:55 +0000)]
use foreach() for iteration in QImageWriter::supportedImageFormats()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 23:23:59 +0000 (23:23 +0000)]
bump minimum CMake version requirement to v3.3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 23:02:33 +0000 (23:02 +0000)]
set CMAKE_CROSSCOMPILING_EMULATOR to KATIE_CROSS_EXEC for convenience
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 15:16:53 +0000 (15:16 +0000)]
initial Fedora package file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 09:04:42 +0000 (09:04 +0000)]
skip tst_QThread::wait2() entirely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 09:01:16 +0000 (09:01 +0000)]
plug QLocale memory leak
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 08:53:49 +0000 (08:53 +0000)]
plug memory leak in QFreetypeFace/QFontEngineFT
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 08:29:51 +0000 (08:29 +0000)]
properly indent hb_buffer_duplicate_out_buffer()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 08:29:37 +0000 (08:29 +0000)]
skip tst_QThread::wait3_slowDestructor() entirely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 08:26:31 +0000 (08:26 +0000)]
properly allocate and free stream in getTableStream()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 07:23:18 +0000 (07:23 +0000)]
start Xvfb manually in AppVeyor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 07:19:33 +0000 (07:19 +0000)]
correct value of QAbstractFileEngine::NFileNames
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Dec 2020 06:37:25 +0000 (06:37 +0000)]
clear size metadata in QFSFileEngine::write()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 15 Dec 2020 19:18:52 +0000 (19:18 +0000)]
fix possible off-by-one in qt_unix_query()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 15 Dec 2020 18:38:09 +0000 (18:38 +0000)]
mark tst_QThread::wait3_slowDestructor() as expected fail
upstream commits:
https://github.com/qt/qtbase/commit/
f54916697a361549256330b35029d5251d3e1407
https://github.com/qt/qtbase/commit/
ac384524c8fa6b19153811e2eaf6dac6b911f930
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 15 Dec 2020 18:25:28 +0000 (18:25 +0000)]
do not clear metadata in QFSFileEngine::size()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 15 Dec 2020 18:02:56 +0000 (18:02 +0000)]
Merge branch 'master' of https://github.com/fluxer/katie into restat
Ivailo Monev [Tue, 15 Dec 2020 15:04:27 +0000 (15:04 +0000)]
QFileInfo and QFileSystemMetaData caching rewrite
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 15 Dec 2020 15:49:21 +0000 (15:49 +0000)]
verify that file is ELF in qt_unix_query()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 15 Dec 2020 13:21:39 +0000 (13:21 +0000)]
skip QDir::isReadable() test if UID is 0
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>