OSDN Git Service
Ivailo Monev [Wed, 6 Jan 2021 00:01:54 +0000 (02:01 +0200)]
update link in QMessageBox
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 23:10:35 +0000 (01:10 +0200)]
include rscpath only if resource will be generated from katie_setup_target()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:55:14 +0000 (00:55 +0200)]
remove redundant qhash header inclusion in qt_x11_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:54:55 +0000 (00:54 +0200)]
oops, fix Fedora package file format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:16:48 +0000 (00:16 +0200)]
set a bit more restrictive permissions for the scripts
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:01:32 +0000 (00:01 +0200)]
use the widget X11 information to query depth in QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 21:29:48 +0000 (23:29 +0200)]
properly initialize QDomNode and QDomImplementation members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 21:10:36 +0000 (23:10 +0200)]
mark QSqlQuery warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 21:10:04 +0000 (23:10 +0200)]
correct condition for use of qt_x11_drawImage() in QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 20:21:44 +0000 (22:21 +0200)]
static analyzer warnings fixes
upstream commits:
https://github.com/qt/qtbase/commit/
e277575987657aa07444eea9bee99769f039d3b0
https://github.com/qt/qtbase/commit/
600b7bfa89e560cd23a7586e8f8c4393dd5aca05
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 18:37:32 +0000 (20:37 +0200)]
Revert "mark non-inline drawing blend/gradient/blit helpers as fast functions"
This reverts commit
a9e40f64c65e344bb134a1c8753cbc2d1badac95.
Ivailo Monev [Tue, 5 Jan 2021 09:15:56 +0000 (11:15 +0200)]
prefix feof() call in QFile benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 09:07:16 +0000 (11:07 +0200)]
crash if posix_memalign() fails in Heap::allocateBlock()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 08:19:45 +0000 (10:19 +0200)]
disable some spurious compiler warnings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 07:45:31 +0000 (09:45 +0200)]
properly initialize QGlobalNetworkProxy members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 07:17:20 +0000 (09:17 +0200)]
keep QByteArray reference in QDebug destructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 06:39:14 +0000 (08:39 +0200)]
fix possible pointer dereference in QPixmapIconEngine::pixmap()
upstream commit:
https://github.com/qt/qtbase/commit/
b5fc085e712815bcd465370f88d1df8179b538e3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 06:31:16 +0000 (08:31 +0200)]
static analyzer warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 05:52:39 +0000 (07:52 +0200)]
export QDir::SortFlags debug operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 05:06:58 +0000 (07:06 +0200)]
katie_setup_target() macro rewrite
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 03:23:26 +0000 (05:23 +0200)]
properly initialize QDataStream members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 02:55:22 +0000 (04:55 +0200)]
mark warning cases in QDBusSignature as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 21:50:04 +0000 (23:50 +0200)]
use single do/while loop in QEventDispatcherX11::processEvents()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 20:50:29 +0000 (22:50 +0200)]
make use of QStandardPaths in QGuiPlatformPlugin::iconThemeSearchPaths()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 20:10:41 +0000 (22:10 +0200)]
replace qDBusNameToTypeId() with QMetaType::type()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 18:16:17 +0000 (20:16 +0200)]
use correct QString constructs in QLocale and QLocalePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 18:09:43 +0000 (20:09 +0200)]
remove empty case in decimalForm()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 18:00:36 +0000 (20:00 +0200)]
keep references to QByteArray objects
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 00:25:26 +0000 (02:25 +0200)]
mark non-inline drawing blend/gradient/blit helpers as fast functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 4 Jan 2021 00:01:58 +0000 (02:01 +0200)]
fix crash in QImage conversion benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 3 Jan 2021 22:26:35 +0000 (00:26 +0200)]
merge cases in mkspecs file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 2 Jan 2021 21:48:06 +0000 (23:48 +0200)]
use foreach() for iteration in QIconTheme constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 2 Jan 2021 21:34:41 +0000 (23:34 +0200)]
remove redundant IconCache post-routine cleanup function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 2 Jan 2021 21:10:33 +0000 (23:10 +0200)]
replace qt_rectconvert<T,T>() with its body
also fixes build on i386 since QT_FASTCALL was not used in CONVERT_DECL()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 2 Jan 2021 19:29:18 +0000 (21:29 +0200)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 2 Jan 2021 16:41:15 +0000 (18:41 +0200)]
remove shadowing QDial reimplementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 23:59:24 +0000 (01:59 +0200)]
copyright update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 22:09:52 +0000 (00:09 +0200)]
debug type build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 22:09:41 +0000 (00:09 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 21:50:23 +0000 (23:50 +0200)]
QJsonValue review
several bugs were discovered
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 20:46:39 +0000 (22:46 +0200)]
correct condition for QT_NO_EXECINFO
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 18:36:52 +0000 (20:36 +0200)]
remove now unused pthread_stackseg_np() and pthread_attr_get_np() function checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 17:42:27 +0000 (19:42 +0200)]
fix translation of QJsonParseError errors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 17:13:19 +0000 (19:13 +0200)]
fix stack corruption in JSC
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 16:02:58 +0000 (18:02 +0200)]
remove KATIE_PLATFORM and KATIE_COMPILER
there are no compiler specific checks in the build system and only one
Linux platform check now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 03:23:58 +0000 (05:23 +0200)]
remove unused QBspTree::create() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 02:56:36 +0000 (04:56 +0200)]
remove unused trivial qt_memconvert<T, T>() and qt_rectconvert<T, T>() implementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 1 Jan 2021 02:40:25 +0000 (04:40 +0200)]
mark QImage converting functions as inline/fast
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 31 Dec 2020 23:37:35 +0000 (01:37 +0200)]
optimize QPNGImageWriter::writeImage()
affects images with either QImage::Format_ARGB32_Premultiplied or
QImage::Format_RGB16 format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>