<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git, 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-02T10:16:32Z</updated>
<entry>
<title>ci: Disable macos-13 runner</title>
<updated>2026-02-02T10:16:32Z</updated>
<author>
<name>Torsten Rasmussen</name>
<email>Torsten.Rasmussen@nordicsemi.no</email>
</author>
<published>2026-02-02T07:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a74dfcfaf14ea8a22866df725e757d7c901255dd'/>
<id>urn:sha1:a74dfcfaf14ea8a22866df725e757d7c901255dd</id>
<content type='text'>
macos-13 runner has been retired.
macos-14 runner has only Python 3.10 and newer.

This commit disables macos-13 runner and thus also Python 3.9 testing
on macOS.

Signed-off-by: Torsten Rasmussen &lt;Torsten.Rasmussen@nordicsemi.no&gt;
</content>
</entry>
<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>guiconfig: Add dark mode</title>
<updated>2025-12-04T13:52:35Z</updated>
<author>
<name>Yves Wang</name>
<email>zhengjia.wang@nxp.com</email>
</author>
<published>2025-11-27T08:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ffb54593b899c42fe70e55d26e02d4cd4a9ca53d'/>
<id>urn:sha1:ffb54593b899c42fe70e55d26e02d4cd4a9ca53d</id>
<content type='text'>
TK under Windows/Linux did not have a native support for dark mode.

Signed-off-by: Yves Wang &lt;zhengjia.wang@nxp.com&gt;
</content>
</entry>
<entry>
<title>scripts: kconfig: gnuconfig: Ignore loc</title>
<updated>2025-11-04T13:38:55Z</updated>
<author>
<name>Yasushi SHOJI</name>
<email>yashi@spacecubics.com</email>
</author>
<published>2025-10-30T17:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=601f63d035ba355fefb69387de1a9bc5cc2201ab'/>
<id>urn:sha1:601f63d035ba355fefb69387de1a9bc5cc2201ab</id>
<content type='text'>
The commit 125d0daaa17aa added 'loc' to the sym.ranges tuples and fixed
kconfiglib.py but guiconfig.py is left untouched. This make menuconfig to
die with:

  Exception in Tkinter callback
  Traceback (most recent call last):
    File "/usr/lib/python3.13/tkinter/__init__.py", line 2077, in __call__
      return self.func(*args)
             ~~~~~~~~~^^^^^^^
    File ".../scripts/kconfig/guiconfig.py", line 917, in _tree_double_click
      return _tree_enter(event)
    File ".../scripts/kconfig/guiconfig.py", line 942, in _tree_enter
      _change_node(node, tree.winfo_toplevel())
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File ".../scripts/kconfig/guiconfig.py", line 1125, in _change_node
      s = _set_val_dialog(node, parent)
    File ".../scripts/kconfig/guiconfig.py", line 1219, in _set_val_dialog
      range_info = _range_info(sym)
    File ".../scripts/kconfig/guiconfig.py", line 1339, in _range_info
      for low, high, cond in sym.ranges:
          ^^^^^^^^^^^^^^^
  ValueError: too many values to unpack (expected 3)

This commit ignores the last element in the tuples.

Signed-off-by: Yasushi SHOJI &lt;yashi@spacecubics.com&gt;
</content>
</entry>
<entry>
<title>scripts: kconfig: menuconfig: Ignore loc</title>
<updated>2025-11-04T13:38:55Z</updated>
<author>
<name>Yasushi SHOJI</name>
<email>yashi@spacecubics.com</email>
</author>
<published>2025-10-30T17:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6eae2bfd385fd7311aaa0f197f1a5060af5d7693'/>
<id>urn:sha1:6eae2bfd385fd7311aaa0f197f1a5060af5d7693</id>
<content type='text'>
The commit 125d0daaa17aa added 'loc' to the sym.ranges tuples and fixed
kconfiglib.py but menuconfig.py is left untouched. This make menuconfig to
die with:

  Traceback (most recent call last):
    File ".../scripts/kconfig/menuconfig.py", line 3284, in &lt;module&gt;
      _main()
      ~~~~~^^
    File ".../scripts/kconfig/menuconfig.py", line 663, in _main
      menuconfig(standard_kconfig(__doc__))
      ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File ".../scripts/kconfig/menuconfig.py", line 732, in menuconfig
      print(curses.wrapper(_menuconfig))
            ~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.13/curses/__init__.py", line 94, in wrapper
      return func(stdscr, *args, **kwds)
    File ".../scripts/kconfig/menuconfig.py", line 872, in _menuconfig
      _change_node(sel_node)
      ~~~~~~~~~~~~^^^^^^^^^^
    File ".../scripts/kconfig/menuconfig.py", line 1586, in _change_node
      s, _range_info(sc))
         ~~~~~~~~~~~^^^^
    File ".../scripts/kconfig/menuconfig.py", line 3119, in _range_info
      for low, high, cond in sym.ranges:
          ^^^^^^^^^^^^^^^
  ValueError: too many values to unpack (expected 3)

This commit ignores the last element in the tuples.

Signed-off-by: Yasushi SHOJI &lt;yashi@spacecubics.com&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>fix crash caused by unsupported locales</title>
<updated>2025-10-21T18:34:23Z</updated>
<author>
<name>Iksas</name>
<email>iksas@mailbox.org</email>
</author>
<published>2024-08-14T19:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1e6f6441222b756ec0fce46fe60752473e57bc4a'/>
<id>urn:sha1:1e6f6441222b756ec0fce46fe60752473e57bc4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: check if current menu is visible in parent when leaving</title>
<updated>2025-10-21T18:33:24Z</updated>
<author>
<name>Leandro Lanzieri</name>
<email>leandro.lanzieri@haw-hamburg.de</email>
</author>
<published>2025-10-21T13:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0380400353870974eef82c5ffccd2efb39928370'/>
<id>urn:sha1:0380400353870974eef82c5ffccd2efb39928370</id>
<content type='text'>
This handles a case of leaving a menu which is not shown by the parent menu.
This might occur, for instance, when searching for the symbol of a named choice,
which is extended by an invisible symbol somewhere else.
</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>scripts: menuconfig: proper handling of NULL character as input</title>
<updated>2025-10-21T12:31:14Z</updated>
<author>
<name>Torsten Rasmussen</name>
<email>Torsten.Rasmussen@nordicsemi.no</email>
</author>
<published>2021-03-15T16:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=407b92b8e35601d1f4a2a2925996bf4d61b2f5cd'/>
<id>urn:sha1:407b92b8e35601d1f4a2a2925996bf4d61b2f5cd</id>
<content type='text'>
Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/33212

Ignoring when user inputs NULL in a text field.
menuconfig exits with a python stack trace if NULL is provided as input
character, therefore ignore NULL as an input character to prevent this
behaviour.

A NULL character may be given accidentally by the user through the
following ways:
- Pressing `Win` key on keyboard (Windows only)
- Pressing `&lt;CTRL&gt;-@` / `&lt;CTRL&gt;-2`.

Signed-off-by: Torsten Rasmussen &lt;Torsten.Rasmussen@nordicsemi.no&gt;
</content>
</entry>
</feed>
