OSDN Git Service

kde/Katie.git
4 years agoreplace 0 with Q_NULLPTR in QSharedDataPointer and QExplicitlySharedDataPointer
Ivailo Monev [Mon, 10 Feb 2020 17:38:56 +0000 (17:38 +0000)]
replace 0 with Q_NULLPTR in QSharedDataPointer and QExplicitlySharedDataPointer

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove CPack related variables, CPack will not be supported
Ivailo Monev [Mon, 10 Feb 2020 17:38:30 +0000 (17:38 +0000)]
remove CPack related variables, CPack will not be supported

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QString::multiArg()
Ivailo Monev [Mon, 10 Feb 2020 14:18:58 +0000 (14:18 +0000)]
optimize QString::multiArg()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinclude qdbus in KATIE_TOOLS variable
Ivailo Monev [Sat, 8 Feb 2020 23:49:50 +0000 (23:49 +0000)]
include qdbus in KATIE_TOOLS variable

it was not included because it was not needed for the Qt4 compatibility
variables but can be used to solve https://github.com/fluxer/kdelibs/issues/3

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQString benchmark build fix
Ivailo Monev [Sat, 8 Feb 2020 12:57:02 +0000 (12:57 +0000)]
QString benchmark build fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "set invalid characters count of state even on success from QIcuCodec::convert...
Ivailo Monev [Sat, 8 Feb 2020 00:29:26 +0000 (00:29 +0000)]
Revert "set invalid characters count of state even on success from QIcuCodec::convertFromUnicode() and QIcuCodec::convertToUnicode()"

This reverts commit 92a7dfc214c2f1642a4969d9fec077740b890e45.

4 years agoremove bogus QString benchmarks
Ivailo Monev [Fri, 7 Feb 2020 21:47:12 +0000 (21:47 +0000)]
remove bogus QString benchmarks

not benchmarking any of the public QString methods

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoset invalid characters count of state even on success from QIcuCodec::convertFromUnic...
Ivailo Monev [Fri, 7 Feb 2020 21:31:45 +0000 (21:31 +0000)]
set invalid characters count of state even on success from QIcuCodec::convertFromUnicode() and QIcuCodec::convertToUnicode()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QTextCodec::ConverterState::remainingChars member
Ivailo Monev [Fri, 7 Feb 2020 21:30:18 +0000 (21:30 +0000)]
remove unused QTextCodec::ConverterState::remainingChars member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse custom table for grahpeme break in QUnicodeTables::graphemeBreak()
Ivailo Monev [Fri, 7 Feb 2020 21:04:47 +0000 (21:04 +0000)]
use custom table for grahpeme break in QUnicodeTables::graphemeBreak()

gets rid of the ICU requirement for the GUI component and since HarfBuzz
does not support all grapheme breaks makes it more optimal

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse constructor instead of cast in QChar::fromAscii()
Ivailo Monev [Fri, 7 Feb 2020 20:28:55 +0000 (22:28 +0200)]
use constructor instead of cast in QChar::fromAscii()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoset compat definitions as component interface definitions
Ivailo Monev [Fri, 7 Feb 2020 13:25:29 +0000 (13:25 +0000)]
set compat definitions as component interface definitions

this fixes the QIcon::name() check done during libdbusmenu-qt build

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix regression since c7c7f41c2bb06e20442efce438daec22a19869ce
Ivailo Monev [Fri, 7 Feb 2020 00:37:31 +0000 (00:37 +0000)]
fix regression since c7c7f41c2bb06e20442efce438daec22a19869ce

fixes loading of icons via QIcon::fromTheme() and partially
libdbusmenu-qt DBusMenuExporterTest test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QIconLoader::key() public
Ivailo Monev [Thu, 6 Feb 2020 22:20:42 +0000 (22:20 +0000)]
make QIconLoader::key() public

it is virtual override and is used in QIcon data streaming operators

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QIconLoaderEngine::hasIcon()
Ivailo Monev [Thu, 6 Feb 2020 21:21:05 +0000 (21:21 +0000)]
remove unused QIconLoaderEngine::hasIcon()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporaries in QIconTheme::QIconTheme()
Ivailo Monev [Thu, 6 Feb 2020 21:19:54 +0000 (21:19 +0000)]
avoid temporaries in QIconTheme::QIconTheme()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoMerge branch 'master' of https://github.com/fluxer/katie
Ivailo Monev [Tue, 4 Feb 2020 17:26:24 +0000 (17:26 +0000)]
Merge branch 'master' of https://github.com/fluxer/katie

4 years agoadd custom type test case for QSettings
Ivailo Monev [Tue, 4 Feb 2020 16:22:33 +0000 (16:22 +0000)]
add custom type test case for QSettings

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years ago4.9.0-rc18 update
FredBezies [Tue, 4 Feb 2020 09:33:29 +0000 (10:33 +0100)]
4.9.0-rc18 update

Upgrade to new pre-release version.

4 years agocompiler warning fix
Ivailo Monev [Mon, 3 Feb 2020 23:31:32 +0000 (23:31 +0000)]
compiler warning fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QXmlInputSource test
Ivailo Monev [Mon, 3 Feb 2020 23:08:44 +0000 (23:08 +0000)]
add QXmlInputSource test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QXml test
Ivailo Monev [Mon, 3 Feb 2020 22:00:32 +0000 (22:00 +0000)]
add QXml test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix regression since 0199f108f14cba6282b8b2351e870c03816c1ab2 and cc7809a775b5a742b7c...
Ivailo Monev [Mon, 3 Feb 2020 21:59:41 +0000 (21:59 +0000)]
fix regression since 0199f108f14cba6282b8b2351e870c03816c1ab2 and cc7809a775b5a742b7c034080fa863e6a687406f

default fallback of QTextCodec::codecForUtfText() is Latin1 thus fallback
has to be specified explicitly

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant extern reference declaration in qfontdatabase_x11_p header
Ivailo Monev [Mon, 3 Feb 2020 14:02:58 +0000 (14:02 +0000)]
remove redundant extern reference declaration in qfontdatabase_x11_p header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QApplicationPrivate::main_widget member
Ivailo Monev [Mon, 3 Feb 2020 14:02:30 +0000 (14:02 +0000)]
remove unused QApplicationPrivate::main_widget member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove virtual specifiers from QEventDispatcherUNIXPrivate::initThreadWakeUp() and...
Ivailo Monev [Mon, 3 Feb 2020 13:38:24 +0000 (13:38 +0000)]
remove virtual specifiers from QEventDispatcherUNIXPrivate::initThreadWakeUp() and QEventDispatcherUNIXPrivate::processThreadWakeUp()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect installation paths description
Ivailo Monev [Mon, 3 Feb 2020 01:34:19 +0000 (01:34 +0000)]
correct installation paths description

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark QTextBoundaryFinderPrivate break iterator member as mutable
Ivailo Monev [Mon, 3 Feb 2020 01:04:43 +0000 (01:04 +0000)]
mark QTextBoundaryFinderPrivate break iterator member as mutable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoformat QTextBoundaryFinder for consistency
Ivailo Monev [Mon, 3 Feb 2020 00:48:26 +0000 (00:48 +0000)]
format QTextBoundaryFinder for consistency

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoset KATIE_<COMPONENT>_DEFINITIONS from KatieConfig CMake file and improve Qt4 compati...
Ivailo Monev [Sun, 2 Feb 2020 23:26:51 +0000 (23:26 +0000)]
set KATIE_<COMPONENT>_DEFINITIONS from KatieConfig CMake file and improve Qt4 compatibility

by setting up interface definitions and include directories for the
components GUI tests will work without any changes (-DQT_GUI_LIB will be
defined for them because they link to KtGui library).

this will also fix some corner cases, for an example when projects do not
use `add_definition(${QT_DEFINITIONS})` and/or
`include_directories(${QT_INCLUDES})` in their build system making porting
of other projects much easier

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement QSettings groups support
Ivailo Monev [Sat, 1 Feb 2020 17:24:17 +0000 (17:24 +0000)]
reimplement QSettings groups support

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Sat, 1 Feb 2020 14:04:14 +0000 (14:04 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Sat, 1 Feb 2020 02:16:38 +0000 (02:16 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate translations
Ivailo Monev [Sat, 1 Feb 2020 02:09:56 +0000 (02:09 +0000)]
update translations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate URL TLDs table
Ivailo Monev [Sat, 1 Feb 2020 02:06:50 +0000 (02:06 +0000)]
update URL TLDs table

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused JSC::MasqueradesAsUndefined enum
Ivailo Monev [Fri, 31 Jan 2020 02:09:19 +0000 (02:09 +0000)]
remove unused JSC::MasqueradesAsUndefined enum

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocombine if statements in QApplication::x11ProcessEvent()
Ivailo Monev [Thu, 30 Jan 2020 23:31:03 +0000 (23:31 +0000)]
combine if statements in QApplication::x11ProcessEvent()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindent some cases in QApplication::notify()
Ivailo Monev [Thu, 30 Jan 2020 23:12:36 +0000 (23:12 +0000)]
indent some cases in QApplication::notify()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinherit QEvent from QSpontaneKeyEvent
Ivailo Monev [Thu, 30 Jan 2020 23:06:36 +0000 (23:06 +0000)]
inherit QEvent from QSpontaneKeyEvent

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofalltrough in QEvent::RequestSoftwareInputPanel and QEvent::CloseSoftwareInputPanel...
Ivailo Monev [Thu, 30 Jan 2020 23:05:20 +0000 (23:05 +0000)]
falltrough in QEvent::RequestSoftwareInputPanel and QEvent::CloseSoftwareInputPanel case in QApplication::notify()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark QCoreApplication warning cases as unlikely
Ivailo Monev [Thu, 30 Jan 2020 22:04:46 +0000 (22:04 +0000)]
mark QCoreApplication warning cases as unlikely

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QXmlSimpleReaderPrivate::emptyStr member
Ivailo Monev [Thu, 30 Jan 2020 17:12:01 +0000 (17:12 +0000)]
remove unused QXmlSimpleReaderPrivate::emptyStr member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoMerge branch 'master' of https://github.com/fluxer/katie
Ivailo Monev [Thu, 30 Jan 2020 10:13:34 +0000 (10:13 +0000)]
Merge branch 'master' of https://github.com/fluxer/katie

4 years agoremove unused QDeclarativeScriptEngine::namedNodeMapClass and QDeclarativeScriptEngin...
Ivailo Monev [Thu, 30 Jan 2020 10:13:21 +0000 (10:13 +0000)]
remove unused QDeclarativeScriptEngine::namedNodeMapClass and QDeclarativeScriptEngine::nodeListClass members

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove QBool header entry from FreeBSD pkg-plist package files
Ivailo Monev [Thu, 30 Jan 2020 09:52:20 +0000 (09:52 +0000)]
remove QBool header entry from FreeBSD pkg-plist package files

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Thu, 30 Jan 2020 09:27:25 +0000 (09:27 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate README [ci skip]
Ivailo Monev [Thu, 30 Jan 2020 09:27:25 +0000 (09:27 +0000)]
update README [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoeffectively revert c7cc0af760cd5ccd539d3116241d41c87c62397c
Ivailo Monev [Thu, 30 Jan 2020 01:02:37 +0000 (01:02 +0000)]
effectively revert c7cc0af760cd5ccd539d3116241d41c87c62397c

fixes crashes noted in https://github.com/fluxer/kdelibs/issues/2#issuecomment-579758494
but not the issue with marshalling/demarshalling some complex types

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDBusPendingReplyTypes::metaTypeFor<T> argument
Ivailo Monev [Wed, 29 Jan 2020 17:48:11 +0000 (17:48 +0000)]
remove unused QDBusPendingReplyTypes::metaTypeFor<T> argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusInterface test
Ivailo Monev [Wed, 29 Jan 2020 17:20:40 +0000 (17:20 +0000)]
add QDBusInterface test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusType test
Ivailo Monev [Wed, 29 Jan 2020 17:06:31 +0000 (17:06 +0000)]
add QDBusType test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusAbstractInterface test
Ivailo Monev [Wed, 29 Jan 2020 16:56:31 +0000 (16:56 +0000)]
add QDBusAbstractInterface test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate copyright of myobject header
Ivailo Monev [Wed, 29 Jan 2020 16:33:22 +0000 (16:33 +0000)]
update copyright of myobject header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agostart dbus service in Travis
Ivailo Monev [Wed, 29 Jan 2020 16:12:15 +0000 (16:12 +0000)]
start dbus service in Travis

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusAbstractAdaptor test
Ivailo Monev [Wed, 29 Jan 2020 14:23:15 +0000 (14:23 +0000)]
add QDBusAbstractAdaptor test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoMerge pull request #9 from FredBezies/patch-1
Ivailo Monev [Wed, 29 Jan 2020 13:13:50 +0000 (15:13 +0200)]
Merge pull request #9 from FredBezies/patch-1

Updated and cleaned up PKGBUILD.

4 years agoUpdated and cleaned up PKGBUILD.
FredBezies [Wed, 29 Jan 2020 10:34:21 +0000 (11:34 +0100)]
Updated and cleaned up PKGBUILD.

Worked a little on katie PKGBUILD. First, I modified pkgver to get it in sync with tags.

pkgver=4.9.0.rc17.r367.g28d8736c is better, don't you think?

After a first build, namcap throw me this list of unneeded depends:

```
katie-git W: Dependency openssl included but already satisfied
katie-git W: Dependency zlib included but already satisfied
katie-git W: Dependency included and not needed ('cups')
katie-git W: Dependency libice included but already satisfied
katie-git W: Dependency pcre included but already satisfied
katie-git W: Dependency icu included but already satisfied
katie-git W: Dependency libxext included but already satisfied
katie-git W: Dependency libxfixes included but already satisfied
katie-git W: Dependency libxrender included but already satisfied
katie-git W: Dependency libx11 included but already satisfied
katie-git W: Dependency fontconfig included but already satisfied
katie-git W: Dependency freetype2 included but already satisfied
katie-git W: Dependency zstd included but already satisfied
```

I removed them, done another build and after a new namcap, I had to add into depends: icu, libxrander, fontconfig and libcups (instead of cups).

I will look at every other PKGBUILDs in katana repository to update and clean them up.

4 years agoadd QDBusLocalCalls test
Ivailo Monev [Wed, 29 Jan 2020 01:47:55 +0000 (01:47 +0000)]
add QDBusLocalCalls test

4 years agouse foreach() for iteration in qDBusParametersForMethod() function
Ivailo Monev [Wed, 29 Jan 2020 01:22:49 +0000 (01:22 +0000)]
use foreach() for iteration in qDBusParametersForMethod() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant if statement in QDBusConnectionPrivate::prepareHook()
Ivailo Monev [Wed, 29 Jan 2020 00:45:47 +0000 (00:45 +0000)]
remove redundant if statement in QDBusConnectionPrivate::prepareHook()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofill missing script tag table entries with ISO 15924 codes
Ivailo Monev [Tue, 28 Jan 2020 21:50:36 +0000 (21:50 +0000)]
fill missing script tag table entries with ISO 15924 codes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDBusDemarshaller::close() method
Ivailo Monev [Tue, 28 Jan 2020 21:06:02 +0000 (21:06 +0000)]
remove unused QDBusDemarshaller::close() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate CMake modules copyright [ci skip]
Ivailo Monev [Tue, 28 Jan 2020 18:56:52 +0000 (18:56 +0000)]
update CMake modules copyright [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusContext and QDBusThreading tests
Ivailo Monev [Tue, 28 Jan 2020 15:58:13 +0000 (15:58 +0000)]
add QDBusContext and QDBusThreading tests

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix regression since badb333fc325a419db48d2e18e308136a3b8d541
Ivailo Monev [Tue, 28 Jan 2020 15:55:42 +0000 (15:55 +0000)]
fix regression since badb333fc325a419db48d2e18e308136a3b8d541

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR in QDBusConnection::asyncCall()
Ivailo Monev [Tue, 28 Jan 2020 15:50:55 +0000 (15:50 +0000)]
replace 0 with Q_NULLPTR in QDBusConnection::asyncCall()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadjust expected data of tst_QDBusMarshall::sendCallErrors() test case
Ivailo Monev [Tue, 28 Jan 2020 14:31:14 +0000 (14:31 +0000)]
adjust expected data of tst_QDBusMarshall::sendCallErrors() test case

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not append to iterator if arguments passed to QDBusMarshaller::append() are invalid
Ivailo Monev [Tue, 28 Jan 2020 14:28:43 +0000 (14:28 +0000)]
do not append to iterator if arguments passed to QDBusMarshaller::append() are invalid

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusMarshall and QDBusXmlParser tests
Ivailo Monev [Tue, 28 Jan 2020 13:32:10 +0000 (13:32 +0000)]
add QDBusMarshall and QDBusXmlParser tests

also, effectively revert 474a940c5cd97ec9363fdc0a3d25380f561b1a43
since the method is required for the marshaller test however guard
it with QT_BUILD_INTERNAL definition check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove default switch case to the bottom in QDeclarativeItemPrivate::computeTransformOr...
Ivailo Monev [Tue, 28 Jan 2020 12:59:59 +0000 (12:59 +0000)]
move default switch case to the bottom in QDeclarativeItemPrivate::computeTransformOrigin()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorework QDeclarativeKeysAttached::keyPressed() signal table lookup
Ivailo Monev [Tue, 28 Jan 2020 12:59:23 +0000 (12:59 +0000)]
rework QDeclarativeKeysAttached::keyPressed() signal table lookup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant math header inclusion in qdeclarativegridview source file
Ivailo Monev [Tue, 28 Jan 2020 12:58:35 +0000 (12:58 +0000)]
remove redundant math header inclusion in qdeclarativegridview source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDeclarativeGridViewPrivate::fixCurrentVisibility member
Ivailo Monev [Tue, 28 Jan 2020 12:58:01 +0000 (12:58 +0000)]
remove unused QDeclarativeGridViewPrivate::fixCurrentVisibility member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDeclarativeBindingPrivate::deleted member
Ivailo Monev [Tue, 28 Jan 2020 01:45:52 +0000 (01:45 +0000)]
remove unused QDeclarativeBindingPrivate::deleted member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDeclarativeCompiledData::pack()
Ivailo Monev [Mon, 27 Jan 2020 21:56:43 +0000 (21:56 +0000)]
remove unused QDeclarativeCompiledData::pack()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR where applicable
Ivailo Monev [Mon, 27 Jan 2020 19:30:08 +0000 (19:30 +0000)]
replace 0 with Q_NULLPTR where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse result of ucnv_countAvailable() directly in the loop in QIcuCodec::allCodecs()
Ivailo Monev [Mon, 27 Jan 2020 19:07:41 +0000 (19:07 +0000)]
use result of ucnv_countAvailable() directly in the loop in QIcuCodec::allCodecs()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreuse range object in QRegExpCharClass::in()
Ivailo Monev [Mon, 27 Jan 2020 18:46:36 +0000 (18:46 +0000)]
reuse range object in QRegExpCharClass::in()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinline isConfigFunction() function
Ivailo Monev [Mon, 27 Jan 2020 18:41:23 +0000 (18:41 +0000)]
inline isConfigFunction() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QDBusConnection::internalPointer
Ivailo Monev [Mon, 27 Jan 2020 17:53:41 +0000 (17:53 +0000)]
remove unused and internal QDBusConnection::internalPointer

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinclude generated findwidget, qtgradienteditor, qtpropertybrowser and qttoolbardialog...
Ivailo Monev [Mon, 27 Jan 2020 12:02:02 +0000 (12:02 +0000)]
include generated findwidget, qtgradienteditor, qtpropertybrowser and qttoolbardialog resource files in source files

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused form editor cursor images [ci skip]
Ivailo Monev [Mon, 27 Jan 2020 11:51:18 +0000 (11:51 +0000)]
remove unused form editor cursor images [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix QAction::setVisible() regression since d504e5d4adbcd424377c526c2d35a8479e51d82d
Ivailo Monev [Sun, 26 Jan 2020 22:52:37 +0000 (22:52 +0000)]
fix QAction::setVisible() regression since d504e5d4adbcd424377c526c2d35a8479e51d82d

also update the documentation about group state change that was made with
d504e5d4adbcd424377c526c2d35a8479e51d82d

4 years agoremove unused qdbus_cast<T>() argument
Ivailo Monev [Sun, 26 Jan 2020 16:42:02 +0000 (16:42 +0000)]
remove unused qdbus_cast<T>() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QDBusArgument::appendVariant()
Ivailo Monev [Sun, 26 Jan 2020 15:43:22 +0000 (15:43 +0000)]
remove unused and internal QDBusArgument::appendVariant()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove custom types access closer to the scope it is used in in QMetaType
Ivailo Monev [Sun, 26 Jan 2020 13:16:08 +0000 (13:16 +0000)]
move custom types access closer to the scope it is used in in QMetaType

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect directory existence check in QCoreApplicationPrivate::appendApplicationPathTo...
Ivailo Monev [Sun, 26 Jan 2020 11:25:36 +0000 (11:25 +0000)]
correct directory existence check in QCoreApplicationPrivate::appendApplicationPathToLibraryPaths()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorename QFontDatabase tables for consistency
Ivailo Monev [Sun, 26 Jan 2020 11:15:01 +0000 (11:15 +0000)]
rename QFontDatabase tables for consistency

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in loadFc() function
Ivailo Monev [Sun, 26 Jan 2020 11:09:52 +0000 (11:09 +0000)]
use single variable assignment in loadFc() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR where applicable
Ivailo Monev [Sun, 26 Jan 2020 10:49:52 +0000 (10:49 +0000)]
replace 0 with Q_NULLPTR where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid copy in foreach() loop in QDirIteratorPrivate::matchesFilters()
Ivailo Monev [Sun, 26 Jan 2020 09:17:22 +0000 (09:17 +0000)]
avoid copy in foreach() loop in QDirIteratorPrivate::matchesFilters()

4 years agoavoid temporary and remove always true case in QDir::cleanPath()
Ivailo Monev [Sat, 25 Jan 2020 23:58:06 +0000 (23:58 +0000)]
avoid temporary and remove always true case in QDir::cleanPath()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix pending QSettings changes writing
Ivailo Monev [Sat, 25 Jan 2020 18:05:53 +0000 (18:05 +0000)]
fix pending QSettings changes writing

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QAbstractFileEngineIterator::entryInfo()
Ivailo Monev [Sat, 25 Jan 2020 15:44:21 +0000 (15:44 +0000)]
remove unused and internal QAbstractFileEngineIterator::entryInfo()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QTextStreamPrivate::stringOpenMode member
Ivailo Monev [Sat, 25 Jan 2020 14:37:32 +0000 (14:37 +0000)]
remove unused QTextStreamPrivate::stringOpenMode member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QDBusPendingCall test
Ivailo Monev [Sat, 25 Jan 2020 11:17:20 +0000 (11:17 +0000)]
add QDBusPendingCall test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse correct type for argument and return value in qt_timeout_value()
Ivailo Monev [Sat, 25 Jan 2020 01:28:55 +0000 (01:28 +0000)]
use correct type for argument and return value in qt_timeout_value()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace setCloseOnExec() with its body and reuse file descriptor in QFSFileEnginePriv...
Ivailo Monev [Fri, 24 Jan 2020 23:01:54 +0000 (23:01 +0000)]
replace setCloseOnExec() with its body and reuse file descriptor in QFSFileEnginePrivate::nativeOpen()

4 years agoremove unused Q_INFINITY, Q_SNAN and Q_QNAN definitions
Ivailo Monev [Fri, 24 Jan 2020 22:44:45 +0000 (22:44 +0000)]
remove unused Q_INFINITY, Q_SNAN and Q_QNAN definitions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQLibraryInfo cleanup
Ivailo Monev [Fri, 24 Jan 2020 22:41:09 +0000 (22:41 +0000)]
QLibraryInfo cleanup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>