<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v10.17.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.17.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.17.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-10-26T21:34:18Z</updated>
<entry>
<title>Support enabling the assignment-to-undef. symbol warning via the environment</title>
<updated>2018-10-26T21:34:18Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-26T20:23:27Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=699fd81bf3a67606396035697357c5665dcd68af'/>
<id>urn:sha1:699fd81bf3a67606396035697357c5665dcd68af</id>
<content type='text'>
This makes it possible to enable it for the bundled tools, by setting
KCONFIG_WARN_UNDEF_ASSIGN=y. Previously, the code had to be modified to
call Kconfig.enable_undef_warnings().

Also rename KCONFIG_STRICT to KCONFIG_WARN_UNDEF, for consistency. Keep
supporting KCONFIG_STRICT as an alias for backwards compatibility.
</content>
</entry>
<entry>
<title>Move _is_num() into _check_undef_syms()</title>
<updated>2018-10-24T22:51:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-24T22:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=94ef638d61476bda162c16462238687733a77d78'/>
<id>urn:sha1:94ef638d61476bda162c16462238687733a77d78</id>
<content type='text'>
_check_undef_syms() is the only caller.
</content>
</entry>
<entry>
<title>Use standard_sc_expr_str() in _name_and_loc()</title>
<updated>2018-10-22T20:42:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-22T20:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d920dbeee3506c0fc46e1c5381b506da52fdd37b'/>
<id>urn:sha1:d920dbeee3506c0fc46e1c5381b506da52fdd37b</id>
<content type='text'>
Makes choices show up as &lt;choice (name, if any)&gt;, which is nice.
Previously, just the name was shown for named choices.
</content>
</entry>
<entry>
<title>Move _check_sym/choice_sanity() into the Kconfig class</title>
<updated>2018-10-22T20:42:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-22T13:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6023234566944b3ae06276b9a2227709b4fe0957'/>
<id>urn:sha1:6023234566944b3ae06276b9a2227709b4fe0957</id>
<content type='text'>
This makes the calls to Kconfig._warn() a bit less awkward (self._warn()
instead of sym/choice.kconfig._warn()).

Also move the loops over the symbols/choices into the functions, as a
small optimization.
</content>
</entry>
<entry>
<title>Micro-optimize _make_depend_on() calls</title>
<updated>2018-10-22T20:42:21Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-22T12:38:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=72eca77f6d1bc06accebf187f590ceb2d3b5ab04'/>
<id>urn:sha1:72eca77f6d1bc06accebf187f590ceb2d3b5ab04</id>
<content type='text'>
Store the function in a local variable outside the loop in _build_dep().
</content>
</entry>
<entry>
<title>Allow programmatically expanding preprocessor functions with args</title>
<updated>2018-10-21T15:28:31Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-21T14:09:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9a4127a1d5eeac122cb478b0e03d42c9698c41be'/>
<id>urn:sha1:9a4127a1d5eeac122cb478b0e03d42c9698c41be</id>
<content type='text'>
Add a Variable.expanded_value_w_args() function for expanding a
preprocessor function with particular arguments. This is what
expanded_value should have been, because expanded_value_w_args() is more
general (expanded_value corresponds to zero arguments). Keep
expanded_value for backwards compatibility though.

Also add a simple __repr__() to Variable. It could show the expanded
value, but that might mean calling shell functions or user-defined
functions as a side effect (possibly with missing arguments). Not sure
that's a good idea, so just show the unexpanded value.
</content>
</entry>
<entry>
<title>Test _parse_block() blank line case earlier</title>
<updated>2018-10-21T12:31:54Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-21T11:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d23accda70935ddbf6d01f3c0043f17bffad3706'/>
<id>urn:sha1:d23accda70935ddbf6d01f3c0043f17bffad3706</id>
<content type='text'>
Can be treated as just another case, and moved later so that the cases
become sorted by frequency.
</content>
</entry>
<entry>
<title>Sort _parse_properties() cases by frequency</title>
<updated>2018-10-21T11:11:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-21T06:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=40e3e36f41b211d89edbbedfbfb1e4ab8b102d49'/>
<id>urn:sha1:40e3e36f41b211d89edbbedfbfb1e4ab8b102d49</id>
<content type='text'>
Use the Linux x86 Kconfig frequencies.

Most cases were already sorted, but the blank line case was treated
specially. 'imply' was checked too early too (though it's used more in
some other projects).
</content>
</entry>
<entry>
<title>Simplify node-&gt;item property copying</title>
<updated>2018-10-21T05:39:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-21T05:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8d65a5741c750e4ab7f1443f9f1c1785ba151ddd'/>
<id>urn:sha1:8d65a5741c750e4ab7f1443f9f1c1785ba151ddd</id>
<content type='text'>
Turn _add_props_to_sc() into _add_props_to_sym(), and handle choices
separately, as they're trivial.

This gets rid of some if's too.
</content>
</entry>
<entry>
<title>Make Kconfig.choices match its description</title>
<updated>2018-10-16T05:35:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-16T04:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=98af94da6a9ef81c8e2c56fbf60741fa8d2a2dd1'/>
<id>urn:sha1:98af94da6a9ef81c8e2c56fbf60741fa8d2a2dd1</id>
<content type='text'>
Kconfig.choices has accidentally been identical to
Kconfig.unique_choices all along, because named choices defined in
multiple locations (which are pretty obscure) were only added once.

Fix Kconfig.choices to match its description. This simplifies the code a
bit too.

Kconfig.unique_choices is usually what you want.
</content>
</entry>
</feed>
