<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.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-12-14T18:03:34Z</updated>
<entry>
<title>Make 13.4.0 release with error reporting and listnewconfig improvements</title>
<updated>2019-12-14T18:03:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-14T17:56:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bd0a800b88c09d8b762994a19b1ff2a046d417bb'/>
<id>urn:sha1:bd0a800b88c09d8b762994a19b1ff2a046d417bb</id>
<content type='text'>
Error reporting improvements:

 - Commit 1ec9170 ("Add Kconfig.__init__() helper flag for suppressing
   tracebacks")

 - Commit 2122d5d ("Include "error: " in parsing error messages")

listnewconfig improvement:

 - Commit 7e6b9cf ("listnewconfig: Add option for showing help texts")

Also includes a load_allconfig() API improvement:

 - Commit c2414bd ("Add a member function version of load_allconfig()")
</content>
</entry>
<entry>
<title>Make genconfig and standard_kconfig() consistent</title>
<updated>2019-12-14T17:28:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-14T17:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2e08499ce38ca7bf2f368c4dc321ef8a6f287530'/>
<id>urn:sha1:2e08499ce38ca7bf2f368c4dc321ef8a6f287530</id>
<content type='text'>
Tweak messages and variable names to match.
</content>
</entry>
<entry>
<title>Include "error: " in parsing error messages</title>
<updated>2019-12-14T17:18:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-14T17:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2122d5d5891a9a93cc38aa8e21cedf7942ae2ae2'/>
<id>urn:sha1:2122d5d5891a9a93cc38aa8e21cedf7942ae2ae2</id>
<content type='text'>
Oversight. Makes them easier to find in logs.
</content>
</entry>
<entry>
<title>Add Kconfig.__init__() helper flag for suppressing tracebacks</title>
<updated>2019-12-14T17:12:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-14T17:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1ec91703ecdb4c369212fabe2ca0a68f040b7697'/>
<id>urn:sha1:1ec91703ecdb4c369212fabe2ca0a68f040b7697</id>
<content type='text'>
Tools that don't use standard_kconfig() currently generate spammy
tracebacks for e.g. syntax errors.

Add a suppress_traceback flag to Kconfig.__init__() for catching
"expected" exceptions and printing them to stderr and exiting with
status 1. Use it to make all tools consistently hide tracebacks.
</content>
</entry>
<entry>
<title>Add a member function version of load_allconfig()</title>
<updated>2019-12-14T16:35:45Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-14T16:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c2414bdf64c03470061d280a7d1b5ea97bab3185'/>
<id>urn:sha1:c2414bdf64c03470061d280a7d1b5ea97bab3185</id>
<content type='text'>
There was no great reason for this function to be a global function to
begin with. Having it as a member function simplifies callers.

load_allconfig() is a bit special in that it fails with sys.exit(),
which is helpful for tools, but that probably doesn't influence where it
belongs.

Keep the global function for backwards compatibility. A deprecation
warning might be added at some point.
</content>
</entry>
<entry>
<title>Make 13.3.2 release</title>
<updated>2019-11-27T00:43:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-27T00:31:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=415e6c4dae39e467a0f6960af13ec310aa1bec01'/>
<id>urn:sha1:415e6c4dae39e467a0f6960af13ec310aa1bec01</id>
<content type='text'>
Adds two small menuconfig robustness improvements:

 - Commit 7020b86 ("menuconfig: Ignore MENUCONFIG_STYLE on non-color
   terminals")

 - Commit 4ea8b2b ("menuconfig: Ignore errors from
   use_default_colors()")
</content>
</entry>
<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>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>
</feed>
