summaryrefslogtreecommitdiff
path: root/kconfiglib.py
AgeCommit message (Collapse)Author
2015-06-04Consistently use new-style classes.Ulf Magnusson
Ugly oversight. Gives a nice ~13% parsing performance increase with both CPython and PyPy on my system.
2015-06-02Remove Psyco support.Ulf Magnusson
Psyco is dead, and there's PyPy now.
2015-06-02Obfuscate email inside kconfiglib.py.Ulf Magnusson
2015-06-01Use ulfalizer@gmail.com for feedback.Ulf Magnusson
Harder to miss stuff that way.
2015-05-31Do a small documentation cleanup pass.Ulf Magnusson
- Clean up introduction a bit. - Explain that "# CONFIG_FOO is not set" is treated specially. - Remove some silly "otherwise False" comments where it's obvious. - Reformulate a few things slightly.
2015-05-29Fix typo in warning.Ulf Magnusson
2015-05-29Only warn for 'option modules' on non-MODULES symbols.Ulf Magnusson
2015-05-25Allow digits in $-references to symbols.Ulf Magnusson
Omission which didn't matter for the Linux kernel. sym_expand_string_value() in scripts/kconfig/symbol.c is the relevant part of the C implementation. Seems the Buildroot guys ran into it.
2015-05-25Fix typo in docs.Ulf Magnusson
2015-05-24Add warning related to get_defconfig_filename().Ulf Magnusson
Might not match 'make defconfig' if the --defconfig override is used. Should probably be improved.
2015-03-13Hint that modules are still supported despite warnings.Ulf Magnusson
2015-03-12Add Symbol.is_allnoconfig_y()Philip Craig
2015-03-12Statements in choices inherit menu/if depsPhilip Craig
This fixes the deps for the comment in drivers/usb/dwc2/Kconfig.
2015-02-16Warn about and ignore the "allnoconfig_y" Kconfig optionJakub Sitnicki
A new option has appeared in Linux 3.15-rc1. Ignore it for now.
2013-08-07Add Symbol and Choice interfaces for getting prompt strings.Ulf Magnusson
2012-12-19Use regexes instead of frozensets to lex ids/keywords.Ulf Magnusson
Faster and a bit more readable.
2012-12-18Flesh out Symbol docstring.Ulf Magnusson
2012-12-18Flesh out Config docstring.Ulf Magnusson
2012-12-18Remove redundant invalidation from load_config().Ulf Magnusson
unset_user_values() will indirectly invalidate everything, so we don't need to do it ourselves.
2012-12-18Properly unescape .config string assignments.Ulf Magnusson
2012-12-18Simplify load_config() a bit.Ulf Magnusson
2012-12-18Escape \ and " when writing .config entries for strings.Ulf Magnusson
2012-12-17Tighten up string literal parsing a bit more.Ulf Magnusson
2012-12-17Fix comment re. fast path.Ulf Magnusson
2012-12-17Small simplification.Ulf Magnusson
2012-12-17Add a fast path for string literal lexing.Ulf Magnusson
Speeds up _tokenize() by ~20%.
2012-12-16Use 'while 1' instead of 'while True'.Ulf Magnusson
Bit faster (http://wiki.python.org/moin/PythonSpeed).
2012-12-16Use | and |= instead of set.union() and set.update().Ulf Magnusson
2012-12-16Mention UNAME_RELEASE in is_special() docstring.Ulf Magnusson
2012-12-16Remove redundant elif.Ulf Magnusson
2012-12-16Fix 'source' error message.Ulf Magnusson
2012-12-15Remove redundant newline.Ulf Magnusson
2012-12-15Spell nit.Ulf Magnusson
2012-12-15Remove unused variable.Ulf Magnusson
2012-12-15Add comment about m && MODULES rewriting.Ulf Magnusson
2012-12-15Remove redundant elif.Ulf Magnusson
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