<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v4.2.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v4.2.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v4.2.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-04-06T14:59:24Z</updated>
<entry>
<title>Move sanity checking to after _finalize_tree()</title>
<updated>2018-04-06T14:59:24Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-06T14:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e8408a06c68d87485a9d45817dfdd60e722a6f1c'/>
<id>urn:sha1:e8408a06c68d87485a9d45817dfdd60e722a6f1c</id>
<content type='text'>
Previously, the warnings

	warning: FOO (defined at Kconfig:1, Kconfig:6) defined with type unknown
	warning: the default selection BAR (defined at Kconfig:9) of FOO (defined at Kconfig:1, Kconfig:6) is not contained in the choice

were printed for this (obscure, but okay) pair of definitions:

	choice FOO
		default BAR

	endchoice

	choice FOO
		prompt "foo"

	config BAR
		bool "bar"

	endchoice

The problem is that BAR is not known to be a choice symbol by the time
the first choice definition is encountered in _finalize_tree(), since
that's determined only when the second definition is encountered (it
needs to happen there, because implicit submenus can influence whether a
symbol is a choice symbol or not, and implicit submenus are determined
in _finalize_tree()).

Fix it by moving the sanity checks out of _finalize_tree() and into a
separate pass over all symbols and choices that runs after
_finalize_tree(). That might avoid other gotchas too.
</content>
</entry>
<entry>
<title>Set is_menuconfig True on the top menu</title>
<updated>2018-04-05T07:03:15Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-05T07:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=981d24aff765794f4ab440f29b1543a118222357'/>
<id>urn:sha1:981d24aff765794f4ab440f29b1543a118222357</id>
<content type='text'>
Oversight
</content>
</entry>
<entry>
<title>Code consistency nit</title>
<updated>2018-04-04T15:30:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-04T15:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9c86dfd60273dc894da1db89220aff8d4de4716e'/>
<id>urn:sha1:9c86dfd60273dc894da1db89220aff8d4de4716e</id>
<content type='text'>
'is_menuconfig' is set after 'item' in the other cases.
</content>
</entry>
<entry>
<title>Generalize is_menuconfig to non-symbol items</title>
<updated>2018-04-04T14:44:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-04-04T14:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2259d353426f12d5fa807075fb4727e64331ac8a'/>
<id>urn:sha1:2259d353426f12d5fa807075fb4727e64331ac8a</id>
<content type='text'>
Extending the scope of is_menuconfig so that it's True for all items
whose children should be displayed in a separate menu turns out to be
handy when implementing menuconfig-like functionality.

Keep the old name for backwards compatibility. It's good enough.
</content>
</entry>
<entry>
<title>Parenthesize &amp;&amp; expressions within || expressions</title>
<updated>2018-03-28T18:29:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-28T18:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7245bad9ebb58fc8ce5a322081fc6c39d2dc59c6'/>
<id>urn:sha1:7245bad9ebb58fc8ce5a322081fc6c39d2dc59c6</id>
<content type='text'>
This is redundant from an evaluation perspective, as &amp;&amp; has higher
precedence than ||, but is easier to read.

A &amp;&amp; B || C &amp;&amp; D is now rendered as "(A &amp;&amp; B) || (C &amp;&amp; D)".
</content>
</entry>
<entry>
<title>Use expr_str() to print selected/implied symbols</title>
<updated>2018-03-26T13:50:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-26T13:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a5ea0dcbc8b9343f6901654ad92de6ece156f954'/>
<id>urn:sha1:a5ea0dcbc8b9343f6901654ad92de6ece156f954</id>
<content type='text'>
This is redundant on its own, as only a single symbol can be
selected/implied, meaning just .name will work fine too. It means that
all symbols appearing in the __str__() representation of symbols and
choices are now printed via expr_str() though, which might come in handy
soon.
</content>
</entry>
<entry>
<title>Refactor expr_str() cases</title>
<updated>2018-03-26T13:15:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-26T13:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6ef362c490bc2608c971eeabd5930ea0d8893dbe'/>
<id>urn:sha1:6ef362c490bc2608c971eeabd5930ea0d8893dbe</id>
<content type='text'>
 - Detect Symbol directly instead of as (not tuple) + (not choice)

 - Test explicitly for a tuple (non-Symbol) in NOT

 - Add some tests to get better coverage for NOT and parentheses
</content>
</entry>
<entry>
<title>Warn if a choice symbol is selected or implied</title>
<updated>2018-03-24T19:12:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-24T18:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=225ec4bc3e6a2b88e14d58522494950d9c9e8236'/>
<id>urn:sha1:225ec4bc3e6a2b88e14d58522494950d9c9e8236</id>
<content type='text'>
This has no effect.

Model the warning on the one for selecting a symbol with unsatisfied
dependencies.

This is a Kconfiglib-exclusive warning so far.
</content>
</entry>
<entry>
<title>_check_choice_sanity() style nit</title>
<updated>2018-03-24T17:54:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-24T17:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2195b37eb99f630a69e376d073cd58d3904b6420'/>
<id>urn:sha1:2195b37eb99f630a69e376d073cd58d3904b6420</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename _name_and_loc_str() to _name_and_loc()</title>
<updated>2018-03-24T02:34:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-03-24T02:34:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f82b052d14fa5171fd1dcac7b0abf5dbf0dd43a0'/>
<id>urn:sha1:f82b052d14fa5171fd1dcac7b0abf5dbf0dd43a0</id>
<content type='text'>
Bit shorter, still clear in context.
</content>
</entry>
</feed>
