<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git, branch v9.4.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v9.4.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v9.4.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-08-11T05:05:28Z</updated>
<entry>
<title>Make 9.4.0 release</title>
<updated>2018-08-11T05:05:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-11T05:05:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=eb3b4a1672a1c8a64f1a17b97e80f8ffdae3f3f6'/>
<id>urn:sha1:eb3b4a1672a1c8a64f1a17b97e80f8ffdae3f3f6</id>
<content type='text'>
Kconfiglib changes:

 - Commit 1f864b1 ("Support custom printing of symbols/choices in
   expressions") adds support for printing symbols and choices with a
   custom format in expressions.

   This makes it simpler to implement things like like turning all
   symbols/choices into links when generating documentation, and
   printing symbol values after symbols.

 - Commit 6aea8d0 ("Don't pass encoding= to Popen()") fixes an
   accidental Python 3.6+ requirement when using the $(shell)
   preprocessor function with Python 3.

menuconfig changes:

 - Commit 8efc358 ("menuconfig: Omit tristate value hint for
   int/string/hex defaults") removes the boolean value hints to the
   right of defaults in the symbol information for string/int/hex
   symbols. Stuff like '- 74 (value: "n")' isn't helpful, and looks
   confusing.

 - Commit 3511f24 ("menuconfig: Make symbol information less spammy")
   makes the symbol information more compact in general, e.g. by
   skipping value hints where they aren't helpful ('FOO(=y)' instead of
   'FOO(=y) (=y)'), and by shortening stuff like '(value: "y")' to just
   '(=y)'.
</content>
</entry>
<entry>
<title>Don't pass encoding= to Popen()</title>
<updated>2018-08-11T02:20:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-11T00:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6aea8d06b637ea55a2fa7d2949863adae5310ce2'/>
<id>urn:sha1:6aea8d06b637ea55a2fa7d2949863adae5310ce2</id>
<content type='text'>
Popen()'s 'encoding' parameter is Python 3.6+ only.

Unfortunately, Popen()'s universal_newlines=True without 'encoding' will
use the encoding from the environment. Do a manual version instead, so
that we can still use the user-specified encoding (usually UTF-8). That
might prevent problems on systems that are (poorly) configured to use
the C locale.
</content>
</entry>
<entry>
<title>Improve naming in the custom expr. printing functions</title>
<updated>2018-08-10T04:39:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-10T04:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d0732cff9cef507d79d5c53fbcc648dd6f560ce5'/>
<id>urn:sha1:d0732cff9cef507d79d5c53fbcc648dd6f560ce5</id>
<content type='text'>
 - *_fn() prefixes on functions are a bit silly. It makes more sense for
   the expr_str() parameter, so keep it there.

 - Use *_expr_str() instead of just *_str(), to make it clearer that
   these deal with expressions.
</content>
</entry>
<entry>
<title>menuconfig: Make symbol information less spammy</title>
<updated>2018-08-10T02:57:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-10T01:21:38Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3511f244641b5c786ffb38c881e7b70982510d22'/>
<id>urn:sha1:3511f244641b5c786ffb38c881e7b70982510d22</id>
<content type='text'>
 - Use '(=value)' instead of '(="value")'

 - Use '(=value)' instead of '(value: {})' for various headings, too

 - Don't bother showing the value hint for the entire expressions when
   it's just a single symbol. The value of the symbol itself is already
   shown.

 - Only put quotes around the value for string symbols at the top of the
   symbol info display

 - Deindent expressions split over multiple lines a bit
</content>
</entry>
<entry>
<title>menuconfig: Omit tristate value hint for int/string/hex defaults</title>
<updated>2018-08-10T02:57:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-10T01:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8efc358b6468834c7913cdf213e4aba05aeb14f7'/>
<id>urn:sha1:8efc358b6468834c7913cdf213e4aba05aeb14f7</id>
<content type='text'>
Previously, defaults for string/int/hex symbols showed up as e.g.
'17 (value: "n")' in the symbol information, which looks confusing.
Only display the hint for bool/tristate symbols to fix it.

For "non-literal" symbols, _expr_str() still takes care of showing the
value (e.g. 'FOO(="bar")').
</content>
</entry>
<entry>
<title>menuconfig: Use the new custom symbol/choice string functionality</title>
<updated>2018-08-10T02:57:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-10T00:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6726fa641e04f6c22d0d38220f6ea6999561e8ec'/>
<id>urn:sha1:6726fa641e04f6c22d0d38220f6ea6999561e8ec</id>
<content type='text'>
This gets rid of the expr_str() overriding. In addition to being hacky,
it also carried over to warnings, which looked confusing.

Piggyback a code nit. _kconf and kconf no longer clash, so the globals()
hack is no longer needed.
</content>
</entry>
<entry>
<title>Support custom printing of symbols/choices in expressions</title>
<updated>2018-08-10T02:57:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-09T22:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1f864b104a1f64b1c72ab13422070f6ad7cad225'/>
<id>urn:sha1:1f864b104a1f64b1c72ab13422070f6ad7cad225</id>
<content type='text'>
Allow custom output formats for symbols/choices when turning expressions
into strings, via a user-supplied callback function (sc_str_fn).

This makes things like turning symbols into links in generated
documentation and displaying symbol values in the menuconfig interface
less hacky to implement.

Two new Symbol/Choice.custom_str() functions were added, as passing
extra arguments to __str__() is awkward.
</content>
</entry>
<entry>
<title>Fix minimal configuration test</title>
<updated>2018-08-10T02:57:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-10T02:56:36Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9f2c55dab1d966d5a759722b4939f1f2c30e5e5f'/>
<id>urn:sha1:9f2c55dab1d966d5a759722b4939f1f2c30e5e5f</id>
<content type='text'>
Needs an initial rm_config() after earlier reorganization.
</content>
</entry>
<entry>
<title>Look for '$(' instead of '$' for inline macro expansions</title>
<updated>2018-07-31T21:54:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-31T11:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9cf4bd2310bb1d1de4cc199b1a0ad9ba7d87e3ae'/>
<id>urn:sha1:9cf4bd2310bb1d1de4cc199b1a0ad9ba7d87e3ae</id>
<content type='text'>
This gives a less confusing KconfigError message for syntax errors like
'config $FOO'.
</content>
</entry>
<entry>
<title>Make 9.3.0 release</title>
<updated>2018-07-27T14:48:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-27T14:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e60caafaa0896332b4c7e06143d0f0d194dc5490'/>
<id>urn:sha1:e60caafaa0896332b4c7e06143d0f0d194dc5490</id>
<content type='text'>
 - b650ccd ("Use universal newlines mode in $(shell) implementation")
   improves the behavior of $(shell) on Windows. A trailing \r\n-style
   newline sequence is now stripped in full, instead of leaving \r in
   there.

 - 6899f91 ("Restore compatibility with old kernels") restores some
   compatibility with old kernels originally dropped by c19fc11 ("Drop
   some compatibility and tighten up lexing").

   It turns out that people are still running Kconfiglib on kernels from
   at least 2013 (see https://github.com/ulfalizer/Kconfiglib/pull/48).
</content>
</entry>
</feed>
