<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/examples/find_symbol.py, branch v14.1.1a4</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v14.1.1a4</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v14.1.1a4'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-05-25T14:18:29Z</updated>
<entry>
<title>Strip direct deps. from property conditions in Symbol/Choice/MenuNode.__str__()</title>
<updated>2019-05-25T14:18:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-25T11:52:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bb33eed5cc6bdce2b65aa570ecd9a400bcd9c180'/>
<id>urn:sha1:bb33eed5cc6bdce2b65aa570ecd9a400bcd9c180</id>
<content type='text'>
Commit e81a77b ("Consistently put direct deps. last when propagating")
makes the position of the direct deps. in property conditions
predictable after dependency propagation, making it easy to strip them
as needed.

Use this to implement MenuNode.orig_{prompt,defaults,selects,implies,ranges},
which work like the non-orig_* versions but omit the direct deps. Use
those in turn to omit the direct deps in Symbol/Choice.__str__().

The direct deps. (with propagated parent deps.) can still be seen after
'depends on ...', so there is no loss of information.

This unclutters Kconfig definitions shown in menuconfig/guiconfig and in
any generated documentation. The old output also had duplicated
dependencies, though it doesn't matter for evaluation.

Before:

  config A
  	bool
  	prompt "A" if DEP
  	default y if FOO &amp;&amp; DEP
  	depends on DEP

After:

  config A
  	bool
  	prompt "A"
  	default y if FOO
  	depends on DEP
</content>
</entry>
<entry>
<title>Update some examples to use node_iter()</title>
<updated>2018-09-15T01:07:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-15T00:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=35a60b786c646c846d9bad6a5f15711acc9a62c6'/>
<id>urn:sha1:35a60b786c646c846d9bad6a5f15711acc9a62c6</id>
<content type='text'>
Simplifies the code. Should promote new APIs.

Also fix list_undefined.py for recent kernels. More environment
variables are referenced now.
</content>
</entry>
<entry>
<title>Simplify the find_symbol and list_undefined examples</title>
<updated>2018-06-22T07:03:48Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-22T05:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4503fccb7ab07c190902618cfab6f6559c611a95'/>
<id>urn:sha1:4503fccb7ab07c190902618cfab6f6559c611a95</id>
<content type='text'>
Much of the functionality is available in Kconfiglib itself now. Use the
new APIs to implement the examples in a much simpler way.
</content>
</entry>
<entry>
<title>Add a function for getting all items in an expression</title>
<updated>2018-06-11T16:30:51Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-11T15:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=506e3fb211d22f62115ce83e9247266c5d87ea24'/>
<id>urn:sha1:506e3fb211d22f62115ce83e9247266c5d87ea24</id>
<content type='text'>
Handy e.g. when searching.
</content>
</entry>
<entry>
<title>Simplify error exits</title>
<updated>2018-05-27T14:04:30Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-05-27T14:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b20db3b8a79c3e4e3421b1882fa80964726bdb4b'/>
<id>urn:sha1:b20db3b8a79c3e4e3421b1882fa80964726bdb4b</id>
<content type='text'>
Had missed sys.exit(msg).
</content>
</entry>
<entry>
<title>Add example that finds references to undefined symbols</title>
<updated>2018-02-03T21:35:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-03T20:10:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2fb1d811855162fe9d723806a7b5fb995b14ff7b'/>
<id>urn:sha1:2fb1d811855162fe9d723806a7b5fb995b14ff7b</id>
<content type='text'>
Does a global search over all architectures in the kernel, which should
avoid false positives.

Referencing an undefined symbol in a particular architecture can be fine
in a Kconfig file that's shared by multiple architectures, but if the
symbol isn't defined by any architecture, it's likely to be an error (or
a potential cleanup).
</content>
</entry>
<entry>
<title>Fix a few typos</title>
<updated>2017-11-10T07:46:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-10T07:46:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8757ff9ae1d23499ed58ee8ea6f1fb578603d2c7'/>
<id>urn:sha1:8757ff9ae1d23499ed58ee8ea6f1fb578603d2c7</id>
<content type='text'>
Clean up some formatting a bit too.
</content>
</entry>
<entry>
<title>Fix find_symbol.py typo</title>
<updated>2017-11-05T04:59:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-05T04:59:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f39549271523897d52e4a91f958bf7b397fa321f'/>
<id>urn:sha1:f39549271523897d52e4a91f958bf7b397fa321f</id>
<content type='text'>
Argument must be "X86" to get that output. "x86" just returns some
constant symbols.
</content>
</entry>
<entry>
<title>Add example that finds references to a symbol</title>
<updated>2017-11-05T04:56:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2017-11-05T04:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a5cd26e0572702d41b3eb7a578c0e06ffd0d4daf'/>
<id>urn:sha1:a5cd26e0572702d41b3eb7a578c0e06ffd0d4daf</id>
<content type='text'>
Demonstrates expression fetching and walking. Basically a much better
version of get_ref_locations() from Kconfiglib 1, now that the user API
is flexible enough to implement it.

Should be it for new examples before release.
</content>
</entry>
</feed>
