<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/src, branch v5.30.0-rc1</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/'/>
<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>Fix build with CMP 0026 set to NEW</title>
<updated>2017-01-03T14:39:11+00:00</updated>
<author>
<name>Sven Brauch</name>
<email>mail@svenbrauch.de</email>
</author>
<published>2017-01-03T14:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=72cc5afbdf8acc6505d7ee382cd3a00aca63df9b'/>
<id>72cc5afbdf8acc6505d7ee382cd3a00aca63df9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Q_ENUMS -&gt; Q_ENUM and Q_FLAGS -&gt; Q_FLAG</title>
<updated>2017-01-02T14:52:51+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2017-01-02T14:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=383bb299f4694d2609036b8061316ae4b80e3f75'/>
<id>383bb299f4694d2609036b8061316ae4b80e3f75</id>
<content type='text'>
REVIEW: 129745
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
REVIEW: 129745
</pre>
</div>
</content>
</entry>
<entry>
<title>SVN_SILENT made messages (.desktop file) - always resolve ours</title>
<updated>2016-12-21T04:46:48+00:00</updated>
<author>
<name>l10n daemon script</name>
<email>scripty@kde.org</email>
</author>
<published>2016-12-21T04:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=9d5b64f16243d14e27402be23224f08cd8420bbe'/>
<id>9d5b64f16243d14e27402be23224f08cd8420bbe</id>
<content type='text'>
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
</pre>
</div>
</content>
</entry>
<entry>
<title>SVN_SILENT made messages (.desktop file) - always resolve ours</title>
<updated>2016-12-20T11:50:08+00:00</updated>
<author>
<name>l10n daemon script</name>
<email>scripty@kde.org</email>
</author>
<published>2016-12-20T11:50:08+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=f86f153a8050c9337e0f6c7b84171f50474df3b1'/>
<id>f86f153a8050c9337e0f6c7b84171f50474df3b1</id>
<content type='text'>
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
</pre>
</div>
</content>
</entry>
<entry>
<title>[kconfig_compiler] Improve documentation about Inherits</title>
<updated>2016-12-17T08:49:46+00:00</updated>
<author>
<name>Martin Gräßlin</name>
<email>mgraesslin@kde.org</email>
</author>
<published>2016-12-10T18:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=b4206d635444580bd00a0e7dabd939d86134ee72'/>
<id>b4206d635444580bd00a0e7dabd939d86134ee72</id>
<content type='text'>
Summary:
Better specify the requirements the parent class needs to have.
KConfigCompiler generates different variants of ctors taking either:
 * a QStringLiteral argument (name set in &lt;kcfgfile&gt;
 * a KSharedConfig::Ptr argument (arg="true" in &lt;kcfgfile&gt;)
 * no argument (Inherits=true in kcfgc and no &lt;kcfgfile&gt;)

In order to have Inherits generate compiling code in all cases the
parent class needs to provide accessible ctors.

This change updates the docuementation to reflect this.

Reviewers: #frameworks, dfaure

Differential Revision: https://phabricator.kde.org/D3636
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Better specify the requirements the parent class needs to have.
KConfigCompiler generates different variants of ctors taking either:
 * a QStringLiteral argument (name set in &lt;kcfgfile&gt;
 * a KSharedConfig::Ptr argument (arg="true" in &lt;kcfgfile&gt;)
 * no argument (Inherits=true in kcfgc and no &lt;kcfgfile&gt;)

In order to have Inherits generate compiling code in all cases the
parent class needs to provide accessible ctors.

This change updates the docuementation to reflect this.

Reviewers: #frameworks, dfaure

Differential Revision: https://phabricator.kde.org/D3636
</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>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>
<entry>
<title>Properly test environment variable</title>
<updated>2016-11-17T11:16:36+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2016-11-08T23:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=49203c61c7b6fc9629e85b118bdfcd1c468287ca'/>
<id>49203c61c7b6fc9629e85b118bdfcd1c468287ca</id>
<content type='text'>
Summary: use qEnvironmentVariableIsSet instead of qgetenv().isEmpty()

Reviewers: #frameworks, sebas, sitter

Reviewed By: sebas, sitter

Differential Revision: https://phabricator.kde.org/D3314
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: use qEnvironmentVariableIsSet instead of qgetenv().isEmpty()

Reviewers: #frameworks, sebas, sitter

Reviewed By: sebas, sitter

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