<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v3.0.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.0.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.0.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-02-08T09:14:48Z</updated>
<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>
<entry>
<title>Warn if help text is empty</title>
<updated>2018-01-29T12:36:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T12:34:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=60d129111d8195eb61a010994e9fc974365a4d63'/>
<id>urn:sha1:60d129111d8195eb61a010994e9fc974365a4d63</id>
<content type='text'>
Personal pet peeve. Should add a warning to the C implementation too.
</content>
</entry>
<entry>
<title>Refactor _check_sym_sanity()</title>
<updated>2018-01-29T10:56:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T10:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=797221c4e39fbc584ba67c1bbecff383441923ff'/>
<id>urn:sha1:797221c4e39fbc584ba67c1bbecff383441923ff</id>
<content type='text'>
Arrange by type, which works pretty neatly except for the pesky ranges
check. This also makes us do less work in the common BOOL/TRISTATE case.

Get rid of _check_select_imply_sanity().
</content>
</entry>
<entry>
<title>Move sym.ranges check to end of _check_sym_sanity()</title>
<updated>2018-01-29T10:26:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T10:26:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=92b1fcdd4bed1c3ee1bdbac5dccbb4f4baa447b7'/>
<id>urn:sha1:92b1fcdd4bed1c3ee1bdbac5dccbb4f4baa447b7</id>
<content type='text'>
More important stuff up front.
</content>
</entry>
<entry>
<title>Warn if a symbol/choice has multiple prompts</title>
<updated>2018-01-29T09:48:45Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T09:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e930c140b424e4f72c6317bedef4ab45079270c9'/>
<id>urn:sha1:e930c140b424e4f72c6317bedef4ab45079270c9</id>
<content type='text'>
In a single location. Having multiple definitions with different prompts
is okay.
</content>
</entry>
<entry>
<title>Sanity-check range values</title>
<updated>2018-01-29T09:19:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-01-29T08:26:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ad94bb45ba5e1d36a9dcee3ebe7a4d65241379de'/>
<id>urn:sha1:ad94bb45ba5e1d36a9dcee3ebe7a4d65241379de</id>
<content type='text'>
Must have a form compatible with the int/hex, like for defaults.

Also refactor a bit and use a single _int_hex_value_is_sane() helper.
Less duplication.
</content>
</entry>
</feed>
