summaryrefslogtreecommitdiff
path: root/kconfiglib.py
AgeCommit message (Collapse)Author
2012-12-15Simplify _parse_error().Ulf Magnusson
2012-12-15Add optimization note for write_config().Ulf Magnusson
2012-12-15Optimize Symbol._make_conf().Ulf Magnusson
- Remove _should_write(). - Remove redundant get_value() calls.
2012-12-14Reference another example in the intro.Ulf Magnusson
2012-12-14Simplify _get_dependent().Ulf Magnusson
2012-12-14Remove superfluous variable in get_value().Ulf Magnusson
2012-12-14Clarify comment on the value of undefined symbols.Ulf Magnusson
2012-12-14Make _comment() preserve trailing newlines.Ulf Magnusson
2012-12-13Small get_value() clarification.Ulf Magnusson
2012-12-13Make _comment() correctly comment an empty line.Ulf Magnusson
2012-12-13Do not indent user-provided .config header.Ulf Magnusson
Inflexible.
2012-12-13Return constant instead.Ulf Magnusson
2012-12-13Fix loading of .config files with empty assignments.Ulf Magnusson
"CONFIG_FOO=" was broken because _strip_quotes() could not handle empty strings.
2012-12-13Rewrap some docstrings.Ulf Magnusson
2012-12-13Remove outdated comment.Ulf Magnusson
2012-12-13Add get_config() for Menu, Choice, and Comment.Ulf Magnusson
Omission.
2012-12-13Add Comment.get_visibility().Ulf Magnusson
Omission.
2012-12-13Rename Menu.get_depends_on_visibility() to Menu.get_visibility().Ulf Magnusson
2012-12-13Rename some APIs to be more consistent and intuitive.Ulf Magnusson
2012-12-13Get rid of some "in (" in favor of direct comparisons.Ulf Magnusson
Slightly faster and no less readable.
2012-12-13Clean up get_value() for hex/int and fix edge cases.Ulf Magnusson
If a range is active and no defaults are active, the low end of the range should be used for the default if no valid user value is set.
2012-12-12Rename kconfigtest.py to testsuite.py.Ulf Magnusson
2012-12-12Break encapsulation a bit to clarify code.Ulf Magnusson
Perhaps the public API should be properties instead of functions for things like .name that are very unlikely to not be static as well. Would take more work to document though.
2012-12-12Re-enable set_user_value() warning for symbols with no prompts.Ulf Magnusson
Disable warnings in allnoconfig_simpler.py instead.
2012-12-12Remove redundant check.Ulf Magnusson
2012-12-12Use 'type' instead of 'get_type()' internally.Ulf Magnusson
2012-12-12Always count non-bool/tristate symbols as 'n' in tristate context.Ulf Magnusson
Previously a string symbol that happened to have the value "y" would count as "y" in tristate context, which is incorrect.
2012-12-12Use is_choice_item_ internally.Ulf Magnusson
2012-12-11Revert "Only invalidate if the user value actually changes.".Ulf Magnusson
This will break choices under certain circumstances.
2012-12-11Misc. doc cleanups.Ulf Magnusson
2012-12-11Clarify Symbol.get_value().Ulf Magnusson
2012-12-11Rename APIs to be more consistent and intuitive.Ulf Magnusson
2012-12-11Explain visibility better.Ulf Magnusson
Also improve various warnings and other comments.
2012-12-11Small set_value() clarification.Ulf Magnusson
2012-12-11Clarify documentation for set_value() and reset().Ulf Magnusson
Mentioning internals in the docstring for reset() is just confusing.
2012-12-11Remove calc_default_value().Ulf Magnusson
It's a weird and probably pretty useless API.
2012-12-11Add note about running examples.Ulf Magnusson
2012-12-11Make it possible to pass an argument via scriptconfig.Ulf Magnusson
2012-12-11Only invalidate if the user value actually changes.Ulf Magnusson
2012-12-11Expand set_value() documentation.Ulf Magnusson
2012-12-11Make 'source' error message more informative.Ulf Magnusson
2012-12-11Update _get_dependent() documentation.Ulf Magnusson
Returns a set, not a list.
2012-12-10Remove some semicolons.Ulf Magnusson
2012-12-10Remove _Feed.is_at_end().Ulf Magnusson
Unused.
2012-12-10Register refs. for symbols on the RHS of =/!=.Ulf Magnusson
Omission.
2012-12-10Copy less when searching for symbols.Ulf Magnusson
2012-12-10Do less copying of _Blocks.Ulf Magnusson
Make _parse_block/file() take an optional parameter that is a _Block to to add items to. This also cleans up the code a bit.
2012-12-10Fix outdated comment.Ulf Magnusson
2012-12-10Update references to old Linux versions.Ulf Magnusson
2012-12-10Put _make_and/or() globally.Ulf Magnusson
Preparation for later clean-up.