OSDN Git Service
Ivailo Monev [Mon, 6 Sep 2021 14:04:56 +0000 (17:04 +0300)]
Revert "optimize QSize::scale()"
This reverts commit
d4b64a5536a75b7fc656ee1e445b4d53ffc332cf.
Ivailo Monev [Mon, 6 Sep 2021 14:04:25 +0000 (17:04 +0300)]
add QSize test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 14:00:36 +0000 (17:00 +0300)]
add QSizeF test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 13:55:57 +0000 (16:55 +0300)]
compiler warning fix
upstream commit:
https://github.com/qt/qtbase/commit/
5784c064a9c89ceb1e6dc9857e2c1ed6edf9a7b8
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 13:51:01 +0000 (16:51 +0300)]
add QSignalSpy test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 13:48:04 +0000 (16:48 +0300)]
add QRect test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 13:19:11 +0000 (16:19 +0300)]
add QPoint test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 11:28:18 +0000 (14:28 +0300)]
add QProcess test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 11:18:07 +0000 (14:18 +0300)]
ensure qt_error_string() uses XSI/POSIX.1 version of strerror_r()
fixes QProcess test failures
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 10:54:25 +0000 (13:54 +0300)]
use QSTACKARRAY() macro in QProcessPrivate::processStarted()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 6 Sep 2021 10:02:21 +0000 (13:02 +0300)]
correct environment variables count in _q_dupEnvironment() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 2 Sep 2021 22:13:45 +0000 (01:13 +0300)]
fix parsing of timezone in date
TODO: replace timezone format char with 'Z' on next locale data update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 2 Sep 2021 14:59:58 +0000 (17:59 +0300)]
remove input method support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 1 Sep 2021 14:56:53 +0000 (17:56 +0300)]
get rid of Q_TYPENAME definition [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 31 Aug 2021 12:48:33 +0000 (15:48 +0300)]
get rid of Q_DECL_CONSTRUCTOR_DEPRECATED [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 16:26:52 +0000 (19:26 +0300)]
do not throw exception on allocation failure [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 13:28:22 +0000 (16:28 +0300)]
avoid QByteArray resizing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 12:27:11 +0000 (15:27 +0300)]
add QVarLengthArray test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 12:11:03 +0000 (15:11 +0300)]
remove no-op QFontDatabase::isBitmapScalable() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 02:44:46 +0000 (05:44 +0300)]
keep reference to QByteArray in QMetaProperty::write()
fixes heap-use-after-free
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 01:54:45 +0000 (04:54 +0300)]
remove now redundant qMax() call in QBitArray qHash() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 01:43:07 +0000 (04:43 +0300)]
add QHash test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 01:37:20 +0000 (04:37 +0300)]
do not cut-off one bit when hashing QBitArray
fixes QBitArray hash collisions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 01:26:48 +0000 (04:26 +0300)]
add QMap test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Aug 2021 01:07:06 +0000 (04:07 +0300)]
use uninitialized QString in QResourceRoot::name()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 22:44:49 +0000 (01:44 +0300)]
de-duplicate code in QFontDatabase::pointSizes() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 22:06:26 +0000 (01:06 +0300)]
format parsePathDataFast() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 22:06:11 +0000 (01:06 +0300)]
warn if SVG composition mode is not implemeneted
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Aug 2021 20:48:27 +0000 (23:48 +0300)]
add QObject test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>