<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.22.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.22.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.22.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-11-18T17:58:16Z</updated>
<entry>
<title>menuconfig: Never snap scroll back to max_scroll</title>
<updated>2018-11-18T17:58:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-18T16:41:30Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=df61771a449a1ca6ed7704e3aed3496063a47910'/>
<id>urn:sha1:df61771a449a1ca6ed7704e3aed3496063a47910</id>
<content type='text'>
When scroll &gt; max_scroll (blank space at the bottom of the menu, and
also scrolled down), moving the cursor down would snap the scroll back
to max_scroll, with a small annoying jump. This could happen when going
into show-all mode and moving the cursor down near the bottom of a menu,
for example.

Fix it by leaving the scroll as-is when scroll &gt;= max_scroll (increasing
it by one otherwise).
</content>
</entry>
<entry>
<title>menuconfig: Tighten up _shown_nodes() a bit</title>
<updated>2018-11-18T17:58:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-18T16:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9a429a9abc1de8c431b42244be6e440d122c2686'/>
<id>urn:sha1:9a429a9abc1de8c431b42244be6e440d122c2686</id>
<content type='text'>
Move the addition of the visible child nodes and use += instead of
extend().
</content>
</entry>
<entry>
<title>menuconfig: Get rid of a temporary list in the jump-to implemenation</title>
<updated>2018-11-18T17:58:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-18T16:03:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f5fd57c49ab7d858511de696409830ae53f85be7'/>
<id>urn:sha1:f5fd57c49ab7d858511de696409830ae53f85be7</id>
<content type='text'>
Not noticeable performance-wise, but a bit neater.
</content>
</entry>
<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>
</feed>
