<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v11.6.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v11.6.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v11.6.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-05-25T16:04:15Z</updated>
<entry>
<title>Use the '&lt;type&gt; "prompt"' shorthand in __str__()</title>
<updated>2019-05-25T16:04:15Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-25T15:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9f57bf933508901f07d22c75fca42e62145f5512'/>
<id>urn:sha1:9f57bf933508901f07d22c75fca42e62145f5512</id>
<content type='text'>
Pro: Looks cleaner and matches how definitions are usually written.

Con: Makes it harder to discover that 'bool "foo"' is just shorthand for
'bool' + 'prompt "foo"' (though it's documented).

The pros probably win.
</content>
</entry>
<entry>
<title>Display n/m/y without quotes</title>
<updated>2019-05-25T14:50:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-25T14:49:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e1da7aa4d041d25e4fd5fd1f603f4c28d32b1392'/>
<id>urn:sha1:e1da7aa4d041d25e4fd5fd1f603f4c28d32b1392</id>
<content type='text'>
These are constant symbols, which is why the quotes showed up.
Special-case them to remove the quotes, to match what people expect.

Internally, n/m/y without quotes is taken as a shorthand for
"n"/"m"/"y".
</content>
</entry>
<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>Consistently put direct deps. last when propagating</title>
<updated>2019-05-24T11:08:12Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-24T10:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e81a77bdb0687b62f91d7dc4d5b84b443808c0a7'/>
<id>urn:sha1:e81a77bdb0687b62f91d7dc4d5b84b443808c0a7</id>
<content type='text'>
Preparation for some later additions. Previously, the 'visible if' deps
appeared to the right of the 'depends on' deps. Now, the direct deps
always appear last.

With this change, the prompt tuple is only updated once for any given
menu node too, which should be a tiny bit faster.
</content>
</entry>
<entry>
<title>Clarify that KconfigSyntaxError = KconfigError in the docs</title>
<updated>2019-05-23T07:49:42Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-23T07:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=95515d4cb09c02881bfbec1809c82f885ebd55c8'/>
<id>urn:sha1:95515d4cb09c02881bfbec1809c82f885ebd55c8</id>
<content type='text'>
KconfigSyntaxError is just an older (bad) name. pydoc generates
confusing documentation due to the "KconfigSyntaxError = KconfigError"
assignment, so mention it in the docstring.
</content>
</entry>
<entry>
<title>Say "removes" instead of "resets" in the unset_value(s)() docstring</title>
<updated>2019-05-22T06:52:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-22T06:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f8978b04779aeae790b205a22f68cee0af2e4e5b'/>
<id>urn:sha1:f8978b04779aeae790b205a22f68cee0af2e4e5b</id>
<content type='text'>
Clearer.
</content>
</entry>
<entry>
<title>Comment nit</title>
<updated>2019-05-19T00:26:10Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-17T19:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a75e073072399aa59fa52a0a0e02cbc1e9722dca'/>
<id>urn:sha1:a75e073072399aa59fa52a0a0e02cbc1e9722dca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify direct_dep and dep documentation</title>
<updated>2019-05-11T12:27:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-11T12:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=95b80e16c4541089a8c5e33f73bbbac7a7f8ba8b'/>
<id>urn:sha1:95b80e16c4541089a8c5e33f73bbbac7a7f8ba8b</id>
<content type='text'>
 - Mention that having no direct dependencies corresponds to having y
   direct dependencies

 - Remove the note about how direct_dep is used internally. It's also
   used for the select-with-unsatisfied-deps warning.

 - Remove the note about how checking direct_dep might be "redundant"
   since it's propagated. direct_dep can be useful in scripts still, and
   maybe it could scare people away from it.

 - Say 'surrounding menus and ifs' instead of of 'parent' in the 'dep'
   docstring

 - Fix two s/config/kconfig/ typos
</content>
</entry>
<entry>
<title>Improve the 'referenced' docstring</title>
<updated>2019-05-10T17:11:17Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-10T17:08:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=814e2decd190d78b588dd775c1531dacd6bc38c6'/>
<id>urn:sha1:814e2decd190d78b588dd775c1531dacd6bc38c6</id>
<content type='text'>
 - Point out why dependencies from surrounding if's and menus are
   included

 - Clarify that .referenced isn't transitive. Only "direct" references
   are included.

 - Give a hint about direct dependencies and expr_items()

Prompted by https://github.com/ulfalizer/Kconfiglib/issues/69.
</content>
</entry>
<entry>
<title>Do not set top_node location to location of 'mainmenu' statement</title>
<updated>2019-05-10T12:14:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-10T12:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0f2b78c71e9fc2c9c1890e91dc37c1a853602847'/>
<id>urn:sha1:0f2b78c71e9fc2c9c1890e91dc37c1a853602847</id>
<content type='text'>
It's undocumented and unguessable that Kconfig.top_node.filename/linenr
gets set to the location of the 'mainmenu' statement (if any).

Always set it to the first line of the top-level Kconfig instead, which
should be more expected.
</content>
</entry>
</feed>
