<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v13.4.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v13.4.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v13.4.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-11-27T00:41:53Z</updated>
<entry>
<title>menuconfig: Ignore errors from use_default_colors()</title>
<updated>2019-11-27T00:41:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-27T00:21:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4ea8b2b3cee33337c8b894602572460ee4f45cde'/>
<id>urn:sha1:4ea8b2b3cee33337c8b894602572460ee4f45cde</id>
<content type='text'>
Checking has_colors() isn't enough with with the winpty/msys2 setup in
https://github.com/msys2/MINGW-packages/issues/5823, though it seems a
bit broken.

ncurses looks for either the orig_pair or the orig_color terminal
capability, which is different from what has_colors() checks, so
probably shouldn't assume use_default_colors() work on color terminals
at least.
</content>
</entry>
<entry>
<title>menuconfig: Rename _STYLE_STD_COLORS to _NAMED_COLORS</title>
<updated>2019-11-27T00:41:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-26T23:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3e1377ab3e5db201154bd78532b0e2cde08d287f'/>
<id>urn:sha1:3e1377ab3e5db201154bd78532b0e2cde08d287f</id>
<content type='text'>
Clearer.
</content>
</entry>
<entry>
<title>menuconfig: Reuse _IS_WINDOWS for curses import error check</title>
<updated>2019-11-27T00:41:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-26T23:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0591cd1fe34f84ff510c737554acf9e47a939c62'/>
<id>urn:sha1:0591cd1fe34f84ff510c737554acf9e47a939c62</id>
<content type='text'>
No need to check both os.name and sys.platform.
</content>
</entry>
<entry>
<title>menuconfig: Ignore MENUCONFIG_STYLE on non-color terminals</title>
<updated>2019-11-27T00:41:44Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-26T23:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7020b86d437c149ed3582454daeb3aeca1429364'/>
<id>urn:sha1:7020b86d437c149ed3582454daeb3aeca1429364</id>
<content type='text'>
Assume that the environment is non-standard/broken on terminals that
don't support color, and that any custom styling applied to the
'monochrome' theme is likely to mess things up (though any colors will
be ignored).

The menuconfig really needs more than two colors to not look ugly
anyway, because of the borderless design.
</content>
</entry>
<entry>
<title>menuconfig: Avoid the non-ANSI 'brightwhite' color in the aquatic theme</title>
<updated>2019-11-23T18:34:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-23T18:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1ad02f526c3c0e2488f54c6028e998370839c7a5'/>
<id>urn:sha1:1ad02f526c3c0e2488f54c6028e998370839c7a5</id>
<content type='text'>
Not available with TERM=xterm (as opposed to xterm-256color).

Use fg:white instead of fg:brightwhite for dialog box bodies. Not a huge
difference.

Came up in https://github.com/espressif/esp-idf/issues/4387.
</content>
</entry>
<entry>
<title>menuconfig: Check that bright named colors are &lt; curses.COLORS</title>
<updated>2019-11-23T18:28:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-23T18:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7a98bc7944f1b390e5a82e40c62d0ce7540befdc'/>
<id>urn:sha1:7a98bc7944f1b390e5a82e40c62d0ce7540befdc</id>
<content type='text'>
The bright colors in the range 8-15 are not ANSI and are not guaranteed
to be available.

Previously, the code assumed that all named colors are always available
on color terminals, and skipped the check against curses.COLORS. This
led to this error e.g. with TERM=xterm (as opposed to xterm-256color)
and the aquatic theme, which uses 'brightwhite':

    _curses.error: init_pair() returned ERR

Fix it by checking the number returned for named colors against
curses.COLORS as well.

Came up in https://github.com/espressif/esp-idf/issues/4387.
</content>
</entry>
<entry>
<title>Convert standard_kconfig() to argparse for better feedback</title>
<updated>2019-10-10T08:07:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-10T07:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e016deb4bbfae014ada1808abaeeb30558cac209'/>
<id>urn:sha1:e016deb4bbfae014ada1808abaeeb30558cac209</id>
<content type='text'>
Stuff like this is not the pinnacle of helpful design, and hides that
the commands actually have long help texts (that can be viewed with
pydoc):

    $ ./menuconfig.py --help
    [Errno 2] No such file or directory: '--help'

Fix it by converting standard_kconfig() to argparse, and add a
'description' argument to it for the command-specific help text. --help
now shows the same help text shown by pydoc, and some other error
messages are improved as well.

Also fix some copy-paste errors and outdated paths in the help texts for
the all*config commands.
</content>
</entry>
<entry>
<title>menuconfig: _sorted_sc_nodes() code formatting nit</title>
<updated>2019-10-09T07:47:05Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-07T10:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=275ddef8dfdc2b404e172d8bdbbc10e5c68b4843'/>
<id>urn:sha1:275ddef8dfdc2b404e172d8bdbbc10e5c68b4843</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Give hint when 'curses' can't be imported on Windows</title>
<updated>2019-10-05T20:57:55Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-05T20:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=72e3d20a14f0f82a5909da74a3d6a0c20aac185d'/>
<id>urn:sha1:72e3d20a14f0f82a5909da74a3d6a0c20aac185d</id>
<content type='text'>
Tell people to install something like windows-curses. Might help avoid
some trouble after commit 21b4c1e ("Do not automatically install
windows-curses on Windows").
</content>
</entry>
<entry>
<title>Do not automatically install windows-curses on Windows</title>
<updated>2019-10-05T20:06:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-05T19:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=21b4c1e3b6e2867b9a0788d21a358f6b1f581d86'/>
<id>urn:sha1:21b4c1e3b6e2867b9a0788d21a358f6b1f581d86</id>
<content type='text'>
It breaks installation with pip on MSYS2, and Kconfiglib can still be
useful without the terminal menuconfig.

Unfortunately, MSYS2 seems tricky to identify via environment markers
(https://www.python.org/dev/peps/pep-0508/#environment-markers).

This has breakage/annoyance potential, as windows-curses now needs to be
installed manually. The major Kconfiglib version will be increased.
Sorry if this change caused problems!

Fixes: #77
</content>
</entry>
</feed>
