<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/guiconfig.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>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>guiconfig: fix call re lib but not import it.(2)</title>
<updated>2025-10-21T08:19:19Z</updated>
<author>
<name>stranding</name>
<email>45762837+StrandingNeko@users.noreply.github.com</email>
</author>
<published>2025-10-20T12:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d127618797be49aa99271df6fa6cd93c533c89ab'/>
<id>urn:sha1:d127618797be49aa99271df6fa6cd93c533c89ab</id>
<content type='text'>
Co-authored-by: Torsten Tejlmand Rasmussen &lt;torsten.rasmussen@nordicsemi.no&gt;</content>
</entry>
<entry>
<title>guiconfig: fix call re lib but not import it.</title>
<updated>2025-10-21T08:19:19Z</updated>
<author>
<name>stranding</name>
<email>45762837+StrandingNeko@users.noreply.github.com</email>
</author>
<published>2025-04-11T17:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=04d165edf77436e1b11c734c18e5f9e2aefb8547'/>
<id>urn:sha1:04d165edf77436e1b11c734c18e5f9e2aefb8547</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use 'python3' instead of 'python' in hashbangs</title>
<updated>2020-01-24T20:33:47Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2020-01-24T20:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9e0a8d29fa76adcb3f27bb2e20f16fefc2a8591e'/>
<id>urn:sha1:9e0a8d29fa76adcb3f27bb2e20f16fefc2a8591e</id>
<content type='text'>
It's not obligatory for distributions to have a 'python' binary these
days, but 'python3' is likely to be available:
https://www.python.org/dev/peps/pep-0394/#for-python-runtime-distributors.
Change all hashbangs to point to 'python3'.

This will break running

    $ ./script.py

on *nix systems that don't have a 'python3' executable. Changing it to

    $ python script.py

is pretty painless at least.

This change won't break Python 2 when installing via 'pip', because
entry_points creates bounce scripts with their own hashbangs.

The major version will be increased, in case someone looks at the major
version but doesn't install via 'pip'.

Fixes: #89
</content>
</entry>
<entry>
<title>guiconfig: Shorten _sorted_sc_nodes() a bit</title>
<updated>2020-01-12T09:34:55Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2020-01-12T09:34:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=aff414dc82d22e25ab8673f27a8d9e0cb4298e5f'/>
<id>urn:sha1:aff414dc82d22e25ab8673f27a8d9e0cb4298e5f</id>
<content type='text'>
Makes it consistent with menuconfig.py.
</content>
</entry>
<entry>
<title>guiconfig: Check for visible nodes before turning off show-all in full-tree mode</title>
<updated>2019-10-10T08:37:54Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-10T08:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0f56dd918b022c84cba63a810c75a386a7fe38b3'/>
<id>urn:sha1:0f56dd918b022c84cba63a810c75a386a7fe38b3</id>
<content type='text'>
If there are no visible nodes in the entire tree, guiconfig
automatically starts in show-all mode. Previously, there was no check
for visible nodes when turning off show-all in full-tree mode in this
case, leading to errors.

Fix it by checking if there are any visible nodes in the top menu when
turning off show-all in full-tree mode. If there aren't, show-all stays
on.
</content>
</entry>
<entry>
<title>Convert standard_kconfig() to argparse for better feedback</title>
<updated>2019-10-10T08:07:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-10T07:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e016deb4bbfae014ada1808abaeeb30558cac209'/>
<id>urn:sha1:e016deb4bbfae014ada1808abaeeb30558cac209</id>
<content type='text'>
Stuff like this is not the pinnacle of helpful design, and hides that
the commands actually have long help texts (that can be viewed with
pydoc):

    $ ./menuconfig.py --help
    [Errno 2] No such file or directory: '--help'

Fix it by converting standard_kconfig() to argparse, and add a
'description' argument to it for the command-specific help text. --help
now shows the same help text shown by pydoc, and some other error
messages are improved as well.

Also fix some copy-paste errors and outdated paths in the help texts for
the all*config commands.
</content>
</entry>
<entry>
<title>menuconfig/guiconfig: Print 'default:' with no 's' if there's just one</title>
<updated>2019-08-03T14:19:24Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-08-03T14:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a4b57753443fcb65f3c4042c551e083975d9537b'/>
<id>urn:sha1:a4b57753443fcb65f3c4042c551e083975d9537b</id>
<content type='text'>
Most common case, and makes the symbol info read better.
</content>
</entry>
</feed>
