OSDN Git Service

kde/Katie.git
4 years agoremove redundant network-settings header inclusion from tst_qfileinfo source file
Ivailo Monev [Fri, 3 Jan 2020 02:08:23 +0000 (02:08 +0000)]
remove redundant network-settings header inclusion from tst_qfileinfo source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce branches in QDataStream::operator>>() operators
Ivailo Monev [Fri, 3 Jan 2020 01:31:19 +0000 (01:31 +0000)]
reduce branches in QDataStream::operator>>() operators

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_DOUBLE_FORMAT definition check
Ivailo Monev [Fri, 3 Jan 2020 01:28:52 +0000 (01:28 +0000)]
remove redundant Q_DOUBLE_FORMAT definition check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinclude correct event headers
Ivailo Monev [Fri, 3 Jan 2020 01:00:25 +0000 (01:00 +0000)]
include correct event headers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate automatically generated katie_generate_obsolete() macro calls list
Ivailo Monev [Fri, 3 Jan 2020 00:13:53 +0000 (00:13 +0000)]
update automatically generated katie_generate_obsolete() macro calls list

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQMatrix4x4 has its own header
Ivailo Monev [Fri, 3 Jan 2020 00:13:15 +0000 (00:13 +0000)]
QMatrix4x4 has its own header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume compiler features introduced in C++11 are supported by the compiler
Ivailo Monev [Thu, 2 Jan 2020 23:27:48 +0000 (23:27 +0000)]
assume compiler features introduced in C++11 are supported by the compiler

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume Q_OUTOFLINE_TEMPLATE, Q_INLINE_TEMPLATE and Q_TYPENAME are not defined anywher...
Ivailo Monev [Thu, 2 Jan 2020 23:22:58 +0000 (23:22 +0000)]
assume Q_OUTOFLINE_TEMPLATE, Q_INLINE_TEMPLATE and Q_TYPENAME are not defined anywhere else

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_PACKED definition check
Ivailo Monev [Thu, 2 Jan 2020 23:22:28 +0000 (23:22 +0000)]
remove redundant Q_PACKED definition check

it should be defined for any compiler

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant Q_NO_PACKED_REFERENCE definition
Ivailo Monev [Thu, 2 Jan 2020 23:21:58 +0000 (23:21 +0000)]
remove redundant Q_NO_PACKED_REFERENCE definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocompelete headers compatibility map
Ivailo Monev [Thu, 2 Jan 2020 23:02:19 +0000 (23:02 +0000)]
compelete headers compatibility map

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate URL TLDs table [ci skip]
Ivailo Monev [Thu, 2 Jan 2020 18:19:38 +0000 (18:19 +0000)]
update URL TLDs table [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix regression since 28b8a590c157bc44f2a48f7fd56bc9eff8f6c342
Ivailo Monev [Thu, 2 Jan 2020 17:32:59 +0000 (17:32 +0000)]
fix regression since 28b8a590c157bc44f2a48f7fd56bc9eff8f6c342

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "rework QPollingFileSystemWatcherEngine to use QFileInfo for files"
Ivailo Monev [Thu, 2 Jan 2020 17:30:43 +0000 (17:30 +0000)]
Revert "rework QPollingFileSystemWatcherEngine to use QFileInfo for files"

QFileInfo equal operator does not compare all attributes

This reverts commit 9812469490961b646fa37615b08f4f2a0b54c778.

4 years agomake use of Q_TYPEOF() in compat Q_FOREACH()
Ivailo Monev [Thu, 2 Jan 2020 16:55:26 +0000 (16:55 +0000)]
make use of Q_TYPEOF() in compat Q_FOREACH()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreduce definition branches in qglobal header
Ivailo Monev [Thu, 2 Jan 2020 16:54:25 +0000 (16:54 +0000)]
reduce definition branches in qglobal header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorework QPollingFileSystemWatcherEngine to use QFileInfo for files
Ivailo Monev [Thu, 2 Jan 2020 16:53:28 +0000 (16:53 +0000)]
rework QPollingFileSystemWatcherEngine to use QFileInfo for files

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd QFileSystemWatcher test
Ivailo Monev [Thu, 2 Jan 2020 15:50:56 +0000 (15:50 +0000)]
add QFileSystemWatcher test

4 years agoadd QFileInfo test
Ivailo Monev [Thu, 2 Jan 2020 15:33:06 +0000 (15:33 +0000)]
add QFileInfo test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosimplify and fix compatibility Q_FOREACH()
Ivailo Monev [Thu, 2 Jan 2020 00:53:35 +0000 (00:53 +0000)]
simplify and fix compatibility Q_FOREACH()

the issue was encountered while building other projects with GCC v9.2.0,
code generated by v8.3.0 is unaffected

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoprint warning on parser error from json_settings_read() function
Ivailo Monev [Wed, 1 Jan 2020 18:09:02 +0000 (18:09 +0000)]
print warning on parser error from json_settings_read() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not delete shared null QMap data
Ivailo Monev [Wed, 1 Jan 2020 17:39:59 +0000 (17:39 +0000)]
do not delete shared null QMap data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove architecture checks from mkspecs file [ci skip]
Ivailo Monev [Wed, 1 Jan 2020 14:54:30 +0000 (14:54 +0000)]
remove architecture checks from mkspecs file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoconvert QVariant::String to/from QVariant::StringList type based on delimiter
Ivailo Monev [Wed, 1 Jan 2020 10:54:50 +0000 (10:54 +0000)]
convert QVariant::String to/from QVariant::StringList type based on delimiter

the conversion covers the most common cases, further improvements like
splitting quoted strings can be done in the future

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd i486 and pentium4 to arch array in Arch package file [ci skip]
Ivailo Monev [Wed, 1 Jan 2020 06:24:25 +0000 (06:24 +0000)]
add i486 and pentium4 to arch array in Arch package file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agotest Ninja generator from oldmake.sh script [ci skip]
Ivailo Monev [Tue, 31 Dec 2019 04:54:58 +0000 (04:54 +0000)]
test Ninja generator from oldmake.sh script [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomerge .cmake into CMakeLists.txt files
Ivailo Monev [Tue, 31 Dec 2019 04:27:10 +0000 (04:27 +0000)]
merge .cmake into CMakeLists.txt files

this way it is easier to maintain and should reduce the time spend on
configuring the project when building, much like the all-in-one build
option

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd arm to arch array in Arch package file [ci skip]
Ivailo Monev [Tue, 31 Dec 2019 03:16:45 +0000 (03:16 +0000)]
add arm to arch array in Arch package file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoadd libxt to depends array in Arch package file
Ivailo Monev [Tue, 31 Dec 2019 03:16:26 +0000 (03:16 +0000)]
add libxt to depends array in Arch package file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild QML imports as modules and link them to required components
Ivailo Monev [Tue, 31 Dec 2019 01:31:23 +0000 (01:31 +0000)]
build QML imports as modules and link them to required components

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolink KtGui component to ICU libraries explicitly
Ivailo Monev [Tue, 31 Dec 2019 01:09:37 +0000 (01:09 +0000)]
link KtGui component to ICU libraries explicitly

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoinclude moc-generated files as local headers
Ivailo Monev [Tue, 31 Dec 2019 00:24:20 +0000 (00:24 +0000)]
include moc-generated files as local headers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QDeclarativeAbstractAnimationPrivate member size specifiers
Ivailo Monev [Tue, 31 Dec 2019 00:13:27 +0000 (00:13 +0000)]
remove redundant QDeclarativeAbstractAnimationPrivate member size specifiers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace 0 with Q_NULLPTR where applicable
Ivailo Monev [Tue, 31 Dec 2019 00:12:56 +0000 (00:12 +0000)]
replace 0 with Q_NULLPTR where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoeffectively revert c8e884c2d3a4dbd95973d639cf2265733e1ee24b
Ivailo Monev [Tue, 31 Dec 2019 00:03:00 +0000 (00:03 +0000)]
effectively revert c8e884c2d3a4dbd95973d639cf2265733e1ee24b

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in Parser::parse()
Ivailo Monev [Mon, 30 Dec 2019 23:54:15 +0000 (23:54 +0000)]
avoid temporary in Parser::parse()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoplug qt_initLocale() memory leak
Ivailo Monev [Mon, 30 Dec 2019 11:44:54 +0000 (11:44 +0000)]
plug qt_initLocale() memory leak

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QSvgHandler::m_resolveNodes member
Ivailo Monev [Mon, 30 Dec 2019 10:06:54 +0000 (10:06 +0000)]
remove unused QSvgHandler::m_resolveNodes member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QStringSplitter() members
Ivailo Monev [Mon, 30 Dec 2019 05:23:19 +0000 (05:23 +0000)]
remove redundant QStringSplitter() members

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in qt_string_count() function
Ivailo Monev [Mon, 30 Dec 2019 05:08:57 +0000 (05:08 +0000)]
avoid temporary in qt_string_count() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant uint() construct and C-style cast in qFindString() function
Ivailo Monev [Mon, 30 Dec 2019 04:59:10 +0000 (04:59 +0000)]
remove redundant uint() construct and C-style cast in qFindString() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not free shared null QMap data
Ivailo Monev [Mon, 30 Dec 2019 04:29:58 +0000 (04:29 +0000)]
do not free shared null QMap data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocleanup findInterface() function
Ivailo Monev [Mon, 30 Dec 2019 02:43:40 +0000 (02:43 +0000)]
cleanup findInterface() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodesigner tool does not have to be linked to KtUiTools component
Ivailo Monev [Mon, 30 Dec 2019 01:29:34 +0000 (01:29 +0000)]
designer tool does not have to be linked to KtUiTools component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agolink compnents to libraries and other components explicitly
Ivailo Monev [Mon, 30 Dec 2019 01:24:44 +0000 (01:24 +0000)]
link compnents to libraries and other components explicitly

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate Debian package symbols file
Ivailo Monev [Mon, 30 Dec 2019 01:23:58 +0000 (01:23 +0000)]
update Debian package symbols file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse static lists for plugin keys
Ivailo Monev [Mon, 30 Dec 2019 00:52:10 +0000 (00:52 +0000)]
use static lists for plugin keys

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoextended compiler-standard check to check for CMP0067 policy
Ivailo Monev [Mon, 30 Dec 2019 00:51:31 +0000 (00:51 +0000)]
extended compiler-standard check to check for CMP0067 policy

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate qlalr files copyright [ci skip]
Ivailo Monev [Sun, 29 Dec 2019 23:38:17 +0000 (23:38 +0000)]
update qlalr files copyright [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate copyright and add script for doing so
Ivailo Monev [Sun, 29 Dec 2019 23:21:34 +0000 (23:21 +0000)]
update copyright and add script for doing so

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect return value in QTextBoundaryFinder::boundaryReasons()
Ivailo Monev [Sun, 29 Dec 2019 21:49:31 +0000 (21:49 +0000)]
correct return value in QTextBoundaryFinder::boundaryReasons()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant string header inclusion from qvector source file
Ivailo Monev [Sun, 29 Dec 2019 21:22:45 +0000 (21:22 +0000)]
remove redundant string header inclusion from qvector source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorename QVarLengthArray::realloc() to QVarLengthArray::reallocData()
Ivailo Monev [Sun, 29 Dec 2019 21:20:39 +0000 (21:20 +0000)]
rename QVarLengthArray::realloc() to QVarLengthArray::reallocData()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace function call with member access in QVarLengthArray::replace()
Ivailo Monev [Sun, 29 Dec 2019 21:20:02 +0000 (21:20 +0000)]
replace function call with member access in QVarLengthArray::replace()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse /bin/false to skip private headers when generating documentation [ci skip]
Ivailo Monev [Sun, 29 Dec 2019 10:27:03 +0000 (10:27 +0000)]
use /bin/false to skip private headers when generating documentation [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agochange KATIE_TRANSLATIONS_FULL, KATIE_LDCONF_FULL and KATIE_PROFILE_FULL defaults...
Ivailo Monev [Sun, 29 Dec 2019 09:51:38 +0000 (09:51 +0000)]
change KATIE_TRANSLATIONS_FULL, KATIE_LDCONF_FULL and KATIE_PROFILE_FULL defaults to common values [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate .gitignore [ci skip]
Ivailo Monev [Sun, 29 Dec 2019 09:32:55 +0000 (09:32 +0000)]
update .gitignore [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agogenerate symbols file for katie-runtime after installation
Ivailo Monev [Sun, 29 Dec 2019 09:28:40 +0000 (09:28 +0000)]
generate symbols file for katie-runtime after installation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix cross-compile packaging
Ivailo Monev [Sun, 29 Dec 2019 09:21:50 +0000 (09:21 +0000)]
fix cross-compile packaging

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agosplit Debian package into components [ci skip]
Ivailo Monev [Sun, 29 Dec 2019 08:27:52 +0000 (08:27 +0000)]
split Debian package into components [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate Debian package symbols file [ci skip]
Ivailo Monev [Sun, 29 Dec 2019 07:26:39 +0000 (07:26 +0000)]
update Debian package symbols file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoenable cache in Travis again
Ivailo Monev [Sun, 29 Dec 2019 07:00:52 +0000 (07:00 +0000)]
enable cache in Travis again

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix some headers re-writing issues
Ivailo Monev [Sun, 29 Dec 2019 06:47:09 +0000 (06:47 +0000)]
fix some headers re-writing issues

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake stat() error checks consisten in QFileSystemEngine::createDirectory(), QFileSyst...
Ivailo Monev [Sun, 29 Dec 2019 06:04:16 +0000 (06:04 +0000)]
make stat() error checks consisten in QFileSystemEngine::createDirectory(), QFileSystemEngine::removeDirectory() and QFileSystemEngine::copyFile()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant condition in QFileSystemEngine::fillMetaData()
Ivailo Monev [Sun, 29 Dec 2019 05:44:52 +0000 (05:44 +0000)]
remove redundant condition in QFileSystemEngine::fillMetaData()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse QLocalServer in QtNetworkSettings::supportsIPv6()
Ivailo Monev [Sun, 29 Dec 2019 04:21:20 +0000 (04:21 +0000)]
use QLocalServer in QtNetworkSettings::supportsIPv6()

QLocalServer can poke the address regardless if it is protected as it does
not bind to the address

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix Travis build
Ivailo Monev [Sun, 29 Dec 2019 03:33:37 +0000 (03:33 +0000)]
fix Travis build

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not include aliases in all codec names
Ivailo Monev [Sun, 29 Dec 2019 03:29:11 +0000 (03:29 +0000)]
do not include aliases in all codec names

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid deep copy of strings in QIcuCodec::aliases() and QIcuCodec::allCodecs()
Ivailo Monev [Sun, 29 Dec 2019 02:59:03 +0000 (02:59 +0000)]
avoid deep copy of strings in QIcuCodec::aliases() and QIcuCodec::allCodecs()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agono need to install newer libzstd version in Travis anymore
Ivailo Monev [Sat, 28 Dec 2019 23:57:14 +0000 (23:57 +0000)]
no need to install newer libzstd version in Travis anymore

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoset Travis dist to bionic
Ivailo Monev [Sat, 28 Dec 2019 23:41:32 +0000 (23:41 +0000)]
set Travis dist to bionic

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect some comments in top-level CMake file [ci skip]
Ivailo Monev [Sat, 28 Dec 2019 23:23:06 +0000 (23:23 +0000)]
correct some comments in top-level CMake file [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorely on the fact that default QTime constructor is for null-time in QTime::fromString()
Ivailo Monev [Sat, 28 Dec 2019 23:14:34 +0000 (23:14 +0000)]
rely on the fact that default QTime constructor is for null-time in QTime::fromString()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace QT_TYPENAME with Q_TYPENAME and remove it
Ivailo Monev [Sat, 28 Dec 2019 23:07:22 +0000 (23:07 +0000)]
replace QT_TYPENAME with Q_TYPENAME and remove it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in QUuid::fromRfc4122()
Ivailo Monev [Sat, 28 Dec 2019 22:59:04 +0000 (22:59 +0000)]
use single variable assignment in QUuid::fromRfc4122()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant default case in QParallelAnimationGroupPrivate::applyGroupState()
Ivailo Monev [Sat, 28 Dec 2019 22:37:51 +0000 (22:37 +0000)]
remove redundant default case in QParallelAnimationGroupPrivate::applyGroupState()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default QParallelAnimationGroup::event() reimplementation
Ivailo Monev [Sat, 28 Dec 2019 22:35:59 +0000 (22:35 +0000)]
remove default QParallelAnimationGroup::event() reimplementation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default QPauseAnimation::event() reimplementation
Ivailo Monev [Sat, 28 Dec 2019 22:34:45 +0000 (22:34 +0000)]
remove default QPauseAnimation::event() reimplementation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default QSequentialAnimationGroup::event() reimplementation
Ivailo Monev [Sat, 28 Dec 2019 22:25:32 +0000 (22:25 +0000)]
remove default QSequentialAnimationGroup::event() reimplementation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant reinterpret_cast<> in QIcuCodec::convertFromUnicode()
Ivailo Monev [Sat, 28 Dec 2019 22:17:43 +0000 (22:17 +0000)]
remove redundant reinterpret_cast<> in QIcuCodec::convertFromUnicode()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodeal with QVarLengthArray TODO
Ivailo Monev [Sat, 28 Dec 2019 22:06:28 +0000 (22:06 +0000)]
deal with QVarLengthArray TODO

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove qstringmatcher header inclusion from qstringlist header to source file
Ivailo Monev [Sat, 28 Dec 2019 20:57:00 +0000 (20:57 +0000)]
move qstringmatcher header inclusion from qstringlist header to source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant uint() construct in QDate::setYMD()
Ivailo Monev [Sat, 28 Dec 2019 19:24:35 +0000 (19:24 +0000)]
remove redundant uint() construct in QDate::setYMD()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreturn object rather than reference from QFileInfoPrivate::getFileTime()
Ivailo Monev [Sat, 28 Dec 2019 19:23:39 +0000 (19:23 +0000)]
return object rather than reference from QFileInfoPrivate::getFileTime()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect QFileInfoPrivate::getCachedFlag() return value
Ivailo Monev [Sat, 28 Dec 2019 18:28:45 +0000 (18:28 +0000)]
correct QFileInfoPrivate::getCachedFlag() return value

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QSize::scale()
Ivailo Monev [Sat, 28 Dec 2019 18:10:05 +0000 (18:10 +0000)]
optimize QSize::scale()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove bogus compile-time error in qrect header
Ivailo Monev [Sat, 28 Dec 2019 17:55:54 +0000 (17:55 +0000)]
remove bogus compile-time error in qrect header

there is no topLeft() function that I am aware of

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse uninitialized buffer instead of resizing one in QByteDataBuffer::read()
Ivailo Monev [Sat, 28 Dec 2019 17:39:30 +0000 (17:39 +0000)]
use uninitialized buffer instead of resizing one in QByteDataBuffer::read()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agobuild against internal copies of libpng and sqlite if not found
Ivailo Monev [Sat, 28 Dec 2019 16:29:17 +0000 (16:29 +0000)]
build against internal copies of libpng and sqlite if not found

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark getSettingsPath() function as static
Ivailo Monev [Sat, 28 Dec 2019 04:19:47 +0000 (04:19 +0000)]
mark getSettingsPath() function as static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark default case in QCryptographicHash::hash() as unreachable
Ivailo Monev [Sat, 28 Dec 2019 03:31:19 +0000 (03:31 +0000)]
mark default case in QCryptographicHash::hash() as unreachable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix build-time check in qt_safe_accept() and introduce NetBSD support
Ivailo Monev [Sat, 28 Dec 2019 02:51:36 +0000 (02:51 +0000)]
fix build-time check in qt_safe_accept() and introduce NetBSD support

upstream commit:
https://github.com/qt/qtbase/commit/b3b2f502e9b499814a1e3b21e1b572e3ff1ba37b

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QT_SOCKOPTLEN_T definition
Ivailo Monev [Sat, 28 Dec 2019 02:29:48 +0000 (02:29 +0000)]
remove redundant QT_SOCKOPTLEN_T definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid struct mirroring by including qobject_p header in qsignaldumper source file
Ivailo Monev [Sat, 28 Dec 2019 02:22:52 +0000 (02:22 +0000)]
avoid struct mirroring by including qobject_p header in qsignaldumper source file

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace C-style casts with static_cast where applicable
Ivailo Monev [Sat, 28 Dec 2019 01:47:40 +0000 (01:47 +0000)]
replace C-style casts with static_cast where applicable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoplug QDateTime memory leaks
Ivailo Monev [Sat, 28 Dec 2019 01:23:58 +0000 (01:23 +0000)]
plug QDateTime memory leaks

caused by shadowing member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not reallocate shared empty/null QByteArray data
Ivailo Monev [Sat, 28 Dec 2019 01:04:10 +0000 (01:04 +0000)]
do not reallocate shared empty/null QByteArray data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoQSharedData ref member does not have to be mutable
Ivailo Monev [Sat, 28 Dec 2019 01:01:03 +0000 (01:01 +0000)]
QSharedData ref member does not have to be mutable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not free the shared empty and shared null QByteArray data
Ivailo Monev [Sat, 28 Dec 2019 00:23:29 +0000 (00:23 +0000)]
do not free the shared empty and shared null QByteArray data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QT_NO_EXCEPTIONS definition from minsize.sh script [ci skip]
Ivailo Monev [Sat, 28 Dec 2019 00:12:02 +0000 (00:12 +0000)]
remove redundant QT_NO_EXCEPTIONS definition from minsize.sh script [ci skip]

exceptions are automatically disabled via Q_COMPILER_EXCEPTIONS

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