<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch main</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=main</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2026-02-02T07:22:15Z</updated>
<entry>
<title>drop support for Python 2.x as it is very much EOL</title>
<updated>2026-02-02T07:22:15Z</updated>
<author>
<name>Benjamin Cabé</name>
<email>benjamin@zephyrproject.org</email>
</author>
<published>2025-10-23T15:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=24aef157aead07f813f874f43ee471b057e622cb'/>
<id>urn:sha1:24aef157aead07f813f874f43ee471b057e622cb</id>
<content type='text'>
A follow-up to b96a5ad562deffa697d966c29546650aae645f48 where we stopped
having CI run tests on Python 2.x. This actually drops the few remaining
Python 2.x compatibility bits as Python 2.x has EOL'd a long time ago.

Signed-off-by: Benjamin Cabé &lt;benjamin@zephyrproject.org&gt;
Signed-off-by: Torsten Rasmussen &lt;Torsten.Rasmussen@nordicsemi.no&gt;
</content>
</entry>
<entry>
<title>kconfiglib: Fix file leaks</title>
<updated>2025-10-28T08:03:31Z</updated>
<author>
<name>Declan Snyder</name>
<email>declan.snyder@nxp.com</email>
</author>
<published>2025-10-23T21:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9b1ae7845300bf248cf5ba71837791eb2141f195'/>
<id>urn:sha1:9b1ae7845300bf248cf5ba71837791eb2141f195</id>
<content type='text'>
Fixing a couple cases of a programming error where a file is not closed
in case of an exception, which was causing resource leak warnings in
some cases when encountering a kconfig error.

Signed-off-by: Declan Snyder &lt;declan.snyder@nxp.com&gt;
Signed-off-by: Benjamin Cabé &lt;benjamin@zephyrproject.org&gt;
</content>
</entry>
<entry>
<title>kconfiglib: check empty strings on macro expansion</title>
<updated>2025-10-21T13:57:55Z</updated>
<author>
<name>Leandro Lanzieri</name>
<email>leandro.lanzieri@haw-hamburg.de</email>
</author>
<published>2024-08-26T10:19:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c3f78659b886f81b7b5898497c9aa94dc634aef2'/>
<id>urn:sha1:c3f78659b886f81b7b5898497c9aa94dc634aef2</id>
<content type='text'>
During macro expansion, bare macros on a line are accepted by the parser
as long as they resolve to blank strings. The problem is that the script
is currently checking using isspace, so it's actually not checking for
blank strings.

This causes the parsing to fail when a macro is the last line of a file,
and no newline character is added afterwards. This patch adds a check for
the string itself being empty.
</content>
</entry>
<entry>
<title>Add rudimentary support for modules property</title>
<updated>2025-10-21T08:43:54Z</updated>
<author>
<name>Helmut Grohne</name>
<email>helmut.grohne@intenta.de</email>
</author>
<published>2022-04-21T08:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=82fdbdac5aab969853fe15ee7ad0c24a3fe72b0d'/>
<id>urn:sha1:82fdbdac5aab969853fe15ee7ad0c24a3fe72b0d</id>
<content type='text'>
In linux commit 6dd85ff178cd76851e2184b13e545f5a88d1be30, Linux Torvalds
changed "option modules" to plain "modules" since it was the only option
left. kconfiglib does not have much support for either besides parsing
it and suppressing warnings when it is applied to the 'MODULES' symbol.
Mirror this behaviour for the newer "modules" property.

Fixes: #106
</content>
</entry>
<entry>
<title>kconfiglib: track origin for symbol values</title>
<updated>2025-10-20T10:34:58Z</updated>
<author>
<name>Luca Burelli</name>
<email>l.burelli@arduino.cc</email>
</author>
<published>2025-09-18T11:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f58717e3ccec4caa8c5c4bb7a1e731d5bbc9728e'/>
<id>urn:sha1:f58717e3ccec4caa8c5c4bb7a1e731d5bbc9728e</id>
<content type='text'>
Track information about what caused a value to be set in the 'origin'
property of Symbol. 'imply' and 'select' dependencies do not have a
location associated with them, so in those cases the location is
a string representation of the dependency expression. For defaults and
user values, the location in the Kconfig file is stored.

Signed-off-by: Luca Burelli &lt;l.burelli@arduino.cc&gt;
</content>
</entry>
<entry>
<title>kconfiglib: add loc to reverse dependencies</title>
<updated>2025-10-20T10:34:58Z</updated>
<author>
<name>Luca Burelli</name>
<email>l.burelli@arduino.cc</email>
</author>
<published>2025-09-18T11:24:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0276d10353867a04825c2a52ca3f9a9c303de196'/>
<id>urn:sha1:0276d10353867a04825c2a52ca3f9a9c303de196</id>
<content type='text'>
Store the location (filename and line number) where a 'select', 'imply',
'range' or 'default' was added to a Symbol or Choice.

Signed-off-by: Luca Burelli &lt;l.burelli@arduino.cc&gt;
</content>
</entry>
<entry>
<title>kconfiglib: add 'user_loc' to Symbol and Choice classes</title>
<updated>2025-10-20T10:34:58Z</updated>
<author>
<name>Luca Burelli</name>
<email>l.burelli@arduino.cc</email>
</author>
<published>2025-09-18T10:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8528da956b269f3b207e7a7576de7a614b73593b'/>
<id>urn:sha1:8528da956b269f3b207e7a7576de7a614b73593b</id>
<content type='text'>
The 'user_loc' stores the location (filename and line number) where a
symbol or choice was last set via a direct user selection.

Signed-off-by: Luca Burelli &lt;l.burelli@arduino.cc&gt;
</content>
</entry>
<entry>
<title>kconfiglib: refactor Kconfig._warn() to use 'loc'</title>
<updated>2025-10-20T10:34:58Z</updated>
<author>
<name>Luca Burelli</name>
<email>l.burelli@arduino.cc</email>
</author>
<published>2025-09-18T10:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=78b5ec78b8761409315f7b3f5406424f2720122d'/>
<id>urn:sha1:78b5ec78b8761409315f7b3f5406424f2720122d</id>
<content type='text'>
Replace filename and linenr parameters to _warn() with a single loc
element, which is a constant (filename, linenr) tuple that can be more
efficiently passed and stored.

Signed-off-by: Luca Burelli &lt;l.burelli@arduino.cc&gt;
</content>
</entry>
<entry>
<title>kconfiglib: node: add 'loc' attribute</title>
<updated>2025-10-20T10:34:58Z</updated>
<author>
<name>Luca Burelli</name>
<email>l.burelli@arduino.cc</email>
</author>
<published>2025-09-18T09:58:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2472ba7ebb045150cfeed1b4f6539a14c2248afb'/>
<id>urn:sha1:2472ba7ebb045150cfeed1b4f6539a14c2248afb</id>
<content type='text'>
Replace 'filename' and 'linenr' usages with a single 'loc' attribute,
which is a (filename, linenr) tuple. This simplifies code dealing with
locations, and makes it explicitly constant. The original attributes are
now provided via properties for compatibility.

Signed-off-by: Luca Burelli &lt;l.burelli@arduino.cc&gt;
</content>
</entry>
<entry>
<title>Update various outdated links and contact information</title>
<updated>2024-10-04T00:10:07Z</updated>
<author>
<name>Stephanos Ioannidis</name>
<email>root@stephanos.io</email>
</author>
<published>2024-10-03T16:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0f321f8c29b2b4b43fc2875573b27d6d77638f1d'/>
<id>urn:sha1:0f321f8c29b2b4b43fc2875573b27d6d77638f1d</id>
<content type='text'>
This commit updates various outdated links and contact information
throughout the repository.

Signed-off-by: Stephanos Ioannidis &lt;root@stephanos.io&gt;
</content>
</entry>
</feed>
