<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/src/core, branch v5.56.0</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>improve documentation on global config cascading</title>
<updated>2019-03-01T10:32:16+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2019-02-27T13:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=d22f469be6fdd90fdd3a21a36b8441dcf4d60f46'/>
<id>d22f469be6fdd90fdd3a21a36b8441dcf4d60f46</id>
<content type='text'>
Summary:
the previous description of IncludeGlobals was a bit lackluster. the new
description should make it more obvious what the various flag permutations
achieve.

BUG: 306923

Reviewers: kde-frameworks-devel, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19388
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
the previous description of IncludeGlobals was a bit lackluster. the new
description should make it more obvious what the various flag permutations
achieve.

BUG: 306923

Reviewers: kde-frameworks-devel, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19388
</pre>
</div>
</content>
</entry>
<entry>
<title>KConfig: Assign documentation to correct enum value</title>
<updated>2019-02-25T21:11:06+00:00</updated>
<author>
<name>Thomas Fischer</name>
<email>fischer@unix-ag.uni-kl.de</email>
</author>
<published>2019-02-25T21:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=3bfe329b7136a58f20bd0f9011f20b2a4c65c0fe'/>
<id>3bfe329b7136a58f20bd0f9011f20b2a4c65c0fe</id>
<content type='text'>
Summary:
In commit 8579ec54 (D13034), the Notify value got introduced in
enum WriteConfigFlag in KConfigBase. When adding this new value,
the value and its documentation (Doxygen format, /**&lt;) got placed
wrongly.
After commit 8579ec54, the documentation for Notify "documents"
the previously existing value Localized, whereas the documentation
for Localized documents Notify.
Simply exchanging the order of the documentation comments fixes
this issue.

Reviewers: broulik, dfaure, davidedmundson

Reviewed By: davidedmundson

Subscribers: kde-frameworks-devel

Tags: documentation, frameworks

Differential Revision: https://phabricator.kde.org/D19320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
In commit 8579ec54 (D13034), the Notify value got introduced in
enum WriteConfigFlag in KConfigBase. When adding this new value,
the value and its documentation (Doxygen format, /**&lt;) got placed
wrongly.
After commit 8579ec54, the documentation for Notify "documents"
the previously existing value Localized, whereas the documentation
for Localized documents Notify.
Simply exchanging the order of the documentation comments fixes
this issue.

Reviewers: broulik, dfaure, davidedmundson

Reviewed By: davidedmundson

Subscribers: kde-frameworks-devel

Tags: documentation, frameworks

Differential Revision: https://phabricator.kde.org/D19320
</pre>
</div>
</content>
</entry>
<entry>
<title>Write valid UTF8 characters without escaping.</title>
<updated>2019-02-20T16:19:14+00:00</updated>
<author>
<name>Jos van den Oever</name>
<email>jos@vandenoever.info</email>
</author>
<published>2019-02-17T22:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=2cdcd4f30666fd1095ab7cf31361e404db871075'/>
<id>2cdcd4f30666fd1095ab7cf31361e404db871075</id>
<content type='text'>
Summary:
commit 6a18528 introduced escaping of bytes &gt;= 127 to ensure that
KConfig files are valid UTF8.
The simplistic approach with a cutoff results in many escaped bytes
where it is not required. Especially non-western configuration files
would have many escapes.

This commit fixes that by only escaping bytes that are not valid UTF8.

BUG: 403557
FIXED-IN: 5.56

Test Plan: ninja &amp;&amp; ninja test

Reviewers: dfaure, arichardson, apol, #frameworks, thiago

Subscribers: rapiteanu, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
commit 6a18528 introduced escaping of bytes &gt;= 127 to ensure that
KConfig files are valid UTF8.
The simplistic approach with a cutoff results in many escaped bytes
where it is not required. Especially non-western configuration files
would have many escapes.

This commit fixes that by only escaping bytes that are not valid UTF8.

BUG: 403557
FIXED-IN: 5.56

Test Plan: ninja &amp;&amp; ninja test

Reviewers: dfaure, arichardson, apol, #frameworks, thiago

Subscribers: rapiteanu, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19107
</pre>
</div>
</content>
</entry>
<entry>
<title>KConfig: handle directory symlinks correctly.</title>
<updated>2019-02-04T12:42:18+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2018-08-19T10:32:11+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=c6bb7aea21320b9f3cd0e0127aee3aef6db7ccb4'/>
<id>c6bb7aea21320b9f3cd0e0127aee3aef6db7ccb4</id>
<content type='text'>
Summary:
When /home is a symlink, for instance (as is often the case on FreeBSD),
group deletion would fail because KConfig was comparing non-canonical
paths with canonical-paths:

QDEBUG : KConfigTest::testDelete() Comparing "/home/adridg/.qttest/config/
kconfigtest_subdir/kconfigtest" and "/usr/home/adridg/.qttest/config/
kconfigtest_subdir/kconfigtest"

Test Plan:
mkdir /tmp/derp; ln -s /tmp/derp /tmp/drop
HOME=/tmp/derp bin/kconfigtest testDelete  # Success
HOME=/tmp/drop bin/kconfigtest testDelete  # Fail

Reviewers: adridg, arichardson, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D14927
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
When /home is a symlink, for instance (as is often the case on FreeBSD),
group deletion would fail because KConfig was comparing non-canonical
paths with canonical-paths:

QDEBUG : KConfigTest::testDelete() Comparing "/home/adridg/.qttest/config/
kconfigtest_subdir/kconfigtest" and "/usr/home/adridg/.qttest/config/
kconfigtest_subdir/kconfigtest"

Test Plan:
mkdir /tmp/derp; ln -s /tmp/derp /tmp/drop
HOME=/tmp/derp bin/kconfigtest testDelete  # Success
HOME=/tmp/drop bin/kconfigtest testDelete  # Fail

Reviewers: adridg, arichardson, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D14927
</pre>
</div>
</content>
</entry>
<entry>
<title>KEmailSettings: Delete copy constructor and assignment operator</title>
<updated>2019-01-10T19:44:20+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2019-01-10T19:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=78da515c5deb984452524069cf7c62a6a68be626'/>
<id>78da515c5deb984452524069cf7c62a6a68be626</id>
<content type='text'>
Summary:
If someone was using them, it'd crash since it was raw-copying the d pointer
so you would end up with a double delete.

This is SIC, but IMHO it's fine, whoever gets a compiler failure has a bug to fix

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18135
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
If someone was using them, it'd crash since it was raw-copying the d pointer
so you would end up with a double delete.

This is SIC, but IMHO it's fine, whoever gets a compiler failure has a bug to fix

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18135
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix doxygen markup in KConfigWatcher</title>
<updated>2019-01-03T14:32:10+00:00</updated>
<author>
<name>David Edmundson</name>
<email>kde@davidedmundson.co.uk</email>
</author>
<published>2019-01-03T14:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=7c35ead1e025a8f546562d9720c9db95a6242fe0'/>
<id>7c35ead1e025a8f546562d9720c9db95a6242fe0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a regression introduced in 6a1852</title>
<updated>2018-12-30T12:17:49+00:00</updated>
<author>
<name>Jos van den Oever</name>
<email>jos@vandenoever.info</email>
</author>
<published>2018-12-29T17:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=f403d09d0b4958d151790f312ec998ef39632b1a'/>
<id>f403d09d0b4958d151790f312ec998ef39632b1a</id>
<content type='text'>
Summary:
Bytes from 'Strings' of type GroupString and KeyString should not be
escaped because they are valid UTF-8. Only instances of ValueString
should be escaped.

This fixes the failing test KConfigTest::testEncoding

Test Plan: Ran `ninja test` and found no errors.

Reviewers: dfaure, arichardson, apol, aacid, ngraham

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17856
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Bytes from 'Strings' of type GroupString and KeyString should not be
escaped because they are valid UTF-8. Only instances of ValueString
should be escaped.

This fixes the failing test KConfigTest::testEncoding

Test Plan: Ran `ninja test` and found no errors.

Reviewers: dfaure, arichardson, apol, aacid, ngraham

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17856
</pre>
</div>
</content>
</entry>
<entry>
<title>Escape bytes that are larger than or equal to 127 in config files</title>
<updated>2018-12-18T19:56:55+00:00</updated>
<author>
<name>Jos van den Oever</name>
<email>jos@vandenoever.info</email>
</author>
<published>2018-12-18T12:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=6a185285ae44ed182dbab9206b9092f78c7d3714'/>
<id>6a185285ae44ed182dbab9206b9092f78c7d3714</id>
<content type='text'>
Summary:
UserBase tells me that KDE configuration files are encoded in UTF-8.
https://userbase.kde.org/KDE_System_Administration/Configuration_Files

In practice some *rc files have bytes outside that encoding. In my home directory I found two files that are not valid UTF-8.

I searched with
    find ~/.config/ -name '*rc' -exec file {} +
which gives these exceptions:

akonadiconsolerc: Non-ISO extended-ASCII text, with very long lines
kmail2rc: Non-ISO extended-ASCII text, with very long lines

In kmail2rc, the offending fields are
[AttachmentView]/State
[CollectionFolderView]/HeaderState

Both are QByteArray values saved from QHeaderView::saveState().

In the instance I found, the offending bytes were 0x81 and 0x84.

akonadiconsolerc had way more of these values. All seem related to saving widget state and hence probably QByteArrays.

The written QByteArray values look very strange. The bytes in the non-printable ASCII range are written as \xXX but the values above 127 are written literally.

The encoding is done  by KConfigIniBackend::stringToPrintable. It does not currently escape bytes that are larger than  or equal to 127.

Reviewers: dfaure, arichardson, apol

Reviewed By: apol

Subscribers: apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17651
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
UserBase tells me that KDE configuration files are encoded in UTF-8.
https://userbase.kde.org/KDE_System_Administration/Configuration_Files

In practice some *rc files have bytes outside that encoding. In my home directory I found two files that are not valid UTF-8.

I searched with
    find ~/.config/ -name '*rc' -exec file {} +
which gives these exceptions:

akonadiconsolerc: Non-ISO extended-ASCII text, with very long lines
kmail2rc: Non-ISO extended-ASCII text, with very long lines

In kmail2rc, the offending fields are
[AttachmentView]/State
[CollectionFolderView]/HeaderState

Both are QByteArray values saved from QHeaderView::saveState().

In the instance I found, the offending bytes were 0x81 and 0x84.

akonadiconsolerc had way more of these values. All seem related to saving widget state and hence probably QByteArrays.

The written QByteArray values look very strange. The bytes in the non-printable ASCII range are written as \xXX but the values above 127 are written literally.

The encoding is done  by KConfigIniBackend::stringToPrintable. It does not currently escape bytes that are larger than  or equal to 127.

Reviewers: dfaure, arichardson, apol

Reviewed By: apol

Subscribers: apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17651
</pre>
</div>
</content>
</entry>
<entry>
<title>normalize signal/slot</title>
<updated>2018-11-04T22:13:53+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2018-11-04T22:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=6cb861e5cdf7bea1492d036ed529377a999857fc'/>
<id>6cb861e5cdf7bea1492d036ed529377a999857fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix logic error in NotifyFlag testing</title>
<updated>2018-10-15T15:04:58+00:00</updated>
<author>
<name>David Edmundson</name>
<email>kde@davidedmundson.co.uk</email>
</author>
<published>2018-10-15T15:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=8e07fa608a4eaeec6fbaaf234e3602e609738295'/>
<id>8e07fa608a4eaeec6fbaaf234e3602e609738295</id>
<content type='text'>
Notify was changed to 0x08 | Persistent as it implied the other flag
state. However this change was not updated in the test.

Reviewed-by: Kai Uwe Broulik
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Notify was changed to 0x08 | Persistent as it implied the other flag
state. However this change was not updated in the test.

Reviewed-by: Kai Uwe Broulik
</pre>
</div>
</content>
</entry>
</feed>
