| Age | Commit message (Collapse) | Author |
|
- d2a2727 (Implement autoconf.h generation) adds support for generating
C headers in the same format as used for include/generated/autoconf.h
in the kernel, contributed by Carles Cufi from the Zephyr project.
- 5d693b2 (Don't write out 'option env' symbols to C header) makes
it so that attempts to manually set user values on 'option env'
symbols are rejected (though such symbols were never written out to
.config files).
|
|
Functions similarly to scripts/kconfig/merge_config.sh from the kernel.
Came up in https://github.com/zephyrproject-rtos/zephyr/pull/5417.
|
|
- Small parsing performance improvements:
80b9198 (Micro-optimize Symbol.__init__() a bit)
626b6ea (Check for type first when parsing properties)
d6aa5cf (Tokenize in _next_line())
- Minor documentation nits (typos, etc.)
|
|
|
|
IANAL, but hopefully this should be enough. Don't bundle the license
file. Might be easier to work with if just kconfiglib.py is copied.
|
|
Just a few nits and a small optimization: d890343 (Micro-optimize
write_config() a bit). No bug fixes or functional changes.
|
|
To get 3832555 (Reenable accidentally disabled no-prompt warning) in.
|
|
|
|
|
|
Copy-paste error. iscriptconfig is only explained in the docstring.
|
|
|
|
Merge in the 'kconfiglib-2-backup' branch.
|
|
I wonder if there's a nicer way to get an italic link with RST...
|
|
|
|
|
|
Add the esp-idf script too.
|
|
|
|
|
|
|
|
To demonstrate some different possibilities. Will need to move some stuff around
later too.
|
|
Kconfiglib 2 has proper menuconfig support, and currently uses __slots__ too.
|
|
Less documentation duplication.
|
|
Also move it directly after the intro.
|
|
|
|
Copied straight from the module docstring, with some formatting added.
Need to update other parts too.
|
|
|
|
|
|
|
|
Fixes an imply-related issue: 1774239 (Make 'imply' consider direct
dependencies). Imply support should be solid now.
|
|
The only fix is 2a2fcbd (Propagate dependencies to range conditions),
which fixes an obscure issue with dependencies on 'range x y'
properties.
Also includes some internal cleanup and optimization.
|
|
Fixes:
- After 250b370 (Refactor load_config() and fix minor issues),
print_undef_assign=True also considers
"# CONFIG_NOT_DEFINED is not set", which acts like an "n" assignment
in practice.
- 7cbfa47 (Fix undef. assign warning in set_user_value())
Also contains some internal cleanup and optimization.
|
|
Typo
|
|
Fixes two minor issues that didn't trigger for the kernel defconfigs but
were found by inspecting the Kconfig C sources:
- 5f3d307 (Fix 'default' on non-visible choice symbols)
- f76a524 (Hide non-tristate symbols in non-y tristate choices)
Also includes some minor optimizations and a lot of code cleanups,
including prefixing all internal identifiers with _.
|
|
I didn't do this when I first wrote Kconfiglib, for whatever reason.
Makes the public API clearer to people browsing the code (though it was
already done for function names) and has some other nice side effects
like uncluttering the module-level documentation and making
autocompletion in ipython more useful. Might avoid pissing off some
people too.
Remove the trailing from _ from stuff that no longer clashes with
keywords.
Piggyback some formatting cleanups for stuff I happened to spot. It's a
huge unwieldy diff anyway.
|
|
|
|
|
|
Shows up when you do 'pip show kconfiglib', which previously showed
UNKNOWN for the license. I was hoping it'd be inferred from the trove
classifiers.
Make this a 1.0.2 release.
|
|
Will make it work for most people out of the box, plus it's good default practice anyway.
|
|
Gets the get_defconfig_filename() fixes out.
|
|
Bit more specific than https://pypi.python.org.
|
|
|
|
|
|
Along with the v1.0.0 tag. First version has been pushed to PyPI.
|
|
Packaging preparation.
Unspams the README a bit (but spams the tree...). Should make GitHub
display the license automatically.
|
|
|
|
In preparation for creating a PyPI package. This is the documentation
format PyPI expects. Some automatic conversion workarounds can be found
on Google, but keep it simple and eliminate a step.
Add a fancy table of contents using ::contents too.
|