summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-09Make 2.0.1 releasev2.0.1Ulf Magnusson
To get 3832555 (Reenable accidentally disabled no-prompt warning) in.
2017-11-09Reenable accidentally disabled no-prompt warningUlf Magnusson
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.
2017-11-09Remove left-over misleading property commentUlf Magnusson
Versions of properties without parent dependencies propagated aren't saved anymore (though it'd be easy to add back if needed).
2017-11-09s/subdirectory/directory/Ulf Magnusson
2017-11-09Linkify examples/ directory in READMEUlf Magnusson
2017-11-09Remove iscriptconfig "see below" in READMEUlf Magnusson
Copy-paste error. iscriptconfig is only explained in the docstring.
2017-11-09Make 2.0.0 releasev2.0.0Ulf Magnusson
2017-11-09Make Kconfiglib 2 officialUlf Magnusson
Merge in the 'kconfiglib-2-backup' branch.
2017-11-08Mention that the Item base class is goneUlf Magnusson
2017-11-08Spacing nitUlf Magnusson
2017-11-08Add a release test scriptUlf Magnusson
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.
2017-11-08Clarify that load_config() still just worksUlf Magnusson
2017-11-08Explain changes from Kconfiglib 1 to Kconfiglib 2Ulf Magnusson
I wonder if there's a nicer way to get an italic link with RST...
2017-11-07Test for m, y assignability in a more readable wayUlf Magnusson
2017-11-07Clean up the test suite section a bit moreUlf Magnusson
2017-11-07Clean up the test suite section a bitUlf Magnusson
2017-11-07Add a separate section with real-world examplesUlf Magnusson
Add the esp-idf script too.
2017-11-07Add separate section for real-world examplesUlf Magnusson
2017-11-07Fix typoUlf Magnusson
2017-11-07Add a separate example script README sectionUlf Magnusson
2017-11-07Add a sample 'make scriptconfig'Ulf Magnusson
To demonstrate some different possibilities. Will need to move some stuff around later too.
2017-11-07Remove outdated notesUlf Magnusson
Kconfiglib 2 has proper menuconfig support, and currently uses __slots__ too.
2017-11-07Update documentation to sync. with updated READMEUlf Magnusson
2017-11-07Reference module docstring for Linux installationUlf Magnusson
Less documentation duplication.
2017-11-07Update the documentation sectionUlf Magnusson
Also move it directly after the intro.
2017-11-07Clean up intro a bitUlf Magnusson
2017-11-07Update intro in README.rstUlf Magnusson
Copied straight from the module docstring, with some formatting added. Need to update other parts too.
2017-11-07s/overriden/overridden/Ulf Magnusson
Add test coverage for that Choice.__repr__() path too.
2017-11-07Polish Symbol, Choice, and MenuNode docsUlf Magnusson
2017-11-06Simplify n/m/y to constant symbol translationUlf Magnusson
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.
2017-11-06Get rid of Choice.default_selectionUlf Magnusson
Was only used by allyesconfig.py. Easy to add back if needed at any point.
2017-11-06Polish some Symbol and Choice docsUlf Magnusson
2017-11-06Polish the module documentationUlf Magnusson
Doing a (hopefully) final pass through the docs before release.
2017-11-06Refer to kconfiglib.py for iterative tree walkingUlf Magnusson
Turns out to be kinda awkward to implement print_tree.py iteratively, because the indent.
2017-11-06Rename _RELATION_TO_STR to _REL_TO_STRUlf Magnusson
Consistent with e.g. _TOKEN_TO_REL.
2017-11-06Use 'sym' instead of 'item' in choice-related loopUlf Magnusson
Only symbols appear in choice.syms. Clearer.
2017-11-06Remove redundant n/m/y._cached_str_val assignmentsUlf Magnusson
Will be automatically calculated and cached as needed. Less magic code.
2017-11-06Remove redundant 'is not None' testUlf Magnusson
Always a MenuNode or None. Can be tested simpler.
2017-11-06Rename variable from 'add_fn' to 'append'Ulf Magnusson
2017-11-06Call it 'kconf' in iscriptconfig tooUlf Magnusson
Consistency
2017-11-06Clean up examples a bitUlf Magnusson
conf -> kconf, for consistency, plus various nits.
2017-11-06Simplify allyesconfig.pyUlf Magnusson
Can be implemented in a simpler/better way with Choice.assignable. Also rename 'conf' to 'kconf' in allnoconfig.py for consistency.
2017-11-05Add invalidation warning to Choice.selectionUlf Magnusson
Now in all paths that cache values.
2017-11-05Simplify redundant 'is (not) None' testsUlf Magnusson
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.
2017-11-05Simplify redundant 'is (not) None' tests in examplesUlf Magnusson
2017-11-05Simplify allnoconfig.py choice handlingUlf Magnusson
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.
2017-11-05Fix find_symbol.py typoUlf Magnusson
Argument must be "X86" to get that output. "x86" just returns some constant symbols.
2017-11-05Add example that finds references to a symbolUlf Magnusson
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.
2017-11-05Get rid of some more tristate quotesUlf Magnusson
2017-11-04Add symbolic ../kconfiglib.py link to examples/Ulf Magnusson
Handy for running menuconfig.py