| Age | Commit message (Collapse) | Author |
|
To get 3832555 (Reenable accidentally disabled no-prompt warning) in.
|
|
Warnings for assignments to promptless symbols should be enabled
directly after Kconfig parsing. Braino from inverting the meaning of the
flag earlier.
The flag got properly reset after loading a .config.
|
|
Versions of properties without parent dependencies propagated aren't
saved anymore (though it'd be easy to add back if needed).
|
|
|
|
|
|
Copy-paste error. iscriptconfig is only explained in the docstring.
|
|
|
|
Merge in the 'kconfiglib-2-backup' branch.
|
|
|
|
|
|
Confirms that all the examples that aren't tested in the test suite at
least run. Easy to miss brokenness there. Output can be inspected
manually (it'll vary depending on the kernel version).
Fix defconfig_oldconfig.py, which hadn't been properly updated for the
new API.
|
|
|
|
I wonder if there's a nicer way to get an italic link with RST...
|
|
|
|
|
|
|
|
Add the esp-idf script too.
|
|
|
|
|
|
|
|
To demonstrate some different possibilities. Will need to move some stuff around
later too.
|
|
Kconfiglib 2 has proper menuconfig support, and currently uses __slots__ too.
|
|
|
|
Less documentation duplication.
|
|
Also move it directly after the intro.
|
|
|
|
Copied straight from the module docstring, with some formatting added.
Need to update other parts too.
|
|
Add test coverage for that Choice.__repr__() path too.
|
|
|
|
Hit way too seldomly for it to make a performance difference, but a bit
neater. We know n, m, and y already exist since they're precreated.
|
|
Was only used by allyesconfig.py. Easy to add back if needed at any
point.
|
|
|
|
Doing a (hopefully) final pass through the docs before release.
|
|
Turns out to be kinda awkward to implement print_tree.py iteratively,
because the indent.
|
|
Consistent with e.g. _TOKEN_TO_REL.
|
|
Only symbols appear in choice.syms. Clearer.
|
|
Will be automatically calculated and cached as needed. Less magic code.
|
|
Always a MenuNode or None. Can be tested simpler.
|
|
|
|
Consistency
|
|
conf -> kconf, for consistency, plus various nits.
|
|
Can be implemented in a simpler/better way with Choice.assignable.
Also rename 'conf' to 'kconf' in allnoconfig.py for consistency.
|
|
Now in all paths that cache values.
|
|
Menu node pointers and .choice in particular is always either an object
or None. Prompts are always either a (text, cond) tuple or None. Some
other things could (though unlikely) be empty strings, and some things
use symbolic constants that might be 0, so keep the None tests there.
Cleaner, especially for menu nodes.
Also remove redundant 'node2.dep is None' test. Expressions are never
None.
Also fix node.prompt == "" comparison in _flatten(). Should be
node.prompt[0] == "". Not sure why the C implementation checks for an
existing but empty prompt to begin with. It's just cosmetic menu stuff
at least.
|
|
|
|
Don't need to handle them at all now that .assignable doesn't claim that
choice symbols in y-mode choices can be set to n. 20/20 hindsight.
|
|
Argument must be "X86" to get that output. "x86" just returns some
constant symbols.
|
|
Demonstrates expression fetching and walking. Basically a much better
version of get_ref_locations() from Kconfiglib 1, now that the user API
is flexible enough to implement it.
Should be it for new examples before release.
|
|
|
|
Handy for running menuconfig.py
|