| Age | Commit message (Collapse) | Author |
|
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.
|
|
These are clear in context without the module name, and it speeds up the
'source' code a tiny bit.
|
|
Small help text improvement.
|
|
|
|
Makes more documentation available via pydoc(3), in commit c70a45e
("Convert some comments to module docstrings in utilities").
|
|
This makes running pydoc(3) on the utilities helpful.
Reuse the module docstring for the --help text for utilities that use
argparse.
Also fix some copy-paste errors in the all*config.py descriptions and
clean up the language a bit.
Piggyback removal of an optimization in allmodconfig.py that's pretty
irrelevant now.
|
|
|
|
Guess setuptools strictly isn't in the stdlib...
|
|
|
|
|
|
Adds a new savedefconfig script in commit b7a1ea6 ("savedefconfig: Add
script").
|
|
Minimal configuration files can already be generated from within the
menuconfig too, but having a script available can be handy for
scripting.
|
|
|
|
|
|
People might miss it otherwise, and think they have to download and
install the wheels manually.
|
|
Test for Windows with os.name == 'nt' instead. Saves around 10 ms of
startup time.
|
|
Adds a new style warning in commit df2d26f ("Warn for unquoted argument
to 'source', etc.").
|
|
Got moved.
Also link it in the 'Getting started' section.
|
|
Replace _menu_win_height() with two generic _height(win)/_width(win)
helpers and use them for other windows as well. Makes things a bit
easier to read.
|
|
Print a warning suggesting to add quotes for things like
source foo/bar/Kconfig
menu title
prompt unquoted
Example warning:
Kconfig:32: warning: style: quotes recommended around 'lib/Kconfig.debug' in 'source lib/Kconfig.debug'
That quoteless syntax is supported for compatibility with old versions
of the C tools. It only works for a single word.
|
|
Adds some minor optimization (and internal refactoring) in commit
c0b9b07 ("Refactor and optimize type parsing a bit").
|
|
|
|
|
|
|
|
Be consistent with the other utilities.
|
|
Make kconfiglib.py consistent with the utilities.
|
|
Have BOOL/TRISTATE/... match _T_BOOL/_T_TRISTATE/... so that _set_type()
doesn't have to do any conversion in the common case. Conversion is
still needed for _T_DEF_BOOL/_T_DEF_TRISTATE/..., but those are rare.
Also make use of UNKNOWN being falsy.
Piggyback some rearranging of global constants so that related stuff
appears closer together, for readability.
|
|
|
|
Adds a silly small optimization in commit 8ddefea ("Import 'platform'
and 'subprocess' as needed").
|
|
Saves around 10 ms of startup time when they aren't, as measured with
'-X importtime'.
|
|
Does more than just parsing.
|
|
|
|
|
|
Make the exception argument to _KconfigIOError() harder to miss.
|
|
- 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.
|
|
Need to use RawDescriptionHelpFormatter to preserve newlines in the
description.
Also fix a typo in the help text (s/assignments/assignment/)
|
|
The current error message talks a lot about $srctree, but $srctree is
seldom the culprit in practice. More common is
'source "$(SOME_ENV_VAR)/foo"`, where SOME_ENV_VAR hasn't been set.
Include the complete 'source ...' line for missing Kconfig files, and
mention unset environment variables as a hint. Only mention $srctree
briefly.
Also shorten the message when a .config can't be a found a bit. This
message would usually only be seen when working directly with the
library.
|
|
Also remove some unused imports.
|
|
Also remove some no longer used imports.
|
|
Used in a single place.
|
|
|
|
Adds a small documentation improvement in commit 99a7af7 ("Document that
kconfig_filenames keeps absolute paths as-is").
|
|
|
|
Use a set comprehension.
|
|
|
|
Came up in https://github.com/ulfalizer/Kconfiglib/issues/67.
|
|
Adds a utility for setting configuration values from the command line,
in commit 22d3cc3 ("setconfig: Add script").
|
|
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.
|
|
|
|
Forgot when pushing out the release.
|