summaryrefslogtreecommitdiff
path: root/kconfiglib.py
AgeCommit message (Collapse)Author
2012-12-09Make get_referenced_symbols() include symbols from ranges.Ulf Magnusson
Previously only included symbols from the condition for ranges.
2012-12-09Add note about internal APIs.Ulf Magnusson
2012-12-09Clarify _get_dependent() documentation.Ulf Magnusson
2012-12-09Spell nit.Ulf Magnusson
2012-12-09Make introduction less verbose.Ulf Magnusson
2012-12-08Register dependencies from ranges.Ulf Magnusson
Oversight.
2012-12-08Avoid getting 'self' as a dependency.Ulf Magnusson
Harmless but pointless.
2012-12-08Add _get_dependent() note.Ulf Magnusson
2012-12-08Reuse cached deps from other symbols in _get_dependent().Ulf Magnusson
Speeds up allnoconfig_simpler.py by 30%.
2012-12-08Cache the list of dependent symbols.Ulf Magnusson
Will speed things up if a user value is set more than once on a symbol. Also, return the result as a list, which should be quicker to iterate through.
2012-12-08Remove warning for assigning to symbol without prompt.Ulf Magnusson
Annoying when running allnoconfig_simpler.py.
2012-12-08Arrange _tokenize() cases by frequency.Ulf Magnusson
Now arranged by the frequency different cases are encountered while parsing the x86 configuration (likely the same as for all archs). Gives a small speed-up. Also get rid of an unnecessary sym_chars membership test and add/fix some comments.
2012-12-07Use consistent style for tuple unpacking.Ulf Magnusson
2012-12-07Use a frozenset for string_lex.Ulf Magnusson
2012-12-07Small simplification.Ulf Magnusson
2012-12-07Fix get_menus() ordering w.r.t. nested menus.Ulf Magnusson
Menus were being added in the order of their 'endmenu's instead of the order of their 'menu's.
2012-12-07Clarify ordering with get_actual_items().Ulf Magnusson
2012-12-06Add Choice.get_help().Ulf Magnusson
Oversight.
2012-12-06Clarify eval() and always use transform_m = True.Ulf Magnusson
The old version was a bit confusing, and it's probably best to always handle expressions like for conditionals.
2012-12-06Clarify documentation for 'Choice'.Ulf Magnusson
2012-12-06Get rid of _eval_to_int().Ulf Magnusson
Was always called for things guaranteed not to be expressions, so it was an all around waste.
2012-12-06Clarify and tighten up get_assignable_values().Ulf Magnusson
Also get rid of the kludgey _is_assignable_bool_or_tristate().
2012-12-06Clarify and tighten up get_lower/upper_bound().Ulf Magnusson
2012-12-06Clarify and tighten up is_modifiable().Ulf Magnusson
2012-12-06Clean up is_modifiable().Ulf Magnusson
2012-12-06Move examples into separate directory.Ulf Magnusson
2012-12-06Spell nit.Ulf Magnusson
2012-12-06Remove redundant variable.Ulf Magnusson
2012-12-06Remove some ugly redundant else's.Ulf Magnusson
2012-12-06Space out a bit.Ulf Magnusson
2012-12-06Add Config.n/m/y as aliases for Config.syms["n"/"m"/"y"].Ulf Magnusson
2012-12-06Fix _internal_error() call.Ulf Magnusson
2012-12-06Unconvolute evaluation of (in)equalities.Ulf Magnusson
2012-12-06Fix get_mainmenu_text() when none available.Ulf Magnusson
2012-12-06Only print Config.arch/srcarch if non-None.Ulf Magnusson
Also, Config.srctree cannot be None.
2012-12-04Improve some comments.Ulf Magnusson
2012-12-04Make $SRCARCH, $srctree, and the config filename queryable.Ulf Magnusson
Thanks to fpemud for spotting this.
2012-12-03add parent assignment for Choice objectfpemud
2012-12-03Record locations for symbols defined with 'menuconfig'.Ulf Magnusson
We previously only looked for T_CONFIG to determine if a location should be recorded. We need to look for T_MENUCONFIG as well. Also add some sanity checks for get_ref/def_location() to the test suite.
2012-11-08Skip invalid characters when tokenizing.Ulf Magnusson
Emulate zconf.l w.r.t. invalid characters at different locations within a line. This eliminates the need for special hacks to handle -*help-* "tokens". The Linux 3.7.0 configuration files now parse without errors.
2012-07-10Upload Kconfiglib, patch level 3.Ulf Magnusson