<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.13.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.13.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.13.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-10-10T13:10:32Z</updated>
<entry>
<title>menuconfig: Comment formatting nits</title>
<updated>2018-10-10T13:10:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-10T13:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=256e5b3e38e928df0c66cec6f76cbc9f2cd3f46a'/>
<id>urn:sha1:256e5b3e38e928df0c66cec6f76cbc9f2cd3f46a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Improve/fix promptless choice handling</title>
<updated>2018-10-10T12:38:49Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-10T11:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a247f3f5815f42e8f1b616e311d38f41587cef64'/>
<id>urn:sha1:a247f3f5815f42e8f1b616e311d38f41587cef64</id>
<content type='text'>
The code assumed that all parent (interface) menus always have a prompt,
which is false for items in promptless choices. This lead to a crash
e.g. when viewing the symbol information for a symbol within a
promptless choice.

Promptless choices with children can show up "legitimately" when people
define choices in multiple locations to add symbols, though this is
broken in the C tools.

Use standard_sc_expr_str(node.item) instead of the non-existing prompt
for promptless choices. That way they show up as
&lt;choice (name if any&gt;)&gt;, which is consistent with how they're shown
elsewhere.

This commit also changes how choices names are displayed in
show-name/show-all mode, to the standard_sc_expr_str() format.
</content>
</entry>
<entry>
<title>menuconfig: Fix Page Up typo in docstring</title>
<updated>2018-10-05T02:53:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-05T02:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4d558b15a9b20a48230b786e45c15bab8f048fad'/>
<id>urn:sha1:4d558b15a9b20a48230b786e45c15bab8f048fad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Remove "Value for " prefix from input dialog titles</title>
<updated>2018-10-05T01:50:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-05T01:36:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f1e4d04d9e62174d8afa1662dc14d42dc8bb5012'/>
<id>urn:sha1:f1e4d04d9e62174d8afa1662dc14d42dc8bb5012</id>
<content type='text'>
The prompt and type alone make it obvious, and it prevents many dialogs
from getting overly wide.
</content>
</entry>
<entry>
<title>menuconfig: Mark quit_dialog() as internal</title>
<updated>2018-10-01T22:09:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-01T22:09:25Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6fe5198f0455b7452b8835264db082ef4cac0730'/>
<id>urn:sha1:6fe5198f0455b7452b8835264db082ef4cac0730</id>
<content type='text'>
Oversight. The _ hides it from e.g. pydoc.
</content>
</entry>
<entry>
<title>menuconfig: Fix some nits reported by flake8</title>
<updated>2018-09-19T05:28:47Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-19T05:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3df532b8d4cdf6915eaf079ee8082f792ab9b0cb'/>
<id>urn:sha1:3df532b8d4cdf6915eaf079ee8082f792ab9b0cb</id>
<content type='text'>
 - Remove some unused imports

 - Replace a lambda with a plain function

 - Shorten some long lines

 - Remove some redundant backslashes within brackets
</content>
</entry>
<entry>
<title>menuconfig: Fix typo re. menuconfig()</title>
<updated>2018-09-14T20:14:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-14T20:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f861c271dcbb06e0101c01add3d07006c2d3a09c'/>
<id>urn:sha1:f861c271dcbb06e0101c01add3d07006c2d3a09c</id>
<content type='text'>
No idea where "menu." came from.
</content>
</entry>
<entry>
<title>menuconfig: Reorganize code a bit</title>
<updated>2018-09-14T19:18:49Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-14T19:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=325431ae3261420ff8e852c39ad9d116f2b40616'/>
<id>urn:sha1:325431ae3261420ff8e852c39ad9d116f2b40616</id>
<content type='text'>
 - Point out where the styling part starts and ends

 - Move _style_attr() into the styling part (by moving the comment)

 - Move _name_and_val_str() and _expr_str() to later in the file, closer
   to where they're used (mostly in the help dialog)

 - Turn _input_dialog() input handling into one if-elif-... chain, like
   for the other dialogs.
</content>
</entry>
<entry>
<title>menuconfig: Fix a small symbol information display issue</title>
<updated>2018-09-14T18:57:00Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-14T18:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8e889e06bd1312611afb1cb9642d16fe0587970f'/>
<id>urn:sha1:8e889e06bd1312611afb1cb9642d16fe0587970f</id>
<content type='text'>
Prevent the 'Symbol/choice/menu/comment information' title string from
disappearing when it won't fit on the terminal.

Piggyback some code nits:

 - Remove a redundant 'global _style'

 - Use 'elif' after checking for KEY_RESIZE

 - Consistently use '_sel_node_i = _menu_scroll = 0' to reset positions,
   e.g. when entering menus
</content>
</entry>
<entry>
<title>menuconfig: RGB color implementation nits</title>
<updated>2018-09-14T08:33:37Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-14T04:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7762405a3ae5e8e107d24b4c64215aaaa5a04c50'/>
<id>urn:sha1:7762405a3ae5e8e107d24b4c64215aaaa5a04c50</id>
<content type='text'>
 - Make the coding style a bit more consistent with the rest of the code

 - Allow colors to be allocated from the xterm 256-color grayscale
   range, and emulate it when dynamically allocating colors. Never
   allocate above color number 255 though, as anything there would be
   unknown territory.

 - Switch back to consistently passing tuples to functions. This was the
   original design, before I suggested changing it...

 - Remove some repeated information from docstrings and fix some small
   typos

 - Make use of the element1=element2 feature in the style definition
   for the 'default' style
</content>
</entry>
</feed>
