<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.35.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.35.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.35.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-12-24T18:47:35Z</updated>
<entry>
<title>menuconfig: Prompt for save if a different .config would be saved</title>
<updated>2018-12-24T18:47:35Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-12-23T19:40:48Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3a3559fd094567bac218e9478f1b7e48656d6f85'/>
<id>urn:sha1:3a3559fd094567bac218e9478f1b7e48656d6f85</id>
<content type='text'>
Previously, menuconfig.py only prompted for saving the configuration if
.config didn't exist or the user changed symbol values within the
interface.

Also make it prompt for save if Kconfig symbols have been added,
removed, or have had their defaults changed, provided it would make the
saved .config differ from the loaded one.

This usually won't matter for correctness, because loading an outdated
configuration performs an implicit olddefconfig, but it's less
confusing.

Also add a Kconfig.missing_syms attribute that records all assignments
to undefined symbols in the most recently loaded .config file. This is
needed to implement the check for whether the saved .config would be
different.

As an unrelated change, always prompt for saving if a .config has been
loaded from within the menuconfig interface. The intention is probably
often to save the configuration somewhere else, even if it isn't
modified.
</content>
</entry>
<entry>
<title>menuconfig: Add show-help mode</title>
<updated>2018-12-15T20:59:05Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-12-15T19:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=dcb6f1234a7864dab196d0ff504aef891865ad87'/>
<id>urn:sha1:dcb6f1234a7864dab196d0ff504aef891865ad87</id>
<content type='text'>
Pressing F toggles show-help mode, where the help window at the bottom
displays the help text of the currently selected item, if any. Can be
handy when browsing through symbols.

Also mention the different modes that are available in the module
docstring.
</content>
</entry>
<entry>
<title>Make {load,write}_config(filename=None) implement the standard behavior</title>
<updated>2018-12-08T02:28:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-12-07T23:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7b4f72fa7a19b7c38312a6f6fd553ca45f04e9a6'/>
<id>urn:sha1:7b4f72fa7a19b7c38312a6f6fd553ca45f04e9a6</id>
<content type='text'>
Make the previously obligatory 'filename' argument to load_config() and
write_config() default to None, and have that implement the behavior
you'd usually want: read/write either KCONFIG_CONFIG or ".config" if
unset, and read the 'option defconfig_list' configuration file if
KCONFIG_CONFIG/".config" doesn't exist.

For load_config(), filename=None also allows the configuration file to
be missing without raising an error. load_config() returns True if a
local configuration file was loaded, which is useful to check in the
menuconfig (if no local configuration file exists, we always want to
prompt for saving the configuration when exiting).

Also add a 'verbose' argument (default True) to load_config() and
read_config() that makes them print which files were read/written in
filename=None mode.

Also generalize olddefconfig.py and oldconfig.py to not require there to
already be a local configuration file. This was a bit silly for
olddefconfig.py in particular.

Remove the examples/defconfig.py script. It's a duplicate of
olddefconfig.py.
</content>
</entry>
<entry>
<title>menuconfig: Code formatting nit</title>
<updated>2018-12-07T21:51:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-12-07T21:51:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6f096161ec8415aa585d431ebb85e2738de2108f'/>
<id>urn:sha1:6f096161ec8415aa585d431ebb85e2738de2108f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Clarify the scope of the named choice special-casing</title>
<updated>2018-11-28T14:37:50Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-28T14:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3d9217b5c021f5bd8e35b09eedfba8121aa051b1'/>
<id>urn:sha1:3d9217b5c021f5bd8e35b09eedfba8121aa051b1</id>
<content type='text'>
One thing that irks me a bit about it is that it might give the idea
that menuconfigs have to include it, making things seem more complex
than they really are.
</content>
</entry>
<entry>
<title>menuconfig: Improve comment re. multiply-defined choice symbols</title>
<updated>2018-11-28T14:12:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-28T14:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=38dff36b0f97b8c87bc95f18fce2c8d7d5a860d5'/>
<id>urn:sha1:38dff36b0f97b8c87bc95f18fce2c8d7d5a860d5</id>
<content type='text'>
The thing it's talking about usually happens when some file with a named
choice is included multiple times with different dependencies.
</content>
</entry>
<entry>
<title>menuconfig: Fix variable name typo in comment</title>
<updated>2018-11-28T14:04:18Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-28T14:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f95ac89944bdca833c5398967c274ab520c2ce7b'/>
<id>urn:sha1:f95ac89944bdca833c5398967c274ab520c2ce7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Only list duplicated choice symbols once</title>
<updated>2018-11-28T13:48:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-28T13:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b3f0061c61da5c9dd604e580e6f220c4a7bd44fa'/>
<id>urn:sha1:b3f0061c61da5c9dd604e580e6f220c4a7bd44fa</id>
<content type='text'>
When a Kconfig file defined a named choice and was included multiple
times, the choice symbols were listed multiple times in the menuconfig
as well (due to commit 17d7c1e ("menuconfig: Show all symbols at each
menu location for multi.def. choices")).

That's probably not what you want. Tweak it so that each symbol is only
shown once, with the prompt that was used for it at whatever choice
definition location is entered.

Also change how the choice selection is displayed before the choice is
entered, so that the prompt used for the selected symbol at that
particular location is used. Previously, the prompt at the first
definition location for the symbol was always used.

(Note that all of this is only about how things are displayed. It's not
essential to functionality, in case you're writing your own menuconfig.)
</content>
</entry>
<entry>
<title>menuconfig: Mention that menus can be 'menuconfig' symbols</title>
<updated>2018-11-21T04:45:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-21T04:45:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a5721347075f3855d17a2dc96ff9b099025c1223'/>
<id>urn:sha1:a5721347075f3855d17a2dc96ff9b099025c1223</id>
<content type='text'>
They're either proper menus, choices, or 'menuconfig' symbols.
</content>
</entry>
<entry>
<title>menuconfig: Print '----' instead of '---&gt; (empty)'</title>
<updated>2018-11-21T04:36:40Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-21T04:36:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ee254891063a190c256f6f622311e622811d110b'/>
<id>urn:sha1:ee254891063a190c256f6f622311e622811d110b</id>
<content type='text'>
This matches the C tools and is a bit less spammy. Maybe it's less clear
what it means at a glance, but it's probably less confusing for disabled
'menuconfig' symbols at least.
</content>
</entry>
</feed>
