<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v3.1.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.1.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.1.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-02-16T09:10:34Z</updated>
<entry>
<title>Include direct deps. in Symbol/Choice.__str__()</title>
<updated>2018-02-16T09:10:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-16T09:05:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2a88c0cc5707eb0761d87cfd2ca171ce687258fc'/>
<id>urn:sha1:2a88c0cc5707eb0761d87cfd2ca171ce687258fc</id>
<content type='text'>
Direct dependencies are significant for 'imply' even if the symbol has
no properties, so they need to be included to get semantically
equivalent output.

Making the direct dependencies clear is helpful in general too, even if
you can usually infer them from the properties they get propagated to.
</content>
</entry>
<entry>
<title>Simplify visibility check in Choice._get_selection()</title>
<updated>2018-02-08T23:50:03Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T23:31:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0d44b9e2f47a5a993ab44a1c5355c2ae245d4525'/>
<id>urn:sha1:0d44b9e2f47a5a993ab44a1c5355c2ae245d4525</id>
<content type='text'>
The visibility of a symbol in an y-mode choice can only be n or y, so
it's sufficient to check that it's not n (0).
</content>
</entry>
<entry>
<title>Give hint about recognizing undefined symbols</title>
<updated>2018-02-08T12:07:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T12:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6f3163095edb7663a1186963c3b2dcb520e06a64'/>
<id>urn:sha1:6f3163095edb7663a1186963c3b2dcb520e06a64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in module docstring</title>
<updated>2018-02-08T11:38:03Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T11:38:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e2c2eef8902338f2c7fbff21d040fcf9a4953a8b'/>
<id>urn:sha1:e2c2eef8902338f2c7fbff21d040fcf9a4953a8b</id>
<content type='text'>
It's the top-level Kconfig file that source's depending on $SRCARCH, not
the top-level Makefile.
</content>
</entry>
<entry>
<title>_parse_expr() docstring nit</title>
<updated>2018-02-08T10:03:33Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T10:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fed0cb5133a4ddf470aa9a4e869a99ad6f0dc65d'/>
<id>urn:sha1:fed0cb5133a4ddf470aa9a4e869a99ad6f0dc65d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't special-case user_value for choice symbols set to y</title>
<updated>2018-02-08T09:14:48Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T05:03:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e8b4ecb6ff6ccc1c7be0818314fbccda2ef2b2ee'/>
<id>urn:sha1:e8b4ecb6ff6ccc1c7be0818314fbccda2ef2b2ee</id>
<content type='text'>
Previously, setting a choice symbol to y would only update
user_selection on the parent choice and not the symbol's own user_value.
Now both are updated.

The point of the old behavior was to remember the m mode selections of a
choice when it was switched back and forth between m and y mode, which
was a feature I thought the C implementation had. On closer inspection,
the C implementation never had that feature, though it might appear like
it if you only make "lucky" changes (if you never select any symbols in
y mode that were n in m mode).

The new behavior is simpler and easier to understand: Symbol.user_value
now always matches the value assigned in a .config file or via
set_value(), provided the value was well-formed. This might avoid some
special-casing in scripts too.

The loss in usability is pretty minimal.
</content>
</entry>
<entry>
<title>Allow "n"/"m"/"y" as aliases for 0/1/2 in set_value()</title>
<updated>2018-02-07T02:55:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-07T01:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f66cd7155158943987570937be37b09d9ca58028'/>
<id>urn:sha1:f66cd7155158943987570937be37b09d9ca58028</id>
<content type='text'>
More experience working with the API convinced me that it's worth it.
Gets rid of ugly conversions in the menuconfig.py and oldconfig.py
examples, and streamlines some things internally as well.

Include two other small fixes as well:

  - Make warnings generated by Choice.set_value() match those generated
    by Symbol.set_value().

  - Get rid of the input stripping in menuconfig.py. It's not like the
    interface is usable as-is anyway, and it just complicates the
    example.
</content>
</entry>
<entry>
<title>Warn if choice symbol has prompt outside choice</title>
<updated>2018-01-30T09:46:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-30T09:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0eadd61c05c523a150721f9646e4d3f7cff58e5c'/>
<id>urn:sha1:0eadd61c05c523a150721f9646e4d3f7cff58e5c</id>
<content type='text'>
Defining a choice symbol in multiple places to add some properties to it
outside the choice seems to actually be done deliberately by MIPS, but
it's almost guaranteed to be an error if the definition(s) outside the
choice have a prompt (and so can be changed by the user there), so warn
for that.
</content>
</entry>
<entry>
<title>Warn if a choice symbol has defaults</title>
<updated>2018-01-29T13:43:49Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T13:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3db12f728ec2d48640574133675bb01ca926d741'/>
<id>urn:sha1:3db12f728ec2d48640574133675bb01ca926d741</id>
<content type='text'>
Never has en affect.
</content>
</entry>
<entry>
<title>Warn if menuconfig statement has no prompt</title>
<updated>2018-01-29T13:26:01Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T12:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d43d2e83a9dc96d86dfbc946516bc3090303dbd3'/>
<id>urn:sha1:d43d2e83a9dc96d86dfbc946516bc3090303dbd3</id>
<content type='text'>
Mirrors a warning in the C implementation.
</content>
</entry>
</feed>
