<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.21.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.21.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.21.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-11-07T05:48:29Z</updated>
<entry>
<title>menuconfig: Support HOME and END in the jump-to dialog</title>
<updated>2018-11-07T05:48:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-07T05:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b810bdaf3c7ea436b78cb81fca4a1c5e1ff5079f'/>
<id>urn:sha1:b810bdaf3c7ea436b78cb81fca4a1c5e1ff5079f</id>
<content type='text'>
Oversight. END can be handy for viewing all choices, menus, and
comments, which appear at the end.

Also support Ctrl-D as an alias for Page Down. Ctrl-U is already used by
the edit box (erase to beginning of line).

Also change the jump-to dialog title to hint that other things besides
symbols can be jumped to.
</content>
</entry>
<entry>
<title>Comment grammar nit</title>
<updated>2018-11-04T01:24:44Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-04T01:24:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=68426efeae6aae30f85ef81b8bdead96853df603'/>
<id>urn:sha1:68426efeae6aae30f85ef81b8bdead96853df603</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Move cursor to choice selection when entering choices</title>
<updated>2018-11-03T23:33:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-03T22:08:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=35af0042e866eeed8eb2e05f8bbf2dd7b6d097f4'/>
<id>urn:sha1:35af0042e866eeed8eb2e05f8bbf2dd7b6d097f4</id>
<content type='text'>
Previously, the first entry was selected, like for menus.

Also tweak _center_vertically() so that the menu is never scrolled down
when all entries fit on the screen.
</content>
</entry>
<entry>
<title>menuconfig: Fix crash when toggling symbols without a type</title>
<updated>2018-11-02T02:53:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-02T02:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=db60270a2d498e59d76f072298aa9d45a03136f2'/>
<id>urn:sha1:db60270a2d498e59d76f072298aa9d45a03136f2</id>
<content type='text'>
Trying to toggle the following symbol crashed the menuconfig:

  config FOO
  	prompt "foo"

Symbols defined without a type are pointless and generate a warning
(particular definition locations can omit the type, but some definition
location should give a type if the symbol is defined in multiple
locations). We should never crash for them though.

Fix the crash. The code assumed that the symbol's current value would
appear in Symbol.assignable, like for a visible bool/tristate, but
symbols without types get their name as their value.

Also skip printing "(NEW)" next to symbols without a type.
</content>
</entry>
<entry>
<title>menuconfig: Add quotes around filename for .config loading errors</title>
<updated>2018-11-01T00:02:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-31T02:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=dbd07bb85db0448502ee51aa43ea6ca27b84ed45'/>
<id>urn:sha1:dbd07bb85db0448502ee51aa43ea6ca27b84ed45</id>
<content type='text'>
Turns into a weird-looking 'Error loading ' otherwise.

Maybe Enter should be ignored for empty filenames instead...
</content>
</entry>
<entry>
<title>Make errno/strerror/filename available on IOError</title>
<updated>2018-10-30T23:02:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T22:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=14603c0fed58ebbd137b39b1be2d645d5152716b'/>
<id>urn:sha1:14603c0fed58ebbd137b39b1be2d645d5152716b</id>
<content type='text'>
An error reporting flaw was that most raised IOErrors got their
errno/strerror/filename fields stripped, due to wanting to show a custom
messages. The problem was that adding back 'errno' and 'strerror' made
IOError.__str__() always return a fixed string
("[Errno &lt;errno&gt;] &lt;strerror&gt;"), ignoring any custom message.

This is friendly to users, but unfriendly to scripts (the menuconfig had
a workaround). Make things friendly to both by raising an internal
subclass of IOError instead, that preserves errno/strerror/filename but
prints a custom message. The exception can then still be caught as
IOError/OSError by scripts.
</content>
</entry>
<entry>
<title>menuconfig: Mention jump-to in info dialog help</title>
<updated>2018-10-22T20:42:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-22T20:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=85ba6b2d8558ca812ef53b97fa18df9f98c1e6dc'/>
<id>urn:sha1:85ba6b2d8558ca812ef53b97fa18df9f98c1e6dc</id>
<content type='text'>
Might be hard to discover that [/] works inside the info dialog
otherwise.
</content>
</entry>
<entry>
<title>menuconfig: Show the selected symbol for promptless choices</title>
<updated>2018-10-21T05:09:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-21T05:06:52Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=516deb4d09b16d8c1492f8a1bc52a547d8f363e8'/>
<id>urn:sha1:516deb4d09b16d8c1492f8a1bc52a547d8f363e8</id>
<content type='text'>
If a choice is defined in multiple locations to add symbols, and
show-all mode is turned on to reveal one of the promptless definitions,
then it doesn't hurt to show the selected symbol next to it.
</content>
</entry>
<entry>
<title>menuconfig: _node_str() simplification nit</title>
<updated>2018-10-21T05:00:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-21T05:00:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=79c5056a79e05b76521fe5d9686b6a44f50da8a1'/>
<id>urn:sha1:79c5056a79e05b76521fe5d9686b6a44f50da8a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Use Kconfig.unique_choices in jump-to</title>
<updated>2018-10-16T05:35:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-16T05:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=553985a985c6aa4d5f9119223ac7fe23b83d5b3c'/>
<id>urn:sha1:553985a985c6aa4d5f9119223ac7fe23b83d5b3c</id>
<content type='text'>
Use Kconfig.unique_choices instead of Kconfig.choices in the jump-to
dialog, as choices defined in multiple locations should only get their
menu nodes added once (to avoid redundant entries).

I noticed a related Kconfiglib issue while working on this:
Kconfig.choices has been identical to Kconfig.unique_choices all long,
so things were never actually broken.

That means Kconfig.choices should be fixed to match its description
though. The next commit will do that.
</content>
</entry>
</feed>
