OSDN Git Service
Ivailo Monev [Thu, 27 Oct 2022 23:32:49 +0000 (02:32 +0300)]
package footprint file update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 27 Oct 2022 09:46:07 +0000 (12:46 +0300)]
drop foreach() compat
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 27 Oct 2022 04:40:02 +0000 (07:40 +0300)]
do not use QByteArray object as default buffer in QBuffer
that way no QByteArray reference is kept in QBuffer for buffers from raw
data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 26 Oct 2022 19:07:31 +0000 (22:07 +0300)]
check for self assignment and copy the codec name in QTextConverter assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 26 Oct 2022 03:16:29 +0000 (06:16 +0300)]
allocate one bit for the terminator in QDataStream::readBytes()
fixes regression since
feaf1a6a21499aeabee5829ab2fd109b29e8008e
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 26 Oct 2022 03:53:48 +0000 (06:53 +0300)]
do not build QTextCodec and QTextConverter code when QT_NO_TEXTCODEC is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 26 Oct 2022 03:39:59 +0000 (06:39 +0300)]
rename QTextCodecPrivate and QTextConverterPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 26 Oct 2022 03:08:28 +0000 (06:08 +0300)]
use specialized private class for QTextConverter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 26 Oct 2022 02:41:17 +0000 (05:41 +0300)]
public classes static data update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 25 Oct 2022 05:04:56 +0000 (08:04 +0300)]
QTextCodec rewrite
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 24 Oct 2022 18:56:12 +0000 (21:56 +0300)]
fix regression since
cd5217cdbcf47683f1b63fd42b63d354ea014bda
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 23 Oct 2022 14:34:57 +0000 (17:34 +0300)]
allocate signature after checking the member length in QMetaObject::invokeMethod()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 23 Oct 2022 14:30:04 +0000 (17:30 +0300)]
allocate buffer via QSTACKARRAY() in QMetaObject::normalizedType()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 23 Oct 2022 05:17:09 +0000 (08:17 +0300)]
remove QT_NO_DEPRECATED check
it was used to not build deprecated functionality, now there is only one
deprecated method in the D-Bus component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 23 Oct 2022 05:03:07 +0000 (08:03 +0300)]
remove unused header inclusions in qbenchmark source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 22:00:19 +0000 (01:00 +0300)]
remove redundant QApplication::exec()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 20:32:10 +0000 (23:32 +0300)]
Merge branch 'master' of https://scm.osdn.net/gitroot/kde/Katie
Ivailo Monev [Fri, 21 Oct 2022 23:11:20 +0000 (02:11 +0300)]
minor QMatrix::map() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 20:31:59 +0000 (23:31 +0300)]
remove redundant QFile::close() call inqt_unix_query() function
QFile::close() is called from QFile destructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 16:22:15 +0000 (19:22 +0300)]
limit QImage dimensions to USHRT_MAX
65535x65535 is more than enough
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 13:42:20 +0000 (16:42 +0300)]
allocate temporary memory via for the image via malloc in QKatHandler
QByteArray does not benefit the reading/writing process because the data is
not shared
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 10:56:21 +0000 (13:56 +0300)]
de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 10:42:55 +0000 (13:42 +0300)]
remove unused qbuffer header inclusion in qxml source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 10:28:09 +0000 (13:28 +0300)]
remove obsolete QGraphicsView optimization enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 10:06:34 +0000 (13:06 +0300)]
fix regression since
f48725ae734e87d97089b9f3e53219e7487223d2
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 06:01:19 +0000 (09:01 +0300)]
save the KAT image in the same format as the original
images are still ~5x smaller than the orignal
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 05:27:30 +0000 (08:27 +0300)]
KAT image writing optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 04:10:38 +0000 (07:10 +0300)]
KAT image reading optimization
no change in the format since writing QByteArray to QDataStream writes
its length
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 03:55:56 +0000 (06:55 +0300)]
allocate the exact chunk of memory required to read the bytes from QDataStream::readBytes()
it will eventually be allocated anyway
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 22:31:10 +0000 (01:31 +0300)]
remove unused QXpmHandler member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 01:22:04 +0000 (04:22 +0300)]
assume device is valid in read_xpm_body() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 01:21:35 +0000 (04:21 +0300)]
stream QBrush enums as the smallest integer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 21 Oct 2022 00:49:48 +0000 (03:49 +0300)]
XPM image writing is not supported
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 20:31:45 +0000 (23:31 +0300)]
use memcmp() instead of qstrncmp() for header comparison in QKatHandler::option()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 18:09:27 +0000 (21:09 +0300)]
remove XPM-specialized QImage and QPixmap constructors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 17:17:55 +0000 (20:17 +0300)]
convert QDataStream test image to PNG
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 17:11:13 +0000 (20:11 +0300)]
convert QRegion test image to PNG
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 17:10:14 +0000 (20:10 +0300)]
convert default DnD pixmap to KAT format
NOTE: DnD requires PPM image format support, KAT only for the default
pixmap but should function even without default image
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 20 Oct 2022 02:32:31 +0000 (05:32 +0300)]
libdeflate now provides pkg-config file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 19 Oct 2022 13:55:05 +0000 (16:55 +0300)]
save and restore the device position when getting KAT image size
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Oct 2022 14:13:40 +0000 (17:13 +0300)]
remove unused non-contigious device classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Oct 2022 02:47:00 +0000 (05:47 +0300)]
QIODevice::readLine() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Oct 2022 01:46:42 +0000 (04:46 +0300)]
remove unused variables in getPixmap() and getImage() functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 18 Oct 2022 01:15:16 +0000 (04:15 +0300)]
bye QDataStream versioning
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Oct 2022 19:24:57 +0000 (22:24 +0300)]
pass the QByteArray size to QString constructors instead of recomputing it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Oct 2022 18:39:22 +0000 (21:39 +0300)]
avoid temporary in QItemDelegate::selected()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Oct 2022 20:49:19 +0000 (23:49 +0300)]
KAT hash result getter optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Oct 2022 14:01:30 +0000 (17:01 +0300)]
remove non-operational support for pixmap function in UI file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Oct 2022 13:39:45 +0000 (16:39 +0300)]
update classes table in uic tool
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 14 Oct 2022 11:29:35 +0000 (14:29 +0300)]
drop resources and language extensions support in designer component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 13 Oct 2022 22:39:31 +0000 (01:39 +0300)]
do it in QXpmHandler::canRead() too
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 13 Oct 2022 22:31:35 +0000 (01:31 +0300)]
use memcmp() instead of qstrncmp() when checking image headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 13 Oct 2022 18:36:07 +0000 (21:36 +0300)]
construct QXmlStreamReader with the QIODevice pointer in QAbstractFormBuilder::load()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 13 Oct 2022 17:16:51 +0000 (20:16 +0300)]
drop form scripts support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 13 Oct 2022 11:20:25 +0000 (14:20 +0300)]
do not override the format of plugins from QImageWriter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 13 Oct 2022 11:20:01 +0000 (14:20 +0300)]
probe format and content at the same time from QImageReader
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 12 Oct 2022 21:14:23 +0000 (00:14 +0300)]
do not attempt to draw points from QPaintEngine::drawPolygon() if their count is not greater than zero
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 12 Oct 2022 20:56:41 +0000 (23:56 +0300)]
check for SESSION_MANAGER environment variable earlier in QSessionManager constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 11 Oct 2022 11:52:54 +0000 (14:52 +0300)]
use KAT image for the QWhatsThis action, fallback to XPM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 7 Oct 2022 16:23:27 +0000 (19:23 +0300)]
simplify QByteArray::repeated() and QString::repeated()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 2 Oct 2022 07:34:18 +0000 (10:34 +0300)]
fix dev warning about package name mismatch
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 1 Oct 2022 16:55:54 +0000 (19:55 +0300)]
iterate over the QStringList objects that are not modified in QFileSystemWatcherEngineUnix methods
fixes possible reference issues
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 28 Sep 2022 02:22:58 +0000 (02:22 +0000)]
mark the warning case in QSessionManager constructor as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 27 Sep 2022 22:00:03 +0000 (01:00 +0300)]
use qstrcmp() instead of strcmp() in QMetaObject, QMetaEnum and QMetaProperty for safety
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 27 Sep 2022 21:20:04 +0000 (00:20 +0300)]
deal with TODO in QMetaEnum::keysToValue()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 27 Sep 2022 11:04:00 +0000 (14:04 +0300)]
remove references to unset INSTALL_TARGETS_DEFAULT_ARGS variable
INSTALL_TARGETS_DEFAULT_ARGS was supposed to be set and used the same way
it is in kdelis (see kdelibs/cmake/modules/FindKDE4Internal.cmake)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 26 Sep 2022 06:03:35 +0000 (09:03 +0300)]
check if the application name is empty before using program_invocation_short_name constant for it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 15:24:27 +0000 (18:24 +0300)]
remove ID comment in PKGBUILD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 15:20:19 +0000 (15:20 +0000)]
correct path in PKGBUILD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 05:55:20 +0000 (08:55 +0300)]
update FreeBSD footprint file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 04:59:37 +0000 (07:59 +0300)]
reuse WRKSRC variable in FreeBSD package file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 04:12:52 +0000 (07:12 +0300)]
include system socket header in qhostaddress source file
fixes build on FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 04:10:19 +0000 (07:10 +0300)]
FreeBSD package hack
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 03:58:22 +0000 (06:58 +0300)]
include system signal header in qcore_unix_p header
fixes build on FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 02:32:49 +0000 (05:32 +0300)]
correct VCS browse URL
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 02:13:22 +0000 (05:13 +0300)]
new home
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 01:28:48 +0000 (04:28 +0300)]
remove workflow and CI related files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 01:27:10 +0000 (04:27 +0300)]
add PKGBUILD for Arch Linux, remove OpenBSD and NetBSD package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Sep 2022 01:22:45 +0000 (04:22 +0300)]
remove excess whitespace in qimage source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Sep 2022 16:22:22 +0000 (19:22 +0300)]
add note where the data is from to genrgb.py script
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Sep 2022 10:26:45 +0000 (13:26 +0300)]
update bundled libdeflate to v1.14
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Sep 2022 13:53:43 +0000 (16:53 +0300)]
remove redundant cast in qRandomUuid() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 20 Sep 2022 04:50:24 +0000 (07:50 +0300)]
warn when no data is provided but result is requested via QCryptographicHash::result()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 23:40:17 +0000 (02:40 +0300)]
mark qt_real_to_string() and qt_int_to_string() functions as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 23:36:29 +0000 (02:36 +0300)]
remove unused ByteStream::constructor_helper() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 23:32:23 +0000 (02:32 +0300)]
remove unused QPainterPath object in QDashStroker::processCurrentSubpath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 23:28:46 +0000 (02:28 +0300)]
assume window pointer is non-null in QWindowSurface constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 22:27:58 +0000 (01:27 +0300)]
remove now unused signal and socket system header inclusions in qplatformdefs header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 20:49:41 +0000 (23:49 +0300)]
correct switch case break statements scope in QWhatsThisPrivate::eventFilter()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 19:58:16 +0000 (22:58 +0300)]
mark some warning cases in gui component as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 19:47:05 +0000 (22:47 +0300)]
remove redundant QAbstractAnimation::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 19:43:03 +0000 (22:43 +0300)]
remove irrelevant comment in qvariant_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 19:42:48 +0000 (22:42 +0300)]
mark QUnifiedTimer::timerEvent() as final
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 18:59:06 +0000 (21:59 +0300)]
merge QDefaultAnimationDriver into QAnimationDriver and make QAnimationDriver private
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 18:13:38 +0000 (21:13 +0300)]
remove reference to non-existing QBasicAtomicInt and qbasicatomic headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 16:34:48 +0000 (19:34 +0300)]
initialize geometry variables in QApplicationPrivate::applyX11SpecificCommandLineArguments()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 16:19:59 +0000 (19:19 +0300)]
remove unused QApplication::alert() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 16:04:00 +0000 (19:04 +0300)]
initialize members once from QKatHash constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 15:43:31 +0000 (18:43 +0300)]
free decompressor earlier in qUncompress()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 22 Aug 2022 15:20:28 +0000 (18:20 +0300)]
get rid of platform definitions not affected by 64-bit offset
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>