<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/autotests, branch v5.66.0</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>Make sure to execute test with english lang</title>
<updated>2019-12-04T12:10:32+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2019-12-04T12:09:39+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=719920708b696ef5a5dbc3360672fb0c4cc282e4'/>
<id>719920708b696ef5a5dbc3360672fb0c4cc282e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig_compiler: Move the KSharedConfig::Ptr when using them</title>
<updated>2019-10-30T18:23:34+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2019-10-30T18:23:26+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=ee72e7e7916d9b166403c74fd3eb8e874176106e'/>
<id>ee72e7e7916d9b166403c74fd3eb8e874176106e</id>
<content type='text'>
Summary:
The generated classes of kconfig_compiler take a KSharedConfig::Ptr by
value, one possibility would be to make them const &amp; but that is BIC so
instead what we do is just move them to the only place the config is
used so the cheaper move constructor can be used instead of the copy
constructor

Reviewers: ervin, apol

Reviewed By: ervin, apol

Subscribers: kde-frameworks-devel, ervin, apol

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25061
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The generated classes of kconfig_compiler take a KSharedConfig::Ptr by
value, one possibility would be to make them const &amp; but that is BIC so
instead what we do is just move them to the only place the config is
used so the cheaper move constructor can be used instead of the copy
constructor

Reviewers: ervin, apol

Reviewed By: ervin, apol

Subscribers: kde-frameworks-devel, ervin, apol

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25061
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ECMGenerateExportHeader to manage deprecated API better</title>
<updated>2019-10-18T19:23:32+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2019-10-08T13:22:49+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=fb37084b3e7c396cd10bf4d3253fee730320988a'/>
<id>fb37084b3e7c396cd10bf4d3253fee730320988a</id>
<content type='text'>
Summary:
Allows
* projects linking to KConfigCore/Gui to hide deprecated API up to a
  given version or silence deprecation warnings after a given version,
  using
  * -DKCONFIGCORE_DISABLE_DEPRECATED_BEFORE_AND_AT
  * -DKCONFIGCORE_NO_DEPRECATED
  * -DKCONFIGCORE_DEPRECATED_WARNINGS_SINCE
  * -DKCONFIGCORE_NO_DEPRECATED_WARNINGS
  * -DKCONFIGGUI_DISABLE_DEPRECATED_BEFORE_AND_AT
  * -DKCONFIGGUI_NO_DEPRECATED
  * -DKCONFIGGUI_DEPRECATED_WARNINGS_SINCE
  * -DKCONFIGGUI_NO_DEPRECATED_WARNINGS

  or
  * -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
  * -DKF_NO_DEPRECATED
  * -DKF_DEPRECATED_WARNINGS_SINCE
  * -DKF_NO_DEPRECATED_WARNINGS
* to build KConfigCore/Gui optionally with deprecated API excluded from
  the build, using "EXCLUDE_DEPRECATED_BEFORE_AND_AT" cmake argument.

Test Plan:
Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 4.0.0, 5.0.0,
5.11.0, 5.24.0, 5.39.0, 5.42.0, CURRENT.

Reviewers: #frameworks, mlaurent

Reviewed By: mlaurent

Subscribers: mlaurent, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24496
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Allows
* projects linking to KConfigCore/Gui to hide deprecated API up to a
  given version or silence deprecation warnings after a given version,
  using
  * -DKCONFIGCORE_DISABLE_DEPRECATED_BEFORE_AND_AT
  * -DKCONFIGCORE_NO_DEPRECATED
  * -DKCONFIGCORE_DEPRECATED_WARNINGS_SINCE
  * -DKCONFIGCORE_NO_DEPRECATED_WARNINGS
  * -DKCONFIGGUI_DISABLE_DEPRECATED_BEFORE_AND_AT
  * -DKCONFIGGUI_NO_DEPRECATED
  * -DKCONFIGGUI_DEPRECATED_WARNINGS_SINCE
  * -DKCONFIGGUI_NO_DEPRECATED_WARNINGS

  or
  * -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
  * -DKF_NO_DEPRECATED
  * -DKF_DEPRECATED_WARNINGS_SINCE
  * -DKF_NO_DEPRECATED_WARNINGS
* to build KConfigCore/Gui optionally with deprecated API excluded from
  the build, using "EXCLUDE_DEPRECATED_BEFORE_AND_AT" cmake argument.

Test Plan:
Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 4.0.0, 5.0.0,
5.11.0, 5.24.0, 5.39.0, 5.42.0, CURRENT.

Reviewers: #frameworks, mlaurent

Reviewed By: mlaurent

Subscribers: mlaurent, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24496
</pre>
</div>
</content>
</entry>
<entry>
<title>Add convenience for defaults/dirty states to KCoreConfigSkeleton</title>
<updated>2019-10-10T11:26:21+00:00</updated>
<author>
<name>Kevin Ottens</name>
<email>kevin.ottens@enioka.com</email>
</author>
<published>2019-10-10T11:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=4c3d3751968422ff5cba56b5da2036a1bceba314'/>
<id>4c3d3751968422ff5cba56b5da2036a1bceba314</id>
<content type='text'>
Summary:
It allows to verify if all the items of the skeleton are in their
default values or if they hold any value deviating from the latest
loaded values from KConfig.

We didn't really need this during the KCModule/QtWidgets time since we
could write KConfigDialogManager just fine without it. But for use with
QML and aiming at having similar magic in KQuickAddons::ConfigModule
such convenience functions will be needed.

Reviewers: #plasma, #frameworks, dfaure, mart

Subscribers: apol, kossebau, davidedmundson, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24494
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
It allows to verify if all the items of the skeleton are in their
default values or if they hold any value deviating from the latest
loaded values from KConfig.

We didn't really need this during the KCModule/QtWidgets time since we
could write KConfigDialogManager just fine without it. But for use with
QML and aiming at having similar magic in KQuickAddons::ConfigModule
such convenience functions will be needed.

Reviewers: #plasma, #frameworks, dfaure, mart

Subscribers: apol, kossebau, davidedmundson, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24494
</pre>
</div>
</content>
</entry>
<entry>
<title>Make kconfig_compiler generate ctors with the optional parent arg</title>
<updated>2019-10-08T16:13:01+00:00</updated>
<author>
<name>Kevin Ottens</name>
<email>kevin.ottens@enioka.com</email>
</author>
<published>2019-10-08T11:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=5fa1a3312ab24908d870ce2a2399695ac98d828d'/>
<id>5fa1a3312ab24908d870ce2a2399695ac98d828d</id>
<content type='text'>
Reviewers: #plasma, #frameworks, dfaure, mart, apol

Reviewed By: apol

Subscribers: kossebau, apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24490
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: #plasma, #frameworks, dfaure, mart, apol

Reviewed By: apol

Subscribers: kossebau, apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24490
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix generating properties that start with an uppercase letter</title>
<updated>2019-10-03T23:30:56+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2019-09-16T22:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=a23acd2f1535a94ef3f7477040890b175c3651b6'/>
<id>a23acd2f1535a94ef3f7477040890b175c3651b6</id>
<content type='text'>
Summary: We were not adjusting the property name to the getter letter-casing.

Test Plan: See added test, also fixes the issue that made me realize this issue.

Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Subscribers: ngraham, aacid, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24010
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: We were not adjusting the property name to the getter letter-casing.

Test Plan: See added test, also fixes the issue that made me realize this issue.

Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Subscribers: ngraham, aacid, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24010
</pre>
</div>
</content>
</entry>
<entry>
<title>[KConfig] port away from deprecated methods in Qt 5.14</title>
<updated>2019-09-17T16:27:06+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-09-10T07:42:22+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=c34e457bf9506ca068491eda41467013b180e544'/>
<id>c34e457bf9506ca068491eda41467013b180e544</id>
<content type='text'>
Summary:
In kconf_update, the ctime usage used to be about metadata change time
(buff.st_ctime, before it got ported to the misnamed created()).
I ported it to birthTime, because I think
date of birth is a more useful way to identify a file than
date of permission change which doesn't really matter to us.
But in practice, I can't help but wonder if mtime alone wouldn't be
enough.

For the QStringLiteral("%%1").arg(i) bit, I tested it in tst_qstring,
the first % is left untouched.

Test Plan: make &amp;&amp; ctest

Reviewers: mdawson, arichardson, vkrause

Reviewed By: vkrause

Subscribers: pino, arojas, mlaurent, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D23815
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
In kconf_update, the ctime usage used to be about metadata change time
(buff.st_ctime, before it got ported to the misnamed created()).
I ported it to birthTime, because I think
date of birth is a more useful way to identify a file than
date of permission change which doesn't really matter to us.
But in practice, I can't help but wonder if mtime alone wouldn't be
enough.

For the QStringLiteral("%%1").arg(i) bit, I tested it in tst_qstring,
the first % is left untouched.

Test Plan: make &amp;&amp; ctest

Reviewers: mdawson, arichardson, vkrause

Reviewed By: vkrause

Subscribers: pino, arojas, mlaurent, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D23815
</pre>
</div>
</content>
</entry>
<entry>
<title>GIT_SILENT: use QLatin1String</title>
<updated>2019-08-28T11:59:13+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2019-08-28T11:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=b0191f68562d896a3e962a534ff0c26ae72de2de'/>
<id>b0191f68562d896a3e962a534ff0c26ae72de2de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Security: remove support for $(...) in config keys with [$e] marker.</title>
<updated>2019-08-07T14:04:18+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-08-07T07:35:36+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=5d3e71b1d2ecd2cb2f910036e614ffdfc895aa22'/>
<id>5d3e71b1d2ecd2cb2f910036e614ffdfc895aa22</id>
<content type='text'>
Summary:
It is very unclear at this point what a valid use case for this feature
would possibly be. The old documentation only mentions $(hostname) as
an example, which can be done with $HOSTNAME instead.

Note that $(...) is still supported in Exec lines of desktop files,
this does not require [$e] anyway (and actually works better without it,
otherwise the $ signs need to be doubled to obey kconfig $e escaping rules...).

Test Plan:
ctest passes; various testcases with $(...) in desktop files,
directory files, and config files, no longer execute commands.

Reviewers: mdawson, aacid, broulik, davidedmundson, kossebau, apol, sitter, security-team

Reviewed By: mdawson, davidedmundson

Subscribers: ZaWertun, rikmills, fvogt, ngraham, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D22979
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
It is very unclear at this point what a valid use case for this feature
would possibly be. The old documentation only mentions $(hostname) as
an example, which can be done with $HOSTNAME instead.

Note that $(...) is still supported in Exec lines of desktop files,
this does not require [$e] anyway (and actually works better without it,
otherwise the $ signs need to be doubled to obey kconfig $e escaping rules...).

Test Plan:
ctest passes; various testcases with $(...) in desktop files,
directory files, and config files, no longer execute commands.

Reviewers: mdawson, aacid, broulik, davidedmundson, kossebau, apol, sitter, security-team

Reviewed By: mdawson, davidedmundson

Subscribers: ZaWertun, rikmills, fvogt, ngraham, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D22979
</pre>
</div>
</content>
</entry>
<entry>
<title>autotests: mkpath ~/.qttest/config</title>
<updated>2019-08-06T20:28:22+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-08-06T20:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=8e82d5accb52eda7bec784de447a9cb6161bbbb8'/>
<id>8e82d5accb52eda7bec784de447a9cb6161bbbb8</id>
<content type='text'>
so that the test doesn't fail after `rm -rf ~/.qttest`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so that the test doesn't fail after `rm -rf ~/.qttest`
</pre>
</div>
</content>
</entry>
</feed>
