<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/examples/allnoconfig.py, branch v4.0.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v4.0.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v4.0.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2017-11-20T07:08:25Z</updated>
<entry>
<title>allno/yesconfig.py: Remove unused STR_TO_TRI imports</title>
<updated>2017-11-20T07:08:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-20T07:00:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f2f69e6f60eb75d054383579454038a80f3d9f0e'/>
<id>urn:sha1:f2f69e6f60eb75d054383579454038a80f3d9f0e</id>
<content type='text'>
Leftovers
</content>
</entry>
<entry>
<title>allnoconfig.py: s/while 1/while True/</title>
<updated>2017-11-09T20:31:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-09T20:24:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bd531eb941b71ebd97623f24ae31b0763bab0c54'/>
<id>urn:sha1:bd531eb941b71ebd97623f24ae31b0763bab0c54</id>
<content type='text'>
Pointless as an optimization here. Should restrict obfuscating
micro-optimization to the library code too even where it helps.
</content>
</entry>
<entry>
<title>Simplify allyesconfig.py</title>
<updated>2017-11-06T02:34:35Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-06T02:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=de6e57ff6dd4bab3d2a78f8d01b2bfecbd663fc4'/>
<id>urn:sha1:de6e57ff6dd4bab3d2a78f8d01b2bfecbd663fc4</id>
<content type='text'>
Can be implemented in a simpler/better way with Choice.assignable.

Also rename 'conf' to 'kconf' in allnoconfig.py for consistency.
</content>
</entry>
<entry>
<title>Simplify redundant 'is (not) None' tests in examples</title>
<updated>2017-11-05T06:02:54Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-05T06:01:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=087bc506d25b20b759a092a7490942e9cb212720'/>
<id>urn:sha1:087bc506d25b20b759a092a7490942e9cb212720</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify allnoconfig.py choice handling</title>
<updated>2017-11-05T05:46:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-05T05:46:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=182772455a18e6af38f0935a984f4ef1bdfc9221'/>
<id>urn:sha1:182772455a18e6af38f0935a984f4ef1bdfc9221</id>
<content type='text'>
Don't need to handle them at all now that .assignable doesn't claim that
choice symbols in y-mode choices can be set to n. 20/20 hindsight.
</content>
</entry>
<entry>
<title>Switch to a much faster invalidation algorithm</title>
<updated>2017-11-01T05:04:10Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-01T01:02:45Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=70a9eb0668b51934f8d79f0c037d65aeb440bcef'/>
<id>urn:sha1:70a9eb0668b51934f8d79f0c037d65aeb440bcef</id>
<content type='text'>
_cached_vis is always calculated as a side effect of calculating any
other cached value, and so doubles as a flag for whether an item (symbol
or choice) has any cached values.

If _cached_vis is None for some item, it also indirectly means that no
other item can have any cached values that (actually) depend on the
item, because _cached_vis would have gotten calculated as a side effect
of calculating any such cached value. Therefore, it's safe to stop
recursive invalidation at an item that has _cached_vis None.

Huge speedup for the allyes/noconfig*.py scripts. allnoconfig_simpler.py
went from 2.671 seconds to 1.067 seconds.

The dependency selftests need to be updated too now that
_get_dependent() is gone. The kernel defconfig tests pass even if all
global invalidation is disabled at least (except for the few defconfigs
that don't set MODULES=y), and that's a huge invalidation test. Seems
pretty speedy too, even though there's some redundant work, so maybe
things could be simplified a bit...
</content>
</entry>
<entry>
<title>Consistently use 0/1/2 for tristate values</title>
<updated>2017-10-30T00:14:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-10-29T23:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=989e9f77cfe8caabc7ac241572e9b52682901135'/>
<id>urn:sha1:989e9f77cfe8caabc7ac241572e9b52682901135</id>
<content type='text'>
Easier to work with, allowing e.g. direct comparisons with &lt; and &gt;. Make
set_value() take 0, 1, 2 for bool and tristate symbols, and fix other
APIs to match.

Also:

  - Add introductions to various concepts in the module docstring.
    Document some more attributes. Still TODOs.

  - Rename the Config class to Kconfig.

  - Escape " and \ in the name of constant symbols when printing them.
    Also make the (un)escaping 100% consistent with how the C tools do
    it (\ before non-magic character should be unescaped too).

  - Clean up the escaping/unescaping code and provide two public
    escape()/unescape() functions.

  - Export the original MODULES-independent type in orig_type. It's
    needed for printing symbols in the reparsable __str__() Kconfig
    format with just public APIs.

  - Lots of other minor reorganizing and nits all over.
</content>
</entry>
<entry>
<title>Nearly finalize API</title>
<updated>2017-10-27T22:57:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-10-27T22:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=481bfd60d0b283f30b906d2edf8228aeb82e8492'/>
<id>urn:sha1:481bfd60d0b283f30b906d2edf8228aeb82e8492</id>
<content type='text'>
Probably just some usability tweaks left. Having to do STR_TO_TRI[] for
comparisons against 'assignable' values is kinda ugly and confusing.
</content>
</entry>
<entry>
<title>Backup</title>
<updated>2017-10-25T11:39:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-10-25T11:35:31Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=463cebd7f8bf26673732bf5afcd113ee5e2268b7'/>
<id>urn:sha1:463cebd7f8bf26673732bf5afcd113ee5e2268b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Kconfiglib 2 backup</title>
<updated>2017-10-24T17:24:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-10-09T21:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=dd0e227216e247d2040cdd40bf7397702880cdc4'/>
<id>urn:sha1:dd0e227216e247d2040cdd40bf7397702880cdc4</id>
<content type='text'>
WIP
</content>
</entry>
</feed>
