<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.48.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.48.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.48.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-04-18T08:29:21Z</updated>
<entry>
<title>menuconfig: Remember last saved/loaded path and improve _conf_changed</title>
<updated>2019-04-18T08:29:21Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-18T06:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=90c5573c19ef04de56df057db9de229082f7f4f5'/>
<id>urn:sha1:90c5573c19ef04de56df057db9de229082f7f4f5</id>
<content type='text'>
Remember the last path that was manually saved/loaded instead of
reverting back to standard_config_filename() (e.g. .config).

Remember the path to the last saved minimal configuration separately as
well.

Also improve the _conf_changed behavior when loading a .config within
the interface. Instead of always treating it as needing to be saved,
check if it's outdated, like for the .config file loaded on startup.

Also make the exit message ("No changes to save", etc.) always include
the target .config file, which is helpful. Previously, only the save
message did.
</content>
</entry>
<entry>
<title>menuconfig: Prune _shown_nodes() recursion</title>
<updated>2019-04-17T13:13:31Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T12:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a47615f06ad7e4d84ca1ab01db0520ef5f30010c'/>
<id>urn:sha1:a47615f06ad7e4d84ca1ab01db0520ef5f30010c</id>
<content type='text'>
When looking for visible children of invisible symbol nodes,
_shown_nodes() was always recursing all the way out the leaf nodes.
That's a ton of redundant work, though it doesn't seem to have lead to
noticeable slowness (it does in the GUI menuconfig).

Stop the search at symbol nodes with node.dep = n (from
'if'/'depends on'). Those can never have visible children, because
node.dep gets propagated to prompts.
</content>
</entry>
<entry>
<title>menuconfig: Style nit</title>
<updated>2019-04-17T03:16:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T03:15:55Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e4f268157254df1ef361763bcfdf0258818fa53d'/>
<id>urn:sha1:e4f268157254df1ef361763bcfdf0258818fa53d</id>
<content type='text'>
Shorten a bit.
</content>
</entry>
<entry>
<title>menuconfig: _select_imply_info() style nit</title>
<updated>2019-04-17T01:45:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T01:28:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=498f0edd8a0312f8a08b9b2be5b6b84e462fa7a7'/>
<id>urn:sha1:498f0edd8a0312f8a08b9b2be5b6b84e462fa7a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Micro-optimize incremental search</title>
<updated>2019-04-17T01:45:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T01:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fb1bbb8aa5b1b5f60ecd055ee944b2ffefc22d5a'/>
<id>urn:sha1:fb1bbb8aa5b1b5f60ecd055ee944b2ffefc22d5a</id>
<content type='text'>
removing the matches.append lookup saves a few %, as measured with
line_profiler.

It's fast enough already on any reasonable machine, so it's a bit silly,
but it's pretty trivial.
</content>
</entry>
<entry>
<title>menuconfig: _jump_to_dialog() comment nits</title>
<updated>2019-04-17T01:26:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T01:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=899bc77d837e9a2098449bd104bc640d99619194'/>
<id>urn:sha1:899bc77d837e9a2098449bd104bc640d99619194</id>
<content type='text'>
Make things a bit more compact.
</content>
</entry>
<entry>
<title>menuconfig: Add missing 'return' in _select_selected_choice_sym()</title>
<updated>2019-04-17T01:21:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T01:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=13dda5843f79a02f2c6dadc6cfd99ca62679dde3'/>
<id>urn:sha1:13dda5843f79a02f2c6dadc6cfd99ca62679dde3</id>
<content type='text'>
Won't affect behavior, but it was intended.
</content>
</entry>
<entry>
<title>menuconfig: Fix display issue for optional-prompt menuconfigs</title>
<updated>2019-04-17T01:10:01Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-17T00:06:59Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=37c698413ef6f433f03589a4f52076893030a9e5'/>
<id>urn:sha1:37c698413ef6f433f03589a4f52076893030a9e5</id>
<content type='text'>
_shown_nodes() needs to check whether invisible 'menuconfig' symbols
with optional prompts have visible children, so that they can be shown
outside show-all mode. Previously, only 'config' symbols were checked.
</content>
</entry>
<entry>
<title>menuconfig: Simplify _menu_path_info()</title>
<updated>2019-04-11T20:26:23Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-11T20:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8ddc0df484a25f915591c5bee6f4a9e4e71207d5'/>
<id>urn:sha1:8ddc0df484a25f915591c5bee6f4a9e4e71207d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Include all parents in menu paths</title>
<updated>2019-04-11T19:10:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-04-11T18:17:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=136c0e42f01dc3adfa29fb57f34f7d23234b8429'/>
<id>urn:sha1:136c0e42f01dc3adfa29fb57f34f7d23234b8429</id>
<content type='text'>
Previously, symbols not defined with 'menuconfig' with children weren't
listed in the children's menu paths. It was deliberate, but it's
probably an anti-feature in retrospect, because it can make it harder to
find stuff by following the menu path.

Don't try to be clever and just list all the parent nodes in the menu
path.
</content>
</entry>
</feed>
