OSDN Git Service
Ivailo Monev [Mon, 21 Feb 2022 23:18:20 +0000 (01:18 +0200)]
remove unused QUrlInfo class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 22:57:04 +0000 (00:57 +0200)]
remove unused and internal socket engine options
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 22:33:18 +0000 (00:33 +0200)]
remove now redundant qnetworkcommon_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 22:28:04 +0000 (00:28 +0200)]
add 3rdparty md4 directory to network component include directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 15:41:16 +0000 (17:41 +0200)]
fix byte-order definition checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 15:39:21 +0000 (17:39 +0200)]
remove symbian leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 15:39:08 +0000 (17:39 +0200)]
remove declaration of non-existing hashing functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 15:16:24 +0000 (17:16 +0200)]
remove now unused QRecursiveMutexPool class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 14:41:02 +0000 (16:41 +0200)]
get rid of OpenSSL dependency
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 13:18:36 +0000 (15:18 +0200)]
drop SSL support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Feb 2022 05:58:12 +0000 (07:58 +0200)]
partial rootless JSON arrays support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Feb 2022 00:18:01 +0000 (02:18 +0200)]
add missing QAbstractSocket::SslHandshakeFailedError case to QAbstractSocket::SocketError QDebug streaming operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Feb 2022 18:13:31 +0000 (20:13 +0200)]
remove now unused socks5 socket engine [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Feb 2022 15:38:49 +0000 (17:38 +0200)]
drop network access classes [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 19 Feb 2022 13:08:27 +0000 (15:08 +0200)]
drop declarative component network support [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 23:45:02 +0000 (01:45 +0200)]
note that QNetworkDiskCache is not thread-safe either
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 20:19:32 +0000 (22:19 +0200)]
remove cache file in case of error from QNetworkDiskCache::insert()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 19:54:53 +0000 (21:54 +0200)]
rare QFSFileEngine runtime warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 19:45:51 +0000 (21:45 +0200)]
QNetworkDiskCache no longer compresses files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 19:40:09 +0000 (21:40 +0200)]
use QT_BUFFSIZE as buffer size in QNetworkDiskCache::updateMetaData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 19:38:40 +0000 (21:38 +0200)]
update cache size when remove invalid cache file from QNetworkDiskCache::data()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 18:43:14 +0000 (20:43 +0200)]
QNetworkDiskCache warning messages review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 18:22:06 +0000 (20:22 +0200)]
reimplement QNetworkDiskCache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 17 Feb 2022 14:23:49 +0000 (16:23 +0200)]
a bit more collision-resistant QNetworkDiskCache filenames
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 16 Feb 2022 09:09:48 +0000 (11:09 +0200)]
do not skip header data that qUncompress() requires from QHttpNetworkReplyPrivate::gunzipBody()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 14 Feb 2022 02:10:25 +0000 (04:10 +0200)]
verify that image format is not auto-generated garbage in QImageData::create()
fixes crash in case of:
QImage image = image.scaled(1, 1);
for which no QImage constructor is called and image has random bits as data
pointer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 10 Feb 2022 21:57:44 +0000 (23:57 +0200)]
fallback to view-refresh icon for QStyle::SP_BrowserReload in QCommonStyle::standardPixmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 9 Feb 2022 16:06:17 +0000 (18:06 +0200)]
de-couple the global socket handlers mutex from the list
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 21:59:35 +0000 (23:59 +0200)]
increase qfcvt() and qecvt() buffer size
fixes buffer overflow in some cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 21:14:52 +0000 (23:14 +0200)]
remove unused QPaintEngineEx methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 10:56:02 +0000 (12:56 +0200)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 10:19:17 +0000 (12:19 +0200)]
remove now unused unicode utility
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 10:18:21 +0000 (12:18 +0200)]
update translations [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 10:11:01 +0000 (12:11 +0200)]
remove unused virtual QRasterPaintEngine methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 09:37:21 +0000 (11:37 +0200)]
remove redundant QRasterPaintEngine::drawEllipse() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 09:19:28 +0000 (11:19 +0200)]
remove unused QX11PaintEnginePrivate::has_complex_xform member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 09:16:04 +0000 (11:16 +0200)]
draw images as pixmaps from QX11PaintEngine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Feb 2022 02:00:59 +0000 (04:00 +0200)]
pick the first icon theme that is not hicolor as system icon theme
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 22:43:44 +0000 (00:43 +0200)]
replacement colors are always RGBA now and images are in format with alpha channel
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 21:50:46 +0000 (23:50 +0200)]
remove bits for always false condition in QPixmap::scroll()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 21:43:07 +0000 (23:43 +0200)]
always detach QPixmap when filling it with color
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 21:21:22 +0000 (23:21 +0200)]
reserve space for bounds in QPainterPath::toFillPolygons()
upstream commit:
https://github.com/qt/qtbase/commit/
d432d17f83e5edf4fb14e13cd74d57643df3a13a
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 21:11:18 +0000 (23:11 +0200)]
README update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 21:08:55 +0000 (23:08 +0200)]
bundle libdeflate to make it optional
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 20:07:51 +0000 (22:07 +0200)]
drop support for painting widgets outside paint events [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 20:06:56 +0000 (22:06 +0200)]
use foreach() for iteration in QX11PaintEnginePrivate::fillPath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 19:39:16 +0000 (21:39 +0200)]
do not convert X11 pixmap to default depth
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 19:21:45 +0000 (21:21 +0200)]
ignore return value of FcPatternGetBool()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 19:20:58 +0000 (21:20 +0200)]
typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 11:45:44 +0000 (13:45 +0200)]
replace qt_inflateGZipDataFrom() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 11:38:14 +0000 (13:38 +0200)]
remove unused QPolygonF object in QX11PaintEngine::drawPath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 08:13:24 +0000 (10:13 +0200)]
remove indexed image format API, QImage::setPixel() no longer accepts index as pixel value
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 06:34:58 +0000 (08:34 +0200)]
use the same condition as QImage constructor and assignment operator to check if copy should be returned in QRasterPixmapData::toImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 05:51:24 +0000 (07:51 +0200)]
QPixmap created from XPM data is initialized with QPixmapData::PixmapType as type
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 05:42:15 +0000 (07:42 +0200)]
remove redundant QPixmap::convertFromImage() [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 03:35:47 +0000 (05:35 +0200)]
correct warning message in qCompress() and mark it as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 03:30:36 +0000 (05:30 +0200)]
plug memory leak in case compression boundary is negative or zero in qCompress() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 03:24:48 +0000 (05:24 +0200)]
do not link network and svg components to deflate libraries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Feb 2022 00:52:02 +0000 (02:52 +0200)]
reimplement qCompress() and qUncompress() via libdeflate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Feb 2022 21:19:25 +0000 (23:19 +0200)]
QPixmap and QImage documentation update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Feb 2022 03:34:42 +0000 (05:34 +0200)]
QPainterPath::ensureData_helper() is called only when the private data pointer is null
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 17:15:11 +0000 (19:15 +0200)]
oops, add QSvgRenderer header to the FreeBSD package footprint
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 15:09:25 +0000 (17:09 +0200)]
do not chunk source in qt_inflateGZipDataFrom() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 04:48:13 +0000 (06:48 +0200)]
QImage class documentation update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 04:41:13 +0000 (06:41 +0200)]
prefix use of QImage::Format enums in qimage source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 04:26:00 +0000 (06:26 +0200)]
QSvgRenderer micro-optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 03:59:18 +0000 (05:59 +0200)]
use proper types for XPM RGB colors table and color map in XPM handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 02:47:47 +0000 (04:47 +0200)]
remove indexed image format leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 02:33:19 +0000 (04:33 +0200)]
benchmark conversion of all image formats except invalid
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 02:18:23 +0000 (04:18 +0200)]
generate image in more generic way in tst_QImageConversion::generateImage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 02:07:17 +0000 (04:07 +0200)]
adjust QPainter benchmark to indexed image format removal
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Feb 2022 01:53:30 +0000 (03:53 +0200)]
warn when image could not be created from createImageNode() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Feb 2022 22:07:43 +0000 (00:07 +0200)]
transform X11 pixmaps as images
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Feb 2022 21:20:04 +0000 (23:20 +0200)]
optimize reading of compressed SVG images
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Feb 2022 21:01:01 +0000 (23:01 +0200)]
remove redundant QSvgHandler constructor, warn on failure to load SVG from content or reader
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Feb 2022 20:34:54 +0000 (22:34 +0200)]
remove all optional SVG module classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Feb 2022 14:54:18 +0000 (16:54 +0200)]
always load the SVG image as data in QSvgIOHandlerPrivate::load()
fixes loading of compressed SVG images for which the format is set to
"svg" when it should be "svgz"
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 23:44:25 +0000 (01:44 +0200)]
convert all QCleanlooksStyle pixmaps to PNG
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 10:06:58 +0000 (12:06 +0200)]
convert some QCleanlooksStyle pixmaps to PNG
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 09:52:15 +0000 (11:52 +0200)]
minor XPM handler optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 05:58:56 +0000 (07:58 +0200)]
effectively revert
6b4f25f6d0dbb018d9b7b92917b1d8a47cf01dba [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 02:05:29 +0000 (04:05 +0200)]
convert QWindowsStyle pixmaps to PNG
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 01:38:55 +0000 (03:38 +0200)]
convert QCommonStyle pixmaps to PNG
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 01:17:32 +0000 (03:17 +0200)]
access private QImage data directly in QPngHandler::read()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 23:55:54 +0000 (01:55 +0200)]
revert accidently commited change
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 23:55:33 +0000 (01:55 +0200)]
add PNG vs XPM QImageReader benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 01:18:00 +0000 (01:18 +0000)]
format QCommonStyle pixmaps
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 31 Jan 2022 01:17:11 +0000 (01:17 +0000)]
minor XPM handler optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 21:44:06 +0000 (23:44 +0200)]
use QImage::Format_ARGB32_Premultiplied as format for XPM images with transparent color
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 13:19:45 +0000 (15:19 +0200)]
remove unused QX11PaintEngine::supportedRenderHints() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 11:49:52 +0000 (13:49 +0200)]
get rid of QScopedArrayPointer<T> [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 11:08:09 +0000 (13:08 +0200)]
make private QPainterPath data pointer actually private [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 07:58:40 +0000 (09:58 +0200)]
Xvfb quirk workaround in tst_QListView::task254449_draggingItemToNegativeCoordinates()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 06:06:08 +0000 (08:06 +0200)]
optimize QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 05:09:51 +0000 (07:09 +0200)]
remove unused QWindowSurface::buffer() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 30 Jan 2022 04:20:04 +0000 (06:20 +0200)]
remove unused header inclusions in qpaintengine_x11 source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 29 Jan 2022 21:52:45 +0000 (23:52 +0200)]
format and indent QCleanlooksStyle::drawPrimitive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 29 Jan 2022 21:36:24 +0000 (23:36 +0200)]
declare xlibMaxLinePoints as static constant
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 29 Jan 2022 21:29:41 +0000 (23:29 +0200)]
always draw polygons as path from QX11PaintEngine::drawPolygon()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 29 Jan 2022 21:11:09 +0000 (23:11 +0200)]
remove unused QScriptLine::hasTrailingSpaces member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>