<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v8.1.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v8.1.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v8.1.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-07-11T12:55:25Z</updated>
<entry>
<title>Massively speed up U-Boot parsing</title>
<updated>2018-07-11T12:55:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-11T08:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=71872a88641f713dfa986906e860c320a74fd84a'/>
<id>urn:sha1:71872a88641f713dfa986906e860c320a74fd84a</id>
<content type='text'>
U-Boot has a ton of definition locations for some symbols, causing a lot
of redundant work when iterating over Kconfig.defined_syms in
_build_dep(). Iterate over set(Kconfig.defined_syms) instead, wherever
possible.

This speeds up the U-Boot parsing time from 4 seconds to 0.6 seconds on
my machine.

Also update the bundled tools to iterate over set(Kconfig.defined_syms).
The performance loss is negligible even for projects that don't use
multiple definition locations.

Update the documentation to clarify that symbols/choices defined in
multiple locations appear multiple times in Kconfig.defined_syms/choices
as well.
</content>
</entry>
<entry>
<title>Comment formatting nit</title>
<updated>2018-07-11T12:55:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-11T04:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f0a8a4d86e4c52b401f543737d76ae8392247300'/>
<id>urn:sha1:f0a8a4d86e4c52b401f543737d76ae8392247300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove trailing whitespace</title>
<updated>2018-07-10T12:41:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-10T12:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=547fced630611e7554d05e4f69f01957c9fc35d4'/>
<id>urn:sha1:547fced630611e7554d05e4f69f01957c9fc35d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Warn if int/hex 'default' is outside active 'range'</title>
<updated>2018-07-10T12:19:04Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-10T12:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=21b5351c3721359dbd28937c95e75ba4b435f0b7'/>
<id>urn:sha1:21b5351c3721359dbd28937c95e75ba4b435f0b7</id>
<content type='text'>
Only out-of-range user values generated warnings before.

The C tools warn for neither of them.
</content>
</entry>
<entry>
<title>Warn if int/hex/string symbols are evaluated logically</title>
<updated>2018-07-10T11:30:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-10T11:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=652d9916b12e1b2ee918b61d04ff23226d2fa4cd'/>
<id>urn:sha1:652d9916b12e1b2ee918b61d04ff23226d2fa4cd</id>
<content type='text'>
They always evaluate to n.

Would be nice if there was a trivial way to give the location(s). Just
say "somewhere" for now.
</content>
</entry>
<entry>
<title>Add Kconfig preprocessor</title>
<updated>2018-07-10T05:56:37Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-03T16:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2433deba7889931c4bae679f116887fe49a2ce04'/>
<id>urn:sha1:2433deba7889931c4bae679f116887fe49a2ce04</id>
<content type='text'>
Implement the Kconfig preprocessor described in
https://github.com/torvalds/linux/blob/master/Documentation/kbuild/kconfig-macro-language.txt
(which is now in linux-next and will appear in Linux 4.18).

A new Kconfig.variables property holds all the preprocessor variables so
that they can be inspected programmatically. Preprocessor variables are
represented by a new Variable class.

With the preprocessor, environment variables are referenced with $(FOO)
instead of $FOO. For backwards compatibility, $FOO is accepted as well
for now (and leaves "$FOO" as-is if FOO doesn't exist). The $FOO syntax
might be dropped at some point in the future (together with a major
version increase). It should be supported for a few months at least.

Some internals were cleaned up too, mostly related to parsing. Some
outdated documentation was fixed as well.
</content>
</entry>
<entry>
<title>Generalize select-with-unsatisfied-deps warning</title>
<updated>2018-07-10T05:55:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-10T05:46:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4200e25c24a4441b36d6ac2d3d30987d88515eb2'/>
<id>urn:sha1:4200e25c24a4441b36d6ac2d3d30987d88515eb2</id>
<content type='text'>
y-selecting a symbol with direct dependencies m should be flagged as
well. Mirrors a change to the C tools.
</content>
</entry>
<entry>
<title>Refactor tokenization a bit</title>
<updated>2018-07-02T02:36:17Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-02T02:23:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=86a3c2da10491f7cec96a9c2720a5cd92b8aad67'/>
<id>urn:sha1:86a3c2da10491f7cec96a9c2720a5cd92b8aad67</id>
<content type='text'>
Have _tokenize() take the string to tokenize and return a list of
tokens, and handle all the token list management outside.

Simplifies the internal logic a bit. Likely faster too.
</content>
</entry>
<entry>
<title>Simplify some dict.get() calls by passing defaults</title>
<updated>2018-07-02T01:25:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-02T01:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=db90cb85094a2cab19a524ad30b603e26cbb76fe'/>
<id>urn:sha1:db90cb85094a2cab19a524ad30b603e26cbb76fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify some _warn() calls</title>
<updated>2018-07-02T00:05:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-02T00:05:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b487258624b26eef061938827a9e1e700ce04858'/>
<id>urn:sha1:b487258624b26eef061938827a9e1e700ce04858</id>
<content type='text'>
</content>
</entry>
</feed>
