OSDN Git Service
Ivailo Monev [Thu, 31 Dec 2020 22:27:50 +0000 (00:27 +0200)]
oops, fix dl/rt library lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 21:37:35 +0000 (23:37 +0200)]
update POT files [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 21:20:48 +0000 (23:20 +0200)]
check for semaphore header, dl and rt libraries during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 19:34:08 +0000 (21:34 +0200)]
make cxxabi header optional
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 19:32:51 +0000 (21:32 +0200)]
mark warning case in QSystemSemaphore::release() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 17:08:04 +0000 (19:08 +0200)]
get rid of internal QT_SCRIPT_LIB and QT_UITOOLS_LIB definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 16:49:06 +0000 (18:49 +0200)]
add mysql and pgsql options for NetBSD package
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 16:46:40 +0000 (18:46 +0200)]
remove QT_NO_IMAGEFORMAT_PNG option leftovers
add some missing QT_NO_IMAGEFORMAT_BMP definitions checks while at it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 15:46:50 +0000 (17:46 +0200)]
remove code for always false condition in QWidgetBackingStore::sync()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 12:52:25 +0000 (14:52 +0200)]
version bump
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 03:59:18 +0000 (05:59 +0200)]
optimize QRegExpEngine::getEscape()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 01:39:09 +0000 (03:39 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 01:38:50 +0000 (03:38 +0200)]
fix QMap C++20 compliance
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 00:32:26 +0000 (02:32 +0200)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 23:48:55 +0000 (01:48 +0200)]
correct X11 cursor alternatives for Qt::SplitVCursor and Qt::SplitHCursor
the spec at https://www.freedesktop.org/wiki/Specifications/cursor-spec/
is not correct. upstream also uses these, for reference:
https://github.com/qt/qtbase/commit/
bd72950fbedc457fb997e99beff4767505ff5d8f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 23:30:21 +0000 (01:30 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 23:10:25 +0000 (01:10 +0200)]
treat special domain name as empty
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 21:42:35 +0000 (23:42 +0200)]
plug QRasterWindowSurface memory leak
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 20:44:27 +0000 (22:44 +0200)]
Revert "reduce the size of private QVariant data"
This reverts commit
6456c01da4a6f39bd8b945a36055f827c7bf0c4c.
Ivailo Monev [Wed, 30 Dec 2020 18:59:30 +0000 (20:59 +0200)]
reduce the size of private QVariant data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 16:21:30 +0000 (18:21 +0200)]
mark the warning case in QImageReader::read() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 16:19:34 +0000 (18:19 +0200)]
fix translation of QImageReader error strings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 16:06:01 +0000 (18:06 +0200)]
properly initialize QImageReaderPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 30 Dec 2020 15:23:56 +0000 (17:23 +0200)]
use object instead of pointer to parse entities in QXmlStreamReaderPrivate::parseEntity()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 29 Dec 2020 16:05:24 +0000 (18:05 +0200)]
rebrand messages in QDeclarativeUtilModule::defineModule()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 20:02:40 +0000 (20:02 +0000)]
split NetBSD PLIST package file to support multiple platforms [ci skip]
also correct entry in it for architectures other than i386
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 15:16:18 +0000 (17:16 +0200)]
mark some QSettings warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 15:11:43 +0000 (17:11 +0200)]
use Q_TBUFFSIZE as size for buffer in QTemporaryFile::createLocalFile()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 15:11:13 +0000 (17:11 +0200)]
move QFSFileEnginePrivate methods to the top of the source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 14:58:17 +0000 (16:58 +0200)]
remove irrelevant note in QDesktopServices::unsetUrlHandler() documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 14:57:57 +0000 (16:57 +0200)]
mark the end of QStandardPaths::displayName() as unreachable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 14:52:36 +0000 (16:52 +0200)]
QStandardPaths review
QStandardPaths::LocateOption is exclusive and the API now makes it obvious
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 07:11:44 +0000 (09:11 +0200)]
add script to find all QT_HAVE_* definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 06:45:43 +0000 (08:45 +0200)]
remove non-existing QStandardPaths methods declarations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 04:45:10 +0000 (04:45 +0000)]
fix some QFileSystemEngine issues
related:
https://github.com/fluxer/katie/commit/
a72408581ca602064dd1472d144d05cb0e6887e1
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 04:40:21 +0000 (04:40 +0000)]
introduce QFile::errorString()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 02:14:30 +0000 (02:14 +0000)]
add missing break in switch in QComboBox::keyPressEvent()
upstream commit:
https://github.com/qt/qtbase/commit/
c34c8a564ef029144db6d2be256de7e46f91199a
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Dec 2020 00:30:06 +0000 (00:30 +0000)]
remove redundant bool construct and inline if/else statement
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 23:18:26 +0000 (23:18 +0000)]
use foreach() for iterations in QStandardItemPrivate and QStandardItem
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 22:26:47 +0000 (22:26 +0000)]
use foreach() for iteration in QObjectPrivate::setThreadData_helper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 21:16:03 +0000 (21:16 +0000)]
fix possible heap corruption in QXmlStream
upstream commit:
https://github.com/qt/qtbase/commit/
6256729a6da532079505edfe4c56a6ef29cd8ab8
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 20:58:50 +0000 (20:58 +0000)]
check if X11 auto repeat is enabled in QKeyMapperPrivate::translateKeyEvent()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 19:44:17 +0000 (19:44 +0000)]
note that QTBUG-6932 is fixed
via https://github.com/fluxer/katie/commit/
f7e1f4ef7b5fae029248678ee0f33d0b0f48188a
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 19:35:57 +0000 (19:35 +0000)]
remove redundant events handling in QWindowsStyle::eventFilter()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 18:24:12 +0000 (18:24 +0000)]
minor QRegExp optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 16:53:33 +0000 (16:53 +0000)]
avoid temporaries in QCommonStylePrivate::viewItemSize() and QCommonStylePrivate::viewItemDrawText()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 06:31:16 +0000 (06:31 +0000)]
update POT files [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 06:30:01 +0000 (06:30 +0000)]
remove redundant QDeclarative_isFileCaseCorrect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 06:27:53 +0000 (06:27 +0000)]
simplify DEFINE_BOOL_CONFIG_OPTION() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 05:49:28 +0000 (05:49 +0000)]
remove unused QDeclarativeKeysAttachedPrivate::imeItem member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 05:36:43 +0000 (05:36 +0000)]
optimize QDeclarativeKeysAttached::keyPressed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 03:53:46 +0000 (03:53 +0000)]
introduce PostgreSQL v13.1 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 03:02:59 +0000 (03:02 +0000)]
set CMAKE_UNITY_BUILD_BATCH_SIZE to 300
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 01:37:18 +0000 (01:37 +0000)]
clear metadata in QFSFileEngine::rename()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 01:05:55 +0000 (01:05 +0000)]
share invalid UID/GID via QFileSystemMetaData member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Dec 2020 00:19:07 +0000 (00:19 +0000)]
use S_IS* macros instead of S_IF* constants
according to https://linux.die.net/man/2/stat the S_IF* constants are
present in POSIX.1-2001 and later, POSIX.1-1990 demands the use of macros
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 23:30:11 +0000 (23:30 +0000)]
eliminate qfilesystemengine source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 23:10:44 +0000 (23:10 +0000)]
use foreach() for iteration in QObjectConnectionManager::execute()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Dec 2020 19:27:38 +0000 (19:27 +0000)]
manually manage QImageIOHandlerPrivate pointer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>