summaryrefslogtreecommitdiff
path: root/README.rst
AgeCommit message (Collapse)Author
2019-04-18Make 10.48.0 releasev10.48.0Ulf Magnusson
Improves save/load UI design in the menuconfig, in commit 90c5573 ("menuconfig: Remember last saved/loaded path and improve _conf_changed").
2019-04-17Make 10.47.0 releasev10.47.0Ulf Magnusson
Adds a (perhaps not noticeable) performance improvement to the menuconfig, in commit a47615f ("menuconfig: Prune _shown_nodes() recursion").
2019-04-17Make 10.46.1 releasev10.46.1Ulf Magnusson
Fixes a display issue for m/y-valued 'menuconfig' symbols with disabled optional prompts and visible children, in commit 37c6984 ("menuconfig: Fix display issue for optional-prompt menuconfigs").
2019-04-11Make 10.46.0 releasev10.46.0Ulf Magnusson
Makes menu paths shown in the menuconfig more informative, in commit 136c0e4 ("menuconfig: Include all parents in menu paths").
2019-04-10Make 10.45.2 releasev10.45.2Ulf Magnusson
Adds a fix to avoid automatically turning on show-all in obscure cases when loading a .config file from within the menuconfig interface: commit 50173b2 ("menuconfig: Avoid needlessly turning on show-all in rare cases").
2019-04-04make 10.45.1 releasev10.45.1Ulf Magnusson
Fixes a minor menuconfig issue, in commit 08cfc33 ("menuconfig: Show menus with unsatisfied 'visible if' in red in show-all mode").
2019-03-24Make 10.45.0 releasev10.45.0Ulf Magnusson
Improves the savedefconfig help text a tiny bit, in commit 13f84c7 ("savedefconfig: Have '--out MINIMAL_CONFIGURATION' instead of '--out OUT'"). Also improves 'source' performance a bit.
2019-03-22Make 10.44.0 releasev10.44.0Ulf Magnusson
Makes more documentation available via pydoc(3), in commit c70a45e ("Convert some comments to module docstrings in utilities").
2019-03-22README nitUlf Magnusson
2019-03-20Make 10.43.0 releasev10.43.0Ulf Magnusson
Adds a new savedefconfig script in commit b7a1ea6 ("savedefconfig: Add script").
2019-03-20savedefconfig: Add scriptUlf Magnusson
Minimal configuration files can already be generated from within the menuconfig too, but having a script available can be handy for scripting.
2019-03-16Make 10.42.0 releasev10.42.0Ulf Magnusson
Adds a new style warning in commit df2d26f ("Warn for unquoted argument to 'source', etc.").
2019-03-16Fix link to Kconfig best practices pageUlf Magnusson
Got moved. Also link it in the 'Getting started' section.
2019-03-14Make 10.41.0 releasev10.41.0Ulf Magnusson
Adds some minor optimization (and internal refactoring) in commit c0b9b07 ("Refactor and optimize type parsing a bit").
2019-03-10Make 10.40.0 releasev10.40.0Ulf Magnusson
Adds a silly small optimization in commit 8ddefea ("Import 'platform' and 'subprocess' as needed").
2019-03-06Make 10.39.0 releasev10.39.0Ulf Magnusson
- Commit 132e579 ("Give more helpful error messages when files are missing") makes the hint in error messages for missing files more helpful. - Commit faa4476 ("setconfig: Fix help text format") fixes the format of 'setconfig --help'. - Commit 553cca8 ("Use a consistent style in small utilities") and commit 66557ed ("Use a consistent style in examples") cleans the utilities and examples up a bit and removes some unused imports.
2019-02-23Make 10.38.0 releasev10.38.0Ulf Magnusson
Adds a small documentation improvement in commit 99a7af7 ("Document that kconfig_filenames keeps absolute paths as-is").
2019-02-11Make 10.37.0 releasev10.37.0Ulf Magnusson
Adds a utility for setting configuration values from the command line, in commit 22d3cc3 ("setconfig: Add script").
2019-02-11setconfig: Add scriptUlf Magnusson
This is a simple script for updating configuration values from the command line, with (optional) checking that the assigned value matches the actual symbol value afterwards (which it might not if there are unsatisfied dependencies). Sample usage: $ setconfig FOO_SUPPORT=y BAR_BITS=8 This is useful for patching the configuration in automated build systems, in a way that's safer than directly patching configuration files.
2019-01-15Bump latest version to 10.36.0 in READMEUlf Magnusson
Forgot when pushing out the release.
2018-12-24Make 10.35.0 releasev10.35.0Ulf Magnusson
- Commit 3a3559f ("menuconfig: Prompt for save if a different .config would be saved") improves the behavior of menuconfig.py when Kconfig files are modified between sessions, fixing issue #63. Modifying Kconfig files in a way that would affect the written .config now always makes the menuconfig prompts for saving the configuration on exit. A new Kconfig.missing_syms attribute is added as well, which was needed to implement the improved behavior with public APIs. - Commit b64c961 ("Warn for '# CONFIG_FOO is not set' when FOO is referenced but undefined") fixes a small oversight re. the assignment-to-undefined-symbol warning.
2018-12-15Make 10.34.0 releasev10.34.0Ulf Magnusson
Adds commit dcb6f12 ("menuconfig: Add show-help mode"), which adds a new mode to the menuconfig that replaces the key listing at the bottom with the help text of the selected item.
2018-12-15menuconfig: Add show-help modeUlf Magnusson
Pressing F toggles show-help mode, where the help window at the bottom displays the help text of the currently selected item, if any. Can be handy when browsing through symbols. Also mention the different modes that are available in the module docstring.
2018-12-15Make 10.33.0 releasev10.33.0Ulf Magnusson
Adds an error reporting improvement and an example code fix: - Commit 0266924 ("Improve error for missing endchoice/endif/endmenu") - Commit a88302b ("Fix user-defined preprocessor function example code") Some minor performance improvements are included as well.
2018-12-09Make 10.32.2 releasev10.32.2Ulf Magnusson
Adds commit be3c682 ("Clarify that load_config()'s filename argument defaults to None"), which fixes a small documentation bug.
2018-12-08Make 10.32.1 releasev10.32.1Ulf Magnusson
Adds commit e8f9751 ("genconfig: Do not generate *.old files for --config-out"), which gets rid some probably redundant .config.old files.
2018-12-08Make 10.32.0 releasev10.32.0Ulf Magnusson
- Commit 3cc2f9f ("listnewconfig: Add script") adds 'make listnewconfig' functionality. The new script is bundled in the pip install. - Commit 78073d6 ("Preserve symlinks when writing .config.old files") avoids stomping on symlinks when writing configuration files.
2018-12-08listnewconfig: Add scriptUlf Magnusson
Mirrors 'make listnewconfig' in the C tools.
2018-12-08Make 10.31.0 releasev10.31.0Ulf Magnusson
Adds two improvements related to configuration files: - Commit 166be7d ("Save existing configuration to .<filename>.old in write_config()") - Commit 7b4f72f ("Make {load,write}_config(filename=None) implement the standard behavior")
2018-12-08Make {load,write}_config(filename=None) implement the standard behaviorUlf Magnusson
Make the previously obligatory 'filename' argument to load_config() and write_config() default to None, and have that implement the behavior you'd usually want: read/write either KCONFIG_CONFIG or ".config" if unset, and read the 'option defconfig_list' configuration file if KCONFIG_CONFIG/".config" doesn't exist. For load_config(), filename=None also allows the configuration file to be missing without raising an error. load_config() returns True if a local configuration file was loaded, which is useful to check in the menuconfig (if no local configuration file exists, we always want to prompt for saving the configuration when exiting). Also add a 'verbose' argument (default True) to load_config() and read_config() that makes them print which files were read/written in filename=None mode. Also generalize olddefconfig.py and oldconfig.py to not require there to already be a local configuration file. This was a bit silly for olddefconfig.py in particular. Remove the examples/defconfig.py script. It's a duplicate of olddefconfig.py.
2018-12-01Make 10.30.0 releasev10.30.0Ulf Magnusson
Adds a small incremental building improvement: commit a4751b5 ("Flag removed symbols as changed in sync_deps()")
2018-12-01Make 10.29.0 releasev10.29.0Ulf Magnusson
Adds commit 567cccf ("Tighten up help text parsing"), which improves parsing performance slightly.
2018-11-28Make 10.28.0 releasev10.28.0Ulf Magnusson
Adds commit b3f0061 ("menuconfig: Only list duplicated choice symbols once"), which improves the behavior of the menuconfig interface for an obscure situation involving named choices included multiple times.
2018-11-26Make 10.27.0 releasev10.27.0Ulf Magnusson
Adds some small performance optimizations: - Commit 120f551 ("Speed up more token membership tests") - Commit bb7044c ("Reorder some tuples to put y first")
2018-11-26Recommend Python 3Ulf Magnusson
Python 3.7 has finally caught up with Python 2.7 performance-wise.
2018-11-24Make 10.26.0 releasev10.26.0Ulf Magnusson
Adds commit 67ce4eb ("Use constants when _tokens_i is known"), which adds more optimizations made possible by switching to more manual token handling.
2018-11-24Make 10.25.0 releasev10.25.0Ulf Magnusson
Adds a small missed optimization opportunity, in commit 74ce9d3 ("Optimize fetching of initial token on line").
2018-11-23Make 10.24.0 releasev10.24.0Ulf Magnusson
Tightens up syntax checking and improves a warning: - Commit 13a7bae ("Flag extra trailing tokens in all contexts") adds checking for extra trailing tokens in a few overlooked cases. - Commit f356ba8 ("Clarify that select/imply is a no-op for choice symbols") clarifies the warning when selecting/implying a choice symbol. Parsing performance was improved slightly as well.
2018-11-21Make 10.23.0 releasev10.23.0Ulf Magnusson
- Commit ee25489 ("menuconfig: Print '----' instead of '---> (empty)'") makes the menuconfig display empty menus (e.g. from disabled 'menuconfig' symbols) in a less spammy way, matching the C tools. - Commit 6313925 ("Remove message re. Kconfiglib 10 backwards compat. break") removes an old message printed when the top-level Kconfig file can't be opened and $srctree is set. Hopefully it's been noticed by now. - Commit a1a4430 ("Use 'foo.__class__ is Bar' instead of 'isinstance(foo, Bar)'") improves parsing and evaluation performance a bit.
2018-11-18Make 10.22.1 releasev10.22.1Ulf Magnusson
Adds commit df61771 ("menuconfig: Never snap scroll back to max_scroll"), which fixes a small menuconfig UI nit. Add 'configuration-management' as a tag to setup.py as well.
2018-11-17Link Kconfig tips page in READMEUlf Magnusson
2018-11-17Make 10.22.0 releasev10.22.0Ulf Magnusson
Adds commit b65baa4 ("Add support for KCONFIG_ALLCONFIG"), which allows particular symbol values to be forced during all{def,no,mod,yes}config.
2018-11-07Make 10.21.0 releasev10.21.0Ulf Magnusson
Adds two small library/menuconfig improvements: - Commit 7992519 ("Always strip trailing whitespace in 'MenuNode.help' and __str__()") tightens up the format of strings a bit, and documents it. - Commit b810bda ("menuconfig: Support HOME and END in the jump-to dialog") adds support for some keys that were missing from the jump-to dialog.
2018-11-04Make 10.20.0 releasev10.20.0Ulf Magnusson
Adds a small menuconfig improvement: Commit 35af004 ("menuconfig: Move cursor to choice selection when entering choices").
2018-11-02Make 10.19.1 releasev10.19.1Ulf Magnusson
Adds fixes for two obscure crashes, related to consecutive empty if's and toggling symbols without a type in the menuconfig: - Commit 0e6cd82 ("Fix removal of multiple consecutive 'if' nodes") - Commit db60270 ("menuconfig: Fix crash when toggling symbols without a type")
2018-11-01Make 10.19.0 releasev10.19.0Ulf Magnusson
Adds commit 8be38f2 ("Don't show backtraces for expected exceptions in tools"), which hides backtraces for expected errors from tools (like Kconfig syntax errors and missing files).
2018-10-31Make 10.18.0 releasev10.18.0Ulf Magnusson
Commit 14603c0 ("Make errno/strerror/filename available on IOError") makes IOError/OSError.errno/strerror/filename available to scripts, when it is raised from e.g. Kconfig.load_config(). Previously, some implementation trickery related to custom exception messages meant that they weren't available.
2018-10-26Make 10.17.0 releasev10.17.0Ulf Magnusson
Adds commit 699fd81 ("Support enabling the assignment-to-undef. symbol warning via the environment"). This makes it possible to enable the warning for assigning an undefined symbol within a .config file, while using the bundled tools. Previously, enabling the warning required modifying the tools to call Kconfig.enable_undef_warnings().
2018-10-26Support enabling the assignment-to-undef. symbol warning via the environmentUlf Magnusson
This makes it possible to enable it for the bundled tools, by setting KCONFIG_WARN_UNDEF_ASSIGN=y. Previously, the code had to be modified to call Kconfig.enable_undef_warnings(). Also rename KCONFIG_STRICT to KCONFIG_WARN_UNDEF, for consistency. Keep supporting KCONFIG_STRICT as an alias for backwards compatibility.
2018-10-22Make 10.16.0 releasev10.16.0Ulf Magnusson
- Commit 85ba6b2 ("menuconfig: Mention jump-to in info dialog help") makes it a bit easier to discover that jump-to can be entered from the info dialog. - Commit d920dbe ("Use standard_sc_expr_str() in _name_and_loc()") makes named choices show up as '<choice NAME>' in warnings, instead of just as 'NAME'. Some small parsing optimizations are included as well.