<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/src/kconfig_compiler, branch v5.52.0</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>Remove unused variable</title>
<updated>2018-11-02T21:37:55+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2018-11-02T21:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=d5c5113e8ea18ec0de70eb9edf286e4dac7109e9'/>
<id>d5c5113e8ea18ec0de70eb9edf286e4dac7109e9</id>
<content type='text'>
Reviewers: svuorela

Reviewed By: svuorela

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D16565
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: svuorela

Reviewed By: svuorela

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D16565
</pre>
</div>
</content>
</entry>
<entry>
<title>kcfg_compiler now documents valid inputs for its 'Color' type</title>
<updated>2018-09-17T15:19:19+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2018-09-17T13:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=39cdcdf6c1d503d0c72da3a854195af393dd0fae'/>
<id>39cdcdf6c1d503d0c72da3a854195af393dd0fae</id>
<content type='text'>
Summary:
it wasn't exactly clear what the inputs for a Color type may be. this is
now explained along with special type descriptions. it isn't perfectly
ideal here since it is a bit hard to find, but better be hard to find
than not documented at all.

from a quick glance at the code indeed anything goes that QColor can
construct from a QString. there is also custom regex code in the compiler
that allows construction from r,g,b,a via the appropriate ctor of qcolor.

Reviewers: broulik

Reviewed By: broulik

Subscribers: broulik, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D15576
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
it wasn't exactly clear what the inputs for a Color type may be. this is
now explained along with special type descriptions. it isn't perfectly
ideal here since it is a bit hard to find, but better be hard to find
than not documented at all.

from a quick glance at the code indeed anything goes that QColor can
construct from a QString. there is also custom regex code in the compiler
that allows construction from r,g,b,a via the appropriate ctor of qcolor.

Reviewers: broulik

Reviewed By: broulik

Subscribers: broulik, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D15576
</pre>
</div>
</content>
</entry>
<entry>
<title>whitespace cleanup</title>
<updated>2018-09-17T13:40:03+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2018-09-17T13:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=15ab4ca9678b3cf6d5cc67f6fca62d85dbee5c83'/>
<id>15ab4ca9678b3cf6d5cc67f6fca62d85dbee5c83</id>
<content type='text'>
SCM_SILENT
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SCM_SILENT
</pre>
</div>
</content>
</entry>
<entry>
<title>kcfg.xsd - do not require a kcfgfile element</title>
<updated>2018-05-07T17:01:07+00:00</updated>
<author>
<name>Allen Winter</name>
<email>winter@kde.org</email>
</author>
<published>2018-05-07T16:59:47+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=dba6d83ee412cccaefeb5701695f72358b8076e3'/>
<id>dba6d83ee412cccaefeb5701695f72358b8076e3</id>
<content type='text'>
Differential Revision: https://phabricator.kde.org/D7415
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://phabricator.kde.org/D7415
</pre>
</div>
</content>
</entry>
<entry>
<title>Use override</title>
<updated>2018-05-04T11:59:17+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2018-05-04T11:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=3985f2a051914af249f219b79a8e062016f299cc'/>
<id>3985f2a051914af249f219b79a8e062016f299cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove not necessary QtCore and co</title>
<updated>2018-03-11T12:36:48+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2018-03-11T12:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=610fe76bac95b7eb9f1fa44d05e4b4040707304f'/>
<id>610fe76bac95b7eb9f1fa44d05e4b4040707304f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow to build KConfig without Qt5Gui</title>
<updated>2017-08-04T16:54:42+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2017-07-30T13:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=ba75a6c6a0231f93fd40480992beec46b0f64885'/>
<id>ba75a6c6a0231f93fd40480992beec46b0f64885</id>
<content type='text'>
Summary:
This is particularly useful for cross-compilation, where we only need the
kconfig_compiler on the host system.

Reviewers: #frameworks, apol, aacid

Reviewed By: aacid

Subscribers: aacid

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6994
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This is particularly useful for cross-compilation, where we only need the
kconfig_compiler on the host system.

Reviewers: #frameworks, apol, aacid

Reviewed By: aacid

Subscribers: aacid

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6994
</pre>
</div>
</content>
</entry>
<entry>
<title>Use nullptr everywhere</title>
<updated>2017-01-16T08:44:17+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-01-16T08:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=f83b4b191d627b010192e0715536cb57c25519fb'/>
<id>f83b4b191d627b010192e0715536cb57c25519fb</id>
<content type='text'>
Differential Revision: https://phabricator.kde.org/D3987
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://phabricator.kde.org/D3987
</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://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] 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://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>
</feed>
