| Age | Commit message (Collapse) | Author |
|
Adds commit 68bcecd ("menuconfig: Work around crash on resize on some
macOS systems").
|
|
Adds commit 87fab02 ("Add "error: " to the error message for a missing
endchoice/endif/endmenu").
|
|
Adds commit 456f821 ("menuconfig: Improve look and readability of the
aquatic theme").
|
|
Adds commit 24a0204 ("Include sys.argv[0] in error messages when
suppress_traceback=True").
|
|
Error reporting improvements:
- Commit 1ec9170 ("Add Kconfig.__init__() helper flag for suppressing
tracebacks")
- Commit 2122d5d ("Include "error: " in parsing error messages")
listnewconfig improvement:
- Commit 7e6b9cf ("listnewconfig: Add option for showing help texts")
Also includes a load_allconfig() API improvement:
- Commit c2414bd ("Add a member function version of load_allconfig()")
|
|
Adds two small menuconfig robustness improvements:
- Commit 7020b86 ("menuconfig: Ignore MENUCONFIG_STYLE on non-color
terminals")
- Commit 4ea8b2b ("menuconfig: Ignore errors from
use_default_colors()")
|
|
Adds a menuconfig fix for ANSI-only color terminals and a robustness
tweak for the aquatic theme:
- Commit 7a98bc7 ("menuconfig: Check that bright named colors are
< curses.COLORS")
- Commit 1ad02f5 ("menuconfig: Avoid the non-ANSI 'brightwhite' color
in the aquatic theme")
|
|
Adds two new features:
- Commit bb3be6e ("Support giving the header path in
KCONFIG_AUTOHEADER")
- Commit de45874 ("Make header strings customizable via the
environment")
|
|
Adds a helper that's handy for messages involving symbols/choices, and a
small documentation fix.
- Commit e1ccf19 ("Add public helpers for generating "<name> (defined
at ...)" strings").
- Commit 2d1cb7e ("Add missing Choice.str_value documentation")
|
|
Adds a small fix for some just-rewritten documentation, in commit
4de95f4 ("Mention that standard_kconfig() returns the Kconfig
instance").
|
|
- 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
|
|
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!
|
|
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
|
|
Fixes a preprocessor issue, in commit 720ce88 ("Fix handling of
parentheses in macro argument values").
|
|
Adds commit 26e1db6 ("Allow preprocessor user functions to access the
parsing location").
|
|
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").
|
|
Adds commit 29758ae ("setconfig: Use 'orig_type' instead of 'type' in
error message").
|
|
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.
|
|
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.
|
|
Adds commit 7403203 ("Make choice.set_value() no-change check work for
"n"/"m"/"y" strings").
|
|
Adds commit a7302a6 ("menuconfig/guiconfig: Use orig_defaults in symbol
info").
|
|
Adds commit 0ca8e78 ("Add {Symbol,Choice}.orig_*, corresponding to the
MenuNode fields").
|
|
Adds commit 58c65e0 ("Make REL_TO_STR public").
|
|
Makes set_value() smarter about saving redundant work, in commit f2ac5e3
("Make set_value() no-change check work for "n"/"m"/"y" strings").
|
|
Adds commit 0c79d23 ("menuconfig: Be silent when changing LC_CTYPE to a
UTF-8 locale").
|
|
Tested, works fine.
|
|
Adds a small error message improvement, in commit 49831dd ("Give the
'source ...' line being parsed when a file can't be opened").
|
|
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")
|
|
Adds commit 443e6bb ("menuconfig: Fix help display on Python 2").
|
|
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")
|
|
Many of the utilities need argparse, which was added in 3.2. Kconfiglib
itself is compatible with 3.1.
|
|
Remove the Python 3 installation prereq for windows-curses, and another
comment saying the menuconfig is Python 3 only.
|
|
Adds commit 22f2778 ("Mention that the load_config() message is
different for replace=False")
|
|
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.
|
|
Fixes an obscure rsource crash, in commit 92791a3 ("Fix obscure crash
with rsource and $srctree pointing to a symlink").
|
|
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.
|
|
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.
|
|
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.
|
|
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").
|
|
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")
|
|
- Commit aed7b40 ("Add guiconfig to PHONY in Makefile patch")
- Commit 50ded1d ("Make .config.old easier to discover")
|
|
Improves dependency-related documentation a bit, in commit 95b80e1
("Clarify direct_dep and dep documentation").
|
|
Improves documentation for the Symbol/Choice.referenced attribute, in
commit 814e2de ("Improve the 'referenced' docstring").
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Makes sync_deps() safe to use in threaded scripts, in commit a664a6d
("Avoid chdir()ing in sync_deps()").
|
|
Fixes an obscure menuconfig display issue, in commit 4b387e0
("menuconfig: Fix display issue for unsatisfied-deps selected symbol
with children").
|
|
Adds a simple utility for initializing the configuration from an
existing configuration, in commit 4f1674f ("defconfig: Add script").
|