<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v10.22.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.22.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.22.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-11-18T17:58:16Z</updated>
<entry>
<title>sync_deps() docstring format nit</title>
<updated>2018-11-18T17:58:16Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-18T17:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3c06eaf710ef437831f3e145038e1ff74f0f6d31'/>
<id>urn:sha1:3c06eaf710ef437831f3e145038e1ff74f0f6d31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for KCONFIG_ALLCONFIG</title>
<updated>2018-11-17T18:03:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-17T08:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b65baa47f69ae4c3993876a7edf0da0075aa70ff'/>
<id>urn:sha1:b65baa47f69ae4c3993876a7edf0da0075aa70ff</id>
<content type='text'>
This allows some symbol values to be forced while running
all{def,no,yes,mod}config.py. See Documentation/kbuild/kconfig.txt in
the Linux kernel.

Add a helper function load_allconfig() to Kconfiglib to avoid code
duplication in the tools.

Also add functions for enabling/disabling the warning that's generated
when a symbol is assigned multiple times in a (set of) .config files and
the values differ. It should be disabled when merging the
KCONFIG_ALLCONFIG configuration file. Previously, only the warning
generated when the assigned values are identical could be disabled.

Disable all warnings related to assigning a symbol multiple times in
examples/merge_config.py as well.
</content>
</entry>
<entry>
<title>Kconfig formatting nit in docstring</title>
<updated>2018-11-17T17:46:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-17T17:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=eb83890ae60be8509be1e42fe706d268e5b7f80d'/>
<id>urn:sha1:eb83890ae60be8509be1e42fe706d268e5b7f80d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove outdated comment in eval_string()</title>
<updated>2018-11-17T17:46:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-17T17:44:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4bc249868ffec014e70b94610bfcb2a61c7c10e8'/>
<id>urn:sha1:4bc249868ffec014e70b94610bfcb2a61c7c10e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a fast path for string parsing</title>
<updated>2018-11-07T04:59:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-07T04:31:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=41c271b8cbe19e45809a0a9d3f5426bc0b664e29'/>
<id>urn:sha1:41c271b8cbe19e45809a0a9d3f5426bc0b664e29</id>
<content type='text'>
For strings with no $ or \ in them (99.86% of all strings in the Linux
x86 Kconfigs), we can just find() the matching quote directly.

Saves a few % of tokenization time.
</content>
</entry>
<entry>
<title>Comment nit</title>
<updated>2018-11-06T11:43:17Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-06T11:43:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8c989618c9cb10ae8e140c081d1633371f1758fb'/>
<id>urn:sha1:8c989618c9cb10ae8e140c081d1633371f1758fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always strip trailing whitespace in 'MenuNode.help' and __str__()</title>
<updated>2018-11-06T10:48:42Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-06T10:16:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7992519be5d59a69dc71f43ec2f34c5594afdb14'/>
<id>urn:sha1:7992519be5d59a69dc71f43ec2f34c5594afdb14</id>
<content type='text'>
Previously, you could get either one or two newlines at the end of
MenuNode.help and the various __str__() methods, though this wasn't
documented.

Always stripping trailing whitespace is cleaner e.g. when using print(),
which automatically appends a trailing newline, and makes things
consistent.

Hopefully nothing relied on the old undocumented behavior. It's fine for
genrest.py at least.
</content>
</entry>
<entry>
<title>Whitespace nit</title>
<updated>2018-11-06T09:35:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-05T03:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9c9f0c884366ff1f0acc00e430f0eeb1b4391658'/>
<id>urn:sha1:9c9f0c884366ff1f0acc00e430f0eeb1b4391658</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make UNKNOWN falsy</title>
<updated>2018-11-03T20:12:06Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-03T19:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=041a3de1e2d2399f338ec9a5ea4d07736adb9ad3'/>
<id>urn:sha1:041a3de1e2d2399f338ec9a5ea4d07736adb9ad3</id>
<content type='text'>
Set UNKNOWN (representing 'no type') to 0, which is falsy, to simplify
some checks.

Also reorder some dictionary keys for consistency.
</content>
</entry>
<entry>
<title>Fix removal of multiple consecutive 'if' nodes</title>
<updated>2018-11-02T02:52:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-02T01:35:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0e6cd82908f5c649e15e6a63ad77a94f627449d2'/>
<id>urn:sha1:0e6cd82908f5c649e15e6a63ad77a94f627449d2</id>
<content type='text'>
Despite 'if' nodes being flattened before 'if' removal, consecutive 'if'
nodes can still show up for code like the following:

  ...

  if X
  endif

  if X
  endif

  ...

_remove_ifs() failed to remove the second 'if' node, leading to a crash
e.g. when turning on show-all mode in the menuconfig in a menu with such
code (due to the unexpected 'if' node).

Stuff like the above could potentially result from 'osource's with no
matches, though I just spotted the error while looking over the code.

Fix the 'if' removal logic to properly handle consecutive 'if' nodes.
</content>
</entry>
</feed>
