summaryrefslogtreecommitdiff
path: root/README.rst
AgeCommit message (Collapse)Author
2019-10-10Make 13.1.1 releasev13.1.1Ulf Magnusson
Adds a small fix for some just-rewritten documentation, in commit 4de95f4 ("Mention that standard_kconfig() returns the Kconfig instance").
2019-10-10Make 13.1.0 releasev13.1.0Ulf Magnusson
- Commit e016deb ("Convert standard_kconfig() to argparse for better feedback") improves feedback from the tools and makes their help texts easier to find - Commit 0f56dd9 ("guiconfig: Check for visible nodes before turning off show-all in full-tree mode") fixes an obscure bug in show-all mode in guiconfig
2019-10-10Convert standard_kconfig() to argparse for better feedbackUlf Magnusson
Stuff like this is not the pinnacle of helpful design, and hides that the commands actually have long help texts (that can be viewed with pydoc): $ ./menuconfig.py --help [Errno 2] No such file or directory: '--help' Fix it by converting standard_kconfig() to argparse, and add a 'description' argument to it for the command-specific help text. --help now shows the same help text shown by pydoc, and some other error messages are improved as well. Also fix some copy-paste errors and outdated paths in the help texts for the all*config commands.
2019-10-05Mention that menuconfig shows windows-curses hint in READMEUlf Magnusson
2019-10-05Make 13.0.0 release (with Windows packaging change)v13.0.0Ulf Magnusson
Adds commit 21b4c1e ("Do not automatically install windows-curses on Windows"), which fixes installation on MSYS2. See that commit for an explanation, and this issue: https://github.com/ulfalizer/Kconfiglib/issues/77 Also adds commit 72e3d20 ("menuconfig: Give hint when 'curses' can't be imported on Windows"), to make it easy for users to know what to do if stuff breaks. Sorry if this change caused problems!
2019-10-05Do not automatically install windows-curses on WindowsUlf Magnusson
It breaks installation with pip on MSYS2, and Kconfiglib can still be useful without the terminal menuconfig. Unfortunately, MSYS2 seems tricky to identify via environment markers (https://www.python.org/dev/peps/pep-0508/#environment-markers). This has breakage/annoyance potential, as windows-curses now needs to be installed manually. The major Kconfiglib version will be increased. Sorry if this change caused problems! Fixes: #77
2019-10-05Mention that the header is sorted by definition locationUlf Magnusson
Handy to know.
2019-09-28Make linux-next dependency loop fix easier to notice in READMEUlf Magnusson
Piggyback fixing a typo.
2019-09-27Link patch with fix for dependency loopUlf Magnusson
Sent upstream.
2019-09-26Make 12.14.1 releasev12.14.1Ulf Magnusson
Fixes a preprocessor issue, in commit 720ce88 ("Fix handling of parentheses in macro argument values").
2019-09-04Make 12.14.0 releasev12.14.0Ulf Magnusson
Adds commit 26e1db6 ("Allow preprocessor user functions to access the parsing location").
2019-08-03Make 12.13.0 releasev12.13.0Ulf Magnusson
Mostly to get some cleanups into a release, but adds a tiny improvement in commit a4b5775 ("menuconfig/guiconfig: Print 'default:' with no 's' if there's just one").
2019-08-03Fix duplicated label names in READMEUlf Magnusson
Made PyPI complain.
2019-07-13Fix kernel Kconfig doc linksUlf Magnusson
They were converted to RST. Link to rendered versions.
2019-07-13Explain why 'option env' is still supportedUlf Magnusson
It's mostly to stay compatible with older Linux kernels. Hence why Kconfiglib doesn't try to be more compatible than what's needed for those.
2019-07-04Link syzkaller script as exampleUlf Magnusson
2019-07-04Remove note about test suite failures with old buggy C toolsUlf Magnusson
The test suite would fail anyway now due to (harmless) output format changes.
2019-07-04Move kconfiglib-2-changes.txt over to the 'screenshots' branchUlf Magnusson
Makes the top-level a bit less cluttered. The README still links to it.
2019-07-02Make 12.12.1 releasev12.12.1Ulf Magnusson
Adds commit 29758ae ("setconfig: Use 'orig_type' instead of 'type' in error message").
2019-07-02Make 12.12.0 releasev12.12.0Ulf Magnusson
Adds commit e5e2fe5 ("Catch EnvironmentError instead of OSError/IOError"), which fixes menuconfig.py crashes on I/O errors on Python 2. This might also improve error robustness elsewhere on Python 2 in obscure cases.
2019-07-01Make 12.11.0 releasev12.11.0Ulf Magnusson
Adds some small documentation improvements: - Commit b133331 ("Mention that passing subexpressions to expr_items() works") - Commit 6016156 ("Mention that the 'encoding' parameter is also used for $(shell)") - Commit 48ec584 ("Simplify eval_string() docstring re. syntax errors") - Commit e44102a ("Make MenuNode.filename documentation more accurate re. absolute paths") Some minor optimizations are included as well.
2019-06-25Make 12.10.0 releasev12.10.0Ulf Magnusson
Adds commit 7403203 ("Make choice.set_value() no-change check work for "n"/"m"/"y" strings").
2019-06-24Make 12.9.0 releasev12.9.0Ulf Magnusson
Adds commit a7302a6 ("menuconfig/guiconfig: Use orig_defaults in symbol info").
2019-06-24Make 12.8.0 releasev12.8.0Ulf Magnusson
Adds commit 0ca8e78 ("Add {Symbol,Choice}.orig_*, corresponding to the MenuNode fields").
2019-06-23Make 12.7.0 releasev12.7.0Ulf Magnusson
Adds commit 58c65e0 ("Make REL_TO_STR public").
2019-06-21Make 12.6.0 releasev12.6.0Ulf Magnusson
Makes set_value() smarter about saving redundant work, in commit f2ac5e3 ("Make set_value() no-change check work for "n"/"m"/"y" strings").
2019-06-15Make 12.5.0 releasev12.5.0Ulf Magnusson
Adds commit 0c79d23 ("menuconfig: Be silent when changing LC_CTYPE to a UTF-8 locale").
2019-06-09Make 12.4.0 releasev12.4.0Ulf Magnusson
Adds a small error message improvement, in commit 49831dd ("Give the 'source ...' line being parsed when a file can't be opened").
2019-06-07Make 12.3.0 releasev12.3.0Ulf Magnusson
Adds a genconfig feature that can be used to avoid needless reconfiguration, and improves the dumpvars output format. - Commit dd1be54 ("genconfig: Support generating lists of files and environment vars.") - Commit f503ea3 ("dumpvars: Make the output format copy-pasteable")
2019-06-06Make 12.2.1 releasev12.2.1Ulf Magnusson
Adds commit 443e6bb ("menuconfig: Fix help display on Python 2").
2019-06-06Move Linux kernel installation instructions before Python compat. sectionUlf Magnusson
2019-06-06Make 12.2.0 releasev12.2.0Ulf Magnusson
Do the opposite of what other people are doing and make menuconfig.py Python 2-compatible. Turns out it's not that tricky after all, and it makes everything consistently Python 2/3-compatible and streamlines things. - Commit 41b5891 ("menuconfig: Get rid of 'nonlocal'") - Commit b2e211d ("menuconfig: Fall back on getch() when get_wch() isn't available") - Commit c3162be ("menuconfig: Only decode curses.erasechar() on Python 3") - Commit fe6ed99 ("menuconfig: Import print_function for Python 2 compatibility") - Commit c209188 ("menuconfig: Have hashbang point to 'python' instead of 'python3'") - Commit d577865 ("Remove Python 3 menuconfig special-casing from Makefile patch") - Commit 319f7f0 ("Update various comments now that menuconfig is Python 2-compatible") - Commit 5fbd70e ("Update setup.py now that menuconfig is Python 2-compatible") Also investigate exactly what the Python version requirements are and tweak and document things a bit: - Commit e0baa79 ("Tweak python_requires to 2.7/3.2+") - Commit 3a772a6 ("Add a section on version compatibility to the README")
2019-06-06Update sample session in READMEUlf Magnusson
Make it reflect various output improvements added since it was written (e.g. 'depends on' not being shown on each property).
2019-06-06Add a section on version compatibility to the READMEUlf Magnusson
2019-06-06Update various comments now that menuconfig is Python 2-compatibleUlf Magnusson
2019-06-04Make 12.1.0 releasev12.1.0Ulf Magnusson
Adds commit 22f2778 ("Mention that the load_config() message is different for replace=False")
2019-06-03Make 12.0.0 releasev12.0.0Ulf Magnusson
Fixes two API issues. Some backwards compatibility breakage was required for the load_config()/write_config() message change, though the only effect on most scripts will be less output on stdout unless/until they're modified. - Commit bf36f5d ("Improve warning control API (with backwards compatibility)") - Commit 55bc8c3 ("Have load_config() and write_(min_)config() return messages") Kconfiglib now also makes the version number available: - Commit 455e366 ("Add kconfiglib.VERSION") These are longstanding issues. I don't know of any other ones that would warrant breaking backwards compatibility. Not going on some API changing spree.
2019-06-03Improve warning control API (with backwards compatibility)Ulf Magnusson
A wart of the warning control API (enable/disable_*_warnings()) is that the current warning settings can't be queried. Querying warning settings is useful in functions that want to temporarily enable/disable some warning and then put things back to how they were. kconfiglib.load_allconfig() ran into this, for example. Make the internal warning control variables public (improve the naming at the same time), and encourage just setting them directly. Keep the old API for backwards compatibility. Also remove _warn_redun_assign() and _warn_override(). They're trivial and were called in a single place.
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-31Leave unchanged output files untouchedUlf Magnusson
Before writing a configuration file or header file, compare the old contents of the file against the new contents. If there's no change, skip the write, to avoid updating the file modification time. This might avoid triggering redundant rebuilds depending on how the build system is set up, and could allow for a simpler setup.
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-22Mention that .config can be brought up-to-date via menuconfig/guiconfigUlf Magnusson
Good to know.
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-19Make .config.old easier to discoverUlf Magnusson
Mention that the old version of an overwritten configuration file is saved to <filename>.old in a few different places, to make it easier to discover.
2019-05-14Add installation instructions for tkinterUlf Magnusson
Not installed by default on many Linux systems, despite being part of the Python standard library.
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").