<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.19.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.19.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.19.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-11-02T02:53:02Z</updated>
<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>
<entry>
<title>menuconfig: Simplify _sorted_menu_comment_nodes()</title>
<updated>2018-10-15T10:25:49Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-15T10:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=796a3459776856c30f73d166b251898cdd4cd375'/>
<id>urn:sha1:796a3459776856c30f73d166b251898cdd4cd375</id>
<content type='text'>
Can use the same function for both sort keys, and the logic
can be simplified a bit too.

The += is deliberate, to do in-place modification.
</content>
</entry>
<entry>
<title>menuconfig: Fix some minor resizing jumpiness on gnome-terminal</title>
<updated>2018-10-14T20:29:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-14T20:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9a7b374758617af69594ef7b3ed83a5cb59db433'/>
<id>urn:sha1:9a7b374758617af69594ef7b3ed83a5cb59db433</id>
<content type='text'>
gnome-terminal jerks a bit whenever the terminal is shrunk so that the
row with the cursor on it disappears. This is probably gnome-terminal
shoddiness, but it's pretty easy to work around by drawing stuff at the
top last, so do it.

No need to do it for the jump-to dialog, because the cursor is already
in the edit box at the top there.
</content>
</entry>
<entry>
<title>menuconfig: Switch back to "very visible" cursor after Ctrl-F</title>
<updated>2018-10-14T20:29:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-14T20:27:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3d0dc9ffc1023210bb54650065807085b53a6926'/>
<id>urn:sha1:3d0dc9ffc1023210bb54650065807085b53a6926</id>
<content type='text'>
Was set back to "normal" instead due to a typo, which is inconsistent
with the rest of the code.
</content>
</entry>
</feed>
