<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v9.4.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v9.4.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v9.4.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-08-17T19:35:42Z</updated>
<entry>
<title>Fix $srctree logic for the top-level Kconfig file</title>
<updated>2018-08-17T19:35:42Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-17T19:04:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8a3999bc708e8468ff79665e3cbdfccd603160e1'/>
<id>urn:sha1:8a3999bc708e8468ff79665e3cbdfccd603160e1</id>
<content type='text'>
Due to a major design braino, the top-level Kconfig file passed to
Kconfig.__init__() wasn't looked up relative to $srctree, breaking
out-of-tree usage for e.g. menuconfig.

With this change, Kconfig files are consistently looked up relative to
$srctree, which makes a lot more sense.

Also remove note re. loading a subset of Kconfig files. Saying that the
top-level file and all source'd Kconfig files are looked up relative to
$srctree should make the behavior clear enough.
</content>
</entry>
<entry>
<title>Use += instead of extend()</title>
<updated>2018-08-14T08:29:24Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-14T08:00:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b7be018fba77db3a9ff11faf980c600d4bbb2fa8'/>
<id>urn:sha1:b7be018fba77db3a9ff11faf980c600d4bbb2fa8</id>
<content type='text'>
+= also does an in-place modification for lists, and it's a bit faster.

Also get rid of an 'if node.defaults' tests. Both symbols and choices
can have defaults, and it's not worthwhile as an optimization either.
</content>
</entry>
<entry>
<title>Simplify menuconfig-without-prompt warning</title>
<updated>2018-08-12T06:22:46Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-12T06:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=43480de6b2e50dc424232e9b9c97b19502f3e354'/>
<id>urn:sha1:43480de6b2e50dc424232e9b9c97b19502f3e354</id>
<content type='text'>
node.item is already available as 'sym'.
</content>
</entry>
<entry>
<title>Simplify _warn_select_unsatisfied_deps() a bit</title>
<updated>2018-08-12T05:25:17Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-12T05:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=40d45c0284838ce4df3ae8d36a867fa0d754e3a3'/>
<id>urn:sha1:40d45c0284838ce4df3ae8d36a867fa0d754e3a3</id>
<content type='text'>
select_val was only used in a single place, and there's no real harm in
calculating expr_value(self.direct_dep) twice for a warning.
</content>
</entry>
<entry>
<title>Don't pass encoding= to Popen()</title>
<updated>2018-08-11T02:20:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-11T00:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6aea8d06b637ea55a2fa7d2949863adae5310ce2'/>
<id>urn:sha1:6aea8d06b637ea55a2fa7d2949863adae5310ce2</id>
<content type='text'>
Popen()'s 'encoding' parameter is Python 3.6+ only.

Unfortunately, Popen()'s universal_newlines=True without 'encoding' will
use the encoding from the environment. Do a manual version instead, so
that we can still use the user-specified encoding (usually UTF-8). That
might prevent problems on systems that are (poorly) configured to use
the C locale.
</content>
</entry>
<entry>
<title>Improve naming in the custom expr. printing functions</title>
<updated>2018-08-10T04:39:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-10T04:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d0732cff9cef507d79d5c53fbcc648dd6f560ce5'/>
<id>urn:sha1:d0732cff9cef507d79d5c53fbcc648dd6f560ce5</id>
<content type='text'>
 - *_fn() prefixes on functions are a bit silly. It makes more sense for
   the expr_str() parameter, so keep it there.

 - Use *_expr_str() instead of just *_str(), to make it clearer that
   these deal with expressions.
</content>
</entry>
<entry>
<title>Support custom printing of symbols/choices in expressions</title>
<updated>2018-08-10T02:57:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-09T22:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1f864b104a1f64b1c72ab13422070f6ad7cad225'/>
<id>urn:sha1:1f864b104a1f64b1c72ab13422070f6ad7cad225</id>
<content type='text'>
Allow custom output formats for symbols/choices when turning expressions
into strings, via a user-supplied callback function (sc_str_fn).

This makes things like turning symbols into links in generated
documentation and displaying symbol values in the menuconfig interface
less hacky to implement.

Two new Symbol/Choice.custom_str() functions were added, as passing
extra arguments to __str__() is awkward.
</content>
</entry>
<entry>
<title>Look for '$(' instead of '$' for inline macro expansions</title>
<updated>2018-07-31T21:54:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-31T11:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=9cf4bd2310bb1d1de4cc199b1a0ad9ba7d87e3ae'/>
<id>urn:sha1:9cf4bd2310bb1d1de4cc199b1a0ad9ba7d87e3ae</id>
<content type='text'>
This gives a less confusing KconfigError message for syntax errors like
'config $FOO'.
</content>
</entry>
<entry>
<title>Restore compatibility with old kernels</title>
<updated>2018-07-24T20:13:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-24T20:13:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=6899f91867ecd1df50620499db7a64f9d5c1397b'/>
<id>urn:sha1:6899f91867ecd1df50620499db7a64f9d5c1397b</id>
<content type='text'>
Add a small hack to restore compatibility with older (2015-) versions of
the Linux kernel. Weird help tokens like -help- and --help--- are now
accepted again.

Compatibility was originally dropped by commit c19fc11 ("Drop some
compatibility and tighten up lexing"), but it turns that people are
still using Kconfiglib with older kernels.

The new compatibility hack has pretty minimal impact at least.
</content>
</entry>
<entry>
<title>Use universal newlines mode in $(shell) implementation</title>
<updated>2018-07-24T20:06:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-24T17:50:15Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b650ccda72102bf8581420cfa31f6c6eab67f65d'/>
<id>urn:sha1:b650ccda72102bf8581420cfa31f6c6eab67f65d</id>
<content type='text'>
This prevents e.g. stray \r's in command output on Windows after
stripping trailing newlines.
</content>
</entry>
</feed>
