<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.4.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.4.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.4.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-08-29T06:09:31Z</updated>
<entry>
<title>menuconfig: Fix a case of needlessly turning on show-all</title>
<updated>2018-08-29T06:09:31Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T06:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fbd58f9789d27207e30ab2c126773bc6894a15d6'/>
<id>urn:sha1:fbd58f9789d27207e30ab2c126773bc6894a15d6</id>
<content type='text'>
Show-all mode does not need to be enabled when jumping to an invisible
symbol with visible children from an implicit submenu, because the
invisible symbol will be shown anyway in that case.

Explicitly check whether the jumped-to node would be shown instead, and
enable show-all mode otherwise.
</content>
</entry>
<entry>
<title>menuconfig: Always show implicit submenus with visible nodes</title>
<updated>2018-08-29T05:49:39Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T05:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d1e2a652de33e1b928515277452fd939a290f5ed'/>
<id>urn:sha1:d1e2a652de33e1b928515277452fd939a290f5ed</id>
<content type='text'>
Currently, the symbol BAR below (which ends up indented in an implicit
submenu) is shown only if DEP is non-n (or if show-all mode is
enabled):

  config FOO
  	bool "foo" if DEP
  	default y

  config BAR
  	bool "bar" if FOO

This is bad, because it hides visible symbols from the interface. The
assumption was that an implicit submenu (which is only created if the
parent has a prompt) would never have visible items when the root item
is invisible, but prompt-specific conditions and select/imply can break
that assumption.

Fix it by always showing implicit submenus with visible nodes, along
with the parent node. If the parent node is invisible, show it in red,
like in show-all mode (which happens automatically). That's probably
better than having mysteriously indented nodes when the parent is
invisible.
</content>
</entry>
<entry>
<title>menuconfig: Quote style consistency nit</title>
<updated>2018-08-29T01:18:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T01:18:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=739acb609da605eb90a2806d97e40c330f91bed7'/>
<id>urn:sha1:739acb609da605eb90a2806d97e40c330f91bed7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Simplify default value info code</title>
<updated>2018-08-29T01:15:42Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T01:15:18Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=088e17a47d8efaee06b1f5e2fabaa939dc70e798'/>
<id>urn:sha1:088e17a47d8efaee06b1f5e2fabaa939dc70e798</id>
<content type='text'>
Just checking whether the default value expression is a single symbol
correctly handles the string/int/hex cases too, because that case will
always hit for those. D'oh.
</content>
</entry>
<entry>
<title>menuconfig: Add a _center_vertically() helper</title>
<updated>2018-08-29T01:03:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T01:03:32Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e435ecc6f367a2d0f7159bd3c7c0f1aca8dbb982'/>
<id>urn:sha1:e435ecc6f367a2d0f7159bd3c7c0f1aca8dbb982</id>
<content type='text'>
Used in two spots.
</content>
</entry>
<entry>
<title>menuconfig: Remove global() hack for stdscr</title>
<updated>2018-08-29T00:50:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T00:50:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=64b734a930a7670671ef5fdc21c12f2b11b04409'/>
<id>urn:sha1:64b734a930a7670671ef5fdc21c12f2b11b04409</id>
<content type='text'>
The global should be called _stdscr, and then the names don't clash.
Leftover.
</content>
</entry>
<entry>
<title>menuconfig: Mention that include paths are shown</title>
<updated>2018-08-29T00:22:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T00:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=15d07b1dceb5f651c838356378b350251ccf90a2'/>
<id>urn:sha1:15d07b1dceb5f651c838356378b350251ccf90a2</id>
<content type='text'>
Add info to module docstring.
</content>
</entry>
<entry>
<title>menuconfig: Add a more 'make menuconfig'-like color scheme</title>
<updated>2018-08-28T22:52:05Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-28T22:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=84bd8634bb5de0895ff3354c394f43b923acb230'/>
<id>urn:sha1:84bd8634bb5de0895ff3354c394f43b923acb230</id>
<content type='text'>
Add an alternative, less yellow, more 'make menuconfig'-like color
scheme, contributed by Mitja Horvat (pinkfluid). The new theme is
selected by setting the MENUCONFIG_THEME environment variable to
'aquatic'.

Make it so that custom themes can override just the styles they want to
change from the default theme.

Perhaps some non-hardcoded theming mechanism could be added later, but
keep it simple for now.

Piggyback some related changes:

 - Make the selected item bold in the default theme, like the aquatic
   theme does.

 - Allow the style for the edit box in the jump-to dialog to be
   configured separately from the style for edit boxes in pop-up
   dialogs. That makes it possible to avoid some color clashes.

 - Remove a redundant style setting for the jump-to edit box. The window
   itself is already created with the correct style.
</content>
</entry>
<entry>
<title>Improve menu structure for promptless choices</title>
<updated>2018-08-26T01:04:30Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-26T00:34:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ddfd5df84b4b7871ea16d76e233c11c8b45738d9'/>
<id>urn:sha1:ddfd5df84b4b7871ea16d76e233c11c8b45738d9</id>
<content type='text'>
Promptless choices can appear "legitimately" if you define a named
choice in multiple locations to add on some symbols (which is broken in
the C tools though).

Prior to this fix, the promptless choice would get flattened, with the
choice symbols appearing in the same menu as the (invisible) choice.
This looks confusing.

Skip flattening promptless choices to fix it.
</content>
</entry>
<entry>
<title>oldconfig: Use Kconfig.node_iter() and clean up</title>
<updated>2018-08-25T23:51:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-25T21:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2320b7adb703c22e44ec9716a0d2605e80a02783'/>
<id>urn:sha1:2320b7adb703c22e44ec9716a0d2605e80a02783</id>
<content type='text'>
Some general cleanup:

 - Handle the iteration with the new Kconfig.node_iter() helper.

   This makes some function so short that they become pointless. Have
   just main() + oldconfig(node) + small helper functions.

 - Use _name_and_loc_str(sc) for choices too, so that all locations get
   reported for named choices defined in multiple locations

 - Rewrite the intro to be less wordy and remove the sample session
   (leftover from when oldconfig.py was in examples/, and not that
   exciting)

 - Print "Updated configuration written to..." instead of
   "Configuration saved to..."

 - Various other nits
</content>
</entry>
</feed>
