<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git, branch v1.0.3</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v1.0.3</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v1.0.3'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2017-09-27T15:21:16Z</updated>
<entry>
<title>Make 1.0.3 release</title>
<updated>2017-09-27T15:21:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-27T15:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0100bb05fba211ceea21b83697b7bcfd5e2e0bd7'/>
<id>urn:sha1:0100bb05fba211ceea21b83697b7bcfd5e2e0bd7</id>
<content type='text'>
Fixes two minor issues that didn't trigger for the kernel defconfigs but
were found by inspecting the Kconfig C sources:

  - 5f3d307 (Fix 'default' on non-visible choice symbols)
  - f76a524 (Hide non-tristate symbols in non-y tristate choices)

Also includes some minor optimizations and a lot of code cleanups,
including prefixing all internal identifiers with _.
</content>
</entry>
<entry>
<title>Warn if the Makefile patch hasn't been applied</title>
<updated>2017-09-27T15:08:30Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-27T14:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=dd133fe034274ea6bdd2c738241191087a92a3c7'/>
<id>urn:sha1:dd133fe034274ea6bdd2c738241191087a92a3c7</id>
<content type='text'>
The old error from the test suite was cryptic.
</content>
</entry>
<entry>
<title>Hide non-tristate symbols in non-y tristate choices</title>
<updated>2017-09-27T15:08:15Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-27T12:41:30Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f76a5240e217c5ba4bc752e9f7705b7cb67997d7'/>
<id>urn:sha1:f76a5240e217c5ba4bc752e9f7705b7cb67997d7</id>
<content type='text'>
There's old ad-hoc code that does this in the C implementation, added in
f5eaa32 (kconfig: tristate choices with mixed tristate and boolean
values). Unless a tristate choice is in "y" mode, non-tristate symbols
get visibility "n".

There are currently no tristate choices with non-tristate symbols in the
kernel, so this never triggered.

Modify some self tests that weren't aware of this behavior, and add some
new ones. Also remove an old pointless test.
</content>
</entry>
<entry>
<title>Micro-optimize _tokenize()</title>
<updated>2017-09-26T19:56:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-26T15:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d18ca7216457e46cdc592b022aa534eec473b9c4'/>
<id>urn:sha1:d18ca7216457e46cdc592b022aa534eec473b9c4</id>
<content type='text'>
 - A small modification to _initial_token_re_match makes it reject
   comments too, saving some manual code (and probably lots of string
   copying).

 - Reorganize things to handle 'previous' in a nicer way.

 - Use tuples instead instead of lists in the no-tokens and _T_HELP
   cases. Could preallocate and return an empty _Feed too, but it seems
   like overkilling it.

Profiling done with cProfile and line_profiler.
</content>
</entry>
<entry>
<title>Simplify Symbol._make_conf() conditional</title>
<updated>2017-09-26T15:19:47Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-26T15:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c8807f0afa354fb16886b7517f0cc0bf18d39713'/>
<id>urn:sha1:c8807f0afa354fb16886b7517f0cc0bf18d39713</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix 'default' on non-visible choice symbols</title>
<updated>2017-09-25T18:42:44Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-25T18:24:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=5f3d307155f4db035b652738e9fc49ad8be0c792'/>
<id>urn:sha1:5f3d307155f4db035b652738e9fc49ad8be0c792</id>
<content type='text'>
Previously, 'default CHOICE_SYM [if &lt;cond&gt;]' in a choice would skip any
following 'default' properties if &lt;cond&gt; was non-'n'. However, those
other defaults should still be considered if CHOICE_SYM has visibility
'n'. Previously, we'd immediately fall back to selecting the first
visible symbol in the choice in that case.

get_selection_from_defaults() now exactly mirrors sym_choice_default()
from the C implementation, and got less convoluted too.

Nothing in the kernel defconfigs triggered this.

Add a new test case too.
</content>
</entry>
<entry>
<title>Remove redundant str()</title>
<updated>2017-09-25T17:29:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-25T17:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=58e05c00ab0a762866e3719974d5b74096df233c'/>
<id>urn:sha1:58e05c00ab0a762866e3719974d5b74096df233c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unhelpful invalidation comments</title>
<updated>2017-09-25T17:29:23Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-25T17:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=cb3db6f85d5d2bc986fccb9568d85d1a7423d576'/>
<id>urn:sha1:cb3db6f85d5d2bc986fccb9568d85d1a7423d576</id>
<content type='text'>
Probably not worthwhile to do anything overly fancy in the mentioned
cases. Add some more helpful comments instead.

Piggyback another comment nit.
</content>
</entry>
<entry>
<title>Don't set defaults that will always be overwritten</title>
<updated>2017-09-25T16:21:34Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-25T15:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fe17f546b5cd5fd8b9df7d53856efd7b207faa0e'/>
<id>urn:sha1:fe17f546b5cd5fd8b9df7d53856efd7b207faa0e</id>
<content type='text'>
The constructors previously defaulted all properties. This is dead code
for properties that are always set on items from outside during parsing,
and obfuscates the code flow and wastes time. Instead, just mention
other properties that exist in comments in the constructors.

Also add test cases for missing and empty 'choice' help texts. Removing
the default 'self._help = None' assignment in Choice.__init__() wasn't
caught by the selftests.
</content>
</entry>
<entry>
<title>Rename _sym_lookup() to _lookup_sym()</title>
<updated>2017-09-25T13:54:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-09-25T13:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a967d280acc35c5c783ac14dceadb2a79d06e8d9'/>
<id>urn:sha1:a967d280acc35c5c783ac14dceadb2a79d06e8d9</id>
<content type='text'>
</content>
</entry>
</feed>
