<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v10.6.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.6.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.6.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-09-09T19:43:47Z</updated>
<entry>
<title>menuconfig: Menu drawing code nit</title>
<updated>2018-09-09T19:43:47Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-09T19:41:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=cbc156fba6eb56e68fd7011ccfec7860eb4fc895'/>
<id>urn:sha1:cbc156fba6eb56e68fd7011ccfec7860eb4fc895</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Fix some glitching on small terminals</title>
<updated>2018-09-09T15:16:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-09T15:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=af6c8dc997df560a6cff2c58bae2047e80c6dcf5'/>
<id>urn:sha1:af6c8dc997df560a6cff2c58bae2047e80c6dcf5</id>
<content type='text'>
 - 'mainmenu' and dialog titles now get clipped instead of disappearing
   when they don't fit

 - Lines of text no longer wrap to the next line (this glitch was mostly
   hidden if something was printed on the next line)

 - Text in a dialog can no longer end up on top of the dialog's frame
</content>
</entry>
<entry>
<title>menuconfig: Pass a style string to _styled_win()</title>
<updated>2018-09-07T23:57:59Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-07T23:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2a1acdd37cdcd8590e0d1f3eccc314bdd501a443'/>
<id>urn:sha1:2a1acdd37cdcd8590e0d1f3eccc314bdd501a443</id>
<content type='text'>
Enforces that all windows are created from styles defined via the new
styling mechanism.
</content>
</entry>
<entry>
<title>menuconfig: Print warnings instead of having StyleError</title>
<updated>2018-09-07T23:38:24Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-07T23:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4e25d1c713b0c37feb6a8781a92b62a52ee5eb04'/>
<id>urn:sha1:4e25d1c713b0c37feb6a8781a92b62a52ee5eb04</id>
<content type='text'>
Mostly motivated by curses.COLORS, which depends on the terminal.

It's probably friendlier to run even if the style gets a bit messed up,
but it's also nice to point out problems.

Missing style templates and missing styles to the left of '=' are
pointed out now too, with the help of some flag hackery.

Prefix the warnings with 'menuconfig warning:' to make it easier to
distinguish them from warnings from Kconfiglib.
</content>
</entry>
<entry>
<title>menuconfig: Ignore non-existent style templates</title>
<updated>2018-09-07T22:00:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-07T21:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1f16f10dab298a121f8ff709312f694dc4b86354'/>
<id>urn:sha1:1f16f10dab298a121f8ff709312f694dc4b86354</id>
<content type='text'>
This is consistent with non-existent styles being ignored, and gives
some forwards/backwards compatibility.

I wonder if there should be a warning for both instead.

Piggyback some nits.
</content>
</entry>
<entry>
<title>menuconfig: Fix off-by-one in range check for COLORS</title>
<updated>2018-09-07T21:40:10Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-07T21:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=df04a0c8fb020773e4708d00ee061e8f7a0501b9'/>
<id>urn:sha1:df04a0c8fb020773e4708d00ee061e8f7a0501b9</id>
<content type='text'>
"color values are expected to be in the range 0 to COLORS-1", from
init_color(3ncurses).
</content>
</entry>
<entry>
<title>menuconfig: Allow numbers to be used directly for colors</title>
<updated>2018-09-07T21:24:40Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-07T19:38:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0bb65bc5628c7493897bf2f8cc786bcbbbcdefe5'/>
<id>urn:sha1:0bb65bc5628c7493897bf2f8cc786bcbbbcdefe5</id>
<content type='text'>
Make the syntax 'fg:123' instead of 'fg:color123'. This is a bit easier
to type. Hex and octal constants are accepted as well.
</content>
</entry>
<entry>
<title>menuconfig: Add support for custom color schemes (aka styles)</title>
<updated>2018-09-07T19:11:43Z</updated>
<author>
<name>Mitja HORVAT</name>
<email>pinkfluid@gmail.com</email>
</author>
<published>2018-08-29T20:53:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ac8d152ec81a82ebacb0e77c3aa6f0cd81638f80'/>
<id>urn:sha1:ac8d152ec81a82ebacb0e77c3aa6f0cd81638f80</id>
<content type='text'>
- introduce the _parse_styles() function which can take a string
    defintion and parse it into a color structure that can be used
    by UI elements

- the _parse_styles() function modifies a global dictionary (_style)
    which is subsequentially used to style the UI elements

- the _style_to_curses() function takes a string representation
    of style colors and converts it to ncurses attributes.
    For eaxmple: fg:brightred,bg:black,bold -&gt; returns a color
    pair representing brightred and black ORed with A_BOLD

- simplify _init_styles() as now the majority of the heavy lifting
    is done by _parse_styles(). _init_styles() initializes the
    default theme (either "defualt" or "monochrome")

- terminals without color capabilities are now handled by using
    the "monochrome" theme. This theme doesn't use any colors
    but rather just bold and standout attribtes.

- add support for the "underline" attribute

- add doctstring at the beginning describing the style syntax

- rename the _style() function to _style_attr() as it was conflicting
    with the global _style dictionary

- introduce the StyleError exception; this one is thrown if an error
    in the style syntax is encountered
</content>
</entry>
<entry>
<title>menuconfig: Fix outdated comment re. show-all mode</title>
<updated>2018-08-29T20:22:23Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T20:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=78682a8e3c4fefffec281f13168cec5c297827bb'/>
<id>urn:sha1:78682a8e3c4fefffec281f13168cec5c297827bb</id>
<content type='text'>
Invisible symbols are no longer shown in red outside of show-all mode.
</content>
</entry>
<entry>
<title>menuconfig: Do not use red for invisible symbols outside of show-all mode</title>
<updated>2018-08-29T07:42:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-29T07:19:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=66a2bf5136945881af3956a6c50475b7dce5a2f7'/>
<id>urn:sha1:66a2bf5136945881af3956a6c50475b7dce5a2f7</id>
<content type='text'>
Invisible symbols can show up outside show-all mode if an invisible
symbol has visible symbols in an implicit (indented) submenu. Printing
them in red like in show-all mode is the perfectly consistent thing to
do, but might look confusing/broken.

Only print invisible symbols in red in show-all mode.

Also change the bracket style for all invisible bool/tristate symbols to

  - - N_SYM
  -M- M_SYM
  -*- Y_SYM

That makes it clear that they can't be changed, even when they show up
outside show-all mode, and makes logical sense if that style is taken to
always mean that the symbol value can't be changed.

You lose a quick reference for whether a symbol is a bool or tristate,
but it's not a huge deal.
</content>
</entry>
</feed>
