OSDN Git Service
Ivailo Monev [Sun, 29 Aug 2021 19:24:20 +0000 (22:24 +0300)]
add QStringList test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 19:21:15 +0000 (22:21 +0300)]
add QStatusBar test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 19:15:14 +0000 (22:15 +0300)]
add QStandardItem test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 19:14:41 +0000 (22:14 +0300)]
do not use object argument of QSignalSpy as its parent
fixes rare crashes due to bad-free
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 18:58:41 +0000 (21:58 +0300)]
add QStandardItemModel test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 17:51:28 +0000 (20:51 +0300)]
do not create global static in initFontSubst() when not used
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 16:32:47 +0000 (19:32 +0300)]
remove deprecated QScriptContextInfo::columnNumber() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 16:14:53 +0000 (19:14 +0300)]
remove unused QT_DEPRECATED_VARIABLE definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 15:49:36 +0000 (18:49 +0300)]
minor Qt::convertFromPlainText() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 14:51:02 +0000 (17:51 +0300)]
remove optional license exception from QSslConfiguration headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 13:41:40 +0000 (16:41 +0300)]
link KtXml and KtUiTools to extra libraries as private
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 13:08:53 +0000 (16:08 +0300)]
remove forward-declaration of non-existing classes in qabstractfileengine header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 12:48:52 +0000 (15:48 +0300)]
remove unused header inclusions in qdir source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 12:39:45 +0000 (15:39 +0300)]
remove ODF format support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 00:48:29 +0000 (03:48 +0300)]
store package related config option values in qconfig.h
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 23:56:20 +0000 (02:56 +0300)]
build fix for the case fontconfig is disabled or not found
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 22:49:44 +0000 (01:49 +0300)]
use QSTACKARRAY() macro for buffers in drawing helpers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 21:57:38 +0000 (00:57 +0300)]
replace QScopedArrayPointer<T>() with QVarLengthArray<T>() in dither_to_Mono() and convert_RGB_to_Indexed8()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 21:24:24 +0000 (00:24 +0300)]
mark warning cases in QPixmap as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 21:14:50 +0000 (00:14 +0300)]
fix QImage::isGrayscale() for QImage::Format_Indexed8 format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 21:04:00 +0000 (00:04 +0300)]
QImage::Format_Indexed8 image filling from QColor optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 20:59:20 +0000 (23:59 +0300)]
construct color from string in QTextHtmlParser::applyAttributes()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 20:18:31 +0000 (23:18 +0300)]
cache RGB variants of black/white colors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 20:00:27 +0000 (23:00 +0300)]
make use of cached alpha color table in QFontEngine::alphaMapForGlyph() and QFontEngineBox::alphaMapForGlyph()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 19:53:59 +0000 (22:53 +0300)]
gray and a8 color tables are identical
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 19:49:59 +0000 (22:49 +0300)]
cache font alpha color table
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 19:42:14 +0000 (22:42 +0300)]
remove unused QFontEngine::grayPalette() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 19:37:57 +0000 (22:37 +0300)]
cache texture glyph color table
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 19:30:08 +0000 (22:30 +0300)]
avoid temporaries in QImage equal operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 17:11:25 +0000 (20:11 +0300)]
remove obscure image formats leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 17:10:00 +0000 (20:10 +0300)]
const-ify image conversion function in map
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 16:50:53 +0000 (19:50 +0300)]
compressBound() is no longer required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Aug 2021 00:14:50 +0000 (03:14 +0300)]
remove private and unused QBrush::cleanUp() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 23:23:57 +0000 (02:23 +0300)]
do not delete shaper item string if it was allocated on the stack
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 22:54:53 +0000 (01:54 +0300)]
remove redundant qfontengine_x11_p header inclusion in qfontsubset source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 22:36:55 +0000 (01:36 +0300)]
plug QAction test memory leak
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 22:19:41 +0000 (01:19 +0300)]
use png_size_t and catch errors at runtime in iod_read_fn() and iod_read_fn()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 22:18:39 +0000 (01:18 +0300)]
use correct meta types in QVariant tests
fixes stack-buffer-overflow
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 21:41:26 +0000 (00:41 +0300)]
ignore leaks from Katie::QTextCodec::codecForName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 21:40:55 +0000 (00:40 +0300)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 21:17:01 +0000 (00:17 +0300)]
test QCryptographicHash::Sha256 and CryptographicHash::Sha512 methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 20:54:58 +0000 (23:54 +0300)]
close ICU converter regardless of other codec state before cloning
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 20:39:41 +0000 (23:39 +0300)]
compiler warning fix
upstream commit:
https://github.com/qt/qtbase/commit/
58170cea15f5b39d3802df036c90fee63886b9b3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 17:10:19 +0000 (20:10 +0300)]
indent variantToDomProperty() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 12:41:41 +0000 (15:41 +0300)]
initialize QSystemSemaphorePrivate::initialValue member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 00:35:58 +0000 (03:35 +0300)]
use boolean instead of pointer as qRegisterMetaType<T>() argument [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Aug 2021 00:09:53 +0000 (03:09 +0300)]
remove dummy qRegisterMetaType<T>() and qRegisterMetaTypeStreamOperators<T>() arugments [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 23:25:40 +0000 (02:25 +0300)]
lseek() is not documented to be interruptable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 22:29:46 +0000 (01:29 +0300)]
close file descriptor when it is owned by QFSFileEngine and seek to end fails
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 21:33:53 +0000 (00:33 +0300)]
skip tst_QFile::copyShouldntOverwrite() test case if current user is root
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 21:12:37 +0000 (00:12 +0300)]
do not test if renaming file to /etc/renamefile fails if current user is root
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 20:56:56 +0000 (23:56 +0300)]
/proc/curproc/map does not exist (by default) on current stable FreeBSD (13.0)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 20:22:07 +0000 (23:22 +0300)]
do not use sendfile() on FreeBSD/DragonBSD to copy files
works only for sockets, failure check was not correct too
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 17:57:07 +0000 (20:57 +0300)]
remove unused ToolBarManager::m_configureableMainWindow member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 17:55:08 +0000 (20:55 +0300)]
remove unused ZoomView::m_resizeBlocked member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 17:09:09 +0000 (20:09 +0300)]
open buffer in write-only mode in QSvgPaintEngine::drawImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 15:07:05 +0000 (18:07 +0300)]
use uninitialized buffers where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 14:17:40 +0000 (17:17 +0300)]
compiler warning fix
upstream commit:
https://github.com/qt/qttools/commit/
3b4beaff963d087bb5c7b34c6c2713d5722fc122
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 13:56:52 +0000 (16:56 +0300)]
compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 12:40:47 +0000 (15:40 +0300)]
remove unsupported QAuthenticator methods leftovers
upstream commit:
https://github.com/qt/qtbase/commit/
8a1baaf3364fd5c4e8d6735b445381beef0c5e56
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 11:16:29 +0000 (14:16 +0300)]
initialize qt_qprocess_deadChild_pipe variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 11:02:54 +0000 (14:02 +0300)]
remove HTML-related JSC string functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 03:03:04 +0000 (06:03 +0300)]
format and indent QAbstractSocket::setSocketOption() and QAbstractSocket::socketOption()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 02:49:20 +0000 (05:49 +0300)]
remove unused and internal socket option
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Aug 2021 02:27:24 +0000 (05:27 +0300)]
mark warning case in QLocalServer::listen() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 22:03:56 +0000 (01:03 +0300)]
call QTextCodec::fromUnicode() overload from QString::toAscii() and QString::toLocal8Bit()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 17:36:02 +0000 (20:36 +0300)]
assume M_PI is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 16:25:11 +0000 (19:25 +0300)]
replace M_PI / 2 with M_PI_2 definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 16:15:02 +0000 (19:15 +0300)]
de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 14:38:20 +0000 (17:38 +0300)]
drop symbian/harmattan related bearer management support [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 13:30:51 +0000 (16:30 +0300)]
use QSTACKARRAY() macro for arrays in QX11PixmapData
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 13:18:47 +0000 (16:18 +0300)]
move some constants to qcorecommon_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Aug 2021 12:51:52 +0000 (15:51 +0300)]
indent swtches in QSvgPaintEngine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 20:34:39 +0000 (23:34 +0300)]
export component symbols only when building them [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 13:22:30 +0000 (16:22 +0300)]
fix regression since
1435a6a29236367aadec274588c9684f82b6ad85
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 01:37:39 +0000 (04:37 +0300)]
add QGraphicsEffect test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 01:00:48 +0000 (04:00 +0300)]
Ivailo Monev [Tue, 24 Aug 2021 00:34:18 +0000 (03:34 +0300)]
assume QT_DEPRECATED is defined in qscriptcontenxtinfo header [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 00:33:36 +0000 (03:33 +0300)]
remove deprecated QGraphicsEffect::sourceIsPixmap() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 00:29:29 +0000 (03:29 +0300)]
minor comment correction in qguicommon_p header [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Aug 2021 00:01:05 +0000 (03:01 +0300)]
plug QJsonDocument memory leaks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 16:49:17 +0000 (19:49 +0300)]
add QVectorND test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 16:21:05 +0000 (19:21 +0300)]
add QGlobal test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 16:14:53 +0000 (19:14 +0300)]
use QElapsedTimer in QMoviePrivate::next()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 15:18:47 +0000 (18:18 +0300)]
cache some commonly used colors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 15:17:55 +0000 (18:17 +0300)]
make use of monoColorTable() in convert_Indexed8_to_X32()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 05:56:17 +0000 (08:56 +0300)]
read QByteArray/QString from QDataStream without pre-allocations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Aug 2021 04:23:20 +0000 (07:23 +0300)]
use public QByteArray methods in QByteRef [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 23:42:31 +0000 (02:42 +0300)]
remove supposedly fast spans code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 23:42:06 +0000 (02:42 +0300)]
use qVariantToHelper<T>() in QVariant::toBool()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 23:29:39 +0000 (02:29 +0300)]
assume scale argument is not null in qt_scaleForTransform()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 22:24:24 +0000 (01:24 +0300)]
make use of monoColorTable() and grayColorTable() in ICOReader::iconAt() and ensureValidImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 21:32:14 +0000 (00:32 +0300)]
consistent qCompress()/qUncompress() warning messages
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Aug 2021 02:09:30 +0000 (05:09 +0300)]
delete copy constructor and assignment operator [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Aug 2021 13:32:22 +0000 (16:32 +0300)]
de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Aug 2021 01:24:22 +0000 (04:24 +0300)]
avoid temporary in QByteArray::prepend()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 23:02:29 +0000 (02:02 +0300)]
stack use-after-delete and out-of-bounds in QByteArray fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 22:25:32 +0000 (01:25 +0300)]
compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 22:03:55 +0000 (01:03 +0300)]
replace qChecksum32() with qHash() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Aug 2021 21:40:44 +0000 (00:40 +0300)]
replace qCompress()/qUncompress() with qFastCompress()/qFastUncompress() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>