<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/autotests, branch v5.61.0-rc1</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>Add Notify capability to KConfigXT</title>
<updated>2019-04-24T14:21:29+00:00</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2019-04-24T14:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=5d2ed13479a480111355657bf22324118fa576e9'/>
<id>5d2ed13479a480111355657bf22324118fa576e9</id>
<content type='text'>
Lets you specify Notifiers= in .kcfg for config entries that should be written with Notify flag,
i.e. announce the change to KConfigWatcher

Differential Revision: https://phabricator.kde.org/D20196
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lets you specify Notifiers= in .kcfg for config entries that should be written with Notify flag,
i.e. announce the change to KConfigWatcher

Differential Revision: https://phabricator.kde.org/D20196
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Notify capability to revertToDefault</title>
<updated>2019-04-01T08:28:02+00:00</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2019-04-01T08:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=cad4889e490f4376849744ec6ab3c84c71807706'/>
<id>cad4889e490f4376849744ec6ab3c84c71807706</id>
<content type='text'>
This enables KConfigWatcher to detect those changes, too.

Differential Revision: https://phabricator.kde.org/D20039
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables KConfigWatcher to detect those changes, too.

Differential Revision: https://phabricator.kde.org/D20039
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig_compiler: new kcfgc args HeaderExtension &amp; SourceExtension</title>
<updated>2019-03-15T05:55:13+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2019-03-06T12:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=a3ed87ca7808363d8752f919617f88010ebf46b3'/>
<id>a3ed87ca7808363d8752f919617f88010ebf46b3</id>
<content type='text'>
Summary:
When using kconfig_compiler generated sources in projects where the used
file extensions for C++ files are not ".h" and/or ".cpp", the include for
the generated header looks a bit alien to the project, as well as the
generated source file if one looks closer at it.

This code adds new optional flags HeaderExtension &amp; SourceExtension which
can be used to control the file extensions used for the generated files.

Test Plan:
All unit tests and the new test_fileextensions pass, existing projects using
kcfg without &amp; with the new flags build fine.

Reviewers: #frameworks, apol

Reviewed By: apol

Subscribers: apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19565
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
When using kconfig_compiler generated sources in projects where the used
file extensions for C++ files are not ".h" and/or ".cpp", the include for
the generated header looks a bit alien to the project, as well as the
generated source file if one looks closer at it.

This code adds new optional flags HeaderExtension &amp; SourceExtension which
can be used to control the file extensions used for the generated files.

Test Plan:
All unit tests and the new test_fileextensions pass, existing projects using
kcfg without &amp; with the new flags build fine.

Reviewers: #frameworks, apol

Reviewed By: apol

Subscribers: apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19565
</pre>
</div>
</content>
</entry>
<entry>
<title>[Kconfig] Compile without foreach</title>
<updated>2019-03-03T08:32:34+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2019-02-26T06:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=38b51667b5ba74fc5a28172e251c9ba4c0398e32'/>
<id>38b51667b5ba74fc5a28172e251c9ba4c0398e32</id>
<content type='text'>
Summary: compile without foreach

Test Plan: Unittest Ok as previously

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: compile without foreach

Test Plan: Unittest Ok as previously

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19326
</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_compiler: delete the assignment operator and copy constructor</title>
<updated>2019-01-10T20:03:36+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2019-01-10T19:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=601faf2ad9d4c4ed94c5b753461388a1da32ddf3'/>
<id>601faf2ad9d4c4ed94c5b753461388a1da32ddf3</id>
<content type='text'>
Summary:
of the generated class that has a pointer and raw copy would be bad.

Those generated classes are internal and nobody would probably have this, but being safe never hurts

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18136
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
of the generated class that has a pointer and raw copy would be bad.

Those generated classes are internal and nobody would probably have this, but being safe never hurts

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18136
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build without D-Bus</title>
<updated>2018-12-28T10:12:34+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2018-12-28T10:12:34+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=d90a37b5a1d892d7b0ff7cc3b56c8a6e8c4bfe1a'/>
<id>d90a37b5a1d892d7b0ff7cc3b56c8a6e8c4bfe1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deduplicate reference value</title>
<updated>2018-12-18T23:35:06+00:00</updated>
<author>
<name>Jos van den Oever</name>
<email>jos@vandenoever.info</email>
</author>
<published>2018-12-18T23:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=16691c2742a8eddad217baea237c628a5b9237c6'/>
<id>16691c2742a8eddad217baea237c628a5b9237c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded qWarning</title>
<updated>2018-12-18T23:26:18+00:00</updated>
<author>
<name>Jos van den Oever</name>
<email>jos@vandenoever.info</email>
</author>
<published>2018-12-18T23:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=16eea19c5b79efe75ef8b223b107a234e54f918e'/>
<id>16eea19c5b79efe75ef8b223b107a234e54f918e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
</feed>
