OSDN Git Service
Ivailo Monev [Sat, 18 Dec 2021 12:03:19 +0000 (14:03 +0200)]
remove accidentally commited line in QX11Data::copyQImageToXImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 11:54:12 +0000 (13:54 +0200)]
image passed to qt_halfScaled() is never in indexed format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 11:49:02 +0000 (13:49 +0200)]
image passed to qt_blurrow() is never in indexed format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 11:35:30 +0000 (13:35 +0200)]
copy data via single memcpy() call when the case is pre-multiplied ARGB32 in QX11Data::copyQImageToXImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 11:17:20 +0000 (13:17 +0200)]
correct format for pixmap with depth equal to 1 and MSB first in QX11PixmapData::toImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 11:15:16 +0000 (13:15 +0200)]
QImage stream operator is optional [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 11:01:33 +0000 (13:01 +0200)]
optimize QX11Data::copyXImageToQImage() for (A)RGB32, pre-multiplied ARGB32 and RGB16
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 10:25:49 +0000 (12:25 +0200)]
de-duplicate code in QX11Data::copyXImageToQImageWithMask()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 10:24:36 +0000 (12:24 +0200)]
do not detach QImage when streaming it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 09:59:01 +0000 (11:59 +0200)]
remove unused QFontEngine::FaceId::uuid member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 09:40:52 +0000 (11:40 +0200)]
remove unused QFontEngine::cloneWithSize() and its reimplementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 09:21:53 +0000 (11:21 +0200)]
remove unused QFreetypeFace::addBitmapToPath() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 06:53:31 +0000 (08:53 +0200)]
implement QX11Data::copyXImageToQImageWithMask()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 06:05:14 +0000 (08:05 +0200)]
remove PGM support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 18 Dec 2021 03:52:02 +0000 (05:52 +0200)]
do not stream QImage objects via QImageWriter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 22:55:10 +0000 (00:55 +0200)]
use memcmp() to compare QImage objects without color tables
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 22:50:15 +0000 (00:50 +0200)]
do not check if image size and format are the same in setup_qt() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 22:39:50 +0000 (00:39 +0200)]
Ivailo Monev [Fri, 17 Dec 2021 11:58:42 +0000 (13:58 +0200)]
introduce static QX11Data methods to copy QImage from and to XImage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 10:55:55 +0000 (12:55 +0200)]
simplify comparison of QImage objects
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 10:13:51 +0000 (12:13 +0200)]
fix comparison of QImage objects that are in different format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 09:53:37 +0000 (11:53 +0200)]
fix QRegion test XPM data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 09:31:05 +0000 (11:31 +0200)]
drop support for PGM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 04:33:06 +0000 (06:33 +0200)]
Ivailo Monev [Fri, 17 Dec 2021 03:36:19 +0000 (05:36 +0200)]
correct reference to image in QPngHandler::write()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 03:15:16 +0000 (05:15 +0200)]
define image configuration definitions for image formats that are no longer supported [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 01:27:04 +0000 (03:27 +0200)]
read and write PNG images as RGB(A)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 00:50:22 +0000 (02:50 +0200)]
PNG handler review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 00:39:44 +0000 (02:39 +0200)]
scope the PNG structures and pointers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 00:07:42 +0000 (02:07 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 17 Dec 2021 00:05:53 +0000 (02:05 +0200)]
do not detach the output image when setting dots per-meter in QPngHandler::read()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 16 Dec 2021 23:58:13 +0000 (01:58 +0200)]
simplify PNG handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 16 Dec 2021 21:21:29 +0000 (23:21 +0200)]
adjust QPainter benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 16 Dec 2021 05:05:00 +0000 (07:05 +0200)]
drop support for XBM format [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 15 Dec 2021 09:52:01 +0000 (11:52 +0200)]
remove gif support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 15 Dec 2021 09:47:57 +0000 (11:47 +0200)]
README update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 15 Dec 2021 09:46:40 +0000 (11:46 +0200)]
drop support for gif
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 14 Dec 2021 22:28:46 +0000 (00:28 +0200)]
remove unused composition modes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 14 Dec 2021 20:39:20 +0000 (22:39 +0200)]
drop support for bmp, ico, tga, jpeg and tiff
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 14 Dec 2021 19:47:48 +0000 (21:47 +0200)]
version bump [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 14 Dec 2021 02:30:27 +0000 (04:30 +0200)]
do not detach destination image when settings its dots per meter in QImage::convertToFormat()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 14 Dec 2021 02:11:46 +0000 (04:11 +0200)]
do not detach QVector data multiple times in fix_color_table() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 11 Dec 2021 18:38:14 +0000 (20:38 +0200)]
paint on image in QWidgetPrivate::render_helper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 10 Dec 2021 21:07:10 +0000 (23:07 +0200)]
de-duplicate code in QPainter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 10 Dec 2021 21:03:26 +0000 (23:03 +0200)]
typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 8 Dec 2021 05:10:25 +0000 (07:10 +0200)]
remove internal QMatrix and QTransform constructors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 8 Dec 2021 03:46:33 +0000 (05:46 +0200)]
effectively revert
658697932172536537e6a22e883d78572f7e96bf
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 7 Dec 2021 21:09:51 +0000 (23:09 +0200)]
Merge branch 'master' of ssh://github.com/fluxer/katie
Ivailo Monev [Tue, 7 Dec 2021 21:09:13 +0000 (23:09 +0200)]
remove unused internal QPaintEngine::coordinateOffset() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 7 Dec 2021 13:57:41 +0000 (15:57 +0200)]
remove unused QPainterPrivate::drawOpaqueBackground() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 4 Dec 2021 23:52:15 +0000 (01:52 +0200)]
remove declaration of non-existing qt_generate_brush_key() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 4 Dec 2021 19:37:08 +0000 (21:37 +0200)]
ensure the brush pixmap has a X11 handle in getPatternFill() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 2 Dec 2021 11:09:18 +0000 (13:09 +0200)]
remove QPaintEngine features enums that are not checked for and not emulated
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 1 Dec 2021 16:14:30 +0000 (18:14 +0200)]
remove code for always false condition in QImage::fill()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 1 Dec 2021 16:14:05 +0000 (18:14 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 17:22:09 +0000 (19:22 +0200)]
less branches in QImage::mirrored()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 15:49:52 +0000 (17:49 +0200)]
make most detach methods private [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 15:49:05 +0000 (17:49 +0200)]
remove unused and internal QUrl::detach() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 15:08:58 +0000 (17:08 +0200)]
do not declare any class as shared [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 14:52:00 +0000 (16:52 +0200)]
fix rare tst_qmutex build failure
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 14:19:19 +0000 (16:19 +0200)]
image is already detached by QImage::bits() in QGIFFormat::decode()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 14:14:57 +0000 (16:14 +0200)]
declare QPixmap as movable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 11:44:04 +0000 (13:44 +0200)]
do not declare QIcon and QImage as shared [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 11:30:10 +0000 (13:30 +0200)]
image is already detache by QImage::scanLine() in write_pbm_image() funciton
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 30 Nov 2021 12:33:47 +0000 (12:33 +0000)]
reimplement QImage::mirrored() via QImage::transformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 19:31:04 +0000 (21:31 +0200)]
remove QBitmap typedef that is typedef-ed in the parent QPixmap class [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 19:28:22 +0000 (21:28 +0200)]
rename disabled PSD_ENABLE_PAPERSOURCE option
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 18:19:01 +0000 (20:19 +0200)]
remove documentation for non-existing QPen typedef and method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 18:14:23 +0000 (20:14 +0200)]
remove documentation for non-existing QKeySequence typedef and method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 17:46:21 +0000 (19:46 +0200)]
move variables closer to the scope they are used in QImage::transformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 17:45:33 +0000 (19:45 +0200)]
do not declare QPen as shared [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 16:16:56 +0000 (18:16 +0200)]
remove code for always false condition in expblur() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 16:05:03 +0000 (18:05 +0200)]
assume QT_ROTATION_ALGORITHM is not defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 15:45:29 +0000 (17:45 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 15:30:55 +0000 (17:30 +0200)]
rename and fix disabled PSD_ENABLE_PAPERSOURCE option
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 15:21:48 +0000 (17:21 +0200)]
build fix for the case when QT_DECRYPT_SSL_TRAFFIC is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 11:56:55 +0000 (13:56 +0200)]
plug QUnifiedTimer, QtFreetypeData and QHttpThreadDelegate memory leaks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 10:48:13 +0000 (12:48 +0200)]
QPenPrivate copy constructor for qAtomicDetach()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 29 Nov 2021 09:57:30 +0000 (11:57 +0200)]
Revert "avoid QBrush construction in QPen::setColor()"
This reverts commit
1e2a6c28886b8de0474acd6336de0d7c9a242404.
Ivailo Monev [Mon, 29 Nov 2021 09:44:23 +0000 (11:44 +0200)]
fix gradient cache race-condition and heap-use-after-free
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 23:10:20 +0000 (01:10 +0200)]
do not detach QBrush data in QBrush::setColor() if color is the same
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 23:06:38 +0000 (01:06 +0200)]
avoid QBrush construction in QPen::setColor()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 22:58:26 +0000 (00:58 +0200)]
use QSTACKARRAY() macro in fillRect_normalized() and QRasterPaintEngine::drawBitmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 22:58:04 +0000 (00:58 +0200)]
indent qcolormap_x11 source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 21:02:04 +0000 (23:02 +0200)]
make private QBrush data actually private [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 19:41:33 +0000 (21:41 +0200)]
initialize QImageData properly rather than incrementing it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 28 Nov 2021 19:03:50 +0000 (21:03 +0200)]
use qAtomicDetach() for QPen detaching [ci reset]
plugs memory leaks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Nov 2021 16:46:04 +0000 (18:46 +0200)]
add QPainterPathStroker test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Nov 2021 14:03:25 +0000 (16:03 +0200)]
prioritize optimized cases in QImage::transformed()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Nov 2021 13:10:08 +0000 (15:10 +0200)]
remove redundant QLibraryPrivate::qualifiedFileName member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Nov 2021 13:05:34 +0000 (15:05 +0200)]
remove unused QLibraryPrivate::fullVersion member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Nov 2021 10:34:06 +0000 (12:34 +0200)]
fix heap-buffer-overflow in swap_bit_order() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 26 Nov 2021 06:36:46 +0000 (08:36 +0200)]
update NetBSD package PLIST file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 14:24:58 +0000 (16:24 +0200)]
ftruncate() and truncate() are documented as interruptable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 14:00:07 +0000 (16:00 +0200)]
fix retry code path in QFileSystemEngine::copyFile() for Linux and add disabled LFS test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 10:47:06 +0000 (12:47 +0200)]
fix possible pointer dereference in QGraphicsItemPrivate::setEnabledHelper(), QGraphicsItem::mouseMoveEvent() and AnchorData::refreshSizeHints()
upstream commmit:
https://github.com/qt/qtbase/commit/
98db99657649d4668c766eaa36b8d29c58d19754
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 10:24:08 +0000 (12:24 +0200)]
fix possible pointer dereference in QUnixPrintWidgetPrivate::updateWidget()
upstream commit:
https://github.com/qt/qtbase/commit/
57f752b30a0f452e9cc079b5a4ede6134719a769
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 10:04:04 +0000 (12:04 +0200)]
remove redundant reference assignments in QCursorData::setBitmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 09:30:57 +0000 (11:30 +0200)]
use qAtomicAssign() in objects assignment operators where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 25 Nov 2021 09:17:52 +0000 (11:17 +0200)]
do not check if private cursor data is initialized twice from QCursor constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>