OSDN Git Service
Ivailo Monev [Mon, 28 Jun 2021 11:04:57 +0000 (14:04 +0300)]
use unitialized buffer in QHttpNetworkReplyPrivate::readBodyFast()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Jun 2021 11:04:29 +0000 (14:04 +0300)]
check for overflow in QHttp::readAll()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Jun 2021 09:11:22 +0000 (12:11 +0300)]
use correct type for cast in QSslCertificate::alternateSubjectNames()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Jun 2021 08:53:18 +0000 (11:53 +0300)]
return error instead of using assignment and falltrough in _q_OpenSSL_to_QSslError()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Jun 2021 08:30:49 +0000 (11:30 +0300)]
require OpenSSL v1.1.0 as minumum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Jun 2021 22:28:13 +0000 (01:28 +0300)]
avoid copies in QStyleSheetStyle::renderRule() and QStyleSheetStyle::hasStyleRule()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Jun 2021 21:34:01 +0000 (00:34 +0300)]
use unintialized buffers in QNetworkAccessFileBackend::readMoreFromFile() and QSslSocketPrivate::peek()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Jun 2021 20:49:03 +0000 (23:49 +0300)]
optimize certificates blacklist table lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Jun 2021 20:29:41 +0000 (23:29 +0300)]
avoid reallocation in QSslCertificatePrivate::QByteArray_from_X509()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Jun 2021 17:13:19 +0000 (20:13 +0300)]
correct logic for layout application in QToolBarAreaLayout::restoreState()
reference:
https://github.com/qt/qtbase/commit/
6eeab0b0e19818815dffb1ff603bc84aac3ffcb7
https://github.com/fluxer/katie/commit/
21430066ed611aea47242c199fc3505d487da75f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Jun 2021 16:55:35 +0000 (19:55 +0300)]
add missing break statements in switch in QToolBarAreaLayoutInfo::distance()
upstream commit:
https://github.com/qt/qtbase/commit/
de48fd192b7973c4849ec79bce4cd491b5e8550f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Jun 2021 13:29:27 +0000 (16:29 +0300)]
implement QDebug stream operator for QBitArray
upstream commit:
https://github.com/qt/qtbase/commit/
18617f2824af67a690ade336f5d27f09752c7206
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 17:14:59 +0000 (20:14 +0300)]
do not convert pixmap and mask in QCursor constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 17:06:11 +0000 (20:06 +0300)]
set the X11 screen of the actual pixmap in QX11PaintEngine::drawPixmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 16:54:32 +0000 (19:54 +0300)]
mark warning case in QCursorData::setBitmap() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 14:13:47 +0000 (17:13 +0300)]
make use of QFAST_SCAN_LINE() in QFontEngine::alphaMapForGlyph()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 13:45:10 +0000 (16:45 +0300)]
remove unused QFontEngine::alphaRGBMapForGlyph() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 13:37:26 +0000 (16:37 +0300)]
make use of QFAST_SCAN_LINE() in QFontEngine::alphaRGBMapForGlyph()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Jun 2021 11:59:50 +0000 (14:59 +0300)]
call OptimizeHeaders script explicitly from component installation targets
fixes headers optimization when installing from component target, e.g. when
making package from the provided Debian package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Jun 2021 19:24:34 +0000 (22:24 +0300)]
set invalid length variable to the output buffer size in QIcuCodec
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Jun 2021 15:02:14 +0000 (18:02 +0300)]
fake the system codec name
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Jun 2021 11:55:35 +0000 (14:55 +0300)]
use Z_BEST_SPEED as default quality for PNG images
same as level 1 which is used in rcc, for reference:
https://www.zlib.net/manual.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Jun 2021 11:35:52 +0000 (14:35 +0300)]
do not shadow variable in read_xpm_string()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Jun 2021 00:44:22 +0000 (03:44 +0300)]
remove unused QWidgetBackingStore::dirtyRegion() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 23:37:53 +0000 (02:37 +0300)]
translations update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 23:34:54 +0000 (02:34 +0300)]
correct condition for solaris in top-level build file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 23:26:16 +0000 (02:26 +0300)]
mark all QWindowSurface methods reimplemented by QRasterWindowSurface as pure virtual
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 23:25:19 +0000 (02:25 +0300)]
remove unused QWindowSurface::grabWidget() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 23:17:58 +0000 (02:17 +0300)]
remove code for always false condition in QWindowSurface and QRasterWindowSurface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 17:40:24 +0000 (20:40 +0300)]
make use of QFAST_SCAN_LINE() in QBitmap::fromData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 17:12:52 +0000 (20:12 +0300)]
remove duplicate pre-processor macro in GIF image handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 16:36:19 +0000 (19:36 +0300)]
remove code for always false condition in QWidgetBackingStore and QWindowSurface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Jun 2021 06:45:44 +0000 (09:45 +0300)]
internal pixmap data classes optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Jun 2021 20:44:25 +0000 (23:44 +0300)]
QRasterBuffer::colorizeBitmap() optimization
TODO: use QFAST_SCAN_LINE where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Jun 2021 20:06:47 +0000 (23:06 +0300)]
remove redundant QRasterWindowSurfacePrivate::inSetGeometry member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Jun 2021 20:05:59 +0000 (23:05 +0300)]
remove declaration of non-existing QRasterBuffer::prepareBuffer() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Jun 2021 15:25:47 +0000 (18:25 +0300)]
correct reference to unifdef executable in katie_optimize-headers()
fixes headers optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Jun 2021 15:20:24 +0000 (18:20 +0300)]
mark warning cases in drawing functions as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 17:11:51 +0000 (20:11 +0300)]
disable automatic async D-Bus calls code due to thread-safety issues
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 12:35:40 +0000 (15:35 +0300)]
use proper QString constructors for latin strings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 12:33:09 +0000 (15:33 +0300)]
remove unused variables in QDBusConnectionPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 12:32:46 +0000 (15:32 +0300)]
remove redundant forward class declaration in qdbusconnection header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 09:42:43 +0000 (12:42 +0300)]
Revert "use single do/while loop in QEventDispatcherX11::processEvents()"
This reverts commit
d46b915416682755131fbefceb7d2f38ddbd3530.
Ivailo Monev [Mon, 21 Jun 2021 09:23:52 +0000 (12:23 +0300)]
lock timers set before bit flip/free bit lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 07:29:22 +0000 (10:29 +0300)]
use ICU functions to convert QString to lower/upper/case folded string
fixes string comparison in some cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Jun 2021 05:07:47 +0000 (08:07 +0300)]
undefine options that are not supported when optimizing headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 20:01:52 +0000 (23:01 +0300)]
define OS, architectures and byte order defintions based on the host building Katie [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 18:26:08 +0000 (21:26 +0300)]
remove unused QTypeInfo::isPointer enum [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 13:41:33 +0000 (16:41 +0300)]
type normalization compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 12:08:12 +0000 (15:08 +0300)]
use public QLocale methods where possible in QString methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 12:07:38 +0000 (15:07 +0300)]
do not normalize certain unsigned types from normalizeTypeInternal()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 09:43:13 +0000 (12:43 +0300)]
add methods for stateless conversion to QIcuCodec and use them in QString
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 07:03:40 +0000 (10:03 +0300)]
add float-specialized conversion methods to QLocale
fixes float conversion in some cases, de-duplicating code while at it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Jun 2021 06:22:25 +0000 (09:22 +0300)]
effectively revert
36e1687e0e22bafa8b3818204b595b31d5ba3a00
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 18:14:19 +0000 (21:14 +0300)]
adjust QVariant test case data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 17:58:15 +0000 (20:58 +0300)]
Revert "avoid temporary copies in QString"
This reverts commit
dae83641539f7fc6edfcd6811fb2248b945a265f.
Ivailo Monev [Sat, 19 Jun 2021 17:34:38 +0000 (20:34 +0300)]
compatibility bits for converting strings starting with negative sign to unsigned integer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 11:12:53 +0000 (14:12 +0300)]
keep references to QByteArray objects in QDBusMessagePrivate::toDBusMessage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 07:49:44 +0000 (10:49 +0300)]
make use of QStandardPaths::findExecutable() in QCoreApplication::applicationFilePath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 07:39:22 +0000 (10:39 +0300)]
do not assume application arguments are non-null in QCoreApplication::applicationName() and QCoreApplication::applicationFilePath()
fixes kde-open crashes on FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 06:07:59 +0000 (09:07 +0300)]
take offset into account when passing string length to QString constructor in QIcuCodec::convertToUnicode()
fixes buffer overrun
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Jun 2021 04:59:09 +0000 (07:59 +0300)]
designer tool crash fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 17:50:23 +0000 (20:50 +0300)]
do not create new object on QFileSystemEntry clear
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 17:49:56 +0000 (20:49 +0300)]
do not attempt to resolve paths and seprators from invalid QFileSystemEntry constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 17:11:23 +0000 (20:11 +0300)]
mark QLatin1Char object as static in QDateTimeParser::parse()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 16:55:13 +0000 (19:55 +0300)]
use proper string constructors for latin strings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 16:18:08 +0000 (19:18 +0300)]
timeFormatContainsAP() micro-optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 15:01:29 +0000 (18:01 +0300)]
remove QSystemLocale class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 14:21:56 +0000 (17:21 +0300)]
README update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 13:53:28 +0000 (16:53 +0300)]
partially revert
42245e22d7f91ea369726b54d22d47f2da60365d
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 13:41:34 +0000 (16:41 +0300)]
add QStyleSheetStyle test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 11:41:40 +0000 (14:41 +0300)]
add QStyleOption test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 11:37:01 +0000 (14:37 +0300)]
add QStyle test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 18 Jun 2021 11:19:12 +0000 (14:19 +0300)]
revert accidently commited changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 21:22:57 +0000 (00:22 +0300)]
mark QSvgStyleSelector reimplementations as final
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 21:18:41 +0000 (00:18 +0300)]
use foreach() for iteration in QSvgStructureNode::previousSiblingNode()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 21:12:20 +0000 (00:12 +0300)]
use foreach() for iteration in QSvgAttributes constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 21:09:00 +0000 (00:09 +0300)]
avoid temporaries in QSvgHandler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 20:57:20 +0000 (23:57 +0300)]
const-ify SVG node class members where applicable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 19:12:44 +0000 (22:12 +0300)]
reduce oveflow chance in tick counters
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 19:08:33 +0000 (22:08 +0300)]
add QtConcurrentIterateKernel test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 18:50:35 +0000 (21:50 +0300)]
mark debug cases in QSvgTinyDocument as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Jun 2021 16:58:17 +0000 (19:58 +0300)]
deal with FIXME in QAbstractEventDispatcherPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Jun 2021 12:06:14 +0000 (15:06 +0300)]
always use thread-safe fcvt() and ecvt() implementations
fixes random KGlobal test failures
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Jun 2021 10:12:19 +0000 (13:12 +0300)]
QUrl locking review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 14 Jun 2021 12:30:15 +0000 (15:30 +0300)]
fix QDomNamedNodeMap::item crash with negative index
upstream commit:
https://github.com/qt/qtbase/commit/
b20d6cded7be8b86bed93ee705420bfb01700c5b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 13 Jun 2021 09:34:42 +0000 (12:34 +0300)]
add QAction test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 13 Jun 2021 08:58:00 +0000 (11:58 +0300)]
add QMenu test [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 13 Jun 2021 01:44:05 +0000 (04:44 +0300)]
static analyzer warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 12 Jun 2021 04:15:31 +0000 (07:15 +0300)]
move default switch case to the the bottom in qt_init()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 11 Jun 2021 05:27:34 +0000 (08:27 +0300)]
make application type implicit
Ivailo Monev [Thu, 10 Jun 2021 07:08:35 +0000 (10:08 +0300)]
use _FILE_OFFSET_BITS definition for LFS support
noted as recommended method for LFS support on 32-bit systems at:
https://man7.org/linux/man-pages/man2/open.2.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 8 Jun 2021 22:14:25 +0000 (01:14 +0300)]
avoid sendfile64()
fixes build on i386 Linux
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 8 Jun 2021 04:49:07 +0000 (07:49 +0300)]
translations update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 8 Jun 2021 02:47:36 +0000 (05:47 +0300)]
check if XOpenIM() returns valid pointer in QKeyMapper::clearMappings()
fixes kded4 crash on OpenBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 18:22:55 +0000 (21:22 +0300)]
use correct type for lseek() return values where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 18:17:03 +0000 (21:17 +0300)]
check errno in JSC long number parser
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 15:32:50 +0000 (18:32 +0300)]
mark struct as such in do_gettime()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 03:21:35 +0000 (06:21 +0300)]
mark warning case in QPngHandler::canRead() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 7 Jun 2021 03:21:04 +0000 (06:21 +0300)]
combine Q_BYTE_ORDER conditionals in QPNGImageWriter::writeImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>