<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/autotests/kconfig_compiler, branch v5.35.0</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>tests: use QIODevice::Text in kconfigcompiler_test</title>
<updated>2017-05-25T22:57:35+00:00</updated>
<author>
<name>Pino Toscano</name>
<email>pino@kde.org</email>
</author>
<published>2017-05-25T22:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=1fad6902629191558e53ea9b58a8a67a0bfc9440'/>
<id>1fad6902629191558e53ea9b58a8a67a0bfc9440</id>
<content type='text'>
This way, different newline endings in OSes are handled as \n when
reading, and thus fixing the comparison on non-\n OSes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way, different newline endings in OSes are handled as \n when
reading, and thus fixing the comparison on non-\n OSes.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use right QProcess API in kconfigcompiler_test</title>
<updated>2017-05-25T22:40:20+00:00</updated>
<author>
<name>Pino Toscano</name>
<email>pino@kde.org</email>
</author>
<published>2017-05-25T22:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=97ec146bd109109ac11e3c573625b47bfa4fd4ff'/>
<id>97ec146bd109109ac11e3c573625b47bfa4fd4ff</id>
<content type='text'>
Use the QProcess::start() variant with explicit (empty, in this case)
arguments, so the program string is not parsed as shell command, thus
preserving paths with spaces as such.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the QProcess::start() variant with explicit (empty, in this case)
arguments, so the program string is not parsed as shell command, thus
preserving paths with spaces as such.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer nullptr over Q_NULLPTR</title>
<updated>2017-01-16T17:17:34+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-01-16T17:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=2034e3ce7593f04d251b634bfe2d71b30f15ea3a'/>
<id>2034e3ce7593f04d251b634bfe2d71b30f15ea3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>This should now use nullptr</title>
<updated>2017-01-08T16:23:38+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-01-08T16:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=d3de5a2a79d2786207d0cfbbc9828e00dabd148d'/>
<id>d3de5a2a79d2786207d0cfbbc9828e00dabd148d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate an instance with KSharedConfig::Ptr for singleton and arg</title>
<updated>2017-01-06T08:52:45+00:00</updated>
<author>
<name>Martin Gräßlin</name>
<email>mgraesslin@kde.org</email>
</author>
<published>2016-11-16T13:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=e0db2422362260a2fea3a8e1de4c64011d2f183d'/>
<id>e0db2422362260a2fea3a8e1de4c64011d2f183d</id>
<content type='text'>
Summary:
In case a kcfg with arg="true" was used and singleton the static
instance method only accepted a QString config name. This made it
impossible to combine a singleton config with an already existing and
open KSharedConfig::Ptr.

With this change an overloaded instance method is added which takes a
KSharedConfig::Ptr as argument. The private ctor, though, only takes a
KSharedConfig::Ptr and the instance method taking a QString argument
uses KSharedConfig::openConfig on the config file name.

The change is source-incompatible in the following situation:
* kcfgfile arg="true"
* Singleton = true
* Inherits is specified

In this situation the previous revision created an instance method with
a QString argument and passed that to the parent constructor. This is
not in accordance with the documentation. Any user of this behavior was
relying on a bug. With this change now the call to the parent
constructor carries a KSharedConfigPtr.

Test Plan:
kconfigcompiler tests still pass and a config with singleton
and arg="true" generates the code as I need it

Reviewers: #frameworks, dfaure, mdawson

Differential Revision: https://phabricator.kde.org/D3690
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
In case a kcfg with arg="true" was used and singleton the static
instance method only accepted a QString config name. This made it
impossible to combine a singleton config with an already existing and
open KSharedConfig::Ptr.

With this change an overloaded instance method is added which takes a
KSharedConfig::Ptr as argument. The private ctor, though, only takes a
KSharedConfig::Ptr and the instance method taking a QString argument
uses KSharedConfig::openConfig on the config file name.

The change is source-incompatible in the following situation:
* kcfgfile arg="true"
* Singleton = true
* Inherits is specified

In this situation the previous revision created an instance method with
a QString argument and passed that to the parent constructor. This is
not in accordance with the documentation. Any user of this behavior was
relying on a bug. With this change now the call to the parent
constructor carries a KSharedConfigPtr.

Test Plan:
kconfigcompiler tests still pass and a config with singleton
and arg="true" generates the code as I need it

Reviewers: #frameworks, dfaure, mdawson

Differential Revision: https://phabricator.kde.org/D3690
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig_compiler: Use nullptr in generated code</title>
<updated>2016-12-16T11:45:40+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2016-12-16T11:35:32+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=e6c88f67e2cb660e049a478a8d55220c235aa9c5'/>
<id>e6c88f67e2cb660e049a478a8d55220c235aa9c5</id>
<content type='text'>
Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Differential Revision: https://phabricator.kde.org/D3702
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Differential Revision: https://phabricator.kde.org/D3702
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Generate an instance with KSharedConfig::Ptr for singleton and arg"</title>
<updated>2016-12-07T08:29:38+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2016-12-07T08:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=4f9d7dde3a06da26d93e8f7ec98a283111a2d8c9'/>
<id>4f9d7dde3a06da26d93e8f7ec98a283111a2d8c9</id>
<content type='text'>
This reverts commit cd4e6504dfbdface00037625f0cedda511e6d839.

As suggested by Martin on release-team@kde.org, given that it breaks SC.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit cd4e6504dfbdface00037625f0cedda511e6d839.

As suggested by Martin on release-team@kde.org, given that it breaks SC.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[autotest] Fix stupidity"</title>
<updated>2016-12-07T08:29:27+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2016-12-07T08:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=ebcaf997ca4e7cf687604ccb081d577f87b08008'/>
<id>ebcaf997ca4e7cf687604ccb081d577f87b08008</id>
<content type='text'>
This reverts commit 71f16741a0288d8587876dcc7dbb33ba8f00546a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 71f16741a0288d8587876dcc7dbb33ba8f00546a.
</pre>
</div>
</content>
</entry>
<entry>
<title>[autotest] Fix stupidity</title>
<updated>2016-12-02T18:45:17+00:00</updated>
<author>
<name>Martin Gräßlin</name>
<email>mgraesslin@kde.org</email>
</author>
<published>2016-12-02T18:45:17+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=71f16741a0288d8587876dcc7dbb33ba8f00546a'/>
<id>71f16741a0288d8587876dcc7dbb33ba8f00546a</id>
<content type='text'>
Sorry.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sorry.
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate an instance with KSharedConfig::Ptr for singleton and arg</title>
<updated>2016-12-02T18:04:13+00:00</updated>
<author>
<name>Martin Gräßlin</name>
<email>mgraesslin@kde.org</email>
</author>
<published>2016-11-16T13:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=cd4e6504dfbdface00037625f0cedda511e6d839'/>
<id>cd4e6504dfbdface00037625f0cedda511e6d839</id>
<content type='text'>
Summary:
In case a kcfg with arg="true" was used and singleton the static
instance method only accepted a QString config name. This made it
impossible to combine a singleton config with an already existing and
open KSharedConfig::Ptr.

With this change an overloaded instance method is added which takes a
KSharedConfig::Ptr as argument. The private ctor, though, only takes a
KSharedConfig::Ptr and the instance method taking a QString argument
uses KSharedConfig::openConfig on the config file name.

This provides full API compatibility and at the same time allows to use
KSharedConfig in addition to the arg name based variant.

Test Plan:
kconfigcompiler tests still pass and a config with singleton
and arg="true" generates the code as I need it

Reviewers: #frameworks

Differential Revision: https://phabricator.kde.org/D3386
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
In case a kcfg with arg="true" was used and singleton the static
instance method only accepted a QString config name. This made it
impossible to combine a singleton config with an already existing and
open KSharedConfig::Ptr.

With this change an overloaded instance method is added which takes a
KSharedConfig::Ptr as argument. The private ctor, though, only takes a
KSharedConfig::Ptr and the instance method taking a QString argument
uses KSharedConfig::openConfig on the config file name.

This provides full API compatibility and at the same time allows to use
KSharedConfig in addition to the arg name based variant.

Test Plan:
kconfigcompiler tests still pass and a config with singleton
and arg="true" generates the code as I need it

Reviewers: #frameworks

Differential Revision: https://phabricator.kde.org/D3386
</pre>
</div>
</content>
</entry>
</feed>
