OSDN Git Service

kde/Katie.git
19 months agoreplace qt_mask_image() function with its body
Ivailo Monev [Thu, 10 Nov 2022 15:40:17 +0000 (17:40 +0200)]
replace qt_mask_image() function with its body

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused lowest_bit() function
Ivailo Monev [Thu, 10 Nov 2022 15:23:46 +0000 (17:23 +0200)]
remove unused lowest_bit() function

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoimplement the missing QImage converter functions
Ivailo Monev [Thu, 10 Nov 2022 14:37:14 +0000 (16:37 +0200)]
implement the missing QImage converter functions

that includes QImage::Format_ARGB32_Premultiplied to QImage::Format_RGB16,
QImage::Format_RGB16 to QImage::Format_Mono and QImage::Format_MonoLSB

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoinline QWidgetBackingStore::surface() method
Ivailo Monev [Thu, 10 Nov 2022 04:14:28 +0000 (06:14 +0200)]
inline QWidgetBackingStore::surface() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove noop QWidgetBackingStore::updateList()
Ivailo Monev [Thu, 10 Nov 2022 04:08:18 +0000 (06:08 +0200)]
remove noop QWidgetBackingStore::updateList()

does nothing since Qt::WA_StaticContents was dropped

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQETWidget and QWindowSurface do not have to be friends with QWidgetBackingStore
Ivailo Monev [Thu, 10 Nov 2022 04:00:32 +0000 (06:00 +0200)]
QETWidget and QWindowSurface do not have to be friends with QWidgetBackingStore

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QWidgetBackingStore::topLevelOffset() method
Ivailo Monev [Thu, 10 Nov 2022 04:00:05 +0000 (06:00 +0200)]
remove unused QWidgetBackingStore::topLevelOffset() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoX server running at 24-bit depth is alpha capable
Ivailo Monev [Thu, 10 Nov 2022 02:17:28 +0000 (04:17 +0200)]
X server running at 24-bit depth is alpha capable

now the optimization from the previous commit applies to the backing store
in more cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQImage::Format_ARGB32_Premultiplied to XImage copying optimization
Ivailo Monev [Thu, 10 Nov 2022 01:27:36 +0000 (03:27 +0200)]
QImage::Format_ARGB32_Premultiplied to XImage copying optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQWindowSurface::beginPaint() optimization
Ivailo Monev [Thu, 10 Nov 2022 01:29:01 +0000 (03:29 +0200)]
QWindowSurface::beginPaint() optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agooops, fix build
Ivailo Monev [Thu, 10 Nov 2022 00:38:09 +0000 (02:38 +0200)]
oops, fix build

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoadd note when QPixmap::toX11Pixmap() was introduced
Ivailo Monev [Wed, 9 Nov 2022 21:28:05 +0000 (23:28 +0200)]
add note when QPixmap::toX11Pixmap() was introduced

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQPixmap::grabWindow() optimization
Ivailo Monev [Wed, 9 Nov 2022 21:24:37 +0000 (23:24 +0200)]
QPixmap::grabWindow() optimization

TODO: replace WId with Qt::HANDLE or vice-versa, eventually

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agomerge QRasterPixmapData into QPixmapData
Ivailo Monev [Wed, 9 Nov 2022 21:06:30 +0000 (23:06 +0200)]
merge QRasterPixmapData into QPixmapData

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove now unused XRender fills cache
Ivailo Monev [Wed, 9 Nov 2022 20:21:43 +0000 (22:21 +0200)]
remove now unused XRender fills cache

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQPixmap documentation update
Ivailo Monev [Wed, 9 Nov 2022 22:18:47 +0000 (00:18 +0200)]
QPixmap documentation update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQPixmap no longer requires GUI application or to be constructed in the application...
Ivailo Monev [Wed, 9 Nov 2022 22:08:54 +0000 (00:08 +0200)]
QPixmap no longer requires GUI application or to be constructed in the application thread

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused and internal QTessellator class
Ivailo Monev [Wed, 9 Nov 2022 22:02:31 +0000 (00:02 +0200)]
remove unused and internal QTessellator class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQPixmap documentation update
Ivailo Monev [Wed, 9 Nov 2022 22:01:44 +0000 (00:01 +0200)]
QPixmap documentation update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodrop internal X11 pixmap
Ivailo Monev [Wed, 9 Nov 2022 02:23:07 +0000 (04:23 +0200)]
drop internal X11 pixmap

TODO: merge QRasterPixmapData into QPixmapData

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoaccount for undefined types in QScriptEnginePrivate::create() assert
Ivailo Monev [Tue, 8 Nov 2022 15:39:13 +0000 (17:39 +0200)]
account for undefined types in QScriptEnginePrivate::create() assert

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoimplement blend modes for X11 paint engine
Ivailo Monev [Mon, 7 Nov 2022 08:42:23 +0000 (10:42 +0200)]
implement blend modes for X11 paint engine

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQX11PaintEngine::drawPixmap() optimization
Ivailo Monev [Mon, 7 Nov 2022 08:06:25 +0000 (10:06 +0200)]
QX11PaintEngine::drawPixmap() optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove redundant forward declarations of QMatrix and QTransform in qimage header
Ivailo Monev [Mon, 7 Nov 2022 07:50:57 +0000 (09:50 +0200)]
remove redundant forward declarations of QMatrix and QTransform in qimage header

qtransform header is included from qimage header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove QImage friend declaration for now non-existing QX11AlphaDetector class
Ivailo Monev [Mon, 7 Nov 2022 07:49:41 +0000 (09:49 +0200)]
remove QImage friend declaration for now non-existing QX11AlphaDetector class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoexplicitly create X11 pixmap data in QX11PixmapData::mask_to_bitmap()
Ivailo Monev [Mon, 7 Nov 2022 06:33:50 +0000 (08:33 +0200)]
explicitly create X11 pixmap data in QX11PixmapData::mask_to_bitmap()

QPixmap is raster by default which in turn means QBitmap also is

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQX11PixmapData::mask() optimization
Ivailo Monev [Mon, 7 Nov 2022 06:30:01 +0000 (08:30 +0200)]
QX11PixmapData::mask() optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoplug memory leak in QX11PixmapData::toImage()
Ivailo Monev [Mon, 7 Nov 2022 06:00:07 +0000 (08:00 +0200)]
plug memory leak in QX11PixmapData::toImage()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agosimplify alpha checking in QX11PixmapData::fromImage()
Ivailo Monev [Mon, 7 Nov 2022 04:39:32 +0000 (06:39 +0200)]
simplify alpha checking in QX11PixmapData::fromImage()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agotemporary fix for QPixmap::grabWindow()
Ivailo Monev [Sun, 6 Nov 2022 15:54:21 +0000 (17:54 +0200)]
temporary fix for QPixmap::grabWindow()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoeffectively revert 3b2f36749730a11d1f058e0e6889a8280b2209f1 and cd5217cdbcf47683f1b63...
Ivailo Monev [Sun, 6 Nov 2022 12:12:40 +0000 (14:12 +0200)]
effectively revert 3b2f36749730a11d1f058e0e6889a8280b2209f1 and cd5217cdbcf47683f1b63fd42b63d354ea014bda

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QString object in QTextStreamPrivate::putString()
Ivailo Monev [Fri, 4 Nov 2022 14:20:44 +0000 (16:20 +0200)]
remove unused QString object in QTextStreamPrivate::putString()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agofix regression since fabde51fe3b4690ea027b208556a6e80c81c6131
Ivailo Monev [Fri, 4 Nov 2022 13:35:05 +0000 (15:35 +0200)]
fix regression since fabde51fe3b4690ea027b208556a6e80c81c6131

the important thing is to clean the fileName argument which may or may not
be clean

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agobuild fix QDataStream test case
Ivailo Monev [Thu, 3 Nov 2022 15:05:10 +0000 (17:05 +0200)]
build fix QDataStream test case

only that test case and QVariant::save() were using the char* operators
of QDataStream

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoensure the type name is streamed as QByteArray in QVariant::save()
Ivailo Monev [Thu, 3 Nov 2022 14:36:28 +0000 (16:36 +0200)]
ensure the type name is streamed as QByteArray in QVariant::save()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agofetch the owner and group from the QFile file descriptor in QFileInof tests
Ivailo Monev [Thu, 3 Nov 2022 13:22:23 +0000 (15:22 +0200)]
fetch the owner and group from the QFile file descriptor in QFileInof tests

much more reliable comparison

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoverify that the group name is not empty in tst_QFileInfo::group()
Ivailo Monev [Thu, 3 Nov 2022 13:10:35 +0000 (15:10 +0200)]
verify that the group name is not empty in tst_QFileInfo::group()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoset the QDataStream byte order to big endian in tst_QVariant::loadBrokenUserType()
Ivailo Monev [Thu, 3 Nov 2022 13:02:56 +0000 (15:02 +0200)]
set the QDataStream byte order to big endian in tst_QVariant::loadBrokenUserType()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agominor comment correction
Ivailo Monev [Wed, 2 Nov 2022 20:55:09 +0000 (22:55 +0200)]
minor comment correction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QTranslatorPrivate member
Ivailo Monev [Wed, 2 Nov 2022 11:05:10 +0000 (13:05 +0200)]
remove unused QTranslatorPrivate member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agocache translations on load
Ivailo Monev [Wed, 2 Nov 2022 11:02:44 +0000 (13:02 +0200)]
cache translations on load

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QTextCodec header inclusion in trcmain source file
Ivailo Monev [Wed, 2 Nov 2022 09:12:05 +0000 (11:12 +0200)]
remove unused QTextCodec header inclusion in trcmain source file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodo not attempt to translate when the data is empty
Ivailo Monev [Wed, 2 Nov 2022 09:11:40 +0000 (11:11 +0200)]
do not attempt to translate when the data is empty

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agofaster translations lookup
Ivailo Monev [Wed, 2 Nov 2022 06:18:35 +0000 (08:18 +0200)]
faster translations lookup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agocall setlocale() to set the characters classification before attempting to open X11...
Ivailo Monev [Wed, 2 Nov 2022 05:49:54 +0000 (07:49 +0200)]
call setlocale() to set the characters classification before attempting to open X11 input method

due to the recent change in KCatalog I found out setlocale() is not called
by many programs unless there are specific requirements and X11 apparently
requires it to function properly

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agofallback to system locale for keyboard input locale and codec
Ivailo Monev [Wed, 2 Nov 2022 05:17:06 +0000 (07:17 +0200)]
fallback to system locale for keyboard input locale and codec

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodo not install empty (invalid) translators
Ivailo Monev [Wed, 2 Nov 2022 03:59:48 +0000 (05:59 +0200)]
do not install empty (invalid) translators

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agolock when installing and removing translators
Ivailo Monev [Wed, 2 Nov 2022 03:51:00 +0000 (05:51 +0200)]
lock when installing and removing translators

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agouse custom format for translations
Ivailo Monev [Wed, 2 Nov 2022 02:26:43 +0000 (04:26 +0200)]
use custom format for translations

the code for translating strings in kdelibs (see
kdelibs/kdecore/localization/kcatalog.cpp) has finally made me roll my
own - locking global mutex, saving and restoring environment variables
on every string translation is not very good, is it?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoMerge branch 'master' of https://scm.osdn.net/gitroot/kde/Katie
Ivailo Monev [Tue, 1 Nov 2022 20:45:01 +0000 (22:45 +0200)]
Merge branch 'master' of https://scm.osdn.net/gitroot/kde/Katie

19 months agoremove unused QFileInfoPrivate::FileName enums
Ivailo Monev [Tue, 1 Nov 2022 20:44:49 +0000 (22:44 +0200)]
remove unused QFileInfoPrivate::FileName enums

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoFreeBSD package footprint file update
Ivailo Monev [Tue, 1 Nov 2022 20:27:36 +0000 (22:27 +0200)]
FreeBSD package footprint file update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoalways read data without intermediate buffer from QIODevice::read()
Ivailo Monev [Tue, 1 Nov 2022 19:34:16 +0000 (21:34 +0200)]
always read data without intermediate buffer from QIODevice::read()

the main user of QIODevice is QFile and it uses O_DSYNC/O_SYNC for
unbuffered I/O meaning the QIODevice buffer does not benefit it because the
filesystem cache already does that

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agocorrect function name passed to macro in QIODevice::ungetChar()
Ivailo Monev [Tue, 1 Nov 2022 21:39:33 +0000 (23:39 +0200)]
correct function name passed to macro in QIODevice::ungetChar()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agouse qt_safe_read() instead of calling the virtual QFile::readData() in QFile::readLin...
Ivailo Monev [Tue, 1 Nov 2022 17:24:50 +0000 (19:24 +0200)]
use qt_safe_read() instead of calling the virtual QFile::readData() in QFile::readLineData()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodrop support for mapping QFile via mmap()
Ivailo Monev [Tue, 1 Nov 2022 17:13:33 +0000 (19:13 +0200)]
drop support for mapping QFile via mmap()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodo only basic ELF checks from qt_unix_query()
Ivailo Monev [Tue, 1 Nov 2022 17:11:15 +0000 (19:11 +0200)]
do only basic ELF checks from qt_unix_query()

QLibraryPrivate::loadPlugin() resolves the symbol, it is not assumed to be
present in the plugin which means a basic ELF check is more than enough
(the important thing is to _not_ load .debug files as those may cause a
crash)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agocorrect the buffer size in qRandomUuid() function
Ivailo Monev [Tue, 1 Nov 2022 07:39:49 +0000 (09:39 +0200)]
correct the buffer size in qRandomUuid() function

the initial implementation was not passing the buffer size to the
QByteArray constructor so the additional bit was for qstrlen()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodo not remove the file from the EXDEV error codepath in QFileSystemEngine::renameFile()
Ivailo Monev [Tue, 1 Nov 2022 05:34:54 +0000 (07:34 +0200)]
do not remove the file from the EXDEV error codepath in QFileSystemEngine::renameFile()

QFileSystemEngine::renameFile() is supposed to fail if the file exists

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodeep-copy the charset name in QTextCodec::codecForText()
Ivailo Monev [Tue, 1 Nov 2022 03:36:48 +0000 (05:36 +0200)]
deep-copy the charset name in QTextCodec::codecForText()

it is documented to remain valid as long as UCharsetMatch is

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agofix QDir::absoluteFilePath() regression
Ivailo Monev [Tue, 1 Nov 2022 02:14:37 +0000 (04:14 +0200)]
fix QDir::absoluteFilePath() regression

somewhere in the abstraction engine it was returned clean

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodo not use QTextCodec::codecForLocale() for converting QString to decoded locale...
Ivailo Monev [Mon, 31 Oct 2022 22:24:06 +0000 (00:24 +0200)]
do not use QTextCodec::codecForLocale() for converting QString to decoded locale-encoded string

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoinline toLocal8Bit_helper() function and use it in QString::toLocal8Bit()
Ivailo Monev [Mon, 31 Oct 2022 22:12:59 +0000 (00:12 +0200)]
inline toLocal8Bit_helper() function and use it in QString::toLocal8Bit()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoset localecodec variable from QTextCodecPrivate::localeCodec()
Ivailo Monev [Mon, 31 Oct 2022 22:12:26 +0000 (00:12 +0200)]
set localecodec variable from QTextCodecPrivate::localeCodec()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokeep reference to the native filepath in QFile::resize()
Ivailo Monev [Mon, 31 Oct 2022 23:59:55 +0000 (01:59 +0200)]
keep reference to the native filepath in QFile::resize()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodo not use QTextCodec::codecForLocale() for converting QString to locale-encoded...
Ivailo Monev [Mon, 31 Oct 2022 19:48:55 +0000 (21:48 +0200)]
do not use QTextCodec::codecForLocale() for converting QString to locale-encoded string

if QString::toLocal8Bit() is called from global static destructor it may
be too late to cache a QTextCodec, in fact it may cause a crash.
QTextCodec::codecForLocale() also has to lock a global mutex

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQDataStream documentation update
Ivailo Monev [Mon, 31 Oct 2022 19:12:58 +0000 (21:12 +0200)]
QDataStream documentation update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agocompiler warnings fix
Ivailo Monev [Mon, 31 Oct 2022 17:55:55 +0000 (19:55 +0200)]
compiler warnings fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQFile review
Ivailo Monev [Mon, 31 Oct 2022 20:45:32 +0000 (22:45 +0200)]
QFile review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agomerge QAbstractFileEngine into QFile
Ivailo Monev [Mon, 31 Oct 2022 08:28:06 +0000 (10:28 +0200)]
merge QAbstractFileEngine into QFile

the behaviour of QTemporaryFile changes slightly, e.g. downcast to QFile
and open() with flags does not work like before - if you down-cast
better be sure you want to call the down-casted method (it is like a
C-style cast)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQT_NO_SIGNALMAPPER config option is no longer broken
Ivailo Monev [Mon, 31 Oct 2022 06:17:29 +0000 (08:17 +0200)]
QT_NO_SIGNALMAPPER config option is no longer broken

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QContiguousCache class
Ivailo Monev [Mon, 31 Oct 2022 05:43:26 +0000 (07:43 +0200)]
remove unused QContiguousCache class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused and ambiguous QDataStream operators
Ivailo Monev [Mon, 31 Oct 2022 05:30:05 +0000 (07:30 +0200)]
remove unused and ambiguous QDataStream operators

QByteArray has implicit char* operator which could result in code that is
sub-optimal

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoworkaround rename() and renameat2() limitation from QFileSystemEngine::renameFile()
Ivailo Monev [Mon, 31 Oct 2022 00:35:57 +0000 (02:35 +0200)]
workaround rename() and renameat2() limitation from QFileSystemEngine::renameFile()

already done in kdelibs mostly for temporary files, for reference:
https://osdn.net/projects/kde/scm/git/kdelibs/commits/4ff227e3367cb5d14b47d87b3c26582b4f2e691c

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove tst_QMainWindow compat test case
Ivailo Monev [Mon, 31 Oct 2022 00:25:15 +0000 (02:25 +0200)]
remove tst_QMainWindow compat test case

test was failing because of the previous commit but 4.1, 4.2 and 4.3 are
very old releases anyway

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agouse QDataStream::HostEndian as byte order by default for QDataStream and do not byte...
Ivailo Monev [Sun, 30 Oct 2022 23:25:16 +0000 (01:25 +0200)]
use QDataStream::HostEndian as byte order by default for QDataStream and do not byte-swap QString data when streaming it

both are breaking changes, any data stored via QDataStream will not load
now by default unless the byte order is explicitly set to big endian

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoset the byte order to big endian when testing with big endian data in QDataStream...
Ivailo Monev [Mon, 31 Oct 2022 01:42:08 +0000 (03:42 +0200)]
set the byte order to big endian when testing with big endian data in QDataStream test cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoset the byte order to big endian when testing with big endian data in QDataStream...
Ivailo Monev [Mon, 31 Oct 2022 00:53:34 +0000 (02:53 +0200)]
set the byte order to big endian when testing with big endian data in QDataStream test cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agouse the QDataStream byteorder member for swap check
Ivailo Monev [Sun, 30 Oct 2022 20:30:09 +0000 (22:30 +0200)]
use the QDataStream byteorder member for swap check

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothe test data in tst_QVariant::loadUnknownUserType() is big endian
Ivailo Monev [Sun, 30 Oct 2022 19:29:20 +0000 (21:29 +0200)]
the test data in tst_QVariant::loadUnknownUserType() is big endian

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoset the byte order of the QDataStream objects used for KAT images reading/writing...
Ivailo Monev [Sun, 30 Oct 2022 17:07:16 +0000 (19:07 +0200)]
set the byte order of the QDataStream objects used for KAT images reading/writing to big endian

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoimplement specialized QAbstractFileEngine methods to fix enums overlapping
Ivailo Monev [Sun, 30 Oct 2022 05:24:26 +0000 (07:24 +0200)]
implement specialized QAbstractFileEngine methods to fix enums overlapping

some QFileSystemMetaData enums overlap with QFile::Permissions still but
that is on purpose

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agobuild fix for the case when QT_NO_CALENDARWIDGET or QT_NO_DATETIMEEDIT is defined
Ivailo Monev [Sun, 30 Oct 2022 01:04:43 +0000 (03:04 +0200)]
build fix for the case when QT_NO_CALENDARWIDGET or QT_NO_DATETIMEEDIT is defined

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQT_NO_IMAGEFORMAT_XPM config option is no longer broken
Ivailo Monev [Sun, 30 Oct 2022 00:33:51 +0000 (03:33 +0300)]
QT_NO_IMAGEFORMAT_XPM config option is no longer broken

Katie does not use images in that format

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoMerge branch 'master' of https://scm.osdn.net/gitroot/kde/Katie
Ivailo Monev [Sun, 30 Oct 2022 00:20:43 +0000 (03:20 +0300)]
Merge branch 'master' of https://scm.osdn.net/gitroot/kde/Katie

19 months agoQFileInfo no longer requires abstraction
Ivailo Monev [Sat, 29 Oct 2022 23:51:53 +0000 (02:51 +0300)]
QFileInfo no longer requires abstraction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoFreeBSD package footprint update
Ivailo Monev [Sat, 29 Oct 2022 23:15:21 +0000 (02:15 +0300)]
FreeBSD package footprint update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove redundant QAbstractSocket::readLineData() method
Ivailo Monev [Sat, 29 Oct 2022 23:13:20 +0000 (02:13 +0300)]
remove redundant QAbstractSocket::readLineData() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused variable in QDirIteratorPrivate::pushDirect()
Ivailo Monev [Sat, 29 Oct 2022 22:20:56 +0000 (01:20 +0300)]
remove unused variable in QDirIteratorPrivate::pushDirect()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agorequire type/file arguments for QAbstractFileEngine methods
Ivailo Monev [Sat, 29 Oct 2022 22:01:11 +0000 (01:01 +0300)]
require type/file arguments for QAbstractFileEngine methods

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QAbstractFileEngine::entryList() method
Ivailo Monev [Sun, 30 Oct 2022 00:48:42 +0000 (03:48 +0300)]
remove unused QAbstractFileEngine::entryList() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused QAbstractFileEngine methods
Ivailo Monev [Sun, 30 Oct 2022 00:44:03 +0000 (03:44 +0300)]
remove unused QAbstractFileEngine methods

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQDir no longer requires abstraction
Ivailo Monev [Sun, 30 Oct 2022 00:27:43 +0000 (03:27 +0300)]
QDir no longer requires abstraction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove TODO in QFileSystemModelPrivate::node()
Ivailo Monev [Sun, 30 Oct 2022 00:14:11 +0000 (03:14 +0300)]
remove TODO in QFileSystemModelPrivate::node()

QAbstractFileEngine::caseSensitive() was removed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove now unused QDirIteratorPrivate member
Ivailo Monev [Sat, 29 Oct 2022 20:49:14 +0000 (23:49 +0300)]
remove now unused QDirIteratorPrivate member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agouse only native filesystem iterator in QDirIterator
Ivailo Monev [Sat, 29 Oct 2022 20:33:46 +0000 (23:33 +0300)]
use only native filesystem iterator in QDirIterator

now that QAbstractFileEngine is becoming internal there is no point in
using the abstraction class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agouninline QAbstractFileEnginePrivate constructor
Ivailo Monev [Sat, 29 Oct 2022 22:40:13 +0000 (01:40 +0300)]
uninline QAbstractFileEnginePrivate constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoQAbstractFileEngine and QAbstractFileEngineIterator documentation update
Ivailo Monev [Sat, 29 Oct 2022 22:33:43 +0000 (01:33 +0300)]
QAbstractFileEngine and QAbstractFileEngineIterator documentation update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agomerge QFSFileEngine into QAbstractFileEngine
Ivailo Monev [Sat, 29 Oct 2022 18:20:01 +0000 (21:20 +0300)]
merge QFSFileEngine into QAbstractFileEngine

that finally happened

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoremove unused MyEngine class in QFile test
Ivailo Monev [Sat, 29 Oct 2022 18:09:08 +0000 (21:09 +0300)]
remove unused MyEngine class in QFile test

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>