<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git, branch v10.19.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.19.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.19.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-11-01T02:59:18Z</updated>
<entry>
<title>Make 10.19.0 release</title>
<updated>2018-11-01T02:59:18Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>foo@bar.com</email>
</author>
<published>2018-11-01T02:53:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b0e4a4fda7d623284ac1949d6797b9f0a1995d88'/>
<id>urn:sha1:b0e4a4fda7d623284ac1949d6797b9f0a1995d88</id>
<content type='text'>
Adds commit 8be38f2 ("Don't show backtraces for expected exceptions in
tools"), which hides backtraces for expected errors from tools (like
Kconfig syntax errors and missing files).
</content>
</entry>
<entry>
<title>Don't show backtraces for expected exceptions in tools</title>
<updated>2018-11-01T02:21:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>foo@bar.com</email>
</author>
<published>2018-11-01T01:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8be38f27788239739619db86b6e5270ef7905511'/>
<id>urn:sha1:8be38f27788239739619db86b6e5270ef7905511</id>
<content type='text'>
KconfigError and IOError are part of normal operation and don't indicate
a problem with the library itself. Catch and print them in
standard_kconfig() and sys.exit(), to avoid spammy backtraces from e.g.
menuconfig.py when Kconfig files don't exist or have errors.
</content>
</entry>
<entry>
<title>Refactor _remove_ifs()</title>
<updated>2018-11-01T00:18:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-31T03:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d30b55043c4c771cdabf42847cf718a93cf86ab8'/>
<id>urn:sha1:d30b55043c4c771cdabf42847cf718a93cf86ab8</id>
<content type='text'>
Can get away with a single variable by assigning node.list earlier, and
save a tiny bit of work with a chained assignment.

Also clarify what the tricky Python chained assignments correspond to,
where it matters.
</content>
</entry>
<entry>
<title>menuconfig: Add quotes around filename for .config loading errors</title>
<updated>2018-11-01T00:02:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-31T02:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=dbd07bb85db0448502ee51aa43ea6ca27b84ed45'/>
<id>urn:sha1:dbd07bb85db0448502ee51aa43ea6ca27b84ed45</id>
<content type='text'>
Turns into a weird-looking 'Error loading ' otherwise.

Maybe Enter should be ignored for empty filenames instead...
</content>
</entry>
<entry>
<title>Make 10.18.0 release</title>
<updated>2018-10-31T00:31:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-31T00:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a3c162b6cb8b7ae43824fabf7ea727b837cc7584'/>
<id>urn:sha1:a3c162b6cb8b7ae43824fabf7ea727b837cc7584</id>
<content type='text'>
Commit 14603c0 ("Make errno/strerror/filename available on IOError")
makes IOError/OSError.errno/strerror/filename available to scripts, when
it is raised from e.g. Kconfig.load_config().

Previously, some implementation trickery related to custom exception
messages meant that they weren't available.
</content>
</entry>
<entry>
<title>Make errno/strerror/filename available on IOError</title>
<updated>2018-10-30T23:02:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T22:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=14603c0fed58ebbd137b39b1be2d645d5152716b'/>
<id>urn:sha1:14603c0fed58ebbd137b39b1be2d645d5152716b</id>
<content type='text'>
An error reporting flaw was that most raised IOErrors got their
errno/strerror/filename fields stripped, due to wanting to show a custom
messages. The problem was that adding back 'errno' and 'strerror' made
IOError.__str__() always return a fixed string
("[Errno &lt;errno&gt;] &lt;strerror&gt;"), ignoring any custom message.

This is friendly to users, but unfriendly to scripts (the menuconfig had
a workaround). Make things friendly to both by raising an internal
subclass of IOError instead, that preserves errno/strerror/filename but
prints a custom message. The exception can then still be caught as
IOError/OSError by scripts.
</content>
</entry>
<entry>
<title>Simplify _INIT_SRCTREE_NOTE definition</title>
<updated>2018-10-30T22:02:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T22:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ac5ac5f8ada90e3b41b998bd715497be4109b3ab'/>
<id>urn:sha1:ac5ac5f8ada90e3b41b998bd715497be4109b3ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove no longer needed 'node.item is None' tests</title>
<updated>2018-10-30T22:02:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T21:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=81272be3cefa0c14de753542e3334841f09bc4a0'/>
<id>urn:sha1:81272be3cefa0c14de753542e3334841f09bc4a0</id>
<content type='text'>
After commit e0256b6 ("Have MENU and COMMENT match _T_MENU and
_T_COMMENT"), the only falsy value for node.item is None, since all
token constants are truthy (since they're never 0).
</content>
</entry>
<entry>
<title>Replace 'indent == 0' with 'not indent'</title>
<updated>2018-10-28T17:28:40Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T17:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c679105fd9d26b2266ed7f46b652ae27e9539bbc'/>
<id>urn:sha1:c679105fd9d26b2266ed7f46b652ae27e9539bbc</id>
<content type='text'>
Tiny bit faster and smaller. Clear in context.
</content>
</entry>
<entry>
<title>Have MENU and COMMENT match _T_MENU and _T_COMMENT</title>
<updated>2018-10-28T16:54:26Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T16:25:29Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e0256b65a939732b768d594f466a3b380fc26515'/>
<id>urn:sha1:e0256b65a939732b768d594f466a3b380fc26515</id>
<content type='text'>
Same approach as for the expression type symbolic constants. Removes a
tiny bit of conversion and makes things a bit more consistent.
</content>
</entry>
</feed>
