<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git, branch v13.3.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v13.3.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v13.3.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-11-23T18:42:16Z</updated>
<entry>
<title>Make 13.3.1 release</title>
<updated>2019-11-23T18:42:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-23T18:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4b9de8d901af1f00253c1403bcfd3abed9349def'/>
<id>urn:sha1:4b9de8d901af1f00253c1403bcfd3abed9349def</id>
<content type='text'>
Adds a menuconfig fix for ANSI-only color terminals and a robustness
tweak for the aquatic theme:

 - Commit 7a98bc7 ("menuconfig: Check that bright named colors are
   &lt; curses.COLORS")

 - Commit 1ad02f5 ("menuconfig: Avoid the non-ANSI 'brightwhite' color
   in the aquatic theme")
</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>genconfig: Add tip re. defining multi-line variables in makefiles</title>
<updated>2019-11-20T18:40:00Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-20T18:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=810ae682a3b80ed621fd1e20c01241ac48381156'/>
<id>urn:sha1:810ae682a3b80ed621fd1e20c01241ac48381156</id>
<content type='text'>
Handy for KCONFIG_{CONFIG,AUTOHEADER}_HEADER.
</content>
</entry>
<entry>
<title>Make 13.3.0 release with improved header comment customization</title>
<updated>2019-11-19T03:05:54Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-19T02:45:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=82f59179b1b35fcd8b6d188453b283599ea70518'/>
<id>urn:sha1:82f59179b1b35fcd8b6d188453b283599ea70518</id>
<content type='text'>
Adds two new features:

 - Commit bb3be6e ("Support giving the header path in
   KCONFIG_AUTOHEADER")

 - Commit de45874 ("Make header strings customizable via the
   environment")
</content>
</entry>
<entry>
<title>Support giving the header path in KCONFIG_AUTOHEADER</title>
<updated>2019-11-17T05:03:00Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-17T04:39:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bb3be6ee9793f23c275d318f58cb6cf21391b371'/>
<id>urn:sha1:bb3be6ee9793f23c275d318f58cb6cf21391b371</id>
<content type='text'>
This environment variable is used by the C tools. Use it when
filename=None is passed to write_autoconf(), and default to
include/generated/autoconf.h for compatibility.

Also update genconfig.py to use KCONFIG_AUTOHEADER if set when no
--header-path is passed. If KCONFIG_AUTOHEADER isn't set, keep
defaulting to 'config.h' for backwards compatibility. It's probably a
saner default for tools as well.
</content>
</entry>
<entry>
<title>Make header strings customizable via the environment</title>
<updated>2019-11-17T04:32:59Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-17T02:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=de45874719772a40f1d8d244e2f5a6c6036415ac'/>
<id>urn:sha1:de45874719772a40f1d8d244e2f5a6c6036415ac</id>
<content type='text'>
If no header string is specified in write_(min_)config() or
write_autoconf(), use the values of the environment variables
KCONFIG_CONFIG_HEADER and KCONFIG_AUTOHEADER_HEADER, respectively, if
set. KCONFIG_AUTOHEADER_HEADER is consistent with KCONFIG_AUTOHEADER
(the header path), which will be added soon.

Using environment variables avoids having to add separate flags to each
tool that writes configuration files or headers.

Like for $prefix and $CONFIG_, store the values of the environment
variables when the Kconfig instance is created, and expose them via
Kconfig.config_header and Kconfig.header_header. This if flexible and
avoids gotchas when working with multiple Kconfig instances.

Also remove the old default header and make the default no header. Less
advertising, but it felt a bit silly to add workarounds to keep it.

Came up in https://github.com/ulfalizer/Kconfiglib/pull/80.
</content>
</entry>
<entry>
<title>Make 13.2.0 release with Symbol/Choice.name_and_loc helper</title>
<updated>2019-10-29T18:08:54Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-29T17:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=faa1d2199801a19d7eef3caba8f0519a224ada2f'/>
<id>urn:sha1:faa1d2199801a19d7eef3caba8f0519a224ada2f</id>
<content type='text'>
Adds a helper that's handy for messages involving symbols/choices, and a
small documentation fix.

 - Commit e1ccf19 ("Add public helpers for generating "&lt;name&gt; (defined
   at ...)" strings").

 - Commit 2d1cb7e ("Add missing Choice.str_value documentation")
</content>
</entry>
<entry>
<title>Add public helpers for generating "&lt;name&gt; (defined at ...)" strings</title>
<updated>2019-10-29T17:30:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-29T15:41:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e1ccf19f9f5fc896dfeef15883d2cb455cbbb937'/>
<id>urn:sha1:e1ccf19f9f5fc896dfeef15883d2cb455cbbb937</id>
<content type='text'>
Have Symbol/Choice.name_and_loc return strings like

    "MY_SYM (defined at foo:1, bar:2)"
    "&lt;choice&gt; (defined at foo:4)"

I've added a function like that in at least four different scripts now,
so that's probably a sign that it's a worthwhile helper.

Clean up the tests/Klocation tests a bit while adding tests.
</content>
</entry>
<entry>
<title>Add missing Choice.str_value documentation</title>
<updated>2019-10-29T15:28:54Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-10-29T15:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2d1cb7eae230a560e02b7a8bdee2cf0526d169e2'/>
<id>urn:sha1:2d1cb7eae230a560e02b7a8bdee2cf0526d169e2</id>
<content type='text'>
Oversight. It's just a string version of Choice.tri_value, like for
Symbol.tri_value vs. Symbol.str_value.

Also rearrange the property documentation to put user_value next to
tri_value and str_value in the Symbol and Choice docstrings.
</content>
</entry>
</feed>
