<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/autotests, branch v5.88.0</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>Enforce KAuthorized enums being not 0</title>
<updated>2021-10-13T12:59:30+00:00</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2021-10-09T13:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=9b134d6354089920d22c8de783093120c44cfb36'/>
<id>9b134d6354089920d22c8de783093120c44cfb36</id>
<content type='text'>
This will output a warning if an invalid value is requested. The goal is to avoid
implicit conversion which might result in a zero-int value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will output a warning if an invalid value is requested. The goal is to avoid
implicit conversion which might result in a zero-int value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create enum to to authorize common keys</title>
<updated>2021-10-13T12:59:30+00:00</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2021-09-26T16:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=b0a3e4276e8318475c39c2b7b4b5bc4040dcd19e'/>
<id>b0a3e4276e8318475c39c2b7b4b5bc4040dcd19e</id>
<content type='text'>
By using an enum we have a central place to provide docs for the most
common actions/restrictions. Also consumers can pass in type-safe enum
values instead of potentially undocumented strings that might contain typos.

Also it is better documents is a value is supposed to be authorized using
KAuthorized::authorize or KAuthorized::authorizeAction, in the case of "shell_access"
this was mixed up from time to time.

Considering that we do not want the parameter for the methods to become too long
I have deliberately decided against using `enum class`. Also we don't have
and usecases for the binary operators in combination with the newly added enums.

Task: https://phabricator.kde.org/T11948
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By using an enum we have a central place to provide docs for the most
common actions/restrictions. Also consumers can pass in type-safe enum
values instead of potentially undocumented strings that might contain typos.

Also it is better documents is a value is supposed to be authorized using
KAuthorized::authorize or KAuthorized::authorizeAction, in the case of "shell_access"
this was mixed up from time to time.

Considering that we do not want the parameter for the methods to become too long
I have deliberately decided against using `enum class`. Also we don't have
and usecases for the binary operators in combination with the newly added enums.

Task: https://phabricator.kde.org/T11948
</pre>
</div>
</content>
</entry>
<entry>
<title>Create utility method for moving entries from one group to another</title>
<updated>2021-10-11T16:11:27+00:00</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2021-09-19T18:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=f7754f2bb3db666e4bfb2b82af079828e0086b84'/>
<id>f7754f2bb3db666e4bfb2b82af079828e0086b84</id>
<content type='text'>
This will become especially useful when moving state data from the config file
to a dedicated state data file.

Task: https://phabricator.kde.org/T12549
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will become especially useful when moving state data from the config file
to a dedicated state data file.

Task: https://phabricator.kde.org/T12549
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow KConfigXT to use KSharedConfig::openStateConfig</title>
<updated>2021-09-19T05:50:10+00:00</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2021-09-14T05:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=0b0a4464fb3d1145eb612b1ab7edacfa9581c8c9'/>
<id>0b0a4464fb3d1145eb612b1ab7edacfa9581c8c9</id>
<content type='text'>
Otherwise we force consumers to use the config location for state data,
which is what we are trying to avoid.

Task: https://phabricator.kde.org/T12549
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we force consumers to use the config location for state data,
which is what we are trying to avoid.

Task: https://phabricator.kde.org/T12549
</pre>
</div>
</content>
</entry>
<entry>
<title>GIT_SILENT: we can use std::as_const directly</title>
<updated>2021-08-28T16:05:30+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2021-08-28T16:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=dffdff73fa98a4fdebca38fb4a41938541ffb1c1'/>
<id>dffdff73fa98a4fdebca38fb4a41938541ffb1c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>clang-tidy: one declaration per line; braces around statements</title>
<updated>2021-08-13T00:12:26+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-08-13T00:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=783d1c28c88229f81715f6ecd1cf3866855252a2'/>
<id>783d1c28c88229f81715f6ecd1cf3866855252a2</id>
<content type='text'>
clang-tidy checks:
readability-isolate-declaration and readability-braces-around-statements

KF task: https://phabricator.kde.org/T14729

GIT_SILENT
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clang-tidy checks:
readability-isolate-declaration and readability-braces-around-statements

KF task: https://phabricator.kde.org/T14729

GIT_SILENT
</pre>
</div>
</content>
</entry>
<entry>
<title>KConfig: fix deletion of an entry that is also in kdeglobals</title>
<updated>2021-08-03T10:01:15+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2021-06-23T10:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=ed28682265bd95416a98d5ccc6a72e96563f84f3'/>
<id>ed28682265bd95416a98d5ccc6a72e96563f84f3</id>
<content type='text'>
This is the case where we expected to see Key[$d] in the config file,
and it was somehow broken. When saving, the key was omitted, so when
reloading the kdeglobals key was present again.

Detected when trying to write a unittest for a different patch...

I had to reshuffle the unittest a bit because testThreads calls
testSimple which didn't expect that the "[AAA]" group would actually
be deleted now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the case where we expected to see Key[$d] in the config file,
and it was somehow broken. When saving, the key was omitted, so when
reloading the kdeglobals key was present again.

Detected when trying to write a unittest for a different patch...

I had to reshuffle the unittest a bit because testThreads calls
testSimple which didn't expect that the "[AAA]" group would actually
be deleted now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos found by codespell</title>
<updated>2021-07-13T21:20:57+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2021-07-13T21:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=3471f19fc56e41b2ee6236ea3016dfa30a76c0ff'/>
<id>3471f19fc56e41b2ee6236ea3016dfa30a76c0ff</id>
<content type='text'>
GIT_SILENT
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GIT_SILENT
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfigtest: save/restore XDG_CONFIG_DIRS</title>
<updated>2021-06-21T12:16:23+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2021-06-21T12:16:23+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=74a861c5617621663b1d5d8a1cd79c7a0eef9d8a'/>
<id>74a861c5617621663b1d5d8a1cd79c7a0eef9d8a</id>
<content type='text'>
No impact on the rest of the test, but I was wondering if it might
break anything, better restore it just in case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No impact on the rest of the test, but I was wondering if it might
break anything, better restore it just in case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid cmake variables and pass sources directly to macro</title>
<updated>2021-05-27T01:50:11+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2021-05-27T01:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=9fe58ac80574ca668c23ba662e73de5e5b054c1f'/>
<id>9fe58ac80574ca668c23ba662e73de5e5b054c1f</id>
<content type='text'>
NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NO_CHANGELOG
</pre>
</div>
</content>
</entry>
</feed>
