<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v10.10.2</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.10.2</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.10.2'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-10-02T22:15:03Z</updated>
<entry>
<title>Fix parse error message on the line after help texts</title>
<updated>2018-10-02T22:15:03Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-02T21:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=21e47ce43181ea6f460aa85e944c0bfad0672413'/>
<id>urn:sha1:21e47ce43181ea6f460aa85e944c0bfad0672413</id>
<content type='text'>
The correct error and line number was reported, but not the correct line
contents. self._line needs to be set before calling _tokenize(), so that
_parse_error() knows the context.

There's no need to set self._line for empty lines, because we
immediately end up back in _next_line() after parsing the help text,
which refetches the empty line and updates self._line.
</content>
</entry>
<entry>
<title>Clean up documentation a bit re. named choice</title>
<updated>2018-10-01T22:57:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-01T22:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6aaf01c241b1356c1c8ceb3425f355f448bb4224'/>
<id>urn:sha1:6aaf01c241b1356c1c8ceb3425f355f448bb4224</id>
<content type='text'>
Zephyr uses several named choices, and I've seen them in other projects
now too, so don't imply that they aren't used. The menuconfig interface
now has better support for them than the C tools too, where adding
symbols by defining a choice in multiple locations is broken.

Also remove a reference to Kconfiglib 1.
</content>
</entry>
<entry>
<title>__slots__ formatting consistency nit</title>
<updated>2018-10-01T22:08:47Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-01T22:08:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9a38b414a790d50791ba11f6cbc4f8a1c9761b79'/>
<id>urn:sha1:9a38b414a790d50791ba11f6cbc4f8a1c9761b79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't set filename and linenr on 'if' menu nodes</title>
<updated>2018-09-30T22:27:08Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-30T22:01:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6aab113523a52c2767832a3df35c6c82d3197c60'/>
<id>urn:sha1:6aab113523a52c2767832a3df35c6c82d3197c60</id>
<content type='text'>
There's no way to query them later, as 'if's get flattened and removed,
and they're not needed during parsing either.
</content>
</entry>
<entry>
<title>Clarify node_iter() documentation re. iteration order</title>
<updated>2018-09-29T16:28:03Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-29T16:22:39Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=53db3ee278f5935751baa46d4999a0b0a469f1de'/>
<id>urn:sha1:53db3ee278f5935751baa46d4999a0b0a469f1de</id>
<content type='text'>
The old version might not have made it obvious that a node is visited
before its children.
</content>
</entry>
<entry>
<title>Refactor parsing to get rid of _saved_line</title>
<updated>2018-09-29T16:08:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-29T14:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c1dcaa3ccbb263f021157f2aebd185c6388c28a1'/>
<id>urn:sha1:c1dcaa3ccbb263f021157f2aebd185c6388c28a1</id>
<content type='text'>
Handle the line-after-help-text case specially, which allows _has_tokens
(renamed to _reuse_tokens) to be used as the unget mechanism for help
texts as well, leaving _saved_line unused. Move the _reuse_tokens check
into _next_line().

This makes _parse_block() as straightforward as _parse_properties(), and
simplifies _parse_properties() a tiny bit too by getting rid of the
'_tokens_i = -1' assignment.
</content>
</entry>
<entry>
<title>Remove stray tab character</title>
<updated>2018-09-27T16:35:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-27T16:35:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=43d2003d82dcc4e5329c6020f350600eaef2c4d7'/>
<id>urn:sha1:43d2003d82dcc4e5329c6020f350600eaef2c4d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unmatched endchoice/endif/endmenu formatting nit</title>
<updated>2018-09-27T15:22:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-27T15:21:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8087311cd91bedbf2b24ccdc3925ca641a2de33c'/>
<id>urn:sha1:8087311cd91bedbf2b24ccdc3925ca641a2de33c</id>
<content type='text'>
Easier to read.
</content>
</entry>
<entry>
<title>Give clearer errors for bad endchoice/endif/endmenu nesting</title>
<updated>2018-09-27T15:04:15Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-27T14:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c91e17c3f0b5410328b2d51c70224804e8b133cc'/>
<id>urn:sha1:c91e17c3f0b5410328b2d51c70224804e8b133cc</id>
<content type='text'>
An endchoice/endif/endmenu with no corresponding choice/if/menu
generated a cryptic 'unrecognized construct' parse error. Improve the
error message so that the problem is pointed out explicitly:

  kconfiglib.KconfigError: Kconfig:37: couldn't parse 'endmenu': no corresponding 'menu'

Reported in https://github.com/ulfalizer/Kconfiglib/issues/56.
</content>
</entry>
<entry>
<title>Add support for user-defined Python preprocessor functions</title>
<updated>2018-09-23T15:31:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-20T11:33:59Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6156041560c75831e003202b790ab3f435bbb388'/>
<id>urn:sha1:6156041560c75831e003202b790ab3f435bbb388</id>
<content type='text'>
Allow preprocessor functions to be defined in Python by putting a module
called 'kconfigfunctions' into sys.path. Internally, this simply adds
the functions to the predefined functions in Kconfig._functions.

User-defined Python functions make it simple to integrate information
from existing Python tools into Kconfig, e.g. to have Kconfig symbols
depend on hardware information stored in some other format. This might
be used to get device tree information into Kconfig in Zephyr.

Piggyback module docstring documentation for some extensions that were
previously only mentioned in the README.
</content>
</entry>
</feed>
