summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)Author
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-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-08Say 'implementation' instead of 'parser' in descriptionUlf Magnusson
Does more than just parsing.
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-03-06Fix typo in commentUlf Magnusson
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-15Make 10.36.0 releasev10.36.0Ulf Magnusson
Adds commit c9c7f59 ("Package LICENSE.txt in source distributions and wheels"), by request. Maybe some distros require this.
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-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-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-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-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-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.
2018-10-21Make 10.15.0 releasev10.15.0Ulf Magnusson
- Commit 9a4127a ("Allow programmatically expanding preprocessor functions with args") adds a Variable.expanded_value_w_args() function for calling preprocessor functions programmatically. Not being able to pass arguments to Variable.expanded_value was an oversight. - Commit 516deb4 ("menuconfig: Show the selected symbol for promptless choices") makes menuconfig show the selected symbol next to promptless choices in show-all mode. This is relevant for named choices defined in multiple locations. Some minor parsing optimizations are included as well.
2018-10-16Make 10.14.3 releasev10.14.3Ulf Magnusson
Adds commit 98af94d ("Make Kconfig.choices match its description"). Previously, Kconfig.choices was accidentally identical to Kconfig.unique_choices. It's now crappy as advertised, and keeps duplicates. Removing duplicates (while preserving order) was the original reason for adding Kconfig.unique_defined_syms and Kconfig.unique_choices. It'd be rare to need Kconfig.choices.
2018-10-14Make 10.14.2 releasev10.14.2Ulf Magnusson
Adds two small menuconfig improvements/fixes: - Commit 9a7b374 ("menuconfig: Fix some minor resizing jumpiness on gnome-terminal") - Commit 3d0dc9f ("menuconfig: Switch back to "very visible" cursor after Ctrl-F")
2018-10-14Make 10.14.1 releasev10.14.1Ulf Magnusson
Adds commit 63bbecb ("menuconfig: Fix crash when pressing Ctrl-F with no matches in jump-to dialog"). Ctrl-F is the view-help shortcut in the jump-to dialog.
2018-10-14Make 10.14.0 releasev10.14.0Ulf Magnusson
Adds two menuconfig improvements and a documentation improvement: - Commit 96682d7 ("menuconfig: Add jump-to for choices, menus, and comments") generalizes the jump-to feature so that choices, menus, and comments can be jumped to in addition to symbols (or into, in the case of choices and menus). - Commit fae2e70 ("menuconfig: Do not show range hint for symbols without ranges") despams the menuconfig interface and could potentially avoid some confusion. - Commit bde4cc7 ("Add some hints re. generating custom configuration output") adds some documentation hints re. using the Symbol.config_string field when generating custom output. It can be useful for pruning symbols even when the output format isn't .config-like.
2018-10-10Make 10.13.0 releasev10.13.0Ulf Magnusson
Adds commit a247f3f ("menuconfig: Improve/fix promptless choice handling"), which fixes an obscure menuconfig crash involving symbols in promptless choices, and improves how choices are displayed in show-all/show-name mode a bit ('<choice (name, if any)>' instead of either nothing or '<name>').
2018-10-06Make 10.12.0 releasev10.12.0Ulf Magnusson
Adds commit f1e4d04 ("menuconfig: Remove "Value for " prefix from input dialog titles"), which de-spams the menuconfig interface a bit. Some documentation fixes and improvements are included as well: - Commit 631c51f ("Point to IS_ENABLED() is README") - Commit f594975 ("Add hints on incremental building to 'getting started'") - Commit d044ee9 ("Clarify --config-out description a bit") - Commit 358b77a ("Hint that load_config() with replace=False is for merging") - Commit 5d15df9 ("Update genconfig usage description") The naming in some internal evaluation functions was cleaned up too.
2018-10-03Make 10.11.0 releasev10.11.0Ulf Magnusson
Adds commit 4602028 ("genconfig: Allow writing a full .config without incremental build info"), which adds a flag to genconfig that might be handy in projects that include .config files in Makefiles but that don't use incremental build information.
2018-10-03Make 10.10.2 releasev10.10.2Ulf Magnusson
Just adds commit 4af2ac3 ("Actually fix README RST display on PyPI").
2018-10-03Make 10.10.1 releasev10.10.1Ulf Magnusson
Just adds commit fe28703 ("Fix README RST display on PyPI").
2018-10-03Make 10.10.0 releasev10.10.0Ulf Magnusson
Gets the README updated from commit 534e3e7 ("Add a 'getting started' section to the README") up on PyPI.
2018-10-03Make 10.9.3 releasev10.9.3Ulf Magnusson
Adds commit 21e47ce ("Fix parse error message on the line after help texts"), which fixes incorrect line contents being reported for parse errors on the line after a help text.
2018-10-02Make 10.9.2 releasev10.9.2Ulf Magnusson
Adds some documentation nits: - 08abf44 ("Mention that pydoc works after installing with pip") - 6aaf01c ("Clean up documentation a bit re. named choice") - 6fe5198 ("menuconfig: Mark quit_dialog() as internal")
2018-10-01Make 10.9.1 releasev10.9.1Ulf Magnusson
Adds commit 43e7711 ("setup: Use a list instead of a tuple for 'classifiers'"), which fixes a setup.py issue on Python 3.7.
2018-10-01setup: Use a list instead of a tuple for 'classifiers'Ulf Magnusson
Fixes a warning on Python 3.7: Warning: 'classifiers' should be a list, got type 'tuple' Maybe it could prevent other issues too: https://github.com/pypa/pypi-legacy/issues/670