summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)Author
2019-06-01Make 11.9.1 releasev11.9.1Ulf Magnusson
Fixes an obscure rsource crash, in commit 92791a3 ("Fix obscure crash with rsource and $srctree pointing to a symlink").
2019-05-31Make 11.9.0 releasev11.9.0Ulf Magnusson
Adds commit 175c1f5 ("Leave unchanged output files untouched"). This avoids updating file modification timestamps when nothing has changed, which can make it easier to avoid triggering redundant rebuilds.
2019-05-29Make 11.8.0 releasev11.8.0Ulf Magnusson
Adds commit 437c6cc ("Use os.replace() if available in _save_old()"), which gives rename() semantics on Windows, avoiding copying the file. This was cherry-picked out of a larger change re. avoiding touching files whose contents haven't changed. Will come later.
2019-05-28Make 11.7.0 releasev11.7.0Ulf Magnusson
Adds commit 3aea9f7 ("Add '# end of <menu>' after menus in .config"), which mirrors a change in the C tools. The compatibility tests now pass again for the latest kernel.
2019-05-25Make 11.6.0 releasev11.6.0Ulf Magnusson
Brings the format returned by Symbol/Choice/MenuNode.__str__()/custom_str() closer to how things would usually be written by hand, and removes spammy propagated dependencies from property conditions. Propagated dependencies are still included in the 'depends on ...' line, so no information is lost. Properties without parent deps. propagated to their conditions are now also available as MenuNode.orig_{prompt,defaults,selects,implies,ranges}. - Commit bb33eed ("Strip direct deps. from property conditions in Symbol/Choice/MenuNode.__str__()") - Commit e1da7aa ("Display n/m/y without quotes") - Commit 9f57bf9 ("Use the '<type> "prompt"' shorthand in __str__()") Also clarifies what KconfigSyntaxError is doing: - Commit 95515d4 ("Clarify that KconfigSyntaxError = KconfigError in the docs").
2019-05-22Make 11.5.0 releasev11.5.0Ulf Magnusson
Fixes a minor menuconfig interface bug in commit f962269 ("menuconfig: Fix inconsistent top/bottom scroll offset due to off-by-one"). Some doc tweaks are included as well: - Commit 841ab04 ("Mention that .config can be brought up-to-date via menuconfig/guiconfig") - Commit f8978b0 ("Say "removes" instead of "resets" in the unset_value(s)() docstring")
2019-05-19Make 11.4.0 releasev11.4.0Ulf Magnusson
- Commit aed7b40 ("Add guiconfig to PHONY in Makefile patch") - Commit 50ded1d ("Make .config.old easier to discover")
2019-05-11Make 11.3.0 releasev11.3.0Ulf Magnusson
Improves dependency-related documentation a bit, in commit 95b80e1 ("Clarify direct_dep and dep documentation").
2019-05-11Make 11.2.0 releasev11.2.0Ulf Magnusson
Improves documentation for the Symbol/Choice.referenced attribute, in commit 814e2de ("Improve the 'referenced' docstring").
2019-05-06guiconfig: Comment nitsUlf Magnusson
Move the global variable descriptions earlier, remove some redundant comments, and clarify that the Python 3-only comment in setup.py is talking about the terminal menuconfig.
2019-05-03Make 11.1.0 releasev11.1.0Ulf Magnusson
Adds a Python 2/3-compatible GUI menuconfig, in commit 9be6b7b ("guiconfig: Add a Tkinter-based menuconfig"). See that commit and the updated README for a longer description.
2019-05-03guiconfig: Add a Tkinter-based menuconfigUlf Magnusson
This is a graphical configuration interface written in Tkinter. Like menuconfig.py, it supports showing all symbols (with invisible symbols in red) and jumping directly to symbols. Symbol values can also be changed directly from the jump-to dialog. When single-menu mode is enabled, a single menu is shown at a time, like in the terminal menuconfig. Only this mode distinguishes between symbols defined with 'config' and symbols defined with 'menuconfig'. Compatible with both Python 2 and Python 3. Has been tested on X11, Windows, and macOS. To avoid having to carry around a bunch of GIFs, the image data is embedded in guiconfig.py. To use separate GIF files instead, change _USE_EMBEDDED_IMAGES to False. The image files can be found in https://github.com/ulfalizer/Kconfiglib/tree/screenshots/guiconfig. A new `make guiconfig` target in the Makefile patch will run the GUI configuration interface on the Linux kernel.
2019-04-30Make 11.0.0 releasev11.0.0Ulf Magnusson
Simplifies the filename calculation for .old files, in commit 4fed39d ("Never prepend '.' to $KCONFIG_CONFIG.old"). This makes it reliable to refer to the backup file as $KCONFIG_CONFIG.old in scripts. This is a backwards-incompatible change when $KCONFIG_CONFIG is set to a filename that does not start with a '.', so the major version is increased. Note that $KCONFIG_CONFIG is usually set to <some path>/.config, so few people should be affected.
2019-04-28Make 10.51.0 releasev10.51.0Ulf Magnusson
Makes sync_deps() safe to use in threaded scripts, in commit a664a6d ("Avoid chdir()ing in sync_deps()").
2019-04-28Make 10.50.1 releasev10.50.1Ulf Magnusson
Fixes an obscure menuconfig display issue, in commit 4b387e0 ("menuconfig: Fix display issue for unsatisfied-deps selected symbol with children").
2019-04-27Make 10.50.0 releasev10.50.0Ulf Magnusson
Adds a simple utility for initializing the configuration from an existing configuration, in commit 4f1674f ("defconfig: Add script").
2019-04-27defconfig: Add scriptUlf Magnusson
Simple script for initializing the configuration from an existing configuration file (usually a minimal configuration). Just copying the minimal configuration to .config would usually work, due to Kconfig semantics, but having it be a full configuration file from the start might be handier and less confusing.
2019-04-26Make 10.49.0 releasev10.49.0Ulf Magnusson
Improves menuconfig.py behavior slightly, in commit 61591f0 ("menuconfig: Improve space/enter behavior slightly").
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-21setup: Whitespace nitUlf Magnusson
Guess setuptools strictly isn't in the stdlib...
2019-03-21setup: Style nitsUlf 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-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.