summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-14Make 10.14.0 releasev10.14.0Ulf Magnusson
Adds two menuconfig improvements and a documentation improvement: - Commit 96682d7 ("menuconfig: Add jump-to for choices, menus, and comments") generalizes the jump-to feature so that choices, menus, and comments can be jumped to in addition to symbols (or into, in the case of choices and menus). - Commit fae2e70 ("menuconfig: Do not show range hint for symbols without ranges") despams the menuconfig interface and could potentially avoid some confusion. - Commit bde4cc7 ("Add some hints re. generating custom configuration output") adds some documentation hints re. using the Symbol.config_string field when generating custom output. It can be useful for pruning symbols even when the output format isn't .config-like.
2018-10-14menuconfig: Add jump-to for choices, menus, and commentsUlf Magnusson
For choices, search the name and the prompt. This is the same as for symbols, except names are optional (and rare) for choices. For menus and comments, search the prompt (title text). When jumping to a non-empty choice or menu, jump into it instead of jumping to its menu node. If show-all mode is off and there are visible items in the choice/menu, then jump to the first visible node. Otherwise, enable show-all and jump to the first node.
2018-10-13menuconfig: Do not show range hint for symbols without rangesUlf Magnusson
The 'no range constraints' input dialog hint for int/hex symbols might be more confusing than helpful, especially if you assume it was something the symbol author put there. Only show the range hint for symbols with active ranges instead, and show nothing for other symbols.
2018-10-13Add some hints re. generating custom configuration outputUlf Magnusson
It's not obvious that Symbol.config_string can be useful even when generating other output formats, as it provides a hook for _write_to_conf. Mention it in the 'config_string' documentation and in relevant parts of the README.
2018-10-10Make 10.13.0 releasev10.13.0Ulf Magnusson
Adds commit a247f3f ("menuconfig: Improve/fix promptless choice handling"), which fixes an obscure menuconfig crash involving symbols in promptless choices, and improves how choices are displayed in show-all/show-name mode a bit ('<choice (name, if any)>' instead of either nothing or '<name>').
2018-10-10menuconfig: Comment formatting nitsUlf Magnusson
2018-10-10menuconfig: Improve/fix promptless choice handlingUlf Magnusson
The code assumed that all parent (interface) menus always have a prompt, which is false for items in promptless choices. This lead to a crash e.g. when viewing the symbol information for a symbol within a promptless choice. Promptless choices with children can show up "legitimately" when people define choices in multiple locations to add symbols, though this is broken in the C tools. Use standard_sc_expr_str(node.item) instead of the non-existing prompt for promptless choices. That way they show up as <choice (name if any>)>, which is consistent with how they're shown elsewhere. This commit also changes how choices names are displayed in show-name/show-all mode, to the standard_sc_expr_str() format.
2018-10-08_shell_fn() comment nitUlf Magnusson
2018-10-08Remove redundant elifs in expr_value()Ulf Magnusson
Leftover from assigning a 'res' variable.
2018-10-07Remove useless local variable in _parse_factor()Ulf Magnusson
Not sure how I missed that one so long...
2018-10-06Make 10.12.0 releasev10.12.0Ulf Magnusson
Adds commit f1e4d04 ("menuconfig: Remove "Value for " prefix from input dialog titles"), which de-spams the menuconfig interface a bit. Some documentation fixes and improvements are included as well: - Commit 631c51f ("Point to IS_ENABLED() is README") - Commit f594975 ("Add hints on incremental building to 'getting started'") - Commit d044ee9 ("Clarify --config-out description a bit") - Commit 358b77a ("Hint that load_config() with replace=False is for merging") - Commit 5d15df9 ("Update genconfig usage description") The naming in some internal evaluation functions was cleaned up too.
2018-10-06Fix typo in READMEUlf Magnusson
2018-10-06Add hints on incremental building to 'getting started'Ulf Magnusson
2018-10-06Point to IS_ENABLED() is READMEUlf Magnusson
Might be tricky to discover.
2018-10-06Clean up naming in expr_value()Ulf Magnusson
Reuse the v1/v2 naming for the operands for the relation case, and call the relation variable 'rel' instead of 'op'. Piggy-back removal of the 'res' variable. Just as readable without it. Indirectly strips some locals.
2018-10-06Use a common variable name for deps in tri_valueUlf Magnusson
Might clarify the scopes a bit.
2018-10-06Update genconfig usage descriptionUlf Magnusson
Didn't mention --config-out.
2018-10-06Hint that load_config() with replace=False is for mergingUlf Magnusson
2018-10-05menuconfig: Fix Page Up typo in docstringUlf Magnusson
2018-10-05menuconfig: Remove "Value for " prefix from input dialog titlesUlf Magnusson
The prompt and type alone make it obvious, and it prevents many dialogs from getting overly wide.
2018-10-04Fix link to kconfig-language.txt in how-toUlf Magnusson
The link accidentally went to kconfig-macro-language.txt.
2018-10-03Clarify --config-out description a bitUlf Magnusson
2018-10-03README language nitUlf Magnusson
Remove some parentheses.
2018-10-03Make 10.11.0 releasev10.11.0Ulf Magnusson
Adds commit 4602028 ("genconfig: Allow writing a full .config without incremental build info"), which adds a flag to genconfig that might be handy in projects that include .config files in Makefiles but that don't use incremental build information.
2018-10-03genconfig: Allow writing a full .config without incremental build infoUlf Magnusson
For projects that don't use incremental build information, it's a bit wasteful to generate it just to get an updated .config file to include in Makefiles. Add a '--config-out <filename>' option that just writes the updated .config file, for those cases. Also remove a redundant default=None argument for --sync-deps. None is the default value.
2018-10-03Clarify '# CONFIG_FOO is not set' in how-toUlf Magnusson
2018-10-03Make 10.10.2 releasev10.10.2Ulf Magnusson
Just adds commit 4af2ac3 ("Actually fix README RST display on PyPI").
2018-10-03Actually fix README RST display on PyPIUlf Magnusson
Use anonymous hyperlinks to avoid having two links named 'Kconfig', like in commit fe28703 ("Fix README RST display on PyPI").
2018-10-03Make 10.10.1 releasev10.10.1Ulf Magnusson
Just adds commit fe28703 ("Fix README RST display on PyPI").
2018-10-03Fix README RST display on PyPIUlf Magnusson
Use anonymous hyperlinks to avoid having two links named 'here', which RST apparently doesn't like. Related: https://stackoverflow.com/questions/5464627/how-to-have-same-text-in-two-links-with-restructured-text/14067756
2018-10-03Make 10.10.0 releasev10.10.0Ulf Magnusson
Gets the README updated from commit 534e3e7 ("Add a 'getting started' section to the README") up on PyPI.
2018-10-03Fix is/if typo in READMEUlf Magnusson
2018-10-03Mention that pip3 is needed for menuconfigUlf Magnusson
2018-10-03Add a 'getting started' section to the READMEUlf Magnusson
Might make it clearer how the different parts fit together. Also mention that deps/auto.conf can be used as Make input, and that it's preferable to using .config. This is hard to discover on your own.
2018-10-03Make 10.9.3 releasev10.9.3Ulf Magnusson
Adds commit 21e47ce ("Fix parse error message on the line after help texts"), which fixes incorrect line contents being reported for parse errors on the line after a help text.
2018-10-03Fix parse error message on the line after help textsUlf Magnusson
The correct error and line number was reported, but not the correct line contents. self._line needs to be set before calling _tokenize(), so that _parse_error() knows the context. There's no need to set self._line for empty lines, because we immediately end up back in _next_line() after parsing the help text, which refetches the empty line and updates self._line.
2018-10-02Link olddefconfig.py in the READMEUlf Magnusson
2018-10-02Mention documentation generation earlyUlf Magnusson
2018-10-02API should be stable by nowUlf Magnusson
2018-10-02Make 10.9.2 releasev10.9.2Ulf Magnusson
Adds some documentation nits: - 08abf44 ("Mention that pydoc works after installing with pip") - 6aaf01c ("Clean up documentation a bit re. named choice") - 6fe5198 ("menuconfig: Mark quit_dialog() as internal")
2018-10-02Mention that pydoc works after installing with pipUlf Magnusson
Also mention that menuconfig.py has documentation.
2018-10-02Clean up documentation a bit re. named choiceUlf Magnusson
Zephyr uses several named choices, and I've seen them in other projects now too, so don't imply that they aren't used. The menuconfig interface now has better support for them than the C tools too, where adding symbols by defining a choice in multiple locations is broken. Also remove a reference to Kconfiglib 1.
2018-10-02menuconfig: Mark quit_dialog() as internalUlf Magnusson
Oversight. The _ hides it from e.g. pydoc.
2018-10-02__slots__ formatting consistency nitUlf Magnusson
2018-10-01Make 10.9.1 releasev10.9.1Ulf Magnusson
Adds commit 43e7711 ("setup: Use a list instead of a tuple for 'classifiers'"), which fixes a setup.py issue on Python 3.7.
2018-10-01setup: Use a list instead of a tuple for 'classifiers'Ulf Magnusson
Fixes a warning on Python 3.7: Warning: 'classifiers' should be a list, got type 'tuple' Maybe it could prevent other issues too: https://github.com/pypa/pypi-legacy/issues/670
2018-10-01Make 10.9.0 releasev10.9.0Ulf Magnusson
Adds commit 3b692df ("olddefconfig: Add script"), which bundles a new script that mimics 'make olddefconfig'. This could also be accomplished by entering the menuconfig interface and saving, but its more awkward. Some minor internal documentation clarifications and cleanups are included as well: - Commit 53db3ee ("Clarify node_iter() documentation re. iteration order") - Commit c1dcaa3 ("Refactor parsing to get rid of _saved_line") - Commit 6aab113 ("Don't set filename and linenr on 'if' menu nodes")
2018-10-01olddefconfig: Add scriptUlf Magnusson
Works like 'make olddefconfig', updating a configuration by filling in default values for all new symbols. This could also be accomplished by entering the 'menuconfig' interface and saving the configuration, but it's more awkward and less obvious. Piggyback two oldconfig changes: - Mention KCONFIG_CONFIG - Check if the .config file exists before parsing the Kconfig files, instead of after
2018-10-01Don't set filename and linenr on 'if' menu nodesUlf Magnusson
There's no way to query them later, as 'if's get flattened and removed, and they're not needed during parsing either.
2018-09-29Clarify node_iter() documentation re. iteration orderUlf Magnusson
The old version might not have made it obvious that a node is visited before its children.